/* Name: Mega menu styling and functionality */	
/* CLASSES: 
on section: .od-mega-menu / .from-burger-mobile
on row:
on column:
on module: .od-main-menu-wrapper
*/

/* MEGA MENU FUNCTIONALITY */
.od-mega-menu {
}
.od-mega-menu.od-mega--top {
	display: none; 
	visibility: hidden;
	opacity: 0; 
	background-color: var(--od-mega-bg-color);
	color: var(--od-mega-font-color);
	top: -30px;
	height: 0;
	position: fixed;
	width: 100%;
	z-index: 998;
	overflow: hidden;
	transition: visibility 0.5s, opacity 0.5s ease-in-out, top 0.5s ease-in-out;	
}
.od-mega-menu.od-mega__makeBlock {
	display: block; 
}
.od-mega-menu.od-mega__open {
	visibility: visible;
	opacity: 1;
	top: 0;
	height: auto;
} 	
/*ARROW DOWN ON MEGA MENUS*/
.od-main-menu-wrapper li.menu-item.button-active:after, .od-header-buttons-wrapper .od-search.button-active:after, .od-header-buttons-wrapper .od-burger-desktop.button-active:after, .od-header-buttons-wrapper .od-burger-mobile.button-active:after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	border: solid transparent;
	border-top-width: medium;
	border-right-width: medium;
	border-bottom-width: medium;
	border-left-width: medium;
	height: 0;
	width: 0;
	pointer-events: none;
	border-width: 8px;
	margin-left: -8px;
	border-top-color: #ffffff;
}
/* MOBILE MEGA */
.od-mega-menu.od-mega--mobile.od-mega__makeBlock.od-mega__open {
	overflow-y: auto;
	height: 100vh;
	opacity: 1;
}		
.od-mega-menu.od-mega--mobile.od-mega__open {
	height: 100vh;
}	

.od-mega-menu.od-mega--bar {
	width: max-content !important;
	max-width: 900px !important;
	position: absolute !important;
	padding: 30px !important;
	border: 1px solid #cccccc;
	border-radius: 6px;
	display: none; /* Hidden by default */
	visibility: hidden; /* Ensure it's not visible */
	opacity: 0; /* Optional: If you want smooth transitions */
	color: #000000;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	background: rgba(255,255,255,0.7) !important;
	z-index: 998;
	overflow: hidden;
	transition: visibility 0.5s, opacity 0.5s ease-in-out, top 0.5s ease-in-out;	
}
.od-mega-menu.od-mega--bar .et_pb_row {
	min-width: 300px;
}
.od-mega-menu.od-mega--menuItem {
	top: calc(100% + 30px);
	left: 0;
}
.od-mega-menu.od-mega--barItem {
	top: calc(100% + 10px);
	left: auto;
	right: 0;
}
.od-mega-menu.od-mega--desktop {
	top: calc(100% + 10px);
	left: auto;
	right: 0;
}
.od-mega-menu.od-mega--desktop.od-mega--fullPage, .od-mega-menu.od-mega--mobile {
	border-radius: 0 !important;
	height: 0;
	top: 0;
	left: 0;
	opacity: 0;
	overflow-y: auto;
	padding: 240px 30px 30px 30px !important;
	position: fixed;
	transition: opacity .17s cubic-bezier(.15,0,0,1), height .3s cubic-bezier(.15,0,0,1);
  	/*transition: z-index 0s ease-out 0s;*/
  	width: 100vw !important;
	max-width: 100% !important;
	z-index: 0;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	background: rgba(255,255,255,0.7) !important;
}
.od-mega-menu.od-mega--mobile {
	padding: 120px 30px 30px 30px !important;
}
.od-mega-menu.od-mega--desktop.od-mega--fullPage.od-mega__makeBlock.od-mega__open, .od-mega-menu.od-mega--mobile.od-mega__makeBlock.od-mega__open {
	height: 100vh;
	opacity: 1;
} 
.od-mega-menu.od-mega--menuItem.od-mega__makeBlock, .od-mega-menu.od-mega--barItem.od-mega__makeBlock, .od-mega-menu.od-mega--desktop.od-mega__makeBlock, .od-mega-menu.od-mega--mobile.od-mega__makeBlock {
	display: block;
}
.od-mega-menu.od-mega--menuItem.od-mega__open, .od-mega-menu.od-mega--barItem.od-mega__open, .od-mega-menu.od-mega--desktop.od-mega__open, .od-mega-menu.od-mega--mobile.od-mega__open {
	visibility: visible; 
	opacity: 1; 
	height: auto;
} 	
/* STYLING THE MEGA MENUS */
.od-mega-menu.od-mega--top .et_pb_row {
	padding: 3.5% 0 4% 0;
} 	
.od-mega-menu.od-mega--top nav.od-menu-nav > ul {
	padding: 0 !important;
	line-height: 1.7em;
	list-style-type: none !important;
}
.od-mega-menu.od-mega--top .od-menu-nav .od-menu > li {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
}
/* Menu a-tag as block */	
.od-mega-menu.od-mega--top .od-menu-nav .od-menu > li a {
	color: var(--od-mega-font-color, #ffffff);
	text-decoration: none;
	padding: 20px 0;
	font-size: 1.125rem;
	display: block;
	font-weight: 600;
	position: relative; 
	width: 100%;
	transition: padding 0.3s ease-in-out;
}	
.od-mega-menu.od-mega--top .od-menu-nav .od-menu > li a:hover {
	padding-left: 10px;
}

.od-mega-menu.od-mega--bar .et_pb_row {
	padding: 0;
	width: 100% !important;
}
.od-mega-menu.od-mega--bar nav.od-menu-nav > ul {
	padding: 0 !important;
	line-height: 1.7em;
	list-style-type: none !important;
}
.od-mega-menu.od-mega--bar nav.od-menu-nav .od-menu > li a {
	color: #000000;
	text-decoration: none;
	padding: 14px 0;
	font-size: 1.25rem;
	display: block;
	font-weight: 500;
	position: relative;
	width: 100%;
	transition: padding 0.3s ease-in-out;
}
.od-mega-menu.od-mega--bar nav.od-menu-nav .od-menu > li a:hover {
	padding-left: 20px;
}
.od-mega-menu.od-mega--desktop.od-mega--alignCenter nav.od-menu-nav .od-menu > li a {
	text-align: center;		
}
.od-mega-menu.od-mega--desktop.od-mega--fullPage.od-mega--alignCenter nav.od-menu-nav .od-menu > li a {
	text-align: center;		
}


/* MEGA MENUS WITH FEATURE COL */
.od-mega-menu.od-mega--top .od-feature-col {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
}
/* MEGA MENUS WITH VISIBLE SUB-MENUS */
.od-mega-menu.od-mega--visibleSubs nav > ul {
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
}
.od-mega-menu.od-mega--visibleSubs nav.od-menu-nav > ul.od-menu > li {
	display: inline-block;
	width: 30.6667% !important;
	margin-right: 4%;
	border-bottom: 0px solid #999999 !important;
}
.od-mega-menu.od-mega--visibleSubs nav.od-menu-nav > ul.od-menu > li:last-child {
	margin-right: 0px;
}
.od-mega-menu.od-mega--visibleSubs .od-menu > li.menu-item-has-children > a {
	border-bottom: 1px solid #999999;
	display: flex;
	align-items: center;
}
.od-mega-menu.od-mega--visibleSubs .od-menu > li.menu-item-has-children > a:after {
	content: "\0035";
	font-family: 'ETmodules' !important;
	font-weight: normal;
	font-size: 30px;
	line-height: 1;
	color: #999999;
	position: absolute;
	right: 0px;
	top: auto;
}
/* the sub level */  
.od-mega-menu.od-mega--visibleSubs .od-menu > li ul.sub-menu {
	padding-left: 0px;
}
.od-mega-menu.od-mega--visibleSubs .od-menu > li .sub-menu li{
	padding-left: 0px;
	padding-right: 40px;
	margin-top: 0px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #999999;
	width: 100%;
}
.od-mega-menu.od-mega--visibleSubs .od-menu > li .sub-menu li a {
	padding: 15px 0 15px 0;
	font-weight: 300;
}
.od-mega-menu.od-mega--visibleSubs .od-menu > li .sub-menu li a:hover {
	padding-left: 10px !important;
}
.od-mega-menu.od-mega--visibleSubs .od-menu > li .sub-menu li:after {
	content: "\0035";
	font-family: 'ETmodules' !important;
	font-weight: normal;
	font-size: 30px;
	line-height: 1;
	color: #999999;
	position: absolute;
	right: 0px;
}
/* MENU WITH UNDERLINE */  
.od-mega-menu.od-mega--underline .od-menu-nav .od-menu > li {
	border-bottom: 1px solid #999999;
/*	position: relative;
	display: flex;
	align-items: center;
	width: 100%;*/
}
/* MENU WITH ARROW AFTER */
.od-mega-menu.od-mega--arrowAfter .od-menu-nav .od-menu > li {
	padding-right: 40px;		
}
.od-mega-menu.od-mega--arrowAfter .od-menu-nav .od-menu > li:after {
	content: "\035";
	font-family: 'ETmodules' !important;
	font-weight: normal;
	font-size: 30px;
	line-height: 1;
	color: #999999;
	position: absolute;
	right: 0px;
}
/* MENU WITH ARROW BEFORE */
.od-mega-menu.od-mega--arrowBefore .od-menu-nav .od-menu > li {
	padding-left: 40px;		
}	
.od-mega-menu.od-mega--arrowBefore .od-menu-nav .od-menu > li:before {
	content: "\035";
	font-family: 'ETmodules' !important;
   	color: #ffffff;
	position: absolute;
	left: 0;
	font-size: 30px;
	line-height: 1;
}
/* MEGA MENUS WITH COLUMNS */
.od-mega-menu.od-mega--3cols nav > ul {
	-moz-column-count: 3;
	column-count: 3;
	column-gap: 60px;
	display: block;
	margin: 0 auto;
}
.od-mega-menu.od-mega--2cols nav > ul {
	-moz-column-count: 2;
	column-count: 2;
	column-gap: 60px;
	display: block;
	margin: 0 auto;
}  	
/* MOBILE MEGA MENU */  
.od-mega-menu.od-mega--mobile .od-menu > li {
	border-bottom: 1px solid;
	border-bottom-color: rgba(0, 0, 0, 0.5); /* fallback (static white) */
	border-bottom-color: color-mix(in srgb, currentColor 60%, transparent); /* modern dynamic color */
	transition: border-color 0.5s ease-in-out;
}
.od-mega-menu.od-mega--mobile .od-menu li.menu-item-has-children.visible	{
	border-bottom-color: transparent !important;
}
.od-mega-menu.od-mega--mobile .od-menu li.menu-item-has-children a {
	border-bottom: 1px solid;
	border-bottom-color: transparent !important;
	transition: border-color 0.5s ease-in-out;
}
.od-mega-menu.od-mega--mobile .od-menu li.menu-item-has-children.visible a {
	border-bottom-color: rgba(0, 0, 0, 0.5); /* fallback (static white) */
	border-bottom-color: color-mix(in srgb, currentColor 60%, transparent); /* modern dynamic color */
}		
.od-mega-menu.od-mega--mobile .od-menu li > a:after {
	content: "\0035";
	font-family: 'ETmodules' !important;
	font-weight: normal;
	font-size: 30px;
	line-height: 1;
	color: inherit;
	position: absolute;
	right: 10px;
}	
.od-mega-menu.od-mega--mobile .od-menu .menu-item-has-children > a:after { 
	content: '\4c';
}  
.od-mega-menu.od-mega--mobile .od-menu .menu-item-has-children.visible > a:after { 
  content: '\4d';  
} 	
/* MOBILE MEGA MENU – SUB MENUS */
.od-mega-menu.od-mega--mobile .od-menu ul.sub-menu { 
	display: block;
	width: 100%;
	overflow: hidden;
	padding: 0 0 0 20px;
	max-height: 0;
	opacity: 0;
	visibility: hidden;
	list-style: none;
	transition: padding 0.5s ease-in-out, max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.od-mega-menu.od-mega--mobile .od-menu .visible > ul.sub-menu { 
	padding-bottom: 20px;
	max-height: 300px; 
	opacity: 1;
	visibility: visible;
}
.od-mega-menu.od-mega--mobile .od-menu li > ul.sub-menu a { 
	font-weight: 400;
}	
.od-mega-menu.od-mega--mobile .od-menu ul.sub-menu li:last-child {
	border-bottom-color: rgba(0, 0, 0, 0.5); /* fallback (static white) */
	border-bottom-color: color-mix(in srgb, currentColor 60%, transparent); /* modern dynamic color */
}		