body { 
background-color : transparent; 
background-image : url('http://i236.photobucket.com/albums/ff111/SeSSa95/koklaa_zpsfe889721.png'); 
background-repeat : repeat; 
background-attachment : fixed; }
}
	


#sisalto { 
width:855px;
margin: 0px auto;
-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;

}

#teksti { 
background-color: rgba(77,77,77,0.8);
width:820px;
margin-top:-40px;
padding-top:0px;
padding-right:20px;
padding-left:20px;
margin-left: 280px;
text-align:justify;
font-family: Sans-serif, Verdana, 'PT Sans';
font-size:14px;
line-height:1.5;
color:#999999;
border-left : 1px solid #666; 
border-right : 1px solid #666;  
border-bottom : 1px solid #666; 

}

#sivuun { 
position : fixed; 
margin-left : 15px; top : 10px; 
}



.navi a:link, .navi a:visited { 
display : block; 
color : #f9f9f4; 
text-decoration: none;  
border : 1px solid #6c6c6c; 
padding : 4px 5px 4px 4px; 
background-color: rgba(133, 133, 133, 0.9); 
width : 200px;
border-radius : 2px;
box-shadow: 0px 0px 5px rgba(165, 165, 165, 0.5); 
}

.navi a:hover, .navi a:active, .navi a:focus { 
display : block; 
color : #050505; 
text-decoration: none;  
background-color : rgba(237, 221, 144, 0.9);
border : 1px solid #6c6c6c; 
padding : 4px 5px 4px 4px; 
width : 200px; 
border-radius : 2px; 
-webkit-transition: all 0.3s ease-in; 
-moz-transition: all 0.3s ease-in; 
-o-transition: all 0.3s ease-in; 
transition: all 0.3s ease-in;
box-shadow: 1px 3px 5px rgba(113, 102, 85, 0.5); 
}

.navi div { 
margin-bottom: 15px; 
}

.navi { 
font-family : 'Courgette'; 
text-decoration: none; 
font-size : 15px; 
line-height : 23px; 
text-align : center; 
letter-spacing : 0px; 
display: table; 
margin-left: 15px; 
margin-right: auto; 
align: center; 
}





.sivuteksti { 
font : 12px open sans, serif; 
color : #6d6d6d;  
background : transparent; 
text-align : center; 
margin-left: -25px; 
}

.kuvaa { 
margin-left : -20px;
margin-bottom : -10px;
display: table; 
margin-right: auto; 
align: center; 
}


.h1 {
background: url(http://i236.photobucket.com/albums/ff111/SeSSa95/td111_zps5bdf8546.png) -6px -6px no-repeat;
font-size: 40px;
font-weight: 500;
color: #464646;
text-align: center;
line-height: 2.5;
font-family: 'Great Vibes', cursive;
}

.h11 {
background: url(http://i236.photobucket.com/albums/ff111/SeSSa95/td113_zps67eacde5.png) 0px 0px no-repeat;
background-height: 270px;
font-size: 40px;
font-weight: 500;
padding-top:130px;
color: #464646;
text-align: center;
line-height: 1.65;
font-family: 'Great Vibes', cursive;

}

h2 {
font-size:18px;
letter-spacing:1px;
color:#e5ecdf;
font-weight:200;
font-family: 'Courgette', sans-serif;
padding-left:25px;
margin-bottom:5px;
}


h3 { 
font-family: 'PT Sans', sans-serif;
font-size:14px;
color:#e1e1e1;


}


h10 {
font-family: 'Courgette', cursive;
font-size:20px;
font-weight:400;
color:#e5e8e2;
letter-spacing:1px;
}




a:link {
color:#c2c2c2;
-webkit-transition: all 700ms ease;
-moz-transition: all 700ms ease;
-ms-transition: all 700ms ease;
-o-transition: all 700ms ease;
transition: all 700ms ease;
text-shadow: 0px 0px #859932;
}

a:visited {
color:#c2c2c2;
}

a:active {
color:#c2c2c2;
}

a:hover {
color:#ffffff;
-webkit-transition: all 700ms ease;
-moz-transition: all 700ms ease;
-ms-transition: all 700ms ease;
-o-transition: all 700ms ease;
transition: all 700ms ease;
}

.taulukko {
width:100%;
margin:0px auto 0px auto;
border-collapse:collapse;
border-bottom:1px solid #000;
border-top:1px solid #000;
}






.jalktd1 {
height:30px;
font-weight: bold;
font-style: none;
color: #463e34;
letter-spacing: 0px;
font-size: 14px;
padding-left: 20px;
background:url(http://i236.photobucket.com/albums/ff111/SeSSa95/teedee2_zps574b5961.jpg);
text-shadow: 0px 0px #859932;
border-top: 1px solid #a08557;
-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
}

.jalktd1 a{
color: #463e34;
}

.jalktd1 a hover {
color: #463e34;
}

.jalktd2 {
padding:3px 8px;
color: #000;
border-top: 1px solid #404040;
border-bottom: 1px solid #404040;
background:url(http://i236.photobucket.com/albums/ff111/SeSSa95/td222_zpsfca5438c.png);

}
.jalktd3 {
padding:2px 7px;
color: #000;
border-bottom: 1px solid #404040;
background-color: rgba(255,255,255,0.2);

}








.kuva {
-webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.31);
-moz-box-shadow:    0px 0px 7px 0px rgba(0, 0, 0, 0.31);
box-shadow:         0px 0px 7px 0px rgba(0, 0, 0, 0.31);
border:2px solid #996c7a;
margin:8px;
-webkit-transition: all 700ms ease;
-moz-transition: all 700ms ease;
-ms-transition: all 700ms ease;
-o-transition: all 700ms ease;
transition: all 700ms ease;
}

.kuva:hover {
opacity: 0.7; 
filter: alpha(opacity=70);
-webkit-transition: all 700ms ease;
-moz-transition: all 700ms ease;
-ms-transition: all 700ms ease;
-o-transition: all 700ms ease;
transition: all 700ms ease;
}

.ema {
padding:5px 10px;
background-image:url(http://i236.photobucket.com/albums/ff111/SeSSa95/tausta3_2_zps93897676.png);
}

.isa {
padding:5px 10px;
background-image:url(http://i236.photobucket.com/albums/ff111/SeSSa95/tausta3_zps87b86ce4.png);
}




#box {
color:#9f838c;
background-image:url(http://i236.photobucket.com/albums/ff111/SeSSa95/tausta3_zps87b86ce4.png);
        width:200px;
        float: right;
        margin-left:30px;
        padding-left:20px;
        padding-right:10px;
        padding-bottom:10px;
        padding-top:1px;
        border-radius:20px;
	box-shadow: 0px 0px 5px;
	font-family: 'PT Sans', sans-serif;
	font-size:12px;
	color:#bf919e;
        }







.hevoslista1 {
line-height:13pt;  
background-color: rgba(185,185,185,0.1);
border-radius:15px;
}


.hevoslistakuva {

text-align:left;
margin-right:8px;
border:0px solid #ffffff;  
padding:0px; 
-moz-border-radius: 5px; 
border-radius:5px; 
box-shadow: 1px 1px 3px #a9a18c;
}



.hevoslistakuva:hover{
opacity: 0.7;
border:0px solid #ffffff;  
padding:0px; 
text-align:center; 
-moz-border-radius: 5px; 
border-radius:5px; 
box-shadow: 1px 1px 3px #a9a18c;
}


a.linkki { 
font-family: 'Lato', sans-serif;
color:#c2c2c2;
text-decoration: none;
line-height: 38px;
-webkit-transition: all 700ms ease;
-moz-transition: all 700ms ease;
-ms-transition: all 700ms ease;
-o-transition: all 700ms ease;
transition: all 700ms ease;
text-shadow: 0px 0px #859932;
}

a.linkki:hover { 
color:#ffffff;
-webkit-transition: all 700ms ease;
-moz-transition: all 700ms ease;
-ms-transition: all 700ms ease;
-o-transition: all 700ms ease;
transition: all 700ms ease;
}



.td1 {
width:20%;
font-family: Palatino Linotype, Serif;
height:30px;
font-weight: bold;
font-style: none;
color: #000;
letter-spacing: 0px;
font-size: 14px;
padding-left: 20px;
background:url(http://i236.photobucket.com/albums/ff111/SeSSa95/td222_zpsfca5438c.png);
border: 1px solid #3f3f3f;
-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
}

.td2 {
width:30%;
font-family: Palatino Linotype, Serif;
padding-left: 10px;
background-color: #6e6e6e;
color: #181818;
border: 1px solid #515151;
-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.3);
-moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.3);
box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.3);
}


.td3 {
font-family: Palatino Linotype, Serif;
background-color: rgba(255,255,255,0.2);
font-style: none;
color: #adadad;
letter-spacing: 0px;
font-size: 14px;
padding-left: 20px;
background:url(http://i236.photobucket.com/albums/ff111/SeSSa95/td222_zpsfca5438c.png);
text-shadow: 0px 0px #859932;
border: 1px solid #454545;
-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
}


.td4 {
font-family: Palatino Linotype, Serif;
padding-left: 20px;
background-color: rgba(255,255,255,0.2);
color: #181818;
border: 1px solid #515151;
-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
}




.td5 {
font-family: Palatino Linotype, Serif;
padding-left: 10px;
background-color: rgba(255,255,255,0.2);
color: #181818;
border: 1px solid #515151;
-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
    -moz-border-radius-bottomleft:10px;
    -webkit-border-bottom-left-radius:10px;
    border-bottom-left-radius:10px;
}


.kehykset{
background: url(http://i236.photobucket.com/albums/ff111/SeSSa95/tdtumma_zps989889bf.png);
padding: 7px;
margin: 7px;
border: 0px solid #ab9471;
box-shadow: 1px 1px 4px #62725b;}





.laatikko {
margin-left: 65px; 
}




.laatikko2 {
background: #d6dbc5;
font-family:  Arial, sans-serif;
padding-top: 20px; 
padding-bottom: 20px; 
padding-right: 10px; 
padding-left: 50px; 
}




#paivakirja {
overflow: auto; 
color: #555;
margin-top: 5px;
padding: 0px 20px 0px 10px;
background-color: rgba(255,255,255,0.2);
padding:10px 25px;
font-size:13px;
color:#131313;


-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.2);
-moz-border-radius: 20px; 
	-webkit-border-radius: 20px; 
	-khtml-border-radius: 20px;
border-radius: 10px; 
}







#perustiedot {
	width:98%;
	margin:0 auto;
	-moz-border-radius: 10px; 
	-webkit-border-radius: 10px; 
	-khtml-border-radius: 10px;
	border-radius: 10px;  
	border-spacing: 0;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.15);
	-moz-box-shadow:    1px 1px 10px 0px rgba(50, 50, 50, 0.15);
	box-shadow:         1px 1px 5px 0px rgba(50, 50, 50, 0.15);
	border:1px solid #2c2c2c;
box-shadow: 0px 0px 5px #2c2c2c;
}





#perustiedot tr:last-child td:first-child {
    -moz-border-radius-bottomleft:10px;
    -webkit-border-bottom-left-radius:10px;
    border-bottom-left-radius:10px;
}



#perustiedot tr:first-child td:first-child {
    -moz-border-radius-topleft:10px;
    -webkit-border-top-left-radius:10px;
    border-top-left-radius:10px
}

#perustiedot tr:last-child td:last-child{
    -moz-border-radius-bottomright:10px;
    -webkit-border-bottom-right-radius:10px;
    border-bottom-right-radius:10px;
}
#perustiedot tr:first-child td:last-child{
    -moz-border-radius-topright:10px;
    -webkit-border-top-right-radius:10px;
    border-top-right-radius:10px;
}




#suku {
	width:97%;
	margin:0 auto;
	-moz-border-radius: 10px; 
	-webkit-border-radius: 10px; 
	-khtml-border-radius: 10px;
	border-radius: 10px;  
	border-spacing: 0;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.15);
	-moz-box-shadow:    1px 1px 10px 0px rgba(50, 50, 50, 0.15);
	box-shadow:         1px 1px 5px 0px rgba(50, 50, 50, 0.15);
	border:1px solid #2c2c2c;
box-shadow: 0px 0px 5px #2c2c2c;
}









#suku tr:first-child td:first-child{ 
    -moz-border-radius-topleft:10px;
    -webkit-border-top-left-radius:10px;
    border-top-left-radius:10px

}

#suku tr:last-child td:first-child{
    -moz-border-radius-bottomright:10px;
    -webkit-border-bottom-right-radius:10px;
    border-bottom-right-radius:10px;
}
#suku tr:first-child td:last-child{
    -moz-border-radius-topright:10px;
    -webkit-border-top-right-radius:10px;
    border-top-right-radius:10px;
}



.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:25px solid #c8a341;
}

.lightbox:target {
	outline: none;
	display: block;
}
