.hevosotsikko {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 12px;
	color: #054790;
	letter-spacing: 0.1em;
	font-weight: normal;
	text-transform: uppercase;
}
body {
	background-color: #054790;
	/*background-color: #FFFFFF;*/
	margin: 15px;
	padding: 0px;
	height: 100%;
	text-align: left;
	vertical-align: top;
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
	/*background-image: url(../images/b_bg.jpg);
	background-repeat: repeat-x; */
}
#WholeSFront {
	border: 1px solid #A7ABB4;
	background-color: #FFFFFF;
	padding: 0px 8px 8px;
	width: 917px;
	/*min-width: 800px;
	max-width: 1024px;*/
	background-image: url(../images/toppic_front.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}
#WholeS {
	border: 1px solid #A7ABB4;
	background-color: #FFFFFF;
	padding: 8px;
	width: 100%;
	min-width: 800px;
	max-width: 1024px;
}
#Continner {
	background-image: url(../images/bgwholes.gif);
	background-repeat: repeat-y;
	margin-top: 3px;
	padding-right: 0px;
	padding-bottom: 3px;
	padding-left: 0px;
}
#TopX {
	height: 164px;
	width: 100%;
	/*background-image: url(../images/toppic.jpg);*/
	background-repeat: no-repeat;
}
#NavBX {
	height: 21px;
	/*background-color: #B0CAE3;*/
	background-color: #054790;
	width: 100%;
	border-top-width: 1px;
	border-bottom-width: 4px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #FFFFFF;
	border-bottom-color: #626643;
}
#NavBXFront {
	height: 26px;
	/*background-color: #B0CAE3;*/
	/*background-color: #054790;*/
	width: 100%;
	/*border-top-width: 1px;*/
	/*border-bottom-width: 4px;*/
	/*border-top-style: solid;*/
	/*border-bottom-style: solid;*/
	/*border-top-color: #FFFFFF;*/
	/*border-bottom-color: #626643;*/
}
#LeftXouter {
	width: 202px;
	float: left;

}
#LeftX {
	float: left;
	padding-top: 13px;
	padding-right: 13px;
	padding-bottom: 13px;
	padding-left: 10px;


}
#RightXouter {
	/*float: left;*/
	padding-top: 3px;
	padding-right: 0px;
	padding-bottom: 3px;
	padding-left: 205px;
}
#RightX {
	width: 683px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
       
}
#NewSit {
	background-color: #E9E9E9;
	float: right;
	width: 265px;
	border: 1px solid #A7ABB4;
	margin-left: 20px;
	padding-bottom: 10px;
	padding-left: 0px;
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#outline {
	padding: 0px 5px 5px 0px;
}	
.print_only {
	display: none;
}
.Anfangi {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 30px;
	color: #444444;
	font-weight: bold;
	display: block;
	float: left;
	line-height: 30px;
	}
	
.teksti10px{
	font-size: 10px;
        color: #666666;
}
.teksti9px{
	font-size: 9px;
	color: #666666;
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
}	
h1 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 22px;
	color: #043975;
	font-weight: normal;
        line-height: 22px;
	}
h2 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 18px;
	color: #054790;
	font-weight: normal;
	}
h3 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 16px;
	color: #054790;
	letter-spacing: 0.1em;
	font-weight: normal;
	}
h4 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 14px;
	color: #444444;
	letter-spacing: 0.1em;
	font-weight: normal;
	}
h5 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 12px;
	color: #444444;
	letter-spacing: 0.1em;
	font-weight: normal;
	}
h6 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 10px;
	color: #444444;
	letter-spacing: 0.1em;
	font-weight: normal;
	text-transform: uppercase;
	}

hr {
	border-top-width: 1px;
	border-top-style: dashed;
	border-top-color: #cc0000;
	padding-top: 10px;
	padding-bottom: 10px;
}
/* --HLex-- */

.tot_right {
	text-align: right;
}

.tot_center {
	text-align: center;
}

/* CSS Document */

html {
	height: 100%;
}


.clr {
	clear: both;
}

/*===== "MURUPOLKU" =======================================================*/
#pathway_outer {
	/*float: left;*/
	width: 100%;
	height: 20px;
	/*margin-bottom: 0px;*/
	margin-bottom: 10px;

}

#pathway_text {
	overflow: hidden;
	display: block;
	height: 20px;
	line-height: 18px !important;
	padding-left: 10px;
	/*float: left;*/
	font-size: 10px;
	color: #666666;
}


#pathway_text img {
	margin-left: 2px;
	margin-right: 2px;
	margin-top: 6px;
}
/*=========================================================================*/
/*====== YLÄNAVIGAATION PAINIKKEET ========================================*/
#buttons {
	float: none;
	width: auto;
}


ul#mainlevel-nav
{
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.8em;
}

ul#mainlevel-nav li
{
	background-image: none;
	padding-left: 0px;
	padding-right: 0px;
	float: left;
	margin: 0;
	font-size: 11px;
	line-height: 21px;
	white-space: nowrap;
}

ul#mainlevel-nav li a
{
	display: block;
	padding-left: 13px;
	padding-right: 5px;
	text-decoration: none;
	font-family: "Trebuchet MS", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	text-transform: uppercase!important;
	color: #FFFFFF;
	margin-top: 3px;
	margin-right: 3px;
	margin-left: 3px;
	line-height: 18px;
	font-weight: bold;
}

#buttons>ul#mainlevel-nav li a {
	text-decoration: none;
	margin-left: 3px;
	margin-bottom: 10px;
	margin-right: 3px;
	padding-right: 12px;
	padding-left: 12px;
	margin-top: 7px;
	line-height: 18px;	

}

	ul#mainlevel-nav li a:hover
{
	color: #CCCCCC;
}
/*=========================================================================*/

/* =====HAKU=ei=käytössä===================================================*/
#search_outer {
	float: right;
	width: 445px;
	height: 23px;
	margin-bottom: 2px;
	margin-top: 5px;
	padding-top: 21px;
	padding-right: 4px;
}

#search_inner {
	padding: 0px;
	height: 21px;
	line-height: 17px !important;
	overflow: hidden;
}

#search_inner form {
	float: right;
	padding: 0px 0px 0px 16px;
	margin: 0px 0px 0px 29px;
}

#search_inner .inputbox {
	padding: 0px 2px 0px 3px;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 10px;
	line-height: 17px!important;
	color: #CCCCCC;
	background-color: #D00F18;
	border: 1px solid #990000;
	width: 130px;
	height: 17px;
	margin-left: 16px;
}

#Foot {
	width: 916px;
	float: none;
}
#design{
	font-size: 10px;
	text-align: right;
	padding-top: 2px;
	width: 25%;
	float: right;
}
#design a:link {
	color: #333333;
	text-decoration: none;
}
#design a {
	color: #333333;
	text-decoration: none;
}
#design a:hover {
	color: #666666;
	text-decoration: none;
}
/*#design a:visited {
	color: #333333;
	text-decoration: none;
}*/
#footerCopy {
	text-align: center;
	padding-top: 3px;
	padding-bottom: 15px;
	width: 50%;
	float: left;
}
#online {
	font-size: 10px;
	text-align: left;
	padding-top: 2px;
	width: 25%;
	float: left;
}

/* ===== SISUSKALUT (Content Items) ===================================*/
#content_outer {
	padding: 0px;
	margin-top: 0px;
	margin-left: 0px;
	float: left;
	width: 621px;
	background-color: #FFFFFF;
}

#content_inner{
  float: none !important;
}

table.content_table {
	width: 100%;
	padding: 0px;
	margin: 0px;
	background-color: #FFFFFF;
}

table.content_table td {
	padding: 0px;
	margin: 0px;
}

table.content_table2 {
	width: 100px;
	padding: 0px;
	margin: 0px;
}

/* ========================================================== */

/* ========================================================== */

table td.body_outer {
	padding-left: 15px;
	padding-top: 15px;
	padding-right: 15px;
	/*padding-bottom: 15px;*/
	padding-bottom: 0px;
}

.error {
  font-style: italic;
  text-transform: uppercase;
  padding: 5px;
  color: #cccccc;
  font-size: 14px;
  font-weight: bold;
}



ul
{
margin: 0;
padding: 0;
list-style: none;
}

li
{
line-height: 15px;
padding-left: 15px;
padding-top: 0px;
background-image: url(../images/arrow.png);
background-repeat: no-repeat;
background-position: 5px 2px;
}


td {
	text-align: left;
	font-size: 11px;
}



/* Joomla core stuff */
a:link, a:visited {
	color: #A50507;
	text-decoration: underline;
}

a:hover {
	color: #666666; 
}

table.contentpaneopen {
	width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
} 


table.contentpaneopen td {
  	padding-right: 0px;
}


table.contentpaneopen td.componentheading {
	/*padding-left: 4px;*/
}


table.contentpane {
  width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
}

table.contentpane td {
	margin: 0px;
	padding: 0px;
}

.button {
	color: #333333;
	font-family: "Trebuchet MS", Verdana, Arial, Hevlvetica, sans-serif;
	text-align: center;
	font-size: 11px;
	font-weight: normal;
	border: 1px solid #cccccc;
	width: auto;
	padding: 0px 5px;
	line-height: 18px !important;
	line-height: 16px;
	height: 22px !important;
	height: 20px;
	margin: 1px;
	background-color: #E4E4E4 !important;
} 

input {
	padding: 2px;
	border:solid 1px #cccccc;
	background-color: #ffffff;
}
select {
		padding: 2px;
		border:solid 1px #cccccc;
		font-size: 11px;
	color: #333333;
}
.componentheading {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 22px;
	color: #043975;
	font-weight: normal;
	line-height: 30px;
}

.contentcolumn {
	/*padding-right: 5px;*/
}


.contentheading {
	height: 10px;
	font-family:"Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	color: #CCCCCC;
	font-weight: normal;
	font-size: 90%;
	white-space: nowrap;
	/*display: none;*/	
} 


.contentpagetitle {
	font-size: 13px;
	font-weight: bold;
	color: #cccccc;
	text-align:left;
} 


table.searchinto {
	width: 100%;
} 


table.searchintro td {
	font-weight: bold;
} 


table.moduletable {
	width: 100%;
	margin-bottom: 0px;
	padding: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
}

div.moduletable {
	padding: 0;
	margin-bottom: 0px;
}

/* ===== MENUN OTSIKKO =====================================*/
table.moduletable th, div.moduletable h3 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 11px;
	color: #054790;
	text-align: left;
	/*padding-left: 10px;*/
	height: 18px;
	line-height: 18px;
	font-weight: normal;
	text-transform: uppercase;
	/*margin: 4px 0px;*/
	margin-top: 6px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	width: 90%;

}

table.moduletable td {
	font-size: 11px;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
} 

table.moduletable-polls td {
	font-size: 11px;
	padding: 0px;
	margin: 0px;
	font-weight: bold!important;
	color: #99FF00;
}

/* Kyselyn vastausvaihtoehdot-alue, radiobuttonit ja teksti
(Kyselyn otsikko tai väittämäteksti määräytyy form-tyylin mukaan,
 mikä sitten vaikuttaa myös ETSI-toiminnon formiin. */
 table.pollstableborder-polls td {
	padding: 2px;
	color: #5E85D7;
} 
.sectiontablefooter-polls {
}

/* Rivien väritys */
.sectiontableentry1-polls {
	/*background-color : #ffffff;*/
}
.sectiontableentry2-polls {
	/*background-color : #f9f9f9;*/
}

/* KYSELY-OTSIKKO */
table.moduletable-polls th, div.moduletable-polls h3 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", geneva, verdana, lucida, helvetica, sans-serif;
	font-size: 11px;
	color: #444444;
	text-align: left;
	padding-left: 15px;
	height: 24px;
	line-height: 24px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 10px 0px 4px;
	width: 90%;
}
 
/*=============================================================================*/

.sectiontablefooter {



}

.sectiontableentry1 {
	background-color : #ffffff;
}

.sectiontableentry2 {
	background-color : #f9f9f9;
}

.small {
	color: #999999;
	font-size: 11px;
}

.createdate {
	height: 15px;
	/*padding-bottom: 10px;*/
	color: #999999;
	font-size: 11px;
}

.modifydate {
	height: 15px;
	/*padding-top: 10px;*/
	color: #999999;
	font-size: 11px;
}
/*================ esim. SIVUTUS================================================*/
table.contenttoc {
	padding: 2px;
	margin-left: 2px;
	margin-bottom: 2px;
	float: right;
	display: none;
}

table.contenttoc td {
  	padding: 2px;
	font-size: 10px;
	color: #FF0000;
	float: right;
}

table.contenttoc th {
  	color: #333333;
	text-align: left;
	padding-top: 2px;
	height: 14px;
	font-weight: bold;
	font-size: 10px;
	text-transform: uppercase;
}
table.contenttoc_table {
	width: 100%;
	padding: 0px;
	margin: 0px;
	background-color: #000000;
}

table.contenttoc_table td {
	padding: 0px;
	margin: 0px;
	font-size: 10px;
	color: #CCCCCC;
}
a table.contenttoc_table {
	padding: 0px;
	margin: 0px;
	font-size: 12px;
	color: #666666;
}
/* ===== PÄÄTASON NAVIGAATIO ============== */
a.mainlevel:link, a.mainlevel:visited {
	display: block;
	font-family: "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #444444;
	padding-top: 0px;
	/*padding-left: 10px;*/
	/*height: 15px !important;*/
	width: 80%;
	text-decoration: none;
	
}

a.mainlevel:hover {
	text-decoration: none;
	color: #D97923;
}

a.mainlevel#active_menu {
	color:#444444;
	font-weight: bold;
}

/* ===== ALANAVIGAATIO  ==================== */
a.sublevel:link, a.sublevel:visited {
	display: block;
	font-family: "Lucida Sans Unicode", "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666666;
	text-align: left;
	padding-top: 0px;
	padding-left: 15px;
	width: 100%;
	text-decoration: none;
        background-image: url(../images/arrow2.png);
        background-repeat: no-repeat;
        background-position: 5px 2px;
}

a.sublevel:hover {
	text-decoration: none;
	color: #D97923;
}

a.sublevel#active_menu {
	color: #D97923;
}
/* ========================================================== */

.highlight {
	background-color: Yellow;
	color: Blue;
	padding: 0px;
}
.code {
	background-color: #ddd;
	border: 1px solid #bbb;
}

form {
	margin: 0px;
	padding: 0px;
	color: #444444;
}

div.mosimage {
  border: 1px solid #ccc;
}

.mosimage {
  border: 1px solid #0033CC;
 /*margin: 5px;*/
  margin: 30px;
}

.img_a_right {
	padding-left: 20px;
	margin-left: 20px;
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: none;
}

.mosimage_caption {
  margin-top: 2px;
  background: #efefef;
  padding: 1px 2px;
  color: #666;
  font-size: 10px;
  border-top: 1px solid #cccccc;
}

span.article_seperator {
	display: block;
	height: 1.5em;
}
hr {
	border-top-width: 1px;
	border-top-style: solid;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #666666;
	width: 97%;
}
a {
	font-weight: normal;
	text-decoration: none;
}


.bf {
	background-color: #FFFFFF;
}
.flr {
	float: right;
	width: 170px;
}
.fl {
	float: left;
	width: 300px;
}



/*==========BANNERIT=======================================================*/
#banner_outer {
	padding: 0px;
	margin-top: 0px;
	margin-left: 0px;
	float: left;
	width: 111px;
	background-color: #FFFFFF;
}

#content_inner{
  float: none !important;
}
#cong {
	float: right;
	height: 18px;
	width: 25px;
}
#names {
	float: none;
	padding-bottom: 15px;
}

.pagenav {
  text-align: center;
  font-size: 11px;
  font-weight: normal;
  /*border: 3px double #cccccc;*/
  width: auto;
  /*background: url(../images/button_bg.png) repeat-x;*/
  padding: 0px 10px;
  line-height: 20px;
  margin: 1px;
}

.pagenavbar {
	margin-right: 10px;
	float: right;
}/* CSS Document */