/*
Theme Name: Kultahovi
Theme URI: http://www.sunisoft.fi/
Description: Original design by Ajatus
Version: 1.0 final
Author: Kimmo Kovalainen
Author URI: http://www.picnom.com/
Tags: white, gold, custom, brown
*/

* { padding: 0; margin: 0; }

html { overflow-y: scroll; }

a { color: #B35F00; text-decoration: none; }
a:hover { color: #B35F00; text-decoration: underline; }
p { margin: 0 0 15px; }

img.centered { margin: 0 auto; }
img.alignright { margin: 5px 0 7px 14px; }
img.alignleft { margin: 5px 14px 7px 0; }
.alignright { float: right; }
.alignleft { float: left; }

body { background: #1B1C20 url(img/bodybg.gif) no-repeat top center; font: 12px 'Trebuchet MS',Helvetica,sans-serif; color: #333; text-align: left; }

#wrapper { width: 800px; margin: 0 auto; background: #FFF; border-right: 4px solid #C9A321; border-left: 4px solid #C9A321; border-bottom: 4px solid #C9A321; -moz-box-shadow: 0px 0px 6px #222; -webkit-box-shadow: 0px 0px 6px #222; box-shadow: 0px 0px 6px #222; }

#header {
	height: 354px;
	width: 800px;
	float: right;
	margin: 0;
	position: relative;
	}

#innerheader { background: url(img/headerbg.jpg) no-repeat; height: 324px; width: 210px; position: absolute; top: 0px; right: 0px; }
#innerheadereng { background: url(img/headerbgeng.jpg) no-repeat; height: 324px; width: 210px; position: absolute; top: 0px; right: 0px; }
#innerheaderde { background: url(img/headerbgde.jpg) no-repeat; height: 324px; width: 210px; position: absolute; top: 0px; right: 0px; }
#logo { position: absolute; top: 43px; right: 39px; }

.page-id-5 #breadcrumbs { display: none; }

#kuvacycle { position: absolute; top: 34px; left: 0px; width: 590px; height: 290px; background: #000; }
#breadcrumbs { position: absolute; top: 335px; left: 50px; font-size: 9px; }
#breadcrumbs a:nth-child(2), #breadcrumbs a:nth-child(3) { display: none; }
#breadcrumbs a:first-child:before { content: ""; }
#breadcrumbs a:before { content: "» "; color: #000; }
#breadcrumbs strong:before { content: "» "; color: #000; }
#breadcrumbs a:hover { text-decoration: none; }

#header .topic { z-index: 500; position: absolute; top: 163px; left: 0px; }

#languagenav { background: #000; width: 210px; height: 20px; position: absolute; top: 324px; right: 0px; text-transform: uppercase; color: #888; font-size: 9px; line-height: 19px; text-align: center; }
#languagenav a { color: #EEE; }

#navbar { position: absolute; top: 0px; left: 0px; width: 590px; height: 34px; background: url(img/navrow1.jpg) no-repeat; z-index: 300; }
#navbar ul { text-align: left; width: 590px; float: left; list-style: none; font: normal 11px 'Trebuchet MS',Helvetica,sans-serif; }

#navbar ul li:first-child { width: 148px; }
#navbar ul li:first-child a { width: 128px; }
#navbar ul li:first-child a:hover { background: url(img/navrow1-hover.png); }

#navbar ul li:nth-child(3n) { width: 148px; }
#navbar ul li:nth-child(3n) a { width: 128px; }
#navbar ul li:nth-child(3n) a:hover { background: url(img/navrow1-hover.png); }

#navbar li { float: left; text-transform: uppercase; width: 147px; height: 34px; text-align: center; }

#navbar ul li a { color: #FFF; float: left; width: 127px; line-height: 26px; padding: 4px 10px 0 10px; height: 30px; }
#navbar ul li a:hover { text-decoration: none; background: url(img/navrow1-hover.png); }
#navbar ul li.current_page_item a { color: #FFF; }

/* SUBNAV BG FOR DIFFERENT LANGUAGES, ROW PER LANGUAGE FI-ENG-DE */
.page-id-9 #navbar ul li ul, .parent-pageid-9 #navbar ul li ul, .parent-pageid-45 #navbar ul li ul,
.page-id-243 #navbar ul li ul, .parent-pageid-243 #navbar ul li ul, .parent-pageid-273 #navbar ul li ul,
.page-id-551 #navbar ul li ul, .parent-pageid-551 #navbar ul li ul, .parent-pageid-557 #navbar ul li ul { background: url(img/navrow2-red.png); }

.page-id-14 #navbar ul li ul, .parent-pageid-14 #navbar ul li ul, .parent-pageid-61 #navbar ul li ul, 
.page-id-297 #navbar ul li ul, .parent-pageid-297 #navbar ul li ul, .parent-pageid-308 #navbar ul li ul, 
.page-id-586 #navbar ul li ul, .parent-pageid-586 #navbar ul li ul, .parent-pageid-598 #navbar ul li ul { background: url(img/navrow2-green.png); }

.page-id-21 #navbar ul li ul, .parent-pageid-21 #navbar ul li ul,
.page-id-329 #navbar ul li ul, .parent-pageid-329 #navbar ul li ul,
.page-id-613 #navbar ul li ul, .parent-pageid-613 #navbar ul li ul { background: url(img/navrow2-black.png); }

.page-id-25 #navbar ul li ul, .parent-pageid-25 #navbar ul li ul { background: url(img/navrow2-yellow.png); }

#navbar ul li ul { display: none; list-style: none; position: absolute; top: 34px; left: 0px; width: 536px; padding: 0 27px; height: 21px; z-index: 300; text-transform: uppercase; font-size: 11px; line-height: 19px; }
#navbar ul li ul li { line-height: 19px; width: auto !important; height: 21px !important; text-align: left !important; margin-right: 20px; }
#navbar ul li ul li a { border: none; color: #FFF; width: auto !important; height: 21px !important; padding: 0 !important; line-height: 19px !important; }
#navbar ul li ul li a:hover { background: none !important; }
#navbar ul li ul li.current_page_item a { border: none; color: #FFF; }

#navbar ul li.current_page_item ul, #navbar ul li.current_page_ancestor ul { display: block; margin: 0; }

#content { float: left; width: 490px; margin: 12px 0; line-height: 17px; min-height: 200px; padding: 0 50px; }
#content ul { padding-left: 15px; margin-bottom: 20px;  }
#content ul li { margin-bottom: 4px; }

#content ol { padding-left: 18px; }
#content ol li { margin-bottom: 10px; }

#content table { width: 490px; margin: 20px 0; }
#content table tr { width: 490px; float: left; margin-bottom: 12px; }
#content table td { float: left; vertical-align: top; width: 230px; margin-left: 30px; }
#content table tbody td:first-child { margin-left: 0; }

#sidebar { float: right; margin: 12px 0; width: 200px; padding-right: 10px; min-height: 200px; text-transform: uppercase; }
#sidebar .biglinks { font-size: 16px; color: #B35F00; font-weight: bold; line-height: 16px; margin-bottom: 30px; }
#sidebar .biglinks a { color: #B35F00; }
#sidebar .biglinks li { margin-bottom: 17px; list-style: none; }
#sidebar .biglinks a:hover { text-decoration: none; color: #6B3F0F; }
#sidebar .smalllinks { font-size: 10px; color: #555; font-weight: bold; }
#sidebar .smalllinks a { color: #555; }
#sidebar .smalllinks li { margin-bottom: 7px; list-style: none; }
#sidebar .smalllinks a:hover { text-decoration: none; color: #000; }

#footer { clear: both; float: left; height: 98px; width: 760px; font: 9px 'Trebuchet MS',Helvetica,sans-serif; text-transform: uppercase; border: 1px solid #888; margin: 20px; position: relative; }
#footer p.yhteystiedot { color: #333; float: left; margin: 19px 40px 0 34px; padding: 7px 0px; }
#footer p.footernav { display: none; position: absolute; top: 25px; right: 17px; }

.greenbox { background: #52A625; width: 31px; height: 31px; position: absolute; bottom: 0px; left: 0px; }
.blackbox { background: #000; color: #888; width: 155px; padding: 0 10px; height: 16px; border-right: 16px solid #D1020E; position: absolute; top: 0; right: 0; text-align: right; }
.blackbox a { color: #EEE; }

#outerfooter { width: 800px; height: 100px; margin: 14px auto 0; background: url(img/footer.png) no-repeat top center; }
#outerfooter p.sunisoft a { color: #333; float: right; margin: 0; padding: 7px 0px; text-transform: uppercase; }

h1 { font: italic 20px 'Trebuchet MS',Helvetica,sans-serif; color: #111; margin: 0 0 10px; }
h2 { font: italic bold 16px 'Trebuchet MS',Helvetica,sans-serif; color: #B35F00; margin: 0 0 2px; padding-top: 10px; }
h3 { font-size: 14px; }

table td { vertical-align: top; }

.entry h2:first-child { margin-top: 0px; border: none; padding-top: 0px; }
#sidebar h2:first-child { margin-top: 0px; border: none; padding-top: 0px; }



/* Begin Structure */
.post {	margin: 0 0 40px; text-align: left; }
.post hr { display: block; }
.postmetadata {	display: none; clear: both; }
.clear { clear: both; }
/* End Structure */

/* Begin Form Elements */
select { width: 130px; }
/* End Form Elements */

/* Begin Various Tags & Classes */
hr { display: none; }
a img { border: none; }
/* End Various Tags & Classes*/

/* Captions */
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }
/* End captions */

.checkbox, .radio {
	cursor: pointer;
	width: 19px;
	height: 25px;
	margin: 2px 0 0 0;
	padding: 0;
	background: url(img/form_checkbox.png) no-repeat;
	display: block;
	clear: left;
	float: right;
}
.radio { background: url(img/form_radio2.png) no-repeat; }

.select {
	position: absolute;
	width: 148px; /* With the padding included, the width is 180 pixels: the actual width of the image. */
	height: 21px;
	padding: 0 24px 0 8px;
	color: #fff;
	background: url(select.gif) no-repeat;
	overflow: hidden;
}

#content li.cf-box-title { float:left; font-size:11px; font-weight:normal; letter-spacing:0; padding:0; }

#li--1items label { width: auto; }


/* LINK ICONS */
a[href$='.pdf'] {
	display:inline-block;
	padding: 0px 0 0px 30px;
	line-height:24px;
	min-height:24px;
	overflow:visible;
	background:transparent url(img/icons/adobe-acrobat-icon.png) center left no-repeat;
	margin-bottom: 6px;
}
a[href$='.doc'] {
	display:inline-block;
	padding: 0px 0 0px 30px;
	line-height:24px;
	min-height:24px;
	overflow:visible;
	background:transparent url(img/icons/microsoft-word-icon.png) center left no-repeat;
	margin-bottom: 6px;
}