


body {
	background-color: #27665B;
	background-image: url(takunen.png); 
	font-family: 'Open Sans', sans-serif;
	
}

h3 {
	padding-top: 10px;
	color:#0a382b; 
	text-align:left;  
	letter-spacing:2px; 
	margin:0px; 
	border-bottom:1px solid #000000; 
	font-size:13px; 
}

h2 {
padding-top: 5px;
color:#0a382b; 
text-align:center; 
border-bottom:1px solid #000000;
font-size:18px;
text-shadow: 2px 2px 2px #9db49d;
font-family: 'Roboto', sans-serif;
font-weight: normal;
}



h1.paivitys {
font-family: 'Courgette', sans-serif;
color:#0a382b; 
text-align:left;
margin-left: 10px;font-size:25px;
margin-bottom: 0px;
padding-bottom: 0px;
text-shadow: 4px 4px 4px #9db49d;
font-weight: normal;
}

h1 {
font-family: 'Courgette', sans-serif;
padding: 10px;
color:#0a382b; 
text-align:center;  margin:0px; font-size:30px;
text-shadow: 4px 4px 4px #9db49d;
font-weight: normal;
}

img {
margin: 5px;
}

.lippu {
margin-top: 0px;
margin-bottom: 0px;
}

.mainos {
height: 170px;
margin-top: 0px;
margin-bottom: 0px;

}

img.koristekuva_oikealla {
float:right;
padding: 3px;
margin-right: 0em;
margin-left: 1em;
margin-top: 0;
margin-bottom: 0.5em;
border: 1px solid #cccccc;
}

img.koristekuva_vasemmalla {
float:left;
padding: 3px;
margin-right: 1em;
margin-left: 0em;
margin-top: 0em;
margin-bottom: 0.5em;
border: 1px solid #cccccc;

}

img.koristekuva{

padding: 3px;
margin: 1em;
border: 1px solid #cccccc;

}

#uutislista ul     	     {
		list-style: none;
		padding-left: 1em;
		text-indent: -1em;
	     }

#uutislista ul li:before {
	
		 content: "\270E \020";
		 font-size: 20px;
		 color:#0a382b; 
		text-shadow: 4px 4px 4px #cccccc;
	     }
	     
#uutislista li{
	margin-bottom: 10px;
	margin-left: 10px;
}

.suosittelu {
	margin-left: 2em;
	width: 100%;
	text-align: center;
	padding: 10px;
		 color:#0a382b; 
		text-shadow: 4px 4px 4px #cccccc;	
}

.vieraskirjaviesti{
	padding: 1em;
	
}

.viestitable{
	background-color:rgba(255,255,255,0.5);
	
	
}


pre {
font-size:12px; 
   color: #000000;
}

.content {
font-size:12px; 
   color: #000000;
   text-align:justify;
   border:1px solid #000000;
   background-color: #ffffff;
background-image: url(taustakuva.jpg); 
background-repeat:no-repeat;
}


.content-wide {
   font-size:12px; 
   color: #000000;
   text-align:justify;
   border:1px solid #000000;
   background-color: #ffffff;

}
.footer {
font-family:Arial Narrow; 
font-size:12px; 
   color: #ffffff;

}



.teksti {
padding-left: 10px;
padding-right: 10px;
font-size: 1.2em;

}

td{font-size:12px; color:#000000; padding:3px;}
td.tieto{font-size:12px; color:#000000; padding:2px;} 
td.raja{ height: 10px; border: 1px solid #000000; background: #27665B; font-size: 5px;}


.linkit{
margin-top: 185px;



}



a:link, a:visited {
   color:#0a382b;
   text-decoration:underline;
   border:0px;
}

a:hover, a:active {
   color:#27665b;
   border:0px;

}

.laatikko {
background-image: url(takunen2.png); 	
border-top: 5px solid #5f8882;
border-bottom: 5px solid #5f8882;
}

#perustiedot{
width: 100%;
border-top: 5px solid #5f8882;
border-bottom: 5px solid #5f8882;
}

#sukutaulu {
width: 100%;
border-top: 5px solid #5f8882;
border-bottom: 5px solid #5f8882;
margin-top: 5px;
margin-bottom: 5px;

}

#kisakalenteri{
width: 100%;
margin-top: 10px;
margin-bottom: 10px;
}

.otsake {
background-color: #27665B;
font-weight: bold;
color: #ffffff;
}

.hvaliotsikko {
margin-top: 3px;
margin-bottom: 3px;
padding-top: 0px;
color:#0a382b; 
font-size:20px; 
text-align:left;  
border-bottom:0px solid #000000;
}

.ponikuva{
  padding: 3px;
border: 1px solid #cccccc;
max-width: 570px;
}

img.ponikuva_kuollut {
  padding: 3px;
border: 1px solid #cccccc;
max-width: 570px;
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}

img.ponikuva_kuollut:hover {
  filter: none;
  -webkit-filter: grayscale(0%);
}

.tv
{text-align: center;}
.tk {
background: #cdddd5;
font-weight: bold;
}

.sukutk {
background: #cdddd5;
}

/* tables */
table.tablesorter {
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	width: 100%;
	text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {

	background-color: #cdddd5;
	border: 1px solid #FFF;
	padding: 4px;
}
table.tablesorter thead tr .header {
	background-image: url(bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: middle;
	height: 3em;
}
.tablesorter tbody tr:nth-child(odd) {
	background-color: #e6EEEE;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}


/*----- Tabs -----*/
.tabs {
    width:100%;
    display:inline-block;
    background: #cdddd5;
    font-weight: bold;
    padding: 0px;

}
 
    /*----- Tab Links -----*/
    /* Clearfix */
    
	.tab-links {
	margin: 0px;
	font-size: 1.2em;

    }
    
    .tab-links:after {
	margin: 0px;
        display:block;
        clear:both;
        content:'';
    }
    
 
    .tab-links li {
        	
	margin: 0px;
        float:left;
        list-style:none;
    }
 
        .tab-links a {
	    padding-left: 1em;
	    padding-right: 1em;
	    padding-top: 3px;
	    padding-bottom: 3px;
            display:inline-block;
	    margin: 0px;

        }
 
        .tab-links a:hover {
		margin: 0px;
            background:#a7cce5;
            text-decoration:none;
        }
 
    li.active a, li.active a:hover {
        background:#fff;
margin: 0px;
    }
 
 
 .pg-normal { 
color: #000000; 
font-size: 15px; 
cursor: pointer; 
background: #cdddd5; 
padding: 2px 4px 2px 4px; 
}

.pg-selected { 
color: #fff; 
font-size: 15px; 
background: #000000; 
padding: 2px 4px 2px 4px;

}
    /*----- Content of Tabs -----*/
    .tab-content {
	font-size: 1.2em;
    }
    
    
 
        .tab {
		min-height: 100px;
            	max-height: 300px;
		overflow: auto;
		display: none;
		margin-top: 6px;
		margin-left: 5px;
        }
 
        .tab.active {
            display:block;
        }
	
	
	tr.myyntiponi{
		background: #F5D6CC;
	}
	tr.mennyt{
		background: #CCCCCC;
	}
	tr.varattuponi{
		background: #D6EBD6;
	}
