/* DESCTOP MENU */
.ads-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.ads-menu-header .site-logo {
    display: flex;
    max-width: 160px;
    position: relative;
}

.ads-menu-header .site-logo a {
    width: 100%;
    display: inline-flex;
}

.ads-menu-header .site-logo a img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media only screen and (min-width: 980px) {
    .ads-menu-header .header-menu {
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ads-menu-header .header-menu li {
        position: relative;
        list-style: none;
    }

    .ads-menu-header .header-menu li.mobile-only {
        display: none;
    }

    .ads-menu-header .header-menu li span {
        display: none;
    }

    .ads-menu-header .header-menu li a {
        padding: 10px 12px;
        color: #333;
        display: block;
        text-decoration: none;
        font-size: 18px;
        position: relative;
        transition: color 0.25s ease, background-color 0.25s ease;
    }

    .ads-menu-header .header-menu li:hover {
        background-color: #1e1d55;
    }
    
    .ads-menu-header .header-menu li:hover a {
        color: #fff;
    }

    .ads-menu-header .header-menu li.current_page_item,
    .ads-menu-header .header-menu li.current-menu-item {
        position: relative;
    }

    .ads-menu-header .header-menu li.current_page_item>a,
    .ads-menu-header .header-menu li.current-menu-item>a {
        font-weight: 700;
    }

    .ads-menu-header .header-menu li.menu-item-has-children {
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .ads-menu-header .header-menu li.menu-item-has-children>span {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        width: 10px;
        height: 10px;
        right: 8px;
    }

    .ads-menu-header .header-menu li.menu-item-has-children>span i {
        color: #1e1d55;
        font-size: 10px;
        transition: 0.3s;
    }

    .ads-menu-header .header-menu li.menu-item-has-children>span.active i {
        transform: rotate(-180deg);
    }

    .ads-menu-header .header-menu li.menu-item-has-children:hover>span i {
        transform: rotate(-180deg);
        color: #fff;
    }

    .ads-menu-header .header-menu>li {
        position: relative;
    }

    .ads-menu-header .header-menu>li>.sub-menu {
        position: absolute;
        top: 100%;
        box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
        right: 0;
        background-color: #1e1d55;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transition: 0.2s;
        display: flex;
        flex-direction: column;
        z-index: 99;
        min-width: 100%;
    }

    .ads-menu-header .header-menu>li>.sub-menu li {
        order: 2;
        font-weight: 400;
    }

    .ads-menu-header .header-menu>li>.sub-menu li a {
        white-space: nowrap;
        display: block;
        width: 100%;
    }

    .ads-menu-header .header-menu>li:hover>.sub-menu {
        opacity: 1;
        visibility: visible;
        top: 50px;
    }

    .ads-menu-header .header-menu>li>.sub-menu li:hover {
        background-color: #fff;
    }

    .ads-menu-header .header-menu>li>.sub-menu li:hover a {
        color: #1e1d55;
    }
}

/* TOGGLE MENU */
.ads-menu-header .cmn-toggle-switch {
    display: none;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 50px;
    min-width: 50px;
    height: 50px;
    font-size: 0;
    background-color: transparent;
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    -webkit-transition: 1s;
    transition: 1s;
    z-index: 9999;
    align-items: center;
}

.ads-menu-header .cmn-toggle-switch:focus {
    outline: none;
}

.ads-menu-header .cmn-toggle-switch span {
    display: block;
    position: absolute;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: #fff;
    -webkit-transition: background 0s 0.3s;
    transition: background 0s 0.3s;
}

.ads-menu-header .cmn-toggle-switch span::before,
.ads-menu-header .cmn-toggle-switch span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    content: "";
    -webkit-transition-duration: 0.3s, 0.3s;
    transition-duration: 0.3s, 0.3s;
    -webkit-transition-delay: 0.3s, 0s;
    transition-delay: 0.3s, 0s;
}

.ads-menu-header .cmn-toggle-switch span::before {
    top: -10px;
    -webkit-transition-property: top, -webkit-transform;
    transition-property: top, transform;
}

.ads-menu-header .cmn-toggle-switch span::after {
    bottom: -10px;
    -webkit-transition-property: bottom, -webkit-transform;
    transition-property: bottom, transform;
}

.ads-menu-header .cmn-toggle-switch.active {
    background-color: #8d1b1b;
    position: fixed;
    top: 30px;
    right: 30px;
    transition: 0.3s;
}

.ads-menu-header .cmn-toggle-switch.active span {
    background: 0 0;
}

.ads-menu-header .cmn-toggle-switch.active span::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition-delay: 0s, 0.3s;
    transition-delay: 0s, 0.3s;
    background-color: #fff;
}

.ads-menu-header .cmn-toggle-switch.active span::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition-delay: 0s, 0.3s;
    transition-delay: 0s, 0.3s;
    background-color: #fff;
}

/* MOBILE MENU */
@media only screen and (max-width: 980px) {
    .ads-menu-header .cmn-toggle-switch {
        display: flex;
    }

    .ads-menu-header .site-logo {
        max-width: 140px;
    }

    .ads-menu-header .navigation-wrap {
        margin: 0 0 0 auto;
    }

    .ads-menu-header .header-menu {
        position: fixed;
        top: -100%;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: #1e1d55;
        z-index: 9998;
        -webkit-transition: top 0.3s;
        -moz-transition: top 0.3s;
        -o-transition: top 0.3s;
        transition: 0.3s;
        overflow-y: auto;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.215) !important;
        padding: 70px 25px 25px 25px !important;
    }

    .ads-menu-header .header-menu li {
        position: relative;
        display: inline-flex;
        width: auto;
    }

    .ads-menu-header .header-menu li.mobile-only {
        display: inline-block;
    }

    .ads-menu-header .header-menu li a {
        font-weight: 500;
        padding: 10px;
        display: inline-block;
        width: auto;
        font-size: 18px;
        color: #fff;
    }

    .ads-menu-header .header-menu li .current-menu-item {
        background: none;
    }

    .ads-menu-header .header-menu li .current-menu-item>a {
        margin-bottom: 10px;
    }

    .ads-menu-header .header-menu>li {
        padding: 5px 10px;
        margin-bottom: 5px;
    }

    .ads-menu-header .header-menu>li span {
        display: none;
    }

    .ads-menu-header .header-menu>li.menu-item-has-children {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .ads-menu-header .header-menu>li.menu-item-has-children>a {
        pointer-events: all;
    }

    .ads-menu-header .header-menu>li.menu-item-has-children>span {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        width: 34px;
        height: 34px;
        z-index: 99;
        cursor: pointer;
        transition: 0.3s;
    }

    .ads-menu-header .header-menu>li.menu-item-has-children>span i {
        font-size: 18px;
        color: #282828;
        transition: 0.3s;
    }

    .ads-menu-header .header-menu>li.menu-item-has-children>span.active i {
        transform: rotate(180deg);
    }

    .ads-menu-header .header-menu>li>.sub-menu {
        display: none;
        width: 100%;
        position: relative;
        border: none;
        border-radius: 0;
        padding: 5px 20px;
        background-color: transparent;
        background-image: none;
        list-style: none;
        box-shadow: none;
        z-index: 10;
        visibility: visible;
        transition: 0.3s;
    }

    .ads-menu-header .header-menu>li>.sub-menu li {
        width: 100%;
    }

    .ads-menu-header .header-menu>li>.sub-menu li>a {
        border: none;
        font-weight: 300;
        width: auto;
        display: inline-block;
    }

    .ads-menu-header .header-menu>li .sub-menu {
        padding-left: 20px !important;
    }

    .ads-menu-header .header-menu>li .sub-menu>li.current-menu-item a {
        font-weight: 700;
    }

    .ads-menu-header .header-menu .site-logo {
        display: none !important;
    }

    .ads-menu-header.move {
        overflow: hidden;
    }

    .ads-menu-header.move .header-menu {
        top: 0;
    }
}
