/* navigation */
nav#nav {box-shadow:0 0 10px rgb(0 0 0 / 0.1);}
.topnav {overflow: hidden;background-color: white;}
.topnav > .container {display: flex;justify-content: space-between;width:100%;}
.topnav .site-logo {max-width: 300px;padding: 12px 0 5px;}
.topnav .site-logo a {padding: 10px;}
.topnav .site-logo img {width:100%;object-fit:contain;}
.topnav a {display: block;color: var(--fontcolor);text-align: left;padding: 14px 16px;text-decoration: none;font-size: var(--regular);}
.topnav .wpml-ls-item a {padding:14px 8px;}
.topnav a:hover {color: var(--subColor);}
.topnav a.active {background-color: var(--subColor);color: white;}
.topnav .icon {display: none;}
.topnav .current-menu-item :not(.sub-menu) a {color:var(--subColor);}
.topnav .sub-menu .current-menu-item a {color:white;}
.menu {list-style-type:none;display:flex;margin-top:0;margin-bottom:0;flex-wrap:wrap;justify-content:flex-end;align-items:center;}
.open-menu {position:absolute;right:20px;top:20px;}
.container > .topnav{display: flex;justify-content: end;align-items: center;}
.overlay-content .menu{	display: block;}
.menu-item-has-children > a:after {content: " ▾"}
.menu-item-has-children > ul.sub-menu {height: 0;overflow: hidden;position: absolute;background: white; box-shadow: 0px 10px 10px rgb(0 0 0 / 5%);padding-left: 0;z-index:9;}
.menu-item-has-children:hover > ul.sub-menu {height: auto;}
.menu-item-has-children > ul.sub-menu > li.menu-item {list-style: none;}
.menu-item-has-children > ul.sub-menu > li.menu-item:hover {background: var(--mainColor);}
.menu-item-has-children > ul.sub-menu > li.menu-item:hover > a {color: white;}
.menu-item-has-children > ul.sub-menu .menu-item-has-children > ul.sub-menu {position:fixed;max-width:250px;margin-left:143px;margin-top:-52px;}
.menu-item-has-children .current-menu-item {background:var(--mainColor);color:#f2f2f2;}
@media (max-width: 992px) {
.topnav {display:flex;flex-direction:row-reverse;}
.topnav a {padding: 14px 0;}
.topnav .site-logo {max-width: 75%;padding: 0;}
.topnav .site-logo picture img {max-height: 50px;}
}
@media (max-width: 768px) {
.menu-item-has-children > ul.sub-menu {position:relative;box-shadow:none;filter:brightness(0.95);margin-left:-25px;}
.menu-item-has-children > ul.sub-menu a {padding-left:15px;}
}
