h1 { display: none; }
h2 { font-size:14px; margin-bottom: 0px; }
h3 { margin-bottom: 0; font-size: 13px;}
h4 { margin-bottom: 0; margin-top: 5px; font-size: 16px;}

.button1 { 
	font: bold 10px Verdana, Arial, sans-serif; 
	line-height: 12px; 
	background-color: #993333; 
	color: #ffffff; 
	margin: 10px 5px 0px 5px;
	padding:3px 3px 3px 3px; 
	border: 2px outset #D69BAF; 
}

.button2 { 
	font: bold 10px Verdana, Arial, sans-serif; 
	line-height: 12px; 
	background-color: #993333; 
	color: #ffffff; 
	/*margin: 5px 5px 0px 5px;*/
	padding: 1px 1px 1px 1px; 
	border: 2px outset #D69BAF; 
	width: auto;
   	overflow: visible;
}

.button3 {
	border-style: none;
	background-color: transparent;
	text-decoration: none;
	font-weight: bold;
	width:99px;
	cursor:pointer;	
}

.button4 {
	border-style: none;
	background-color: transparent;
	text-decoration: none;
	width:99px;
}

.button5 {
	border-style: none;
	background-color: transparent;
	text-decoration: none;
}

.button6 {
	border-style: none;
	background-color: transparent;
	color:#993333;
	font-weight: bold;
	cursor:pointer;
}

.button_movedown {
	border-style: none;
	background-color: transparent;
	background-image: url("../img/movedown.gif");
	background-repeat: no-repeat;
	width: 48px;
	height: 18px;
}

.button_moveup {
	border-style: none;
	background-color: transparent;
	background-image: url("../img/moveup.gif");
	background-repeat: no-repeat;
	width: 48px;
	height: 18px;
}

.button2_dis { 
	font: bold 10px Verdana, Arial, sans-serif; 
	line-height: 12px; 
	background-color: #aaaaaa;
	color: #ffffff; 
	margin: 5px 5px 0px 5px;
	padding:1px 1px 1px 1px; 
	border: 2px outset #7c7c7c;
}

.button-link { 
	font: bold 10px Verdana, Arial, sans-serif; 
	line-height: 12px; 
	background-color: #993333; 
	color: #ffffff; 
	margin: 5px 5px 0px 5px;
	padding:2px 7px 2px 7px; 
	border: 2px outset #D69BAF; 
}

.button-link a {
	font-size: 10px;
	text-decoration: none;
	color: #ffffff;
}

.button-link a:hover {
	text-decoration: none;
}



img { border: none; }

input {
	font-size: 10px;
}

input[type="checkbox"],input.checkbox {
  border: 0px;
}


ul { list-style: none; }

.btnsearch {
	font: bold 12px Verdana, Arial, sans-serif; 
	background-color: #993333; 
	color: #ffffff;
	float: right;
	margin-top: 10px;
	border: 2px outset #D69BAF; 	
	padding-top: 0px;
	padding-bottom: 0px;
}

.textfield164px {
	width:164px;
}

/* structure */
body {
	font-family: Arial, Helvetica;
	font-size: 12px;
	color: #333;
	background: #99A8BB url(../img/tausta.jpg) repeat-x;
	text-align: center;
	margin:0;
	padding:0;
}


#topbar {
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	height:20px;
	width:100%;
	background-color: #ffffff;
	vertical-align:middle;
}

#topbarcontent {
	padding-top:5px;
}


#container {
	margin: 0px auto 145px auto;
	width: 966px;
	height: 105px;
	background: url(../img/kuvitus_ylalaita.jpg) top center no-repeat;
	padding-top: 105px;
	position: relative;
	text-align: left;
}
#content {
	position: absolute;
	top:105px;
	width: 966px;
	background-image: url(../img/content.gif);
	background-repeat: repeat-y;	
}

#contentbottom {
	position: relative;
	background-image: url(../img/corner_bottom.gif);
	background-repeat: no-repeat;
	width : 966px;
	height: 20px;
}

#contenttop {
	position: relative;
	width:970px;
	background-image: url(../img/corner_top.gif);
	background-repeat: no-repeat;
}
#contentcenter {
	min-height: 680px;
	height: auto !important;
	height: 680px;		
	vertical-align: top;
	padding:0px;
	margin: 0px;
	clear: left;
	width: 966px;	
}
#nav {
	position:absolute;
	top:20px;
	right:0px;
	height:35px;
	background: url(../img/haive_navigointi.jpg) bottom center no-repeat;
  /* +TN */
  width: 508px; 
}

#nav span {
	float:left;
	border-bottom: solid 4px #C6D0DD;
	padding-bottom: 3px;
}
#nav span.selected { border-bottom-color: #58687D; }
#nav span a {
	color: #000;
	font-weight: normal;
	border-left: solid 1px #C6D0DD;
	padding: 0 18px 0 18px;
	text-decoration: none;
}

#nav a.lastchild { border-right: solid 1px #C6D0DD; }
#nav span.selected a { font-weight: bold; }

#cclink {
	margin-right: 191px;
	clear: right;
	float: right;
	font-weight: normal;
}

#localelink {
	display: block;
	/*padding-left: 735px;*/
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: right;
}

#localelink a {
	font-weight: normal;
}



/* header */
#header {
	position:relative;
	height:80px;
	width:776px;
}
#logo {
	/*float: left;*/
	position:absolute;
	top:5px;
	left:15px;
}

#sidebar, #sidebar_loggedin {
	position:absolute;
	top:0;
	left:795px;
	height:200px;
	background-image: url(../img/tausta_ei_kirjautunut.jpg);
	background-repeat: no-repeat;
	width:158px;
	padding: 20px;
	padding-left: 13px;
}

#sidebar_loggedin {
	background-image: url(../img/tausta_kirjautunut.jpg);
}

#sidebar a {
	text-decoration: none;
}
#sidebar #userinfo {
	margin: 0;
	padding: 10px 0 0 0;	
}
#sidebar #userinfo h3.title {
	margin:0;
	padding:0;	
	font-size:13px;
}

a:hover { text-decoration: underline; }

/* footer */
#footer {
	background: url(../img/tausta_alapalkki.gif) no-repeat;
	width: 800px;
	height: 30px;
	clear: both;
	font-size: 12px;
	position: relative;
	left:15px;
	bottom: 10px;
	top: 10px;
	z-index:1000;
	padding-left:20px;
	padding-right:20px;
}
#footer a { color: #FFF; padding-left:10px; text-decoration: none;}


/* **************************************** */
/* TABNAV                                   */
/* **************************************** */
#tabnav { 
	padding: 20px 0 6px 0px; 
	margin-left: 15px;
	width: 771px;
	border-bottom: 1px solid #61738B;
}

#tabnav div {
	display: inline;
	background-color: #e7eaf1; 
	border: 1px solid #61738b;
	padding: 5px 10px 6px 10px;
	margin-right: 3px;
}

/* +TN */
#tabnav.nav_info { 
  width: 772px;
	padding: 20px 0 0px 0px; 
	margin-left: auto;
  left:12px;
  float:left;
  position:relative;
}

#tabnav.nav_info div {
	display: block; 
  float:left;
  position:relative;
  margin-bottom:-1px;
}
/* /TN */

#tabnav div.active a { 
	border-bottom: 4px solid #58697D;
	margin-left: 1px;
	margin-right: 1px;
}

#tabnav a {
	text-decoration: none;
	color: black; 
}

#tabnav div.active { 
	border-bottom-color: white; 
	font-size: larger; 
	padding: 5px 10px 6px 10px;
	background-color: white;
}





.searchactions {
	text-align: right;
	clear: both;
	padding-right:185px;
}

a { 
	color:#900; 
	text-decoration: none; 
	font-size: 12px; 
	font-weight: bold; 
}

.clearer { clear: both; }
.col { float: left; margin: 0 3px 0 0px; }
.col1 { float: left; width: 100%; }
.col2 { float: left; width: 50%; }
.col3 { float: left; width: 33%; }
.col4 { float: left; width: 25%; }
.col5 { float: left; width: 67%; }
.row { clear: both; padding:5px 200px 0 15px;}
.row2 { clear: both; padding:5px 200px 0 0px;}
.clearboth { clear: both; }
.right-content { text-align: right; padding-right:180px; }
.right { text-align: right; }

.numberofitems {
	font-family: Arial, Helvetica;
	font-size: 14px; 
	line-height: 14px; 
	font-weight: bold; 
	color: #006633;
}

#breadcrumb { 
	float: left; 
	clear: left;
	padding-left: 15px; 
	margin-top: 0px;
	margin-bottom: 10px;
}


.searcharea { 
	padding: 0px 10px 5px 10px; 
	clear: both;
	width: 771px;
}

.searcharea .searchcontent { 
	background-color: #ECF0F6; 
	border-style: solid; 
	border-width: 1px 0px 1px 0px; 
	border-color: #6E829C; 
}

.searcharea .searchcontent .searchtarget { 
	padding: 5px; 
	float: left;
	width: 32%;
}

.searcharea .leftbox {
	float: left;
	width: 45%;
	margin-right: 5px;
	
}

.searcharea .leftbox .upper {
	background-color: #ECF0F6;
	border-style: solid;
	border-width: 1px;
	border-color: #6E829C;
	padding: 5px;
	margin-bottom: 5px;
	height: 70px;
}

.searcharea .leftbox .lower {
	background-color: #ECF0F6; 
	border-style: solid; 
	border-width: 1px;
	border-color: #6E829C;
	padding: 5px;
	height: 317px;
}

.searcharea .rightbox {
	float: left;
	width: 52%;
	background-color: #ECF0F6; 
	border-style: solid; 
	border-width: 1px;
	border-color: #6E829C;
	text-align: center;
	height: 400px;
	padding-top: 15px;
	text-align: center;
}

#prices { 
	float: left; 
	width:440px; 
	border: 1px solid #61738a; 
	background-color: #e6eaf0; 
	margin-top: 10px; 
	padding: 15px;
}

.label {
	font-weight: bold;
	text-align: left;
}
	
	
.backgr { 
	background: url(../img/lomake_otsikkotausta.gif) bottom left repeat-x; 
	padding-bottom: 20px;
	width:770px;
}

.errorbanner, .errorbanner_error, .errorbanner_warning, .errorbanner_info {
	clear: both;
	margin: 10px 0px 10px 15px;
	/*padding:10px 0 10px 5px;*/
	padding: 15px;
	border-color: #a01b1c;
	border-width: 2px;
	border-style: solid;
	color: #a01b1c;
	width:735px;
	text-align: center;
	font-weight: bold;
}

.row .errorbanner, .row .errorbanner_error, .row .errorbanner_warning, .row .errorbanner_info {
	margin: 0 0 15px 0;
}

.errorbanner_warning {
	border-color: #FFCC33;
	color: #FFCC33;
}

.errorbanner_info {
	border-color: #0066FF;
	color: #0066FF;
}

.errorbanner a, .errorbanner_error a, .errorbanner_warning a, .errorbanner_info a {
	text-decoration: underline;
}

.messagebanner {
	clear: both;
	margin: 10px 0px 10px 15px;
	padding: 15px;
	border-color: #336633;
	border-width: 2px;
	border-style: solid;
	color: #336633;
	width: 735px;
	text-align: center;
	font-weight: bold;
}


.errors {
	margin: 2px;
	padding: 5px 0px 5px 5px;
	border-color: #cc0033;
	border-width: 2px;
	border-style: solid;
	color: #cc0033;
	max-width: 768px;
	text-align: left;
	font-weight: bold;
}

.errors a {
	text-decoration: underline;
}

.listing th { 
	background-color: #d1dae9; 
	border-top: 2px solid #d1dae9; 
	text-align: left; 
}
.listing td { 
	background-color: #ECF0F6; 
	padding: 6px; 
	border: 1px solid #d1dae9;
	text-align: center;
}


/* REGISTRATION FORM AND USERTERMS STYLES */
table.tblRegistrationForm {
/*	width:337px;*/
	width:400px;
}
#registrationInfoFramed { 
	padding:0px;
	float: left;
	border: 1px solid black; 
	background-color: #fee69e; 
	margin-top: 30px; 
	margin-bottom: 15px;
/*	width: 395px;*/
	width: 320px;
}
#registrationInfoFramed th, #registrationInfoFramed td,
#registrationInfoFramed td p, #registrationInfoFramed td h2{
	margin:0px;
	padding:0px;
}
#registrationInfoFramed td {
	padding:10px;
}
#registrationInfoFramed td p {
	padding: 5px 0;
}
.colUserTerms {
	width:745px;
}

/* REGISTRATION FORM STYLES END*/

div.infobox { 
	background-color: #fee69e; 
	margin-top: 10px;  
	margin-bottom: 10px;
	border-style: solid; 
	border-width: thin;  
	max-width: 90%; 
	padding: 5px;
}

div.info { /* front page info (~bulletin) */ 

	border: 2px solid #F0A875; 
	background-color: #FFE8A8; 
	margin-bottom: 10px;
	margin-left: 15px;  
	margin-right: 50px;
	width: 750px;  
	max-width: 90%; 
	padding: 5px;
}

.titlebar {
	border-collapse:collapse;
	height:25px;
	width:250px;
}

.titlebarRight {
	background-image: url(../img/title_right.gif);
	background-repeat: no-repeat;
	width: 15px;
}

.titlebarLeft {
	background-image: url(../img/title_left.gif);
	background-repeat: no-repeat;
	width: 11px;
}

.titlebarBack {
	background-image: url(../img/title_back.gif);
	background-repeat: repeat-x;
	color:#ffffff;
	font-weight: bold;
	font-size: 14px;
}

.smaller {
	font-size: 10px;
}

em.mandatory {
	color: #900; font-size:12px; font-weight: bold; font-family: verdana, helvetica;
}

.contactrequest {
	height: 225px;
}

.listtable td { background-color: #ECF0F6; padding: 6px; border: 1px solid  #D1DAE9; }
.listtable th { background-color: #D1DAE9; border-top: 2px solid #D1DAE9; text-align: left; }

#frontpage_skyscraper {
	position:absolute;
	top:90px;
	left:800px;
}
#frontpage_small_banners {
	position:absolute;
	top:705px;
	left:805px;
	width: 150px;
}
#search_page_banner {
	position:absolute;
	top:90px;
	left:800px;
}
#list_page_banner_upper {
	position:absolute;
	top:90px;
	left:810px;
}
#list_page_banner_lower {
	position:absolute;
	top:450px;
	left:810px;
}
#list_page_big_banner_upper {
    position:absolute;
    top:90px;
    left:805px;
}
#list_page_big_banner_lower {
    position:absolute;
    top:705px;
    left:805px;
}
#agency_selection_page_banner_upper {
	position:absolute;
	top:90px;
	left:810px;
}
#agency_selection_page_banner_lower {
	position:absolute;
	top:450px;
	left:810px;
}
#rental_page_banner {
	position:relative;
	margin: 0px 0px 10px 0px;
	padding: 0px 0px 0px 280px;	
}
#rental_page_banner_printable {
	position:relative;
	margin: 0px 0px 10px 0px;
	padding: 0px 0px 0px 0px;
	text-align: center;
}
#office_page_banner {
	position: relative;
	margin: 0px 0px 10px 0px;
	padding: 0px 0px 0px 0px;	
}
#commercial_break {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 2000px;
	visibility: hidden;	
	display: none;
	overflow: hidden;
	background-color: #FFFFFF;
}

.privatenotice {
	margin-top: 20px;
	padding: 5px;
	width: 746px;
	text-align: center;
	font-weight: bold;
	background-color: #F5E6B4;
}

#roommates {
	position: relative;
	margin: 0px 0px 10px 0px;
	padding: 0px 0px 0px 255px;	
}

#roommatewishouter {
	position: relative;
	margin: 5px 0px 10px 0px;
	padding: 0px 0px 0px 255px;	
}

.roommateborder {
	background-image: url("../img/kamppikset_keskiosa.gif");
	background-repeat: repeat-y;
	padding-left: 10px;
	padding-bottom: 0px;
	margin-top: 0px;
	padding-top: 0px;
}

.roommatedesc {
	border: 1px solid #AF4444;
	width: 214px;
	background-color: #FFF2B5;
	margin-left: 5px;
	margin-bottom: 5px;
	padding: 3px;
	margin-top: 0px;
}

.roommatewishinner {
	border: 1px solid #AF4444;
	width: 450px;
	background-color: #FFF2B5;
	margin: 0px 5px 0px 5px;
	padding: 5px;
}

.roommateheader {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

.headerpic {
	margin-bottom: 0px;
	padding-bottom: 0px;
	border-width: 0px;
}

/* customer service page */
div.customer_service {
	background-color: transparent;
	background-image: url("../img/ei_valittajia_tausta.gif");
	background-repeat: no-repeat;
	width: 772px;
	height: 252px;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 0px;
	padding: 30px 0px 0px 60px;
}

p.customer_service {
	width: 60%;
}
div.noteasterisk {
	margin-bottom: 5px;
}
div.horizontalline { 
	border-bottom-color: rgb(97, 115, 138);
	border-bottom-width: 2px;
	border-bottom-style: solid;
	width: 770px;
	padding-top: 10px;
	margin-bottom: 10px;
}

/* media card page */
div.media_card {
	background-color: transparent;
	background-image: url("../img/ei_valittajia_tausta.gif");
	background-repeat: no-repeat;
	width: 772px;
	height: 252px;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 0px;
	padding: 30px 0px 0px 60px;
}

form#favouritesForm {
	margin-bottom:0;padding-bottom:0;
}
