body {
  margin: 0;
}

a {
  color: #0099cc;
  text-decoration: none;
}

#main {
  color: #666;
  font-size: 1.084em;
}

a:hover {
  color: #0099cc;
  text-decoration: underline;
}

h3 {
	font-weight: bold;
	font-size: 20px;
}

/*h2 {font-size: 32px;}*/

#contentHeader h2 a, #contentHeader p a, h3 a, #ajankohtaista-paa p a {
	color: #000;
}

#contentHeader h2 a:hover, #contentHeader p a:hover, h3 a:hover, #ajankohtaista-paa p a:hover {
	text-decoration: none;
	color: #000;
}

/* HEADER */

#header {
  margin-top: 38px;
  height: 80px;
}

#header h1 {
  background: url(../img/logo.gif) top left no-repeat;
  text-indent: -9999px;
  padding: 0;
  margin: 0; 
}

#header h1 a {
  display: block;
  height: 100%;
  outline: none;
}

/* NAVIGATION */


#navigation {
  margin-left: -20px;
  float: left;
  margin-bottom: 24px;
  position: relative;
}

#navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#navigation li {
  float: left;
  width: 90px;
  height: 4.6em;
  line-height: 1.1;
  padding: 0;
  margin-right: 10px;
}

#navigation #navi-ajankohtaista {
  width: 120px;
}

#navigation a {
  padding: 0 0 0 5px;
  border-left: 5px solid #fff;
  margin: 0 0 0 -10px;
  text-decoration: none;
  color: #000;
  font-size: 1.34em;
  display: block;
  height: 100%;
  position: relative;
}

#navigation a:hover, #navigation .selected a  {
  border-left: 5px solid #00bbe5; 
}
#navigation a span {
  color: #999;
  font-size: .7em;
  display: block;
}

#subNavi {
	margin-right:30px;
	margin-bottom: 30px;
	width:150px;
}

#subNavi ul {
  list-style: none;
  margin: 0;
  font-size: 1.3em;
  margin-top: .2em;
}

#subNavi ul li {
  margin-bottom: .5em;
}

#subNavi a {
  color: #000;
  border-left: 2px solid #fff;
  padding-left: 4px;
  display: block;
}

#subNavi a:hover, #subNavi .selected a {
  border-left: 2px solid #00bbe5;
  text-decoration: none;
}

#subNavi ul ul {
  margin-top: .5em;
  font-size: .8em
}

#subNavi .selected ul li a {
  border: 0;
  line-height: 1.2;
  padding-left: 8px;
  display: block;
  background: url(../img/subnavi-bullet.png) 0 4px no-repeat;
}

#subNavi .selected ul li.selected a {
	font-weight: bold;
}

#subNavi .selected ul li a:hover {
	text-decoration: underline;
	border: 0;
}

#contentHeader h2 {
  font-weight: lighter;
}
#contentHeader p {
  font-size: 1.3em;
  color: #75766f;
}

div.date {
	text-align: right;
}

.newsArchive {
	margin-bottom: 2em;
}

/* PROJECT */

#projectNavi {
	width:250px;
	margin-right:30px;
}

#projectNavi h4 {
  font-weight: bold;
  width: 250px;
  height: 30px;
  margin-bottom: 0;
}

#projectNavi h4 a {display: block;height:30px;background: url(../img/categories-fi.png) 0 0 no-repeat;float:left;width:250px;outline: none;}
#lang-en #projectNavi h4 a {background-image: url(../img/categories-en.png);}
#lang-sv #projectNavi h4 a {background-image: url(../img/categories-sv.png);}
#projectNavi h4 a strong {display: none;}
#projectNavi h4 a span {text-align: left;display:block;font-weight: normal;font-size: 12px;padding-top: 3px;}
#projectNavi h4.category-tie-liikenne a span {padding-left: 128px;} 
#projectNavi h4.category-kaupunki a span {padding-left: 88px;}
#projectNavi h4.category-ymparisto a span {padding-left: 94px;}
#projectNavi h4.category-rata-rakenne a span {padding-left: 138px;}
#projectNavi h4.category-rakennuttaminen a span {padding-left: 158px;}
#projectNavi h4.category-tietotekniikka a span {padding-left: 130px;}

#lang-en #projectNavi h4.category-tie-liikenne a span {padding-left: 168px;} 
#lang-en #projectNavi h4.category-kaupunki a span {padding-left: 124px;}
#lang-en #projectNavi h4.category-ymparisto a span {padding-left: 118px;}
#lang-en #projectNavi h4.category-rata-rakenne a span {padding-left: 175px;}
#lang-en #projectNavi h4.category-rakennuttaminen a span {padding-left: 182px;}
#lang-en #projectNavi h4.category-tietotekniikka a span {padding-left: 106px;}

#lang-sv #projectNavi h4.category-tie-liikenne a span {padding-left: 125px;} 
#lang-sv #projectNavi h4.category-kaupunki a span {padding-left: 70px;}
#lang-sv #projectNavi h4.category-ymparisto a span {padding-left: 50px;}
#lang-sv #projectNavi h4.category-rata-rakenne a span {padding-left: 180px;}
#lang-sv #projectNavi h4.category-rakennuttaminen a span {padding-left: 94px;}
#lang-sv #projectNavi h4.category-tietotekniikka a span {padding-left: 104px;}

#projectNavi h4.category-tie-liikenne a {background-position: 0 0;}
#projectNavi h4.category-tie-liikenne a:hover {background-position: -300px 0;}
#projectNavi h4.category-tie-liikenne a.isOpen {background-position: -600px 0;}

#projectNavi h4.category-kaupunki a {background-position: 0 -60px;}
#projectNavi h4.category-kaupunki a:hover {background-position: -300px -60px;}
#projectNavi h4.category-kaupunki a.isOpen {background-position: -600px -60px;}

#projectNavi h4.category-ymparisto a {background-position: 0 -120px;}
#projectNavi h4.category-ymparisto a:hover {background-position: -300px -120px;}
#projectNavi h4.category-ymparisto a.isOpen {background-position: -600px -120px;}

#projectNavi h4.category-rata-rakenne a {background-position: 0 -180px;}
#projectNavi h4.category-rata-rakenne a:hover {background-position: -300px -180px;}
#projectNavi h4.category-rata-rakenne a.isOpen {background-position: -600px -180px;}

#projectNavi h4.category-rakennuttaminen a {background-position: 0 -240px;}
#projectNavi h4.category-rakennuttaminen a:hover {background-position: -300px -240px;}
#projectNavi h4.category-rakennuttaminen a.isOpen {background-position: -600px -240px;}

#projectNavi h4.category-tietotekniikka a {background-position: 0 -300px;}
#projectNavi h4.category-tietotekniikka a:hover {background-position: -300px -300px;}
#projectNavi h4.category-tietotekniikka a.isOpen {background-position: -600px -300px;}

#projectNavi .isOpen .open,#projectNavi .close {display: none;}
#projectNavi .isOpen .close,#projectNavi .open {display: block;}

.projects .project {
  width: 100px;
  float: left;
  margin-right: 20px;
  margin-bottom: 1em;
  line-height: 1.1;
}

.project img {
	border: 3px solid #fff;
	float: left;
}

.project .selected img {
	border: 3px solid #00bbe5;
}

.projects .last {
  margin-right: 0;  
}

.projects .project a {
  color: #000;
  display: block;
  font-size: .85em;
}  

.projects .project a span {
	margin-left: 3px;
	display: block;
}

.projects .project a:hover {
  text-decoration: none;
}  


.projects {
  float: left;
  margin: 0 0 2em 0;
  width: 230px;
  clear: both;
}

#sidebar {
 float: left;
 margin: 0;
 width: 195px; 
}

#projectInfo {
 float: left;
 margin: 0;
 width: 195px; 
 background: #cbccbf;
 padding: 15px;
 border-left: 5px solid #53534a;
}

#projectInfo p {
	font-size: .9em;
}

#projectInfo h4 {
  color: #fff;
  font-size: 1.2em;
}

.quote {
	float: left;
	width: 195px;
	margin-top: 2em;
	font-size: 20px;
	line-height: 1;
	color: #333;
	font-weight: lighter;
	font-style: italic;
}

.green {
	color: #6c9e00;
}

.quote p {
	color: #000;
	font-size: .5em;
	font-style: normal;
	font-weight: bold;
	margin-top: 2em;
	margin-left: 35px;
}

.quote span {
	font-family: georgia;
	font-size: 72px;
	font-style: normal;
	position: absolute;
	line-height: 35px;
}

.quote em {
	display: block;
	padding-left: 35px;
}

/* SEARCHBOX */

#search {
  float: right;
}

#search .searchPhrase {
  border: 1px solid #cbd1d5;
  border-right: 0;
  padding: 5px;
  height: 15px;
  float: left;
  width: 82px;
}

#search .submitBtn {
  border: 1px solid #cbd1d5;
  border-left: 0;
  height: 27px;
  width: 58px;
  float: left;
  background: url(../img/hae.png) top left no-repeat;
  text-indent: -9999px;
}

#lang-en #search .submitBtn {background: url(../img/search.png) top left no-repeat;}
#lang-sv #search .submitBtn {background: url(../img/sok.png) top left no-repeat;}

/* HOMEPAGE */

#homepageNews {
  margin-top: 34px;
}

#mainRaise a {
  text-decoration: none;
  color: #000;
}

#mainRaise p a {
  color: #999;
  font-size: 1.334em;
}

#news {
  margin-left: -20px;
  width: 400px;
}

#news .span-2 {position: relative; margin-top: -7px; text-align: center;}

#news strong {
  font-size: 4em;
  line-height: 1;
  color: #999;
}

#news span {
  display: block;
  color: #666;
  text-transform: uppercase;
}

#news .span-6 {
  margin-left: -20px;
}
#news h3 {
  margin-bottom: 0;
}
#news h3 a {
  text-decoration: none;
  color: #000;
}

#news p a {
  color: #999;
  text-decoration: none;
}

#nostot {
 width: 980px; 
 margin: 0;
 margin-top: 1em;
 float: left;
}

#nostot h3 {
  font-weight: bold;
}

div.cal {width: 70px;height: 62px;background: url(../img/calendar-bg.png) 0 0 no-repeat;position: relative;float:left;}
div.cal a {display: block;height: 100%;padding: 10px 11px 0 0;}
div.cal a:hover {text-decoration: none;}
div.cal strong {display: block;color: #fff;text-transform: uppercase;text-align: center;font-size: 10px;position: relative;top: 0;left: 0;}
div.cal span {display: block;color: #000;text-align: center;font-size: 22px;font-weight: bold;line-height:1;position: relative;padding-top:2px;}

#events {width: 100%;overflow: hidden;}
#events .event {float: left; width: 100%;}

/* FOOTER */

#footerContainer {
	position: relative;
}

#footerContainer .container {
  margin-top: 1em;
}

#footer {
	position: relative;
  background: url(../img/pattern.png) top left repeat-x;
  padding: 2em 0;
  border-top: 1px solid #0060a9;
}

#sitemap-ajankohtaista {
	width: 110px;
}

#footer .first {
	margin-left: -20px;
}

#footer a {
  color: white;
  text-decoration: none;
  font-size: .9em;
  letter-spacing: -0.5px;
}

#footer h4 {
  margin: 0;
  font-size: 1.3em;
}

#footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1;
}

#footer li {
	margin-bottom: .5em;
}

/* TOOLS */

a.print {
  color: #999;
  text-decoration: none;
  background: url(../img/print.png) top left no-repeat;
  padding-left: 20px;
  float:left;
}
#address {
  width: 480px;
  float: left;
  margin-right: 20px;
}
#tools,#address {
  color: #999;
  font-size: .9em;
  margin-bottom: .5em;
}

.languages {
  float: right;
  width: 150px;
}

.languages a {
  float: left;
  width: 21px;
  height: 15px;
  margin-right:3px;
  text-indent: -9999px;
  outline: none;
  border: 1px solid #fff;  
}

.languages a:hover {
  border: 1px solid #999;
}

.lang-fi {
  background: url(../img/flags.png) 0 0 no-repeat;
}

.lang-sv {
  background: url(../img/flags.png) -21px 0 no-repeat;
}

.lang-en {
  background: url(../img/flags.png) -42px 0 no-repeat;
}

/* NEWSLETTER FORM */

.newsletter {
 border-left: 5px solid #ccc;
 height:85px;
 padding: 30px 10px 0 10px;
 background:#f2f2f2;
 line-height:1;
 background-position: 200px 5px;
}

.loading {
	background-image: url(../img/indicator.gif);
	background-repeat: no-repeat;
}

#newsletterNotice {
	color:#000000;
	margin-top:-20px;
	position:relative;
}

.newsletter form {
  margin-bottom: 10px;
  float: left;
  margin: 0;
}

.newsletter .email {
  border: 1px solid #cbd1d5;
  border-right: 0;
  padding: 5px;
  height: 15px;
  float: left;
  width: 134px;
}

.newsletter .submitBtn {
  border: 1px solid #cbd1d5;
  border-left: 0;
  height: 27px;
  width: 58px;
  float: left;
  background: url(../img/tilaa.png) top left no-repeat;
  text-indent: -9999px;
}

#lang-sv .newsletter .submitBtn {background-image: url(../img/bestall.png)}


.newsletter p {
  color: #999;
  font-size: .9em;
  clear: both;
 	width:200px;
  margin-top: 1em;
  float: left;
}

/* CONTENT */

p.description {
  color: #999;
  font-size: 1.4em;
}

p.caption {float:left; width: 100%;clear:both;}

.caption img {
  margin: 0;
  clear: both;
  float: none;
}

.caption span {
	font-size:0.85em;
	color: #666;
	width: 100%;
	display: block;
}

.column {
  float: left;
  width: 300px;
  margin-right: 20px;
}

.column .caption img {
	margin-bottom: .5em;
}

#homepageRaise, #toissaSitossa {
	height: 280px;
}

.projectColumn {
	margin-bottom: 2em;
}

.column p {
  font-size: 1.1em;
}

.links {
  list-style: none;
  margin: 1.5em 0;
  
}
#homepage-event p {clear: both;float:left;width:100%;margin-top:1em;}
#homepage-event h4 a {color:#000000;}
#homepage-event h4 {margin:0;}
#homepage-event p.location {margin: 0pt; clear: none; color: #666;}
#homepage-event .event {margin-top: 5px;float: left;width:100%;}

#homepage-event .cal {position: relative;width:70px;}
#homepage-event .span-3 {width:130px;}

#main p.location {font-size:1.2em;margin-top:-0.4em;margin-bottom: .5em;}
.links a:hover,#homepage-event p a:hover {text-decoration: underline;}
.links a,#homepage-event p a {
  font-weight: bold;
  color: #000;
  text-decoration: none;
  border-left: 5px solid #00bbe5;
  padding-left: 5px;
  line-height: 2em;
  display: block;
  margin-bottom: .2em;   
}

.links li.event a {
	border-color: #53534a;
}

.links li.job a {
	border-color: #94d200;
}

.links a span {
  color: #999;
}

#uutiset p {
  margin-top: -10px;
}

#sitoTanaan h4 {
  margin-bottom: .2em; 
}

#sitoTanaan h4 a {
  color: #000;
}

#sitoTanaan p {
  margin-bottom: .5em
}

#sitoTanaan h4 span a {
  color: #0099CC;
}
#sitoTanaan span.pdf {
  display:block;
}

a.top {
  float:right;
  font-size: .9em;
  color:#666;
}


.contacts {
	letter-spacing: -0.5px;
}

.contact img {
 	float:left;
 	margin-right:10px;
}

.contact p {
	float:left;
	width:200px;
}

#projectInfo .contact p {
	font-size: .8em;
	
}


#ajankohtaistaTyopaikat {
	
}

span.date {
	display:block;
	font-size:1em;
	color:#666;
}

#ajankohtaista-vasen {
	margin-right:30px;
	width:200px;
}

#ajankohtaista-paa {
	width: 520px;
	margin-right:30px;
}

#ajankohtaista-oikea {
 margin-right:0;
 width:200px;
}

#haemmeParhaita div {
	border-left: 5px solid #94d200;
	height:95px;
	padding:10px 0 0 20px;
}

#haemmeParhaita div p a {
	color:#94d200;
	font-size: 1.2em;
	text-decoration: none;
	line-height:1.2;
}
#haemmeParhaita div p a:hover {
  text-decoration: underline;
}

#haemmeParhaita div span {
	color: #666;
	
}

/* SIFR */

.sIFR-active h2,
.sIFR-active h3 {
  visibility: hidden;
  margin-bottom: 0;
  clear: both;
}

.sIFR-active h2 {font-size: 32px;line-height:48px;}
.sIFR-active h3 {font-size: 20px;line-height:20px;}

/* FORM */

form ol  {
  margin: 0;
  padding: 0;
  list-style: none;
}

form ol li {
  list-style-image:none;
  list-style-position:outside;
  list-style-type:none;
  margin:0pt;
  padding:0px;
  clear:both;
}

form .submit {
	text-align: right;
}

form fieldset.buttons {
	text-align: right;
}

form ol .submit input {
	width: auto;
	height: auto;
}

form label {
  display:block;
  width:auto;
}
form label {
  width:150px;
  float: left;
  text-align: right;
  margin-right: 5px; 
  padding-top: 4px;
}

form input.number {
  width: 4em;
  padding:5px;
	border:1px solid #BBBBBB;
	margin:0.5em 0;
}
form input.number:focus {border:1px solid #666;}

form ol input.text, form ol textarea {
  margin-top: 0;
}

#contactForm textarea {width:300px;}

form p.error {
	margin-bottom:1px;
	margin-left:155px;
	width:287px;
}



form label.inline {
  float: none;
}

form li.values {
  display: block;
  float: left;
  clear: none;
  margin-left: 155px;
  padding: 5px 5px 5px 0;
}

form li.values input,form li.values label {
	width: auto;
	float: none;
	display: inline;
}
  



#events h4, #ajankohtaistaTyopaikat h4 {
	margin-bottom: 0;
}
#events h4 a, #ajankohtaistaTyopaikat h4 a {
	font-weight: bold;
	color: #000;
}

#ajankohtaista-oikea .links {
	margin-bottom: 4em;
}

#esimerkkiprojekteja {
	margin-top: 30px;
}

.palvelu {
	width: 300px;
}

.palveluLinkit {
	margin-bottom: 2em;
}

#yhteystiedot .span-14 {
  margin-bottom: 1em;
}

#contactForm {clear:both;}
#mainContent p.notice {clear:both;}
