html, body, form {
	height: 100%;
}

body {
	font: 13px arial,helvetica,clean,sans-serif;
	color: #000000;
	background: #ffffff url(../images/Puuinfo-etusivu_vasenpuu.jpg) left top repeat-y;
}

blockquote {
	margin-left: 20pt;
}

#custom-doc { 
	width:780px;
	margin-left: 10%;
	padding-left: 20px;
	text-align:left; 
	min-height: 100%;
	background-color: #ffffff;
	border-left: 8px solid #163721;
}

h1, h2, h3, h4 {
	font: normal 1.8em Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #163721;
	margin-top: 10px;
	margin-bottom: 3px;
	margin-left: -2px;
}

h2 {
	font-size: 1.3em;
}

h3 {
	font-size: 1.2em;
}

h4 {
	font-size: 1.1em;
}

p {
	margin-top: 10px;
}


strong, b, th {
	font-weight: bold;
}

i, em {
	font-style: italic;
}

a {
	color : #00266d;
	text-decoration: underline;
}
a:hover {
	color : #660000;
	text-decoration: underline;
}

img {
	border: 0;
}

big {
	color:#ef2929;
}

ul {
	text-align: left;	
}


#content ul {
	margin-left: 15px;
	margin-top: 5px;
	margin-bottom: 5px;
	list-style-image: url(../images/nuoli1.gif);
	list-style-position: outside;
}

ol {
	text-align: left;
}


li.menudepth1 {
	margin-left: 0px;
}

li.menudepth2 {
	margin-left: 5px;
	background: transparent url(../images/pallo_oranssi.gif) left center no-repeat;
}

li.menudepth3 {
	margin-left: 10px;
}

li.menudepth4 {
	margin-left: 15px;
}

hr {
	border-top: 1px dotted;
	border-bottom: 0px;
	border-left: 0px;
	border-right: 0px;
}

hr.grey {
	height: 6px;
	border: 0;
	background-color: #c7c6c6;
}

hr.blue {
	height: 6px;
	border: 0;
	background-color: #b9c1d4;
}

hr.orange {
	border: 0;
	background-color: #f49d07;
}



label {
    display: block;
    margin-top: 1.5em;
    font-size: 0.85em;
    font-weight: bold;
    padding-bottom: 0.2em;
}



legend{
    padding: 0 0.5em;
}

fieldset {
	padding:10px 10px 5px 10px;
	margin: 0px;
	border: 1px solid #ccc;
}

form {
	border: none;
	margin: 0;
}

input.text {
	width: 200px;
}

input.smalltext {
	width: 100px;
}

select, input {
	font-size: 85%;
}

input.button
{
}

input.button:active
{
}

td.altrow  {
	background: #f6f6f8;	
}

#hd {
	margin-bottom: 15px;
}

#content { 
	padding-left: 3px;
	padding-top: 10px;
}

#content p {
	line-height: 18px;
}

#content li {
	line-height: 15px;
	
}

#left-column, #right-column, #content, #ft {
	font-size: 92%;
}

#ft {
	padding-top: 20px;
	text-align: center;
}

.textbody {
	line-height: 18px;
}

#MainForm {
}

#frontpage-banner {
	padding: 5px;
}

#topmenu {
	position: relative;
	padding: 0px;
	margin: 0px;
	margin-bottom: 25px;
	height: 90px;
	/*background: transparent url(../images/yla_bck.gif) left top no-repeat;*/
	voice-family: "\"}\"";
	voice-family: inherit;
	color: white;
}

#logo {
	position: absolute;
	top: 10px;
}

#logoright {
	float: right;
}


#topnavigation {
	position: absolute;
	top: 85px;
	
}
#topnavigation span {
	padding-left: 0px;
	padding-right: 0px;
	text-decoration: none;
	
}
#topnavigation span.selected {
}


#contactfooter {
	color: #918e8e;
	padding-top: 10px;
	padding-left: 30px;
	padding-bottom: 5px;
	border-left: 1px solid #c5c8cb;
}

#leftmenu {  
	padding-top: 0px;
	padding-right: 10px;
	padding-left: 0px;
	padding-bottom: 10px;
}

#leftmenu ul {
	list-style-type: none;
	margin-left: 0px;
	margin-top: 2px;
	padding: 0px;
}

#leftmenu li {
	background: transparent url(../images/nuoli1.gif) left center no-repeat;
	margin-left: 0px;
	padding-left: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    list-style-position: outside;
}

#leftmenu li.first {
	background: transparent url(../images/nuoli_takaisin_paa.gif) left center no-repeat;
	margin-left: -3px;
	
}
#leftmenu li.first a {
	margin-left: 3px;
}

#leftmenu a.selected {
	font-weight: bold;
}

#leftmenu li.selected a {
	color : #660000;
}

#leftmenu a, a.active {
	font-weight: bold;
	text-decoration: none; 
}

#leftmenu a:hover {
	text-decoration: underline; 
}

#leftmenu li.menudepth1 {
	margin-left: 0px;
}

#leftmenu li.menudepth2 {
	margin-left: 10px;
}

#leftmenu li.menudepth3 {
	margin-left: 20px;
}

#leftmenu li.menudepth4 {
	margin-left: 25px;
}

#leftmenu li.menudepth5 {
	margin-left: 30px;
}

#leftmenu li.menudepth6 {
	margin-left: 25px;
}


#tabmenu {
	color: black;
	/*border-bottom: 2px solid black;*/
	margin: 0px 0px 0px 0px;
	padding: 0px;
	z-index: 1;
	padding-left: 10px 
}

#tabmenu li {
	display: inline;
	overflow: hidden;
	list-style-type: none; 
	background: none;
	padding-left: 0px;
}

#tabmenu a, a.active {
	color: black;
	background: #ccced2;
	padding: 2px 5px 0px 5px;
	margin: 0;
	text-decoration: none; 
}

#tabmenu a.active {
	background: #E3E4E9;
}

#tabmenu a:hover {
	color: #fff;
	background: #ADC09F; 
}

#tabmenu a:visited {
	/*color: #E8E9BE; */
}

#tabmenu a.active:hover {
	background: #ABAD85;
	/*color: #DEDECF; */
}

#content-updated {
	margin-top: 20px;
	color: #918e8e;
	font-size: 0.9em;
}

#copyright {
	display: inline;
	padding-left: 20px;
}

#bottommenu {
	font-weight: bold;
	display: inline;
	text-align: left;
	padding-left: 30px;
	
}

#bottommenu a:link {
	color: white;
	text-decoration: none;
}

#bottommenu a:visited {
	color: white;
	text-decoration: none;
}

#breadcrumb a:link {
	color: #1e1e1e;
	text-decoration: none;
}

#breadcrumb a:visited {
	color: #1e1e1e;
	text-decoration: none;
}

#sitemap li {
	background: transparent url(../images/nuoli_oranssi.gif) left center no-repeat;
}

#ffscrollbarfix {
	position: absolute;
	top: 0;
	bottom: -0.1px;
	width: 1em;
	z-index: -1;
}

/* CLASS styles */

/* user notification thing */
.usermessage {
	background-color: #ffce7b;
	border: 1px solid #ffa500;
	color: Black;
	font-weight: bold;
	margin: 2em 0em 1em 0em;
	padding: 0.5em 1em;
	vertical-align: middle;
}

.errormessage {
	color: red;
	font-weight: bold;
}

.errorinput {
	border: 1px solid red;
}

.item{
	display: inline;
}

.adminheading {
	background: #E3E4E9 url(../images/bg_header.jpg);
	font-weight: bold;
	padding: 5px;
	border-top: 10px;
}

.adminheading2 {
	background: #9FCBE8 url(../images/bg_header2.jpg);
	font-weight: bold;
	padding: 5px;
}

.adminheading2 a {
	color: black;
}

.scrollablepreview {
	 width:750px;
	 height:200px;
	 overflow:auto;
}

.sidecomponent {
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 10px;
}

.autocomplete {
	background-color: white;
	border: 1px solid #c5c8cb;
	width: 100%;
}

.EviaCheckBoxList label {
	display: inline;
	font-size:1.0em;
	font-weight: normal;
	padding-left: 5px;
	
}

#wfprofessionalpage {
	margin-left: 10px; 
	margin-right: 10px;
}



#fp-login {
	position: absolute;
	text-align: right;
	right: 20px;
	top: 40px;
	width: 400px;
	color: #000000;
}

#fp-login input {
	width: 100px;
}



/*  http://positioniseverything.net/easyclearing */

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}


/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
.dropshadow {background: #ebebeb;}
 
.dropshadow2 {background: #d8d8d8;}
 
.dropshadow3 {background: #c4c4c4;}

.dropshadow2, .dropshadow3, p {
  position: relative;
  left: -2px;
  top: -2px;
}
.controlmodalheading {
	padding-top:24px;
	background:url(../../eviacms/images/evia_yr02.gif) repeat-x;
}
#controlmodalheadtext {
	position:absolute;
	margin-right:2px;
	top:2px;
}
#controlmodalimage {
	background:url(../../eviacms/images/eviacms5_logo_s.png);
	position:absolute;
	margin:0px;
	right:1px;
	top:0px;
	width:94px;
	height:38px;
}

#puustapaivaform table { 
	margin-top: 10px;
}

#puustapaivaform td { 
	padding-top: 2px;
	padding-bottom: 2px;
}

#puustapaivaform input.text { 
	width: 350px;
}

#puustapaivaform input.button  { 
	background-color: #C0C0C0;
	border: 1px solid #808080;
	text-decoration: none;
	font-size: 9pt;
	font-weight: normal;
	font-style: normal;
	color: #000000;
  	margin-right: 0px;
  	padding-top: 2px;
  	padding-bottom: 2px;
  	padding-left: 20px;
  	padding-right: 20px;
  }

#puustapaivaform #painikefb { 
	background-color: #C0C0C0;
	border: 1px solid #808080;
	text-decoration: none;
	font-size: 9pt;
	font-weight: normal;
	font-style: normal;
	color: #000000;
  	margin-right: 10px;
  	padding-top: 2px;
  	padding-bottom: 2px;
  	padding-left: 20px;
  	padding-right: 20px;
  }

#puustapaivaform h1, h2, h3, h4 {
	margin-top: 10px;
	margin-bottom: 10px;
}

#pmpform table { 
	margin-top: 10px;
}

#pmpform td { 
	padding-top: 2px;
	padding-bottom: 2px;
}

#pmpform input.text { 
	width: 340px;
}

#pmpform input#firstname { 
	width: 130px;
}

#pmpform input#lastname { 
	width: 200px;
}

#pmpform input.button  { 
	background-color: #C0C0C0;
	border: 1px solid #808080;
	text-decoration: none;
	font-size: 9pt;
	font-weight: normal;
	font-style: normal;
	color: #000000;
  	margin-right: 0px;
  	padding-top: 2px;
  	padding-bottom: 2px;
  	padding-left: 20px;
  	padding-right: 20px;
  }

#pmpform #painikefb { 
	background-color: #C0C0C0;
	border: 1px solid #808080;
	text-decoration: none;
	font-size: 9pt;
	font-weight: normal;
	font-style: normal;
	color: #000000;
  	margin-right: 10px;
  	padding-top: 2px;
  	padding-bottom: 2px;
  	padding-left: 20px;
  	padding-right: 20px;
  }
  
  
#competionform h1, h2, h3, h4 {
	margin-top: 10px;
	margin-bottom: 10px;
}

#competionform table { 
	margin-top: 10px;
}

#competionform td { 
	padding-top: 2px;
	padding-bottom: 2px;
}

#competionform input.text { 
	width: 180px;
}

#competionform input.button  { 
  	margin-right: 0px;
  	padding-top: 2px;
  	padding-bottom: 2px;
  	padding-left: 20px;
  	padding-right: 20px;
  }