/* Beetle - www.beetle.net.ua 
Styles for header */

header {
	width: 100%;
	font-size: 21px;
	font-weight: 700;
	position: absolute;
	z-index: 10;
	border-bottom:1px solid #73737b;
}
header.bg {
  background: #ebeef2;
	border-bottom: 1px solid #4098f8;
	position: relative;
}
header.fixed {
	background: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	position: fixed;
	z-index: 9;
	top: 0;
  border-bottom: 1px solid #377bc6;
}

.admin-bar header.fixed {
	top: 32px;
}

header .container .row > div {
	float: right;
	max-width: 50%;
	padding: 21px 0 27px;
	color:#ffffff;
}
header.fixed .container .row > div {
	float: right;
	max-width: 50%;
	padding: 13px 0 19px;
	color:#ffffff;
}
header.bg .container .row > div {
	color:#5e6271;
}


header .container .row > div:nth-child(1) {
	float: left;
	padding-top: 25px;
}

header .container .row > div:nth-child(3) {
	padding: 0;
}

header a {
	color: #377ac5;
	font-size: 32px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.7s;
}
header .phone_link {
	color: #377ac5;
	font-size: 32px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.7s;
}

header a .fa {
	font-size: 22px;
	padding-right: 8px;
}
header #top a .fa {
	font-size: 15px;
	padding-right: 7px;
}
header #top a span{
	font-size:8px;
	color:#377bc6;
	padding-right: 7px;
}

header .phone_link .fa {
	font-size: 22px;
	padding-right: 8px;
}
header #top .phone_link .fa {
	font-size: 15px;
	padding-right: 7px;
}
header #top .phone_link span{
	font-size:8px;
	color:#377bc6;
	padding-right: 7px;
}


header #menu-header-menu {
	position: relative;
	bottom: -10px;
	display: inline-block;
	height: 100%;
}

header #menu ul {
	margin: 0;
}

header #menu li {
	display: inline-block;
	float: right;
	padding: 0;
	cursor: pointer;
}

header #menu a {
	color: #fafbfc;
	font-size: 21px;
	font-weight: 500;
	text-decoration: none;
	display: block;
	position: relative;
	transition: color 0.3s ease 0s;
}

header .menu > li a {
	padding: 26px 20px 41px;
}

header .menu li.menu-item-has-children a:after {
	content: none;
}

header .menu > li a:after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	height: 3px;
	width: 0;
	background: #4098f8;
	transition: 0.7s;
}

header #menu a:hover:after {
	width: 100%;
	transition: 0.7s;
}

header.bg  #menu a {
	color: #5e6271;
}
header.fixed #menu a {
	color: #191d27;
	font-size: 21px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s ease 0s;
}
header.fixed{
	background:#ebeef2;
}

header #menu li:hover > a {
	color: #4098f8;
	transition: color 0.3s ease 0s;
}

header #menu .sub-menu {
	display: none;
	opacity: 0;
	visibility: hidden;
	white-space: nowrap;
	position: absolute;
	background: #fff;
	border-top: 3px solid #4098f8;
	width: auto;
	list-style: none;
	padding: 20px;
	top: 96px;
	transition: 2s;
	height: 0;
	box-shadow: 0 0 10px #ccc;
}

header #menu .sub-menu li {
	padding: 5px 0;
	width: 100%;
	line-height: 21px;
}

header.fixed #menu .sub-menu li {
	padding: 5px 0;
	line-height: 21px;
}
header.fixed .logo_normal{
	display:none;
}
header.fixed .logo_sticky{
	display:block;
}
header .logo_sticky{
	display:none;
}
header .logo_normal{
	display:block;
}
header.bg .logo_sticky{
	display:block;
}
header.bg .logo_normal{
	display:none;
}
header #menu .sub-menu a {
	color: #51545b;
	font-size: 19px;
	padding: 0 10px;
}

header #menu .sub-menu a:after {
	content: none;
}

header #menu li.dropdown:hover > .sub-menu {
	display: block;
	opacity: 1;
	visibility: visible;
	height: auto;
	transition: 2s;
  width: auto;
  right: 0;
  padding-top: 5px;
  padding-bottom: 5px;
}
header #menu li.dropdown:hover > .sub-menu li .sub-menu {
    top: -8px;
    right: 114%;
    box-shadow: none;
}
header.fixed #menu li.dropdown:hover > .sub-menu {
	right: -7%;
}
header .feedback {
	display: none;
}

header.fixed .feedback {
	display: inline-block;
	color: #0c3245;
	font-size: 21px;
	font-weight: 700;
	border-left: 1px solid #e1e1e1;
	padding-left: 15px;
	margin-left: 15px;
}

header.fixed .feedback .fa {
	color: #377ac5;
	font-size: 15px;
	padding-left: 15px;
}

header.fixed a {
	font-size: 26px;
}

header.fixed img {
	width: 285px;
	padding-top: 4px;
}

header.fixed .container .row > div:nth-child(1) {
	padding: 25px 0 25px;
	color:#191d27;
}
header.fixed #menu .sub-menu{
	top : 92px ;
	box-shadow: 0 0 10px #ccc;
}

@media screen and (max-width: 1680px) {
	header div, 
	header.fixed .feedback {
		font-size: 18px;
	}
}

@media screen and (max-width: 1290px) {
	body header #menu li.dropdown:hover > .sub-menu {
		box-shadow: none;
	}
	header img {
		max-width: 250px;
	}
	
	header a {
		font-size: 26px;
	}
	
	header div {
		font-size: 18px;
	}
	
	header #menu a {
		font-size: 18px;
	}
}

@media screen and (max-width: 1100px) {
	header.fixed .feedback {
		display: none;
	}

	header.fixed #menu li.dropdown:hover > .sub-menu {
		width: 94% !important;
	}
	header #menu #menu-header-menu {
		padding: 0;
	}
	header.fixed #menu a {
    font-size: 19px;
  }
  header.fixed .menu > li a {
    padding: 21px 20px 30px;
  }
}
