@import url('https://fonts.googleapis.com/css?family=Sancreek');

a {text-decoration: none; color:#bf9889; font-weight: bold;}
a:hover {text-decoration: none; color:#e4b3b3; font-weight: bold;}


body {
	font-family: Verdana, Arial, serif;
	margin: 13px;
	font-size: 12px;
	letter-spacing:0.5;
	color:#666666;
	background: url(img/pinkishwooden-bg.jpg) #fff no-repeat fixed;
}

#photo {

border:1px solid #aaa;padding:3px;margin-left:10px;background:#fff

}

ul.listaus {
	margin: 0;
	overflow: hidden;
	padding: 23px 9px 0;
}
ul.listaus li {
	float: left;
	list-style: none;
	margin: 0 18px;
	padding: 0;
	text-align: center;
	width: 79px;
}
ul.listaus li > a {
	color: #797979;
	font-family: 'Lustria';
	font-size: 13px;
	font-weight: bold;
	line-height: 24px;
	text-decoration: none;
	text-transform: capitalize;
}
ul.listaus li > a img {
	border: 0;
	display: block;
}
ul.listaus li > a span {
	display: block;
	margin: 0;
	padding: 0;
}
ul.listaus li > a:hover {
	color: #ef414a;
	opacity: 0.8;
}
/* TAULUKOT */

#linetaulu {
	width:100%;
	border-collapse:collapse;
	font-family: Tahoma;
	font-size: 10pt;
}
#linetaulu td {
	border-bottom:1px solid #994d00;
	padding: 5px 15px;
	width:25%;
}
#linetaulu td:first-child, #perustiedot td:nth-child(3) {
	width:20%;
}

#perustieto {width: 554px;margin:25px auto 0 auto;background: transparent;border-top: 2px solid #999999;border-collapse:collapse;color: #444;font-size:12px;}
#perustieto td {border-bottom: 2px solid #999999;padding:1px 1px 3px 1px;color:#1a2415}
#perustieto td.tie {width:140px;color:#B7ACA0;text-shadow:#666666 1px 1px;font-family:georgia,times,serif;padding-right:0;font-size:13px;}

#suku {border:2px solid #f7e8d7;border-collapse:collapse;width:564px;margin:3px auto;background:#dbcebf;color:#1a2415}
#suku td {border:1px solid #f7e8d7;padding:5px 15px;font-size:12px;}

#wrapper {
	width: 900px;
	margin: 0 auto;
}
#pala {
	background:url() no-repeat 692px top;
	position:relative;z-index:200;
	height: 12px;
}
#sisalto {
	min-height:375px;
	position:relative;z-index:100;
	-webkit-box-shadow: 1px 1px 5px #aaa;
	-moz-box-shadow: 2px 2px 5px #aaa;
	box-shadow: 1px 1px 5px #b49180;
	background:#fff;
}
#yla {
	height:390px;
	padding-left: 711px;
	background:url(img/jordans-title2.png) no-repeat #fff;
	padding-right: 40px;
	color:#fff;
	text-align:center;
}
#yla img {margin: 25px 0 10px 0;}
#ala {
	background:#e0cec1;
	border-top: 1px solid #c7c7af;
	color:#7a7a72;
	font-family: Arial;
	font-size:10px;
	padding:20px;
	word-spacing:4px;
	clear:both;
}

h1 {
	font-family: 'Petit Formal Script', cursive;
	font-weight:normal;
	margin: 0 auto;
	padding-top:20px;
	font-size:25px;
	color:#333;
}
#nav {list-style-type:none;width:180px;margin-left:-15px;margin-top:100px;padding:10px 0;text-align:center;text-shadow: 2px 2px #7e705b;}
#nav a {
	text-decoration:none;
	font-style:none;
	font-size:20px;
	font-family: 'Sancreek', serif;
	display:block;
	color:#e0cec1;
}
#nav a:hover {
	color:#946f5c;
              text-decoration:none;
}
#linkit {
	list-style:none;
	margin:0;
	padding:0;
	text-align:center;
}
#linkit li {
	margin: 10px 0;
}
#linkit a {
	text-decoration:none;
	font-family: 'Sancreek', cursive;
	font-size:20px;
	color:#221504;
	width:240px;
}
#linkit a:hover {
	color:#000;
	width:240px;
}

#vasen {
	width:603px;
	float:left;
	padding: 10px 40px;
	text-align:justify;
	line-height:1.7;
}
#oikea {
	width:160px;
	float:left;
	padding-top: 20px;
	padding-left: 43px;
	line-height:1.7;
}
#virthuom {
	width:180px;
	padding: 10px 0px;
	margin-top: -20px;
	margin-left: -30px;
	font-family: Arial;
	font-size:10px;
	text-shadow: 2px 2px #7e705b;
	color:#e0cec1;
	text-align:center;
	line-height:1.7;
	background:url('img/bearwood.png');
}
#horsele {
	width:100%;
	margin-top: -20px;
	padding-bottom: 20px;
	font-family: Arial;
	font-size:10px;
	font-weight: bold;
	color:#af874f;
	text-align:center;
	line-height:1.7;
	letter-spacing: 1px;
}

h2 {
	font-size: 25px;
	font-weight:bold;
	color: #796549;
	font-family: 'Sancreek', sans-serif;
	text-align: center;
}
h3 {
	font-size: 20px;
	font-weight:bold;
	color: #796549;
	font-family: 'Sancreek', Verdana;
}
h4 {
	font-size: 15px;
	font-weight:bold;
	color: #af874f;
	font-family: 'Sancreek', Verdana;
}

strong {
	font-size: 15px;
	font-weight:bold;
	color: #af874f;
	font-family: 'Sancreek', Verdana;
}

em {
	font-family: 'Sancreek', Verdana;
	font-size:10px;
}

ul {padding-left:5px;}

  .info-table {    width: 100%;    max-width: 1000px;    margin: 30px auto;    border-collapse: collapse;    table-layout: fixed;  }
  .info-table td {    width: 25%;    padding: 20px;    vertical-align: top;    border-right: 1px solid #c79c8b;  font-size:10px; }
  .info-table td:last-child {    border-right: none;  }
  .info-table h3 {    margin-top: 0;    color: #6f4b3e;  }
  .info-table p {    color: #4f403b;    line-height: 1.5;  }
  @media (max-width: 700px) {    .info-table,    .info-table tbody,    .info-table tr,    .info-table td {      display: block;      width: 100%;    }
    .info-table td {      box-sizing: border-box;      border-right: none;      border-bottom: 1px solid #c79c8b;    }
    .info-table td:last-child {      border-bottom: none;    }  }

.polaroid1 {
	width: 100px;
    display: inline-block;
    background: white;
    padding: 5px 5px 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 20px;
	text-decoration: none;
    color: inherit;
	transform: rotate(-3deg);
}

.polaroid2 {
	width: 100px;
    display: inline-block;
    background: white;
    padding: 5px 5px 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 20px;
	text-decoration: none;
    color: inherit;
}

.polaroid3 {
	width: 100px;
    display: inline-block;
    background: white;
    padding: 5px 5px 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 20px;
	text-decoration: none;
    color: inherit;
	transform: rotate(3deg);
}

.horsepolaroid {
    display: inline-block;
    background: white;
    padding: 5px 5px 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 0px;
	text-decoration: none;
    color: inherit;
	transform: rotate(0);
}

.polaroid1:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.polaroid2:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}


.polaroid3:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.horsepolaroid:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.polaroid img {
    display: block;
    width: 100%;
    height: 100px;
    object-fit: cover;
	filter: sepia(15%) contrast(1.05) saturate(0.9);
}

.polaroid p {
	height: 4em; 
    margin: 5px 0 0;
    text-align: center;
	font-size: 10px;
    font-family: "Sancreek", cursive;
    color: #444;
	overflow: hidden;
}

 .babyline {    border: 0;    height: 2px;    background-color: #f8b6c8;    box-shadow: 0 2px 5px rgba(180, 90, 115, 0.25);    margin: 20px 0;  }
 
 .quote {
	 margin: 30px auto;
	 padding: 20px 25px;
	 max-width: 600px;
	 color: #5a321f;
	 background-color: #f3e3d3;
	 border-left: 5px solid #8b5e3c;
	 border-radius: 8px;
	 box-shadow: 0 4px 10px rgba(90, 50, 31, 0.2);
	 font-family: Georgia, serif;
	 font-size: 1.3rem;
	 font-style: italic;
	 line-height: 1.6;
	 font-align: center;
	 }
	 
	  .note {
	 margin: 30px auto;
	 padding: 20px 25px;
	 max-width: 600px;
	 color: #5a321f;
	 background-color: #f3e3d3;
	 border-left: 5px solid #8b5e3c;
	 border-radius: 8px;
	 box-shadow: 0 4px 10px rgba(90, 50, 31, 0.2);
	 line-height: 1.6;
	 }
	 
	.spoiler-content {    display: none;    margin-top: 12px;    padding: 15px;    background: #f5e6dc;    border-left: 4px solid #8b5e3c;    color: #4b2e1f;  }
  .spoiler-button {    padding: 10px 18px;    background: #8b5e3c;    color: white;    border: none;    border-radius: 5px;    cursor: pointer;  font-family: Verdana; }
  .spoiler-button:hover {    background: #684329;  }

.audio-player {
    display: inline-block;
    padding: 10px 14px;
    background: #e0cec1;
    border: 1px solid #bf9889;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(191, 152, 137, 0.25);
}

.audio-player audio {
    width: 160px;
    height: 36px;
    accent-color: #e4b3b3;
}