@import url(https://fonts.googleapis.com/css?family=Lora|Roboto|Hind|Parisienne|Arapey|Arapey:400i&display=swap|Tangerine|Tangerine&display=swap);

body {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	font-family: 'Lora', serif;
	color: #343331;
	background-image:url(https://live.staticflickr.com/65535/50565817426_b80b3d305c_k.jpg);
	background-attachment:fixed;
}
a {
	text-decoration: none;
	font-weight:normal;
	color:#a1a6ac;
    text-shadow:1px 1px 1px #eeffff;
}
a:hover {
	color: #81858a;
	-webkit-transition: all 0.2s ease-in; -moz-transition: all 0.2s ease-in; -o-transition: all 0.2s ease-in; transition: all 0.2s ease-in;  
}

/*VALIOTSIKOT*/

h1 {
	font-size: 1.6em;
	font-weight: normal;
	padding-bottom:10px;
	margin-top: 15px;
	margin-bottom: 25px;
	border-bottom:3px double #d6dadc;
	text-align:center;
	font-style:italic;
	font-family:'Arapey',serif;
    text-shadow:1px 1px 3px #fff;
    letter-spacing:0.3px;
    color:#494642;
}
h1::first-letter {
    font-family: 'Parisienne';
    font-size: 140%;
}
h2 {
	font-size: 1.5em;
	line-height: 40px;
	font-weight: normal;
	margin-top: 0;
	margin-bottom: 25px;
    text-shadow:1px 1px 3px white;
    font-style:italic;
	font-family:'Arapey',serif;
    text-align:center;
    color:#343331;
}
h3 {
	font-size: 1.6em;
	line-height: 22px;
	font-weight:normal;
	padding-bottom:10px;
	font-style:italic;
	margin-top: 40px;
	margin-bottom: 40px;
	text-align:center;
	font-family:'Arapey',serif;
    text-shadow:1px 1px 3px #fff;
	border-bottom:3px double #d6dadc;
}
h4 {}
h5 {}
h6 {}

/*ULKOASUN RAKENNE*/

#content {
	padding: 10px 3% 10px 2%;
	margin: 0 auto;
	min-height:100vh;
	width: 70%; /* ie5win fudge begins */
	voice-family: "\"}\"";
	voice-family:inherit;
	width: 66%;
	background: rgba(255,255,255, 0.8);
	border-right: 10px solid #feffff;
	border-left: 10px solid #feffff;
    box-shadow:0px 0px 3px #cbc7c5;
}
#otsikko {
	padding: 0.8em 3% 0em 2%;
	margin: 0 auto;
	height:6em;
	width: 70%; /* ie5win fudge begins */
	voice-family: "\"}\"";
	voice-family:inherit;
	width: 66%;
	background-image:url(http://lasikuu.net/ab/k/06flag5.png);
    background-repeat: no-repeat;
	border-right: 10px solid transparent;
	border-left: 10px solid transparent;
    box-shadow:0px 0px 3px #cbc7c5;
    font-size:1.15em;
    text-align:center;
    text-shadow:1px 1px 3px #ccc;
}
#otsikko a{
    padding:0 1em 0 1em;
    text-shadow:1px 1px 1px #fff;
    font-size:0.8em;
	color: #81858a;
}
#otsikko a:hover{
	color: #555;
    text-shadow:1px 1px 3px #fff;
}
#footer {
	padding: 0.8em 3% 0em 2%;
	margin: 0 auto;
	height:4.5em;
	width: 70%; /* ie5win fudge begins */
	voice-family: "\"}\"";
	voice-family:inherit;
	width: 66%;
	background: rgba(255,255,255, 0.5);
	border-right: 10px solid transparent;
	border-left: 10px solid transparent;
    box-shadow:0px 0px 3px #cbc7c5;
    font-size:0.8em;
    text-align:center;
    text-shadow:1px 1px 3px #ddd;
    color:#727779;
    letter-spacing:0.7px;
}
.tekstialue {
    margin:40px 60px 60px 70px;
	font-size:0.85em;
    text-shadow:1px 1px 3px #fff;
    line-height:1.6;
}
html>body #content {
	width: 66%; /* ie5win fudge ends */
}
.keskella {
      float: left;
      position: relative;
      left:25%;
}
.curs {
	font-style:italic;
	font-family:'Arapey',serif;
	font-size:1.1em;
}
.isoteksti {
	font-style:italic;
	font-family:'Arapey',serif;
	font-size:1.4em;
}
.info {
	font-family:'Arapey',serif;
	font-size:0.8em;
	padding:0.4em 0.6em;
	background-color:#eff4f6;
	border-radius:5px;
	margin-left:0.5em;
	text-transform:uppercase;
    text-shadow:1px 1px 2px #ccc;
    letter-spacing:0.05em;
}
.kauno {
    font-family:'Parisienne';
    font-size:1.6em;
    text-shadow: 1px 1px 3px #eaeaea;
}

 /*KUVAREUNAT*/
 
.reunat {
	padding: 5px;
	margin:5px;
	background-color:#fff;
	-moz-box-shadow: 0 0 4px #e8e8e8;
	-webkit-box-shadow: 0 0 4px #e8e8e8;
	box-shadow: 0 0 4px #e8e8e8;
	border-radius:2px;
}
.isoreuna {
	padding: 4px;
	margin:10px 10px 5px 10px;
	background-color:#fffdfa;
	border:1px solid #cac4b9;
	border-radius:3px;
}
.isoreuna:hover {
	/*-moz-box-shadow: 0px 0px 8px #c1c1c1;
	-webkit-box-shadow: 0px 0px 8px #c1c1c1;
	box-shadow: 0px 0px 8px #c1c1c1;*/
	opacity:0.9;
	-webkit-transition: all 0.4s ease-in; -moz-transition: all 0.4s ease-in; -o-transition: all 0.4s ease-in; transition: all 0.4s ease-in;  
}
.listareuna {
	padding: 4px;
	background-color:#fffdfa;
	border:1px solid #cac4b9;
	border-radius:50%;
	height:120px;
}
.listareuna:hover {
	/*-moz-box-shadow: 0px 0px 8px #c1c1c1;
	-webkit-box-shadow: 0px 0px 8px #c1c1c1;
	box-shadow: 0px 0px 8px #c1c1c1;*/
	opacity:0.9;
	-webkit-transition: all 0.4s ease-in; -moz-transition: all 0.4s ease-in; -o-transition: all 0.4s ease-in; transition: all 0.4s ease-in;  
}
.pyoreavas {margin-right:3em;float:left;padding: 4px;background-color:#fffdfa;border:1px solid #cac4b9;border-radius:50%;}
.pyoreavas:hover {	/*-moz-box-shadow: 0px 0px 8px #c1c1c1;-webkit-box-shadow: 0px 0px 8px #c1c1c1;box-shadow: 0px 0px 8px #c1c1c1;*/opacity:0.9;-webkit-transition: all 0.4s ease-in; -moz-transition: all 0.4s ease-in; -o-transition: all 0.4s ease-in; transition: all 0.4s ease-in;}

.pyoreaoik {margin-left:3em;float:right;padding: 4px;background-color:#fffdfa;border:1px solid #cac4b9;border-radius:50%;}
.pyoreaoik:hover {	/*-moz-box-shadow: 0px 0px 8px #c1c1c1;-webkit-box-shadow: 0px 0px 8px #c1c1c1;box-shadow: 0px 0px 8px #c1c1c1;*/opacity:0.9;-webkit-transition: all 0.4s ease-in; -moz-transition: all 0.4s ease-in; -o-transition: all 0.4s ease-in; transition: all 0.4s ease-in;
}

/*TAULUKOT*/

#perustieto {
	width: 95%;
	border-collapse:collapse;
}
#perustieto td {
	padding-left:3em;
	padding-top:1em;
	padding-bottom:1em;
}
/*M LAYOUTS TESTI LOPPUU */


#taulunen {
	border-collapse:collapse;
	width: 100%;
	margin-top:2em;
	margin-bottom:2em;
}
#taulunen td {
	padding: 1em 2em;
	background: rgba(255,255,255, 0.8);
	border: 3px double #f1f1f1;
	box-shadow: 0px 0px 5px #fafafa;
}
#taululista {
	border-collapse:collapse;
	width: 100%;
	margin-top:2em;
	margin-bottom:2em;
}
#taululista td {
	padding: 0.4em 0.8em;
	border-bottom: 1px solid #f1f1f1;
}
#taululista tr:hover {
	-webkit-transition: all 0.4s ease-in; -moz-transition: all 0.4s ease-in; -o-transition: all 0.4s ease-in; transition: all 0.4s ease-in;
	background:#fafafa;
}

/*PONIEN SIVUT*/

#ptwrap {
	width:100%;
	border: 3px double #f1f1f1;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background: rgba(255,255,255, 0.8);
	margin-bottom:4em;
	margin-top:4em;
	box-shadow: 0px 0px 5px #fafafa;
}
#ptwrap td {border:0;}
#isokuva {
	width:30%;
	text-align:center;
}
#isokuva img {
	margin:-25px 0;
	margin-left:2em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border:1px solid #d1d8dc;
	padding:3px;
	background:#fff;
	box-shadow: 0px 0px 5px #fafafa;
}
#isokuva img:hover {
	/*-moz-box-shadow: 0px 0px 8px #c1c1c1;
	-webkit-box-shadow: 0px 0px 8px #c1c1c1;
	box-shadow: 0px 0px 8px #c1c1c1;*/
	opacity:0.9;
	-webkit-transition: all 0.4s ease-in; -moz-transition: all 0.4s ease-in; -o-transition: all 0.4s ease-in; transition: all 0.4s ease-in;
}
.meriitti {
    font-size:13.5pt;
    margin:0 6px 0 6px;
    font-style:normal;
    font-family:'Arapey',serif;
}
#sukutaulu {
	width: 100%;
	border-collapse:collapse;
	margin-top:40px;
	margin-bottom:40px;
}
#sukutaulu a{
    font-weight:normal;
    font-style:italic;
    text-decoration:none;
    font-family:'Arapey',serif;
    text-shadow:1px 1px 3px #ededed;
    font-size:1.2em;
}
#sukutaulu td {
	padding: 10px 20px;
	background: rgba(255,255,255, 0.8);
	border: 3px double #f1f1f1;
	box-shadow: 0px 0px 5px #fafafa;
}
ul {
  list-style-type: circle;
  line-height:1.7;
}
#valkka {
    margin:20px 0 20px 0;
    padding:20px 40px 50px 40px;
	background: rgba(255,255,255, 0.8);
	border: 3px double #f1f1f1;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

/*HEVOSLISTA*/

hr.viiva {
  border-top: 1px solid #ccc;
  margin-top:1.5em;
  width:40%;
}
hr.jakaja {
  border-top: 1px solid #ccc;
  margin:0px;
  margin-top:0.4em;
  margin-bottom:0.4em;
  width:40%;
}
.hevoslista {
    width:100%;
    margin:auto;
    border-collapse:collapse;
}
.hevoslista td {
    line-height:1.8;
    padding:15px 0 15px 0;
    border:3px double #eaeaea;
	background: rgba(255,255,255, 0.8);
    border-radius:5px;
    padding:2em;
}
.hevoslista img {
    border-radius:50%;
	border:1px solid #d1d8dc;
	padding:3px;
	background:#fff;
	box-shadow: 0px 0px 5px #fafafa;
	float:left;
	margin-right:3em;
}
.hevoslista a {
    font-weight:normal;
    font-style:italic;
    text-decoration:none;
    font-family:'Arapey',serif;
    text-shadow:1px 1px 3px #ededed;
    font-size:1.2em;
    line-height:0.5;
}

/*YLEISET*/
/* width */
::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
	background: #f2f5fa;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #cfd3da; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #dcdfe4; 
}
::-moz-selection { background-color: #dcdfe5; }
::selection { background-color: #dcdfe5; }