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

body{
	overflow-x: hidden;
	margin: 0;
	padding: 0;
	font-family: 'Helvetica';
	background-color: #f2e7dc;
}

*{
	box-sizing: border-box;
}

.logo{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	z-index: 98;
}

.cover{
	background-color: black;
	opacity: 0.4;
	width: 100%;
	height: 100%;
}

.logo > img{
	width: 28vw;
}

.content{
	width: 100vw;
	min-height: 100vh;
	position: relative;
	background-color: #f2e7dc;
	padding: 20px 18vw;
}

.carousel-image{
	background: url('../img/image1.png') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
	z-index: 1;
	opacity: 1;
	width: 100%;
	height: 100%;
	position: absolute;
	/*filter: blur(5px);
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);*/
	transform: scale(1.03);
}

.footer{
	padding: 12px;
	text-align: center;
	width: 100vw;
	background-color: #eadcce;
}

.footer > p {
	display: inline;
	color: #333;
	font-size: 14px;
	font-family: helvetica;
}

.social{
	display: flex;
  align-items: center;
  justify-content: center;
	height: 50px;
	margin-top: 20px;
}

.social > a{
	width: 50px;
	height: 50px;
	background: url('../img/ico/facebook.png') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
	float: left;
	margin-left: 11px;
	filter: grayscale(1);
	margin-right: 11px;
	border-radius: 100%;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.39);
	border: 3px solid rgba(0, 0, 0, 0.07);
}

.social > a:hover{
	filter: grayscale(0);
	border: 3px solid #FBB03B;
}

nav{
	position: absolute;
	bottom: 0;
	z-index: 99;
	height: 50px;
	left: 50%;
	transform: translateX(-50%);
}

nav > li{
	height: 50px;
	line-height: 50px;
	list-style-type: none;
	display: block;
	width: 12.1vw;
	float: left;
	margin-left: 0vw;
	margin-right: 0vw;
	text-align: center;
	font-size: 18px;
	color: #353535;
	cursor: pointer;
	border-top: 3px solid silver;
	background-color: #f2e7dc;
}

nav > li:hover{
	transform: scale(1.09);
	color: black;
	border-top: 3px solid #FBB03B;
}

nav > li:active{
	transform: scale(1);
	color: black;
	border-top: 3px solid #FBB03B;
}

#home{
	min-height: 80vh!important;
	height: 100vh;
	padding: 0!important;
	overflow: hidden;
}

#tila{
	padding: 0!important;
	min-height: 100vh!important;
}

#yhteystiedot{
	background-color: #eadcce;
}

#back-to-top{
	position: fixed;
	z-index: 99;
	background-color: white;
	width: 60px;
	height: 60px;
	right: 30px;
	bottom: -100px;
	cursor: pointer;
	border-radius: 5px;
	transition: bottom 0.2s ease;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}
#back-to-top > i{
	text-align: center!important;
	line-height: 55px!important;
	font-size: 46px!important;
	width: 100%;
	margin: 0!important;
	opacity: 0.77;
}

#back-to-top > p{
	text-align: center;
	width: 100%;
	line-height: 40px;
	margin: 0;
}

.person{
	height: 150px;
	background-color: white;
	padding: 12px;
	width: 50%;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.03);
	margin-top: 12px;
}

.person > img {
	height: 100%;
	float: left;
	margin-right: 12px;
}

.person > h3 {
	margin-top: 12px;
}

.person > p{
	font-size: 16px;
	margin: 5px;
	font-family: helvetica;
	position: relative;
}

.person-category{
	width: 50%;
	padding: 0;
	text-align: center;
	margin-top: 30px;
	margin-bottom: 12px;
}

.icon{
	position: absolute;
	top: 50%;
	transform: translateY(-50%) scale(1.5);
	left: 0;
	height: 20px;
	width: 20px;
	opacity: 0.5;
}

i{
	color: darkgray!important;
	margin-right: 11px!important;
	margin-left: 12px;
}

hr{
	opacity: 0;
	color: rgba(0, 0, 0, 0);
}

.historic{
	width: 20vw;
	min-height: 80vh;
	float: left;
	position: relative;
	padding: 4vw 5vw;
}

.historic > div{
	width: 100%;
	height: 20%;
	margin-bottom: 9px;
}

.historic > div > small{
	display: block;
	float: left;
	text-align: right;
}

.historic > div > img{
	width: 100%;
	display: block;
	margin: 8px 0;
	float: left;
	cursor: pointer;
}

.desc{
	width: 50vw;
	height: 80vh;
	float: left;
	padding-top: 30px;
	font-size: 1.2vw;
	text-align: justify;
}

.secondary-carousel-container{
	width: 30vw;
	height: 80vh;
	float: left;
	position: relative;
	padding: 100px 45px;
}

#secondary-carousel{
	width: 100%;
	padding-bottom: 60%;
	background-repeat: no-repeat;
	background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.carousel-btn{
	width: 50px;
	height: 50px;
	border-radius: 100%;
	border: 3px solid #e8d6c2;
	font-size: 31px;
	outline: none!important;
	margin-top: 12px;
	margin-right: 4px;
	background-color: #e8d6c2;
	transition: 0.2s ease;
	text-align: center;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.03);
	padding:0;
}

.carousel-btn:hover{
	border: 3px solid #FBB03B;
}

.carousel-btn:active{
	transform: scale(0.95);
}

#torimyynti > img,#kuivaheina > img, .kuivaheina > img{
	display:  block;
	float: right;
	margin: 0 auto;
	margin-left: 25px;
	width: 45%;
}


#torimyynti,#kuivaheina, .kuivaheina{
	min-height:  inherit;
	height: auto;
	z-index: 97;
	overflow: hidden;
	font-size: 1vw;
	text-align: justify;
	padding-bottom: 100px;
	padding-left: 20vw;
}

#torimyynti{
	background-color: #FBB03B;
}

.kuivaheina-img-left{
	float:left!important;
	margin-right: 25px!important;
	margin-left: 0!important;
}

.tori-calendar-container{
	width: 100vw;
	position: relative;
	padding: 40px 16vw;
	padding-bottom: 8px;
	background-color: #F2E7DC;
}

.tori-calendar-container > h2 {
	text-align: center;
	margin-top: 0;
}
.tori-calendar-container > h3 {
	text-align: center;
	margin-top: 0;
}

.tori-calendar{
	width: 100%;
	height: 14vw;
}

.calendar-item{
	width: 25%;
	height: 100%;
	float: left;
	padding: 3vw;
	padding-top: 1vw;
}

.date{
	background: rgb(255,255,255);
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 );
	border-radius: 6px;
	height: 100%;
	width: 100%;
	overflow: hidden;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

.date > h5{
	margin: 0;
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
	padding: 6px;
	background: rgb(255,48,25);
	background: -moz-linear-gradient(top, rgba(255,48,25,1) 0%, rgba(207,4,4,1) 100%);
	background: -webkit-linear-gradient(top, rgba(255,48,25,1) 0%,rgba(207,4,4,1) 100%);
	background: linear-gradient(to bottom, rgba(255,48,25,1) 0%,rgba(207,4,4,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 );
	line-height: 2vw;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.55);
	color: white;
	border-radius: 3px;
	text-align: center;
	font-size: 1vw;
}

.date > p{
	font-size: 0.8vw;
	font-family: helvetica;
	margin-left: 2vw;
	position: relative;
	margin-right: 0.5vw;
}

.date-expired{
	filter:grayscale(1);opacity:0.4;
}

.date > p > i{
	position: absolute;
	left: -2vw;
}
