#header {
	color: #f1f1f2;
	position: relative;
	z-index: 999;
}

#header .container {
	padding: 0;
	max-width: 100%;
	width: 100%;
	background-color: #000;
	margin: 0 auto;
}

#header .holder {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	width: 100%;
	max-width: 836px;
	padding: 0 15px;
	margin: 0 auto;
}

#header .current-date {
	width: 100%;
	font-size: 20pt;
	line-height: 1;
	padding: 10px;
	position: relative;
	font-family: "itc_avant_garde_gothic_extrRg", "Arial", "Helvetica Neue", "Helvetica", sans-serif;
}

#header .btn-list {
	padding-top: 5px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: calc(50% - 160px);
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	position: relative;
	z-index: 10;
}

#header .search-opener,
#header .drop-opener {
	display: block;
	font-size: 25px;
	line-height: 1;
	color: #f1f1f2;
}

#header .drop-holder {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-left: 16px;
}

#header .drop-holder:before {
	-webkit-transition: opacity .15s ease-in-out, visibility .15s ease-in-out;
	transition: opacity .15s ease-in-out, visibility .15s ease-in-out;
	height: 0;
	width: 0;
	border-bottom: 12px solid #f1f1f2;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
}

#header .drop-holder.drop-active:before {
	opacity: 1;
	visibility: visible;
}

#header .drop-holder.drop-active .popup-drop {
	opacity: 1;
	visibility: visible;
}

#header .popup-drop {
	-webkit-transition: opacity .15s ease-in-out, visibility .15s ease-in-out;
	transition: opacity .15s ease-in-out, visibility .15s ease-in-out;
	display: block !important;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 100%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

/*#header .popup-drop.popup-drop--search {
    padding: 8px 8px;
    background: #58595B;
    border-radius: 16px;
    left: auto;
    right: -30px;
    transform: inherit;
}*/
#header input.search-input {
    width: 250px;
    color: #888;
    border: 1px solid #999;
	padding: .4em .7em;
	line-height: normal;
	font-size: 18px;
}

#header .popup-drop.search-drop {
	margin-top: 1px;
	left: auto;
	right: -15px;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
}

#header a {
	text-decoration: none;
}

#header .social-networks {
	padding: 4px 0 0;
	background-color: #fff;
}

#header .social-networks li {
	padding: 0 0 4px;
}

.logo {
	width: 150px;
	display: block;
	margin: 16px 0 11px;
}

.logo img {
	display: block;
	width: 100%;
}

.search-form {
	width: 320px;
	background-color: #58595b;
	padding: 8px;
	border-bottom: 1px solid #999;
}

.search-form input[type="search"],
.search-form input[type="text"] {
	width: 100%;
	border: none;
	color: #999;
	font-size: 20px;
	line-height: 1;
	padding: 5px 8px;
	outline: none;
}

.search-form input[type="search"]::-webkit-input-placeholder,
.search-form input[type="text"]::-webkit-input-placeholder {
	color: #999;
}

.search-form input[type="search"]::-moz-placeholder,
.search-form input[type="text"]::-moz-placeholder {
	opacity: 1;
	color: #999;
}

.search-form input[type="search"]:-moz-placeholder,
.search-form input[type="text"]:-moz-placeholder {
	color: #999;
}

.search-form input[type="search"]:-ms-input-placeholder,
.search-form input[type="text"]:-ms-input-placeholder {
	color: #999;
}

.search-form input[type="search"].placeholder,
.search-form input[type="text"].placeholder {
	color: #999;
}

#nav {
	background-color: #fff;
	min-width: 84px;
	font-size: 17px;
	line-height: 1;
}
#nav li {
	margin: 0;
	padding: 0;
}

#nav li.active a {
	background-color: #58595b;
	color: #fff;
}

#nav a {
	-webkit-transition: color .15s ease-in-out, background .15s ease-in-out;
	transition: color .15s ease-in-out, background .15s ease-in-out;
	display: block;
	padding: 3px 9px 5px;
	background-color: #fff;
	color: #000;
	font-weight: 500;
}

#nav a:hover {
	background-color: #58595b;
	color: #fff;
}


@media (min-width: 768px) {
	#header .current-date {
		padding: 14px 10px 10px 0;
		width: calc(50% - 140px);
		-ms-flex-item-align: center;
		-ms-grid-row-align: center;
		align-self: center;
	}

	#header .btn-list {
		width: calc(50% - 140px);
	}

	#header .search-opener,
	#header .drop-opener {
		font-size: 35px;
	}

	#header .drop-holder {
		margin-left: 23px;
	}

	#header .drop-holder:before {
		height: 0;
		width: 0;
		border-bottom: 17px solid #f1f1f2;
		border-left: 20px solid transparent;
		border-right: 20px solid transparent;
	}

	.logo {
		width: 262px;
		margin: 16px 0 8px;
	}

	.search-form {
		width: 300px;
		border-radius: 15px;
		border-bottom: 0;
	}
}




.social-networks li {
	padding: 0 5px;
}

.social-networks a {
	-webkit-transition: background .15s ease-in-out;
	transition: background .15s ease-in-out;
	width: 40px;
	height: 40px;
	display: block;
	border-radius: 50%;
	background-color: #29abe2;
	color: #fff;
	font-size: 28px;
	text-align: center;
}

.social-networks a:hover {
	background-color: #1a8dbe;
}

.social-networks a.facebook {
	background-color: #31589d;
}

.social-networks a.facebook:hover {
	background-color: #254276;
}

.social-networks a.twitter {
	background-color: #2daae1;
}

.social-networks a.twitter:hover {
	background-color: #1b8dc0;
}

.social-networks a.comment i {
	line-height: 43px;
}

.social-networks a.download i {
	line-height: 36px;
}

.social-networks a.link {
	text-decoration: none;
	width: auto;
	height: auto;
	color: #fff;
	padding: 4px 30px;
	font-family: "Avant Garde", "Arial", "Helvetica Neue", "Helvetica", sans-serif;
	font-size: 16px;
	font-weight: 700;
	border-radius: 3em;
	letter-spacing: 0;
	display: inline-block;
	vertical-align: middle;
}

.social-networks a.link:hover {
	text-decoration: none;
}

.social-networks a i {
	display: inline-block;
	vertical-align: top;
	line-height: 40px;
}

.js-search-form {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.js-search-form button[type="submit"] {
	-webkit-transition: background-color .15s ease-in-out;
	transition: background-color .15s ease-in-out;
	width: 37px;
	height: 37px;
	border: none;
	background-color: #58595b;
	color: #fff;
	padding: 8px 10px;
	font-size: 25px;
	line-height: 1;
	padding: 0;
	text-align: center;
}

.js-search-form button[type="submit"]:hover {
	background-color: #231f20;
}

.js-search-form button[type="submit"] i {
	display: inline-block;
	vertical-align: middle;
	line-height: 35px;
}
