/* Yritysovi.fi */

body {
	margin: 0;
	padding: 0;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 12px;
	background: #D4D4D4 url("images/grey_line_bg2.jpg") repeat-x;
}

a {
	text-decoration: none;
	color: #D81900;
}

table {
	border-collapse: collapse;
}

a:hover {
	text-decoration: underline;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

input, select, textarea {
	font-family: Verdana,Arial,Helvetica,sans-serif;
	border: 1px solid #BBBBBB;
	font-size: 12px;
}

#wrapper {
	margin: auto;
	width: 100%;
	background: url("images/bg.gif") repeat-x;
}

#page {
	margin: 0 auto 0 auto;
	width: 1000px;
}

#header {
	width: auto;
	height: 104px;
}

#header #logo {
	float: left;
	height: 101px;
	width: 255px;
	background: url("images/yritysovi_logo.jpg") no-repeat;
}

#header #logo a {
	display: block;
	margin-top: 45px;
	margin-left: 2px;
	height: 50px;
	width: 248px;
}

#header #topadv {
	float: right;
	width: 728px;
	height: 90px;
	border: 1px solid #222222;
	margin-top: 5px;
}

#navbar {
	height: 38px;
}

#navbar ul {
	list-style: none;
	margin: 1px 0px 0px 0px;
	padding: 0px;
}

#navbar ul.left {
	float: left;
}

#navbar ul.right {
	float: right;
}

#navbar ul li {
	height: 35px;
	font-family: Verdana,Helvetica,sans-serif;
	font-size: 13px;
	font-weight: bold;
	float: left;
	white-space: nowrap;
	border-right: 1px solid #FA9898;
}

#navbar ul li.first {
	border-left: 1px solid #FA9898;
}

#navbar ul li a {
	font-family: Verdana,Helvetica,sans-serif;
	font-size: 13px;
	font-weight: bold;
	display: block;
	float: left;
	height: 27px;
	text-decoration: none;
	vertical-align: middle;
	padding: 8px 18px 0px 18px;
	color: #FFF;
}

#navbar ul li a:hover {
	background: url("images/navbar_bg.gif") repeat-x;
}

#leftadv {
	clear: both;
	float: left;
	width: 131px;
	padding: 2px 0 0 0;
}

#leftadv ul li {
	padding-bottom: 2px;
}

#contentwrapper {
	margin: 0;
	padding: 0;
	background: url("images/content_bg2.gif") repeat-y;
	width: 1000px;
}

#content_prev {
	float: left;
	width: 599px;
/*	margin-left: 131px;*/
/*	background: #FFF url("images/content_bg.gif") repeat-y;*/
}

#content {
	background: url("images/content_bg.jpg") no-repeat;
	padding: 10px;
}


#content h1 {
	border-bottom: 1px dashed #BBBBBB;
	color: #CF1A00;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 14px;
	font-weight: bold;
}


#rightadv {
	float: right;
	width: 270px;
	padding-top: 2px;
}

.omtyyppi {
	font-size: 14px;
	font-weight: bold;
	color: #CF1A00;
	text-align: center;
}
/*
.ombox {
	padding: 12px;
	width: 550px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	color: #FFF;
	background: #DD1D00;
	border: 1px solid #A01700;
}
*/
.ombox a {
	display: block;
	padding: 12px;
	width: 550px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	color: #FFF;
	background: #DD1D00;
	border: 1px solid #A01700;
}

.ombox a:hover {
	text-decoration: none;
	background: #BF1D00;	
	border: 1px solid #681101;
}

.hakuei {
	font-size: 14px;
	font-weight: bold;
	color: #CF1A00;
}

.levelall {
	clear: both;
	font-size: 1px;
}

#footer {
	clear: both;
	padding: 10px;
	border-top: 8px solid #C5C5C5;
	background: #DDDDDD;
	font-size: 11px;
	text-align: center;
}


h1#mo_otsikko {
	width: 563px;
	margin: 0;
	padding: 7px;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 16px;
	font-weight;
	color: #FFF;
	background: #961200;
	border: none;
}

h2#toimiala_otsikko {
	width: 563px;
	margin: 0;
	padding: 5px 7px 5px 7px;
	font-size: 14px;
	font-weight;
	color: #FFF;
	background: #EA2100;
	border: none;
}

table#searchres {
	width: 100%;
}

table#searchres tr:hover {
	background: #F2F2F2;
}

table#searchres tr.hdrs {
	background: url("images/search_hdrs_bg.gif");
}

table#searchres tr.hdrs td {
	font-size: 11px;
	font-weight: bold;
}

table#searchres td {
	border-bottom: 1px dotted #C9C9C9;
}

span.eikuvaa {
	font-size: 10px;
	color: #AAAAAA;
}


/* Ilmoitus */

#ilmoitus {
	padding-top: 10px;
}

#ilmoitus #ilm_vasen {
	float: left;
	width: 305px;
}

#ilmoitus #ilm_oikea {
	float: right;
	width: 270px;
}

#ilmoitus #ilm_clear {
	clear: both;
}

#ilmoitus h3 {
	margin: 0;
	padding: 0 0 10px 0;
	font-size: 14px;
	font-weight: bold;
	color: #CF1A00;
}

#ilmoitus h4 {
	margin: 10px 0 2px 0;
	padding: 0 0 2px 0;
	font-size: 12px;
	font-weight: bold;
	color: #CF1A00;
	border-bottom: 1px solid #DDDDDD;
}

table.ilmtieto {
	width: 100%;
}

table.ilmtieto td {
	padding-top: 4px;
	padding-bottom: 4px;
	border-bottom: 1px solid #DDDDDD;
}

table.ilmtieto td.otsake {
	width: 140px;
	font-size: 11px;
	font-weight: bold;
}


/* Ilmoituksen jatto */

table.jheader {
	width: 100%;
	border: 1px solid #CCCCCC;
}

table.jheader td {
	padding: 5px;
	background: #DDDDDD;
}

td.jheadert {
	font-size: 12px;
}

td.jheadertb {
	font-size: 12px;
	font-weight: bold;
}

#ehdot h2 {
	margin: 0;
	padding: 0 0 7px 0;
	font-size: 14px;
	font-weight: bold;
	color: #CF1A00;
}
