@media only screen and (max-width: 1199px) {
    #why_box{
        height: 480px;
    }
    #abt_why_box{
        height: 850px;
    }
}

@media only screen and (max-width: 1100px) {
    .slider_h {
        font-size: 30px;
    }
    .s_p {
        font-size: 15px;
        line-height: 30px;
    }
    .slider_btn {
        padding: 10px 30px;
        margin-top: 2.5px;
    }
    #main_slider{
        width: 60%;
    }
    .owl-carousel .owl-prev {
        left: 10px;
    }

    .owl-carousel .owl-next {
        right: 10px;
    }
}

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

    .navbar .navbar-nav>li>a {
        padding: 15px 12px;
        margin: 25px 0px;
        font-size: 15px;
    }
    .top_phone_mail li {
        padding-right: 25px !important;
    }
    #slider_bottom{
        bottom: 0;
        position: relative;
    }
    .footer_h {
        margin-top: 15px !important;
    }
    .slider_b_box{
        height: auto;
        background: var(--primary-color);
        padding: 30px 25px;
    }
    #main_slider{
        top: 0;
        bottom: 0;
    }
    .b_r{
        border-bottom: 1px solid #6f6f6f !important;
        border-right: none !important;
    }
    .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next{
        right: 95% !important;
    }
    .carousel-control .glyphicon-chevron-left, .carousel-control .icon-next{
        left: 85% !important;
    }
    .course_ib{
        height: auto;
    }
    #why_box{
        height: auto;
    }
    #abt_why_box{
        height: auto;
    }

}

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

    #top_bar {
        display: block;
    }

    .top_phone_mail {
        display: none !important;
    }

    .pull-right {
        text-align: center;
        float: none !important;
    }

    .navbar-toggle {
        margin-top: 23px;
        margin-bottom: 23px;
    }

    .navbar {
        background: #ffffff;
        padding: 0 !important;
    }
    #main_slider{
        width: 80%;
    }
    .Courses_tabs_li li{
        margin-top: 25px !important;
    }

}

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

    #main_slider{
        width: 83%;
    }
    .slider_h {
        font-size: 22px;
    }
    .s_p {
        font-size: 15px;
        line-height: 28px;
        padding-top: 5px !important;
    }
    .slider_btn {
        padding: 10px 30px;
        margin-top: 5px !important;
    }
    .slider_h br{
        display: none;
    }

}

@media only screen and (max-width: 640px) {
    .slider_h {
        font-size: 24px;
        line-height: inherit;
    }
    .slider_oh{
        font-size: 20px;
        font-weight: 600;
    }
    .s_p {
        display: none;
    }   
    .slider_btn {
        padding: 8px 25px;
        margin-top: 5px !important;
        font-size: 14px;
    }
}

@media only screen and (max-width: 400px) {
    .slider_oh{
        font-size: 17px;
    }
}