/* CSS Document */
/*------------------------------------------------------------------------------------------

Kohu-Live - Stylesheet
versio 1.1

------------------------------------------------------------------------------------------*/

/*Init
------------------------------------------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6, p, hr {
	margin: 0;
}

body {
	margin: 0;
	padding: 0;
}

ul {
	list-style-type: none;
}

p, h3, h4 { margin: 1em 30px 1em 30px; }

em {display: block; color: #c1001f; margin-left: 30px;}

/*Typo
------------------------------------------------------------------------------------------*/

body {

	font-family: Arial, Helvetica, Arial, sans-serif;
	font-size: 12px;
	color: #333;
}

p {
	line-height: 1.5em;
}


/*Headings
------------------------------------------------------------------------------------------*/

h2 {
	background-image:url(../images/h2_bg.gif);
	background-repeat:no-repeat;
	color:#FFFFFF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	margin-left: 15px;
	padding-left:20px;
	height: 41px;
	width:440px;
	line-height: 41px;	
}

h3 { font-size:1.5em; color:#c1001f;}

h4 { font-size: inherit; }

/*Linkit
------------------------------------------------------------------------------------------*/

a:link {
	color:#CC0000;
}
a:visited {
	color:#333;
}

/* Main Navi
------------------------------------------------------------------------------------------*/

#mainNav {
	background-image: url(../images/nav_bg.jpg);
	display: block;
	margin: 0;
	padding: 0;
	float:right;
	margin-top:55px;
	margin-right:15px;
	width:566px;
}

#mainNav li {
	list-style: none;
	float: left;
	white-space: nowrap;
	font-size: 12px;
	line-height: 33px;
	width:auto;
}

#pyoristys {background-image: url(../images/nav_pyoristys.gif);}
li#pyoristys  {width:16px; height:33px;}

#mainNav a {
	display: block;
	float:none;
	height: 33px;
	font-weight: bold;
	text-decoration: none;
	text-align:center;
	background: #414141 url(../images/nav_btn_bg.gif) 2px 50% repeat-x;
	padding-left: 12px;
	padding-right: 14px;
	color: #FFF;
}

#mainNav a:hover {
	border-color: #993333;
	background: #CCC;
	color: #333;
}

body.yritys #mainNav a#yritys, body.palvelut #mainNav a#palvelut, body.rekry #mainNav a#rekry, body.yhteystiedot #mainNav a#yhteystiedot, body.basement #mainNav a#basement {
	background: #414141 url(../images/nav_btn_bg_ro.gif) 2px 50% repeat-x;
}

body.yritys #mainNav a:hover#yritys, body.palvelut #mainNav a:hover#palvelut, body.rekry #mainNav a:hover#rekry, body.yhteystiedot #mainNav a:hover#yhteystiedot, body.basement #mainNav a#basement {	
	background: #414141 url(../images/nav_btn_bg_ro.gif) 2px 50% repeat-x;
	color: #FFF;
}

/*Main content

------------------------------------------------------------------------------------------*/	

#wrapper{	
	background: url(../images/wrapper_bg.gif)  repeat-y;
	margin:auto;
	width: 790px;
}	

#container {
	background-image: url(../images/container_bg.gif);
	background-color:#FFF;
	margin:auto;

	width: 770px;
	height:100%;
}


/*Kielivalinta*/
#lang {float:right; margin-top:-50px; padding-right:20px; }
#lang a { color:#c1001f; text-decoration: none; }


/*oikea palsta - yritys ja yhteystiedot*/
#right_column {
	width:295px;
	float:right;
	margin-right:10px;
	padding-top: 1.5em;
}

.yhteystiedot #right_column {
	position: fixed;
	width:760px;
	height: 10px;
}

.yhteystiedot #right_column_box {
	position: relative;
	display: inline;
	float: right;
	top: 0;
	left: 0;
}

/*oikean palstan tekstilaatikko*/
#right_column_box { width:295px; background-color:#FFF; color:#333333; }
#right_column_box .top_border, #right_column_box .bottom_border { height:13px; width: 295px; }
#right_column_box .top_border { background-image: url(../images/right_col_border_top.gif); background-repeat: no-repeat; }
#right_column_box .content { border-right: 2px solid #eaeaea; border-left: 2px solid #eaeaea; text-align:left; padding: 1px;}
#right_column_box .bottom_border { background-image: url(../images/right_col_border_bottom.gif); background-repeat: no-repeat; }

/*content_box*/
#content_box {
	margin:auto;
	margin-top:1.5em;
	background-color:#FFF;	
	text-align:center;
	width: 740px;
	height:100%;
}

.yhteystiedot #content_box {float: left;}

#content_box .top_border, #content_box .bottom_border { height:13px; width:740px; }
#content_box .top_border { background-image: url(../images/top_border.gif); background-repeat: no-repeat; }
#content_box .content {	border-right: 2px solid #eaeaea; border-left: 2px solid #eaeaea; text-align:left; padding: 1px;}
#content_box .bottom_border { background-image: url(../images/bottom_border.gif); }

.yritys #content_box, .yhteystiedot #content_box {
	background-color:#FFF;
	margin:inherit;
	margin-left: 15px;
	margin-top:1.5em;	
	text-align:left;
	width: 440px;
	height:100%;
}

.yritys #content_box .bottom_border, .yhteystiedot #content_box .bottom_border { background-image: url(../images/bottom_border2.gif); background-repeat: no-repeat; height:13px; width:440px; }
.yritys #content_box .top_border, .yhteystiedot #content_box .top_border { background-image: url(../images/top_border2.gif); background-repeat: no-repeat; height:13px; width:440px; }


/*Footer*/
#footer { 
	background: url(../images/footer_bg.gif) no-repeat;
	margin:auto;
	margin-top:10px;
	margin-bottom:10px;
	padding-bottom:10px;
	width:746px; 
	height:36px;
 }
 
 #footer p { 
 	color:#FFFFFF; 
	display: block;
	line-height:36px;
	padding-left:20px;
	margin: 0;
}

/*Harmaa border alareunassa*/
div.footer_bottom {
	margin-right: auto;
	margin-left: auto;
	text-align:center;
	width:790px;
	background-image: url(../images/footer_bottom.gif);
	background-repeat: no-repeat;
}

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

div.footer_bottom img {margin:0; padding:0;}

/*Etusivu 
------------------------------------------------------------------------------------------*/

.koti img { margin:4px; }

.koti #content_box .content {
	background-image: url(../images/mosaiikki_etus.jpg);
	background-repeat: no-repeat;
	background-position: 5px 0;
	height:333px;
}

#box {
	width:333px;
	height:222px;
	background: #c1001f url(../images/redbox_bottom.gif) no-repeat left bottom;
	margin-left: 4px;
	margin-top:-1px;
}
#box h3 { color:#FFFFFF; background: url(../images/redbox_top.gif) no-repeat left top;} 
#content_box .content #box h3 { margin:0; padding: 20px 20px 0 20px;}
#content_box .content #box p { color:#FFFFFF; line-height: 1.3em; margin:0; padding: 10px 20px 20px 20px;}


/*Yritys-sivu 
------------------------------------------------------------------------------------------*/

.yritys img { margin:7px; }


/*Yhteystiedot-sivu 
------------------------------------------------------------------------------------------*/

#content_box .content h4 { margin:0 30px 0 30px; }
#content_box .content p { margin:0 30px 1em 30px; } 
#placeholder { float: left; margin: 10px;}
#nimi {margin:0 10px 0 10px; font-weight: bold;}
#kuvaus { float: left; margin:0; margin-top: 10px; width: 150px;}

/*Case-sivu 
------------------------------------------------------------------------------------------*/

.case img { float: right; margin-left: 30px; margin-right:10px; }
.caset hr { 
	border: 0;
  	width: 95%;
  	margin:auto;
	text-align:center;
 	color: #e5e5e5;
	background-color: #e5e5e5;
	height: 1px;
 }



/*Extrat 
------------------------------------------------------------------------------------------*/

#brand a {
	float:left;
	display:block;
	background:url(../images/kohulive.gif) no-repeat;
	width:179px;
	height:124px;
	margin-left:10px;
	margin-top:10px;
	text-decoration:none;
	text-indent:-5000em;
	overflow:hidden;
}

#clearing {clear:both; height:10px;}

