/*==================================================
  header
==================================================*/
.header-top {
	background: #400099;
}
.header-top .container {
	grid-template-columns: 1fr 1fr minmax(330px, 1fr);
	align-items: end;
	color: white;
	min-height: 87px;
}
.header-top__item.centerr_logo img{
	width:170px;
}
.header-top__item:nth-child(1) {
	font-size: 15px;
	line-height: 16px;
	padding-bottom: 15px;
}
.header-top__item:nth-child(2) {
	margin: 0 auto 15px;
}
.header-top__item:nth-child(3) {
	justify-self: right;
}
.header-top__item a:hover {
	opacity: 1;
}
.header-top__item button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 160px;
	height: 50px;
	font-size: 15px;
	line-height: 16px;
	color: white;
	background: #310075;
	border: none;
}
.header-bottom {
    background: white;
    padding: 20px 0;
}
.header-bottom .grid-3-col {
	min-height: 52px;
	align-items: center;
	grid-column-gap: 20px;
	transition: .3s all linear;
}
.header__menu {
	grid-column: span 2;
}
.header__menu-list {
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 0;
}
.header-bottom__info a {
    color: #212544;
}

.header-bottom__info a:hover {
    color: #310075;
}
.header__menu-list > li > a {
	font-size: 15px;
	line-height: 16px;
	color: #848383;
	padding: 17px 0;
}

.header__menu-list > li:hover > a {
	color: black;
}
.header__menu-list .sub-menu a:hover {
	color: black;
}
.header__menu-list .sub-menu a {
	color: #848383;
	font-size: 15px;
	line-height: 34px;
}
.header__menu-list > li:last-child .sub-menu li:last-child > a {
	line-height: initial;
}
.header__menu-list .sub-menu li:last-child > a {
	line-height: 24px;
cursor: pointer;
}
.header__menu-list .sub-menu a:hover {
	color: inherit;
}
.header__menu-item:not(:last-child) {
	margin-right: 10px;
}
.header__menu-link:hover {
	color: #400099;
}
.header-bottom__info {
    font-size: 14px;
    line-height: 16px;
    display: flex;
    align-items: center;
    justify-content: right;
}
.header-bottom__info img,
.header-bottom__info p {
	display: inline-block;
}
.header-bottom__info img {
	padding: 0 10px;
	cursor: pointer;
}
.header-bottom__info .searchform {
    width: 0;
    transition: none;
    overflow: hidden;
    height: 19px;
    word-break: keep-all;
    text-align: justify;
    position: absolute;
    bottom: 7px;
    margin-bottom: 0;
}
.header-bottom__info .searchinput {
	width: 230px;
}
.header-bottom__info .searchform.active {
    width: 320px;
    z-index: 2;
    background-color: #ffffff;
    padding: 10px;
    height: 50px;
}
.header-bottom__info .searchform.active .searchinput {
	background: transparent;
	border: none;
	border-bottom: 1px solid #b2b2b3;
	width: 100%;
}
.header-bottom__info .searchform.active .searchsubmit {
	width: 18px;
	height: 18px;
	display: inline-flex;
	font-size: 12px;
	color: transparent;
	border: none;
}
.header-bottom__info p {
	width:480px;
	transition: none;
	overflow: hidden;
	height: 1.2em;
	word-break: keep-all;
	text-align: justify;
	text-align: right;
}
.header-bottom__info p.active {
	width: 0;
}
/*main menu*/
ul.header__menu-list li.menu-item-has-children {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	/*margin-right: 55px;*/
	margin-right: 10px;
	padding: 0 10px;
	/*padding: 0 20px;*/
}

ul.header__menu-list li{
	margin-right: 15px;
	/*padding: 0 20px;*/
	/*padding: 0 18px;*/
	padding: 0 10px;
}
ul.header__menu-list li{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
    padding: 0 10px;
}
ul.header__menu-list li:hover {
    border-bottom: 1px solid #310075;
}
ul.header__menu-list>li>ul.sub-menu li a {
    padding: 10px 30px !important;
}
ul.header__menu-list>li>ul.sub-menu li {
    margin: 0 !important;
}
ul.header__menu-list>li>ul.sub-menu li:hover {
    background: #400099;
    color: #fff;
}

ul.header__menu-list ul.sub-menu {
    padding: 0;
}
ul.header__menu-list ul.sub-menu {
	display: none;
	position: absolute;
	text-align: center;
	top: 51px;
	padding-top: 15px;
	padding-bottom: 15px;
	background: white;
	font-size: 14px;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
	border-radius: 2px;
	z-index: 9999;
	
}
ul.header__menu-list li.menu-item-has-children:hover {
	border-bottom: 1px solid #310075;
}
ul.header__menu-list li.menu-item-has-children:hover ul.sub-menu {
	display: block;
}
ul.header__menu-list > li > ul.sub-menu li {
	padding: 7px 60px;
	line-height: 18px;
}
.header__menu-list > li:last-child .sub-menu li:last-child > a {
    line-height: initial;
}
/*header mobile__menu*/
.mobile__menu {
	display: block;
	position: /*fixed*/absolute;
	content: "";
	width: 50px;
	height: 36px;
	top: 30px;
	right: 40px;
	cursor: pointer;
	z-index: 999999;
}
.mobile__menu-line {
	display: block;
	position: relative;
	width: 50px;
	height: 6px;
	background-color: white;
	border-radius: 2px;
	top: 15px;
	right: 0;
	box-shadow: 0 0 5px black;
}
.mobile__menu-line:before {
	position: absolute;
	content: "";
	width: 50px;
	height: 6px;
	background-color: white;
	border-radius: 2px;
	top: -15px;
	left: 0;
	box-shadow: 0 0 5px black;
}
.mobile__menu-line:after {
	position: absolute;
	content: "";
	width: 50px;
	height: 6px;
	background-color: white;
	border-radius: 2px;
	bottom: -15px;
	left: 0;
	box-shadow: 0 0 5px black;
}
/*====================//====================*/
@media all and (max-width: 991px) {
	ul.header__menu-list ul.sub-menu {
		position: relative;
		top: 15px !important;
	}
	.header-top .container {
		grid-template-columns: 1fr;
	}
	.header-top__item:nth-child(2) {
		margin: 0 0 15px 25px;
	}
	/*home mobile__menu*/
	.header-top__item:nth-child(1),
	.header-top__item:nth-child(3),
	.header__menu,
	.header-bottom__search,
	.header-bottom__info {
		display: none;
	}
	.header-bottom {
		height: 0;
		padding: 0
	}
	body.active {
		overflow-y: hidden;
	}
	.header__menu.active {
		display: block;
	}
	.header__menu.active {
		position: fixed;
		width: 100vw;
		height: 100vh;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background: rgba(64, 0, 153, 0.99);
		z-index: 1;
	}
	.header__menu.active .header__menu-list {
		width: 100%;
		height: 100%;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.header__menu.active .header__menu-list li {
		width: calc(100% - 30px);
		padding: 7px 15px;
		position: relative;
		z-index: 99999;
	}
	.header__menu.active .header__menu-list li:not(:last-child) {
		margin-right: 0;
		margin-bottom: 40px;
		display: block;
		text-align: center;
	}
	.header__menu.active .header__menu-list li:last-child {
		margin-right: 0;
	}
	.header__menu.active .header__menu-list li a {
		font-size: 40px;
		color: white;
		padding: 0;
	}
	.header__menu .header__menu-list .sub-menu {
		display: none !important;
		width: 100%;
		top: calc(50% - 100px);
	}
	.header__menu .header__menu-list .sub-menu.active {
		display: block !important;
	}
	.header__menu.active .header__menu-list .sub-menu li:not(:last-child) {
		margin-bottom: 0;
	}
	.header__menu.active .header__menu-list .sub-menu a {
		display: block;
		font-size: 20px;
		color: rgba(64, 0, 153, 0.99);
	}
	body.admin-bar .mobile__menu {
		top: 60px;
	}
	.mobile__menu {
		display: block !important;
	}
	.mobile__menu.active .mobile__menu-line {
		background-color: transparent;
		box-shadow: none;
	}
	.mobile__menu.active .mobile__menu-line:before {
		transform: rotate(-45deg);
		top: 0;
		transition: 0.2s transform;
	}
	.mobile__menu.active .mobile__menu-line:after {
		transform: rotate(45deg);
		bottom: 0;
		transition: 0.2s transform;
	}
	#menumobilee img {
    width: 150px;
}
}
/*====================//====================*/
@media all and (max-width: 991px) and (orientation: landscape) {
	.header__menu.active .header__menu-list li:not(:last-child) {
		margin-bottom: 5px;
	}
	.header__menu.active .header__menu-list .sub-menu li:not(:last-child) {
		margin-bottom: 0;
	}
}
/*====================//====================*/
@media (max-width: 782px) {
	body.admin-bar .mobile__menu {
		top: 75px;
	}
}


