/* DESKTOP MENU */

.header__menu {
	display: none;
}

.header__menu--active {
	display: block;
}

@media (max-width: 1024px) {
	.header__menu, .header__menu--active {
		display: none !important;
	}
}

.header__menu > ul {
	display: flex;
	gap: 24px;
}

.header__menu > ul > li {
	position: relative;
}

.header__menu > ul > li.menu-item-has-children {
	display: flex;
}

.header__menu > ul > li > a {
	color: #FFFFFF;
	display: flex;
	gap: 5px;
	line-height: 1;
	position: relative;
}

.header__menu > ul > li.menu-item-has-children > a {
	padding-right: 16px;
	position: relative;
}

.header__menu > ul > li.menu-item-has-children > a:after {
    border-bottom: 2px solid #6B7280;
    border-right: 2px solid #6B7280;
    content: '';
    display: block;
    height: 6px;
    position: absolute;
    right: 0;
    top: 3px;
    transform: rotate(45deg);
    width: 6px;
}

.header__menu > ul > li.menu-item-has-children > .menu-arrow {
	display: none;
}

.header__menu > ul > li > .sub-menu-container {
	display: none;
	left: 0;
	padding-top: 40px;
	position: absolute;
	top: calc(100% - 5px);
	z-index: 5;
}

.header__menu > ul > li.open > .sub-menu-container {
	display: block;
}

.sub-menu-box {
    background-color: #dc0100;
	/* @apply bg-primary; */
	border-radius: 8px;
	box-shadow: 0px 4px 22.7px 0px rgba(0, 0, 0, 0.25);
	display: grid;
	grid-template-columns: 53px auto;
	position: relative;
}

.sub-menu-title {
	position: relative;
}

.sub-menu-title > span {
	color: #fff;
	display: block;
	font-size: 16px;
	line-height: 1;
	position: absolute;
	right: 17px;
	top: 4px;
	transform: rotate(-90deg);
	transform-origin: 100% 100%;
	text-transform: uppercase;
	white-space: nowrap;
}

.sub-menu-close {
	cursor: pointer;
	height: 20px;
	position: absolute;
	right: 15px;
	top: 15px;
	width: 20px;
}

.sub-menu-close::before, .sub-menu-close::after {
	background-color: #000;
	content: '';
	display: block;
	height: 2px;
	left: 50%;
	position: absolute;
	top: 50%;
	width: 100%;
}

.sub-menu-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.sub-menu-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.sub-menu-row {
	background-color: #fff;
	border-radius: 0 8px 8px 0;
	padding: 50px;
	width: 100%;
}

.sub-menu-row--active {
	display: grid;
	grid-gap: 40px;
	grid-template-columns: repeat(2, 1fr);
}

.sub-menu-row > .sub-menu {
	width: 280px;
}

.sub-menu-row > .sub-menu > li {
}

.sub-menu-row > .sub-menu > li > a {
	border-bottom: 1px solid rgba(0 0 0 / 10%) !important;
	color: #111;
	display: block;
	font-size: 16px;
	line-height: 1.25;
	padding: 16px 0;
	transition: none;
}

.sub-menu-row > .sub-menu > li > a:hover, .sub-menu-row > .sub-menu > li.active > a {
    border-color: #0d4a81 !important;
	/* @apply border-primary !important; */
	font-weight: 600;
}

.sub-menu-row > .sub-menu > li.menu-item-has-children > a {
	background-image: url(../../images/icon-chevron-right.svg);
	background-position: 100% 50%;
	background-repeat: no-repeat;
}

.sub-menu-row > .sub-menu > li > .sub-menu {
	display: none;
}

/**/

.sub-menu-row > .sub-menu-area {
	display: none;
	width: 280px;
}

.sub-menu-row--active > .sub-menu-area {
	display: block;
}

.sub-menu-row > .sub-menu-area > ul > li {
}

.sub-menu-row > .sub-menu-area > ul > li > span {
	color: rgb(0 0 0 / 0.7);
	display: block;
	font-size: 12px;
	line-height: 1;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.sub-menu-row > .sub-menu-area > ul > li > a {
	border-bottom: 1px solid rgba(0 0 0 / 10%) !important;
	color: #111;
	display: block;
	font-size: 16px;
	line-height: 1.25;
	padding: 16px 0;
}

.sub-menu-row > .sub-menu-area > ul > li > a:hover {
	border-bottom: 1px solid #dc0100 !important;
	/* @apply border-primary !important; */
	font-weight: 600;
}

/* MOBILE MENU */

.mobilebox {
    background-color: #0C0C0E;
	/* @apply bg-primary; */
	display: flex;
	flex-direction: column;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}

.mobilebox--active {
	display: flex;
}

@media (min-width: 1024px) {
	.mobilebox, .mobilebox--active {
		display: none !important;
	}
}

.mobilebox__close {
	cursor: pointer;
	height: 24px;
	position: absolute;
	right: 24px;
	top: 24px;
	width: 24px;
}

.mobilebox__close::before, .mobilebox__close::after {
	background-color: #fff;
	content: '';
	display: block;
	height: 2px;
	left: 50%;
	position: absolute;
	top: 50%;
	width: 100%;
}

.mobilebox__close::before {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.mobilebox__close::after {
	transform: translate(-50%, -50%) rotate(45deg);
}

.mobilebox__menu {
	padding-top: 100px;
}

.mobilebox__menu ul {
	padding: 0 24px;
	position: relative;
}

.mobilebox__menu ul > li {
}

.mobilebox__menu ul.active > li {
	display: none;
}

.mobilebox__menu ul.active > li.active {
	display: block;
}

.mobilebox__menu ul > li > a {
	border-bottom: 1px solid rgba(255 255 255 / 10%) !important;
    color: #fff;
    display: block;
    line-height: 1.25;
    padding: 15px 0;
    transition: none;
}

.mobilebox__menu ul > li > a:hover{
	border-bottom: 1px solid rgba(255 255 255 / 10%) !important;
}

.mobilebox__menu ul > li.menu-item-has-children > a {
	display: flex;
	justify-content: space-between;
}

.mobilebox__menu ul.active > li.active > a {
	display: none;
}

.mobilebox__menu ul > li.menu-item-has-children > a svg {
	fill: #fff;
}

.mobilebox__menu ul > li > .sub-menu {
    left: 0;
	position: absolute;
	top: 0;
    transform: translateX(100%);
    transition: all .4s;
	width: 100%;
	z-index: 1;
}

.mobilebox__menu ul.active > li.active > .sub-menu {
    transform: translateX(0);
}

.mobilebox__menu .sub-menu > li.arrow {
}

.mobilebox__menu .sub-menu > li.arrow > span {
	align-items: center;
	cursor: pointer;
	display: flex;
	height: 40px;
	width: 40px;
}

.mobilebox__menu .sub-menu > li.arrow > span svg {
	color: #fff;
	display: block;
	transform: rotate(180deg);
}

/**/

.mobilebox__button {
	margin-top: auto;
	padding: 0 24px 24px;
}

.mobilebox__button a {
    color: #fff;
	/* @apply text-primary; */
	align-items: center;
	background-color: #dc0100;
	border-radius: 8px;
	display: flex;
	font-size: 16px;
	gap: 10px;
	justify-content: center;
	line-height: 1;
	padding: 12px 24px;
}
