/* Alustus */

html,body,div,a {
	margin: 0px;
	padding: 0px;
	border:0;  
	border-collapse:separate;  
	border-spacing:0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 140%;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 140%;
	margin:0;
	color: #606060;
	
	background: #020a14 url(../img/wrapper_bg.jpg) repeat-x top center;
}


/* GENERAL TAGS */

p{
	margin:10px 0;
}

a, a:link, a:visited, a:active{
	color: #004798;
	text-decoration: underline;
}

/* Tällä pakotetaan editorin sisällön linkit oikean näköisiksi
   Eli yleensä sama tyyli kuin tuossa yllä a-elementille, mutta jokaisen perään !important */
.mceContentBody a,.mceContentBody a:link, .mceContentBody a:visited{
	font-family: Arial !important;
	color: #004798 !important;
	text-decoration: underline !important;
}
.mceContentBody{
	background:transparent !important;
}

a.news, a.news:link, a.news:visited {
	color:#0c6c94;
	text-decoration: none;
}

.login {
	font-size: 12px;

}


img {
	border: 0px;
}

h1 {
	font-family: Calibri;
	font-size: 23px;
	color: #000;
	margin-top: 0px;
	padding-top: 0px;
}


h2 {
	font-family: 'neosans', Calibri;
	font-size: 19px;
	color: #292929;
	font-weight: none;
}

h3 {
	font-size: 14px;
	color: #000000;
}

h4 {
	color: #000000;
}

h5 {
	color: #000000;
}

h6 {
	color: #000000;
}

/* */
table.border {
	border-bottom: 1px solid #c8c8c8;
	border-left: 1px solid #c8c8c8;
	margin: 0px;
	padding: 0px;
	width: 100%;
}
table.border th {
	border-right: 1px solid #c8c8c8;
	border-top: 1px solid #c8c8c8;
	font-size: 11px;
	font-weight:bold;
	padding: 4px;
}
table.border td {
	border-right: 1px solid #c8c8c8;
	border-top: 1px solid #c8c8c8;
	font-size: 11px;
	padding: 4px;
}
td.odd {
	background-color: #f4f4f4;
}
td.even {
	background-color: #ffffff;
}

.error_message{
	color:#ab0000;
	margin:10px 0 20px 0;
}
.success_message{
	color:#368b1c;
	margin:10px 0 20px 0;
}



/* STRUCHTURE */

#wrapper {
	padding-top: 30px;
	/*background: #020a14 url(../img/wrapper_bg.jpg) repeat-x top center;*/
}

#frame {
	width: 957px;
	background-color: #ffffff;
	padding-top: 10px;
}

#header-left {
	float:left;
	width:237px;
	margin-right: 20px;
	text-align:left;
}
	#header-left div {
		margin: 20px 30px 0px 30px;
	}
#header-right {
	float:left;
	width:700px;
	text-align:right;
}
	#header-right div {
		margin: 0px;
		padding: 0px 20px 10px 0px;
	}

#container{
	margin: 0px 40px;
	text-align:left;
	padding: 16px 0px;
}

#left-column {
	width: 229px;
	margin-right: 30px;
	float:left;
	
	min-height: 500px;
	min-height: auto !important;
	height: 500px;
}

#left-column-frontpage {
	/*width: 270px;*/
	width: 570px;
	margin-right: 30px;
	float:left;
}

#main-column {
	width: 270px;
	margin-right: 30px;
	float: left;
}

#main-column-wide {
	width: 618px;
	float: left;
}

#right-column {
	width: 270px;
	float:left;
}

#footer {
	background: url(../img/footer_bg.jpg) repeat-x top center;
	margin-top: 20px;
	height:95px;
	color: #fff;
}
#footer p, #footer, a, #footer div {
	color: #fff;
}
#footer-content {
	text-align:left;
	min-height: 100px;
	height:auto !important;
	height: 100px;
	padding: 10px 30px 10px 30px;
}
.footer-left-column {
	float: left; 
	margin:0px; 
	padding:0px; 
	width: 70%;
}
.footer-right-column {
	float:right; 
	margin:0px; 
	padding:0px;
	width: 29%;
}


/* NAVIGATION */

/* Päämenu */
#menu {
	background: url(../img/menu_bg.jpg) repeat-x top center;
	height: 52px;
	font-family: Arial;
}

#menu-area {
	width: 720px;
	float:left;
	height: 52px;
}

#menu-button-area {
	float:left;
	width: 200px;
}
#menu-button-area img {
	margin-top: 15px;
}

#menu ul {
	padding: 0px;
	margin: 0px;
	padding-top: 8px;
	margin-left: 45px;
	margin-right: 45px;
	font-family: Arial;
}

li.menuitem {
	float: left;
	/*margin-right: 37px;*/
	list-style-type: none;
	font-family: Arial;
	margin-top: 12px;
}

li.ident {
	list-style-type: none;
	float: left;
	margin: 0px 20px;
	width:2px;
	height: 52px;
	background: url(../img/menu_ident.jpg) no-repeat 0% 30%;
}

a.selected, a.selected :link, a.selected :visited, a.selected :active {
	color: #a5dcff !important;
	font-family: Arial, Calibri;
}

a.menu-top-link , a.menu-top-link:link, a.menu-top-link:active, a.menu-top-link:visited {
	font-family: Arial, Calibri;
	color: #fff;
	font-size: 12px;
	text-decoration: none;
	font-weight: 100;
	display: block;
}


/* Alamenu */
#submenu {
	width: 180px;
}
#submenu ul {
	padding: 0px;
	margin: 0px;
	margin-left: 10px;
}
li.menuitem-level-2, li.menuitem-level-2-a {
	padding: 5px 5px;
	padding-left: 15px;
	list-style-type: none;
	display: block;
	border-bottom: 1px solid #d1d1d1;
	background: url(../img/arrow.jpg) no-repeat 0% 50%;
}
li.menuitem-level-sub {
	list-style-type:none;
}

li.menuitem-level-2 a, li.menuitem-level-2 a:link, li.menuitem-level-2 a:active, li.menuitem-level-2 a:visited {
	color: #494949;
	text-decoration:none;
	display:block;
}
li.menuitem-level-2-a a, li.menuitem-level-2-a a:link, li.menuitem-level-2-a a:active, li.menuitem-level-2-a a:visited {
	color: #494949 !important;
	text-decoration:none;
	display:block;
	font-weight:bold;
}

li.menuitem-level-sub a, li.menuitem-level-sub a:link, li.menuitem-level-sub a:visited, li.menuitem-level-sub a:active {
	color: #494949;
	text-decoration:none;
	display:block;
	padding: 3px 3px;
}




#banner {
	background: url(../img/ylapalkki_frontpage.jpg) no-repeat top center;
	height: 237px;
	text-align: left;
	margin-bottom: 20px;
}

#banner-inner-content {
	padding-top: 105px;
}

.banner_info_box {
	width: 324px;
	height: 97px;
	background: url(../img/blue_bg.jpg) no-repeat top right;
}


/* BOXI */
.gbox-top {
	background: url(../img/menu_top.jpg) no-repeat top center;
	height: 12px;
	width: 214px;
}
.gbox-bg {
	background: url(../img/menu_middle.jpg) repeat-y;
	width: 214px;
}
.gbox-bottom {
	background: url(../img/menu_bottom.jpg) no-repeat top center;
	height: 12px;
	width: 214px;
}

.padding {
	padding: 10px;
}




/* Dropdownmenu */
.menuarea{
	position:absolute;
	display:none;
	width:180px;
	border:1px solid #c3c3c3;
	background-color: #0067ac;
	padding-bottom: 5px;
	padding-top: 5px;
	line-height: 150%;
}

#menutable .menutop_a{
	color:#6D3A78;
	padding:0 4px;
}
#menutable .menutop{
	color:#3c3c3c;
	padding:0 4px;
}

#menutable .menusub_a{
	color:#6D3A78;
	padding:0 4px;
	font-weight:bold;
	display:block;
}
#menutable .menusub{
	color:#3c3c3c;
	padding:0 4px;
	display:block;
}


div.errorMessage, div.successMessage{
	font-size:12px;
	font-family:arial;
	padding:5px;
	margin:10px 0 20px 0;
}
div.errorMessage{
	color:#ab0000;
	border:1px solid #fcb2c9;
	background-color:#fedfe9;
}
div.successMessage{
	color:#0a6900;
	border:1px solid #abc2ac;
	background-color:#fffeb8;
}


.text{
	width:100%;
}

.menu2_title {
	color:#053f88;
	font-size: 15px;
	font-weight:bold;
	margin-left: 10px;
}

.white_text {
	font-size: 14px;
	color: #fff;
	font-weight:bold;
}

table.small {
	border-top: 1px solid #dfdfdf;
	border-left: 1px solid #dfdfdf;
}

table.small td {
	border-bottom: 1px solid #dfdfdf;
	border-right: 1px solid #dfdfdf;
	padding: 3px;
}

table.small td, table.small td p {
	font-size: 11px;
}

table.search {
	width:100%;
	border-top: 1px solid #a3b1c2;
	border-right: 1px solid #a3b1c2;
}
table.search th {
	color: #fff;
	background-color:#a3b1c2;
}
table.search td {
	color: #606060;
	padding: 4px;
	border-bottom: 1px solid #a3b1c2;
	border-left: 1px solid #a3b1c2;
}
input.search {
	border: 1px solid #a3b1c2;
	background-color:#fff;
}