/* CSS Document */

body {
  margin: 0;
  background: #333 url("images/bg_body.jpg");
  font: normal 12px Tahoma, Verdana;
  color: #000;
  line-height: 20px;
}

a, a:visited { color: #e73718; text-decoration: underline; }
a:hover { color: #e73718; text-decoration: none; }

.clear {
	clear:both;
	height:1px;
	margin:0;
	line-height:0;
	font-size:1px;
}

hr {
  border: none 0;
  border-top: 1px solid #eee;
  width: 60%;
  height: 1px;/*whatever the total width of the border-top and border-bottom equal*/
}

#container {
  width: 820px;
  margin: 0 auto;
}

/*** Header *******************************************************************/

#header {
  height: 300px;
  background: url("images/bg_header_main.jpg") left bottom no-repeat;
  margin-bottom: 8px;
}

#sis #header {
  height: 200px;
  background: url("images/bg_header_sis.gif") left bottom no-repeat;
}

h1 {
  margin: 0; padding: 0;
}

h1 a {
  display: block;
  width: 211px;
  height: 108px;
  margin-left: 12px;
  background: url("images/logo.png") top left no-repeat; 
}

h1 a span { display: none; }

/*** Navi *********************************************************************/

#navi {
  height: 44px;
  margin-bottom: 8px;
  background: url("images/navi_bg.gif") 0 0 no-repeat;
}

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

#navi ul li { float: left; }

#navi ul li a {
  display: block;
  height: 44px;
}

#navi ul li a span { display: none; }

a#index { background: url("images/navi_01_off.gif"); width: 100px;}
a#index:hover, a#index_open { background: url("images/navi_01_on.gif"); width: 100px;}

a#yritys { background: url("images/navi_02_off.gif"); width: 78px;}
a#yritys:hover, a#yritys_open { background: url("images/navi_02_on.gif"); width: 78px;}

a#uutiset { background: url("images/navi_03_off.gif"); width: 89px;}
a#uutiset:hover, a#uutiset_open { background: url("images/navi_03_on.gif"); width: 89px;}

a#referenssit { background: url("images/navi_04_off.gif"); width: 124px;}
a#referenssit:hover, a#referenssit_open { background: url("images/navi_04_on.gif"); width: 124px;}

a#kalusto { background: url("images/navi_05_off.gif"); width: 93px;}
a#kalusto:hover, a#kalusto_open { background: url("images/navi_05_on.gif"); width: 93px;}

a#rekry { background: url("images/navi_06_off.gif"); width: 107px;}
a#rekry:hover, a#rekry_open { background: url("images/navi_06_on.gif"); width: 107px;}

a#kontakti { background: url("images/navi_07_off.gif"); width: 149px; margin-left: 80px;}
a#kontakti:hover, a#kontakti_open { background: url("images/navi_07_on.gif"); width: 149px;}
a#kontakti_open { margin-left: 80px;}

/*** Content ******************************************************************/

#content {
  margin-bottom: 8px;
}

#content #top {
  background: url("images/bg_cont_top.gif") no-repeat;
  height: 30px;
}

#content #cont {
  background: url("images/bg_cont.gif") repeat-y;
  min-height: 401px;
  height: auto !important;
  height: 401px;
}

#content #bottom {
  background: url("images/bg_cont_bottom.gif") no-repeat;
  height: 20px;
}

#content #cont_wrap {
  background: url("images/bg_cont_main.jpg") 234px bottom no-repeat;
}

/*** Sidebar ******************************************************************/

#sidebar {
  float: left;
  width: 210px;
  padding: 0 12px;
}

/* Sidebox ajank */
.sidebox_ajank {
  width: 210px;
  font: 11px Tahoma, Verdana;
  margin: 0 0 20px 0;
}

.sidebox_ajank .sidebox_ajank_top {
  background: url("images/sidebox_ajank_top.gif") left top no-repeat;
  width: 210px;
  height: 38px;
}

.sidebox_ajank .sidebox_ajank_cont {
  padding: 0 10px;
  background: url("images/sidebox_ajank_bg.gif") left top repeat-y;
}

.sidebox_ajank .sidebox_ajank_footer {
  background: url("images/sidebox_ajank_footer.gif") left top no-repeat;
  width: 210px;
  height: 10px;
}


/* Sidebox laatu */
.sidebox_laatu {
  width: 210px;
  font: 12px Tahoma, Verdana;
  margin: 0;
  color: #fff;
}

.sidebox_laatu .sidebox_laatu_top {
  background: url("images/sidebox_laatu_top.gif") left top no-repeat;
  width: 130px;
  padding: 30px 20px 10px 60px;
  min-height: 84px;
  height: auto !important;
  height: 84px;
}

.sidebox_laatu .sidebox_laatu_footer {
  background: url("images/sidebox_laatu_footer.gif") left top no-repeat;
  width: 180px;
  height: 40px;
  padding: 5px 15px 0 15px;
}

.sidebox_laatu a, .sidebox_laatu a:visited, .sidebox_laatu a:hover {
  color: #fff;
}

/*** Main *********************************************************************/

#main {
  float: right;
  width: 546px;
  padding: 0 20px 140px 20px;
}

/*** Footer *******************************************************************/

#footer {
  background: url("images/bg_footer.gif") no-repeat;
  height: 32px;
  padding-top: 12px;
  margin-bottom: 20px;
  font-size: 11px;
  color: #fff;
  text-align: center;
}

#footer a, #footer a:visited, #footer a:hover { color: #fff; }

#footer span { color: #444; margin: 0 20px;}

/*** Text *********************************************************************/

h2 {
  font: bold 18px Tahoma, Verdana;
  color: #e73718;
  line-height: 22px;
  margin: 0 0 14px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}

h3 {
  font: bold 16px Tahoma, Verdana;
}

h3 span {
  font: normal 12px Tahoma, Verdana;
}

/*** Lists ********************************************************************/

.sidebox_ajank ul {
  margin: 0;
  padding: 0px;
  list-style-type: none;
  line-height: 15px;
}

.sidebox_ajank ul li {
  padding: 6px 0 8px 0;
  border-bottom: 1px solid #eee;
}

.sidebox_ajank ul li.last {
  border-bottom: none;
}

.sidebox_ajank ul li span {
  color: #e73718;
  font: bold 10px Tahoma, Verdana;
}

/*** Form *********************************************************************/

div.row {
  clear: both;
  padding: 0;
  margin-bottom: 6px;
}

div.row span.label {
  float: left;
  width: 180px;
  text-align: right;
  padding: 2px;
  margin-top: 2px;
}

div.row span.label span {
  font-size: 10px;
}

div.row span.formw {
  float: left;
  width: 300px;
  margin-left: 20px;
  text-align: left;
} 

div.row span.formw input.big {
  width: 290px;
  border: 1px solid #ccc;
  padding: 2px;
}

div.row span.formw input.sml {
  width: 140px;
  border: 1px solid #ccc;
  padding: 2px;
}

div.row span.formw textarea {
  width: 290px;
  height: 80px;
  border: 1px solid #ccc;
  padding: 2px;
}

div.row span.formw .button {
  width: 103px;
  height: 31px;
  border: none;
  padding: 0;
}