@import url("https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css");
.button_menu {
    display: none;
}

.menu_bg {
	position: fixed;
    top: 0;
    left: 0;
}

.menu_bg.active {
	width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 10;
}

header .nav {
	margin-right:48px;
}

header .nav .button {
	display:none;
}

header .nav ul {
    display: flex;
}

header .nav ul li {
    list-style: none;
    display: list-item;
    margin-left: 50px;
    position: relative;
}

header .nav ul li a {
    font-size: 19px;
	font-weight:500;
    color: #fff;
    text-decoration: none;
	padding: 0;
    display: block;
	margin: 37px 0;
}
.fixed_logo{
	
	display: none;
}
.normal_logo{
	
	display: block;
}
.fixed .fixed_logo{
	
	display: block;
}
.fixed .normal_logo{
	
	display: none;
}

@media(min-width: 1024px) {
	header .nav ul {
		 margin: 37px 0 !important;
	}
	header .nav ul li a {
		margin: 0px;
	}
	header .nav .custom_megamenu {
		padding-top: 37px;
		border: none !important;
	}
	header .nav .custom_megamenu .row {
		border-top: 1px solid #e9ecf0;
	}
	div.header_block .logo {
		z-index: 9;
	}
	header .nav .custom_megamenu .column.column_5 {
		border-left: 0px;
	}
	header .nav .custom_megamenu .column.column_1 {
		border-right: 0px !important;
	}
}

header.fixed .nav ul li a {
	color:#19244F;
}

header .nav ul li a:hover, header.fixed .nav ul li a:hover {
	color:#AF8C3E;
}

header .nav ul li a:hover:before {
	color:#19244F
}

header .nav li.contain_megamenu {
	position:static;
}

header .nav .custom_megamenu {
	display: flex;
    position: absolute;
    background-color: #fff;
    width: 100%;
    margin: 0 auto;
    right: 0;
    left: 0;
	visibility: hidden;
    transform: translateY(10px);
    opacity: 0;
	border-top: 1px solid #e9ecf0;
}

header .contain_megamenu a:before {
	content: '\f078';
	font-family: 'fontawesome' !important;
    left: -17px;
    color: #fff;
    font-size: 10px;
    transition: 0.2s;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

header.fixed .contain_megamenu a:before {
	color:#222462;
}

.contain_megamenu a {
	position:relative;	
}

.contain_megamenu:hover .custom_megamenu {
	opacity:1;
	transform:translateY(0);
	visibility:visible;
}

header .nav .custom_megamenu .column {
	width: calc(20% - 50px);
    border-left: 1px solid #e9ecf0;
    padding: 25px 25px 50px 25px;
}

header .nav .custom_megamenu .column:first-child {
	border-right: 1px solid #e9ecf0;
}

header .nav .custom_megamenu .column .widget-title {
	font-size: 18px;
    font-weight: 700;
    color: #19244F;
    border-bottom: 1px solid #19244F;
    display: block;
    padding-bottom: 3px;
	margin-bottom: 12px;
}

header .nav .custom_megamenu .column ul {
	display:block;
	margin-top:  0 !important;
}

header .nav .custom_megamenu .column ul li {
	margin-left: 0;
}

header .nav .custom_megamenu .column ul li a, header.fixed .nav .custom_megamenu .column ul li a {
	font-size:15px;
	font-weight:400;
	color: #222462;
	padding: 3px 20px 3px 0;
	margin: 0;
}

header .nav .custom_megamenu .column ul li a:before {
    content: '\f053';
    right: 0;
    top: 11px;
	position: absolute;
    color: #222462;
    font-size: 9px;
    font-family: "Font Awesome 5 Free";
    transition: 0.2s;
	transform: none;
}

header .nav .custom_megamenu .column ul li a:hover, header .nav .custom_megamenu .column ul li a:hover:before {
	color:#19244F
}

@media (max-width: 1432px)
{
	header .nav ul li a {
		font-size: 16px;
	}
	
	header .nav ul li {
		margin-left: 40px;
	}
}

@media (max-width: 1236px)
{
	header .nav ul li a {
		margin:0;
	}
	
	header .button_menu {
		display: inline-block;
		justify-content: right;
		cursor: pointer;
		position: relative;
		padding: 18px 0 27px 18px;
	}
	
	header .btn-beetle-nav {
		border: 0;
		position: relative;
		min-width: 26px;
		transition: .2s;
		cursor: pointer;
		box-shadow: none!important;
		outline: none!important;
		z-index: 99;
		height: 3px;
		background: #fff;
		        padding: 0;
	}
	
	header .btn-beetle-nav:before, header .btn-beetle-nav:after {
		content: '';
		position: absolute;
		right: 0;
		width: 100%;
		height: 3px;
		background: #fff;
		transition: .2s;
	}
	
	header .btn-beetle-nav:before {
		top: 9px;
	}
	
	header .btn-beetle-nav:after {
		bottom: 9px;
	}
	
	header .nav, header .phone, header .button {
		display:none;
	}
	
	header .logo {
		position: absolute;
		left:16px;
		top: 0;
	}
	
	header .logo img {
		width: 67px;
    	position: absolute;
    	left: 0;
	}
	
	header.fixed .btn-beetle-nav:before, header.fixed .btn-beetle-nav:after, header.fixed .btn-beetle-nav {
		background: #222462;
	}
	
	.active_menu, .active_menu section, .active_menu footer {
		overflow: hidden;
		position: relative;
	}
	
	.active_menu section.section_1 {
		overflow:initial;
	}
	
	.active_menu header .btn-beetle-nav {
		background: inherit;
	}
	
	.active_menu header .btn-beetle-nav:before {
		top: 0;
		transform: rotate(45deg);
	}
	
	.active_menu header .btn-beetle-nav:after {
		bottom: 0;
		transform: rotate(-45deg);
	}
	
	header .nav, header.fixed .nav {
		float: left;
		position: fixed;
		z-index: 10;
		width: 210px;
		right: -210px;
		height: 100%;
		margin-right: 0;
		top: 0;
		background-color: #fff;
		transform: none;
		background-image: url(../img/mobile_menu_bg.png);
    	background-repeat: repeat-y;
    	background-position: left;
	}
	
	header .nav ul, header.fixed .nav ul {
		display: block;
	}
	
	header .nav ul li {
		margin-left: 0;
		border-bottom: 1px solid #f3f2f2;
	}
	
	header .nav ul li a {
		font-size: 18px;
		color:#092867;
		padding: 24px 16px;
	}
	
	header .contain_megamenu a {
		margin-left: 0;
    	width: calc(100% - 80px);
    	display: inline-block;
	}
	
	header .contain_megamenu a:before {
		color: #092867;
		left: -28px;
	}
	
	header .nav .custom_megamenu {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		display: none;
    	position: relative;
		background-color: inherit;
	}
	
	header .nav .children_active .custom_megamenu {
		display:block;
	}
	
	.contain_megamenu:hover .custom_megamenu {
		opacity: 1;
		visibility: visible;
	}
	
	.custom_megamenu .row {
		max-width: 100%;
    	padding: 0;
	}
	
	header .nav .custom_megamenu .column {
		width: 100%;
		border:0;
		padding:0;
	}
	
	header .custom_megamenu .row {
		display: block;
	}
	
	header .nav .custom_megamenu .column {
		width: 100%;
		border: 0;
		padding: 0;
	}
	
	header .nav .custom_megamenu .column:first-child {
		border:0;
	}
	
	header .nav .custom_megamenu .column .widget-title {
		padding:14px 16px;
		color: #092867;
		border:0;
		position: relative;
		margin-bottom: 0;
		cursor:pointer;
		font-size: 16px;
	}
	
	header .nav .custom_megamenu .column .widget-title:before {
		content: '\f078';
		font-family: 'fontawesome' !important;
		left: -17px;
		color: #fff;
		font-size: 10px;
		transition: 0.2s;
		position: absolute;
		top: 50%;
		transform: translate(0, -50%);
		color: #092867;
    	left: 20px;
	}
	
	header .nav .custom_megamenu .column ul li a:before {
		content:none;
	}
	
	header .nav .custom_megamenu .column ul li {
		border:0;
	}
	
	header .contain_megamenu .widget_nav_menu a {
    	width: calc(100% - 20px);
	}
	
	header .contain_megamenu .widget_nav_menu div {
		display:none;
	}
	
	header .contain_megamenu .widget_nav_menu.children_active div {
		display:block;
	}
	
	header .nav .button {
		display: block;
    	margin-top: 24px;
    	margin-right: 16px;
	}
	
	header .nav .button a {
		-moz-box-shadow: none;
    	-webkit-box-shadow: none;
    	box-shadow: none;
	}
}