/*
Basic color blue:   #00539b
Basic color gray:   #9b9b9b
Basic color yellow: #fff0c1
*/


/*
   STANDARD STYLES
   ===============
*/

A IMG {
	border: 0;
}

A {
	color: #00539b;
	text-decoration: none;
}

.clickable {
	color: #00539b;
	cursor: pointer;
}

A.arrow {
	padding-left: 8px;
	background: transparent url(../img/link_arrow_bg.png) left center no-repeat;
}

A.block {
	margin: 1em 0;
}

A:hover {
	text-decoration: underline;
}

P {
	color: #323232;
}

FORM,
FIELDSET {
	margin: 0;
	border: 0;
	padding: 0;
}

INPUT.value-as-label {
	color: #aaa;
}

UL.flat {
	list-style: none none;
	padding: 0;
	margin: 0;
}

UL.flat LI {
	padding: 0;
	margin: 1em 0;
}

UL.loose LI {
	margin: 2em 0;
}

.link_button {
	display: block;
	height: 25px;
	padding-left: 26px;
	background: #f3f3f3 url(../img/link_button_left_bg.png) left top no-repeat;
}

#content .non-important {
	color: #aaa;
}

.link_button A {
	display: block;
	height: 25px;
	padding-right: 14px;
	background: #f3f3f3 url(../img/link_button_right_bg.png) right top no-repeat;
}

.product_intro {
	color: #898989;
	padding-bottom: 1em;
	background: transparent url(../img/dot_bg.png) left bottom repeat-x;
}

.product_intro H1 {
	color: #777;
	font-weight: normal;
	font-family: arial, helvetica;
	margin: 2px 0;
}

.product_intro H2 {
	color: #00539b;
	font-weight: bold;
	font-family: arial, helvetica;	
	font-size: 100%;
	border-bottom: 3px solid #00539b;
	margin: 2px 0 0 0;
	padding-bottom: 2px;
}

.product_intro IMG {
	margin: 3px 0;
}

.product_intro A {
	padding-left: 8px;
	background: url(../img/link_arrow_bg.png) left center no-repeat;
}

#main #content #center H1 {
	font-size: 180%;
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
	background: url(../img/dot_bg.png) left bottom repeat-x;
}

#main #content #center H2 {
	font-size: 140%;
}


/*
   MAIN ELEMENTS
   =============
*/

BODY {
	padding: 0;
	margin: 0;
	font-family: arial, helvetica, sans-serif;
	font-size: 0.8em;
	background: #e7e5e0 url(../img/body_bg.png) repeat-x;
	color: #323232;
	white-space: normal;
	text-align: center; /* IE hack */
}

#root {
	width: 970px;
	margin: 28px auto;
	padding: 0 10px;
	position: relative;
	text-align: left; /* IE hack */
}

#logo {
	position: absolute;
	top: 0;
	left: 15px;
}

#helper_navi {
	height: 20px;
	line-height: 20px;
	margin: 0 0 22px 0;
	color: #c2c2c2;
	text-align: right;
	position: relative;
}

#helper_navi SPAN {
	margin: 0 1em;
	color: #707070;
	line-height: 20px;
}

#helper_navi #brands {
/* 	margin-right: 150px; */
	margin-right: 15px;
}

#helper_navi FORM,
#helper_navi FIELDSET,
#helper_navi SELECT {
	display: inline;
}

#helper_navi .select_wrapper {
	background: url(../img/select_bg.png) no-repeat;
	width: 142px;
	height: 20px;
	float: left;
	margin-bottom: -6px;
/*	position: absolute;
	top: 0;
	right: 0; */
}

#helper_navi #select_edustukset {
	background: url(../img/select_bg_edustus.png) no-repeat;
}
#helper_navi #select_ratkaisut {
	background: url(../img/select_bg_ratkaisu.png) no-repeat;
}

BODY.en #helper_navi .select_wrapper {
	background: url(../img/select_bg_en.png) no-repeat;
}

#helper_navi SELECT {
	opacity: 0;
	filter: alpha(opacity=0);
	width: 142px;
	height: 20px;
	cursor: pointer;
	margin: 0;
}

#helper_navi A {
	color: #707070;
}

#helper_navi A:hover {
	color: #00539b;
}

#navi_1st_level {
	margin: 0 0 0 177px;
	padding: 0;
	height: 28px;
	list-style: none;
}

BODY.en #navi_1st_level {
	margin: 0 0 0 195px;
}

#navi_1st_level LI {
	float: left;
	height: 28px;
	padding: 0 0 0 14px;
}

#navi_1st_level LI A {
	display: block;
	float: left;
	height: 19px;
	color: #7d7d7d;
	padding: 9px 14px 0 0;
}

#navi_1st_level LI.current {
	background: #cfcfcf url(../img/navitab_left_bg.png) left top no-repeat;
}

#navi_1st_level LI.current A {
	background: #cfcfcf url(../img/navitab_right_bg.png) right top no-repeat;
}

#navi_2nd_level {
	height: 35px;
	background: #818181 url(../img/2nd_navi_bg.jpg) no-repeat;
	list-style: none;
	margin: 0;
/*	padding: 0 0 0 177px; */
	padding: 0 0 0 77px;
}

#navi_2nd_level LI {
	float: left;
	padding: 0 14px;
	margin: 0;
	line-height: 35px;
	background: url(../img/2nd_navi_separator.png) right center no-repeat;
}

#navi_2nd_level LI.current {
	background: url(../img/2nd_navi_current_bg.png) right center no-repeat;
}

#navi_2nd_level LI A {
	color: #fff;
	/*font-size: 85%;*/
	font-size: 11px;
	font-family: verdana;
	white-space: nowrap;
}

/* EDUSTUKSET
   ========== */
#navi_2nd_level LI {
	position: relative;
}
#navi_2nd_level li ul li {
	list-style-type: none;
	background: none;
	margin-left: -25px;
	clear: both;	
	margin-left: -40px;
	*margin-left: 0px;
}
#navi_2nd_level li ul li.current {
	background: none;
}
.navi_2nd_level_sub {
	background: #444444;
	position: absolute;
	margin-left: -2px;
	margin-top: -1px;
	*margin-top:24px;
	left: 0;
}
.current ul.navi_2nd_level_sub {
	background: #b2b2b2;
	margin-left: 0;
}

#navi_3rd_level, .navi_3rd_level {
	list-style: none;
	margin: 0 0 30px 0;
	padding: 21px 0 0 0;
	background: #fff url(../img/diagonal_stripe_pattern.png) repeat-x;
}

#navi_3rd_level LI, .navi_3rd_level LI {
	background: #f0f0f0;
	border-bottom: 1px solid #fff;
}

#navi_3rd_level LI A.current, .navi_3rd_level LI A.current {
	background: #fff;
	border-bottom: 1px solid #fff;
	color: #2373b9;
}

#navi_3rd_level LI.level_4,
#navi_3rd_level LI.level_5,
#navi_3rd_level LI.level_6, .navi_3rd_level LI.level_4 {
	background: #eaf5fc;
	border-bottom: 1px solid #fff;
	color: #2373b9;
}

#navi_3rd_level LI.level_4 A,
#navi_3rd_level LI.level_5 A,
#navi_3rd_level LI.level_6 A, .navi_3rd_level LI.level_4 A {
	border-left: 3px solid #474747;
}

#navi_3rd_level LI A, .navi_3rd_level LI A {
	display: block;
	border-left: 3px solid #b5b5b5;
	padding: 5px 0 5px 1em;
	color: #444;
}

#navi_3rd_level LI.current A, .navi_3rd_level LI.current A {
	color: #00539b;
	border-left: 3px solid #00539b;
}

#navi_3rd_level LI.level_4 A, .navi_3rd_level LI.level_4 A { padding-left: 2em; }
#navi_3rd_level LI.level_5 A { padding-left: 3em; }
#navi_3rd_level LI.level_6 A { padding-left: 4em; }


#main {
	padding: 0 5px 5px 5px;
	background: #fff url(../img/main_bg.png) no-repeat;
	min-height: 330px;
}

#main #breadcrumb {
	border-top: 6px solid #fff;
	border-bottom: 3px solid #d0d0d0;
	background: #fff url(../img/breadcrumb_icon.png) center left no-repeat;
	padding: 10px 0 10px 23px;
}

#main #breadcrumb A {
	color: #777;
	text-decoration: underline;
}

#main #breadcrumb A:hover {
	color: #00539b;
}

#main #content {
	margin: 0 20px 10px 20px;
	background: url(../img/content_bg.png) repeat-y;
}

#main #content #left {
	float: left;
	width: 223px;
	min-height: 400px;
}

#main #content #center {
	float: left;
	width: 637px;
	padding: 21px 0 10px 40px;
}

#main #content #center #center_top {
	margin: 7px 0;
}

#main #content #center #last_modified {
	padding: 7px 0;
	background: url(../img/dot_bg.png) left bottom repeat-x;
	color: #999;
}

#main #content #center #center_left {
	float: left;
	width: 448px;
}

#main #content #center #center_right {
	float: right;
	width: 178px;
}

#main #footer {
	height: 2em;
	line-height: 2em;
	background: #d2cfcd;
	text-align: center;
	color: #fff;
}

#main #footer A,
#main #footer SPAN {
	font-family: tahoma, helvetica;
	font-size: 75%;
	color: #fff;
	text-transform: uppercase;
	padding: 0 1em;
}


/*
   FRONTPAGE STYLES
   ================
*/

#main #frontpage_content_top {
	height: 309px;
	padding: 0 0 1px 0;
	border-bottom: 2px solid #9b9b9b;
	overflow: hidden;
}

#main #frontpage_content_top .col {
	float: left;
	width: 240px;
	overflow: hidden;
}

#main #frontpage_content_bottom {
	padding: 12px 0 35px 0;
}

#main #frontpage_content_bottom .col {
	float: left;
	padding: 9px;
	min-height: 200px;
	width: 200px;
	color: #777777;
	font-size: 87%;
	font-family: verdana, sans-serif;
}

#main #frontpage_content_bottom #col_3 { width: 274px }
#main #frontpage_content_bottom #col_4 { width: 198px }

#main #frontpage_content_bottom .col H2 {
	color: #00539b;
	font-weight: normal;
	text-transform: uppercase;
	margin: 2px 0 10px 0;
	font-size: 100%;
}

#main #frontpage_content_bottom .col H3 {
	color: #555;
	font-weight: bold;
	margin: 10px 0 2px 0;
	font-size: 100%;
}

#main #frontpage_content_bottom .col P {
	margin: 0;
}

#main #frontpage_content_bottom .col .campaign_item {
	height: 5em;
	overflow: hidden;
	display: block;
	padding: 5px 20px 5px 5px;
	background: #f5f5f5 url(../img/minibox_bg.png) right bottom no-repeat;
	margin-bottom: 6px;
	color: #777;
}

#main #frontpage_content_bottom .col .campaign_item IMG {
	float: left;
	margin-right: 8px;
	border: 0;
}

#main #frontpage_content_bottom .col .news_item {
	margin-bottom: 1em;
}

/* Generic styled datagrid
   Note: .tblstyle1 & tblstyle2 are built-in classes of tinymce, hence messy code */

TABLE {
	border-collapse: collapse;
}

.horizontal TH,
.horizontal TR.first-child TD,
.tblstyle1 TH,
.tblstyle1 THEAD TR.first-child TD {
	background: #00539b url(../img/th_bg.png) repeat-x;
	font-weight: normal;
	color: #fff;
	padding: 4px 8px;
}

.vertical CAPTION,
.tblstyle2 CAPTION {
	background: #00539b url(../img/th_bg.png) repeat-x;
	font-weight: bold;
	color: #fff;
	padding: 6px 8px;
}

.vertical TH,
.vertical TD.first-child,
.tblstyle2 TH,
.tblstyle2 THEAD TD.first-child {
	font-weight: bold;
}

.datagrid TD,
.tblstyle1 TD,
.tblstyle2 TD {
	border: 1px solid #ddd;
	padding: 4px 8px;
	vertical-align: top;
}

.datagrid TR.nth-child-odd TD,
.tblstyle1 TR.nth-child-odd TD,
.tblstyle2 TR.nth-child-odd TD {
	background: #f0f0f0;
}

H3.bar {
	background: url(../img/th_bg.png) repeat-x;
	color: #fff;
	padding: 0.3em;
}


/*
   GENERIC HELPERS
   ===============
*/

.gray_bg {
	background-color: #f8f8f8;
}

.gray {
	color: #9b9b9b;
}

.block {
	display: block;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.clearer {
	clear: both;	
}

.hidden {
	display: none;
}

UL.personnel H3 {
	margin: 0 0 .3em 0;
}

UL.personnel P {
	margin: .75em 0;
}

UL.personnel LI {
	margin-bottom: 2em;
}

LABEL.vertical {
	font-size: .9em;
	font-weight: bold;
	display: block;
	margin: .2em 0;
}



/*
   CUSTOM STYLED SECTIONS (INTRA, EXTRA, ETC)
   ==========================================
*/

.content-intra {
	background-image: url(../img/content_bg_intra.png) !important;
}

.content-intra #left {
	background: #e7f1e6;
}

.content-intra #navi_3rd_level LI {
	background-color: #d8ecd9;
}

.content-intra #navi_3rd_level LI.level_2 {
	background-color: #b0e8ab;
}
	
.content-intra #navi_3rd_level LI A {
	border-color-left: #8ebd89;
}

.content-intra #navi_3rd_level LI A.current {
	color: #17a908;
}

/* Kurssikalenteri */

.kalenteri_2nd_level {
	height: 35px;
	background: #3ba1e6;
	list-style: none;
	margin: 0;
/*	padding: 0 0 0 177px; */
	padding: 0 0 0 77px;
}

.kalenteri_2nd_level LI {
	float: left;
	padding: 0 14px;
	margin: 0;
	line-height: 35px;
	background: url(../img/separator.png) right center no-repeat;
}

.kalenteri_2nd_level LI.current {
	background: url(../img/2nd_navi_current_bg.png) right center no-repeat;
}

.kalenteri_2nd_level LI A {
	color: #fff;
	/*font-size: 85%;*/
	font-size: 11px;
	font-family: verdana;
	white-space: nowrap;
}

/* RESELLER APPLICATION FORM 2010 styles */

.res-form {
	color:#5f627a;
	padding-right:20px;
	padding-left: 20px;
	text-align:left;
	}
	
/* YHTEYSTIETOJEN PÄIVITYS FORM 2010 styles */

.yht-form {
	color:#5f627a;
	padding-right:40px;
	text-align:left;
	}
	