




@import url(http://fonts.googleapis.com/css?family=Satisfy);
@import url(http://fonts.googleapis.com/css?family=Lora);

/* LINKIT */

.navbar {
    overflow: hidden;
    background-color: #333;
    font-family:Domine;
    position: fixed; 
    width:100%;
    top: 0; 

}


.navbar a {
 position:relative;
   left: -39%;
   float:right;
   width:auto;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}



a {
	color:rgba(169,3,41,1);
	text-decoration:none;
}

#sukutaulu a {
	color:rgba(169,3,41,1);
	text-decoration:none;
	font-family:Satisfy;
	font-size:15px;
}


a:hover  {
	color:#aaa;
	text-decoration:none;
}
html, body {
	height:100%;
}
body {
	margin:0;
	font-size:10pt;
	font-family:"trebuchet ms",sans-serif;
	background: url(https://i.imgur.com/uWgpZoC.png) repeat; 
	line-height:1.5;
}

/* ---------------------- YLÄOSA ----------------------  */

#ylaosa {
	width:1024px;
	padding-top:50px;
	margin:0 auto;
	background:rgba(244, 244, 244, 0.72);
	height:345px;
}
.hevonen {
	height:73px !important;
}
#ylaosa ul {
	list-style:none;
	margin:0;
	padding:0;
}
#ylaosa ul li {
	float:left;
	width:25%;
	text-align:center;
	font-family:"trebuchet ms",sans-serif;
	text-transform:uppercase;
	color:#c6a108;
	padding-top:20px;
}
#ylaosa ul li a {
	color:#c6a108;
	text-decoration:none;
	text-shadow: 1px 1px 3px #000;
	font-size:20px;
	padding:11px 25px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
#ylaosa ul li a:hover {
	background:#111d25;
	padding:10px 24px;
	border: 1px solid #0d181f;
	-webkit-box-shadow: 2px 2px 2px 0px #192124;
	-moz-box-shadow:    2px 2px 2px 0px #192124;
	box-shadow:         2px 2px 2px 0px #192124;
}
#ylaosa h1 {
	font-family:Satisfy;
	color:#fff;
	padding-top:16px;
	margin:0;
	padding-left:30px;
	text-shadow: 0px 0px 3px #000;
	height:57px;
	background:#202a33;
}
/* ---------------------- SISÄLTÖ ----------------------  */
#sisalto {
	width:964px;
	background:#fff;
	margin:0 auto;
	text-align:justify;
	font-family:arial,sans-serif;
	padding:20px 30px 1px 30px;
}

/* ---------------------- ALAPALKKI ----------------------  */
.alaosa {
	width:964px;
	margin:0 auto;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a90329+0,8f0222+44,6d0019+100;Brown+Red+3D */
background: rgb(169,3,41); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(169,3,41,1) 0%, rgba(143,2,34,1) 44%, rgba(109,0,25,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */

	color:#fff;
	padding:20px 30px;
	margin: -1px -30px -1px -30px;
}
.vasen {
	width:48%;
	padding-right:2%;
	float:left;
}
.oikea {
	width:50%;
	float:left;
}
#copyt {
	text-align:center;
	padding: 20px 0;
	color:#120f0a;
	width:964px;
	margin:0 auto;
	background:#706c55;
	padding:20px 30px;
	margin-bottom:20px;
}
.clear {clear:both;}

/* ---------------------- VÄLIOTSIKOT ----------------------  */
h1{
	font-family:Satisfy;
	font-weight:normal;
	text-align:center;
	font-size:25px;
}
h1 {color:#fff;}
h2 {font-family:Satisfy;
	font-weight:normal;
	font-size:20px;}


/* ---------------------- HEVOSEN ULKKA ----------------------  */

#perustieto, #sukutaulu, .kisakalenteri {
	width: 100%;
	border-spacing:0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 10px solid #f6f6f6;
	margin:30px 0;
	text-align:center;
	font-family:Lora;

}
#perustieto td, .kisakalenteri td {
	padding: 5px ;
	height:30px;
	background:#f4f4f4;
	vertical-align: middle;
	border: 1px solid #fff; 
}
#perustieto tr td:first-child, #perustieto tr td:nth-child(3) {
	width:20%;
	font-size:10pt;
	color:#120f0a;
	vertical-align: middle;
	background:url(https://i.imgur.com/uWgpZoC.png) ;
	font-family:Lora;
	letter-spacing:0px;
}
.kuvat {
	text-align:center;
}
.kuvat img {
    height:200px;
	border: 10px solid #fff;
	-webkit-box-shadow: 2px 2px 2px 0px #192124;
	-moz-box-shadow:    2px 2px 2px 0px #192124;
	box-shadow:         2px 2px 2px 0px #192124;
	margin: 10px;
}

#sukutaulu td {
	padding: 5px 10px;
background: url(https://i.imgur.com/uWgpZoC.png);
	border: 1px solid #d6d2b4; 
}

.galleria img {
	height:200px;
	
	-webkit-box-shadow: 2px 2px 2px 0px #192124;
	-moz-box-shadow:    2px 2px 2px 0px #192124;
	box-shadow:         2px 2px 2px 0px #192124;
	margin: 10px;
}

main {
  min-width: 320px;
  max-width: 800px;
  padding: 50px;
  margin: 0 auto;
  background: #fff;
}

section {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
}

input {
  display: none;
}

label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;
}

label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

label:hover {
  color: #888;
  cursor: pointer;
}

input:checked + label {
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid rgba(169,3,41,1);
  border-bottom: 1px solid #fff;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5{
  display: block;
}

@media screen and (max-width: 650px) {
  label {
    font-size: 0;
  }
  label:before {
    margin: 0;
    font-size: 18px;
  }


@media screen and (max-width: 400px) {
  label {
    padding: 15px;
  }





















