/*** HEADER FIRST ROW ***/
.header-holder {
    height: 100%;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-row {
    background: var(--header-background-color);
    border-bottom: 4px solid var(--header-border-color);
}

.header-row-inner {
    display: flex;
    gap: 30px;
    align-items: center;
}

.logo-holder {
    width: 220px;
}

.logo-holder a {
    display: inline-block;
}

.header-actions {
    flex-grow: 1;
}

.header-actions .first-row {
    text-align: right;
    padding: 10px 0 10px;
}

.header-actions .second-row {
    background-color: var(--header-actions-background-color);
    border-radius: 6px 6px 0 0;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: -5px;
}

.header-actions .call-btn {
    color: var(--header-call-color);
    font-weight: 700;

}

/*** HEADER SEARCH ***/
.header-row .search {
    margin: 0 0 0 auto;
    width: 20%;
    max-width: 200px;
}

.header-row div.asl_m.asl_w {
    border: 0 !important;
}

.header-row #ajaxsearchlite1 .probox, div.asl_w .probox {
    padding: 0;
    height: 46px;
}

.header-row div.asl_w .probox .promagnifier {
    width: 46px;
    height: 46px;
    color: #fff;
    background-color: var(--search-button-background-color);
    top: -1px;
    position: relative;
    right: -1px;
    border-radius: 50%;
}

.header-row div.asl_m .probox .proinput input {
    height: 100%;
}

.header-row div.asl_w .probox .promagnifier .innericon svg {
    fill: var(--search-icon-color);
}

/*** HEADER SECONF ROW ***/
.header-menu {
    padding: 0;
    list-style: none;
    font-weight: 500;
    font-size: 16px;
    color: var(--menu-nav-color);
}

.header-menu > li {
    display: inline-block;
    margin: 0 10px;
    position: relative;
}

.header-menu > li > a {
    padding: 35px 0;
    display: inline-block;
    color: var(--menu-nav-color);
}

.sticky .header-menu > li > a {
    padding: 15px 0;
}

.header-menu > li:hover > a {
    color: var(--menu-nav-color-hover);
    font-weight: 700;
}

.header-menu > li.current_page_item > a,
.header-menu > li:active > a,
.header-menu > li:focus > a {
    color: var(--menu-nav-color-active);
    font-weight: 600;
}

.header-menu > li.menu-item-has-children > a {
    padding-right: 15px;
}

.header-menu li.menu-item-has-children:before,
.header-menu li.menu-item-has-children:after {
    content: '';
    display: block;
    width: 2px;
    height: 7px;
    position: absolute;
    background: var(--menu-nav-color);
    right: 0;
}

.header-menu > li:hover:before,
.header-menu > li:hover:after {
    background: var(--menu-nav-color-hover);
}

.header-menu li.menu-item-has-children:before,
.header-menu li.menu-item-has-children:after {
    top: 50%;
    transform: translateY(-50%);
}

.header-menu li.menu-item-has-children:before {
    transform: rotate(-45deg) translateY(-50%);
    right: -1px;
}

.header-menu li.menu-item-has-children:after {
    transform: rotate(45deg) translateY(-50%);
}

.header-menu > li.menu-item-has-children > .sub-menu {
    padding: 0
}

.header-menu > li.menu-item-has-children > .sub-menu li {
    display: block;
    width: 100%;
}

.header-menu > li.menu-item-has-children > .sub-menu li a {
    color: var(--menu-nav-color);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid var(--sub-menu-nav-color-hover);
}

.header-menu > li.menu-item-has-children > .sub-menu li a:hover {
    background-color: var(--sub-menu-nav-color-hover);
}

.header-menu > li.menu-item-has-children > .sub-menu li:last-child a {
    border: none
}

@media only screen and (min-width: 1200px) and (max-width: 1399px){
    .header-actions .second-row {
        padding: 0 10px;
    }
    .header-actions .second-row .btn {
        min-width: 150px;
    }
}

@media only screen and (min-width: 1200px) {
    .header-menu > li.menu-item-has-children > .sub-menu {
        max-height: 0;
        overflow: hidden;
        position: absolute;
        top: 60px;
        left: 100%;
        transform: translateX(-50%);
        z-index: 300;
        min-width: 300px;
        border-radius: 6px;
        background: #ffff;
        display: flex;
        flex-wrap: wrap;
        column-gap: 20px;
        align-items: stretch;
    }

    .menu-colums-2 .header-menu > li.menu-item-has-children > .sub-menu {
        min-width: 550px;
        left: 220px;
    }

    .menu-colums-3 .header-menu > li.menu-item-has-children > .sub-menu {
        min-width: 750px;
        left: 320px;
    }

    .menu-colums-4 .header-menu > li.menu-item-has-children > .sub-menu {
        min-width: 850px;
        left: 420px;
    }

    .menu-colums-2  .header-menu li .sub-menu li {
        width: calc(1/2*100% - (1 - 1/2)*20px);
    }

    .menu-colums-3  .header-menu li .sub-menu li {
        width: calc(1/3*100% - (1 - 1/3)*20px);
    }

    .menu-colums-4  .header-menu li .sub-menu li {
        width: calc(1/4*100% - (1 - 1/4)*20px);
    }

    .header-menu > li.menu-item-has-children:hover .sub-menu {
        max-height: 1500px;
    }

    .header-menu li.menu-item-has-children .sub-menu {
        width: 100%;
    }
}

@media only screen and (max-width: 1199px) {
    .header-holder-inner {
        height: 100px;
    }

    .logo-holder {
        text-align: center;
    }

    .header-holder-inner .logo {
        margin: 0 auto;
    }

    .header-actions .second-row {
        padding: 5px;
    }

    .header-row .search {
        width: 80%;
    }

    .navbar-button > button {
        outline: none;
        padding: 9px 10px;
        background-color: transparent;
        background-image: none;
        border: 1px solid transparent;
        position: absolute;
        left: 0;
        top: 25px;
    }

    .navbar-button > button:hover {
        cursor: pointer;
    }

    .navbar-button > button .icon-bar {
        display: block;
        width: 22px;
        height: 3px;
        background-color: var(--header-mobile-toggle-color);
        -webkit-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }

    .navbar-button > button .icon-bar:nth-child(1) {
        transform: rotate(45deg);
    }

    .navbar-button>button .icon-bar + .icon-bar {
        margin-top: 3px;
    }

    .navbar-button>button .icon-bar:nth-child(2) {
        display: none;
    }

    .navbar-button>button .icon-bar:nth-child(3) {
        transform: rotate(-45deg);
        margin-top: -3px;
    }

    .main-menu-closed .navbar-button > button .icon-bar:nth-child(1) {
        transform: rotate(0);
    }

    .main-menu-closed .navbar-button>button .icon-bar:nth-child(2) {
        display: block;
    }

    .main-menu-closed .navbar-button>button .icon-bar:nth-child(3) {
        transform: rotate(0);
        margin-top: 3px;
    }

    .main-menu-closed .header-menu-holder {
        -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
        transition: transform 250ms ease-in-out;
    }

    .header-menu-holder {
        background: #fff;
        position: absolute;
        z-index: 600;
        left: 0;
        top: 100px;
        height: calc(100vh - 100px);
        width: 100%;
        padding: 0 10px 30px;
        -webkit-transform: translateX(0%);
        -ms-transform: translateX(0%);
        transform: translateX(0%);
        transition: transform 250ms ease-in-out;
        overflow-y: auto;
    }

    .header-menu li,
    .header-menu > li {
        display: block;
    }

    .header-menu li a {
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .header-menu > li.menu-item-has-children > .sub-menu li a {
        border-bottom: 0;
    }

    .header-menu li.menu-item-has-children:before,
    .header-menu li.menu-item-has-children:after {
        top: 25px;
        transform: translate(0);
    }
    

    .header-menu li.menu-item-has-children:before {
        transform: rotate(-45deg);
        right: 4px;
    }

    .header-menu li.menu-item-has-children:after {
        transform: rotate(45deg);
    }

    .header-menu li.menu-item-has-children.opened:before {
        transform: rotate(45deg);
    }

    .header-menu li.menu-item-has-children.opened:after {
        transform: rotate(-45deg);
    }

    .header-menu li .sub-menu {
        overflow: hidden;
        position: relative;
        top: auto;
        left: auto;
        transform: translateX(0%);
        transition: max-height .3s ease;
        max-height: 0;
    }

    .header-menu li.opened ul.sub-menu {
        max-height: 2000px !important;
        display: block;
        width: 100%;
        -webkit-transition: max-height .3s ease;
        -moz-transition: max-height .3s ease;
        -o-transition: max-height .3s ease;
        transition: max-height .3s ease;
    }

    .sidebar-cta {
        margin-top: 30px;
    }

    .sidebar-cta a {
        width: 100%;
        max-width: 500px;
    }

    .sidebar-cta a.filled:hover,
    .sidebar-cta a.filled:focus {
        color: #fff;
        border-color: #fff;
    } 

}

@media only screen and (max-width: 991px) {
    .header-cta a.btn {
        padding: 5px 15px;
    }

    .header-cta a.btn span {
        display: none;
    }

    .header-row .search {
        width: 30%;
    }
}

@media only screen and (max-width: 767px) {

    .header-row-inner {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .logo-holder {
        width: 75%;
        padding: 10px 40px 0;
    }

    .header-actions .first-row {
        padding: 0;
    }

    .header-actions .call-btn {
        font-size: 0;
        position: absolute;
        top: 40px;
        right: 20px;
    }

    .header-actions .call-btn:before {
        background: var(--header-call-color);
        color: var( --header-background-color);
        border-radius: 50%;
        font-size: 18px;
        padding: 15px;
    }

    .header-row .search {
        margin: 0;
    }

    div.asl_m .probox .proinput {
        margin: 0;
    }

    .header-row .search {
        width: 45%;
    }

    .asl_w_container {
        min-width: auto !important;
    }

    .second-row .btn {
        margin-left: auto;
        width: 40%;
        min-width: auto;

    }
    



}
