/****************************
    HORIZONTAL MENU
****************************/
ul.navigation{
    display: flex;
    flex-wrap: wrap;
}
ul.navigation{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.navigation > li{
    position: relative;
    z-index: 1;  
}
ul.navigation > li > a {
    --menu-padding-inline: 12px; 
	padding: 26px var(--menu-padding-inline);
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 300;
	text-transform: uppercase;
	font-size: 1.2rem;
	color: var(--secondary);
	line-height: 1;
}
ul.navigation > li:first-child > a {
    color: var(--secondary) !important;
}
ul.navigation > li:not(:last-child) {
    margin-right: 1px;
} 
ul.navigation > li:first-child > a {
    padding-left: 0;
}
ul.navigation > li:last-child > a {
    padding-right: 0;
}
ul.navigation > li.active > a,
ul.navigation > li.current-menu-item > a,
ul.navigation > li:hover > a{
    color: var(--accent);
}

ul.navigation > li > a::before{
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    z-index: -1;
    width: 0;
    margin: 0 auto;
    background-color: var(--accent);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

ul.navigation > li:hover > a::before,
ul.navigation > li.active > a::before,
ul.navigation > li.current-menu-item > a::before,
ul.navigation > li > a.active::before,
ul.navigation > li > a.current-menu-item::before {
    width: 100%;
}
ul.navigation > li:has(> ul) > a::after,
ul.navigation ul li:has(> ul) > a::after {
	content: "\f0d7";
	font-family: 'Font Awesome 6 Pro';
	font-size: 1rem;
	position: relative;
	bottom: 2px;
	left: 5px;
    font-weight: 900;
}
ul.navigation > li:has(> ul):hover > a::after {
    content: "\f0d8";
}
ul.navigation ul > li:has(> ul) > a::after {
    content: "\f105";
}
ul.navigation > li.nav-button > a::before {
	inset: 0;
	height: auto;
	width: auto;
	aspect-ratio: 1;
	margin: auto;
	border-radius: 2px;
}
ul.navigation > li.nav-button > a {
    padding-right: var(--menu-padding-inline);
    color: var(--secondary);
}

/****************************
    VERTICAL DROPDOWN
****************************/
ul.navigation li > ul{
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    white-space: nowrap;
    background-color: #fff;
    z-index: 10;
    display: none;  
    padding: 0;
    margin: 0;
}
ul.navigation li:hover > ul{
    display: block;
}
ul.navigation.drop-shadow li > ul{
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.3);
}
ul.navigation > li > ul li{
    position: relative;
}
ul.navigation li > ul > li > a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    text-decoration: none;
    min-height: var(--menu-item-min-height);
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 400;
}
ul.navigation li > ul > li:first-child > a{
    margin-top: 10px;
}
ul.navigation li > ul > li:last-child > a{
    margin-bottom: 15px;
}
ul.navigation li > ul > li:hover > a,
ul.navigation li > ul > li > a.active,
ul.navigation li > ul > li > a.current-menu-item,
ul.navigation li > ul > li.active > a,
ul.navigation li > ul > li.current-menu-item > a {
    color: var(--accent);
}
ul.navigation li > ul > li.active > a,
ul.navigation li > ul > li.current-menu-item > a,
ul.navigation li > ul > li > a.active,
ul.navigation li > ul > li > a.current-menu-item {
    font-weight: bold;
}
ul.navigation > li > ul a{
    opacity: 0;
    height: 0;
    min-height: 0;
    -webkit-animation: drop_bounce 0.5s forwards ease-in-out;
    animation: drop_bounce 0.5s forwards ease-in-out;
}
@keyframes drop_bounce {
    0% { opacity: 0; min-height: 0;}
    50% { opacity: 1; min-height: var(--menu-item-min-expand-height);}
    100% { opacity: 1; min-height: var(--menu-item-min-height);}
}
ul.navigation > li > ul ul{
    top: 0;
    left: 100%;
}
ul.navigation > li:last-child > ul ul{
    left: auto;
    right: 100%;
}


/******************************
    MOBILE NAV
******************************/
.nav-mobile-toggler {
	display: none;
	justify-content: space-between;
	align-items: center;
}
.nav-mobile-title {
	font-size: 14px;
	margin: 0;
	font-weight: 600;
}
.nav-box-mobile{
    position: fixed;
    width: 250px;
    height: 100%;
    left: -400px;
    top: 0;
    background-color: #FFF;
    z-index: 15;
    box-shadow: 0 0 60px 0 rgba(0,0,0,0.7);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.nav-backdrop{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 14;
    display: none;
}
.menu-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	background-color: transparent;
	border: none;
	z-index: 2;
    opacity: 0.5;
}
.menu-close:hover{
    opacity: 1;
}
.menu-close:active{
    top: 1px;
}
.logo-mobile {
	width: 160px;
    height: 45px;
    display: block;
    margin: 20px auto;
    text-align: center;
}
.logo-mobile img{
    max-width: 100%;
    max-height: 100%;
}
.nav-menu-small,
.nav-menu-small ul{
    list-style-type: none;
    margin: 0;
    padding: 0;    
}
.nav-menu-small{
    border-top: 1px solid #f5f5f5;
    padding-top: 10px;
}
.nav-menu-small li a{
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
    font-size: 14px;
    color: var(--textColor);
    font-weight: bold;
    text-decoration: none;
}
.nav-menu-small li a > i{
    margin-top: 2px;
}
.nav-menu-small ul{
    padding-left: 15px;
    display: none;
}
.nav-menu-small > li > ul{
    background-color: #f5f5f5;
}
.action-group-m {
	display: flex;
	justify-content: center;
	border-top: 1px solid #f5f5f5;
	padding: 20px;
	margin-top: 10px;
}
.action-group-m .button-nav{
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.menu-mobile-open {
	border: none;
	background-color: transparent;
	display: none;
	font-size: 21px;
	padding-right: 0;
	padding-left: 20px;
    color: var(--textDarkColor);
}
.action-group-m > .menu-mobile-open{
    display: none;
}

ul.navigation > li > a {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

/******************************
    END MOBILE NAV
******************************/