@media (min-width: 1200px) {
    .bg-red {
        background: none;
    }
}
@media (max-width: 1199px) {
    h1{
        font-size: 38px;
        line-height: 44px;
    }
    h2{
        font-size: 26px;
        line-height: 32px;
    }
    .header_mid a.cta, .banner aside a.cta {
        max-width: 150px;
    }
    .reg_sec .main .main_inner .main_input input {
        font-size: 20px;
        line-height: 26px;
    }
    .services .card-body.d-flex , .services .card-body.d-flex a{
        display: block !important;
    }
    .post-date {
        right: 10px;
    }
    .latest-news .card-body h5 {
        max-width: 85%;
    }
    .pointer {
        width: auto;
    }
    .pointer:before , .pointer:after{
        display: none;
    }
    .bg-red {
        background: none;
    }
    .signup .btn-primary {
        font-size: 24px;
        line-height: 30px;
    }
    #mixedSlider .MS-content .item p {
        font-size: 14px;
        line-height: 20px;
    }
    .m-auto {
        margin-left: 0px !important;
    }
}
@media (max-width: 991px) {
    h1{
        font-size: 34px;
        line-height: 40px;
    }
    h2{
        font-size: 24px;
        line-height: 30px;
    }
    .content-detail h2:not(:first-child) {
        font-size: 22px;
        line-height: 28px;
    }
    .header_top {
        background: #000;
    }
    .header_bottom {
        background: #3cb244;
    }
    .why-choose-us .col-xl-4 {
        position: static;
    }
    nav .navbar-nav .nav-item .nav-link:after {
        bottom: 1px;
    }
    .review-deail .card .customer:after , .review-deail .card blockquote:before , .review-deail .card blockquote:after{
        display: none;
    }

    .bg-red {
        background: #3cb244;
    }

    .signup .btn-primary {
        font-size: 18px;
        line-height: 24px;
    }
    .reviews_sec {
        min-height: 225px;
    }
    .reg_sec {
        margin-top: 0px;
        min-height: 322px;
        margin-bottom: 10px;
    }
    .banner {
        min-height: 350px;
    }
}
@media (max-width: 767px) {
    h1{
        font-size: 26px;
        line-height: 32px;
    }
    h2{
        font-size: 24px;
        line-height: 30px;
    }
    h3{
        font-size: 20px;
        line-height: 26px;
    }
    h4,h5,h6{
        font-size: 18px;
        line-height: 24px;
    }
    .content-detail h2:not(:first-child) {
        font-size: 18px;
        line-height: 24px;
    }
    .reg_sec {
        margin-top: 0px;
    }
    .reviews_sec {
        min-height: 200px;
    }
    .content-detail p:first-child img{
        float: none !important;
        display: block;
        margin: 20px auto !important;    
    }
    .widget_sec {
        margin-bottom: 10px;
    }
    .header_mid .col-xl-3:nth-child(3) , .header_mid .col-xl-3:nth-child(4){
        display: none;
    }
    .banner {
        min-height: 375px;
    }
    .content-detail h2 span:before {
        top: 30px;
    }
    .contact-box .desc p{
        font-size: 14px;
        line-height: 20px;
    }
    .widget {
        top: -30px;
    } 
}
@media (max-width: 575px) {
    h1{
        font-size: 24px;
        line-height: 30px;
    }
    h2{
        font-size: 20px;
        line-height: 26px;
    }
    h3{
        font-size: 18px;
        line-height: 24px;
    }
    h4,h5,h6{
        font-size: 16px;
        line-height: 22px;
    }
    .content-detail h2:not(:first-child) {
        font-size: 16px;
        line-height: 22px;
    }
    .header_top {
        height: auto;
    }
    .widget {
        top: 0px;
    }
    .content-detail .col-double-xs-12 img{
        display: block;
        margin: 20px auto !important;
    }
    .signup .btn-primary {
        font-size: 15px;
        line-height: 21px;
    }
    .banner {
        min-height: 250px;
    }
}
@media (max-width: 479px) {
    .header_mid .col-6{
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .header_mid a.cta, .banner aside a.cta {
        margin: auto !important;
    }
    .contact-box p {
        padding-left: 0 !important;
    }
    .contact-box .input-group{
        font-size: 14px;
        line-height: 20px;
    }
    .footer-signup ul li.last-child{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .header_mid .col-xl-3:nth-child(2) , .header_top{
        display: none;
    }
    .banner {
        min-height: 300px;
    }
    .content-detail h2 span:before {
        top: 22px;
    }
    .privacy ol li {
        margin-left: 10px;
    }
}
