/* Basics
----------------------------------------------- */
html, body {
	margin: 0;
	padding: 0;
}

body, p, td, th, div, blockquote, dl, ul, ol {
	font-family:Arial, Helvetica, sans-serif;
	color: #333333;
	font-size: 12px;
	line-height: 16px;
}

p, ol, ul, dl, blockquote {
	margin: 1em 0;
}

form p {
	margin: 0;
}

ol, ul {
	padding-left: 2em;
}

body {
	background: #fbf6e7;
}

td, th {
	text-align: left;
	vertical-align: top;
}

img {
	border: 0;
	display: block;
}

/* Header
----------------------------------------------- */

#logo {
position: absolute;
left: 45px;
bottom: 27px;
}

#header_nav {
height: 28px;
position: absolute; 
bottom: 10px;
right: 64px;
}


#header_nav a{
font-family: "Trebuchet MS";
font-size: 9pt;
line-height: 28px;
color: #f15b50;
}

/* Structure
----------------------------------------------- */
#container {	
width: 938px;
margin: 0px auto;
}

#header {
width: 938px;
height: 100px;
background: transparent url(/files/realprojekti/images/header_bg.gif) no-repeat;
position: relative;
}

#nav_container {
width: 938px;
height: 62px;
background: transparent url(/files/realprojekti/images/blank_bg.gif) repeat-y;
/*text-align: center;*/
} 

#subnavlist {
background: transparent url(/files/realprojekti/images/hr_dot.gif) left bottom repeat-x;
padding-bottom: 30px;
width: 200px;
margin-bottom: 20px;
}

#sub_separator {
width: 938px;
height: 17px;
background: transparent url(/files/realprojekti/images/sub_separator.gif) no-repeat;
}

#frontpage_image {
width: 894px;
padding-left: 44px; 
height: 245px;
background: transparent url(/files/realprojekti/images/blank_bg.gif) repeat-y;
}

#content { 
width: 938px;
background: transparent url(/files/realprojekti/images/content_bg.gif) repeat-y;
}

#content_blank { 
width: 938px;
background: transparent url(/files/realprojekti/images/blank_bg.gif) repeat-y;
}

#front_left {
width: 180px;
float: left;
padding-left: 64px;
}

#front_left form p {
margin: 3px 0 3px 0;
}

#front_left form label {
line-height: 20px;
}

#front_left form select {
width: 100%;
}

#front_left form input[type=image] {
margin-top: 10px;
}

#front_right {
padding-left: 23px;
width: 572px;
float: right;
padding-right: 64px;
padding-bottom: 60px;
}

#front_right_bottom {
padding: 30px 0 30px 23px;
width: 572px;
float: right;
padding-right: 64px;
background: transparent url(/files/realprojekti/images/front_hr.gif) top left no-repeat;
position: relative;
}

#right_sub {
width: 570px; 
float: right;
padding-right: 64px;
padding-bottom: 60px;
} 

#content_image_sub{
width: 570px;
margin-bottom: 30px;
}

#content_text_sub {
width: 570px;
}

#sub_wide {
padding-left: 64px;
}

#footer {
width: 938px;
height: 195px;
background: transparent url(/files/realprojekti/images/footer_bg.gif) no-repeat;
color: #666666;
position: relative;
}

#footer_text {
padding-top: 28px;
padding-left: 64px;
}

.separator {
height: 18px;
padding: 0 12px 0 11px;
border-right: 1px solid #cbccce;
display: inline;
}

#copyright {
width: 125px;
position: absolute;
right: 64px;
top: 75px;
}

.projekti_img {
float: right;
padding-top: 10px;
}

/* News 
----------------------------------------------- */

#news_list {
width: 400px;
float: left;
}

#news_archive {
float: right;
width: 100px;
}

.news_date {
font-size: 11px;
color: #999999;
font-family: Arial, Helvetica, sans-serif;
}

/* Vuokratilat
----------------------------------------------- */

.tilahaku {
width: 570px;
padding: 20px 0;
background: url(/files/realprojekti/images/hr_dot.gif) bottom left repeat-x;
}

.tila_text {
width: 320px;
float: left;
}

.tila_text table {
width: 320px;
}

.tila_img {
float: right;
}

table#hakutulokset {
width: 590px;
}


table#hakutulokset tr th {
font-family: "Trebuchet MS";
font-weight: bold;
color: #000000;
background: #eeeeee;
padding: 5px 0 5px 5px;
text-align: left;
}


table#hakutulokset tr td {
text-align: left;
padding: 5px;
background: url(/files/realprojekti/images/hr_dot.gif) bottom left repeat-x;
}

#vuokratilat {
padding: 20px 0;
}

table#vuokratila_images {
margin-top: 40px;
float: right;
}

table#vuokratila_images tr td {
padding:0 0 10px 0;
}

table#vuokratila_images tr td.leftcell {
padding: 0 10px 10px 10px;
}


/* Nav
----------------------------------------------- */

#nav_container {
	/*text-align: center;*/
}

#navigaatio {
display: inline-block;
font-family: "Trebuchet MS";
font-size: 11pt;
color: #000000;
padding-top: 15px;
margin: 0 0 0 30px;
/* margin: 0 auto; SH-edit281107 */
}

#navigaatio {
display: inline;
}

#navigaatio {
display: table;
}

#navigaatio .clearer {
	display: none;
}

#navigaatio a {
color: #000000;
padding: 0 13px;
display: block;
float: left;
text-align: center;
}

#navigaatio a:hover, #navigaatio a#selected {
text-decoration: none;
color: #ee3224;
}

#subnavlist ul, ul#tila_list {
list-style-type: none;
padding: 0px;
margin: 0px;
}

#subnavlist ul li {
margin-top: 10px;}

#subnavlist ul li a {
padding-left: 13px;
background: transparent url(/files/realprojekti/images/arrow_black.gif) 0px 3px no-repeat;
font-family: "Trebuchet MS";
font-size: 14px;
color: #000000;
display: block;
}


ul#sublevel li a, ul#tila_list li a {
background: transparent url(/files/realprojekti/images/arrow_black_s.gif) 0px 4px no-repeat;
font-size: 12px;
font-family: "Trebuchet MS";
padding-left: 9px;
color: #000;
display: block;
}

ul#sublevel li {
padding-left: 14px;
}

#subnavlist ul li a:hover, #subnavlist ul li a#sub_selected {
padding-left: 13px;
text-decoration: none;
background: transparent url(/files/realprojekti/images/arrow_red.gif) 0px 3px  no-repeat;
font-family: "Trebuchet MS";
font-size: 14px;
color: #ee3224;
}

ul#sublevel li a:hover, ul#sublevel li a#sub_selected, ul#tila_list li a:hover, .kerros {
background: transparent url(/files/realprojekti/images/arrow_red_s.gif) 0px 4px  no-repeat;
font-size: 12px;
padding-left: 9px;
text-decoration: none;
color: #ee3224;
}




/* Search
----------------------------------------------- */

#search_box_field {
position: absolute;
right: 64px;
top: 20px;
height: 29px;
line-height: 1px;
width: 280px;
}

#search_box_field p {
font-family: "Trebuchet MS";
color: #9fa1a4;
font-size: 14px;
display: inline;
line-height: 28px;
}
 
#search_box_field img {
display:inline;
}
 
.search_box {
width: 149px;
height: 29px;
font-size: 12px;
background:  transparent url(/files/realprojekti/images/input_haku_header.jpg) no-repeat;
border: solid 0px #fff;
color: #333;
padding: 7px 0 0 8px;
}

#search_front {
position:absolute;
top: 0px;
right: 26px;
}
 
#search_box_submit {
position:absolute;
right: 0px;
top: 10px;
}

#search_box_submit_en {
position:absolute;
right: -10px;
top: 10px;
}


/* Headings
----------------------------------------------- */
h1 {	
font-family: "Trebuchet MS";
color: #000000;
font-size: 14pt;
line-height: 30px;
margin-top: 0px;
padding-top: 0px;
font-weight: normal;
margin-bottom: 16px;
}


h2 {
font-family: "Trebuchet MS";
color: #000000;
font-size: 12pt;
font-weight: normal;
margin-bottom: 16px;
}

h3 {
font-family: "Trebuchet MS";
color: #000000;
font-size: 11pt;
font-weight: normal;
margin-bottom: 16px;
}

 h4, h5, h6 {	

font-family: "Trebuchet MS";
color: #000000;
font-size: 10pt;
font-weight: normal;
margin-bottom: 16px;

}

/* Lists
----------------------------------------------- */
/* Forms
----------------------------------------------- */
form {
	margin: 0;
}

label { 
font-family: "Trebuchet MS";
color: #666666;
font-size: 14px;
line-height: 28px;
padding-left: 5px;}

.palaute_form label {
line-height: 16px;
padding-left: 0px;
}

.palaute_form table tr td {
padding-bottom: 5px;
}

.palaute_input {
width: 260px;
}

.palaute_cell {
padding_bottom: 5px;
}

input.ngformError, textarea.ngformError {
background: pink;
}

/* Links
----------------------------------------------- */
a {
color: #ed3224;
text-decoration: none;
cursor: pointer;
}

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


/* Vuokratilahaku
----------------------------------------------- */

#vuokratila-haku label {
  display: block;
  font-size: 12px;
  margin: 5px 0 0 0;
  padding: 0;
}

#vuokratila-haku label.inline {
  display: inline;
  padding-left: 5px;
  margin: 0;
}

#vuokratila-haku .advanced {
  display: none;
}




/* Misc
----------------------------------------------- */
.clearer {
	clear: both;
	height: 1px;
	line-height: 0px;
	font-size: 0;	
}
.skip {
	display: none;
}

#kuvagalleria a{

float: left;
padding: 4px;

}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
  font: 12px Arial, Helvetica, sans-serif;
  color: #333333;
}
#TB_secondLine {
  font: 10px Arial, Helvetica, sans-serif;
  color:#666666;
}
#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
  position: fixed;
  z-index:100;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}
.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
  background-color:#000;
  filter:alpha(opacity=75);
  -moz-opacity: 0.75;
  opacity: 0.75;
}
* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_window {
  position: fixed;
  background: #ffffff;
  z-index: 102;
  color:#000000;
  display:none;
  border: 4px solid #525252;
  text-align:left;
  top:50%;
  left:50%;
}
* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_window img#TB_Image {
  display:block;
  margin: 15px 0 0 15px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #666;
  border-left: 1px solid #666;
}
#TB_caption{
  height:25px;
  padding:7px 30px 10px 25px;
  float:left;
}
#TB_closeWindow{
  height:25px;
  padding:11px 25px 10px 0;
  float:right;
}
#TB_closeAjaxWindow{
  padding:7px 10px 5px 0;
  margin-bottom:1px;
  text-align:right;
  float:right;
}
#TB_ajaxWindowTitle{
  float:left;
  padding:7px 0 5px 10px;
  margin-bottom:1px;
}
#TB_title{
  background-color:#e8e8e8;
  height:27px;
}
#TB_ajaxContent{
  clear:both;
  padding:2px 15px 15px 15px;
  overflow:auto;
  text-align:left;
  line-height:1.4em;
}
#TB_ajaxContent.TB_modal{
  padding:15px;
}
#TB_ajaxContent p{
  padding:5px 0px 5px 0px;
}
#TB_load{
  position: fixed;
  display:none;
  height:13px;
  width:208px;
  z-index:103;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}
* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_HideSelect{
  z-index:99;
  position:fixed;
  top: 0;
  left: 0;
  background-color:#fff;
  border:none;
  filter:alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
  height:100%;
  width:100%;
}
* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_iframeContent{
  clear:both;
  border:none;
  margin-bottom:-1px;
  margin-top:1px;
  _margin-bottom:1px;
}


/* UUTISKIRJE LINKIT
---------------------------------------- */

.uutiskirje_linkit {
height: 200px;
margin-top: 80px;
}

.kiinni {
background:url(/files/realprojekti/images/kiinni.png);
width: 182px;
height: 43px;
}

.kiinni a {
width: 182px;
height: 43px;
text-indent: -9999px;
overflow:hidden;
display:block;
}

.uutiskirjeet {
background: #f9f9f9;
width: 180px;
height: 200px;
text-align: center;
border-top: 1px solid #EEE;
border-left: 1px solid #EEE;
border-right: 1px solid #EEE;
}

.viiva_linkit {
border-bottom: 1px solid #EEE;
height: 1px;
margin: 10px 0px 15px 0px;
}

.nuoli {
background-image: url(/files/realprojekti/images/pun_nuoli.png);
width: 9px;
height: 5px;
overflow:hidden;
margin-left: 91px;
margin-top: -5px;
position: absolute;
}