@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Fredericka+the+Great|Noto+Serif+SC');
@import url('https://fonts.googleapis.com/css2?family=Sedgwick+Ave+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
/* CSS Document */

::-webkit-scrollbar { width: 8px; height: 3px;}
::-webkit-scrollbar-button {  background-color: #2f211b; }
::-webkit-scrollbar-track {  background-color: #4a3932;}
::-webkit-scrollbar-track-piece { background-color: #2f211b;}
::-webkit-scrollbar-thumb { height: 50px; background-color: #4a3932; border-radius: 3px;}
::-webkit-scrollbar-corner { background-color: #000;}
::-webkit-resizer { background-color: #000;}

h1, h2 {
		font-family: 'Fredericka the Great', cursive;
	padding-left: 20px;
	color: #8c3118;
	text-shadow: 0 0 3px #bcd6da;
	}

a {
	color: #511b2a;
	text-decoration: none;
	}
a:hover {
	color: #d3a255;}

body {
	background: url("https://i.imgur.com/m5jaSrc.jpg");
	margin: 0;
	padding: 0;
	text-align: justify;
font-family: 'Noto Serif SC', serif;
	color: #251515;
	font-size: 13px;
	}

#menu {
	padding-top: 12px;
	width: 100%;
	background: #22171c;
	border-bottom: 1px dashed #80543c;
	height: 38px;
	text-align: center;
	font-family: 'Fredericka the Great', cursive;
	font-size: 20px;
	}

	#menu a {
		margin-left: 25px;
		margin-right: 25px;
		text-decoration:none;
		color: #cfa74f;}

		#menu a:hover {
			color: #6e7b33;}

#otsikko {
	width:100%;
	background: #352221 url("https://i.imgur.com/y3mONIu.png") center no-repeat;
	height: 140px;
	font-family:Playball, Georgia, "Times New Roman", Times, serif;
	font-size: 4.5em;
	text-align: center;
	padding-top: 40px;
	color: #269aab;
	text-shadow: 0 0 3px #145862;
	}

#content {
	width: 850px;
	margin: 0 auto;
	background: #b8b199;
	padding: 10px 0 10px 0;
	}

#footer {
	width: 100%;
	background: #22171c;
	border-top: 1px dashed #80543c;
	color: #797979;
	font-size: 12px;
	}

	#footer a {
		text-decoration: none;
		color: #797979;
		 }
		 #footer a:hover {
			 color: #7ba4aa;}

.inner {
	margin: 0 auto;
	width: 800px;
	}

	.left {
		float: left;
		}

	.right {
		float: right;}

		.kolmasosa {
			width: 30%;
			padding: 1%;}

			.pikkukuva {
	box-shadow: 1px 1px 3px #000;
border: 1px solid #901d0a;
	margin: 5px;
	-webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
          transition: all 0.5s ease;
	  opacity: 1.0;
    filter: alpha(opacity=100);
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
					background: url("https://i.imgur.com/m5jaSrc.jpg");
					padding: 10px;
}

.pikkukuva:hover {
	box-shadow: 1px 1px 3px #000;
	border: 1px solid #901d0a;
	margin: 5px;
	  -webkit-transform: rotate(-10deg);
     -moz-transform: rotate(-10deg);
       -o-transform: rotate(-10deg);
      -ms-transform: rotate(-10deg);
          transform: rotate(-10deg);
opacity: 0.8;
    filter: alpha(opacity=80);
		background: url("https://i.imgur.com/m5jaSrc.jpg");
		padding: 10px;
}

/** LIGHTBOX MARKUP **/

.lightbox {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	text-shadow: 0px 0px 3px #000;
	}

.lightbox img {
	/** Pad the lightbox image */
	max-width: 90%;
	max-height: 90%;
	margin-top: 2%;
}

.lightbox:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}

.loota {
  width: 230px;
  height: 250px;
  overflow: auto;
  padding: 5px;
  margin: 5px 0px;
}

.taulukko {
	border: 1px solid #2c1b1d;
	background: url("https://i.imgur.com/m5jaSrc.jpg");
	padding: 10px;
	width: 100%;
	border-spacing: 0;
}

.taulukko td {
		border-bottom: 1px dashed #754b37;
			background: #b8b199;
}

.kuvake {
background: url("https://i.imgur.com/m5jaSrc.jpg");
padding: 10px;
float: left;
margin: 10px;
}

ul {
	list-style-position: inside;
}

.hepoja {
	width: 90%;
	min-height:250px;
float: middle;
	line-height: 1.5;
	display: block;
}

.eka {
font-weight: bolder;
}

.väli {
			border-bottom: 1px dashed #754b37;
}

/* Hevosten koodi */

#hwrap {
	width: 900px;
	min-height: 800px;
	background-image: linear-gradient(#a79684, #b8b199, #f1e6d0);
	margin: 0 auto;
	box-shadow: 0px 0px 3px #000;
}

#hotsikko {
	width: 100%;
	height: 200px;
	background: url('https://i.imgur.com/A0GwFlK.jpg');
	margin: 0;
	margin-bottom: 5px;
}

.nimi {
	text-align:center;
	padding-top: 0px;
	padding-bottom: 15px;
height:190px;
font-size:80px;
width:100%;
display:table;
font-family: 'Caveat', cursive;
background: -webkit-linear-gradient(#291515, #5c3b33);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.takaisin {
font-size: 14px;
font-weight: bolder;
float: left;
font-family: 'Noto Serif SC', serif;
padding-left:50px;
padding-top: 30px;
text-shadow: 0px 0px 4px #86825f;
}

.meriitit {
font-size: 16px;
font-weight: bolder;
font-family: 'Noto Serif SC', serif;
text-align: center;
color: #251515;
margin-bottom: 10px;
}

.hmenu {
	width: 855px;
	height: 45px;
	padding: 10px;
	background: url('https://i.imgur.com/7zeR1W8.png') repeat-y center;
	margin: 0 auto;
}

#hloota {
	width: 90%;
	padding: 10px;
	background-color: #ccccc;
	margin: 0 auto;
}

.hkuva {
	width: 340px;
	height:375px;
	float: right;
	background: url('https://i.imgur.com/XFkN38Q.png') no-repeat left center;
}

.hinfo {
	font-family: 'Caveat', cursive;
	font-size: 20px;
}

.tabcontent {
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s; /* siirtymÃƒÂ¤efektin kesto 1 sekunti */
}

@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
/* tab-palkin tyyli */
div.tab {
    overflow: hidden;
	border: 0px solid #f1f1f1;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding:0px;
	text-align: center;
}


/* tabi-nappuloiden tyylit */
div.tab button {
    float: center;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 4px 10px;
    transition: 0.3s;
		margin-top: 6px;
	width: 150px;
	height: 39px;
	    background: url(https://i.imgur.com/P9vj59k.png) no-repeat center center;
			background-size: contain;
		font-family: 'Sedgwick Ave Display', cursive;
	color: #e2ddba;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
    font-size: 17px;
		text-shadow: 1px 1px 0px #7a7667;
}

/* tabinappulan tyyli kun hiiri on pÃƒÂ¤ÃƒÂ¤llÃƒÂ¤ */
div.tab button:hover {
    background: url(https://i.imgur.com/i8VRnL6.png) no-repeat top center;
		background-size: contain;
}

/* aktiivisen tabinappulan tyyli */
div.tab button.active {
	color:#c7e09f;
    background: url(https://i.imgur.com/i8VRnL6.png) no-repeat center center;
		background-size: contain;
}
.tabcontent {


	margin-top:20px;
}
