body {
  background-color: #D3DEE4;
  padding: 2em 0;
}

#wrapperTop {}

#wrapperPage {
  background: #fff url(../images/backdrop.jpg) repeat-x top center;
  border-style: solid;
  border-width: 1px;
  border-color: #ccc #999 #999 #ccc;
  margin: 0 auto;
  width: 1000px;
}
#wrapperContentRight, #wrapperContentRightmost { background-color: #fff; }

#wrapperHeader {
  background: transparent url(../images/paaotsikko2.gif) no-repeat center left;
  padding-top: 120px;
}

#wrapperContentLeft {
  clear: both;
  float: left;
  overflow: hidden;
  position: relative;
  width: 100%;
}
#wrapperContentMiddle {
  border-left: dashed 1px #ccc;
  float: left;
  left: 459px;
  position: relative;
  width: 200%;
}
#wrapperContentRight {
  border-left: solid 1px #ccc;
  float: left;
  left: 50%;
  margin: 0 0 0 -742px !important;
  position: relative;
  width: 100%;
}
#wrapperContentRightmost {
  border-left: solid 1px #ccc;
  float: left;
  left: 50%;
  margin: 0 0 0 -860px !important;
  position: relative;
  width: 100%;
}

#wrapperFooter {
  background-color: #ccc;
  text-align: center;
  font-size: 0.9em;
  color: #666;
  
  padding: 0.25em 1em;
  clear: both;
}

#wrapper {
  float: right;
  position: relative;
  right: 100%;
  width: 50%;
}
#contentMain {
  margin: 0 141px 0 140px !important;
  overflow: hidden;
}
#columnFrontMain {
  float: left;
  width: 459px;
}
#columnFront258 {
  float: left;
  margin-left: 1px;
  overflow: hidden;
  position: relative;
  width: 258px;
}
#columnFront258 .header {
  background-color: #BE262C;
  height: 20px;
  line-height: 20px;
  margin: 0.5em 0;
  padding: 0;
  text-transform: uppercase;
}
#columnFront258 a.header, #columnFront258 a.header:hover {
  color: #fff;
}
#columnFront258 a.header:hover {
  text-decoration: underline;
}
#columnFront258 .header span {
  background-color: #3D6CB3;
  display: block;
  margin-left: 20px;
  padding-left: 1em;
}

#columnBannersLeft {
  float: left;
  margin-left: -1px;
  left: -140px;
  position: relative;
  width: 140px;  
}
#columnBannersRight {
  float: left;
  margin-left: 1px;
  left: -140px;
  position: relative;
  width: 140px;
}

.containerDate {
	background-color: #fff !important;
	position: relative;
	font-size: 0.9em;
	margin-right: 1px;
	padding: 1em;
	color: #555;
}

.containerJuttu {
  border-bottom: dashed 1px #ccc;
  margin-bottom: 1em;
  padding: 1em;
}
.containerJuttu .containerJuttu {
  border-bottom: none;
  padding: 0;
}

.imageContainer img, .imageContainerLeft img, .imageContainerRight img {
  display: block;
  width: 100%;
}
.imageContainer p.caption, .imageContainerLeft p.caption, .imageContainerRight p.caption {
  background-color: #f0f0f0;
  padding: 0.5em 1em;
  margin: 0 0 0.75em;
  font-size: 0.9em;
  line-height: 1.15em;
}
.imageContainerLeft {
  margin: 0 1em 1em 0;
  float: left;
  width: 160px;
}
.imageContainerRight {
  margin: 0 0 1em 1em;
  float: right;
  width: 160px;
}

.contentArea {
  margin: 0 1em;
}
.vignette {
  margin: 1em 0;
}
.vignette .header {
  display: block;
  background: #3D6CB3 url(../images/department_grad.jpg) repeat-y top right;
  padding-left: 1em;
  color: #fff;
  font-weight: bold;
  line-height: 20px;
  height: 20px;
  
  margin: 0.5em 0;
  text-transform: uppercase;
}
.vignette .newsitem, .vignette .newsitem_last {
  background-color: #E5F1FF;
  border-right: solid 1px #6B8CB2;
  border-bottom: solid 1px #6B8CB2;
  padding: 0.5em 0.5em 0.5em 1em;
}

.newsitem .otsikko, .newsitem_last .otsikko {
  margin-left: 40px;
  width: 170px;
  font-size: 0.9em;
  float: left;
}
.newsitem .date, .newsitem_last .date {
  margin: 0 0 0 -210px;
  width: 40px;
  float: left;
  font-size: 0.9em;
  color: #638CC6;
}
.newsitem {
  margin-bottom: 0.33em;
}
.newsitem_last {
  border-bottom: double 3px #5579AB !important;
  margin-bottom: 0.5em;
}

ul.hae { border-left: solid 1px #ccc; padding-right: 10px !important; }
ul.hae li { padding-right: 0 !important; }

ul.imagelist .thumbnail img { width: 100%; }
ul.imagelist .data .title { font-weight: bold; }
ul.imagelist .data .send_date { display: block; font-size: 0.9em; color: #333; }

.header, .keskustelu_header {
  background-color: #3D6CB3;
  display: block;
  line-height: 1.5em;
  height: 1.5em;
  padding-left: 1em;
  
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  cursor: default;
  clear: both;
}
a.header {
  cursor: pointer;
  cursor: hand;
}

.hakutulos li {
	list-style-type: square;
	list-style-position: inside;
	color: #BE262C;
}
.hakutulos li a.title { color: #000; }
.hakutulos li a.title:hover { color: #BE262C; }

/* CONTACT */
.contact-divider {
  background-color: #f0f0f0;
  padding: 0.33em 1em;
  margin-bottom: 1em;
  display: block;
  clear: both;
}
.contact { float: left; width: 48%; height: 1%; margin: 0 2% 2% 0; }
.contact .imageContainerLeft { width: 50px; }
.contact .name { font-weight: bold; }
.contact .title { font-style: italic; }
.contact .info { font-size: 0.9em; }

/* Fix IE6 double margin bug */
#wrapperNavMain, #wrapperContentLeft, #wrapperContentMiddle, #wrapperContentRight, #wrapperContentRightmost, #wrapper,
#columnFrontMain, #columnFront258, #columnBannersLeft, #columnBannersRight,
.imageContainerLeft, .imageContainerRight,
.newsitem .otsikko, .newsitem_last .otsikko,
.newsitem .date, .newsitem_last .date,
.contact {
  display: inline;
}

.lightwindow { display: block; }
.lightwindow img { width: 100%; }
.lightwindow p.caption { background-color: #f0f0f0; margin: 0 0 1em; padding: 0.5em; }

.lightwindow_galleries_list h1 { line-height: 1em !important; }
#lightwindow_galleries_tab { width: 88px !important; }
#lightwindow_galleries_tab_span { width: 73px !important; }

#lightwindow_galleries_tab .down,
#lightwindow_galleries_tab .up { background-position: 73px 6px !important; }
