/* OVERALL
-------------------------------------------------------------------*/
body{
	font-family: 'Encode Sans Expanded', sans-serif;
	font-weight: 300;
	font-size: 20px;
	background-color: rgba(64, 93, 155, 0.4);
	color: #FFFFFF;
	background-image: url("../img/background.jpg");
	background-attachment: fixed;
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
html, body{
	height: 100%;
    margin: 0;
    padding: 0;
}
.clear{
	clear: both;
}
.no-padding{
	padding: 0;
}
.no-margin{
	margin: 0;
}
#scroll{
	position: fixed;
	right: 40px; 
	bottom: 30px;
	color: #FFFFFF;
}
#scroll:hover{
	cursor: pointer;
	color: #FF8C00;
}
.wrap_cookies{
	background-color: rgba(0,0,0,0.8);
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 10000;
	font-size: 16px;
	color: #FFF;
	text-align: center;
	border-bottom: 2px solid #FF8C00;
	height: 150px;
}
.cookies{
	width: 800px;
	margin: 0 auto;
	display: block;
}
.cookies p{
	margin-top: 30px;
}
.cookies a{
	color: #FF8C00;
	text-align: left;
	transition: .5s;
	text-decoration: none;
}
.cookies .cookie_text{
	position: relative;
}
#close_cookies{
	height: 25px;
	width: 25px;
	display: block;
	position: absolute;
	top: 100px;
	right: 0;
	color: #FF8C00;
	font-size: 23px;
	transition: .5s;
}
#close_cookies:hover,
.cookies a:hover{
	color: #FFF;
	cursor: pointer;
}
.cookies img{
	float: right;
	margin-top: 20px;
	width: 60%
}
body::-webkit-scrollbar{
	height: 10px;
	width: 10px;
}
body::-webkit-scrollbar-track {
	background-color: #2F3336;
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}

body::-webkit-scrollbar-thumb {
	background-color: #FF8C00;
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}
body::-webkit-scrollbar-corner {
	background: #2F3336 url(../img/corner.png) 0px 1px no-repeat;
}

body::-webkit-scrollbar-button:vertical:decrement {
	background: #2F3336 url(../img/up.png) 0px 2px no-repeat;
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}

body::-webkit-scrollbar-button:vertical:increment {
	background: #2F3336 url(../img/down.png) 0px 3px no-repeat;
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}

body::-webkit-scrollbar-button:horizontal:decrement {
	background: #2F3336 url(../img/left.png) 1px 1px no-repeat;
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}

body::-webkit-scrollbar-button:horizontal:increment {
	background: #2F3336 url(../img/right.png) 3px 1px no-repeat;
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}

/* NAV
-------------------------------------------------------------------*/
nav{
	height: 100%;
	background-color: rgba(64, 93, 155, 0.8);
	box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.5);
	text-align: center;
}
nav img{
	display: block;
	margin: 0 auto;
	margin-top: 10px;
}
nav h1{
	font-weight: 700;
	font-size: 24px;
	width: 100%;
	background-color: rgba(0,0,0,0.4);
	box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.4);
	padding-top: 11px;
	padding-bottom: 11px;
}
nav ul{
	text-align: left;
	list-style: none;
	display: block;
	margin: 0 auto;
	padding: 40px 0 0 55px;
	line-height: 330%;
}
nav ul li{
	text-transform: uppercase;
}
nav ul li a{
	color: #FFFFFF;
	font-size: 24px;
	transition: 0.5s;
}
nav ul li a:hover{
	text-decoration: none;
	cursor: pointer;
	color: #FF8C00;
}
nav ul li a span{
	padding-left: 10px;
}
nav .li-activ{
	border-right: 4px solid #FF8C00;
}
nav .a-activ{
	color: #FF8C00;
	font-weight: 400;
}
nav .btn-menu{
	display: none;
	position: absolute;
	top: 5px;
	right: 20px;
	height: 30px;
	width: 32px;
	border: none;
	padding: 0;
	background-color: transparent;
}
nav .bar{
	display: block;
	width: 30px;
	height: 7px;
	border: 1px solid #111;
	border-radius: 5px;
	background-color: #FF8C00;
	margin-top: 2px;
}

/* MAIN
-------------------------------------------------------------------*/
main {
	position: relative;
	background-color: rgba(64, 93, 155, 0.6);
	min-height: 100% !important;
}
.contact{
	position: absolute;
	top: 20px;
	right: 100px;
	font-weight: 400;
	z-index: 200;
}
.contact a{
	color: #FFFFFF;
	font-size: 18px;
	text-decoration: none;
	transition: 0.5s;
}
.contact a:hover{
	text-decoration: none;
	color: #FF8C00;
	cursor: pointer;
}
.contact i{
	color: #FF8C00;
	padding-left: 20px;
}
.contact span{
	padding: 10px;
	text-transform: uppercase;
}
.content{
	margin-top: 40px;
	padding: 10px 40px;
	-webkit-animation-delay: 0.3s;
	-moz-animation-delay: 0.3s;
}

/* FOOTER
-------------------------------------------------------------------*/
footer{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	padding-top: 10px;
	font-size: 16px;
}
footer a, main .footer a{
	color: #FFFFFF;
	transition: 0.5s;
}
footer a:hover, main .footer a:hover{
	color: #FF8C00;
	cursor: pointer;
	text-decoration: none;
}
main .footer{
	position: absolute;
	bottom: 0;
	left: 0;
	display: none;
	background-color: rgba(64, 93, 155, 0.8);
	box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.5);
	width: 100%;
	height: 60px;
	padding-top: 5px;
	text-align: center;
	font-size: 16px;
}

/* RESPONSIVE_WEB_DESIGN
-------------------------------------------------------------------*/
@media all and (max-width: 1140px){
	nav h1{
		font-size: 22px;
	}
}
@media all and (max-width: 1100px){
	nav ul li a{
		font-size: 20px;
	}
	footer{
		height: 50px;
		font-size: 14px;
	}
}
@media all and (max-width: 1050px){
	nav ul{
		padding: 20px 0 0 35px;
	}
	nav h1{
		font-size: 18px;
		height: 45px;
	}
}
@media all and (max-width: 900px){
	footer span::before{
		content: '\A';
		white-space: pre;
	}
	footer{
		height: 60px;
	}
	.contact{
		right: 50px;
	}
}
@media all and (max-width: 850px){
	nav h1{
		font-size: 16px;
		padding-top: 15px;
	}
	.cookies{
		width: 100%;
	}
	#close_cookies{
		right: 50px;
	}
}
@media all and (max-width: 767px){
	footer{
		display: none;
	}
	main .footer{
		display: block;
	}
	nav{
		height: 50px;
		background-color: transparent;
		box-shadow: none;
	}
	nav img{
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
	}
	nav .btn-menu{
		display: block;
	}
	#menu{
		display: none;
		position: absolute;
		top: 50px;
		left: 1%;
		width: 98%;
		height: 180px;
		background-color: rgba(64, 93, 155, 0.95);
		border: 1px solid #000000;
		text-align: center;
		box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.5);
	}
	#menu span::before{
		content: '\A';
		white-space: pre;
	}
	nav h1{
		font-size: 24px;
		padding-top: 8px;
		margin-bottom: 24px;
	}
	nav .li-activ{
		border: none;
	}
	nav .fa-folder-open,
	nav .fa-home,
	nav .fa-user,
	nav .fa-paper-plane{
		font-size: 32px;
	}
	nav ul{
		padding: 0;
		text-align: center;
	}
	nav ul li{
		display: inline-block;
		line-height: 20px;
		width: 24%;
	}
	nav ul li a{
		font-size: 15px;
	}
	nav ul li a span{
		padding-left: 5px;
	}
	.contact{
		top: 60px;
		right: 20px;
	}
	.content{
		margin: 0;
		padding: 90px 30px 80px 30px;
	}
	.cookies img{
		width: 8%;
		display: block;
		float: none;
		margin: 0 auto;
		margin-top: 5px;
	}
	.cookies p{
		margin-top: 10px;
		padding-left: 5px;
		padding-right: 5px;
	}
	.wrap_cookies{
		height: 180px;
	}
	#close_cookies{
		top: 70px;
	}
}
@media all and (max-width: 580px){
	main .gap::before{
		content: '\A';
		white-space: pre;
	}
	.contact{
		left: 20px;
	}
	.contact a{
		font-size: 16px;
	}
	.content{
		margin: 0;
		padding: 130px 5px 80px 5px;
	}
	.wrap_cookies{
		font-size: 14px;
	}
}
@media all and (max-width: 500px){
	#menu{
		height: 250px;
	}
	nav ul li{
		width: 48%;
	}
	.contact{
		left: 0;
	}
	.content{
		font-size: 18px;
	}
}
@media all and (max-width: 430px){
	.contact a{
		font-size: 14px;
	}
		#close_cookies{
		top: 90px;
		right: 40px;
	}
}