@import url("css-reset.css");
@charset "UTF-8";

/* BODY, CONTAINER JA YLAPALKKI */

* {
	margin: 0px;
	padding: 0px;
}

body {
	background-image: url(layout_images/img-body-bg.jpg);
	background-repeat: repeat;
	font-size: 12px;
	font-family: Trebuchet MS, Arial, Helvetica;
	font-style: normal;
	font-weight: normal;
	*text-align: center;
	}

img {
	border: 0px;
	}

.essy_container {
	background: url(layout_images/img-container-bg.gif) no-repeat top left scroll;
	background-color: #ffffff;
	width: 978px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 12px;
	text-align: left;
	border: 1px solid #ffffff;
}

.clearfix {
	clear: both;
	height: 10px;
	width: 100%;
	}

/* HEADER */

	/*header kuva*/

.essy_ylapalkki {
	width: 978px;
	height: 126px;
}

	/* header päävalikko */
	
div.nav1 {
	background-image: url(layout_images/img_footer_bg.jpg);
	background-repeat: repeat-x;
	width: 978px;
	height: 24px;
	clear: both;
	text-align: center;
	}

div.nav1 ul {
	list-style-type: none;
	width: 978px;
	*text-align: center;
	} 

div.nav1 li {
	display: inline-block;
	float: left;
	height: 24px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 0px;
	font-size: 12px;
	line-height: 22px;
	font-weight: normal;
	text-transform: uppercase;
	}

div.nav1 li:hover {
	background-color: #ff9c00;
	}

div.nav1 a:link, div.nav1 a:visited {
	color: #5d5247;
	text-decoration: none;
	}

div.nav1 a:hover {
	color: #282828;
	text-decoration: none;
	}

#etusivu .etusivu,
#yhdistys .yhdistys,
#liity .liity,
#ajankohtaista .ajankohtaista,
#kvtoiminta .kvtoiminta,
#koulutukset .koulutukset,
#linkit .linkit,
#media .media {
	background-color: #5d5247;
	}

#etusivu .etusivu a,
#yhdistys .yhdistys a,
#liity .liity a,
#ajankohtaista .ajankohtaista a,
#kvtoiminta .kvtoiminta a,
#koulutukset .koulutukset a,
#linkit .linkit a,
#media .media a {
	color: #ffffff;
	}

/* MAIN NAVI SELECTED */



/* TEKSTIALUEEN CONTAINER / 3 PALSTAA */

.essy_teksti_container {
	width: 978px;
	font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-bottom: 12px;
	clear: both;
}

/* VASEN PALSTA JA NAV2 */

div.vasen {
	/*background-color: #cc0000;*/
	width: 200px;
	float: left;
	margin: 10px;
	margin-top: 40px;
	padding: 0px;
	}

div.vasen ul {
	width: 200px;
	height: 24px;
	clear: both;
	list-style-type: none;
	}
	
div.vasen li, div.vasen li.selected {
	border-bottom: 1px solid #999999;
	}

div.vasen li {
	background-color: #ffffff;
	}

div.vasen li a:link,
div.vasen li a:visited {
	color: #5d5247;
	text-decoration: none;
	width: 190px;
	padding: 5px;
	display: block;
	}

div.vasen li a:hover {
	background-color: #5d5247;
	color: #ffffff;
	text-decoration: none;
	width: 190px;
	padding: 5px;
	display: block;
	}

div.vasen li.selected a:link,
div.vasen li.selected a:visited,
div.vasen li.selected a:hover {
	background-color: #f9b700;
	color: #5d5247;
	text-decoration: none;
	width: 190px;
	padding: 5px;
	display: block;
	}

/* TEKSTIPALSTA */

.essy_tekstit {
	/*background-color: #0cF;*/
	float: left;
	width: 518px;
	margin: 10px;
	margin-top: 34px;
	padding-bottom: 25px;
	}

	/* tekstikentan sisaltotekstit */

h1, h2, h3, h4,h5, h6, p {
	margin-top: 10px;
	margin-bottom: 10px;
	color: #282828;
	display: block;
	clear: both;
	}
	
h1 {
	font-size: 20px;
	line-height: 24px;
	color: #0095dc;
	font-style: normal;
	font-weight: normal;
	}

h2 {
	font-size: 14px;
	line-height: 18px;
	font-style: normal;
	font-weight: normal;
	}

h3 {
	font-size: 12px;
	line-height: 16px;
	font-style: normal;
	font-weight: bold;
	color:#282828;
	margin-left: 20px;
	}

h4 {
	font-size: 12px;
	line-height: 16px;
	font-style: normal;
	font-weight: bold;
	}

p  {
	font-size: 12px;
	line-height: 18px;
	margin-left: 20px;
	display: block;
	clear: both;
	}

div.kuva{
	padding-left: 20px;
	display: block;
	clear: both;
	}

a:link,
a:visited,
a:hover {
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	line-height: 1.4em;
	text-decoration: underline;
	color: #0095dc;
	}

	/* Tekstipalstan henkilötiedot */

div.personal {
	width: 160px;
	height: 180px;
	float: left;
	padding: 2px;
	display: block;
	/*border: 1px solid #999999;*/
	}
	
div.personal img {
	padding: 2px;
	}

div.personal p {
	margin-left: 0px;
	}


/* OIKEA PALSTA */

div.oikea {
	/*background-color: #ffcc00;*/
	width: 200px;
	float: left;
	margin: 10px;
	margin-left: 0px;
	padding-left: 9px;
	border-left: 1px solid #999999;
	}

div.oikea .title {
	width: 200px;
	height: 30px;
	display: block;
	clear: both;
	}

div.oikea #uutinen {
	display: block;
	clear: both;
	margin-top: 5px;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-top: 1px dotted #999999;
	}

div.oikea #uutinen .paiva {
	display: none;
	width: 200px;
	float: left;
	clear: both;
	height: 20px;
	padding-top: 4px;
	font-size: 11px;
	line-height: 11px;
	}

div.oikea #uutinen h1 {
	line-height: 14px;
	display: block;
	width: 200px;
	float:left;
	clear: both;
	margin: 5px 0px 5px 0px;
	}

div.oikea #uutinen h1 a:link,
div.oikea #uutinen h1 a:visited,
div.oikea #uutinen h1 a:hover {
	font-size: 12px;
	line-height: 16px;
	text-decoration: none;
	}

div.oikea #uutinen h1 a:hover {
	text-decoration: underline;
	}
	
div.oikea #uutinen h6 {
	/*background-color: #ff00cc;*/
	font-size: 12px;
	line-height: 14px;
	font-weight: normal;
	font-style: normal;
	display: block;
	width: 200px;
	float:left;
	clear: both;
	margin-top: 2px;
	}

/* FOOTER */

.essy_footer {
	background-image: url(layout_images/img_footer_bg.jpg);
	background-repeat: repeat-x;
	width: 958px;
	padding: 10px;
	clear: both;
	text-align: center;
}

.essy_footer .footer-content {
	color: #282828;
	}

/* SIGNATURE */

.signature {
	margin-left: auto;
	margin-right: auto;
	font-size: 1em;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #617900;
	text-align: center;
	margin-bottom: 24px;

}

.signature a:link, .signature a:hover, .signature a:visited {
	font-size: 1em;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #617900;
	text-decoration: none;
}
