@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700,800&subset=cyrillic');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&subset=cyrillic');
html{
	font-size: 12pt;
}
*{
	margin: 0;
	padding: 0;
	color: #424242;
	text-decoration: none;
	list-style: none;
}
body{
	font-family: 'Montserrat', sanf-serif;	
	animation: fade 2s alternate;
	text-transform: none;
}
h1{
	font-size: 24px;
}

@keyframes fade{
	0%{
		opacity: 0;
	}
	100%{
		opacity: 1;
	}
}
nav ul li{	
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
	position: relative;
	display: flex;
	outline: none;
	align-items: center;
	align-content: center;
	justify-content: center;
	text-transform: uppercase;
	font-size: 14px;
}
.logo{
	height: 35px;
	width: 110px;
	margin: 0 35px;
	user-drag: none; 
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	/*filter: drop-shadow(0 0 3px #3F51B5);
*/}
#inside-footer{
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 250px;
	background-color: #2b2b2b;
}
#inside-footer>*{
	margin: 10px;
}
nav{
	position: fixed;
	z-index: 9999;
	top: 0;
	display: flex;
	width: 100%;
	justify-content: space-between;
	height: 60px;
	box-shadow: 0 0 5px #aaa;
	align-items: center;
	background-color: #e0e0e0;
}
nav ul{
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: space-around;
	width: 75%;
}
nav a{
	font-weight: 600;
	text-transform: uppercase;
	font-size: 12px;
	transition: .2s;
}
nav ul li:hover a{
	color: #0288D1;
}
nav ul li{
	position: relative;
}

.custom-underline {
  position: relative;
  display: inline-block;
}

.custom-underline::after {
  content: "";
  position: absolute;
}

nav ul li .custom-underline::after{
  bottom: -10px;
  height: 2px;
  width: 0%;
  left: 0;
  background-color: #0288D1;
  transition: 0.5s ease all .3s;
}

li:hover .custom-underline::after {
  width: 100%;
  transition: 0.3s ease all;
}
h1{
	margin-bottom: 40px;
	margin-top: 20px;
}

#quote{
	display: flex;
	height: 60vh;
	position: relative;
	width: 100%;
	box-shadow: 0 2px 5px #777;
	background-image: url('../img/a-min.jpg');
	background-size: cover;
	background-position: center;
}

.quote-text{
	position: absolute;
	background-color: rgba(0,0,0, 0.75);
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	
}
.quote-text p{
	color: white;
	margin: 20px 15px;
	text-shadow: 0 0 10px #222;
	font-weight: 400;
	font-size: 1.25em;
	text-align: center;
	text-transform: uppercase;
}


footer{
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	flex-direction: column;
	text-transform: none;
	background-color: #1a1a1a;
	box-shadow: 0 -2px 5px #ccc;
	font-size: 14px;
	line-height: 1.5em;
	text-align: center;
}
#footer-logo{
	display: flex;
	width: 90%;
	margin-top: 30px;
	padding-bottom: 20px;
	align-content: center;
	justify-content: flex-start;
	align-items: center;
	border-bottom: 1px solid #666;
}
footer img{
	filter:  saturate(0) brightness(2);	
	user-drag: none; 
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	height: 60px;
}

#footer-col-2{
	display: flex;
	position: relative;
	width: 90%;
}
#footer-sitemap, #footer-contacts{
	display: flex;
	flex-direction: column;
	width: 50%;
	align-items: center;
	justify-content: flex-start;
	align-items: flex-start;
}
#footer-contacts div{
	margin: 10px;
	display: flex;
	justify-content: center;
	text-align: left;
	vertical-align: middle;
}
#footer-contacts img{
	height: 25px;
	margin: 0 10px;
}
footer:focus{
	animation: fade 1s alternate;
}
@keyframes fade{
	0%{opacity: 0};
	100%{opacity: 1};
}

footer p{
	padding: 10px 0 ;
	font-size: 12px;
	text-align: center;
	text-indent: 0;
	color: #888;
}

footer a, footer  span{
	color: #888;
}

footer a:hover{
	color: #0288D1;
}

#main-content{
	margin: 20px;
	flex-direction: column;
	background-color: #fafafa;
}
div#dropdown{
	position: absolute;
	padding: 5px ;
	top: 100%;
	line-height: 2;
	z-index: 10000000;
	background-color: #f0f0f0;
	font-weight: 500;
	left: 0;
	width: 50px;
	text-align: center;
	-webkit-filter: drop-shadow(0 2px 5px #ddd);
	-moz-filter: drop-shadow(0 2px 5px #ddd);
	-o-filter: drop-shadow(0 2px 5px #ddd);
	-ms-filter: drop-shadow(0 2px 5px #ddd);
	filter: drop-shadow(0 2px 5px #ddd);
	display: none;
}

div#dropdown a{
	border-bottom: 1px solid #e5e5e5;
	display: block;

}
div#dropdown a:hover{
	background-color: #e5e5e5;
} 
#language:hover div#dropdown{
	display: block;
}
#language{
	font-weight: 700;
	position: relative;

}
.menu-btn{
	position: absolute;
	width: 30px;
	height: 30px;
	left: 20px;
	top: 15px;
	z-index: 200;
	display: none;
}
.menu-btn:hover{
	cursor: pointer;
}
.menu-list{	
	min-height: 100vh;
	z-index: 2000000000000000;
	top: 60px;
	left: 0;
	position: fixed;
	display: none;
	-webkit-filter: drop-shadow(0 2px 5px #ddd);
	-moz-filter: drop-shadow(0 2px 5px #ddd);
	-o-filter: drop-shadow(0 2px 5px #ddd);
	-ms-filter: drop-shadow(0 2px 5px #ddd);
	filter: drop-shadow(0 2px 5px #ddd);
	background-color: #e2e2e2;
}
.menu-list ul li{
	padding: 10px 40px 10px 20px;
	display: block;
	text-transform: uppercase;
	border-bottom: 1px solid #ddd; 
	transition: .5s;
}
.menu-list ul li:hover{
	background-color: #f0f0f0;
	cursor: pointer;	
}
#dropdown-item{
	display: none;
	background-color: #222222;
}

nav.menu-no-offset{
	background-color: rgba(0,0,0,0);
	color: white;
	box-shadow: none;
}
nav.menu-no-offset ul a, nav.menu-no-offset li{
	color: #f0f0f0;
	font-weight: 300;
}
nav.menu-no-offset ul li:hover > a{
	color: #03A9F4;
	font-weight: 500;
}
nav.menu-no-offset .logo{
	filter: saturate(0) brightness(4);
}
#arrow-scroll{
	position: absolute;
	bottom: 20px;
	height: 30px;
	z-index: 88;
	animation: slideup .8s infinite alternate;
}

@keyframes slideup{
	100%{transform: translateY(-10px);}
}


@media screen and (max-width: 900px) and (min-width: 300px) { 
	html{
		margin-top: 60px;
	}
	nav ul li{
		display: none;
	}
	nav{
		z-index: 75;
		position: fixed;
		top: 0;
		outline: none;
		border: none;
	}
	#logo{
		display: none;
	}
	.menu-btn{
		display: block;
		position: fixed;

	}
	.menu-list{		
		box-shadow: none;
		height: 40px;
	}
	.quote-text p{
	color: white;
	margin: 20px 15px;
	text-shadow: 0 0 10px #222;
	font-weight: 400;
	font-size: 1.25em;
	text-align: center;
	text-transform: uppercase;
}
#footer-col-2{
	flex-wrap: wrap;
}

.logo{
		display: none;
	}



#dropdown-item{
	display: inline-block;
	margin: 20px;
}

}


@media screen and (min-width: 900px){
	.menu-list{
		display: none;
	}
	.menu-list>*{
		display: none;
	}
}
@media screen and (max-width: 1100px) and (min-width: 900px){
	#logo{
		display: none;
	}
}

.language{
	min-width: 80px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}