@import url('https://fonts.googleapis.com/css?family=Antic');

@font-face {
    font-family: Prometheus;
    src: url(earthorbiter.ttf);
}

/* LINKIT */
a {
	color:#658e41;
}
a:hover  {
	color:#f0936f;
	text-decoration:none;
}

a:visited {
    color: #445e2c;
}

html, body {
	height:100%;
}
body {
	margin:0;
	font-size:10pt;
	font-family:Antic,sans-serif;
	background: url(alientausta.jpg) fixed no-repeat; 
	background-size:100%;
	line-height:1.5;
}

/* ---------------------- YLÄOSA ----------------------  */
#otsikko {
	text-align:center;
	height:180px;
	font-family:Prometheus;
	color:#eff0f1;
	font-size:90px;
	width:100%;
	display:table;
}
#otsikko>span {
	display:table-cell;
	height:180px;
	vertical-align:middle;
	text-shadow:1px 1px 10px #000;
}
#navi {
	width:1024px;
	margin:0 auto;
	background:#f0936f;
	height:60px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);

}
.hevonen {
	height:73px !important;
}
#navi ul {
	list-style:none;
	margin:0;
	padding:0;
	height: auto;
}
#navi ul li {
	float:left;
	width:25%;
	text-align:center;
	font-family:Antic,sans-serif;
	text-transform:uppercase;
	color:#eff0f1;
	padding-top:15px;
}
#navi ul li a {
	color:#eff0f1;
	text-decoration:none;
	font-size:20px;
	padding:11px 20px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

#navi h1 {
	font-family:Antic,sans-serif;
	text-transform:uppercase;
	color:#eff0f1;
	padding-top:16px;
	margin:0;
	padding-left:30px;
	height:57px;
	background:#658e41;
	margin-top: 15px;
}

#navi a {
	text-decoration:none;
	color:#ecf0f6;
}

/* ---------------------- SISÄLTÖ ----------------------  */
#sisalto {
	width:964px;
	background: url(tra.png);
	margin:0 auto;
	text-align:justify;
	font-family:Antic,sans-serif;
	padding:20px 30px 15px 30px;
	font-size: 16px;
}

/* ---------------------- ALAPALKKI ----------------------  */
.alaosa {
	width:964px;
	margin:0 auto;
	background:#f0936f;
	color:#120f0a;
	padding:20px 30px;
	margin: -1px -30px -15px -30px;
}
.vasen {
	width:48%;
	padding-right:2%;
	float:left;
}
.oikea {
	width:50%;
	float:left;
}

.alaosa h2 {
    color: #ecf0f6;
    margin-left: 0;
    font-size: 20px;
}

#copyt {
	text-align:center;
	padding: 20px 0;
	color:#120f0a;
	width:964px;
	margin:0 auto;
	background:#f0936f;
	padding:20px 30px;
	margin-bottom:20px;
	text-transform: lowercase;

}

#copyt a {
    text-decoration: none;
    color: #120f0a;
}

#copyt a:hover {
    color: #120f0a;
}

.clear {clear:both;}

/* ---------------------- VÄLIOTSIKOT ----------------------  */
h1 {
	text-transform:uppercase;
	font-family:Prometheus,sans-serif;
	font-weight:normal;
	font-size:30px;
	color:#658e41;
	margin-left: 20px;
}

h2 {
	text-transform:uppercase;
	font-family:Antic,sans-serif;
	font-weight:normal;
	font-size:25px;
	color: #f0936f;
	margin-left: 20px;
}





 #sukutaulu, .kisakalenteri {
	width: 100%;
	border-spacing:0;

	border: 3px solid #658e41;
	margin:30px 0;
}

.kuvat {
	text-align:center;
}
.kuvat img {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid #f0eee1;
	-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: 10px 10px;
	background: #c4daae;
	border: 1px solid #658e41; 
}


#ptwrap {
	width:1024px;
	background: url(tra.png);
	margin: 0 auto;
	padding:30px 0 10px 15px;
}

#ptwrap td {border:0;}

#isokuva {
	width: 30%;
	text-align:center;
}
#isokuva img {
	margin:-20px 0;
	border:1px solid #aaa;
	padding:3px;
	background:#fff;
	-webkit-box-shadow: 0px 0px 12px 0px rgba(50, 50, 50, 0.4);
	-moz-box-shadow:    0px 0px 12px 0px rgba(50, 50, 50, 0.4);
	box-shadow:         0px 0px 12px 0px rgba(50, 50, 50, 0.4);
	height: 300px;
}



/* PERUSTIETOTAULUKON TYYLIMÄÄRITTELYT */

#perustieto {
	width: 98%;
	border-collapse:collapse;
	margin-left: -5px;
}
#perustieto td {
	padding: 5px 10px;
	border-bottom: 1px solid #b5c2a9; /* perustietotaulukon reunojen väri */
	font-size: 16px;
}
#perustieto .tieto {
	width: 28%;
	font-weight: bold;
	
}


.lista {
margin: 0 0 0 0px;
width: 100%;
padding: 0 0px 0 0;
text-align: center;
}

.lista li {
display: inline-block;
list-style:none;
width: 200px;
padding: 10px;
text-align: center;
margin: 10px;
background: #c4daae;
-webkit-box-shadow: 0px 0px 4px 0px rgba(50, 50, 50, 0.4);
	-moz-box-shadow:    0px 0px 4px 0px rgba(50, 50, 50, 0.4);
	box-shadow:         0px 0px 4px 0px rgba(50, 50, 50, 0.4);

}

.lista img {	
	border:1px solid #aaa;
	padding:3px;
	background:#fff;
	
height: 140px;
max-width: 180px;
object-fit: cover;
}

.lista a {
	color:#e0997e;
	text-decoration:none;
}

.lista a:visited {
    color: #e0997e;
}