/*****Reset*****/

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }

/*****Basic Elements*****/

body {
	background: #F6F6F6 url(img/ui/bg_body_home.jpg) repeat-x;
	color: #373737;
	font: 13px "Trebuchet MS", Arial, Helvetica, sans-serif;
}

body.subpage { background: #F6F6F6 url(img/ui/bg_body_subpage.jpg) repeat-x; }

a {
	color: #0066CC;
	text-decoration: none;
}

a:hover {
	color: #0099FF;
}

h1 {
	font-size: 22px;
	font-weight: normal;
	margin-bottom: 10px;
}

body.subpage h1 { text-transform: uppercase; }

h2 {
	font-size: 20px;
	font-weight: normal;
	margin-bottom: 10px;	
}

p + h2 {
	margin-top: 40px;
}

h3 {
	font-size: 16px;
	font-weight: normal;
	margin-bottom: 10px;
}

h3.paivystys { background: url(img/ui/bg_h_paivystys.gif) no-repeat; height: 37px; line-height: 34px; margin-bottom: 5px; padding-left: 50px; }
h3.uusiasukas { background: url(img/ui/bg_h_uusiasukas.gif) no-repeat; height: 37px; line-height: 34px; margin-bottom: 5px; padding-left: 50px; }
h3.blogi { background: url(img/ui/bg_h_blogi.gif) no-repeat; height: 37px; line-height: 18px; margin-bottom: 5px; padding: 0 0 0 50px; }
h3.taudit { background: url(img/ui/bg_h_taudit.gif) no-repeat; height: 37px; line-height: 34px; margin-bottom: 5px; padding-left: 50px; }

p { 
	line-height: 20px;
	margin-bottom: 18px;
}

p.highlight {
	font-weight: bold;
	font-style: italic;
}

p.note {
	font-size: 11px;
	line-height: 16px;
}

/*****Basic Layout*****/

div#wrap {
	background: #F6F6F6 url(img/ui/bg_body_home.jpg) repeat-x;
	margin: 0 auto;
	position: relative;
	width: 903px;
}

body.subpage div#wrap { background: none; }

div#open-home {
	background: url(img/content/avoinna.png) no-repeat;
	height: 292px;
	left: 652px;
	position: absolute;
	text-indent: -9999px;
	top: 248px;
	width: 249px;
}

div#main {
	float: right;
	padding: 20px 0 0 0;
	width: 562px;
}

body.single-col div#main { float: left; margin-bottom: 40px; min-height: 300px; padding: 30px 40px 0 40px; width: 833px; }
body.two-col div#main { border-bottom: 1px #DFDFDF solid; display: inline; float: right; margin: 0 20px 40px 0; padding: 60px 0 20px 0; width: 470px; }
body#blogi div#main, body#muistilista div#main { border-bottom: none; }

div#secondary {
	float: right;
	padding: 15px 0 0 20px;
	width: 311px;
}

body.two-col div#secondary { float: right; padding: 30px 20px 40px 40px; width: 353px; }

div#home-lyhyesti {
	border-bottom: 1px #DFDFDF solid;
	margin-bottom: 20px;
	padding: 0 192px 0 10px;
	width: 347px;
}	

div#ajanvaraus-home {
	background: url(img/ui/bg_ajanvaraus.jpg) no-repeat;
	height: 118px;
	margin-bottom: 20px;
	width: 270px;
}

div#ajanvaraus-home h2 {
	padding: 10px 0 0 30px;
}

div#ajanvaraus-home p {
	padding: 0 20px 0 83px;
}

div#ajanvaraus-txt {
	padding: 0 30px 0 10px;
}

div#home-paivystys {
	float: left;
	padding: 0 50px 0 10px;
	width: 240px;
}

div#home-blogi {
	float: left;
	width: 240px;
}

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

div#header {
	background: url(img/ui/bg_header.jpg) no-repeat;
	height: 242px;
}

body.subpage div#header { background: url(img/ui/bg_header_subpage.jpg) no-repeat; }

div#header h1 {
	margin-bottom: 0;
}

div#header h1 a {
	display: block;
	height: 110px;
	left: 340px;
	overflow: hidden;
	position: absolute;
	text-indent: -9999px;
	top: 100px;
	width: 180px;
}

div#banner-home {
	background: url(img/ui/bg_banner.gif) repeat-x;
	color: #D9D9D9;
	font-size: 15px;
	height: 163px;
	padding: 10px 0 0 40px;
}

div#banner-home h2 {
	font-size: 22px;
	font-weight: normal;
	margin-bottom: 10px;
	text-transform: uppercase;
}

div#banner-home span {
	background: url(img/ui/bg_bannerdot.gif) right center no-repeat;
	display: block;
	float: left;
	margin: 0 5px 5px 0;
	padding-right: 11px;
}

div#banner-home span.last { background: none; }

div#banner-home p {
	clear: left;
	line-height: normal;
}

/*****Main Menu*****/

ul#mainmenu {
	font-size: 15px;
	left: 0;
	list-style: none;
	padding-left: 41px;
	position: absolute;
	top: 175px;
}

ul#mainmenu li {
	float: left;
}

ul#mainmenu li a {
	background: url(img/ui/bg_mainmenu_li.gif) right center no-repeat;
	color: #090909;
	display: block;
	line-height: 50px;
	padding-right: 7px;
	margin-right: 7px;
}

ul#mainmenu li#mm-yhte a { background: none; margin-right: 150px; }
ul#mainmenu li#mm-link a { background: none; margin-right: 0; }

ul#mainmenu li a:hover {
	color: #ED7900;
}

body#etusivu li#mm-etus a { color: #ED7900; }
body#ajanvaraus li#mm-ajan a { color: #ED7900; }
body#palvelut li#mm-palv a { color: #ED7900; }
body#yhteystiedot li#mm-yhte a { color: #ED7900; }
body#blogi li#mm-blog a { color: #ED7900; }
body#muistilista li#mm-muis a { color: #ED7900; }
body#taudit li#mm-taud a { color: #ED7900; }
body#henkilosto li#mm-henk a { color: #ED7900; }
body#linkit li#mm-link a { color: #ED7900; }

/*****Sub Menu*****/

ul#submenu {
	border-bottom: 1px #DADADA solid;
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	width: 320px;
}

ul#submenu li {
	background: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

ul#submenu li a {
	background: #F7F7F7 url(img/ui/bg_submenu.gif) right center no-repeat;
	border: 1px #DADADA solid;
	border-bottom: 0;
	display: block;
	padding: 8px 15px 8px 10px;
}

ul#submenu li a:hover, ul#submenu li.selected a {
	background: #0066CC url(img/ui/bg_submenu2.gif) right center no-repeat;
	color: #f7f7f7;
}


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

div#footer {
	border-top: 1px #DFDFDF solid;
	clear: both;
	padding-top: 18px;
	margin: 0 auto 20px auto;
	width: 860px;
}

div.foo-1 {
	float: left;
	width: 180px;
}

div.foo-2 {
	float: left;
	width: 79px;
}

div.foo-3 {
	float: left;
	width: 103px;
}

div.foo-4 {
	float: left;
	width: 138px;
}

a.facebook {
	background: url(img/ui/bg_facebook.gif) no-repeat;
	display: block;
	height: 31px;
	padding-left: 40px;
}

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

body.subpage div#secondary ul {
	list-style: none;
	margin-left: 37px;
}

body.subpage div#secondary ul li {
	background: url(img/ui/bg_li.gif) left center no-repeat;
	margin-bottom: 15px;
	padding-left: 11px;
}

/*****Forms*****/

label {
	display: block;
	margin-bottom: 3px;
}

input, textarea {
	background: #fafafa;
	border: 1px #e5e5e5 solid;
	font: 13px "Trebuchet MS", Arial, Helvetica, sans-serif;
	margin-bottom: 5px;
	padding: 5px;
	width: 250px;
}

input.inputbtn {
	background: none;
	border: 0;
	padding: 0;
	width: auto;
}

/*****Tables*****/

/*****Generic Classes*****/

div.error {
	background: #FBE3E4;
	border: 2px #FBC2C4 solid;
	color: #8A1F11;
	margin-bottom: 20px;
	padding: 10px 20px 10px 40px;
}

div.message {
	background: #FFF6BF;
	border: 2px #FFD324 solid;
	color: #554B25;
	margin-bottom: 20px;
	padding: 10px 20px 10px 40px;
}

div.info {
	background: #F8F8F8 url(img/ui/bg_info.gif) left center no-repeat;
	border: 1px #E4E4E4 solid;
	padding: 13px 13px 13px 62px;
}

div.info p {
	margin-bottom: 0;
}

div.palaute {
	border-top: 1px #DFDFDF solid;
	padding: 20px 30px 0 10px;
}

div.main-2col {
	border-bottom: 1px #DFDFDF solid;
	clear: left;
	float: left;
	margin-bottom: 20px;
	padding: 0 0 20px 0;
}

div.main-2col-left {
	float: left;
	padding: 0 20px 0 10px;
	width: 220px;
}

div.main-2col-right {
	float: left;
	padding: 0;
	width: 220px;
}

div.photos {
	background: #fafafa;
	border: 1px #E5E5E5 solid;
	clear: left;
	float: left;
	padding: 15px 0 0 15px;
}

div.photos a {
	display: block;
	float: left;
	margin: 0 10px 10px 0;
}

img.kehys {
	background: #f8f8f8;
	border: 1px #E3E3E3 solid;
	padding: 5px;
}

a.rss {
	background: url(img/ui/bg_rss.jpg) no-repeat;
	display: block;
	line-height: 45px;
	padding-left: 50px;
}

div.rokotustaulukot {
	background: #FAFAFA url(img/ui/bg_ruisku.gif) no-repeat;
	border: 1px #E4E4E4 solid;
	padding: 20px 10px 0 30px;
	width: 280px;
}

div.rokotustaulukot h2 {
	font-size: 16px;
	margin-bottom: 0;
	text-transform: uppercase;
}

div.rokotustaulukot h3 {
	font-size: 16px;
	margin-bottom: 0;
}

div.staff {
	background: #FAFAFA;
	border: 1px #E4E4E4 solid;
	float: left;
	margin: 0 23px 20px 0;
	min-height: 380px;
	padding: 20px 10px 0 20px;
	width: 230px;
}

div.staff img {
	margin-bottom: 15px;
}

/*****Post*****/

div.post {
	border-bottom: 1px #DFDFDF solid;
	margin-bottom: 20px;
	padding: 0 10px;
}

div.post h2 {
	margin-bottom: 0;
}

p.date {
	font-style: italic;
}

div.pagination-left {
	float: left;
	width: 200px;
}

div.pagination-right {
	float: right;
	text-align: right;
	width: 200px;
}

div.pagination-left a, div.pagination-right a {
	background: #FAFAFA;
	border: 1px #DFDFDF solid;
	padding: 7px 10px;
}

/* lists */

div#main ul {
	margin: 0 0 20px 30px;
}

div.error ul {
	margin: 0 0 20px 10px !important;
}

/*****Etc*****/

a img { border: 0; }

div.ajanvaraus {
	border: 1px #E3E3E3 solid;
	background: #fff;
	padding: 15px;
}

div.important {
	display: none;
}
