body {
	font-family: 'Alegreya', serif;
	font-size: 17px; 
	background: #d9dcde;
	margin-bottom: 40px;
text-align: justify;
}


.copyt {
	font-family: 'Alegreya', serif;
	font-size: 12px; 
	background: #d9dcde;
	margin-bottom: 0px;
text-align: center;
}

.copyt1 {
	font-family: 'Alegreya', serif;
	font-size: 13px; 
	background: #d9dcde;
	margin-bottom: 0px;
text-align: center;
}



p {
	text-shadow: 1px 1px #eaeaea;
}

h1, h2, h3 {
	font-family: 'Gabriela', serif;
	font-weight: bold;
	text-shadow: 2px 1px #ffffff;
margin-top:40px;
}

h4, h5, h6 {
	font-weight: bold;
}

hr {
	border-top: 1px solid #e2e4e5;
	border-bottom: 1px solid #d1d2d3;
	margin-bottom: 20px;
margin-top: 0px;
}

h1 {
	text-align: center; padding: 5px;
}

a, a:link {
	color: #657479;
}

a:hover {
	color: #3b3b38;
}

.nosto {
	background: #e6e7e8; border:10px solid #d9dcde; display: table; 
}
	
#photo {
	background: url('../img/bg.jpg');
	background-attachment: fixed;
	background-position: center bottom;
	border-bottom: 10px #657479 solid;
}

#photo p {
	color: #fff;
	font-style: italic;
	font-weight: bold;
	font-size: 130%;
	text-shadow: 1px 1px #27282c;
margin-top: -30px;
}

@media (max-width: 768px)
.logo img {
  width: 100%;
}

#photobg {
	background-color: rgba(38, 39, 43, 0.5);
	min-height: 350px;
	padding-top: 70px;
	text-align:center;

}

.navbar {
	border-bottom: 0px; background: #27282c;
	font-size: 70%; text-transform: uppercase; font-weight: bold; letter-spacing: 1px;
	border-radius:0; margin:0;
}

#main {
	padding-top: 40px; 
}

@media (min-width: 768px){
    .navbar-nav{
        float:none;
        margin: 0 auto;
        display: table;
        table-layout: fixed;
    }
}






#perustiedot {
	width:100%;
	margin:0 auto;  
	margin-top: 10px; 
	border-spacing: 0;
border-top:1px solid #686868;
border-bottom:1px solid #686868;
}



#tiedot {
margin-top: 4px;
	width:100%;
border-spacing: 0;
	line-height:22px;
border-top:1px solid #686868;
border-bottom:1px solid #686868;

}


.suku {
width:33%;
font-style: none;
color: #5c4242;
letter-spacing: 0.3px;
font-size: 14px;
padding-left: 20px;
line-height: 1.4; 
padding-top:10px;
padding-bottom:10px;
border-bottom: 1px solid #bfbfbf;
background-color: rgba(175,174,163,0.1);
}


.suku2 {
width:33%;

font-style: none;
color: #5c4242;
letter-spacing: 0.3px;
font-size: 14px;
padding-left: 20px;
line-height: 1.4; 
padding-top:10px;
    padding-bottom:10px;
background-color: rgba(175,174,163,0.1);

}


.td1 {
width:20%;

height:35px;
font-weight: bold;
font-style: none;
color: #262626;
letter-spacing: 0px;
font-size: 15px;
padding-left: 20px;
background-color: rgba(175,174,163,0.1);
border-bottom: 1px solid #c4c4c4;
	text-shadow: 1px 1px #e3e3e3;

}

.td2 {
width:30%;

padding-left: 10px;
background-color: rgba(175,174,163,0.1);
color: #262626;
border-bottom: 1px solid #c4c4c4;
font-size: 15px;
	text-shadow: 1px 1px #e3e3e3;

}

.td1last {
width:20%;

height:35px;
font-weight: bold;
font-style: none;
color: #262626;
letter-spacing: 0px;
font-size: 15px;
padding-left: 20px;
background-color: rgba(175,174,163,0.1);
	text-shadow: 1px 1px #e3e3e3;


}

.td2last {
width:30%;
font-size: 15px;
padding-left: 10px;
background-color: rgba(175,174,163,0.1);
color: #262626;
	text-shadow: 1px 1px #e3e3e3;

}



.taulukko2 {
width:100%;
margin-left:0px;
border-top:1px solid #686868;
border-bottom:1px solid #686868;

}




.jalktd3 {
padding:5px 7px;
font-size: 15px;
color: #000;
border-bottom: 1px solid #c4c4c4;
background-color: rgba(175,174,163,0.1);

}


.jalktd3l {
padding:5px 7px;
font-size: 15px;
color: #000;
background-color: rgba(175,174,163,0.1);

}

.kehykset13{
background: url(http://i236.photobucket.com/albums/ff111/SeSSa95/kehykset_zpslsy0vlkv.jpg);
padding: 5px;
margin: 8px;
margin-bottom: 10px;
margin-top: 0px;
border: 0px solid #ab9471;
box-shadow: 1px 1px 4px #62725b;
height:190px;
width:auto;}




#paivakirja {
	width:100%;
	margin:0 auto;  
padding:10px 14px;
	margin-top: 10px; 
	border-spacing: 0;
border-top:1px solid #686868;
border-bottom:1px solid #686868;
background-color: rgba(175,174,163,0.1);

}

#paivakirja p{
text-shadow: 1px 1px #e1e1e1;

}

.lightbox {
	display: none;
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.4);
}

.lightbox img {
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
border:10px solid #fff;
}

.lightbox img2 {
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
border:10px solid #fff;
}


.lightbox img3 {
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
border:10px solid #fff;
}


.lightbox img4 {
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
border:10px solid #fff;
}


.lightbox img5 {
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
border:10px solid #fff;
}

.lightbox img6 {
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
border:10px solid #fff;
}
.lightbox:target {
	outline: none;
	display: block;
}


#palkinnot{ 
width: 100%; 
background-color: rgba(175,174,163,0.1);
padding-top: 0px; 
margin-top: 0px; 
margin-right: 0px; 
padding-bottom: 0px; 
padding-right: 20px; 
padding-left: 20px; 
border-top:1px solid #686868;
border-bottom:1px solid #686868;
margin-top:15px;
}