* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background: #e9edf1 url('../img/background.png') repeat-x top;
  font-family: 'Arial', sans-serif;
  font-size: 0.75em;
  line-height: 1.4;
  text-align: center;
  color: #181c20;
}

#document {
  background: #fff url('../img/topline.png') repeat-x top;
  margin: 0 auto 0 auto;
  width: 100%;
  min-width: 960px;
  max-width: 1010px;
  min-height: 100%;
}

#container {
  width: 960px;
  margin: 0 auto;
  text-align: left;
  padding: 24px 0 24px 0;
}

img {
	border: 0;	
}

/* Head section */

#head {
  margin: 0 0 1px 0;
  height: 72px;
  font-size: 1.1em;
}

#logo {
  float: left;
  background: url('../img/varte.png') no-repeat;
  width: 190px;
  height: 55px;
  text-indent: -10000px;
  overflow: hidden;
  margin: -4px 0 0 18px;
}

#logo a {
  display: block;
  height: 100%;
}

/* Navi */

#navi {
  float: right;
  list-style-type: none;
  margin: 6px 1px 0 0;
}

#navi li {
  float: left;
  overflow: hidden;
  height: 40px;
}

#navi li img {
  display: block;
}

#navi a {
  text-decoration: none;
}

#navi a:hover img, #navi a:active img, #navi li.selected img {
	margin-top:-40px;	
}

/* Navi OPT */

#navi2 {
  float: right;
  list-style-type: none;
  line-height: 70px;
  margin: 2px 1px 0 0;
}

#navi2 li {
  float: left;
}

#navi2 a {
  position: relative;
  display: block;
  padding: 0 19px 0 19px;
  text-decoration: none;
}

#navi2 li {
  background: url('../img/navi-divider.png') no-repeat left;
}

#navi2 li.first {
  background: none;
}

#navi2 li.selected {
  font-weight: bold;
}

#navi2 li:hover, #navi2 li.selected {
  background: url('../img/navi-hover.png') no-repeat bottom left;
  margin-right: -1px;
}

#navi2 li:hover a, #navi2 li.selected a {
  background: url('../img/navi-hover.png') no-repeat bottom right;
  margin-left: 1px;
  padding-left: 18px;
  padding-right: 20px;
}


/* Teaser */

#banner {
  margin: 2px 0 6px 0;
}

.main_view {
	margin: 2px 0 6px 0;
}

.window {
	height:310px;	
	width: 960px;
	overflow: hidden; 
	position: relative;
}
.image_reel {
	position: absolute;
	top: 0; left: 0;
}
.image_reel img {float: left;}

.paging {
	position:absolute;
	margin: -50px 0 0 -7px;
	width: 178px; 
	height:47px;
	z-index: 100; 
	line-height: 26px;
	background: url('../img/paging_bg.png') no-repeat;
	display: none;
	padding: 0 0 0 42px;
}
.paging a {
	font-size: 12px;
	font-weight: bold;
	padding: 2px 5px 6px 5px;
	text-decoration: none;
	color: #fff;
	outline:none;
}
.paging a.active {
	background: url('../img/slider_active.png') no-repeat;
}
.paging a:hover {
	color: #cce4ff;
	text-decoration: none;
}

/* Content */

#content {
  background: url('../img/content-background.png') repeat-y;
  margin: 0 -3px 0 -3px;
}

#content .content-inner {
  background: url('../img/content-top.png') no-repeat top;
  padding: 20px 15px 0 15px;
  min-height: 350px;
}

#content h1 {
  font-size: 2.75em;
  color: #003f8b;
  margin: -10px 0 25px -13px;
}

#content h2.normal {
  font-size: 2em;
  color: #85a5cd;
  margin: -30px 0 25px -13px;
  background: none;
  padding: 0;
}

#content h2.normalMiddle {
  font-size: 2em;
  color: #85a5cd;
  margin: 30px 0 5px -13px;
  background: none;
  padding: 0;
}

#content h2 {
  position: relative;
  background: #4a77ac url('../img/h2.png') repeat-x top;
  font-size: 1.75em;
  line-height: 28px;
  color: #fff;
  margin: 25px -12px 20px -12px;
  padding: 0px 0px 6px 10px;
}

#content h3 {
  font-size: 1.25em;
  margin: 2em 0 5px 0;
}

#content h3.big {
  font-size: 1.667em;
  margin: 0 0 5px 0;
  color: #00214a;
}

#content h3.wide {
  font-size: 1.25em;
  margin: 1.5em 0 0.2em -13px;
}

#content .front-news h3 {
  font-size: 1.2em;
  margin: 0 0 0.2em 0;
}

#content h4 {
  font-size: 1.1em;
  margin: 0.75em 0 0.5em 0;
}

#content h4.wide {
  font-size: 1.1em;
  margin: 0.75em 0 0.5em -13px;
}

#content h4.spaced {
  color: #181C20;
  font-size: 1.1em;
  margin: 2em 0 -0.4em 0;
}

#content h5 {
  font-size: 1em;
  margin: 0.75em 0 0.5em -13px;
}

#content a.h2-link {
  position: relative;
  float: right;
  background: url('../img/h2-link.png') no-repeat right;
  line-height: 19px;
  font-weight: bold;
  color: #fff;
  margin-top: -48px;
  padding: 0 28px 0 0;
}

#content div.path {
  background: url('../img/path.png') no-repeat 2px 7px;
  margin: -5px 0 25px 0;
  padding: 0 0 0 22px;
  line-height: 28px;
  border-bottom: 4px solid #e5ebf3;
  color: #003f8b;
}

#content div.esite {
  position: relative;
  top:-61px;
  width:100px;
  left:836px;
  height:24px;
  overflow:hidden;
  margin: 0 0 -24px 0;
}

#content div.esite img {
  display:block;
}

#content div.esite a:hover img, #content div.esite a:active img {
  margin-top: -24px;
}


#content .small-column {
  width: 230px;
  float: left;
  margin-right: 20px;
  border-top: 4px solid #4875ab;
  padding-top: 3px;
}

#content .front-news {
  width: 415px;
  float: right;
  margin-right: 10px;
}

#content .front-news h2 {
  margin-top: 0;
}

#content .front-news h3 {
   color: #003f8b;
}

#content .main-column {
  width: 660px;
  float: right;
  margin-right: 10px;
}

#content .main-column-new {
  width: 682px;
  float: right;
}

/*
#content .main-column h4 {
  color: #00214a;
  margin-bottom: 1em;
}
*/

#content .images {
  float: left;
  margin: 0 20px 10px -12px;
  width: 362px;
}

#content .images p {
  margin: 5px 20px 0 0;
  font-size: 0.917em;
}

#content .sidenavi {
  width: 230px;
  float: left;
}

#content .sidenavi ul {
  margin: 0 0 10px 0;
  list-style-type: none;
}

#content .sidenavi li a {
  background: url('../img/sidenavi-arrow.png') no-repeat top right;
  display: block;
  line-height: 19px;
  padding: 5px 38px 5px 14px;
  border-bottom: 1px solid #e5ebf3;
}

#content .sidenavi li.selected a {
  background: #002148 url('../img/sidenavi-selected.png') no-repeat top right;
  color: #fff;
  font-weight: bold;
}

#content .reservations {
  background: #6c92c0 url('../img/reservations.png') repeat-x top;
  margin: 25px 0 10px 0;
  padding: 10px 14px 12px 14px;
  color: #fff;
}

#content .reservations h2 {
  background: transparent;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1;
}

#content .reservations p {
  margin: 10px 0 0 0;
}

#content .reservations p.green, #content .reservations p.yellow, #content .reservations p.red {
  line-height: 24px;
  border-bottom: 1px solid #b7cbe3;
  margin: 0;
  padding-left: 24px;
}

#content .reservations p.green {
  background: url('../img/reservations-green.png') no-repeat 3px 50%;
}
#content .reservations p.yellow {
  background: url('../img/reservations-yellow.png') no-repeat 3px 50%;
}
#content .reservations p.red {
  background: url('../img/reservations-red.png') no-repeat 3px 50%;
}

#content hr {
  color: #dfe2e8;
  background: #dfe2e8;
  height: 1px;
  border: 0;
  margin: 1em 0 1em 0;
}

#content hr.wide {
  color: #dfe2e8;
  background: #dfe2e8;
  height: 1px;
  border: 0;
  margin: 0 -10px 20px -12px;
  clear: both;
}

#content p {
  margin: 10px 0 0 0;
}

#content p.wide {
  margin: 0 0 20px -13px;;
}

#content p.date {
  font-size: 0.8em;
  color: #61656a;
  margin: 0;
}

#content .small-column p a, #content .main-column p a, #content .urakkakohde a, #content .urakkakohde2 a  {
  font-weight: bold;
  color: #008b5c;
}

#content ul {
  margin: 0 0 1em 17px;
}

#content .paikkakunta .place {
  position: relative;
  clear: both;
  padding: 5px 0 40px 180px;
  margin: 1em 0 1em 0;
}

#content .paikkakunta {
	margin: -30px -12px 20px -12px;
 	background: #f6f8f9;
}

#content .paikkakunta .place img {
  position: absolute;
  margin: 20px 0 0 -170px;
  padding: 10px 0 0 0;
}

#content .place h3, #content .place h3 a {
  color: #003F8B;
}

#content a.arrow-link {
  background: #f1f5fa url('../img/arrow-link.png') no-repeat right;
  float: left;
  margin: -4px 0 0 0;
  padding: 4px 34px 4px 10px;
  line-height: 19px;
  font-weight: bold;
  border: 1px solid #d6dce4;
  color:#003F8B;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

#content .paikkakunta a.arrow-link {
  background: #ffffff url('../img/arrow-link.png') no-repeat right;
}


/* Myytatavat kohteet */
#asuinhuoneistot {
		
}

#asuinhuoneistot td {
	padding: 8px;
}

td.nro { font-size: 14px; font-weight: bold; border-bottom: 1px dashed #e3e3e3; }
td.tyyppi { font-size: 12px; border-bottom: 1px dashed #e3e3e3; }
td.pa { font-size: 12px; border-bottom: 1px dashed #e3e3e3; }
td.selitykset { font-size: 12px; font-weight: bold; }

#kohde_esittely {
	background: #e5ebf3; 
	width: 682px; 
	height: 60px; 
	text-align: center; 
	line-height: 60px; 
	font-size: 16px; 
	font-weight: bold; 
	color: #003f8b; 
	margin-bottom: 10px;	
}

#kohde_imgs {
	margin: 0 0 30px 0;
	clear: both;
}

#kohde_imgs .window {
	height:380px;	
	width: 682px;
	overflow: hidden; 
	position: relative;
}
#kohde_imgs .image_reel {
	position: absolute;
	top: 0; left: 0;
}
#kohde_imgs .image_reel img {float: left;}

#kohde_imgs .paging_container {
	position:absolute;
	margin: -43px 0 0 1px;
	width: 100px; 
	height:47px;
	z-index: 99; 
	line-height: 26px;
	background: url('../img/paging_bg2.png') no-repeat 100% 0px;
}

#kohde_imgs .paging {
	position:absolute;
	margin: 0 0 0 -7px;
	width: auto; 
	height:47px;
	z-index: 100; 
	line-height: 26px;
	background: url('../img/paging_bg1.png') no-repeat;
	display: none;
	padding: 0 5px 0 16px;
}

#kohde_imgs .paging a {
	font-size: 12px;
	font-weight: bold;
	padding: 2px 5px 6px 5px;
	text-decoration: none;
	color: #fff;
	outline:none;
}
#kohde_imgs .paging a.active {
	background: url('../img/slider_active.png') no-repeat;
}
#kohde_imgs .paging a:hover {
	color: #cce4ff;
	text-decoration: none;
}

#kohde_left {
	width: 432px;
	float: left;
	margin: 0 20px 0 0;
}

#kohde_left h1 {
	margin-left: 0;
}

#kohde_left h2.normal {
	margin-left: 0;
}

#kohde_left h4 {
	margin: 26px 0 0 0;
}


#kohde_right {
	width: 230px;
	float: left;
}

#content h5.kohdetiedot {
  position: relative;
  background: #4a77ac url('../img/h2.png') repeat-x top;
  font-size: 18px;
  //line-height: 27px;
  color: #fff;
  padding: 3px 0px 5px 10px;
  margin: 0;
}

#kohde_right table {
  background: #f6f8f9 url('../img/kohde_icons_bg.png') repeat-y top;
  width: 230px;
  margin: 0;
  padding: 0;
  border: 0;
}

#kohde_right table .icons {
  text-align: center;
  width: 35px;
  border-bottom: 1px solid #d6e1e9;
}

#kohde_right table .text {
  border-bottom: 1px solid #d6e1e9;
}

#kohde_right table .text p {
	margin: 12px 0 12px 10px;
	line-height: 16px;
}

#kohde_map {
	margin: 20px 0 0 0;	
	background: url('../img/kohde_map_bg.png') repeat-y top;
}

#map {
	float: left;
	width: 442px;
	height: 442px;
	margin: 0 10px 0 0;
}

#map_info {
	float: left;
	width: 230px;
}

#map_info table {
  width: 230px;
}

#map_info table .icons {
  text-align: center;
  width: 65px;
  border-bottom: 1px solid #d6e1e9;
  padding: 10px 0 0 0;
  vertical-align: top;
}

#map_info table .text {
  border-bottom: 1px solid #d6e1e9;
}

#map_info table .text p {
	margin: 12px 0 12px 0px;
	line-height: 16px;
}

#map_info ol {
	margin: -10px 0 12px 0px;
	font-weight: normal;
}


/* Urakkakohteet */
#content .urakkakohde {
  float:left;
  border-right: solid 1px #e5ebf3;
  width: 317px;
  margin: 0 0 40px 0;
  padding: 0 10px 0 0;
}
#content .urakkapaikkakunta {
	background: #f6f8f9;
}

#content .urakkakohde2 {
  float:left;
  padding: 0 0 0 20px;
  width: 300px;
  margin: 0 0 40px 0;
}

#content .urakkakohde .otsikko, #content .urakkakohde2 .otsikko {
 	font-weight:bold;
	width: 120px;
	padding: 6px 0 0 0;
	vertical-align: top;
}

#content .urakkakohde .teksti, #content .urakkakohde2 .teksti {
	padding: 6px 0 0 0;
	vertical-align: top;
}

#content .urakkakohde h3, #content .urakkakohde2 h3 {
  margin: 0 0 10px 0;
}

/* Rakennettuja kohteita */
#rakennettuja {
	margin: 0 0 0 -12px;	
	width: 682px;
}

.dd_skin {
	background: url("../img/sidenavi-dd.png") no-repeat scroll right top #002148;	
	height: 29px;
}
	
.selectedLabel {
	position: absolute;
    height: 29px;
    padding-left: 9px;
    padding-top: 7px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 11px;
    line-height: 14px;
    color: #ffffff;
    z-index: 1;
    line-height: 160%;
}

.dd_skin select {
    width: 230px;
    height: 29px;
    position: relative;
    z-index: 2;
    margin-top: 0px;
    padding-top: 0px;
    display:inline;
    background-color: #ffffff;
    -moz-opacity: 0;
    filter:alpha(opacity: 0);
    opacity: 0;/**/
    cursor: pointer;
}

img { border: 0; }
.clear		{ clear:both; }
.photo-link		{ padding:5px 5px 0 5px; margin:0 17px 19px 0; border:1px solid #d1d7df; display:block; width:204px; float:left; }
#rakennettuja .last {
	clear: right;
	margin: 0 0 19px 0;	
}
.photo-link:hover	{ border-color:#003f8b; }

/* Yritykset */
table.yritystiedot {
	margin: 5px 0 0 -12px;
}

table.yritystiedot .yritykset1 {
	font-weight:bold;
	width: 150px;
	padding: 12px 0 0 0;
	vertical-align: top;
}

table.yritystiedot .yritykset2 {
	vertical-align: top;
	padding: 12px 0 0 0;
}

/* Henkilosto */
table.henkilosto {
	width: 100%;
	margin: 5px 0 0 -12px;
	padding: 0;
}

table.henkilosto .kuva {
	padding: 0 0 20px 0;
	width: 149px;
}

table.henkilosto .tiedot {
	width: 249px;
	padding: 0 0 30px 0;
	vertical-align: bottom;
}

table.henkilosto td.tiedot p.nimi {
	color: #00214a;
}

table.henkilosto td.tiedot p.nimi strong {
	font-size: 1.167em;	
}

#content h4.henkilosto {
  font-size: 1.1em;
  margin: 0.75em 0 2px -12px;
  color: #003f8b;
}

/* Foot */

#foot {
  background: url('../img/foot.png') no-repeat 50%;
  height: 34px;
  line-height: 34px;
  margin: -10px -3px 0 -3px;
  padding: 36px 28px 5px 45px;
  font-size: 0.9em;
  color: #002756;
}

#foot p {
  float: left;
  margin: 0;
}

#foot p.mail {
  background: url('../img/foot-mail.png') no-repeat left;
  float: right;
  padding: 0 0 0 22px;
}


/* Generic styles */
ol {
	list-style-position: inside;
	font-weight: bold;
}

ol li span {
	font-weight: normal;
}

.divider {
	height: 1px;
	background: #d9e2ee;
}

p {
	margin: 20px 0 0 0;	
}


a {
  color: #003f8b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.clear {
  clear: both;
}
