/*
Theme Name: EsEs
Theme URI: 
Description: 
Version: 1.0
Author: Mikko Kovanen
Author URI: http://www.mikesweb.fi
Tags: 
*/



/* RAKENNE
------------------------------------------------------------------*/

* {
	margin: 0;
	
}

body {
	background-image: url(images/bg.jpg);
	background-repeat: repeat-x;
	font-family:"Lucida Grande",Arial,Helvetica,Sans-Serif;	
	font-size: 13px;
}

#content img {
	border: 1px solid #ccc;
	padding: 5px;
	background-color: white;
}

#content ol {
	margin-left: -10px;
}

#content ul {
	margin-left: 0px;
}

#shadowbox_title {
  border: 0px solid;
} 

#shadowbox_info {
  border: 0px solid;
}

#wrap {
	width: 942px;
	margin: 0 auto;
}

#content-wrap {
	width: 838px;
	margin: 0 auto;
	padding-top: 10px;
}

#content-yhteystiedot {
	width: 800px;
	margin: 0 auto;
}

#content-linkit {
	width: 800px;
	margin: 0 auto;
}

#content-linkit p {

}

#content-bg {
	background-image: url(images/content-bg.jpg);
	background-repeat: no-repeat;
	min-height: 450px;
}

#header {
	background-image: url(images/header.jpg);
	height: 224px;
}

#header h1 {
	text-indent: -99999px;
}

#topnav {
	margin-top: 168px;
	margin-left: 50px;
}

#topnav ul {
	list-style: none;
	margin-left: auto;
	margin-right: auto;
}

#topnav a {
	width: 50px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 10px;
	color: white;
	text-decoration: none;
	letter-spacing: 1px;
	border-bottom: none;
	font-weight: bold;
}

#topnav a:hover {
	background-color: white;
	color: #444444;
	border-radius: 5px;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px;
}

#sidebar {
	width: 200px;
	float: right;
	border: 1px solid #ccc;
	background-color: white;
}

#sidebar p {
	font-size: 12px;
}

#sidebar ul {
	list-style: none;
	padding-left: 5px;
	padding-right: 5px;
}

#sidebar li {
	padding: 0;
	margin: 0;
}

li#recently_updated_pages-3 a {
		padding-bottom: 8px;
		padding-top: 8px;
		border-bottom: 1px dotted #ccc;
		display: block;
		padding-right: 5px;
}

li#recently_updated_pages-3 {
	margin-bottom: 25px;
}


li#recent-posts-2 a {
		padding-bottom: 8px;
		padding-top: 8px;
		border-bottom: 1px dotted #ccc;
		display: block;
		padding-right: 5px;
}

li#recent-posts-2 {
	margin-bottom: 25px;
}

li#archives-2 a {
	padding-bottom: 5px;
	line-height: 24px;
}

li#archives-2 {
	margin-bottom: 25px;
}


h2.widgettitle {
	font-size: 14px;
	color: white;
	font-weight: normal;
	display: block;
	background-color: #064c88;
	padding: 5px 0 5px 7px;
	margin-bottom: 10px;
	border-bottom: none;
	margin-top: 5px;
}

#sidebar a {
	text-decoration: none;
	color: #444444;
	font-size: 12px;
}

ul#archive-list {
	margin-left: -10px;
}


/*	JASENASIAT - SIDEBAR
-----------------------------------------------------------*/

#sidebar-jasenasiat {
	width: 170px;
	margin-right: 10px;
	float: left;
	border: 1px solid #ccc;
	background-color: white;
	padding: 10px;
}

#sidebar-jasenasiat ul {
	list-style: none;
	padding: 0;
}


#sidebar-jasenasiat li 	{ 
	list-style: none;
	list-style-position: outside;

	display:block; 
	border-bottom-width: 1px; 
	border-bottom-style: solid; 
	border-bottom-color: #FFF; 
	margin: 0;
}

#sidebar-jasenasiat ul li a	{ 
	background-color:#DDD; 
	color:#333; 
	padding:10px 0 10px 5px; 
	border-left-width: 15px; 
	border-left-style: solid; 
	border-left-color: #999; 
}

#sidebar-jasenasiat ul li:last-child a	{ 
	margin-bottom: 0px;
}

#sidebar-jasenasiat ul li a:hover	{ 
	text-decoration: underline; 
	}

#sidebar-jasenasiat ul li ul li a	{ 
	background-color:white; 
	color:#333; 
	padding:5px 0 5px 25px; 
	border-left: none;
	font-size: 10px;
}


#sidebar-jasenasiat a	{ 
	display:block; 
	color: #FFF; 
	text-decoration:none; 
	font-size:12px; 
	letter-spacing:1px; 
	padding: 8px 0 8px 8px; 
	font-weight: bold; 
	background-color: #034884; 
	}
	
#sidebar-jasenasiat a:hover	{ 
	text-decoration: underline;
	}

/*	KUVAT JA KERTOMUKSET
-------------------------------------------------------------------------*/


.kuvat_kertomukset {
	float: left;
	margin-right: 5px;
	margin-bottom: 30px;
	padding: 5px;

}

.kuvat_kertomukset:hover {
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}

.kuvat_kertomukset img{
	border: none;
}

#kuvat_kertomukset img {
	border: none;
	padding: 0;
	
}


.k_kteksti {
	color: #444;
	display: block;
	text-align: center;
	padding-top: 5px;
	font-size: 14px;
}



#kuvatjakertomukset a:hover {
	text-decoration:none;

	
}

/*	TIEDOTTEET
------------------------------------------------------------*/

#tiedotteet ul {
	margin-left: -15px;
}

#tiedotteet li {
	list-style: circle;
	line-height: 15px;
	margin-bottom: 5px;
}



/*	CONTENT
------------------------------------------------------------*/

#content-oikea {
	min-height: 200px;
	width: 600px;
	float: right;
	margin-right: 20px;
}

#content-vasen {
	min-height: 200px;
	width: 620px;

}

#artikkeli {
	background-color: white;
	border: 1px solid #ccc;
	padding: 10px;
	margin-bottom: 20px;
}

.artikkeli {
	background-color: white;
	background-image: url(images/artikkeli-tausta2.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
	border: 1px solid #ccc;
	padding: 15px;
	margin-bottom: 35px;
}

.artikkeli a {
	text-decoration: underline;
}

h5.posttitle a {
	color: #444444;
	text-decoration: none;
	font-weight: normal;
	letter-spacing: 1px;
	border-bottom: none;
	font-size: 18px;
	padding-bottom: 5px;
}

h5.posttitle a:hover {
	color: black;
}

h2 {
	border-bottom:1px solid #999999;
	color:#3F3F3F;
	font-size:18px;
	font-weight:normal;
	letter-spacing:2px;
	margin:0 0 20px 0;
	font-family: Arial;
}

h3 {
	color:#333333;
	font-size:16px;
	font-weight:normal;
	letter-spacing:1px;
	padding:15px 0 10px;
}

h4 {
	font-size: 18px;
	font-weight: normal;
	padding-bottom: 5px;
}

h5 {
	font-family: Arial;
	font-size:18px;
	font-weight:normal;
	letter-spacing:1px;
	margin-right:50px;
	padding-bottom:0px;
}

#jasenasiat h5 {
	font-family:Verdana,Geneva,sans-serif;
	font-size:18px;
	font-weight:normal;
	letter-spacing:1px;
	padding-top: 10px;
	padding-bottom:0px;
}

#jasensivu h3 {
	color:#fff;
	font-size:16px;
	font-weight:normal;
	letter-spacing:1px;
	padding:10px 0 10px 10px;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	margin-bottom: 15px;
	background-color: #034884;
}

#content-yhteystiedot h4 a {
	text-decoration: none;
	color: #064c88;
}



.seuraavat {
	color: #444444;
	text-decoration: none;
	font-weight: normal;
	letter-spacing: 1px;
	font-size: 18px;
	margin-bottom: 15px;
	border-bottom: 1px dotted #444444;
}

span.muokkaa {

}

span.muokkaa a {
	background: url(images/muokkaa.gif) no-repeat left center;
	padding-left: 23px;
	padding-top: 5px;
	color: #444444;
	text-decoration: none;
	color: red;
	text-decoration: none;
	display: block;
	margin-top: 15px;
}

span.more-link a {
	padding-top: 5px;
	text-decoration: none;
}



span.more-link img {
	border: 1px solid #ccc;
	background-color: #fff;
	padding: 5px;
}

.vali {
	margin-bottom: -7px;
}

a.otsikot {
	color: #064c88;
	}

.clear {
	clear: both;
}

#footer {
	background-image: url(images/footer.jpg);
	background-repeat: no-repeat;
	height: 72px;
	width: 942px;
	font-size: 10px;
	letter-spacing: 1px;
}

#footer p {
	padding-top: 25px;
	color: #b4b4b4;
}

#footer a, a:visited {
	color: #b4b4b4;
	text-decoration: none;
}

#login {
	color: #999999;
	float: right;
	margin-right: 80px;
	margin-top: -20px;
}

#login li {
	display: inline;
}

#login a {
	color: #999999;
	text-decoration: none;
	font-size: 10px;
}

p {
	color:#444444;
	font-size-adjust:none;
	font-stretch:normal;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height: 150%;
	margin:0 0 10px;
}

p a, a:visited {
	color: #064c88;
	text-decoration: underline;
}

li, ol {
	margin-left: 25px;
	margin-bottom: 10px;
	color: #444444;
	line-height:18px;
}
 
#content li, lo {
	margin-left: 0px;
}

li a, ol a {
	color: #064c88;
}

.date-etusivu {
	font-size: 10px;
	color: #aaa;
}

#kaikki {
	font-size: 18px;
	margin-top: 20px;
	color: #444444;
}

#kaikki a {
	text-decoration: none;
	color: #444444;
}

p.date {
	background:transparent url(images/dot.gif) repeat-x scroll center center;
	color: #444444;
	font-size: 10px;
	margin: 0px 0 10px 0;
	text-align: left;
	letter-spacing: 1px;
	padding-bottom: 2px;
	padding-top: 2px;
}

p.date span {
	background:white none repeat scroll 0 0;
	padding:3px 5px 0 0px;
	position:relative;
}

.alaviiva {
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
}


.textsize {
	float: right;
}

.takaisin a {
	color: #fff;
	text-decoration: none;
	background-color: #034884;
	padding: 5px 5px 5px 5px;
	letter-spacing: 2px;
}


.printti {
	background: url(images/printer.gif) no-repeat left center;
	float: right;
	padding-left: 20px;
	margin-left: 10px;
	padding-top: 5px;
	color: #444444;
	text-decoration: none;
	font-size: 10px;
}

.printti a {
	border-bottom: none;
}

.printti2 {
	background: url(images/printer.gif) no-repeat left center;
	float: right;
	padding-left: 20px;
	margin-left: 10px;
	padding-top: 5px;
	color: #444444;
	text-decoration: none;
	font-size: 10px;
	margin-top: 15px;
	margin-right: 10px;	
}

.textsize2 {
	float: right;
	margin-top: 15px;
}

#leivanmurut {
	font-size: 10px;
	letter-spacing: 1px;
	margin: 0px 0 0px 0px;
}

#pagenavi {
	text-align: center;
	margin-bottom: 5px;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.alignleft a, .alignright a {
	text-decoration: none;
	color: #064C88;
	font-size: 14px;
	letter-spacing: 1px;
}

#tiedote {
	border-top: 10px solid #ccc;
	border-bottom: 10px solid #ccc;
	margin-bottom: 40px;
	background: white;
	padding: 15px 10px 15px 10px;
	margin-left: -1px;
}

#tiedote-yla {
	background-image: url(images/sticky-yla.png);
	background-repeat: no-repeat;
	height: 73px;
	width: 620px;
}

#tiedote-yla h2 {
	padding-top: 28px;
	padding-left: 8px;
	margin-left: 32px;
	margin-right: 32px;
}

#tiedote-keski {
	background-image: url(images/sticky-keski.png);
	background-repeat: repeat-y;
	width: 550px;
	padding-left: 37px;
	padding-right: 37px;
	padding-bottom: 30px;
	margin-top: -40px;
}

#tiedote-keski img {
	padding: 7px;
	border: 1px solid #ccc;
}

#tiedote-ala {
	background-image: url(images/sticky-ala2.png);
	background-repeat: no-repeat;
	height: 80px;
	width: 620px;
	margin-top: -90px;
	margin-bottom: 35px;
}

#tiedote li {
	list-style: disc;
	list-style-position: inside;
}

#search_box {
    width: 175px;
    height: 30px;
    background: url(images/haku.png);
}
#search_box #s {
    float: left;
    padding: 0;
    margin: 8px 0 0 6px;
    border: 0;
    width: 127px;
    background: none;
}

form#searchform {
	width: 175px;
}

#kalenteri {
	width: 750px;
	margin: 0 auto;
}

#kalenteri img {
	border: none;
	padding: 0;
	margin: 0;
}

#calendar_wrap {
	margin-bottom: 30px;
}

li#subscribe2 {
	padding-top: 5px;
	margin-bottom: 40px;
}

li#subscribe2 p {
	font-size: 12px;
	padding-left: 3px;
	padding-right: 3px;
}

li#subscribe2.widget h2.widgettitle {
	margin-top: 15px;
}

#maksut td {
	border-bottom:1px solid #CCCCCC;
	font-size:13px;
	height:16px;
	padding-left:0px;
	padding-top:10px;
	color: #444444;
}

#linkit-content a:hover {
	text-decoration:none;
	background-color: #064c88;
	color: white;
}

#linkit-content a {
	color:#064c88;
	font-size:14px;
	text-decoration: none;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 3px;
	padding-bottom: 3px;
	margin-top: 15px;
	line-height: 13px;
}

#linkit-content h3 {
	margin-bottom: -10px;
}

#linkit-content a.linkit_normaali {
	color: #444;
	padding: 0;
	margin: 0;
	text-decoration: underline;
	font-size: 12px;
}

#linkit-content a.linkit_normaali:hover {
	background: white;
	text-decoration: none;
}

#searchsubmit {
	display: none;
}

li#upcoming-events {
	margin-bottom: 30px;
}

li#upcoming-events ul {
	margin-bottom: 15px;
}

li#todays-events {
	margin-bottom: 30px;
}

li#todays-events ul li {
	margin-bottom: 5px;
}

#ileContent-71 a {
	color: #444;

	margin-bottom: 0px;
}

.textwidget {
	margin-bottom: 30px;
	padding-left: 3px;
	padding-right: 3px;
}

.textwidget img {
	border: none;
}

span.relevanssi {
	background-color: #05447A;
	color: #fff;
}


/* 	KALENTERIN TYYLITIEDOT
--------------------------------------------------------------*/

.calnk a:hover {
         background-position:0 0;
         text-decoration:none;  
         color:#000000;
  
         }
.calnk a:visited {
         text-decoration:none;
         color:#000000;
      
        }
.calnk a {
        text-decoration:none; 
        color:#000000; 
        font-size: 12px;
        padding-left: 5px;
        }
.calnk a span { 
        display:none; 
        }
.calnk a:hover span {
        color:#333333; 
        background:#F6F79B; 
        display:block;
        position:absolute; 
        margin-top:1px; 
        padding:5px; 
        width:150px; 
        z-index:100;
        border: 1px solid #ccc;
        }
.calendar-table {
        border:none;
        width:100%;
     }
.calendar-heading {
        height:25px;
        text-align:center;
        border:1px solid #ccc;
        background-color:#C3D9FF;
     }
.calendar-next {
        width:25%;
        text-align:center;
     }
     

.calendar-next a {
        color: #444444;
        text-decoration: none;
     }
     
     .calendar-prev {
        width:25%;
        text-align:center;
     }
     
       .calendar-prev a {
        color: #444444;
        text-decoration: none;
     }
     .calendar-month {
        width:50%;
        text-align:center;
        font-weight:normal;
        font-size: 20px;
        color: #444444;
        padding-top: 5px;
        padding-bottom: 5px;
     }
     .normal-day-heading {
        text-align:center;
        width:25px;
        height:25px;
        font-size:0.8em;
        border:1px solid #ccc;
        background-color:#E8EEF7;
        font-size: 12px;
     }
     .weekend-heading {
        text-align:center;
        width:25px;
        height:25px;
        font-size:0.8em;
        border:1px solid #ccc;
        background-color:#E8EEF7;
        color:#FF0000;
        font-size: 12px;
     }
     .day-with-date {
        vertical-align:text-top;
        text-align:left;
        width:60px;
        height:60px;
        border:1px solid #ccc;
        background-color: white;
     }
     .no-events {

     }
     .day-without-date {
        width:60px;
        height:60px;
        border:1px solid #ccc;
        background-color: white;
     }
     span.weekend {
        color:#FF0000;
     }
     .current-day {
        vertical-align:text-top;
        text-align:left;
        width:60px;
        height:60px;
        border:1px solid #444444;
        background-color:#E8EEF7;
     }
     span.event {
        font-size:0.75em;
     }
     .kjo-link {
        font-size:0.75em;
        text-align:center;
     }
     .event-title {
        text-align:center;
        font-weight:bold;
        font-size:1.2em;
     }
     .event-title-break {
        width:96%;
        margin-left:2%;
        margin-right:2%;
        margin-top:5px;
        margin-bottom:5px;
        text-align:center;
        height:1px;
        background-color:#ccc;
     }

.event-content-break {
        width:96%;
        margin-left:2%;
        margin-right:2%;
        margin-top:5px;
        margin-bottom:5px;
        text-align:center;
        height:1px;
        background-color:#ccc;
     }
     .calendar-date-switcher {
        height:25px;
        text-align:center;
        border:1px solid #D6DED5;
        background-color:#E4EBE3;
     }
     .calendar-date-switcher form {
        margin:0;
        padding:0;
     }
     .calendar-date-switcher input {
        border:1px #D6DED5 solid;
     }
     .calendar-date-switcher select {
        border:1px #D6DED5 solid;
     }
     .cat-key {
        width:100%;
        margin-top:10px;
        padding:5px;
        border:1px solid #D6DED5;
     }

#sidebar .wp-forecast-copyright a {
	font-size: 9px;
	color: #ccc;
}

#sidebar .wp-forecast-fc-head {
	font-size: 14px;

	margin-top: 5px;
	padding-top: 5px;
}

li#cat-posts-2.widget a {
	border-bottom:1px dotted #CCCCCC;
	display:block;
	padding-bottom:8px;
	padding-right:5px;
	padding-top:8px;
}

li#cat-posts-3.widget a {
	border-bottom:1px dotted #CCCCCC;
	display:block;
	padding-bottom:8px;
	padding-right:5px;
	padding-top:8px;
}

li#cat-posts-3.widget ul li:last-child {
	border-bottom: none;
}

li#archives-3.widget {
	margin-top: 15px;
	margin-bottom: 25px;
}

li#archives-3 a {
	line-height:24px;
	padding-bottom:5px;
}

#recent-posts-3 a {
	border-bottom: 1px dotted #ccc;
	display: block;
	padding-bottom: 8px;
	padding-top: 8px;
}

li#recent-posts-3 {
	margin-bottom: 20px;
}

#haku {
	float: right;
	margin-right: 70px;
	margin-top: 50px;
}

li#collapsible-archive ul li ul li li a {
	border-bottom:1px dotted #CCCCCC;
	display: block;
	padding: 5px 0 5px 0;
}

li#collapsible-archive {
	margin-bottom: 25px;
	margin-top: 7px;
}





.sticky {
background: #fff;
}

.muokkaa2 a {
background: #034884;
padding: 3px 5px 3px 5px;
color: white;
text-decoration:none;
border: 1px solid #034884;
letter-spacing: 1px;
}

.muokkaa2 a:hover {
background: #fff;
padding: 3px 5px 3px 5px;
color: #444444;
text-decoration:none;
border: 1px solid #444444;
}


/* KALUSTO-TAULUKKO
------------------------------------------------------------------*/

table.sortable{
	border:0; padding:0; margin:0;
	}

table.sortable td{
	padding:4px; width:120px; border-bottom:solid 1px #DEDEDE;
	}

table.sortable th{
	padding:4px;
	}

table.sortable thead{
	background:#265686; color:white; text-align:left;
	}

table.sortable thead tr:hover{
	background:#265686; color:white; text-align:left;
	}

table.sortable tfoot{
	font-weight:bold; 
	}

table.sortable tfoot td{
	border:none;
	}

table.sortable tr:hover{
	background-color:#F1F1F1;
	}

#content table.sortable img {
	border:0;
	background-color:transparent;
	}


/* MAKSUT-TAULUKKO
------------------------------------------------------------------*/

table.maksut tr:hover{
	background-color:#F1F1F1;
}



/*	NAVIGOINNIN CURRENT
-----------------------------------------------------------*/

body#blog #topnav .blog, 
body#seuran-esittely #topnav .esittely, 
body#eskimokalenteri #topnav .kalenteri, 
body#jasenasiat #topnav .jasenasiat,
body#yhteystiedot #topnav .yhteystiedot,
body#linkit #topnav .linkit,
body#inenglish #topnav .english
 {
	background-color: white;
	color: #444444;
	border-radius:5px;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px;
}

/*	LOMAKKEEN MUOTOILUT
-----------------------------------------------------------*/

.wpcf7-validates-as-required {
	background-image: url(images/lomake-bg.png);
	background-repeat: repeat-x;
	background-position: top top;
	border: 1px solid #ccc;
	padding: 4px;
}

.wpcf7-validates-as-required:focus {
	border: 1px solid black;
	background-color: white;
	background-image: none;
}

fieldset {
	width: 400px;
	padding: 10px;
}

form.wpcf7-form p {

	
}

legend {
	padding: 0 10px 0 10px;
}

span.button input {
	border: 1px solid gray;
	background-color: white;
	padding:  5px 25px 5px 25px;
	letter-spacing: 2px;
	font-size: 12px;
	margin-left: 10px;
	margin-top: 20px;
	margin-bottom: 10px;
}

span.button input:hover {
	border: 1px solid black;
	background-color: gray;
	color: white;
}

.ileClassEditButton {
	visibility: hidden;
}




h1.ilmoittautuminen {
	font-size: 16px;
	font-weight: normal;
}


#ad {
	margin-left: 5px;
}

#ad img {
	border: none;
}


label {
	display: block;
	line-height: 30px;
}



#vaihtoehtoinen .wpcf7-list-item-label {
	display: none;
}

span.calnk  {
	line-height: 18px;
}

#recent_photos_envelope{margin:0 0 200px 0; padding-left: 10px;}
.recent_photo_image a {float:left;display:inline;margin:0 16px 15px 0;border:none;}
.recent_photo_image a:hover {}
#browsephotos{margin: 0 25px 10px 12px; float:right;}

#sidebar img  {border: 1px solid #ccc; padding: 1px;}

#mainos {
	border: 1px solid #ccc;
	padding: 1px;
	margin-bottom: 15px;
}

#ylabanneri {
	margin: 0 auto;
	padding: 5px;
	border: 1px solid #ccc;
	width: 580px;
	margin-bottom: 25px;
}

#sidebar img.wp-forecast-fc-left {
    border: none;
}

#sidebar img.wp-forecast-curr-left{
	border: none;
}