.dashicons-arrow-down:before {
    content: "" !important;
    background-image: url('../assets/images/arrow-carrot-down.svg');
    background-position: center;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.gw-mm {
    position: unset !important;
}

.light-menu .dashicons-arrow-down:before {
    filter: unset;
}

.gw-mm-item__dropdown-content .wp-block-navigation {
    margin-top: 0px;
}

.gw-mm-item__dropdown-wrapper {
    padding: 0px;
}

.gw-mm-item__link a {
    display: block;
    padding: 30px 5px !important;
}

.menu-cta .gw-mm-item__link a {
    padding: 10px 15px !important;
}

.editor-styles-wrapper .gw-mm-item__dropdown .gw-mm-item__dropdown-content {
    max-height: unset !important;
}

.editor-styles-wrapper .menu-bar .gw-mm-item__link > a div{
    color: #00192F !important;
}


@media only screen and (max-width: 1200px) {
    .gw-mm-item__dropdown {
        background: #f3f8ff !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .gw-mm-item__dropdown-content > .wp-block-group {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .gw-mm-item__link a {
        padding: 15px 15px !important;
    }

    .gw-mm.is-mobile .gw-mm-item {
        border-bottom: 1px solid #01397d36;
        background-color: #f3f8ff;
    }

    .gw-mm-item .gw-mm-item__toggle {
        width: 50px;
    }

    .menu-cta .gw-mm-item__link a{
        border-radius: 0px !important;
    }

    .wp-block-getwid-megamenu-item.menu-cta {
        border-radius: 0px !important;
    }

    .gw-mm__toggle {
        position: relative !important;
        border-radius: 3px !important;
        border-width: 0 !important;
        font-size: 14px !important;
        line-height: inherit !important;
        background-color: #e60390 !important;
        display: flex;
        color: #fff;
        align-items: center;
        justify-content: center;
        border: unset;
    }

    .gw-mm__content-wrapper {
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    .is-opened .gw-mm__content-wrapper {

        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    .gw-mm-item__dropdown-wrapper {
        height: unset !important;
        max-height: 0px;
        overflow: hidden !important;
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    .gw-mm-item__dropdown-wrapper.is-opened {
        max-height: 1200px;
    }

    .gw-mm__content::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .gw-mm.is-mobile .gw-mm__content-wrapper {
        background: unset !important;
    }

    .gw-mm-item__dropdown-content {
        max-height: 420px;
        overflow-y: scroll;
        padding-bottom: 40px;
        -ms-overflow-style: none;
        scrollbar-width: none; /* Firefox */
    }

    .gw-mm-item__dropdown-content::-webkit-scrollbar{
        display: none;
    }

    .gw-mm.is-mobile .gw-mm__content {
        height: 100vh !important;
        overflow-y: scroll;
        display: block;
        -ms-overflow-style: none;
        scrollbar-width: none; /* Firefox */
        max-width:100vw !important;
    }

    .gw-mm.is-mobile .gw-mm__content::-webkit-scrollbar{
        display: none;
    }

    .gw-mm__content-wrapper {
        left: 0px !important;
        width: 100vw !important;
    }

    .wp-block-navigation .wp-block-navigation-item {
        width: 100%;
    }

    .gw-mm.is-mobile .gw-mm-item__link a {
        font-weight: bold;
    }
}


@media only screen and (min-width: 1200px) {

    .gw-mm-item__dropdown {
        background: #f3f8ff !important;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
        height: unset !important;
    }
    
    .gw-mm-item__dropdown .gw-mm-item__dropdown-content {
        font-size: 14px;
        max-height: 0px;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    .gw-mm-item.has-children:hover  .gw-mm-item__dropdown .gw-mm-item__dropdown-content,
    .page-template-wp-custom-template-open-enrolment-menu-open .open-enrolment-menu .gw-mm-item__dropdown .gw-mm-item__dropdown-content,
    .courses-template-wp-custom-template-open-enrolment-menu-open .open-enrolment-menu .gw-mm-item__dropdown .gw-mm-item__dropdown-content
    {
        max-height: 700px;
    }

    .page-template-wp-custom-template-open-enrolment-menu-open .open-enrolment-menu .gw-mm-item__dropdown-wrapper,
    .courses-template-wp-custom-template-open-enrolment-menu-open .open-enrolment-menu .gw-mm-item__dropdown-wrapper
    {
        overflow: visible !important;
        max-height: auto !important;
    }

    .gw-mm-item.has-children:hover  .gw-mm-item__dropdown .gw-mm-item__dropdown-content,
    .page-template-wp-custom-template-for-organisations-menu-open .for-organisations-menu .gw-mm-item__dropdown .gw-mm-item__dropdown-content,
    .courses-template-wp-custom-template-for-organisations-menu-open .for-organisations-menu .gw-mm-item__dropdown .gw-mm-item__dropdown-content
    {
        max-height: 700px;
    }

    .page-template-wp-custom-template-for-organisations-menu-open .for-organisations-menu .gw-mm-item__dropdown-wrapper,
    .courses-template-wp-custom-template-for-organisations-menu-open .for-organisations-menu .gw-mm-item__dropdown-wrapper
    {
        overflow: visible !important;
        max-height: auto !important;
    }

    .page-template-wp-custom-template-for-organisations-menu-open .for-organisations-menu .gw-mm-item__dropdown-wrapper {
        z-index: 0 !important;
    }

    .is-selected .gw-mm-item__dropdown,
    .has-child-selected .gw-mm-item__dropdown 
    {
        height: auto !important;
    }

    .gw-mm-item__dropdown:hover {
        height: auto !important;
    }

    .gw-mm-item__dropdown {
        width: 100vw !important;
        position: absolute !important;
        padding-top: 0px !important;
        padding: 0px !important;
        height: 0px;
        left: 0px !important;
    }

    .wp-block-getwid-megamenu-item:hover .gw-mm-item__dropdown {
        height: auto !important;
    }

    .gw-mm-item__dropdown-content > .wp-block-group {
        max-width: var(--wp--style--global--content-size);
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .gw-mm__content {
        gap: 20px !important;
    }

}

.gw-mm__content .block-editor-block-list__layout {
    position: unset !important;
}

.right-column-menu .block-editor-block-list__block {
    position: unset !important;
}

.right-column-menu {
    position: unset !important;
}

.main-menu-columns {
    position: unset !important;
}

.gw-mm-item__dropdown-wrapper {
    left: 0px !important
}