@media (max-width: 992px) {
    .navbar-collapse.collapse.show{background: #007773;z-index: 1;}
    .navbar-collapse.collapse.show .navbar-nav {margin: 0 !important; padding-right: 0;}
    .navbar-logo-toggler{width: 100%;/*overflow: hidden;*/}
    .navbar-collapse ul.navbar-nav li{
        border-bottom: 1px solid rgba(255, 255, 255, .05);
    }
    .navbar-collapse .dropdown-menu li:first-child a:after{top: 34px;}
    .dropdown-toggle::after {
        left: 20px;
        position: absolute;
        font-size: 17px;
        top: 17px;
    }

    .hero_section figure h2 {font-size: 18px;}

    footer h4 {
        font-size: 16px !important;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    footer #footer-content .logo {
        text-align: center;
        margin-bottom: 40px;
        position: relative !important;
    }

    footer .accreditation-logos img {
        height: 50px !important;
        width: auto;
    }

    footer {
        font-size: 11px !important;
    }
}

@media (max-width: 768px) {
    .academy_pages .formcontainer {padding: 20px !important;}
    .academic_payment .payment_form_container #payment-form{width: 300px;}
    /* .secondary-navbar{height: auto;} */
    .secondary-navbar .container{float: left;;}
    .secondary-navbar ul{padding: 0;margin: 0;}
    /* .secondary-navbar ul li{margin-left: 20px;} */
    .secondary-navbar .top_nav{justify-content: end !important;font-size: 14px;}
    
    .navbar-collapse ul.navbar-nav{
        margin: 10px 0 0 !important;
        padding: 0;
    }
    .navbar-brand{padding: 10px 20px;}
    .navbar-brand img {
        /* max-width: 190px; */
        /* max-width: 100%; */
        /* max-height: 300px; */
        /* height: auto; */
        display: block;
        margin: -6px 16px 0;
    }

    .hero_section figure h2 {font-size: 14px;}
    .hero_section img {
        width: auto !important;
        display: block;
        position: relative;
        z-index: -1;
        right: 100%;
        margin-right: -200%;
    }

    .featured-courses .event-thumbnail .event-image {
        height: auto;
        margin-bottom: 20px;
    }

    .courses_category .ed-course-in a.course-overlay img {width: 100%};

    .testimonials .author figure {
        display: block;
        float: none;
        margin-bottom: 20px;
    }
    .testimonials blockquote {display: flex;flex-direction: column; align-items: center; justify-content: center;}
    .academic_testimonials .testimonial{flex-direction: column;text-align: center;}
    footer .footer-contact p {
        text-align: center !important;
    }

    .whatsapp_float {
        bottom: 10px;
        left: 10px;
    }

    .academic_about .header :is(h1,h2){font-size: 23px !important}

    footer .logo-footer{text-align: center;}
    footer .details-footer{order:0;margin-top: 20px;}
    footer .contact-footer{order:1;margin-top: 20px;}
    footer .links-footer{order:2}
}

@media (max-width: 576px) {
    .navbar-toggler {
        padding: 30px !important;
    }
}

@media (max-width: 400px) {
    .togglers{width: 60px;}
    .navbar-toggler{
        /* margin: 0 0 0 20px !important; */
        padding: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        /* padding: 0 13px !important; */
    }
    .navbar-toggler svg{font-size: 20px;}

    .togglers{width: 40px;}
    /* .navbar-brand img { max-width: 100px; } */
    .paymentgateways img{width: 100% !important;}

    .navbar-brand img {
        /* max-width: 190px; */
        max-width: 100%;
        /* max-height: 300px; */
        /* height: auto; */
        display: block;
        margin: -6px 16px 0;
    }
}