body #mega-menu-wrap-top_nav #mega-menu-top_nav li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
    padding: 15px 30px 0px 0px;
    overflow: hidden;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link {
    position: relative;
    overflow: hidden;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link::after {
    content: '';
    position: absolute;
    z-index: -1;
    right: 0;
    width: 0;
    bottom: -5px;
    background: #000;
    height: 4px;
    transition-property: width;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

#mega-menu-wrap-top_nav #mega-menu-top_nav > li.mega-menu-megamenu.mega-menu-item.mega-current_page_item::after {
    content: '';
    display: block;
    height: 3px;
    background-color: #0093D0;
    width: calc(100% - 20px);
    left: 10px;
    position: relative;
    margin-top: -4px;
    z-index: 1000;
    top: 5px;
}

body #mega-menu-wrap-top_nav #mega-menu-top_nav > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:focus {
    background: transparent !important;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link:hover,
#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link:focus,
#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link:active {
  color: #0093D0 !important;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link:hover::after,
#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link:focus::after,
#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link:active::after {
    left: 0;
    right: auto;
    width: 100%;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link {
    font-weight: 600;
    background-color: #fff !important;
    font-family: 'Montserrat';
    color: #000;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
    background-color: #fff !important;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu>ul.mega-sub-menu {
    background-color: #fff !important;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .rspca-megamenu-img img {
    border-radius: 10px;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .rspca-megamenu-img h4 {
    position: absolute;
    bottom: 15px;
    padding: 10px 15px;
    background: #0093D0;
    color: #fff;
    width: calc(100% - 30px);
    border-radius: 0 0 10px 10px;
    font-size: 15px;
    font-family: 'Inter';
    text-transform: none;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .rspca-megamenu-img.donate-img h4 {
    background: #74C8BA;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .rspca-megamenu-img.about-us-img h4,
#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .rspca-megamenu-img.get-involved-img h4 {
    background: #684CA0;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .rspca-megamenu-img.learn-img #mega-menu-item-media_image-17 h4 {
    background: #684CA0;
}

.rspca-megamenu-item {
    display: flex;
    font-weight: 600;
    color: #0093D0;
    font-size: 17px;
    line-height: 1.3em;
}

.rspca-megamenu-item i {
    margin-right: 10px;
    display: flex;
    font-size: 24px;
    justify-content: center;
    flex-direction: column;
}

.rspca-megamenu-item a {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .widget_nav_menu>div {
    position: relative;
    color: #0093D0;
    pointer-events: none;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .widget_nav_menu .menu {
    opacity: 1;
    background: #fff !important;
    left: -5px;
    margin-top: 5px;
    bottom: unset;
    box-shadow: none;
    position: relative;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .widget_nav_menu .menu li {
    padding: 10px 0;
    float: none;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .widget_nav_menu .menu li a {
    font-size: 17px;
    line-height: 1.2em;
    color: #000 !important;
    /* pointer-events: auto; */
    font-family: 'Montserrat';
    /* text-transform: capitalize; */
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu.mega-toggle-on .widget_nav_menu .menu li a {
    pointer-events: auto;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .widget_nav_menu h4 {
    color: #0093D0;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .mega-menu-item-type-widget h4 {
    display: flex;
    align-items: center;
    text-transform: none;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3em;
    font-family: 'Montserrat';
    z-index: 99;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .mega-menu-item-type-widget img {
    transition: .3s ease all;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .mega-menu-item-type-widget:hover img {
    transform: scale(1.1);
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .widget_nav_menu h4 {
    /* margin-left: 2.5em; */
    position: relative;
}

.rspca-megamenu-img a {
    overflow: hidden;
    bottom: 15px;
    border-radius: 10px !important;
}

.mega-menu-item-type-widget .menu-item-icon {
    margin-right: 10px;
}

.mega-menu-item-type-widget h4 i.fa-chevron-down {
    margin-left: 5px;
    transition: all .3s;
    right: 0;
    position: absolute;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-menu-item-type-widget h4.act i.fa-chevron-down {
    transform: rotate(180deg);
}

.mega-menu-item-type-widget h4:hover {
    cursor: pointer;
}

.mega-menu-item-type-widget .menu {
    display: none;
}

.mega-menu-item-type-widget .menu.act {
    display: block;
}

body #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
    text-transform: none;
    font-size: 17px;
    line-height: 1.3em;
    font-weight: 600;
    font-family: 'Montserrat';
    display: flex;
    align-items: center;
    text-transform: inherit;
}

#top #mega-menu-wrap-top_nav #mega-menu-top_nav > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover {
    font-weight: 600;
}

body #mega-menu-wrap-top_nav #mega-menu-top_nav li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item.widget_media_image:hover h4 {
    color: #fff !important;
}

body #mega-menu-wrap-top_nav #mega-menu-top_nav li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item:hover h4 {
    color: #212529 !important;
}

body #mega-menu-wrap-top_nav #mega-menu-top_nav li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item:hover .mega-menu-link,
body #mega-menu-wrap-top_nav #mega-menu-top_nav li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item:hover h4 i  {
    filter: brightness(0);
}
#top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .widget_nav_menu .menu li a:hover {
    color: #0093D0 !important;
}

/** off canvas mobile menu **/

body #slide-out-widget-area.fullscreen-alt {
    background-color: #fff !important;
}

@media only screen and (min-width: 1000px) and (max-width: 1380px) {
    #top #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu .widget_nav_menu h4 {
        padding-right: 25px;
    }
}

@media only screen and (max-width: 999px) {
    body #slide-out-widget-area.fullscreen-alt .inner .widget.widget_nav_menu li.menu-item.menu-item-has-children::before {
        top: 15px;
        transform: unset;
    }

    body #slide-out-widget-area .widget.widget_nav_menu .sub-menu li.menu-item.menu-item-has-children::after {
        top: 15px;
    }

    body #slide-out-widget-area.fullscreen-alt .inner .widget.widget_block {
        padding: 0 30px;
    }

    body #slide-out-widget-area.fullscreen-alt .inner .widget {
        padding: 0;
    }

    body #slide-out-widget-area.fullscreen-alt .inner {
        margin: 0;
    }

    body #slide-out-widget-area a,
    body #slide-out-widget-area.fullscreen-alt .inner .widget.widget_nav_menu li a {
        color: #000 !important;
        font-size: 17px;
        font-weight: 600;
        font-family: 'Montserrat';
        width: 100%;
        letter-spacing: normal;
    }

    body #slide-out-widget-area .widget.widget_nav_menu ul ul {
        padding: 0 !important;
        padding-top: 15px !important;
    }

    body #slide-out-widget-area .widget.widget_nav_menu li {
        text-align: left;
        padding: 15px 0 !important;
        position: relative;
        background: transparent;
    }

    body #slide-out-widget-area #menu-mobile-top-navigation-menu>li:first-child {
        padding: 15px 0 !important;
    }


    body #slide-out-widget-area .widget.widget_nav_menu li.menu-item-has-children::after {
        font-family: FontAwesome;
        content: "\f054";
        display: inline-block;
        color: #0093D0;
        position: absolute;
        right: 5px;
        top: 20px;
        z-index: -1;
        transform: rotate(0);
        transition: .3s ease all;
    }

    body #slide-out-widget-area .widget.widget_nav_menu li.menu-item-has-children.active::after {
        transform: rotate(90deg);
    }

    body #slide-out-widget-area .widget.widget_nav_menu ul ul li a {
        font-weight: 500 !important;
    }

    #menu-mobile-top-navigation-menu {
        margin-top: -30px;
    }

    #menu-mobile-top-navigation-menu ul {
        display: none;
    }
}
