body {
	font: 76% Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 0;
}

/* layout */

div#wrap {
	width: 900px;
}

div#leftcol {
	background: url(../images/bg_grad.jpg) repeat-x;
	float: left;
	padding: 0 0 20px 16px;
	width: 126px;
}

div#centercol {
	background: url(../images/bg_grad.jpg) repeat-x;
	float: left;
	width: 573px;
}

div#path {
	color: #767573;
	margin: 0 13px;
}

div#content {
	background: #fff;
	margin: 0 13px;
	padding: 17px 20px 17px 10px;
}

div.boksi-konsultointi {
	background: url(../images/bg_boksi_konsultointi.jpg) no-repeat;
	float: left;
	margin: 50px 0 0 0px;
	width: 170px;
}

div.boksi-koulutuspalvelut {
	background: url(../images/bg_boksi_koulutuspalvelut.jpg) no-repeat;
	float: left;
	margin: 50px 0 0 0px;
	width: 170px;
}

div.boksi-julkaisut {
	background: url(../images/bg_boksi_julkaisut.jpg) no-repeat;
	float: left;
	margin: 50px 0 0 0px;
	width: 170px;
}

div#rightcol {
	background: url(../images/bg_grad_rightcol.jpg) no-repeat;
	float: left;
	width: 185px;
}

div.rightboksi {
	background: url(../images/bg_rightcol_dots.jpg) no-repeat;
	padding: 7px 15px;
}

div#footer {
	background: url(../images/bg_footer.jpg) no-repeat;
	clear: left;
	height: 118px;
	margin: 20px 0;
}

/* main menu */

ul#mainmenu {
	background: #fff;
	list-style: none;
	margin: 37px 0 20px 0;
	padding: 0;
}

ul#mainmenu li a {
	color: #000;
	border-bottom: 1px #767573 dotted;
	display: block;
	padding: 6px;
}

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

ul#mainmenu li.selected a {
	color: #D8001D;
}

ul#mainmenu ul {
	list-style: none;
	margin: 00;
	padding: 0;
}

ul#mainmenu ul li li a {
	color: #000 !important;
	border-bottom: none;
	display: block;
	padding: 6px 6px 0 24px;
font: 86% Helvetica, Arial, sans-serif;
}

ul#mainmenu ul li li a:hover {
	color: #D8001D !important;
}

ul#mainmenu ul li a {
	color: #000 !important;
	border-bottom: none;
	display: block;
	padding: 6px 6px 0 16px;
}

ul#mainmenu ul li a:hover {
	color: #D8001D !important;
}

li.submenu-last {
padding-bottom:6px;
	border-bottom: 1px #767573 dotted;
}

/* links */

a {
	color: #D8001D;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a.briefly {
	/*color: #00508D;*/
	color: #D8001D;
	text-decoration: none;
}
a:hover.briefly {
	/*color: #00508D;*/
	color: #D8001D;
	text-decoration: underline;
}


div#content a {
     text-decoration: none;
}

div#content a:hover {
	text-decoration: underline;
}

div#path a {
	color: #767573;
}

div#path a:hover {
	color: #D8001D;
text-decoration: underline;
}

div.boksi-konsultointi a, div.boksi-koulutuspalvelut a, div.boksi-julkaisut a {
	color: #000;
	display: block;
	padding: 0 5px 15px 15px;
	width: 145px;
}

div.boksi-konsultointi a:hover, div.boksi-koulutuspalvelut a:hover, div.boksi-julkaisut a:hover  {
	text-decoration: underline;
}

div#rightcol a {
     text-decoration: none;
}

div#rightcol a:hover {
	text-decoration: underline;
}

/* headings */

div#content h1 {
	color: #000000;
	font-size: 1.4em;
font-weight: normal;
	margin: 0 0 10px 0;
	padding: 0;
}

h2 {
	font-size: 1.4em;
font-weight: normal;
	margin: 0;
	padding: 0;
}

div#content h2 {
	font-size: 1.2em;
font-weight: normal;
}

div#content h3 {
	font-size: 1.1em;
}

div#content h4, div#content h5, div#content h6 {
	font-size: 1em;
}

div.boksi-konsultointi h2 {
	color: #00aba3;
font-weight: normal;
	padding: 15px 5px 0 15px;
}

div.boksi-konsultointi h2 a {
color: #00aba3;
padding: 0;
}

div.boksi-koulutuspalvelut h2 {
	color: #00a44d;
font-weight: normal;
	padding: 15px 5px 0 15px;
}

div.boksi-koulutuspalvelut h2 a {
color: #00a44d;
padding: 0;
}

div.boksi-julkaisut h2 {
	color: #b27a45;
font-weight: normal;
	padding: 15px 5px 0 15px;
}

div.boksi-julkaisut h2 a {
color: #b27a45;
padding: 0;
}

div#leftcol h2 {
	font-size: 1em;
	font-weight: normal;
	height: 20px;
line-height: 18px;
	margin: 0;
	padding: 0;
}

div#rightcol h2 {
	background: url(../images/bg_rightcol_nodots.jpg) no-repeat;
	color: #D8001D;
font-weight: normal;
	padding: 15px;
	padding-bottom: 5px;
}

div#rightcol h3 {
	color: #D8001D;
	font-size: 1em;
	margin-bottom: 5px;
}

h3 {
	margin: 0;
	padding: 0;
}

/* text */

p {
	margin: 0;
	padding: 0;
}

div#leftcol p {
	margin-left: 5px;
}

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

div.rightboksi p {
	margin-bottom: 10px;
line-height: 18px;
}

div#path p {
	line-height: 37px;
}

/* forms */

div#leftcol form {
	background: url(../images/bg_leftcolform.jpg) repeat-x;
	height: 87px;
	margin-top: 40px;
	padding: 5px;
	padding-top: 0;
}

div#leftcol label {
	color: #767573;
	display: block;
	font-size: 0.9em;
	margin-top: 3px;
}

div#leftcol input {
	color: #767573;
	font-size: 0.9em;
	width: 75px;
}

div#rightcol form {
	margin-top: 6px;
	height: 31px;
}

div#rightcol input {
	color: #767573;
width: 130px;
}

input.inputbtn {
	width: auto !important;
}
.news {
	margin: 0;
	padding: 0;
	font-size: 1em;	
}
.pvm {
	font-size: 0.9em;	
}
.newstext {
	margin: 0;
	padding: 0;
}
.date {
	font-size: 0.9em;
	color: #767573;
}
.error {
	color: red;
}
.feedform_error {
	color: red;
	margin-bottom: 15px;
}

