@charset "UTF-8";
/*kotisivujen tyyli, ei-taulukko layout, keltainen navbar*/
/*HTML 5 support - Asetetaan HTML 5 tageille display:block niin, ettÃ¤ selaimet osaavat renderÃ¶idÃ¤ ne oikein. */
header, section, footer, aside, nav, article, figure {
	display: block;
}

body {
	margin: 5px 0;
	padding: 0px;
	background-color: #D6D6D6;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.2em;
	font-size: 86%;
}


/***********************************************/
/* Layout Divs                                 */
/***********************************************/
#wrap {
	width: 960px;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;

}
/* ylätunniste */
header {
	background-color: #FFFFFF;
	border: 2px solid #CCC;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}
/* varsinainen sivu sis. footerin  */
#pagecell {
	border: 2px solid #CCC;
	margin-top: 5px;
	background-color: #FFFFFF;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	z-index: 2;
}

#image {
	margin-bottom: 0px;

}

header h1 {
	margin: 0;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	
}
#sidebari {
	width: 220px;
	float: right;
	margin-bottom: 15px;
	z-index: 3;
	overflow: visible;
	margin-top: 20px;
	margin-right: 50px;
	margin-left: 0px;
}
aside {
	margin-top: 10px;
	float: left;
	width: 200px;
	padding-top: 20px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 30px;
		
}
.putsaa {
	clear: both;
}

#sisaltoi	{
	text-align: left;
	background-color:#FFFFFF;
	margin-right: 290px;
	margin-left: 50px;
	margin-top: 20px;
	margin-bottom: 20px;
	z-index: 50;
}
#teksti {
	margin-top: 0px;
	margin-bottom: 10px;
	border: 1px solid #CCCCCC;
	-webkit-borderradius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	box-shadow: 10px 10px 5px #888;
	-moz-box-shadow: 10px 10px 5px #888;
	-webkit-box-shadow: 10px 10px 5px #888;
	padding: 0px;
	width: 590px;
	background-image: url(../siteimages/AHA-palkki.jpg);
	background-repeat: no-repeat;
	margin-right: 0px;
	margin-left: 0px;
	
}
/*  alatunniste */
#footer {
	text-align : left;
	z-index: 1;
	background-image: url(../assets/Kaaripalkki_keltainen.jpg);
	background-repeat: no-repeat;
	overflow: hidden;
	height: 143px;
	margin-top: -2px;
	-webkit-border-bottom-right-radius: 12px;
	-webkit-border-bottom-left-radius: 12px;
	-moz-border-radius-bottomleft: 12px;
	-moz-border-radius-bottomright: 12px;
	border-bottom-right-radius: 12px;
	border-bottom-left-radius: 12px;
	
}
/*--linkit--*/
a:link, a:visited {
	text-decoration: underline;
	color: #005FA9;
}

a:hover {
	color: #005FA9;
	text-decoration: underline;
	background-color: #DDEEFF;
}

/*  ylatunnisteen ylavalikko  */
#globalNav {
	font: 80% Verdana,sans-serif;
	color: #FF0000;
	float: right;
	margin-top: 5px;
	margin-right: 5px;
}
#globalNav p {
	margin-top: 0px;
	padding-right: 5px;
}
#globalNav a {
	text-decoration: underline;
}
/*  valilehdet  */

.navlist{
	width: 100%;
	overflow: hidden;
	background: transparent;
	padding-top: 5px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	margin-top: 5px;
}

.navlist ul{
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
}
.navlist li{
	display: inline;
	text-transform: uppercase;
	margin-top: 0;
	margin-right: 5px;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0px;
	padding-left: 0;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
}
.navlist a, .navlist a:visited {
	float: right;
	color: #EF3E42;
	text-decoration: none;
	letter-spacing: 1px;
	background-color: #E4E5E7;
	background-image: url(../assets/kulmavasen.gif);
	background-repeat: no-repeat;
	background-position: left top;
	margin-top: 0;
	margin-right: 2px;
	margin-bottom: 0px;
	margin-left: 0;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 1px;
	padding-left: 3px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
}
.navlist a span{
	float: right;
	display: block;
	cursor: pointer;
	background-color: transparent;
	background-image: url(../assets/kulmaoikea.gif);
	background-repeat: no-repeat;
	background-position: right top;
	padding-top: 4px;
	padding-right: 9px;
	padding-bottom: 3px;
	padding-left: 6px;
	text-decoration: none;
}
.navlist a span{
	float: none;
}
.navlist a:hover, .navlist li.selected a{
	background-color: #FFE200; /*background color of tabs onMouseover*/
	color: #666;
	border-bottom: 1px solid #FFE200;
	text-decoration: none;
}
.navlist a:hover span{
	background-color: transparent;
	text-decoration:none;
}
/*  valilehdet  */
#navlist{
	padding: 0;
	width: 100%;
	overflow: hidden;
	margin: 0px;
}

#navlist li{
	margin: 0;
	list-style: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	display: inline;
	text-transform: uppercase;
}

#navlist li a, #navlist li a:visited {
	float: right;
	color: #FF0000;
	text-decoration: none;
	letter-spacing: 1px;
	background-color: #E4E5E7;
	/*background-image: url(../assets/kulmavasen.gif);
	background-repeat: no-repeat;
	background-position: left top;*/
	margin-top: 0;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 0;
	padding-top: 5px;
	padding-right: 9px;
	padding-bottom: 2px;
	padding-left: 6px;
	text-decoration: none;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-topleft: 10px;	
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
		
}

#navlist li a:hover {
	background-color: #EF3E42; /*background color of tabs onMouseover*/
	color: #FFFFFF;
	border-bottom: 2px solid #EF3E42;
	text-decoration: none;
}
#navlist li#selected a {
	background-color: #EF3E42; /*background color of tabs onMouseover*/
	color: #FFFFFF;
	border-bottom: 2px solid #FFE200;
	text-decoration: none;
}

/*  navigointivalikko  */
#maintab {
	border-bottom: 2px solid #D6D6D6;
	background-color: #FFE200;
	height: 100% /*IE7 beta2 fix*/;
	font: normal 12px Verdana;
	margin: 0px;
	padding: 0px;
}
#maintab ul	{
	padding: 0;
	list-style-type: none;
	background-color: #FFE200;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 5px;
}
#maintab ul li{
	display: inline;
}

#maintab ul li a{
	color: #666;
	padding: 4px 7px 5px 7px;
	margin-right: 3px;
	display: block;
	float: left;
	text-decoration: none;
	background-color: #FFE200;
	font-weight: 600;
}
#maintab ul li a:hover{
	background-color: #E4E5E7;
	color:#EF3E42;
	font-weight: 600;
	-moz-border-radius-topright: 8px;
	-moz-border-radius-topleft: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}

#maintab li.selected a{ /*selected main tab style */
	border-color: #F4F4F4;
	color:#FF0000;
	font-weight: bold;
	background-color: #F4F4F4;
}

#maintab li.selected a:hover {
	border-color: #CCCCCC;
	color:#FF0000;
	background-color: #F4F4F4;
	font-weight: bold;
}

.clearfix:after{ /*Clear floats hack: http://positioniseverything.net/easyclearing.html*/
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
.clearfix{
	display: inline-table;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

#sisaltoi h1 {
	color: #F00;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	padding-top: 10px;
	padding-bottom: 5px;
	margin-left: 0px;
	margin-top: 10px;
	margin-bottom: 5px;
	padding-right: 20px;
	padding-left: 0px;
	/**/
}
#sisaltoi h2 {
	color: #FF0000;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	padding-right: 20px;
	padding-bottom: 5px;
	padding-left: 0px;
	padding-top: 10px;
	margin-bottom: 5px;
	margin-left: 0px;
	margin-top: 10px;
}
#sisaltoi h3 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #Ef3E42;
	font-weight: bold;
	font-size: 1em;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 2px;
	padding-top: 2px;
	margin-bottom: 5px;
	margin-left: 2px;
	margin-top: 2px;
}
#sisalto h4 {
	font-size: 100%;
	font-weight: bold;
	padding-left: 10px;
	color: #333333;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
#sisalto h5 {

	font-size: 100%;
	font-weight: bold;
	padding-left: 20px;
	color: #FF0000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
#sisalto h6 {

	font-size: 100%;
	font-weight: bold;
	padding-left: 35px;
	color: #333333;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#teksti p {
	padding-top: 7px;
	padding-bottom: 7px;
	font-size: 0.9em;
	padding-right: 20px;
	padding-left: 30px;
	margin-top: 7px;
	margin-right: 5px;
	margin-bottom: 7px;
	margin-left: 5px;
}
#sisalto ul {
	padding-left: 30px;
	margin-left: 30px;
	margin-right: 20px;
	padding-right: 20px;

}
#sisalto ul li {
	list-style-type: disc;
	margin-left: 5px;
	padding-left: 5px;
	margin-top: 1px;
	margin-bottom: 1px;
	padding-top: 1px;
	padding-bottom: 1px;
}

#footer p	{
	color: #666666;
	padding-left: 10px;
	font-size: 80%;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.3em;
	padding-bottom: 2px;
	margin-bottom: 2px;
	margin-top:40px;
}
#footer a {
	color: #FFFFFF;
	text-decoration: underline;
}

/*---laskuri--*/
#counter {
	display: none;
}

/****haku***/
#search{
	background-color: #EF3E42;
	border: 2px solid #999999;
	font-family: Arial, Helvetica, sans-serif;
	padding: 5px;
	width: 400px;
	margin-left: 30px;
}

#search form{
 	margin: 0px;
 	padding: 0px;
}

#search label{
	margin: 1px 0px;
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
	color: #FF0000;
	font-weight: bold;
}
INPUT {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9pt;
}

.buttonDefault {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #FF0000;
	background-color: #FFFFCC;
}

a.logo:hover {

	color: #FFFFFF;
	text-decoration: none;
	background-color: #FFFFFF;
}
/***  laatikoiden tyylit ***/
/* keltainen mainosboxi */
.bl {
	background: #FFE200;
	margin-right: 0px;
	font-size: 90%;
	color:#EF3E42;
	text-align: center;
	font-weight: bold;
	text-decoration: none;
	margin-bottom: 0px;
	width: 220px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	padding-top: 20px;
	padding-bottom: 20px;
}
.bl a:link, .bl a, .bl a:hover, .bl a:active, .bl a:visited	{
	color: #EF3E42;
	text-decoration: none;
	background: #FFE200;
}
.clear {
	clear: both;
}

/**  laatikko  */
.cssbox, .cssbox_body {
	background: #FFF;

}
.cssbox { 
	width: 220px!important; 
	margin-right: auto;
	margin-bottom: 10px;
}

.cssbox_head {
	border: 1px solid #CCC;
	background-color: #E4E5E7;
	-moz-border-radius-topright: 8px;
	-moz-border-radius-topleft: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	
	
} 
.cssbox_head h3 {
	margin: 0; 
	border: 0;
	color: #FF0000;
	font-size: 13px;
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-left: 5px;
	border: none;
}  
.cssbox_body {
	padding-top: 5px;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 2px;
	-webkit-border-bottom-right-radius: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-moz-border-radius-bottomright: 8px;
	-moz-border-radius-bottomleft: 8px;
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	border-left-color: #CCC;
} 
.cssbox_body p {
	font-size: 85%;
	margin: 1px;
	line-height: 1.2em;
	color: #333333;
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 2px;
	padding-left: 5px;
}

.cssbox form {
	margin-top: 5px;
	margin-bottom: 5px;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}
.cssbox select {
	font-size: 11px;
}

/*list*/
.cssbox_body ul {
	margin-top: 0;
	margin-right: 2px;
	margin-bottom: 0;
	margin-left: 1px;
	padding-top: 0;
	padding-right: 1px;
	padding-bottom: 0;
	padding-left: 1px;
}
.cssbox_body ul li {
	color: #333333;
	margin-top: 0px;
	margin-right: 5px;
	margin-left: 1px;
	list-style-position: outside;
	list-style-image: url(../images/bullet.gif);
	list-style-type: none;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0em;
	padding-left: 0px;
}

.cssbox_body a {
	text-decoration: underline;
	color: #005FA9;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
}

.cssbox_body a:hover {
	color: #005FA9;
	text-decoration: underline;
	background-color: #DDEEFF;
}

