html {
	height: 100%;
}

body {
	font-family: arial, georgia, serif; 
	background: #fff;
	font-size: 13px;
	margin:0;
	padding:0;
	border-top: #006a8c 3px solid;
	min-height: 100%;
}

/* for Internet Explorer */
/*\*/
* html body {
	height: 100%;
}
/**/
	
form#MainForm {
	margin: auto; 
	min-height: 100%;
}

/* for Internet Explorer */
/*\*/
* html form#MainForm {
	height: 100%;
}
/**/

#doc {
	position:relative;
	margin: auto; 
	background: url(../images/site_bg.jpg) repeat-x left bottom;
	min-height: 90%;
}

/* for Internet Explorer */
/*\*/
* html #doc {
	height: 90%;
}
/**/

#wrapper {
	margin: auto; 
	width: 960px;
	/*background: url(perhonen_p.gif) no-repeat right top;*/
}

#hd {
	position: relative; 
	height: 180px;
}

#hd #search {

}

#hd #helpmenu #search .q {
	border-bottom: #ccc 1px solid; 
	border-left: #ccc 1px solid; 
	padding-bottom: 4px; 
	padding-left: 4px; 
	width: 240px; 
	padding-right: 4px; 
	color: #006a8c; 
	border-top: #ccc 1px solid; 
	border-right: #ccc 1px solid; 
	padding-top: 4px; 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
}

#hd #helpmenu #search .q:hover {
	border-bottom: #4cadcc 1px solid; 
	border-left: #4cadcc 1px solid; 
	border-top: #4cadcc 1px solid; 
	border-right: #4cadcc 1px solid;
}

#hd #helpmenu #search .q:focus {
	border-bottom: #006a8c 1px solid; 
	border-left: #006a8c 1px solid; 
	border-top: #006a8c 1px solid; 
	border-right: #006a8c 1px solid;
}

#hd #helpmenu #search .go {
	border-bottom: medium none; 
	border-left: medium none; 
	background: white; 
	color: #4cadcc; 
	border-top: medium none; 
	cursor: pointer; 
	font-weight: bold; 
	border-right: medium none;
}

#hd #helpmenu #search .go:hover {
	color: #006a8c
}

#hd #helpmenu {
	clear:both;
	float:right;
	font-family: arial; 
	color: #ccc; 
	font-size: 11px; 
	margin-top:10px;
}

#hd #helpmenu a {
	color: #b9b9b9; 
	margin-right: 5px;
}

#hd #helpmenu a:hover {
	color: #006a8c;
}

#hd #logo {
	position: absolute; 
	top: 30px; 
	left: 5px;
}

#navigation ul {
	border-bottom: #006a8c 1px solid; 
	padding-bottom: 0px; 
	margin: 10px 0px 0px; 
	padding-left: 0px; 
	padding-right: 0px; 
	height: 32px; 
	padding-top: 0px;
}

#navigation ul li {
	display: block; 
	float: left;
}

#navigation ul li a {
	padding-bottom: 8px; 
	padding-left: 0px; 
	padding-right: 0px; 
	display: block; 
	font-family: arial, sans-serif; 
	float: left; 
	height: 16px; 
	color: #006a8c; 
	margin-left: 10px; 
	font-size: 14px; 
	margin-right: 20px; 
	padding-top: 8px;
}

#navigation ul li a:hover {
	text-decoration: underline;
}

#navigation ul li.selected a {
	border-bottom: medium none; 
	border-left: #006a8c 1px solid; 
	padding-left: 8px; 
	padding-right: 8px; 
	border-top: #006a8c 1px solid; 
	font-weight: bold; 
	border-right: #006a8c 1px solid;
	background-color: #ffffff;
	-moz-border-radius-topleft: 5px; 
	-webkit-border-top-left-radius: 5px; 
	-moz-border-radius-topright: 5px; 
	-webkit-border-top-right-radius: 5px;
}

img {
	border-bottom: 0px; 
	border-left: 0px; 
	border-top: 0px; 
	border-right: 0px;
}

button img {
	margin-right: 5px;
}

div.bigger_link {
	text-align: center;
}

div.bigger_link:hover {
	text-decoration: underline;
}

div.as_huomiolaatikko {
	border-bottom: #aaa 1px solid; 
	border-left: #aaa 1px solid; 
	padding-bottom: 15px; 
	background-color: #eee; 
	padding-left: 15px; 
	padding-right: 15px; 
	border-top: #aaa 1px solid; 
	border-right: #aaa 1px solid; 
	padding-top: 15px;
}

a {
	color: #006a8c; 
	text-decoration: none;
}

a:hover {
	color: #006a8c;
}

h1 {
	font-size: 24px;
	font-family: arial, sans-serif; 
	color: #cc071e; 
	font-weight: bold;
	margin-bottom: 15px;
	line-height:27px;
}

h2 {
	font-size: 22px;
	font-family: arial, sans-serif; 
	color: #cc071e; 
	font-weight: bold;
	line-height:25px;
}

h3 {
	line-height: 1.5em; 
	font-family: arial, sans-serif; 
	color: #4a4a4a; 
	font-size: 18px; 
	font-weight: normal;
}


div.news_item h2 {
	font-weight: normal;
}

#content_fp {
	clear:both;
	display: block; 
	padding-bottom: 30px; 
	line-height: 1.6em; 
	margin-top: 30px; 
	border:0px solid #000000;
}

#content_fp .content-container h1, #content .content-container h1  {
	margin-top: 0px; 
}

#content {
	clear:both;
	display: block; 
	padding-bottom: 30px; 
	line-height: 1.6em; 
	margin-top: 5px; 
	border:0px solid #000000;
	min-height: 300px;
}

/* for Internet Explorer */
/*\*/
* html #content {
	height: 300px;
}
/**/

.content-container {
	clear:both;
}

.content-container p {
	margin-top:10px;
	margin-bottom:10px;
}

.content-container #filefolder table td {
	line-height: 1.3em; 
}

#newsarea {
	clear:both;
	background: url(../images/news_bck.gif) no-repeat;
	border:0px solid #000000;
}

#left-front {
	clear:both;
	float:left;
	width: 460px;
	border:0px solid #000000;
}

#right-front {
	float:left;
	margin-left: 40px;
	width: 460px;
	border:0px solid #000000;
}

.uutispalsta {
	padding-left:15px;
	padding-right:15px;
	padding-top:0px;
	padding-bottom:10px;
}

h2.palsta {
	margin-top:10px;
	color: #006a8c; 
	font-size: 18px;
	line-height:21px;
}

p.ingressi {
	font-size: 12px;
}

a.more {
	display: block; 
	margin-bottom: 15px;
}

.news_item {
	font-size: 11px;
}

.news_item h2 {
	font-family: arial, georgia, serif; 
	margin-bottom: 4px !important; 
	font-size: 13px;
	color: #006a8c;
	line-height:16px;
}

.wrap {
	float: left;
}

#left-wrap {
	width: 155px;
	margin-left: 10px;
	overflow: hidden;
	border: 0px solid #999999;
	min-height: 300px;
}

/* for Internet Explorer */
/*\*/
* html #left-wrap {
	height: 300px;
}
/**/

#main-wrap {
	width: 560px;
	margin-left: 20px;
	border: 0px solid #999999;
}

#right-wrap {
	float:left;
	width: 185px;
	margin-left: 20px;
	border: 0px solid #999999;
	_float: right;
	_width: 260px;
	_margin-left: 0px;
}

#footer {
	clear:both;
	bottom:0;
	width:100%;
	height:10%;   /* height of the footer */
	background-color: #002734;
	margin:0px;
	padding-bottom: 35px; 
	padding-left: 0px; 
	padding-right: 0px; 
	padding-top: 20px;
	font-family: arial; 
	color: white; 
}

#footertext {
	width:960px;
	padding: 0px;
	border:0px solid #ffffff;
	margin-left: auto;
	margin-right: auto;
}

#footertext .login {
	float:right;
}


#calendar_header {
	font-size: 15px; 
	text-indent: 0px;
	color: #000000;
	margin-top: 2px
}

#calendar_date {
	font-size: 10px; 
	color: #000000;
	margin-top: 10px
}

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

input.text {
	width: 200px;
}

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

input.button {
	width:auto;
	border: #ccc 1px solid; 
	background: white; 
	color: #4cadcc; 
	cursor: pointer; 
	font-weight: bold; 
}

input.button:active {
	border: 3px double #CCCCCC;
	border-top-color: #999999;
	border-left-color: #999999;
}

input.button:disabled {
	border: 3px double #CCCCCC;
}

td  {
	font-size: 12px;	
}

th  {
	font-size: 13px;	
}

td.altrow  {
	background: #f6f6f8;	
}

#breadcrumbarea {
	font-size: 90%;
	height:10px;
	margin-bottom:15px;
	margin-top:5px;
	border: 0px solid #000000;
}

#breadcrumb {
	display:inline;
	font-size: 90%;
	color: #000000;
	margin-left: 185px;
	border: 0px solid #000000;
}

#breadcrumb a {
	display:inline;
	text-decoration: none;
	color: #00578c;
}


#newsgroup-view h3 {
	color: #006a8c;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 2px;
	margin-bottom: 2px;
	padding: 0px;
	border: 0px solid #000000;
}

#newsgroup-view .intro {
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
	border: 0px solid #000000;
}

.readmore {
	margin-top: 3px;
	margin-bottom: 12px;
	font-size: 90%;
}

.readmore a {
	text-decoration: none;
}

#newsgroup-listmore {
	line-height:1.6em;
}

#filefolder th {
	background: #006a8c;
	font-size: 11px;
	color: #ffffff;
	padding-left: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
}

#filefolder td {
	background: #ffffff;
	font-size: 11px;
	padding-left: 5px;
}

#left-wrap ul {
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;

}

#left-wrap a {
	text-decoration: none;
	color: #00578c;
}

#left-wrap .selected a {
	color: #cc071e;
}

#left-wrap li.menudepth1 {
	list-style: none;
	margin-left: 0px;
	margin-top: 3px;
	margin-bottom: 3px;
	padding:0px;
	font-weight: normal;
	border: 0px solid #000000;
}

#left-wrap li.menudepth2 {
	list-style: none;
	margin-left: 15px;
	margin-top: 3px;
	margin-bottom: 3px;

}

#left-wrap li.menudepth3 {
	list-style: none;
	margin-left: 30px;
	margin-top: 3px;
	margin-bottom: 3px;
}

#left-wrap li.menudepth4 {
	list-style: none;
	margin-left: 45px;
	margin-top: 3px;
	margin-bottom: 3px;
}

#sitemap .menudepth0 {
	list-style: none;
	margin-left: 0px;
}

#sitemap .menudepth1 {
	margin-left: 20px;
}

#sitemap .menudepth2 {
	margin-left: 40px;
}

#sitemap .menudepth3 {
	margin-left: 60px;
}


.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: ;
	padding-left: 0;
}

.tabmenu a, a.active {
	color: black;
	background: #ccced2;
	/*font: bold 1em "Trebuchet MS", Arial, sans-serif;*/
	/*border: 2px solid black;*/
	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; */
}

.tabmenu img{
	border:0;
}

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

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

.contentPager {
	padding: 5px;
	text-align: center;
	
}

.contentPager a {
	text-decoration: none;
}

.contentPager a.selected {
	font-weight: bold;
}

.errormessage {
	color: #c60000;
	}
	
#searcharea input {
	border-bottom: #ccc 1px solid; 
	border-left: #ccc 1px solid; 
	padding-bottom: 4px; 
	padding-left: 4px; 
	width: 240px; 
	padding-right: 4px; 
	color: #006a8c; 
	border-top: #ccc 1px solid; 
	border-right: #ccc 1px solid; 
	padding-top: 4px; 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
}

#searcharea .input:hover {
	border-bottom: #4cadcc 1px solid; 
	border-left: #4cadcc 1px solid; 
	border-top: #4cadcc 1px solid; 
	border-right: #4cadcc 1px solid;
}

#searcharea input:focus {
	border-bottom: #006a8c 1px solid; 
	border-left: #006a8c 1px solid; 
	border-top: #006a8c 1px solid; 
	border-right: #006a8c 1px solid;
}

#searcharea input.button {
	width:auto;
	margin-left:5px;
	border: #ccc 1px solid; 
	background: white; 
	color: #4cadcc; 
	cursor: pointer; 
	font-weight: bold; 
}

#searcharea input.button:hover {
	color: #006a8c
}


#CompaniesSearchPage .textbody ul {
	margin-left:0px;
}

#CompaniesSearchPage .textbody ul li {
	list-style-type:square;
	color: #ffd718;
}

#CompaniesSearchPage .textbody a {
	text-decoration: underline;
}

#CompaniesSearchPage a {
	text-decoration: none;
}

#CompaniesSearchPage input[type=text] {
	border-bottom: #ccc 1px solid; 
	border-left: #ccc 1px solid; 
	padding-bottom: 4px; 
	padding-left: 4px; 
	width: 240px; 
	padding-right: 4px; 
	color: #006a8c; 
	border-top: #ccc 1px solid; 
	border-right: #ccc 1px solid; 
	padding-top: 4px; 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
}

#CompaniesSearchPage input[type=text]:hover {
	border-bottom: #4cadcc 1px solid; 
	border-left: #4cadcc 1px solid; 
	border-top: #4cadcc 1px solid; 
	border-right: #4cadcc 1px solid;
}

#CompaniesSearchPage input[type=text]:focus {
	border-bottom: #006a8c 1px solid; 
	border-left: #006a8c 1px solid; 
	border-top: #006a8c 1px solid; 
	border-right: #006a8c 1px solid;
}

#CompaniesSearchPage select {
	display:block;
	margin-top:5px;
	font-size: 12px;
	width:255px;
	line-height:16px;
}

#CompaniesSearchPage input.button, #CompaniesgroupFeedbackText input.button {
	width:auto;
	border: #ccc 1px solid; 
	background: white; 
	color: #4cadcc; 
	cursor: pointer; 
	font-weight: bold; 
}

#CompaniesSearchPage #search-results-count {
	clear:both;
	margin-top:20px;
}

#CompaniesgroupFeedback table {
	padding-bottom:3px;
}

#CompaniesgroupFeedback td {
	padding-bottom:3px;
}

table.EviaCheckBoxList {
	width:100%;
	border:0px solid #000000;
}

table.EviaCheckBoxList td {
	width:50%;
}

#CompaniesgroupFeedbackTitle input[type=text] {
	width:420px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

#CompaniesgroupFeedbackText {
	border:0px solid #000000;
	margin-top:15px;
}

#CompaniesgroupFeedbackText input[type=text] {
	width:420px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

#CompaniesgroupFeedbackText textarea {
	width:420px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

#CompaniesSearchPage, #CompaniesgroupFeedback {
	border:0px solid #000000;
	margin-bottom:0px;
}
             
#Companycard h1 {
	margin-left:0px;
}

#Companycard textarea {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

#Companycard p {
	margin-top:7px;
	margin-bottom:7px;
}

#Companycard fieldset {
	margin:0px;
}

#Companycard table.hanke {
	width:600px;
	border-width: 0 1px 1px 1px;
	border-color:#cdcdcd;
	border-style:solid;
	border-spacing: 0;
}

#Companycard table.hanke td {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color:#cdcdcd;
	vertical-align: top;
	padding-left:5px;
	padding-top:5px;
	padding-bottom:5px;
}

#Companycard table.hanke td#notableborders {
	border-width: 0px 0 0 0;
	border-style: solid;
	border-color:#575251;
	vertical-align: top;
	padding-left:5px;
	padding-right:5px;
}

.hanke label {
	margin-top: 0px;
	font-weight: bold;
	padding-bottom: 0.2em;
}

.hanke input {
	margin:1px;
}

.hanke input.text {
	width: 300px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

#Companycard table.EviaCheckBoxList tr td {
	border:0;
	padding-top:0px;
	padding-bottom:0px;
}

.prototip .default .content {
	width:240px;
	margin:auto;
}

fieldset {
	clear:both;
	padding-left: 15px;
	padding-right: 5px;
	margin-bottom: 10px;
}

legend {
	color: #575251;
	font-size: 14px;
	font-weight: bold;
	padding-left: 1px;
	padding-right: 2px;
	margin-left:0px;
	margin-top:10px;
	margin-bottom: 5px;
	border: 0px solid #000000;
	background-color: transparent;
}

table thead th {
	text-align:left;
	background: #f6f6f6;
	border-right: 1px solid #fff;
	padding-left: 2px;
}

th.sortable {
	cursor: pointer;
	background: #f6f6f6 url(../images/down_up.gif) center right no-repeat;
}

.EviaCheckBoxList {
	margin-top:10px;
}

.EviaCheckBoxList label {
	display: inline;
	vertical-align: middle;
}

.EviaCheckBoxList .checkbox {
	display:inline;
	margin-right: 5px;
	vertical-align: middle;
}

.controlmodalheading {
	padding-top:24px;
	background:url(../images/evia_yr02.gif) repeat-x;
}

#controlmodalimage {
	background:url(../images/eviacms5_logo_s.png);
	position:absolute;
	margin:0px;
	right:1px;
	top:0px;
	width:94px;
	height:38px;
}

#controlmodalheadtext {
	position:absolute;
	margin-left:2px;
	top:4px;
	color: #FFFFFF;
	font-weight:bold;
}
