@media (min-width:768px) {
    html {
        font-size: 16px
    }
}

@media (min-width:576px) {
    .modal-dialog {
        max-width: 700px;
        margin: 1.75rem auto
    }
}

@media (max-width:1400px) {
    .navbar-expand-xl .navbar-nav .nav-link {
        font-size: 14px
    }
}

@media (max-width:1230px) {
    body .banner-logo img {
        max-width: 100%
    }

    body .logo-detail span {
        font-size: 18px;
        word-wrap: break-word
    }

    body .website-info, body .address-info {
        word-wrap: break-word;
        font-size: 14px
    }

    body .banner-inner-detail img.m-auto {
        position: inherit
    }

    body .banner-logo img {
        margin: 8px 0
    }
}

@media (max-width:1110px) {
    body .verified-half {
        top: -25px
    }
}

@media (max-width:1024px) {
    .light-version .service_single_content p {
        font-size: 13px
    }

    .light-version .service_single_content {
        padding: 20px 15px 5px
    }

    button.navbar-toggler {
        position: absolute;
        right: 0;
        top: 0;
        border: none;
        padding: 0
    }

    .navbar-toggler:focus {
        box-shadow: none
    }

    body .dextopBanner {
        display: none;
    }

    body .bodybanner {
        display: block;
    }

    body .triangle, body .square {
        display: none;
    }

    body .school-banner {
        margin: 5px 0 0 0 !important;
        padding-top: 10px
    }

    .navbar-light .navbar-nav .nav-link {
        color: #231f20 !important;
        padding: 9px 8px;
        font-size: 14px
    }
}

@media (max-width:860px) {
    body .verified-half {
        top: -20px
    }

    .bg-light-blue .py-5 {
        padding-top: 10px !important;
        padding-bottom: 10px !important
    }

    .bg-light-blue h2 {
        font-size: 18px
    }

    .accordion .card-header:before {
        background-color: #fff0
    }
}

@media (max-width:767px) {
    .option-blue-bar {
        padding-left: 15px;
        padding-right: 15px;
    }

    .email-limit {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }

    .bg-content-box2 {
        padding: 10px !important;
    }

    body .car {
        margin: 75px auto 0;
    }

    body .bodybanner {
        height: auto;
        padding: 10px;
        border-radius: 20px;
    }

    body .csContainer {
        padding: 0px;
    }

    body .content-box {
        padding: 20px 15px;
    }

    h1#learn-to-drive-safely {
        font-size: 20px;
        padding-bottom: 15px;
    }

    .about-padding-bullet {
        padding-top: 0;
        padding-right: 45px
    }

    .accordion .btn {
        width: 100%;
        text-align: left;
        white-space: inherit;
        position: relative
    }

    .accordion .fa {
        font-size: 24px;
        font-weight: 700;
        position: absolute;
        top: 10px;
        float: right;
        right: -8px
    }

    body .process-item {
        width: 50%;
        position: relative;
        float: left
    }

        body .process-item .square {
            width: 130px;
            height: 100px;
            padding: 5px;
            margin: 8px auto;
            transform: rotate(0deg);
            position: relative;
            z-index: 2
        }

        body .process-item .content {
            transform: rotate(0deg);
            text-align: center;
            color: #222;
            width: 100%;
            height: 100%;
            padding-top: 16px
        }

    .process-item .sep, .process-item .line {
        display: none
    }

    .h1, h1, .h2, h2 {
        font-size: 1.5rem
    }

    .pricing-table-heading {
        font-size: 18px
    }

    body .d-sec {
        padding: 5px 5px !important
    }

    .mainSlide .carousel-inner .carousel-item img {
        width: 100%
    }

    header .navbar a img {
        width: 150px
    }

    body #region-selector .selected-region .title {
        font-size: 12px
    }

    .school-titel {
        font-size: 18px !important
    }

    p.fst-italic {
        font-size: 13px
    }

    body .pricing-table {
        margin-top: 10px !important
    }

    body .price-bg {
        padding-left: 0;
        padding-right: 0
    }

    body .contact-menu li {
        padding: 0 12px
    }

    .our-core-wrp.light-version.d-sec {
        padding-bottom: 10px
    }

    .nav.nav-tabs li {
        width: 100%;
        border: 1px solid #eef0f2
    }

    .footer-links.pl-2 {
        padding: 0 !important
    }

    .mainheadline2 {
        font-size: 1.6rem
    }

    .mainheadline {
        font-size: 2.5rem
    }

    .marketing h2 {
        font-size: 1.5rem;
        padding-bottom: 10px;
        font-weight: 600
    }

    .marketing h3 {
        font-size: 1.3rem
    }

    .bg-light .p-5 {
        padding: 1.5rem !important
    }

    h3, .h3 {
        font-size: 1.2rem;
        font-weight: 600;
        padding-bottom: 10px
    }

    body p {
        font-size: 15px !important;
        line-height: 1.6 !important
    }

    .h4, h4 {
        font-size: 1rem
    }

    body .bg-light-blue {
        padding: 10px
    }

    body .school-service-section .box h4 {
        font-size: 20px
    }

    img.m-auto {
        width: 54px;
        margin-top: 14px !important
    }

    .card.box-shadow.p-4 {
        padding: 10px 10px !important
    }

    .btn {
        display: block;
        margin-bottom: 5px
    }

    .container-fluid.marketing.pt-5.pb-5 {
        padding-bottom: 20px !important
    }

    .heading.text-center.py-0.my-4 {
        margin-bottom: 0 !important;
        margin-top: 10px !important
    }

    .col-sm-4.text-right.review-o p {
        margin-bottom: 0 !important;
        padding: 5px
    }

    .drive-school-box .card .review-o {
        justify-content: end
    }

    .row.drive-school-box.pt-5 {
        padding: 0 !important
    }

    body .why-drive-wrap .why-driveinnr {
        height: auto
    }

    .col-md-5.px-5.py-5 {
        padding-bottom: 0 !important
    }

    h4.my-3 {
        font-size: 1.2rem !important
    }

    .tab-pane h4 {
        font-size: 1.2rem
    }

    .container-fluid.pl-0.pr-0.bg-light {
        min-height: auto !important
    }

    .thankyoupage {
        height: auto
    }

        .thankyoupage h1 {
            font-size: 2.5rem
        }

    body .navbar-expand-xl .navbar-nav .nav-link {
        font-size: 14px;
        padding: 7px
    }

    ul.navbar-nav li.footer-links {
        padding: .5rem 0rem !important
    }

    div#navbarColor01 {
        display: block !important
    }

    .first-widget a.btn.btn-md-lg.btn-primary {
        width: 70%;
        position: inherit;
        left: 0;
        bottom: auto
    }

    body .why-drive-wrap {
        padding: 0 10px !important
    }

    body .whydrive-list {
        padding: 20px 10px !important
    }

    .whydrive-list p {
        font-size: 15px
    }

    .driv-section .col-sm-12.text-center.py-5 {
        padding: 15px 10px !important
    }

    .container.pb-5.driv-section.OptionWrap .col-md-3 {
        margin: 0 45px 60px
    }

        .container.pb-5.driv-section.OptionWrap .col-md-3.lastOption {
            margin-bottom: 0
        }

    .cweOffer ul {
        display: flex;
        gap: 16px;
        justify-content: center;
        list-style: none;
        padding-top: 35px;
        text-transform: capitalize;
        font-weight: 600;
        flex-direction: column;
        text-align: center;
        padding: 0;
        margin: 0
    }

    .onterio .container-fluid:after, .onterio .container-fluid:before {
        display: none
    }

    .helpbox span.help-btn {
        display: block;
        margin-bottom: 15px;
        padding: 20px 40px 20px 5px;
    }
    footer {
        font-size: 12px;
        padding-top: 20px;
        padding-bottom: 15px;
        min-height: 50px;
        line-height: 25px;
        width: 100%;
    }
    .helpSection .container.py-5.text-center {
        padding-top: 15px !important;
        padding-bottom: 15px !important
    }

    #footer h3 {
        padding-bottom: 5px
    }

    body #footer .footer-box {
        padding-top: 14px
    }

    #footer .footer-box ul {
        margin-bottom: 10px
    }

        #footer .footer-box ul li a {
            color: #b8b8b8 !important;
            line-height: 35px;
            font-size: 17px
        }

    .top-header .social {
        display: none
    }

    .top-header .call {
        display: flex;
        text-align: center;
        width: 100%;
        padding-top: 12px;
        min-height: 20px;
        justify-content: space-evenly
    }

    .phone {
        font-size: 13px;
        color: #244891 !important;
        font-weight: 600;
        display: block
    }

    button.navbar-toggler {
        position: absolute;
        right: 0;
        top: -45px;
        border: none
    }

    .mainSlide .carousel-caption {
        position: absolute;
        left: 0;
        top: 20% !important;
        z-index: 10;
        padding-top: 0;
        padding-bottom: 0;
        color: #fff;
        text-align: center;
        width: 80%;
        right: 0;
        margin: 0 auto
    }

    #footer .footer-box ul {
        margin-bottom: 10px
    }

        #footer .footer-box ul li a {
            color: #b8b8b8 !important;
            line-height: 35px;
            font-size: 17px
        }

    .driv-section .drive-school-box {
        margin-bottom: 20px
    }

    .school-banner .banner-logo img {
        max-width: 60%;
        width: 100%
    }

    .banner-logo img {
        margin: 15px 15px
    }

    .school-banner {
        margin-top: 0 !important
    }

    .navbar {
        justify-content: flex-start;
        margin-bottom: 0 !important
    }

    .school-banner {
        margin-top: 0 !important
    }

    section.MinistryApproved-main, .MinistryApproved-main h2 {
        padding-top: 0 !important;
        margin-top: 0;
        padding-bottom: 5px !important
    }

    .MinistryApproved-main .drive-school-box {
        margin-bottom: 20px
    }

    body .Individual-tablesection h2 {
        font-size: 20px
    }

    #RecentReviews .drive-school-box {
        position: relative;
        margin-bottom: 10px
    }

    .school-service-section .col {
        flex: 0 0 100%
    }

    .detail-content-box-padding {
        padding: 0;
        width: 100%;
        margin: 0 !important;
        text-align: center
    }

    .banner-logo, .banner-inner-detail {
        flex-direction: column;
        text-align: left;
        align-items: self-start;
        padding-left: 0;
        position: inherit !important;
        bottom: 0 !important;
        margin-bottom: 20px
    }

        .banner-inner-detail img.m-auto {
            position: inherit
        }

        .banner-inner-detail .col-md-4 {
            margin-bottom: 10px
        }

    .user-d img {
        width: 60px;
        height: 60px
    }

    .banner-inner-detail .col-md-3 {
        padding: 0;
        margin-bottom: 15px
    }

    body .school-banner {
        height: auto;
        padding-bottom: 10px;
        min-height: auto
    }

    .user-d h3 {
        font-weight: 600;
        font-size: 18px;
        padding-bottom: 0
    }

    .user-d p {
        font-size: 16px
    }

    .logo-detail {
        margin-bottom: 20px
    }

        .logo-detail span {
            font-size: 20px
        }

    .school-banner {
        min-height: 100vh
    }

    .banner-inner-detail {
        display: flex;
        align-items: end;
        color: #1a1919;
        font-size: 19px;
        line-height: 1.5;
        z-index: 100;
        position: absolute;
        bottom: 40px;
        filter: blur(0);
        -webkit-filter: blur(0);
        padding-bottom: 0
    }

    #RecentReviews .carousel-control-prev, #RecentReviews .carousel-control-next {
        display: none
    }

    body .login-section {
        align-items: flex-start
    }

    body .first-widget {
        border-radius: 0;
        margin-top: 0;
        padding-bottom: 20px !important
    }

    .first-widget .col-md-5.px-5.py-5, .first-widget .col-md-7.ml-auto.px-5.py-5 {
        padding: 10px !important
    }

    body .banner-inner-detail {
        align-items: flex-start
    }

    .website-info p span, .website-info p, .address-info p {
        font-size: 15px
    }

    .mainSlide .carousel-inner .carousel-item {
        height: 260px !important
    }

    .footer {
        position: inherit;
        bottom: 0;
        width: 100%;
        white-space: nowrap;
        line-height: inherit;
        text-align: center !important
    }

        .footer .text-center.text-white small {
            white-space: initial
        }

    body button.btn.btn-blue {
        white-space: inherit
    }

    body h2.jumbotron {
        font-size: 20px !important
    }

    body h3 button.btn.btn-link {
        font-size: 14px !important;
        font-weight: bold !important;
        padding-left: 0
    }

    .bg-content-box1 p i.fa {
        display: block;
        position: inherit;
        font-size: 42px !important
    }

    .about-padding {
        padding-top: 0;
        padding-bottom: 15px;
        padding-left: 30px;
        padding-right: 30px
    }

    .option-yellow-bar-top .btn, .option-yellow-bar-top .btn-lg {
        padding: .5rem .8rem;
        font-size: .85rem
    }

    .option-yellow-bar-homepage {
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 1px
    }

    h2.pb-4.drive-bdr {
        font-size: 18px
    }

    .OptionWrap .card p {
        min-height: auto
    }

    .container.driv-section.reviewUs.googleReview.OptionWrap .col-sm-12.text-center.pb-5.pt-3 {
        padding-bottom: 15px !important
    }

    button.btn.btn-preptest {
        padding: 12px 20px;
        font-size: 18px;
    }
    .cweOffer h3{display:none;}
    .OptionWrap .card a {
        font-size: 14px;
        padding: 10px 12px;
        max-width: 201px;
    }
    .googleReview p {
        font-size: 14px !important;
        line-height: 20px !important;
        padding: 12px 48px 5px !important;
        margin: 0;
    }
}

@media (max-width:650px) {
    .mainheadline {
        font-size: 3rem
    }

    .form-group {
        margin-bottom: 0rem
    }

    label {
        display: inline-block;
        margin-bottom: .5rem;
        margin-top: .5rem
    }

    .marketing .col {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 10px
    }

        .marketing .col i {
            font-size: 50px !important;
            max-width: 50%
        }

    .login-wrapper {
        padding: 0
    }

    .slide-box1, .slide-box2 {
        padding: 24px 10px
    }

        .slide-box1 h2, .slide-box2 h2 {
            font-size: 20px
        }

            .slide-box1 h2 span, .slide-box2 h2 span {
                margin-bottom: 10px;
                display: inline-block
            }

        .slide-box1 h4, .slide-box2 h4 {
            font-size: 18px;
            line-height: 1.5
        }

        .slide-box1 span.first-letter-head, .slide-box2 span.first-letter-head, .slide-box1 p, .slide-box2 p {
            font-size: 18px
        }

    .btn-info {
        display: block
    }

    .drive-school-box .box-shadow {
        height: auto !important
    }

    .btn-primary, .btn-outline-danger, .btn-secondary {
        display: block;
        width: 100%;
        margin: 0 auto 10px !important
    }

    body .modal-footer {
        background-color: #fff
    }

    body .close {
        color: #fff;
        text-shadow: 0 1px 0 #fff;
        opacity: 1
    }

    h5.m-title.text-right {
        text-align: left !important
    }

    .school-instructor {
        gap: 15px;
        flex-direction: column
    }

        .school-instructor ul {
            width: 100%;
            display: flex;
            gap: 10px
        }

    body .school-banner .banner-inner-detail {
        align-items: center
    }

    i.fa.fa-user {
        margin-left: 6px
    }
}

@media (max-width:560px) {
    body .verified-half {
        top: -25px
    }

    body .container.pb-5.driv-section.OptionWrap .col-md-3 {
        margin: 0 5px 30px;
    }

    body .OptionWrap .card span.shap {
        font-size: 22px;
        max-width: 52px
    }

    body .container.pb-5.driv-section.OptionWrap {
        padding-bottom: 0 !important
    }

    body .googleReview p {
        padding: 12px 5px 5px !important
    }
}
