
body{
	font-family: Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	padding:0;
	margin:0;
	background:url("../images/taust.jpg") no-repeat center center fixed;
	background-size:cover;
}

.container{
	width:80%;
	margin:auto;
	overflow:hidden;
}

ul{
	margin:0;
	padding:0;
}

header{
	background:#FFFFFF;
	height:10%;
	margin-top:2%;
}

header a{
	color:#000000;
	text-decoration:none;
	text-transform: uppercase;
	font-size: 16px;
}

header li{
	float:left;
	display:inline;
	margin-top:7%;
	padding:0 50px 0 50px;
}

header #branding{
	float:left;
}

header #branding img{
	max-width:150px;
	height:auto;
	margin-left:25%;
}

header nav{
	float:right;

}

header .current a{
	color:#e2000c;
}

header a:hover{
	color:#e2000c;
}

header #lang{
	float:right;
	width:3%;
	height:auto;
	margin-right: 3%;
	margin-top: 2%;
}

#showcase{
	border-top:70px;
	border-top-style: solid;
	border-top-color: #2f2d2e;
	margin-top: 700px;
	background-color: white;
	min-height:500px;
}

#pildid{
	width:700px;
	height:500px;
	margin: auto;
	position: relative;

}

.slides{
	width:100%;
	height:100%;
	position: absolute;
	animation: fade 4s linear;
}

@keyframes fade{
	0%, 100% {opacity:0;}
	20%, 80% {opacity:1;}
}

#pildid>.btn{
	position:absolute;
	width:45px;
	height:45px;
	border-radius:35px;
	border:none;
	top:225px;
	background: white;
	color: #e2000c;
	font-size: 20px;
}

#pildid>#btn1:hover{
	box-shadow: 5px 0px 10px 0px black;
}

#pildid>#btn2{
	position: relative;
	float: right;
}

#pildid>#btn2:hover{
	box-shadow: -5px 0px 10px 0px black;
}

#contact{
	background-color: #2f2d2e;
	border-top-color:#e2000c;
	border-top-height:3px;
	border-top-style: solid;
	height:150px;
}

#contact .box{
	margin-top: 20px;
	float:left;
	width:33%;
	height:70%;
	text-align: center;
	color:white;
	font:Helvetica, Arial, sans-serif;
	line-height: 60%;
	border-left-style:solid;
	border-left-width: 1px;
	border-left-color: white;
	-webkit-border-image: -webkit-gradient(linear, 0 100%, 0 0, from(white), to(rgba(0, 0, 0, 0))) 1 100%;
	-webkit-border-image: -webkit-linear-gradient(bottom, white, rgba(0, 0, 0, 0)) 1 100%;
	-moz-border-image: -moz-linear-gradient(bottom, white, rgba(0, 0, 0, 0)) 1 100%; 
	-o-border-image: -o-linear-gradient(bottom, white, rgba(0, 0, 0, 0)) 1 100%; 
	border-image: linear-gradient(to top, white, rgba(0, 0, 0, 0)) 1 100%;

}

.boxpic{
	width:10%;
	float:center;
}

.tekstt{
	color:#efabae;
	font-weight: lighter;
	font: Helvetica;
}

#contact h2{
	font-size: 20px;
	font:Helvetica, Arial, sans-serif;
	font-weight: lighter;

}

footer{
	background-color:#2f2d2e;
	height:100%;
	color:#a0a09f;
	text-align:center;
	font-size: 14px;
	margin-bottom: 5%;
	font-weight: lighter;
	display:block;
}

/* TEINE LEHT */

#premaster{
	width: 350px;
	float:left;
	height:300px;
	background: rgba(255, 255, 255, 0.4);
	margin-top: 150px;
    margin-bottom: 150px;
    border:2px solid white;
}

#premaster:hover{
	width: 350px;
    float: left;
    height: 300px;
    background: rgba(255, 255, 255, 0.6);
    margin-top: 150px;
    margin-bottom: 150px;
    border:2px solid #e2000c;
    text-align: bottom;
}

.pealk{
	position:relative;
	color:white;
	bottom: 0;
	text-align: center;
}

#bodex{
	width: 350px;
    float: right;
    height: 300px;
    background: rgba(255, 255, 255, 0.4);
    margin-top: 150px;
    margin-bottom: 150px;
    border:2px solid white;
    text-align: bottom;
}

#bodex:hover{
	width: 350px;
    float: right;
    height: 300px;
    background: rgba(255, 255, 255, 0.6);
    margin-top: 150px;
    margin-bottom: 150px;
    border:2px solid #e2000c;
    text-align: bottom;
}

#prepic{
	margin:auto;
	width:80%;
	display: block;
    margin-top:17%;
}

#bopic{
	margin:auto;
	width:65%;
    display:block;
    margin-left: 20%;
}

/* KONTAKT */

#päkk{
	background: white;
	height:auto;
	width:100%;
	margin-top: 10%;
	margin-bottom: 10%;
	border-top-width:7px;
	border-top-style: solid;
	border-top-color: #e2000c;
}

#yhendus{
	padding-bottom:2%;
}

#pk{
	position:relative;
	color:black;
	bottom: 0;
	text-align: center;
	font:Helvetica, Arial, sans-serif;
	font-weight: lighter;
	padding-top: 8%;
}

#päkk .pox{
	float:left;
	width:33.333333%;
	height:60%;
	background-color: white;
	border-bottom-color: white;
	border-bottom-style: solid;
	border-bottom-width: 20px;
	padding:25px 0px;
}

.poxpic{
	margin:auto;
	width:30%;
	height:auto;
	display:block;
}

.kontekst{
	text-align:center;
	font-weight: lighter;
	font:Helvetica, Arial, sans-serif;
}

.konpk{
	text-align:center;
	font-weight: lighter;
	font:Helvetica, Arial, sans-serif;
}

#päkk2{
	background-color: white;
	min-height:350px;
	width:100%;

}

#map{
	width:500px;
	height:300px;
	margin: auto;
	border-style: solid;
	border-color: #e2000c;
	border-width: 1px;
}

/* GALERII*/

#logokas{
	width:20%;
	height:auto;
	padding-right: 2%;
}

#logokas2{
	width:15%;
	height:auto;
	padding-right: 2%;
}

.bäkk{
	background: white;
	height:auto;
	width:100%;
	margin-top: 10%;
	margin-bottom: 10%;
	border-top-width:7px;
	border-top-style: solid;
	border-top-color: #e2000c;
	overflow: hidden;
}

.bäkk li{
	float:left;
	width:25%;
	display:block;
	margin-left:5%;
	margin-bottom:2%;
}

.bäkk img{
	width:100%;
	height:auto;
}

.haagised{
	text-align:center;
	font-weight: lighter;
	font: Helvetica, Arial, sans-serif;
	padding:3%;
}

#jaotus1{
	height:1450px;
}

#jaotus1 h2{
	margin-left: 7%;
	padding-bottom: 3%;
	font:Helvetica;
	font-weight: lighter;
}

#jaotus2 h2{
	margin-left: 7%;
	padding-bottom: 3%;
	font:Helvetica;
	font-weight: lighter;
}

.bovideo #vid{
	margin-top:2%;
	padding-bottom: 5%;
}

.edasi{
	background-color: #2f2d2e;
	font-size: 1.3em;
}

.edasi h3{
	font-family: Helvetica;
	font-weight: lighter;
	color: white;
	text-align: center;
}

.inff{
	font-size:1.2em;
	font-family: helvetica;
	text-align: center;
}

.inff a{
	text-decoration: none;
}

/*THUMBNAILS*/

.thumbn img{
	transition: all .3s ease-in-out;
}

.thumbn:hover img{
	opacity: .6;
}

.thumbn img:hover{
	opacity:1;
	transform: scale(1) rotate(2deg);
	box-shadow: 0 0 7px rgba(0, 0, 0, .5);
}

@media screen and (max-width:890px){

	.konpk{
		font-size:0.9em;
		font-weight: bold;
	}
	.container{
	width:100%;
	}

	ul{
	margin:0;
	padding:0;
	}

	header{
		background:#FFFFFF;
		height:10%;
		margin-top:15%;
		border-bottom: solid;
		border-color: white;
		border-bottom-width: 55px;
	}

	header a{
		color:#000000;
		text-decoration:none;
		text-transform: uppercase;
		font-size: 16px;
	}

	header li{
		float:left;
		display:inline;
		margin-top:8%;
		padding:0 50px 0 50px;
	}

	header #branding{
		float:left;
		width:70%;
		margin-left:25%;
	}

	header #branding img{
		max-width:150px;
		height:auto;
	}

	
	header nav{
		box-sizing: border-box;
		width: 70%
		padding:15px;
		margin:0 25% 0 25%;
		text-align: center;
	}

	header ul{
		margin:auto;
		width:70%;
		padding:20px;
		margin-left:25%;
	}

	header li{
		padding-top:20px;
		padding-bottom: 15px;
		border-bottom-color: #e2000c
		border-bottom-width:1px;
		border-bottom-style: solid;

	}

	header .current a{
		color:#e2000c;
	}

	header a:hover{
		color:#e2000c;
	}

	header #lang{
		
		width:100%;
		height:auto;
		margin-top: 30%;
		margin-right: 20%;
	
	}

	header #lang a{
		padding:5px;
	}
		#showcase{
		border-top-width:7%;
		border-top-style: solid;
		border-top-color: #e2000c;
		margin-top: 450px;
		background-color: white;
		min-height:500px;
	}

	#pildid{
		width:100%;
		height:500px;
		margin: auto;
		position: relative;

	}

	.slides{
		width:100%;
		height:100%;
		position: absolute;
	}

	#pildid>.btn{
		position:absolute;
		width:45px;
		height:45px;
		border-radius:35px;
		border:none;
		top:225px;
		background: white;
		color: #e2000c;
		font-size: 20px;
	}

	#pildid>#btn1:hover{
		box-shadow: 5px 0px 10px 0px black;
	}

	#pildid>#btn2{
		position: relative;
		float: right;
	}

	#pildid>#btn2:hover{
		box-shadow: -5px 0px 10px 0px black;
	}

		#contact{
		background-color: #2f2d2e;
		border-top-color:#e2000c;
		border-top-height:1%;
		border-top-style: solid;
		height:550px;
	}

	#contact .box{
		margin-top: 5%;
		float:center;
		width:50%;
		height:auto;
		text-align: center;
		color:white;
		font:Helvetica, Arial, sans-serif;
		line-height: 100%;
		border:none;
		margin-left:25%;
	}

	.boxpic{
		width:20%;
		float:center;
	}	
	
	.tekstt{
		color:#efabae;
		font-weight: lighter;
		font: Helvetica;
		font-size: 80%
	}

	#contact h2{
		font-size: 80%;
		font:Helvetica, Arial, sans-serif;
		font-weight: lighter;

	}
	#päkk{
		background: white;
		height:auto;
		width:100%;
		margin-top: 10%;
		margin-bottom: 10%;
		border-top-width:7px;
		border-top-style: solid;
		border-top-color: #e2000c;
	}

	#yhendus{
		padding-bottom:2%;
		background-color: white;
	}

	#pk{
		position:relative;
		color:black;
		bottom: 0;
		text-align: center;
		font:Helvetica, Arial, sans-serif;
		font-weight: lighter;
		padding-top: 8%;
	}

	#päkk .pox{
		background-color: white;
		border-bottom-color: white;
		border-bottom-style: solid;
		border-bottom-width: 20px;
		box-sizing: border-box;
		width: 100%;
		height:auto;
		padding:15px;
	}


	.poxpic{
		margin:auto;
		width:20%;
		height:auto;
		display:block;
	}	

	.kontekst{
		text-align:center;
		font-weight: lighter;
		font:Helvetica, Arial, sans-serif;
	}

	.konpk{
		text-align:center;
		font-weight: lighter;
		font:Helvetica, Arial, sans-serif;
		font-size: 20px;
	}

	#päkk2{
		background-color: white;
		min-height:150px;
	}

	#map{
		overflow:hidden;
		padding-bottom: 56.26%;
		position: relative;
		height: 0;
		width: 100%;
		border:hidden;
		border-top-style: solid;
		border-top-width: 2px;
		border-top-color: #e2000c;
		margin:auto;
	}
	#map iframe{
		left:0;
		top:0;
		height:100%;
		width: 100%;
		position: absolute;
	}

	footer{
		background-color:#2f2d2e;
		height:100%;
		color:#a0a09f;
		text-align:center;
		font-size: 14px;
		margin-bottom: 5%;
		font-weight: lighter;
		display:block;
	}

	header #branding img{
		max-width:150px;
		height:auto;
		margin:10% 25% 10% 25%;
	}

	header nav{
		box-sizing: border-box;
		width: 100%
		padding:15px;
		margin:0 25% 0 25%;
		text-align: center;
	}

	

/* TEINE LEHT */
#premaster{
	width: 100%;
	float:left;
	height:300px;
	background: rgba(255, 255, 255, 0.6);
	margin-top: 15px;
    margin-bottom: 15px;
    border:hidden;
}

#premaster:hover{
	width: 100%;
    float: left;
    height: 300px;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: bottom;
    border:hidden;
}

.pealk{
	position:relative;
	color:black;
	bottom: 0;
	text-align: center;
}

#bodex{
	width: 100%;
    float: right;
    height: 300px;
    background: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: bottom;
    border:hidden;
}

#bodex:hover{
	width: 100%;
    float: right;
    height: 300px;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: bottom;
    border:hidden;
}

#prepic{
	margin:auto;
	width:60%;
	display: block;
    margin-top:12%;
}

#bopic{
	margin:auto;
	width:45%;
    display:block;
    margin:auto;
}
#jaotus1{
	height:750px;
}

}

@media screen and (max-width: 1100px){
	#jaotus1{
	height:750px;
}

#päkk{
		background: white;
		height:450px;
		width:100%;
		margin-top: 10%;
		margin-bottom: 10%;
		border-top-width:7px;
		border-top-style: solid;
		border-top-color: #e2000c;
	}

	#map{
		overflow:hidden;
		padding-bottom: 56.26%;
		position: relative;
		height: 0;
		width: 100%;
		border:hidden;
		border-top-style: solid;
		border-top-width: 2px;
		border-top-color: #e2000c;
		margin:auto;
	}
	#map iframe{
		left:0;
		top:0;
		height:100%;
		width: 100%;
		position: absolute;
	}
}

@media screen and (max-width:450px){
		#contact{
		background-color: #2f2d2e;
		border-top-color:#e2000c;
		border-top-height:1%;
		border-top-style: solid;
		height:450px;
	}

	header #branding{
		float:left;
		width:70%;
		margin-left:12%;
	}

	header nav{
		box-sizing: border-box;
		width: 70%
		padding:15px;
		margin:0 20% 0 25%;
		text-align: center;
	}

	header ul{
		margin:auto;
		width:70%;
		padding:25px;
	}

	header li{
		padding-top:20px;
		padding-bottom: 15px;
		border-bottom-color: #e2000c
		border-bottom-width:1px;
		border-bottom-style: solid;

	}

	header #lang{
		
		width:100%;
		height:auto;
		margin-top: 30%;
		float:left;

	}

	header #lang a{
		padding:5px;
	}

	#showcase{
		border-top-width:7%;
		border-top-style: solid;
		border-top-color: #e2000c;
		margin-top: 250px;
		background-color: white;
		min-height:250px;
	}

	#pildid{
		width:100%;
		height:250px;
		margin: auto;
		position: relative;

	}

	.slides{
		width:100%;
		height:100%;
		position: absolute;
	}

	#pildid>.btn{
		position:absolute;
		width:25px;
		height:25px;
		border-radius:15px;
		border:none;
		top:125px;
		background: white;
		color: #e2000c;
		font-size: 20px;
	}

	#pildid>#btn1:hover{
		box-shadow: 1px 0px 2px 0px black;
	}

	#pildid>#btn2{
		position: relative;
		float: right;
	}

	#pildid>#btn2:hover{
		box-shadow: -1px 0px 2px 0px black;
	}

/* KONTAKT */

	#päkk{
		background: white;
		height:auto;
		width:100%;
		margin-top: 10%;
		margin-bottom: 10%;
		border-top-width:7px;
		border-top-style: solid;
		border-top-color: #e2000c;
	}

	#yhendus{
		padding-bottom:2%;
		background-color: white;
	}

	#pk{
		position:relative;
		color:black;
		bottom: 0;
		text-align: center;
		font:Helvetica, Arial, sans-serif;
		font-weight: lighter;
		padding-top: 8%;
	}

	#päkk .pox{
		background-color: white;
		border-bottom-color: white;
		border-bottom-style: solid;
		border-bottom-width: 20px;
		box-sizing: border-box;
		width: 100%;
		padding:15px;
	}


	.poxpic{
		margin:auto;
		width:70%;
		height:auto;
		display:block;
	}	

	.kontekst{
		text-align:center;
		font-weight: lighter;
		font:Helvetica, Arial, sans-serif;
	}

	.konpk{
		text-align:center;
		font-weight: lighter;
		font:Helvetica, Arial, sans-serif;
		font-size: 20px;
	}

	#päkk2{
		background-color: white;
		min-height:150px;
	}

	#map{
		overflow:hidden;
		padding-bottom: 56.26%;
		position: relative;
		height: 0;
		width: 100%;
		border:hidden;
		border-top-style: solid;
		border-top-width: 2px;
		border-top-color: #e2000c;
		margin:auto;
	}
	#map iframe{
		left:0;
		top:0;
		height:100%;
		width: 100%;
		position: absolute;
	}

	/* TEINE LEHT */
#premaster{
	width: 100%;
	float:left;
	height:300px;
	background: rgba(255, 255, 255, 0.6);
	margin-top: 15px;
    margin-bottom: 15px;
    border:hidden;
}

#premaster:hover{
	width: 100%;
    float: left;
    height: 300px;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: bottom;
    border:hidden;
}

.pealk{
	position:relative;
	color:black;
	bottom: 0;
	text-align: center;
}

#bodex{
	width: 100%;
    float: right;
    height: 300px;
    background: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: bottom;
    border:hidden;
}

#bodex:hover{
	width: 100%;
    float: right;
    height: 300px;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: bottom;
    border:hidden;
}

#prepic{
	margin:auto;
	width:80%;
	display: block;
    margin-top:17%;
}

#bopic{
	margin:auto;
	width:65%;
    display:block;
    margin-left: 20%;
}
#jaotus1{
	height:450px;
}

#jaotus1 h2{
	margin-left: 7%;
	padding-bottom: 3%;
	font:Helvetica;
	font-weight: lighter;
}

#jaotus2 h2{
	margin-left: 7%;
	padding-bottom: 3%;
	font:Helvetica;
	font-weight: lighter;
}

.bovideo #vid{
	margin-top:2%;
	padding-bottom: 5%;
}

.edasi{
	background-color: #2f2d2e;
	font-size: 1.3em;
}

.edasi h3{
	font-family: Helvetica;
	font-weight: lighter;
	color: white;
	text-align: center;
}

.inff{
	font-size:1.2em;
	font-family: helvetica;
	text-align: center;
}

.inff a{
	text-decoration: none;
}
}