/* @override http://www.kivipiha.com/uusi-html/assets/css/style.css */

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

	Project:		Kivipiha
	Version:		1.0
	Created:		16/04/10
	Modified:
	
		[Table of contents]
		1. Reset
		2. Typography
			2.1	Headings
			2.2	Text elements
			2.3	Lists
			2.4	Tables
			2.5	Forms
		3. Structure
			3.1	Header
			3.2	Navigation
			3.3	Content
			3.4	Footer
			3.4	Classes
		4. Clear floats
	


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

	Reset
	
----------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	outline: 0;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table 			{ border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th 	{ vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: none; }


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

	Typography
	
----------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body { 
	font-size: 75%;
	color: #434343;
	line-height: 1.5;
	font-family: Arial, sans-serif;
}


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

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #434343; font-family: "Times New Roman", Arial, sans-serif; }

h1 { font-size: 2.3em; line-height: 1; margin-bottom: 0.5em; font-weight: bold; color: #3ca83e;}
h2 { font-size: 1.6em; margin-bottom: 0.5em; line-height: 1; font-weight: bold; color: #3ca83e;}
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; height: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

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


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
p img       { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #3ca83e; text-decoration: underline;}
a           { color: #3ca83e; text-decoration: none; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 0em;}
del         { color:#666; }

pre,code    { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } 


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { float: left;display: inline;margin: 0 0 0 0; line-height: 2.5em;width: 100%;border-bottom: 1px solid #dadada;}
dl dt       { font-weight: bold;float: left;
display: inline; width: 240px;}
dd          { margin-left: 0em;float: left;display: inline;
width:75px;}
dd a img{
	margin-bottom: 0 !Important;
	margin-top: 10px !important;
}
dd#total{
	float: left;
	display: inline;
	width: auto;
}
dd.image{
	float: right;
	display: inline;
	width: auto;
}
dt#title{
	float: left;
	display: inline;
	width: 315px;
}
dl.border-top{
	border-top: 1px solid #dadada;
	margin-top: 1px;
}
input#tilaa,input#tilaatarjous{
	float: left;
	display: inline;
	width: 102px;
	height: 30px;
	border: none;
	color: #fff;
	cursor: pointer;
	font-weight: bold;
	background: transparent url(../img/sprite.png) no-repeat -7px -239px;
}

/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; background: #C3D9FF; }
th,td       { padding: 4px 10px 4px 5px; }
tr.even td  { background: #E5ECF9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Forms
-------------------------------------------------------------- */

label { font-weight: bold; }

fieldset    { padding:1.4em 1.4em 1.4em 0; width: 430px;}
fieldset p{
	float: left;
	display: inline;
	width: auto;
	margin-bottom: 0.5em;
	margin-right: 10px;
}
legend      { font-weight: bold; font-size:1.2em; }

input.text, input.title   { width: 330px;}
input.text, input.title   { border:1px solid #dadada; background:#ededed; padding:5px; }
input.text:focus,
input.title:focus         { border:1px solid #dadada; background:#ededed; }
input.title               { font-size:1.5em; }

textarea            { width: 330px; height: 100px; line-height: 1.5;font-family: Arial, sans-serif;font-size:1.2em;}
textarea            { border:1px solid #dadada; background:#ededed; padding:5px; }
textarea:focus      { border:1px solid #dadada; background:#ededed;}

select              { border:1px solid #dadada; background:#ededed; width:200px; }
select:focus        { border:1px solid #999; background:#ededed; }

#ota-yhteytta{
	float: left;
	display: inline;
	width: 350px;
}
#ota-yhteytta fieldset, #tarjouspyynto fieldset{
	float: left;
	display: inline;
	width: 100%;
	padding: 0 0 0 0;
}
label#valitse-laskuri{
	float: left;
	display: inline;
	background: #2c9f2e url(../img/sprite.png) no-repeat 168px -185px;
	color: #fff;
	width: 200px;
	line-height: 2.5em;
	text-indent: 10px;
}
label#syota-pinta-ala{
	float: left;
	display: inline;
	background: #2c9f2e;
	color: #fff;
	width: 200px;
	line-height: 2.5em;
	text-indent: 10px;
}
select#tehtava{
	float: left;
	display: inline;
	height: 25px;
	margin-top: 0.5em;
	margin-bottom: 5px;
	clear:both;
}
input#pinta-ala{
	float: left;
	display: inline;
	width: 188px;
	clear:both;
	margin-top: 0.5em;
}
.submit{
	float: left;
	display: inline;
	width: 100%;
	margin-top: 5px;
	font-style: italic;
}
.submit p{
	margin: 5px 0 0 20px;
}


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

	Structure
	
----------------------------------------------------------- */

body {
	background: #563225;
	text-align: center; /*ie hack for centered layout. if not centered, remove this line and the next hack in wrapper*/
}

#page {
	margin: auto;
	background: transparent;
	width: 950px; /*fill in the width of the page*/
	text-align: left; /*for previous ie hack*/
}


/* Header
-------------------------------------------------------------- */
#header{
	float: left;
	display: inline;
	width: 950px;
	height: 90px;
}
#header a#logo{
	float: left;
	display: inline;
	margin: 10px 0 0 0;
}


/* Navigation
-------------------------------------------------------------- */
#navi{
	float: left;
	display: inline;
	width: 690px;
	margin-left: 10px;	
}
.lavaLampWithImage {
	 position: relative;
	 height: 29px;
	 width: 670px;
	 background: url("../img/bg.gif") no-repeat 0px 11px;
	 padding: 15px 10px 15px 10px;
	 margin: 18px 0 15px 0;
	 overflow: hidden;
}
.lavaLampWithImage li {
	 float: left;
	 list-style: none;
	 margin: 0 5px 0 5px;
}
.lavaLampWithImage li.back{
	background: url("../img/lava.gif") no-repeat right 2px;
    width: 9px; 
    height: 29px;
    z-index: 8;
    position: absolute;
}
.lavaLampWithImage li.back .left {
	background: url("../img/lava.gif") no-repeat 0 2px;
    height: 30px;
    margin-right: 14px; /* 7px is the width of the rounded shape */
}
.lavaLampWithImage li a {
    font: 13px arial;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    outline: none;
    text-align: center;
    top: 7px;
    z-index: 10;
    display: block;
    float: left;
    height: 29px;
    position: relative;
    overflow: hidden;
    padding: 0 2px 0 10px;
    margin: auto 7px;    
}
.lavaLampWithImage li a:hover, .lavaLampWithImage li a:active, .lavaLampWithImage li a:visited {
	color: #fff;
    text-decoration: none;
    background: transparent;
    border: none;
}

/* Content
-------------------------------------------------------------- */
#content{
	float: left;
	display: inline;
	width: 950px;
}
#content-area{
	float: left;
	display: inline;
	width: 950px;
	color: #434343;
	margin-bottom: 10px;
	background: #fff url(../img/flash-bg.png) no-repeat top right;
}
#content-area-wide{
	float: left;
	display: inline;
	width: 905px;
	color: #434343;
	padding: 35px 20px 10px 25px;
	margin-bottom: 10px;
	min-height: 500px;
	height: auto !important;
	height: 500px;
	background: #fff url(../img/flash-bg.png) no-repeat top right;
}
#content-area-wide #image-gallery{
	float: left;
	display: inline;
	width: 100%;
	padding: 10px 0 0 0;
}
#content-area-wide #image-gallery a{
	float: left;
	display: inline;
	width: 150px;
	height: 150px;
	padding: 10px;
	margin: 5px 5px 5px 0px;
	border: 1px solid #dadada;
	background: #ededed;
}
#flash-container{
	float: left;
	display: inline;
	width: 950px !Important;
	margin: 0;
	padding: 0;
	height: 389px !important;
	xcolor: #434343;
	xbackground: #fff url(../img/flash-bg.png) no-repeat top right;
}
#flash{
	float: left;
	display: inline;
	width: 950px;
	height: 389px;
}
#noflash {
	float: left;
	display: inline;
	width: 950px;
	height: 389px;
	text-align: center;
	color: #666666;
}

x#content #flash-container #flash-text{
	float: left;
	display: inline;
	width: 370px;
	padding: 20px 45px 35px 35px;
	height: 190px;
}
x#content #flash-container #flash-text p{
	font-size: 1.3em;
	padding-top: 10px;
}
x#content #flash-container #flash-images{
	float: left;
	display: inline;
	width: 490px;
	height: 370px;
	margin: 10px 0 10px 10px;
	background: #fff;
}
x#content #flash-container .flash-image-text{
	float: left;
	display: inline;
	width: 450px;
}
#content-bottom{
	float: left;
	display: inline;
	width: 950px;
	clear: both;
	color: #434343;
	margin: 10px 0 10px 0;
}
#content-bottom .nosto-box{
	float: left;
	display: inline;
	width: 310px;
	position: relative;
	background: #fff;
	margin: 0 10px 0 0px;
	padding-bottom:10px;
	min-height: 150px;
	height: auto !important;
	height: 150px;
}
#content-bottom .nosto-box h2{
	float: left;
	display: inline;
	width: 295px;
	height: 30px;
	color: #fff;
	padding: 7px 0 0px 15px;
	background: transparent url(../img/sprite.png) no-repeat -10px -135px;
}
#content-bottom .nosto-box a.nosto-box-link{
	position: absolute;
	top: 10px;
	right: 18px;
	padding-right: 11px;
	background: transparent url(../img/arrow-icon.gif) no-repeat right center;
	font-weight: bold;
}
#content-bottom .nosto-box-area{
	float: left;
	display: inline;
	width: 280px;
	padding: 10px 0 20px 20px;
}
#content-bottom .nosto-box-area p span {
	font-style: italic;
	font-size: 0.9em;
	float: left;
	display: inline;
	width: auto;
}
#content-bottom .nosto-box-area a{
	float: left;
	display: inline;
	font-weight: bold;
	width: auto;
	color: #3ca83e;
	text-decoration: none;
	padding-right: 5px;
}
#content-bottom .nosto-box-area a:hover{
	text-decoration: underline;
}
#content-bottom .nosto-box-area img{
	float:left;
	display: inline;
	width: auto;
	padding: 0 20px 0 0px;
}
#content-bottom .nosto-box-area p{
	width: auto;
}
.content-column{
	float: left;
	display: inline;
	width: 429px;
	position: relative;
	min-height: 530px;
	height: auto !important;
	height: 530px;
	padding: 35px 20px 0px 25px;
	border-right: 1px solid #dadada;	
}
/*
.content-column p a{
	float: left;
	display: inline;
	width: 100%;
}
*/
.content-column h2{
	float: left;
	display: inline;
	width: 100%;
	font-size: 2.3em;
}
.content-column h2 span{
	float: left;
	display: inline;
	width: 100%;
	margin-top: 0.5em;
}
.content-column img{
	float: left;
	display: inline;
	width: auto;
	margin: 5px 3px 20px 0;
}
.content-column-block{
	float: left;
	display: inline;
	width: 400px;
	margin-bottom: 20px;
}
.content-column-block p{
	float: left;
	display: inline;
	width: 240px !important;
	margin-bottom: 0;
	padding: 5px 0 0 20px;
}
/*
.content-column-block a{
	float: left;
	display: inline;
	width: auto;
	padding: 0 0 0 20px;
}
*/
.content-column-block img{
	float: left;
	display: inline;
	width: 130px;
	margin-bottom: 0;
	height: 100px;
	border: 1px solid #dadada;
}
.content-column-block-grey{
	float: left;
	display: inline;
	width: 390px;
	margin-bottom: 10px;
	padding: 20px 15px 10px 15px;
	background: #ededed;
	border: 1px solid #dadada;
}
.contact-block{
	float: left;
	display: inline;
	width: 100%;
	margin: 20px 0 0px 0;
	border-bottom: 1px solid #dadada;
}
.contact-block .floatleft{
	width: 180px;
	float: left;
	display: inline;
}
.contact-block .floatright{
	width: 180px;
	float: right;
	display: inline;
}
.contact-block h3{
	font-size: 1em;
	color: #3ca83e;
	font-weight: bold;
	font-family: arial, sans-serif;
}
.contact-person{
	float: left;
	display: inline;
	width: 100%;
}
span.ingressi{
	font-weight: bold;
}
.open-position-block{
	float: left;
	display: inline;
	width: 420px;
	padding: 10px 0 0 0;
	border-bottom: 1px solid #dadada;
}
.open-position-block h3{
	font-size: 1em;
	font-family: "Arial", sana-serif;
	font-weight: bold;
	margin-bottom: 0em;
	line-height: 1.5em;
}
.open-position-block p{
	margin-bottom:1em;
}
#ota-yhteytta p a{
	float: none;
	display: inline;
	width: auto !Important;
}
#patevyys p{
	float: left;
	display: inline;
	width: 350px;
}
#popup{
	position: absolute;
	top: 0px;
	right: -10px;
	background: transparent url(../img/selvitys-bg.png) no-repeat 0px 0px;
	width: 470px;
	height: 560px;
}
#popup h2{
	float: left;
	display: inline;
	width: 100%;
	line-height: 2em;
	padding: 20px 0 0px 50px;
	font-style: normal !important;
}
#pane1{
	position: absolute;
	top: 15px;
	left: 30px;
	width: 375px;
	margin: 0px 0 10px 20px;
	overflow: auto;
	height: 440px;
}
#pane1 ul{
	list-style-type: none;
	margin: 0px 0 0 0;
	padding: 20px 10px 0 0;
}
#pane1 ul li{
	margin-bottom: 1.5em;
}
#pane1 ul li span{
	color: #3ca83e;
	font-weight: bolder;
}
#popup a#close{
	position: absolute;
	top: 30px;
	right: 33px;
	z-index: 1000;
}
.rows{
	float: left;
	display: inline;
	width: 410px;
	margin-bottom: 10px;
	border-top:3px double #dadada;
	border-bottom:1px solid #dadada;
	padding-bottom: 1px !Important;
}
/* Footer
-------------------------------------------------------------- */
#footer{
	clear: both;
	height: 95px;
	width: 890px;
	padding: 0px 30px 0 30px;
	border-top: 1px solid #000;
	border-bottom: 1px solid #5d4740;
	background: #41271e;
	font-size: 0.9em;
	margin: 0 0 10px 0;
	color: #c69482;
}
#footer address{
	float: left;
	display: inline;
	width: auto;
	font-weight: normal;
	font-style: normal;
	padding-right: 30px;
}
#footer p{
	padding-top:20px;
}
#footer p span.copy{
	float: right;
	display: inline;
	width: auto;
}

/* Classes
-------------------------------------------------------------- */
.no-margin{
	margin: 0 !Important;
}
.no-border{
	border: none !important;
}
.border-top{
	border-top: 1px solid #dadada;
}
.green{
	color: #3ca83e;
	font-weight: bold;
	margin-top: 1px;
}

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

	Clear floats
	
----------------------------------------------------------- */
.wrapper 		{ display: inline-block; }
.wrapper:after 	{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
* html .wrapper { height: 1%; }
.wrapper 		{ display: block; }
