html {
  box-sizing: border-box;
  top: 0;
  left: 0;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: url(shattered-sm.png) rgba(255,255,255,1); /* background from subtlebackgrounds.com */
  margin: 0;
  padding: 0;
  font-family: 'Roboto';
  font-size: 17px;
  line-height: 1.5em;
  color: #112308;
}

p {
  margin: 20px 25px;
}


/* --- LINKIT --- */

a {color: #1E851B; outline: none;}
a:active {color: #2AAD26;}
a:visited {color:#2AAD26;}
a:hover {color: #5BD957;}

/* --- OTSIKOT --- */

h1, h2, h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: normal;
}

h1 {
  color: #138F13;
  font-size: 2.3em;
  margin: 45px 29px 23px 29px;
  border-bottom: 1px dotted #3a3a3a;
  line-height: 1.1em;
}

h2 {
  color: #37AB37;
  font-size: 2em;
  margin: 1.2em 29px 15px 29px;
  border-bottom: 1px solid #5e5e5e;
  line-height: 1.1em;
}

h3 {
  color:  #44DB44;
  font-size: 1.5em;
  margin: 1.3em 29px 15px 29px;
}


/* --- NAVIGAATIO --- */


nav a {
font-color: #63695e;
font-family: 'Abel', sans-serif;;
font-size: 24px;
font-weight: none; 
line-height: 40px;
padding: 0 35px;
}

nav a:active {color: #ffffff;}
nav a:visited {color:#63695e;}
nav a:hover {color: #9ea796;}

nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

nav li {
  display: inline-block;
  margin:0;
  padding: 0;
}


/* --- RAKENNE (DIVIT ETC) --- */

header {
  background: #252724;
  height: 300px;
  margin: 0px;
  border-top: 0px solid rgba(71,71,71,0.5);
  border-bottom: 0px solid rgba(0,182,240, 0.45);
}

nav {
  background: #121311;
  margin-top: 0px;
  border-bottom: 0px solid #044C29;
  text-align:center;
  height: 40px;
}

main {
  margin-top: 0;
  padding-bottom: 25px;
}

footer {
  background: #252724;
  border-top: 0px solid rgba(0,182,240, 0.65); /* hex #00b6f0 */
  color: #f1f1f1;
  font-size: 0.9em;
  padding-top: 0px;
  padding-bottom: 0px;
  text-align: justify;
}

footer h4 {
  color: #f1f1f1;
  font-size: 1.1em;
  font-family: 'Quicksand';
  text-transform: uppercase;
  margin: 19px 25px -0.7em 25px;
}


/* --- HEVOSEN SIVU --- */



#perustiedot {
background: url(namytausta4.png);
border: 3px solid #000000;
width: 400px;
font-family: 'Roboto';
font-size: 12px;
color: #000000;
}

#tieto {
color: #3f3f3f;}

#tieto1 {
color: #000000;
font-weight: bold;
letter-spacing: 1px;}

.kuvaus {
font-family: 'Shadows Into Light Two', cursive;
color: #7c7c7c;
font-size: 24px;
}

.kuvat{
margin-left:auto;
margin-right: 70px;
padding:20px 0px;
text-align:center;
}

.kuvat img {
border-radius: 20px;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border:1px solid #959694;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
margin:3px;
}


.h-sivu {
  width: 98%;
  margin: 20px auto 50px auto;
  border-collapse: collapse;
}


.h-sivu th, td {
  border-bottom: 1px solid #cbcbcb;
  border-top: 1px solid #cbcbcb;
  padding: 8px 18px;
  font-size: 0.9em;
  line-height: 1.3em;
}


.h-sivu th {
  text-align: left;
  text-transform: uppercase;
}

.allekirjoitus {
font-family: 'Courgette', cursive;
color: #115204;
font-size: 24px;
}
