/*******************
	MOBILE MENU
*******************/


.morphing-button {
	display: inline-block;
	padding: 0.5em;
	text-transform: uppercase;
	font-weight: 700;
}
.morphing-button span {
	position: relative;
	top: -2px;
	display: inline-block;
	width: 1.25em;
	height: 0;
	margin-left: 0.5em;
	vertical-align: middle;
	border-bottom: #fff 2px solid;
	transition: 0.1s;
}
	.mobile-menu .morphing-button span {
		border-color: var(--blue);
	}
.morphing-button span::before {
	content: '';
	position: absolute;
	top: -5px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #fff;
	transition: 0.3s;
}
.morphing-button span::after {
	content: '';
	position: absolute;
	top: 5px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #fff;
	transition: 0.3s;
}
	.mobile-menu .morphing-button span::before,
	.mobile-menu .morphing-button span::after {
		background-color: var(--orange);
	}
.morphing-button.active span {
	top: -1px;
	border-color: transparent;
}
.morphing-button.active span:before {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}
.morphing-button.active span:after {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
}


.mobile-menu {
	z-index: 999;
	position: fixed;
	top: 0;
	right: -40em;
	width: 25em;
	max-width: 70%;
	height: 100%;
	max-height: 100%;
	overflow-y: hidden;
	    background: rgb(243,112,73); /* Old browsers */
	    background: -moz-linear-gradient(-45deg,  rgba(243,112,73,1) 0%, rgba(237,0,137,1) 100%); /* FF3.6-15 */
	    background: -webkit-linear-gradient(-45deg,  rgba(243,112,73,1) 0%,rgba(237,0,137,1) 100%); /* Chrome10-25,Safari5.1-6 */
	    background: linear-gradient(135deg,  rgba(243,112,73,1) 0%,rgba(237,0,137,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f37049', endColorstr='#ed0089',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

	color: #fff;
	box-shadow: var(--lightBoxShadow);
	font-size: 0.89em;
	text-align: left;
	transition: 0.3s;
}
	.mobile-menu:hover {
		max-height: 4000%;
		overflow-y: auto;
	}
	.w-mobile-menu .mobile-menu {
		right: 0;
	}

.mobile-menu > nav { max-width: 23.5em; margin-left: 0; }
.mobile-menu > nav > ul { list-style-type: none; line-height: 1.4em; font-size: 1.5em; text-transform: uppercase;}
.mobile-menu > nav > ul > li { position: relative; }
.mobile-menu > nav > ul > li.has-sub-menu.active { padding-bottom: 0.25em; }
.mobile-menu > nav > ul > li:not(:last-child) { margin-bottom: 1em; }
.mobile-menu > nav > ul > li > ul { display: none; margin: 0.5em 0 0.5em 2em; }
.mobile-menu > nav > ul > li.active > ul { display: block; }
.mobile-menu > nav > ul > li > ul > li:not(:last-child) { margin-bottom: 0.25em; }

.mobile-menu a:hover { text-decoration: underline; }

.mobile-menu > nav > ul > li.current-menu-item::after {
	content: '';
	position: absolute;
	top: 0;
	left: -2em;
	width: 0.5em;
	height: 100%;
	background: var(--yellow);
}
.mobile-menu > nav > ul > li.has-sub-menu {
	padding-right: 2em;
}

.mobile-menu .logo {
	font-size: var(--fontSize);
	position: relative;
	padding: 0.86em 1.5em 0.65em 1.5em;
	box-shadow: var(--lightBoxShadow);
	text-align: left;
	background: #fff;
	color: var(--blue);
}
.mobile-menu .logo img { width: 10em; margin: auto; }
/*.mobile-menu .contacts-nav {
	width: calc(100% + 3em);
	padding: 0 2em 1.5em 2em;
	background-color: var(--yellow);
	color: #fff;
}
.mobile-menu .contacts-nav a:hover { color: #fff; text-decoration: underline; }*/

.mobile-menu .mobile-nav {
	padding: 2em 1em 2em 2em;
}

.mobile-menu .hamburger {
	position: absolute;
	top: 50%;
	left: 18em;
	transform: translateY(-50%);
}


.mobile-menu .wpml-ls {
	padding: 0;
	font-size: 1.5em;
	margin-top: 1em;
}
.mobile-menu .wpml-ls li {
	margin-right: 1em;
}
.mobile-menu .wpml-ls li a {
	padding: 0;
}

body .mobile-menu-overlay {
	z-index: 998;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	display: none;
}
body.w-mobile-menu .mobile-menu-overlay {
	display: block;
}

