header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 9999;
    padding: 24px 0 18px;
}

.brand_logo_wrap a {
    display: block;
    height: 100%;
    width: 100%;
}

.darkHeader header,
header.darkHeader {
    background: var(--white);
    border-bottom: 1px solid #CCCCCC;
}

header .container {
    max-width: calc(1337px + (32px * 2));
    position: relative;
}
.mega-menu-item {
    display: inline-block;
    height: auto;
    width: 100%;
}

.mega-menu-link {
    font-size: 18px;
    line-height: 27px;
    text-transform: capitalize;
    padding: 15px 0;
    cursor: pointer;
    color: var(--black);
    font-weight: 600;
    display: inline-block;
    width: 100%;
}

.mega-free-trial .mega-menu-link {
    padding: 11px 27px;
    background: #000;
    color: var(--white);
    font-weight: 800;
    position: relative;
    border: none;
    z-index: 0;
    overflow: hidden;
}

html:not(:lang(en-US)) .mega-free-trial .mega-menu-link {
    padding: 10px;
}


.mega-free-trial .mega-menu-link:hover {
    color: var(--white);
}

.mega-free-trial .mega-menu-link:hover:after {
    width: calc(100% + 30px);
}
.mega-free-trial .mega-menu-link:after {
    position: absolute;
    display: block;
    content: '';
    background: #EC1218;
    width: 0;
    top: 0;
    bottom: 0;
    left: -15px;
    z-index: -1;
    transition: all 0.3s;
    border-radius: 20px;
}


.mega-search-icon .mega-menu-link {
    font-size: 0;
    background: url(../../images/decorative-items/search-icon.svg) no-repeat center center/contain;
    width: 22px;
    height: 29px;
    padding: 0;
    border: none;
    display: inline-block;
}



.mega-block-title,
.widget_nav_menu .mega-block-title {
    font-size: 12.633px;
    font-weight: 700;
    line-height: 13px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1.516px;
    color: var(--primary-red);
}


.mega-sub-menu .menu-item a {
    font-size: 16px;
    line-height: 18px;
    color: var(--black);
    font-weight: 600;
    display: inline-block;
    word-break: break-word;
    text-transform: unset;
    padding: 0;
}

.mega-sub-menu .menu-item a:hover {
    text-decoration: underline;
}

.mega-products-menu  .mega-grid-products-menu a{
    font-weight: 700;
}

/* .mega-products-menu .mega-sub-menu .menu-item:nth-child(2) {
    border-bottom: 1px solid #BCBCBC;
    padding-bottom: 18px;
} */


.mega-sub-menu .menu-item span {
    display: block;
    font-size: 15px;
    color: var(--black);
    font-weight: 400;
    line-height: 22px;
    margin-top: 6px;
}

.before-border {
    margin: 35px 0 0;
    position: relative;
}

.mega-sub-menu .menu-item.active-link a {
    font-size: var(--spacing-03);
    line-height: var(--spacing-03);
    font-weight: 800;
    color: var(--black);
    text-decoration: none;
    position: relative;
    display: inline-block;
}
.mega-sub-menu .menu-item.active-link a:after {
    position: absolute;
    content: '' !important;
    width: 30%;
    left: 0;
    bottom: -5px;
    height: 2px;
    background: var(--black);
    transition: all .5s;
    display: block !important;
}
body.mega-menu-cb-header-menu{
    overflow-x: hidden;
}

.menu-card p {
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 15px;
    padding: 0;
}

.mega-sub-menu .menu-item.active-link a:after {
    position: absolute;
    content: '';
    width: 30%;
    left: 0;
    bottom: -5px;
    height: 2px;
    background: var(--black);
    transition: all .5s;
    display: block;
}
.mega-sub-menu .menu-item.active-link a:hover{
    text-decoration: none;
}
.mega-sub-menu .menu-item.active-link a:hover:after {
    width: 100%;
}

.mega-products-menu .widget_custom_html .mega-block-title,
.mega-inner-title {
    font-size: 16px;
    line-height: 18px;
    margin: 15px 0 8px;
    text-transform: capitalize;
    color: var(--black);
}

.error404 .mega-search-icon {
    display: none;
}

.error404 .mega-sign-in-link{
    margin-left: 0;
}




@media all and (max-width: 1080px){
   .mega-toggle-blocks-right{
    display: none;
   }
    .mega-menu-cb-header-menu-mobile-open{
        position: fixed;
        width: 100%;
        overflow-y: hidden;
    }
    .mega-grid-products-menu .widget_nav_menu:nth-child(2) .mega-block-title{
        margin-top: 24px;
    }
    
    .mega-grid-products-menu:first-child{
        padding-bottom: 24px;
    }

    .mega-grid-products-menu:last-child{
        padding-top: 0;
    }
    .mega-menu-toggle {
        display: flex;
        background: url(../../images/decorative-items/hamburger-Icon.svg) no-repeat center center /contain;
        position: absolute;
        right: 32px;
        top: 11px;
    }

    .mega-menu-toggle.mega-menu-open{
        background: url(../../images/decorative-items/hamburger-close-Icon.svg) no-repeat center center/contain;
    }

    .mega-menu-toggle + .mega-menu {
        display: none;
    }

    .brand_logo_wrap {
        max-width: 172px;
        height: 42px;
        display: flex;
        align-items: center;
    }

    .mega-menu-toggle.mega-menu-open + .mega-menu {
        display: flex;
        flex-wrap: wrap;
        margin-top: 25px;
    }

    header .container {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .mega-menu-cb-header-menu-mobile-open header {
        background: var(--white);
        z-index: 9999911;
    }

   li.mega-menu-item > ul.mega-sub-menu {
        display: none;
        visibility: visible;
        opacity: 1;
    }
    .mega-menu-wrap{
        width: 100%;
    }

    .mega-menu-item{
        order: 4;
    }

    .mega-sign-in-link{
        order: 2;
        width: auto;
        margin-left: 24px;
    }

    .mega-sign-in-link a{
        padding-top: 9px;
    }

    .mega-free-trial{
        order: 3;
        width: auto;
        margin: 0 0 30px auto;
    }

    .mega-search-icon{
        order: 1;
        width: auto;
        min-width: auto;
    }
    .mega-indicator{
        background: url(../../images/decorative-items/gt-arrow.svg) no-repeat center center /contain;
        width: 19px;
        height: 18px;
        display: inline;
        position: relative;
        top: 4px;
        float: right;
        z-index: -1;
    }

   .mega-menu-item.mega-toggle-on >ul.mega-sub-menu {
        display: block;
        position: fixed;
        height: calc(100vh - 74px);
        opacity: 1;
        top: 74px;
        overflow: auto;
        padding-top: 60px;
        background: linear-gradient(to bottom, var(--white) 0%, var(--white) 55%, var(--peach) 55%, var(--peach) 100%);
        left: 0;
        z-index: 9;
    }

    .mega-solutions-menu.mega-menu-item.mega-toggle-on >ul.mega-sub-menu{
        background: var(--white);
    }

    .dismissable-active .mega-menu-item.mega-toggle-on>ul.mega-sub-menu{
        top: 125px;
    }

    .mega-menu-item.mega-toggle-on >ul.mega-sub-menu >.mega-menu-row:not(.mega-row-products-menu){
        padding-bottom: 100px;
    }

    /* .mega-menu-row >ul.mega-sub-menu {
        padding: 0 30px;
    } */

    .mega-menu-column .menu-item{
        margin-top: 17px;
        width: 100%;
        display: inline-block;
    }

    .widget_nav_menu .mega-block-title{
        margin-bottom: 3px;
        margin-top: 3px;
    }

    .mega-menu-column{
        padding: 20px 30px 35px;
        background: var(--white);
    }
    .mega-menu-column:last-child:not(.mega-grid-products-menu) {
        background: var(--peach);
    }
    .mega-solutions-menu .mega-menu-column:last-child {
        background: none;
    }
    span.back-to-parent {
        position: absolute;
        top: 20px;
        z-index: 9;
        color: #000;
        display: block;
        font-size: 15px;
        line-height: 22px;
        font-weight: 600;
        left: 30px;
        background: url(../../images/decorative-items/lt-arrow.svg) no-repeat left center /10px;
        padding-left: 20px;
    }

}


@media all and (max-width: 767px){
    .mega-menu-cb-header-menu-mobile-open header {
        height: 100vh;
    }

    .mega-menu-toggle {
        width: 26px;
        height: 18px;
    }
    .mega-menu-toggle.mega-menu-open{
        height: 20px;
        width: 20px;
    }

    .mega-menu-toggle.mega-menu-open+.mega-menu {
        overflow: auto;
        height: calc(100vh - 70px);
        padding-bottom: 150px;
        margin: 25px calc(var(--spacing-05) * -1) 0;
        padding: 0 var(--spacing-05) 100px;
        align-content: flex-start;
    }
}


@media all and (min-width: 768px) and (max-width:1080px){
    .mega-menu-toggle.mega-menu-open+.mega-menu {
         width: 100%; /*376px; */
        margin-top: 0;
        position: absolute;
        left: 0;
        bottom: 0;
        top: 61px;
        padding: 20px 36px 20px 40px;
        height: calc(100vh - 86px);
        background: linear-gradient(to bottom, var(--white) 0%, var(--white) 55%, var(--peach) 55%, var(--peach) 100%);
        align-content: flex-start;
        /* border-radius: 0 8px 8px 0; */
        z-index: 1;
    }
    .mega-menu-toggle {
        width: 40px;
        height: 27px;
    }
    .mega-menu-toggle.mega-menu-open{
        height: 30px;
        width: 30px;
    }

    .mega-menu-cb-header-menu-mobile-open header {
        border-bottom: 2px solid #E3E3E3;
    }
    .mega-menu-cb-header-menu-mobile-open .nav-overlay {
        display: block;
        background: rgba(0, 0, 0, 0.28);
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        position: fixed;
        z-index: 991;
    }

    .mega-menu-item.mega-toggle-on >ul.mega-sub-menu {
        height: calc(100vh - 86px);
        /* width: 376px; */
        width: 100%;
        top: 85px;
    }
}
@media all and (min-width: 768px) and (max-width: 992px) and (orientation: landscape){
    .mega-menu-toggle.mega-menu-open + .mega-menu {
        background: var(--white);
        padding-bottom: 100px;
        overflow: auto;
    }
}

@media all and (min-width: 992px) and (max-width: 1080px) and (orientation: landscape) {
    .mega-menu-toggle.mega-menu-open + .mega-menu {
        background: linear-gradient(to bottom, var(--white) 0%, var(--white) 63%, var(--peach) 63%, var(--peach) 100%);
    }
}