@media only screen and (max-width: 1500px) {
    .top-hearder-left::after {
        left: -150px;
        width: 285px;
    }
    header .navbar .navbar-brand::after {
        left: -126px;
    }
}

@media only screen and (max-width: 1367px) {
    .slider-content {bottom: 105px;}
}

@media only screen and (max-width: 1170px) {
    .slider-content {bottom: 75px;}
}

@media only screen and (max-width: 992px) {
    .slider-content {bottom: 50px;}
    header .navbar .navbar-brand::after {
        left: -148px;
        width: 282px;
    }
    header .navbar .navbar-brand {
        padding: 12px 20px;
    }
    header .navbar-dark .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    .offcanvas-collapse{padding: 0;}
    .about-inner .mrt{margin-top: 30px;}
    .blog-img img {
        width: 100%;
    }
    .footer-widjet{margin-bottom: 30px;}
    .blog-head{margin-bottom: 30px;}
    .challan-btn{padding-left: 20px;}
    .inner-banner h1 {
        font-size: 32px;
        line-height: 45px;
    }
    .gallery-rw ul li {
        height: 140px;
    }
}

@media only screen and (max-width: 768px) {

    .blog-img-and-content{margin-bottom: 30px;}
    .news-details .news-simple-card h2 {
        font-size: 20px;
    }
    .inner-banner p {
        font-size: 16px;
    }
    .top-header{background: #d91b18;overflow: inherit;}
    .top-hearder-left{
        display: none;
    }
    .top-hearder-right ul li a {
        color: #ffffff;
    }
    .top-hearder-right ul li span {
        background: #ffffff;
    }
    .top-hearder-right ul {
        align-items: center;
        justify-content: center;
    }
    .slider-content {width: 100%;bottom: 40px;}
    .slider-content h1, .slider-content h2 {
        font-size: 40px;
        line-height: 45px;
    }
    h3{font-size: 36px;}
    .course-tabs .nav-item .nav-link {
        font-size: 14px;
        padding: 10px;
        margin: 0px;
    }
    .footer-rw .justify-content-end {
        justify-content: flex-start !important;
        margin-top: 20px;
    }
    .gallery ul {
        flex-direction: column;
    }
    .gallery ul li {
        flex-basis: 100%;
        width: 100%;
    }
    .about-rw {
        position: relative;
        padding: 70px 0;
    }
    .inner-banner h1 {
        font-size: 24px;
        line-height: 32px;
    }
    .about-info p {
        font-size: 15px;
    }
    .v-row {
        padding-left: 0px;
        margin-bottom: 30px;
    }
    .counter-Txt span {
        font-size: 26px;
    }
    .counter-Txt {
        font-size: 16px;
    }
    .counter-rw{margin-top: 0 !important;}
    .pd0{padding: 0;}
    .course-tabs .nav{justify-content: center;}
    .course-tabs .nav li{padding-bottom: 5px;}
    .inner-banner {
        padding: 70px 0;
    }
    .affidavit h4 {
        font-size: 20px;
        line-height: 30px;
    }
}
@media only screen and (max-width: 576px) {
    .blog-head {
        padding: 15px;
    }
    .blog-head h4 {
        line-height: 26px;
        font-size: 18px;
    }
    h3 {
        font-size: 24px;
    }
    .heading p {
        font-size: 16px;
    }
    .about-inner::before{display: none;}
    .about-rw::before, .about-rw::after{width: 100%;}
    .fixed .offcanvas-collapse {
        top: 90px;
    }
    .top-hearder-right ul{flex-direction: column;}
    .top-hearder-right ul li {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    .navbar-brand img{width: 130px;height: auto;}
    header .navbar .navbar-brand::after {
        display: none;
    }
    header .navbar .navbar-brand {
        padding: 10px;padding-left: 0;
    }
    .newsletter-form button {
        position: relative;
        right: 0;
        top: 0;
        border-radius: 0;
        padding: 11.3px 30px;
        width: 100%;
    }
}

@media only screen and (max-width: 360px) {
.slider-content .main-btn{padding: 6px 10px;font-size: 14px;}
.slider-content p{font-size: 16px;}
.slider-content h2, .slider-content h1{font-size:20px;line-height: 26px;}
.slider-content{bottom: 15px;padding:0 15px;}
.regular .slick-slide img {
    height: 160px;
}
}
