body {
	text-align: center;
	font-size: 62.5%;  /* make one 0.1em == 1px */
	font-family: arial, helvetica, sans-serif;
/*	background: #374754 url("img/bg-body.jpg") repeat-x; */
	background: #374754 url("img/bg-body.jpg") repeat-x 0 -68px;
}

ul, li, div, p, h1, h2, h3, a img {
	margin: 0;
	padding: 0;
	border: none;
}

a {
	color: #0083c3;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

#wrap {
	margin: 0 auto 0 auto;
	width: 982px;
	text-align: left;
}

h1 a
{
	color: #7B7C7E;
}

h1
{
	margin-bottom: 0.7em;
	color: #7B7C7E;
	font-size: 2em;
}

h2
{
	color: #7B7C7E;
	font-size: 1.3em;
}

h3
{
	margin-bottom: 0.7em;
	color: #7B7C7E;
	font-size: 1.17em;
}


/*
 *	HEADER
 */

#header {
	width: 982px;
/* 	height: 258px; */
	height: 190px;
	background: #2d4d5a url("img/bg-header.jpg") no-repeat center bottom;
}

#header ul {
	padding: 17px 0 0 107px;
}

#header ul li {
	display: inline;
	padding: 0 7px 0 0;
	list-style-type: none;
}

#header ul li a {
	color: #7B7C7E;
	text-transform: uppercase; 
	font-weight: bold;
	font-size: 1.1em;
}

a#header-rightsidetext {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding-left: 590px;
    position: absolute;
    top: 30px;
}

a#header-gohome {
	display: block;
	width: 327px;
	height: 84px;
	padding: 70px 0 0 75px;
/*	padding: 135px 0 0 75px; */
}

/*
 *	MAIN  (includes also the three columns)
 */

#main-wrapper {
	background: url("img/bg-main-wrapper.jpg") repeat-y;
}

#main {  
	background: url("img/bg-main.jpg") no-repeat;  
	height: auto !important;
	height: 690px; /* height is needed for proper background-image behaviour. */
	min-height: 690px;   /* min-height IE6 hack, visit http://www.dustindiaz.com/min-height-fast-hack/*/
}

#content {
	width: 486px;
	float: left;
	padding: 10px 0 0 75px;
}

body.frontpage #content-text {
	border-top: 1px solid #7c7f82;
	padding: 36px 15px 20px 11px;
	margin: 0 0 0 18px;
	font-family: verdana;
	font-size: 1.15em;
	color: #4B4B4D;
}

#content-text {
	padding: 7px 15px 20px 11px;
	margin: 0 0 0 18px;
	font-family: verdana;
	font-size: 1.15em;
	color: #4B4B4D;
}

#content-text ul{
	padding-left: 13px;
	margin-bottom: 13px;
}

#content-text ul.eventlist li{
	margin-bottom: 5px;
}


#content-text p {
	margin: 0 0 19px 0;
}

#rightside ul li {
	list-style-type: none;
	
}

img.front-graph {
	float: right;
	margin: 3px 0 0px 15px;
}

img.front-banner {
	float: right; 
	margin: 3px 15px 0 0px;
}

#front-links {
	width: 337px;
	height: 200px;
	padding-top: 10px;
}

#front-links h2 {
	text-transform: uppercase; 
	color: #369829;
	font-size: 1.1em;
	margin: 0 0 3px 32px;
	display: none;
}

#front-links a {
	display: block;
	text-transform: uppercase; 
	padding: 0 0 0 32px;
	color: #ffffff;
	line-height: 28px;
	font-size: 1.2em;
}

#user_upper_links_front-links-blue {
	height: 30px;
	background: url("img/bg-front-links-blue.jpg") no-repeat;
}

#user_upper_links_front-links-green {
	height: 28px;
	background: url("img/bg-front-links-green.jpg") no-repeat;
}

#user_upper_links_front-links-gray {
	height: 29px;
	background: url("img/bg-front-links-gray.jpg") no-repeat;
}

#user_upper_links_front-links-yellow {
	height: 29px;
	background: url("img/bg-front-links-yellow.jpg") no-repeat;
}

#front-links a#user_upper_links_front-links-white {
	color: #707172;
	height: 27px;
	background: url("img/bg-front-links-white.jpg") no-repeat left top;
}

#user_upper_links_front-links-black {
	height: 43px;
	background: url("img/bg-front-links-black.jpg") no-repeat left top;
}

#rightside {
	float: left;
	width: 286px;
	font-size: 1.2em;
}

#rightside a {
	color: #007ac2;
}

#rightside h2 {
	text-transform: uppercase; 
	color: #7B7C7E;
	font-size: 1.2em;
	margin: 18px 80px 4px 10px;
	font-weight: bold;
}

#rightside h2 a
{
	color: #7B7C7E;
}

#rightside-content ul {
	margin: 2px 80px 0 10px;
}

#rightside-content ul li a {
	display: block;
}	

#rightside-content ul li {
	font-size: 0.95em;
	list-style-type: none;
	margin: 0 0 12px 0;
}

#navi-second {
	margin: 13px 80px 30px 10px;
}

#navi-second li {
	margin: 0 0 6px 0;
}

#navi-second li {
	background: url("img/bg-sidebar-li.gif") no-repeat 0 2px;
	padding: 0 0 0 12px;
}

#navi-second li.selected {
	background: url("img/bg-sidebar-li-selected.gif") no-repeat 0 3px;
}

#navi-second li.selected a {
	color: #7b7c7e;
}

#navi-second li ul {
	margin: 4px 0 0 0;
}

#navi-second li ul li {
	background: none;
}

#navi-second li.selected ul li a {
	color: #0083c3;
}

#banners {
	float: left;
	width: 134px;
	padding: 27px 0 0 0;
}

#banners a {
	display: block;
	width: 135px;
}

a.banners-asiakaslehti {
	background: url("img/banners-asiakaslehti.jpg") no-repeat 0 0;
	height: 109px;
}

a.banners-kurssi {
	background: url("img/banners-kurssi.jpg") no-repeat 0 0;
	height: 113px;
}

a.banners-kayttaja {
	background: url("img/banners-kayttaja.jpg") no-repeat 0 0;
	height: 112px;
}

a.banners-uutiskirje {
	background: url("img/banners-uutiskirje.jpg") no-repeat 0 0;
	height: 136px;
}



/*
 *	FOOTER
 */	

#footer {
	background: url("img/bg-footer.jpg") no-repeat;
	height: 116px;
	color: #87888A;
}

#footer ul {
	padding: 17px 130px 0 0 ;
	text-align: center;
	height: 30px;
}

#footer li {
	font-size: 1.2em;
	padding: 0 10px 0 10px;
	display: inline;
	list-style-type: none;
}

#footer a {
	color: #87888A;
}

#part-of-sgroup {
	position: relative;
	top: 15px;
	left: 700px;
	
}

/*
 *	Clearfix  (see http://www.positioniseverything.net/easyclearing.html)
 */
 
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* kurssipalaute */

#wrap #main-wrapper #main #content #content-text .quickform label
{
    clear: both;
    display: block;
    padding-top: 5px;
}

#wrap #main-wrapper #main #content #content-text .quickform label input, #wrap #main-wrapper #main #content #content-text .quickform label textarea
{
    display: block;
}

#wrap #main-wrapper #main #content #content-text .quickform.selects label
{
    clear: both;
    display: block;
    padding-top: 15px;
}

#wrap #main-wrapper #main #content #content-text .quickform.selects label span.field_text
{
    width: 180px !important;
    text-align: right !important;
    float:left;
}

#wrap #main-wrapper #main #content #content-text .quickform.selects label select
{
    float:left;
    margin-left: 20px;
    margin-top: -7px;
}

#wrap #main-wrapper #main #content #content-text .quickform
{
    margin-bottom:10px;
}

#wrap #main-wrapper #main #content #content-text form.datamanager .quickform #midcom_helper_datamanager_field_asiakastyyppi_fieldset label
{
    display: block;
}

#wrap #main-wrapper #main #content #content-text form.datamanager .quickform #midcom_helper_datamanager_field_asiakastyyppi_fieldset input.radiobutton
{
    margin-top: 0px;
}

#wrap #main-wrapper #main #content #content-text form.datamanager .quickform legend
{
    margin: 0 0 5px -4px;
    margin-bottom: 5px;
    font-size: 1.4em;
    color: #000;
}

#wrap #main-wrapper #main #content #content-text form.datamanager #midcom_helper_datamanager_field_kehitysideoita_label
{
    padding-left: 10px;
}

#wrap #main-wrapper #main #content #content-text form.datamanager .quickform input.shorttext,
#wrap #main-wrapper #main #content #content-text form.datamanager .quickform textarea,
#wrap #main-wrapper #main #content #content-text form.datamanager #midcom_helper_datamanager_field_kehitysideoita_label textarea
{
    padding: 2px;
    border: 1px solid #baccdd;
    width: 400px;
}

#wrap #main-wrapper #main #content #content-text form.datamanager .quickform textarea,
#wrap #main-wrapper #main #content #content-text form.datamanager #midcom_helper_datamanager_field_kehitysideoita_label textarea
{
    height: 250px;
}

#wrap #main-wrapper #main #content #content-text h1 p.error
{
	font-size: 0.5em;
	margin-bottom: 10px !important;
}

.midcom_datamanager_fieldgroup
{
    clear: both;
}

