.site-header-menu {
    display: flex;
    align-items: initial;
}
.text-sliding{
    color:#fff;
}
img.custom-logo {
    max-width: 165px;
}

.searchform input[type="text"]:-webkit-autofill,
.searchform input[type="text"]:-webkit-autofill:hover,
.searchform input[type="text"]:-webkit-autofill:focus,
.searchform input[type="text"]:-webkit-autofill:active{
    background-color: #FFFFFF !important;
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #555555 !important
}

.text-sliding > p > div {

    font-size: 18px;
}
  
#header {
    background: #fff;
    color: #0D1416;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    align-items: stretch;
}

#header a {
    color: #0D1416;
}

#primary-menu-list {
    display: flex;
}

.site-header-action {
    display: flex;
    align-items: center;
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item {
    background: #fff;
    position: relative;
    padding: 0 30px;
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
    color: #0D1416;
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    min-height: 61px;
    display: flex;
    align-items: center;
}

/* body #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children>a.mega-menu-link:before {
    content: '+';
} */

body #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator {
    display: flex;
}

#header button {
    background: transparent;
    border: none;
    cursor: pointer;
}

ul#lang-dropdown {
    min-width: 100px;
    /* opacity: 0;
    transform: translate(0, 10px);
    transition: opacity 200ms ease-in, transform 200ms ease-in, visibility 200ms ease-in; */
    position: absolute;
    top: 100%;
    list-style: none;
    padding: 0;
    right: -42px;
    background: #fff;
    z-index: 1;
    display: none;
    color: #0D1416;
    font-size: 17px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

ul#lang-dropdown.active {
    opacity: 1;
    /* transform: translate(0, 0); */
   
}

body #mega-menu-wrap-primary #mega-menu-primary {
    background-color: #fff;
    border: none;
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link:hover {
    background: transparent;
    color: #0D1416;
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link:hover:after {
    transform: scaleX(1);
    transform-origin: left center;
}
body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-toggle-on>a.mega-menu-link:after {
    transform: scaleX(1);
    transform-origin: left center;
}
body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-parent>a.mega-menu-link:after,
body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current_page_item>a.mega-menu-link:after {
    transform: scaleX(1);
    transform-origin: left center;
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link:after {
    content: '';
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    height: 3px;
    bottom: -10px;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .6s cubic-bezier(.4, 0, 0, 1);
    background-color: #00BBD4;
}

form#searchform {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition:
        max-height 0.6s ease,
        opacity 0.6s ease 0.1s,
        visibility 0.6s ease 0.1s;
}

form#searchform.active {
    max-height: 80px;
    opacity: 1;
    visibility: visible;
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu {
    top: calc(100% + 30px);
    background-color: #fff !important;
    width: 280px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
    background: transparent;
    color: #0D1416;
}

body #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item {
    color: #0D1416;
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    color: #0D1416;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 60px 16px 20px;
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link span.mega-menu-title {
    font-weight: 700;
  
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover,
body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
    background: #F0F3F8;
    color: #0D1416;
    font-weight: 700;
}

body #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-description {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
}

body #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu li.mega-menu-item:before {
    z-index: 1;
    content: '';
    display: block;
    position: absolute;
    width: 6px;
    height: 12px;
    right: 20px;
    top: 21px;
    background-image: url('../images/menu_arrow.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link {
    background: #fff;
    color: #0D1416;
}

.lang-switcher-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

ul#lang-dropdown li:hover {
    background: #F0F3F8;
    color: #0D1416;
}

ul#lang-dropdown li {
    padding: 0;
}
ul#lang-dropdown li a {
    padding: 15px;
    display: block;
}

ul#lang-dropdown li:hover a {
    text-decoration: none;
}


.searchform {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.searchform div {
    display: flex;
    width: 100%;
    border: none;
    overflow: hidden;
    background: #fff;
}

.searchform input[type="text"] {
    flex: 1;
    padding: 23.5px 0px;
    border: none;
    font-size: 24px;
    color: #AAA;
    font-weight: 400;
    outline: none;
    font-family: Open Sans;
}

.searchform input[type="submit"] {
    background-color: #F0F3F8;
    color: #0D1416;
    border: none;
    display:none;
    padding: 0 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.searchform input[type="submit"]:hover {
    background-color: #F0F3F8;
}

.header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: transform 0.3s ease;
    background: #fff;
}

.header-section.hide-header {
    transform: translateY(-100%);
}

.header-section.has-adminbar {
    top: 32px;
}

#header button#search-toggle {
    padding-right: 0;
    width: 20px;
    height: 20px;
    position: relative;
    margin: 30px;
    margin-top: 20px;
}
#header button#search-toggle:after{
    content: '';
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    top: 0;
    right: 0;
    background-image: url('../images/search-icon.svg');
    background-size:cover;
}
#header button#lang-toggle {
    display: block;
    width: 20px;
    height: 20px;
    position: relative;
    margin: 30px 0;
    margin-top: 20px;
}
#header button#lang-toggle:after{
    content: '';
    position: absolute;
    display: block;
    width: 20px;    
    height: 20px;
    top: 0;
    right: 0;
    background-image: url('../images/language_switcher.svg');
    background-size:cover;
}

body #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu li.mega-menu-item.mega-menu-item-has-children span.mega-indicator {
    display: none;
}
.qr-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.qr-popup-content-wrapper {
    max-width: 100%;
    max-height: 100%;
    padding: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);transform: translate(-50%, -50%);
}

.qr-popup-content {
    width: 300px;
    height: 300px;
    max-width: 100%;
    max-height: 100%;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

.qr-popup-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.qr-popup-close {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.qr-popup-close::before,
.qr-popup-close::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    background: #b7b7b7;
}

.qr-popup-close::before {
    transform: rotate(45deg);
}

.qr-popup-close::after {
    transform: rotate(-45deg);
}

.qr-popup-close:hover::after,
.qr-popup-close:hover::before {
    background: #fff;
}
@media (max-width:1280px){
    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block:last-child{
        margin-right: 0;
    }
    .header-section.has-adminbar {
        top: 46px;
    }
    .header-section.hide-header {
        transform: translateY(calc(-100% - 46px));
    }
    body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item {
        padding: 0 20px;
    }
    
    body #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator {
        margin-right: 12px;
    }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link:after {
        position: absolute;
        content: '';
        display: block;
        width: calc(100% - 10px);
        height: 3px;
        background: #00BBD4;
        bottom: 0;
        left: 0;
    }
    body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu {
        box-shadow: none;
    }
    body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link:after{
        display: none;
    }
    body #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu li.mega-menu-item.mega-menu-item-has-children span.mega-indicator {
        display: block;
    }
    body #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary {
        top: calc(100% + 5px);
        height: 100vh;
    }
    body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        display: flex;
        padding: 10px;
        min-width: 100%;
        justify-content: space-between;
    }
    body #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu li.mega-menu-item.mega-menu-item-has-children:before{
        display: none;
    }
    body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        display: flex;
        min-width: 100%;
        justify-content: space-between;
        padding: 0;
    }
    body #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-flyout ul.mega-sub-menu{
        width: 100%;
    }
    #header button#search-toggle {
        margin-right: 16px;
        margin-top: 0;
        margin-bottom: 0;
        width: 20px;
        height: 20px;
    }
    #header a img.custom-logo {
        max-height: 37.5px;
        width: auto;
    }
    
    #header button#lang-toggle {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    #header {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    .searchform input[type="text"] {
        font-family: 'Open Sans';
        font-weight: 400;
        font-size: 18px;
        padding: 27.5px 0px;
    }
}