* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

html {
  overflow: -moz-scrollbars-vertical;
}

body {
  background: #1d5bae url('../img/bg.png') repeat-y 50% 50%;
  text-align: center;
  font-family: 'verdana', sans-serif;
  font-size: 11px;
  line-height: 13px;
  color: #000;
}

#container {
  position: relative;
  background: url('../img/container-bg.png') repeat-y;
  width: 906px;
  margin: 0 auto 0 auto;
  text-align: left;
  left: -60px;
}

#sivubanneri {
  position: absolute;
  top: 24px;
  right: -135px;
}

#sivubanneri a {
  display: block;
  margin-bottom: 8px;
}

#topbar {
  position: relative;
  background: url('../img/container-top.png') no-repeat top;
  height: 89px;
  margin: 0 0 10px 0;
}

#topbar p {
  position: absolute;
  top: 50px;
  left: 40px;
}

#topbar #tulosta {
  position: absolute;
  top: 46px;
  right: 340px;
  background: url('../img/tulosta.png') no-repeat;
  width: 96px;
  height: 24px;
  text-indent: -1000px;
  overflow: hidden;
  cursor: pointer;
}

#topbar #textsize {
  position: absolute;
  top: 47px;
  left: auto;
  right: 210px;
  width: 114px;
  height: 22px;
  background: url('../img/textsize.png') no-repeat;
}

#topbar #textsize a.plus {
  position: absolute;
  width: 25px;
  height: 22px;
  right: 25px;
  cursor: pointer;
  text-indent: -10000px;
  overflow: hidden;
}

#topbar #textsize a.minus {
  position: absolute;
  width: 25px;
  height: 22px;
  right: 0;
  cursor: pointer;
  text-indent: -10000px;
  overflow: hidden;
}

#topbar #dig_query {
  background: transparent;
  position: absolute;
  top: 52px;
  left: 708px;
  width: 136px;
  font-family: 'verdana', sans-serif;
  font-size: 11px;
  line-height: 14px;
  height: 14px;
  color: #000;
  border: 0;
  padding-left: 18px;
}

#topbar label {
  display: none;
}

#logo {
  float: left;
  display: inline;
  background: url('../img/logo.png') no-repeat;
  width: 214px;
  height: 90px;
  text-indent: -10000px;
  overflow: hidden;
  margin: 0 0 10px 40px;
}

#logo a {
  display: block;
  height: 90px;
}

#banner {
  float: right;
  margin: 0 40px 0 0;
  position: relative;
  height: 90px;
  z-index: 1000;
  zoom: 1;
  display: inline;
}

#topnavi {
  clear: both;
  background: url('../img/topnavi-bg.png') repeat-x top;
  height: 53px;
  list-style-type: none;
  margin: 0 40px 10px 40px;
  font-size: 0;
  line-height: 0;
}

#topnavi li {
  background: url('../img/topnavi-spacer.png') no-repeat right;
  float: left;
  margin: 15px 0 0 0;
  padding: 0 3px 0 0;
  height: 37px;
}

#topnavi a {
  background: url('../img/topnavi-hover.png') no-repeat 50% -37px;
  display: block;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 11px 0 11px;
}

#topnavi img {
  display: block;
}

#topnavi a:hover {
  background-position: 50% 0;
}

#topnavi li.last {
  background: none;
  padding: 0;
}

#topnavi li.selected a {
  background-position: 50% 0;
  /*background: url('../img/topnavi-selected.png') repeat-x;*/
}


#sidelifts {
  position: relative;
  float: left;
  display: inline;
  width: 240px;
  margin: 0 0 10px 40px;
  padding: 0 10px 0 10px;
  color: #fff;
}

#sidelifts a, #sidenews {
  display: block;
  position: relative;
  margin: 10px 0 10px 0;
  padding: 20px;
  width: 200px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

#sidelifts a.sidenews_a {
  display: inline;
  cursor: pointer;
  padding: 0 0 0 5px;
  margin: 0px;
}

#sidelifts a.sidenews_a:hover {
  text-decoration: underline;
}

#sidelifts .color-1 {
  background: #1b57ac url('../img/sidelifts-color-1.png') repeat-x top;
}

#sidelifts .color-2 {
  background: #008600 url('../img/sidelifts-color-2.png') repeat-x top;
}

#sidelifts .color-3 {
  background: #b30456 url('../img/sidelifts-color-3.png') repeat-x top;
}

#sidelifts .color-4 {
  background: #fea502 url('../img/sidelifts-color-4.png') repeat-x top;
  color: #000;
}

#sidelifts h1 {
  font-size: 18px;
  line-height: 18px;
  margin: 0 0 5px 0;
  text-transform: uppercase;
  cursor: pointer;
}

#sidelifts p {
  cursor: pointer;
}

#sidelifts .top-corner {
  position: absolute;
  margin: 0;
  padding: 0;
}

#front-content {
  float: right;
  display: inline;
  width: 500px;
  margin: 0 40px 10px 0;
  padding: 25px;
}

.front-content {
  float: right;
  display: inline;
  width: 500px;
  margin: 0 40px 10px 0;
  padding: 25px;
}

#front-header {
  position: relative;
  background: url('../img/front-header-line.png') repeat-x bottom;
  padding: 0 0 14px 0;
  min-height: 60px;
  font-size: 0;
  line-height: 0;
  zoom: 1;
}

#front-header h1 {
  /*position: absolute;
  bottom: 30px;
  left: 25px;
  width: 400px;*/
  margin: 0 0 -1px 0;
  font-size: 22px;
  line-height: 22px;
  background: #2a8dcd;
  padding: 5px 10px 0 10px;
}

.content h1, .content h2, .content h3, .content p, .content ul, .content table {
  margin: 13px 0 13px 0;
}

.content a {
  color: #1b58ac;
}

.box {
  border: 1px solid #d4d5d5;
  background: #fff;
}

#bottom-banner {
  float: right;
  display: inline;
  width: 530px;
  margin: 0 40px 10px 0;
  padding: 10px;
  text-align: center;
}

#subpage {
  position: relative;
  margin: 0 40px 10px 40px;
  padding: 25px;
  zoom: 1;
}

#subsidebar {
  position: relative;
  float: left;
  display: inline;
  width: 224px;
}

#subsidebar h2 {
  font-size: 14px;
  line-height: 14px;
  color: #ff008c;
  margin: 10px 0 5px 0;
}

#subsidebar dl {
  margin-bottom: 15px;
}

#subsidebar dd {
  margin: 0 0 10px 0;
}

#sidenavi {
  position: relative;
  float: left;
  display: inline;
  width: 224px;
  list-style-type: none;
  font-family: tahoma, sans-serif;
  font-size: 110%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  zoom: 1;
}

#sidenavi li {
  display: block;
  background: url('../img/sidenavi-li.png') no-repeat bottom left;
  line-height: 36px;
  border-bottom: 1px solid #fff;
  overflow: hidden;
  white-space: nowrap;
  zoom: 1;
  margin: 0;
  padding: 0;
}

#sidenavi li.selected {
  background-position: top left;
}

#sidenavi a {
  display: block;
  color: #fff;
  text-decoration: none;
  /*text-transform: uppercase;*/
  margin: 0;
  padding: 0 10px 0 26px;
  zoom: 1;
}

#sidenavi a:hover, #sidenavi li.selected a {
  color: #85d7ff;
}

#sidenavi li.selected li a {
  color: #fff;
}

#sidenavi li.selected li a:hover, #sidenavi li.selected li.selected a {
  color: #85d7ff;
}

#sidenavi ul {
  position: relative;
  display: none;
  list-style-type: none;
  background: #1d68b6;
  border-top: 1px solid #fff;
  margin: 0 0 -1px 0;
  padding: 0 15px 0 15px;
  font-size: 90%;
}

#sidenavi ul ul {
  font-size: 100%;
}

#sidenavi li.selected ul {
  display: block;
}

#sidenavi ul li {
  background: none;
  border-bottom: 1px solid #3496d2;
}

#sidenavi ul a {
  padding: 6px 0 6px 15px;
  white-space: normal;
  line-height: 14px;
}

#subcontent {
  position: relative;
  float: right;
  display: inline;
  width: 500px;
  border-left: 1px solid #eceded;
  padding: 0 0 0 23px;
  zoom: 1;
  overflow: hidden;
}

#subcontent h1 {
  font-size: 18px;
  line-height: 22px;
  color: #1d64b4;
  background: url('../img/subcontent-h1.png') repeat-x bottom;
  margin: 0;
  padding-bottom: 10px;
}

#subcontent h2 {
  font-size: 14px;
  line-height: 14px;
  color: #ff008c;
  margin: 0;
}

#subcontent h3 {
  font-size: 120%;
}

.subcontent_img img {
  float: left; 	
  margin-right: 10px;
  margin-bottom: 10px;
  background: url('../img/img_bar_short.jpg') left bottom repeat-x;
  padding-bottom: 8px;
}

.top-corner {
  background: url('../img/top-corner.png') no-repeat;
  position: absolute;
  top: -5px;
  left: -4px;
  width: 64px;
  height: 66px;
  margin: 0;
  padding: 0;
  behavior: url("/files/takaisintoimeen/js/iepngfix.htc");
}

.bottom-corner {
  background: url('../img/bottom-corner.png') no-repeat;
  position: absolute;
  bottom: -5px;
  right: -4px;
  width: 64px;
  height: 66px;
  margin: 0;
  padding: 0;
  behavior: url("/files/takaisintoimeen/js/iepngfix.htc");
}


#footer {
  clear: both;
  background: url('../img/container-bottom.png') no-repeat top;
  height: 75px;
}

#footer a {
  color: #1b58ac;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

.frontpage #footer p {
  text-align: center;
  line-height: 50px;
}

.subpage #footer p {
  text-align: center;
  line-height: 50px;
  padding: 0 40px 0 40px;
}

a img {
  border: 0;
  behavior: url("/files/takaisintoimeen/js/iepngfix.htc");
}

.clear {
  clear: both;
}

#kerro-kaverille {
  position: relative;
  background: #1b56ab url('../img/kerro-kaverille.png') no-repeat top;
  height: 42px;
  overflow: hidden;
  padding: 16px 20px 20px 270px;
  text-align: left;
  color: #fff;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

#kerro-kaverille a.toggle {
  position: absolute;
  top: 10px;
  left: 20px;
  width: 240px;
  height: 50px;
  cursor: pointer;
}

#kerro-kaverille form {
  position: absolute;
  top: 75px;
  left: 20px;
  width: 490px;
}

#kerro-kaverille td {
  padding: 2px;
}

#kerro-kaverille input, #kerro-kaverille textarea {
  background: transparent;
  border: 1px solid #4cabe6;
  padding: 2px;
  color: #fff;
  font: normal 11px verdana, sans-serif;
}

#kerro-kaverille th {
  font-weight: normal;
  text-align: right;
  padding: 2px;
}

#kerro-kaverille input {
  width: 180px;
}

#kerro-kaverille textarea {
  width: 280px;
}


.styled {
  background: #eff3f5;
  margin: 13px 0 13px 0;
  padding: 10px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.styled table {
  width: 100%;
}

.styled th, .styled td {
  padding: 2px;
}

.styled th {
  text-align: right;
  padding: 4px 10px 0 0;
  font-weight: normal;
  width: 33%;
}


.styled label {
  color: #4e585e;
}








.styled input, .styled textarea {
  font-family: 'verdana', sans-serif;
  font-size: 11px;
  line-height: 13px;
  color: #000;
  padding: 2px;
}

.styled input {
  width: 200px;
}

.styled textarea {
  width: 300px;
}

.styled input.checkbox {
  width: auto;
}

.styled input.submit {
  width: auto;
  background: #1d6ab8;
  padding: 5px 10px 5px 10px;
  color: #fff;
  border: 0;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  cursor: pointer;
}

.styled .note {
  padding: 10px 10px 0 10px;
  color: #4e585e;
}

#dim {
  background: #1d5bae;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: alpha(opacity = 0);
}
html > body #dim {
  position: fixed;
}
#overlay {
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 600px;
  margin: -300px 0 0 -400px;
  -moz-box-shadow: 0 2px 10px #0d5393;
  opacity: 0;
  filter: alpha(opacity = 0);
  zoom: 1;
  line-height: 600px;
}
#overlay img {
  vertical-align: middle;
}
html > body #overlay {
  position: fixed;
}
#overlay-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 31px;
  height: 31px;
  background: url('../img/overlay-close.png') no-repeat;
  behavior: url("/files/takaisintoimeen/js/iepngfix.htc");
}

.content ul {
  padding-left: 30px;
}