@charset "utf-8";
/* CSS Document */
/* Background pattern from Subtle Patterns */
@import url('https://fonts.googleapis.com/css?family=Cairo|Overlock+SC|Rochester');

html, body {
	padding:0;
	margin:0;
	left:0;
	top:0;
}

body {
	background-image:url(88634.jpg);
	background-attachment: fixed;
	background-size: cover;
}

#wrapper {
	width:1000px;
	margin:0 auto;
	margin-top:80px;
	text-align:justify;
	font-family: 'Cairo', sans-serif;
}

a {
	color:#435F2E;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

a:hover {
	color:#94bd75;
	text-decoration:none;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

#slideshow > div { 
    position: fixed;
	width:279px;
	height:240px;
	box-shadow:0px 0px 10px #223e18;
}

#slideshow img {
	width:263px;
	border:8px solid #fff;
	margin-top:8px;
}

.navi {
	position:fixed;
	margin-top:300px;
	width:279px;
	background-color:#fff;
	box-shadow:0px 0px 10px #223e18;
	padding:0;
}

.navi li {
	text-align:center;
	display:flex;
	justify-content:space-around;
	list-style-type:none;
	width:100%;
	margin-left:-20px;
	margin-top:1px;
}

.navi li a {
	padding:15px 20px 15px 20px;
	margin:0px -20px 0px -20px;
	width:100%;
	text-decoration:none;
	color:#435F2E;
	font-size:20px;
	line-height:20px;
	font-family: 'Overlock SC', cursive;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

.navi li a:hover {
	background-color:rgba(67, 95, 46, 0.6);
	color:#fff;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

.linkki {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
}
.linkki:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: #435F2E;
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.linkki:hover:before, .linkki:focus:before, .linkki:active:before {
  left: 0;
  right: 0;
}

.content {
	margin-left:300px;
	position:absolute;
	background-color:#fff;
	width:700px;
	padding:15px;
	border:1px solid #fff;
	box-shadow:0px 0px 10px #223e18;
	line-height:22px;
	margin-bottom:20px;
}

.content .ots {
	background-color:#435F2E;
	width:100%;
	margin-left:-15px;
	margin-top:-15px;
	padding:5px 15px 5px 15px;
	font-family: 'Overlock SC', cursive;
	font-size:42px;
	text-align:center;
	line-height:44px;
}

.content h1, h2, h3, h4 {
	font-family: 'Overlock SC', cursive;
	color:#fff;
	letter-spacing:1px;
	font-weight:100;
	text-shadow:0px 0px 2px #000;
	line-height:32px;
}

.content h1 {
	background-color:#435F2E;
	width:100%;
	margin-left:-15px;
	margin-top:-15px;
	padding:5px 15px 5px 15px;
}

.content h2 {
	background-color:#435F2E;
	width:100%;
	margin-left:-15px;
	padding:3px 15px 3px 15px;
}

.content h3 {
	background-color:#435F2E;
	width:100%;
	margin-left:-15px;
	padding:2px 15px 2px 15px;
}

.footer {
	background-color:#435F2E;
	width:100%;
	margin-left:-15px;
	padding:5px 15px 5px 15px;
	margin-bottom:-15px;
	text-align:center;
	color:#1d2a14;
	font-size:14px;
}

.footer a {
	color:#1d2a14;
}

#palkinto {
    width: 100%;
}
td{
    padding: 10px;
    vertical-align: top;
    text-align:center;
}