﻿/*
Theme Name: levante
Theme URI: *
Author: Cyd Stumpel
Description: Custom-built theme for wordpress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:

This theme is custom built by Cyd Stumpel
*/

.header__item {
	position: relative;
}
.levante-mega-menu-bg {
	width: 100%;
	height: 100%;
	background-color: #00000045;
	position: fixed;
	left: 0;
	opacity: 0;
	pointer-events: none;
	transition: all .5s;
}

.levante-mega-menu {
	position: fixed;
	max-width: 1360px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
	border-radius: 20px;
	overflow: hidden;
	background-color: #ec6643;
	z-index: 9;
}
.mega-menu-left h3{
	font-size: 48px;
}
.mega-menu-left p{
	font-size: 18px;
}

.levante-mega-menu a {
	text-decoration: none;
	font-size: 24px;
	font-weight: 900;
}
.levante-mega-menu a:hover{
	text-decoration: underline;
}
.header__text svg {
	position: relative;
	top: 3px;
}

.has-mega-menu .header__link {
	display: flex;
	align-items: center;
	gap: 7px;
}

.header__link svg {
	top: 2px;
	position: relative;
}

.header__link svg path {
	fill: #ec6643;
}


.mega-menu-footer-link .icon svg {
	top: -2px;
	right: 0px;
	position: relative;
	fill: #000;
}

.mega-menu-wrap {
	display: flex;
}

.mega-menu-col {
	width: 35%;
	padding: 35px;
	min-height: 372px;
}

.mega-menu-left {
	background-color: #FFF;
	width: 25%;
}


.mega-menu-center {
	background-color: #FFF;
	border-radius: 0 20px 20px 0;
	width: 40%;
	position: relative;
}

.levante-sub-menu {
	width: 100%;
}
.levante-sub-menu ul {
	list-style: none;
}

.levante-sub-menu>.menu {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.levante-sub-menu .sub-menu {
	display: none;
	position: absolute;
	max-width: 240px;
	padding: 0;
	top: 0;
	right: 0;
	height: 100%;
	min-width: 200px;
}
.sub-menu > li >a {
	font-weight: 400;
	font-size: 18px;
}
.levante-sub-menu .menu-item-has-children > a {
	display: flex;
	align-items: center;
	gap: 5px;
}
.levante-sub-menu .menu-item-has-children > a::after {
	content: '';
	display: block;
	height: 15px;
	width: 15px;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="15" height="15"><g id="_01_align_center" data-name="01 align center" fill="%23ec6643"><path d="M7.412,24,6,22.588l9.881-9.881a1,1,0,0,0,0-1.414L6.017,1.431,7.431.017l9.862,9.862a3,3,0,0,1,0,4.242Z"/></g></svg>');
}

.mega-menu-footer-text,
.mega-menu-footer-link {
	color: #FFF;
}
.mega-menu-footer-text {
	font-weight: 700;
}
.mega-menu-footer-link {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px !important;
	font-weight: 600 !important;
}

.mega-menu-footer-link .icon {
	background-color: #ffdb33;
	border-radius: 25px;
	padding: 5px;
	height: 25px;
	width: 25px;
}
.mega-menu-footer-link:hover .icon {
	/* background: linear-gradient(to left, red 50%, #ffdb33 50%) right; */
	background-size: 200% 100%;
	transition: all 2s ease;
	transform: translateZ(10px);
	transition: transform .2s ease-out;
	background: #313131;
	/* transform: translateZ(10px); */
}
.mega-menu-footer-link:hover .icon svg {
	fill:#fff;
}

.mega-menu-right img {
	width:100%;
	border-radius: 12px;
}

.mega-menu-top-bar{
	cursor: pointer;
}
#breadcrumbs {
	z-index: 1;
	position: relative;
}
#breadcrumbs .arrow {
	position: relative;
	display: inline-block;
	height: 13px;
	width: 13px;
	padding: 0;
	margin: 0 5px;
}
#breadcrumbs .arrow::before{
	content: '';
	display: inline-block;
	position: absolute;
	top: 2px;
	height: 13px;
	width: 13px;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="13" height="13"><g id="_01_align_center" data-name="01 align center" fill="%23f59b24"><path d="M7.412,24,6,22.588l9.881-9.881a1,1,0,0,0,0-1.414L6.017,1.431,7.431.017l9.862,9.862a3,3,0,0,1,0,4.242Z"/></g></svg>');
}
@media (min-width: 1025px) {
	.header__list {
		gap: 0;
	}
	.header__list .header__text-container  {
		padding: 0 12px;
	}
	#breadcrumbs span>a, .breadcrumb_last {
		text-decoration: none;
	}

	.levante-mega-menu {
		min-height: 372px;
	}

	.header__item.has-mega-menu:hover .levante-mega-menu,
	.header__item.has-mega-menu:hover .levante-mega-menu-bg{
		opacity: 1;
	}

	.header__item.has-mega-menu:hover .levante-mega-menu {
		pointer-events: all;
	}

	.header__item:hover .has-mega-menu > a{
		color: var(--color)
	}

	.header__list .is-active,
	.header__list .menu-active{
		background: transparent!important;
		color: #ec6643!important;
	}
	.levante-sub-mega-menu .current-menu-item a,
	.levante-sub-menu .current-menu-parent.menu-item-has-children > a,
	.levante-sub-mega-menu a:hover  {
		color: #ec6643;
	}
	.levante-sub-mega-menu a:hover  {
		text-decoration: underline;
	}

	/* .header__link.is-active, .header__link:hover {
    	color: #ec6643;
    	background: transparent;
	} */
	.header__item:hover .has-mega-menu .header__link{
		background: #efefef;
		border-radius: .5rem;
	}
	.mega-menu-footer-link.is-active > span {
		color:  #ffffff;
	}

	.levante-sub-menu .menu-item-has-children:hover .sub-menu {
		display: flex;
		flex-direction: column;
		gap: 20px;
		padding: 35px 0;
	}
	.levante-mega-menu {
		pointer-events: none;
		opacity: 0;
		transition: all .5s;
	}
	.levante-mega-menu {
		width: 100%;
		left: 50%;
		transform: translate(-50%, 0);
		bottom: auto;
	}
	.has-background .levante-mega-menu{
		margin-top: 0;
	}
	.mb-menu-title {
		display: none;
	}
	.menu-item {
		position: initial;
	}
	.header__item:hover .header__link svg {
		top: 2px;
		transform: rotate(180deg);
	}
	.levante-mega-menu-wrap {
		position: absolute;
		width: 100%;
	}
	.has-mega-menu .header__text-container:hover + .levante-mega-menu-wrap,
	.levante-mega-menu-wrap:hover {
		padding-top: 18px;
		height: 50px;
	}

	.levante-mega-menu,
	.levante-mega-menu-bg {
		top: 77px;
	}

}
@media (max-width: 1024px) {
	.medium-body {
		flex-wrap: wrap !important;
	}
	.header__list {
		gap: 10px;
		padding: 80px 30px;
	}
	.mega-menu-col {
		padding: 80px 30px;
	}
	.header__link {
		padding: 0;
	}
	.header__link.is-active{
		color: #ec6643;
		background: transparent;
	}
	.header__link:hover{
		background: transparent;
	}
	.levante-mega-menu .mega-menu-left,
	.levante-mega-menu .mega-menu-right {
		display: none;
	}
	.header__item {
		font-size: 28px;
		font-weight: 600;
		padding: 0;
	}
	.medium-body{
		flex-wrap: nowrap;
	}

	.levante-mega-menu.has-img-box .mega-menu-col {
		width: 100%;
	}

	.levante-sub-menu .menu-item-has-children.open .sub-menu {
		position: relative;
	}

	.has-mega-menu .levante-mega-menu ,
	.has-mega-menu .levante-mega-menu  .mega-menu-wrap{
		height: 100%;
	}

	.has-mega-menu .levante-mega-menu {
		top: 0;
		width: 0px;
		transition: width .7s;
		right: 0;
	}

	.mega-menu-center,
	.levante-mega-menu{
		border-radius: 0;
	}
	.has-mega-menu.open .levante-mega-menu {
		width: 100%;
	}


	.levante-sub-menu .menu-item-has-children.open .sub-menu {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		gap: 20px;
	}
	.levante-sub-menu ul {
		list-style: none;
		gap: 10px;
		display: flex;
		flex-direction: column;
		margin-top: 30px;
		padding-left: 0;
	}
	.menu-item > a{
		font-size: 28px;
		font-weight: 600;
	}
	.levante-sub-menu .menu-item-has-children.open .sub-menu > a {
		font-size: 20px;
		font-weight: 500;
	}

	.menu-item-has-children.open > a {
		color: #ec6643;
	}

	.menu-item-has-children > a:after {
		display: inline-block;
		transform: rotate(90deg);
		position: relative;
		top: 3px;
		margin-left: 5px;
	}
	.menu-item-has-children.open > a:after {
		transform: rotate(-90deg);
	}

	.is-active.open .header__top{
		display: flex;
	}
	.mega-menu-wrap {
		min-width: 300px;
	}
	.header__link svg {
		transform: rotate(270deg);
		height: 13px;
		width: 13px;
	}
	.header__list > li:last-child {
		position: fixed;
		width: calc(100% - 60px);
		bottom: 30px;
		z-index: 9;
	}
	.levante-sub-menu .menu-item-has-children.open .sub-menu {
		margin: 0;
		gap: 0px;
	}
	.header.has-border .header__inner {
		padding: 0;
	}
	.header.has-border .header__inner .header__top{
		padding: .75rem var(--padding-side);
		border-bottom: 1px solid #dadada;
	}


}

/* breadcrumbs */
#breadcrumbs span>a,.breadcrumb_last{font-size:16px;font-weight:600}#breadcrumbs{margin:20px auto!important;padding:0 var(--padding-side);max-width:var(--max-width)}.breadcrumb_last{color:#727272}.homepage-header{margin-top:-60px}.home .homepage-header{margin-top:0}.arrow{color: #ec6643;font-weight: 600;padding: 0 5px;}@media only screen and (min-width:0px)and (max-width:750px){.homepage-header{margin-top:0}#breadcrumbs{margin-bottom:0!important}}