@media (min-width:1200px) {
    .live_chat {
        padding-left: 90px;
    }
}

/* @media (min-width:991px) {
    .modal-open {
        overflow: scroll !important;
    }
} */

@media (max-width:1199px) {
    .phone_images {
        margin-top: -146px;
    }

    .call_us {
        font-size: 20px !important;
        padding-left: 30px !important;
    }

    .chat_section {
        padding-right: 15px !important;
    }

    /*Logo Marquee*/
    .abt_img {
        margin-top: -26px;
    }

    /*Logo Marquee*/
    .insurance_bottom_text img {
        width: 90px !important;
        margin-right: 15px;
    }

    .insurance_first_row {
        margin-bottom: 20px;
    }

    .chat_section {
        padding-left: 40%;
    }

    .why-choose-section h1 br,
    .does-more-section h1 br {
        display: none;
    }

    .why-choose-section {
        top: 90px;
    }

    .why-choose-section h1,
    .does-more-section h1 {
        line-height: 40px;
        font-size: 30px;
        margin-bottom: 20px;
    }

    .text-container {
        margin-top: 6%;
    }

    .mobile_hide_image {
        display: none;
    }

    /*Product Page PG Cards*/
    .first-sec {
        background-image: url('../images/product/van-iso.png');
        background-position: right;
        background-size: 250px;
        background-repeat: no-repeat;
        background-position-y: 105%;
    }

    .sec-sec {
        background-image: url('../images/product/car-iso.png');
        background-position: bottom right;
        background-size: 250px;
        background-repeat: no-repeat;
    }

    .third-sec {
        background-image: url('../images/product/bike-iso.png');
        background-position: bottom right;
        background-size: 50%;
        background-repeat: no-repeat;
    }

    /* .fourth-sec {
    background-image: url('../images/product/van-iso.png');
    background-position: bottom right;
    background-size: 200px;
    background-repeat: no-repeat;
} */
    .fifth-sec {
        background-image: url('../images/product/house-iso.png');
        background-position: bottom right;
        background-size: 250px;
        background-repeat: no-repeat;
    }

    .sixth-sec {
        background-image: url('../images/product/life-iso.png');
        background-position: bottom right;
        background-size: 250px;
        background-repeat: no-repeat;
    }

    .seventh-sec {
        background-image: url('../images/product/pet-iso.png');
        background-position: bottom right;
        background-size: 50%;
        background-repeat: no-repeat;
    }

    .eight-sec {
        background-image: url('../images/product/tradesman-iso.png');
        background-position: bottom right;
        background-size: 50%;
        background-repeat: no-repeat;
    }

    .ninth-sec {
        background-image: url('../images/product/utilities-iso.png');
        background-position: bottom right;
        background-size: 35%;
        background-repeat: no-repeat;
    }

    .tenth-sec {
        background-image: url('../images/product/liability-iso.png');
        background-position: bottom right;
        background-size: 30%;
        background-repeat: no-repeat;
    }

    .eleventh-sec {
        background-image: url('../images/product/credit-iso.png');
        background-position: bottom right;
        background-size: 50%;
        background-repeat: no-repeat;
       
    }

    .twelveth-sec {
        background-image: url('../images/product/flight-iso.png');
        background-position: bottom right;
        background-size: 50%;
        background-repeat: no-repeat;
    }
}

@media (max-width:1130px) {
    .phone_images {
        width: 100%;
        margin-top: -146px;
    }
}

@media (min-width:675px) and (max-width:1150px) {
    .header-tiles-container {
        width: 600px;
        margin: auto;
    }
}

@media (min-width:350px) and (max-width:674px) {
    .header-tiles-container {
        width: 276px;
        margin: auto;
    }
}

@media (max-width:349px) {
    .header-tiles-container {
        width: 200px;
        margin: auto;
    }
}

@media (max-width:1028px) {
    .phone_images {
        width: 100%;
        margin-top: -147px;
    }
}

@media (min-width:992px) {
    .hassle_text {
        max-width: 480px;
    }

    .journey_text {
        max-width: 500px;
    }

    .timings {
        margin-left: -140px;
    }

    .desktop-hidden,
    .hassle-desktop-hidden {
        display: none;
    }

    #download_app_title {
        max-width: 270px;
    }

    .header_tel {
        display: block;
    }

    .insurance_bottom_text {
        padding-left: 100px;
        padding-top: 90px;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .header_form_group {
        flex: 0 0 90%;
        max-width: 90%;
    }
}

@media (max-width:991px) {
    .header-btn-sec {
        display: block;
    }

    header.masthead {
        background-position: center right;
    }

    .after_modal_appended {
        z-index: auto;
    }

    .chat_section {
        padding-left: 20%;
    }

    .differnce_btn {
        text-align: center;
    }

    .call_us {
        padding-left: 180px !important;
    }

    .abt_text {
        max-width: 100%;
    }

    .insurance_bottom_text {
        display: flex;
        justify-content: space-around;
    }

    #compare_img {
        order: 2;
    }

    .floating-image-section {
        text-align: center;
    }

    .image_middle {
        width: 300px !important;
        position: relative;
        margin-top: -70px;
        margin-bottom: -70px;
        margin-left: 0;
    }

    .header_form {
        display: inherit;
        text-align: center;
        width: 85%;
        margin: auto;
    }

    .header_form span,
    .header_form button {
        display: block;
    }

    .header_form span {
        padding-bottom: 10px !important;
    }

    .header_form button,
    .header_form a {
        margin: auto;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .header_form button:last-child {
        margin-bottom: 0;
        margin-top: 0;
    }

    .mobile-hidden,
    .hassle-mobile-hidden {
        display: none;
    }

    .abt_img_section {
        display: none;
    }

    .navbar-nav {
        text-align: center;
    }

    #mainNav .navbar-nav>li.nav-item>a.nav-link,
    #mainNav .navbar-nav>li.nav-item>a.nav-link:focus {
        font-size: 13px;
    }

    #about {
        background-image: url('../images/img-about-mobile.png');
        background-size: 80%;
        background-repeat: no-repeat;
        background-position: right 30%;
    }

    .time_section_float {
        left: 0;
    }

    /* about page */
    .why-choose-section h1,
    .does-more-section h1 {
        line-height: 28px;
        font-size: 17px;
        margin-bottom: 20px;
    }

    .why-choose-image {
        margin-left: 0;
    }

    .why-choose-section,
    .text-container {
        max-width: 80%;
        margin-top: -50%;
        margin-left: auto;
    }

    .first-para-start {
        background: #EBF4FF;
        border-radius: 4px;
        padding: 5em 0px;
        padding-bottom: 10em;
    }

    .new-sub-title-center-text p {
        margin: auto;
        width: auto;
        padding: 0px 0px;
    }

    /* .text-container {
        position: relative;
        right: 0px;
        max-width: 100%;
        margin-top: 0px;
        padding: 0px 0px;
    } */
    .text-container {
        position: absolute;
        right: 0px;
        bottom: 0;
        padding: 30px 3rem;
        width: 80%;
    }

    .does-more-image {
        padding-right: 0 !important;
    }

    .why-choose-image-section {
        width: 100%;
    }

    .why-choose-section {
        padding-top: 0px;
        position: relative;
        top: 0px;
        left: 0px;
    }

    .does-more-section {
        order: 2;
        padding: 0 !important;
    }

    .ld-sec-section {
        padding-top: 0px !important;
        margin-top: 0px !important;
    }

    .phone_images {
        width: 100%;
        margin-top: auto;
    }

    .video_thumbnail a img {
        width: 200px;
    }

    .app-text {
        max-width: 100%;
    }

    #download_app_title {
        font-style: normal;
        font-weight: 900;
        line-height: 50px;
        font-size: 20px;
        letter-spacing: 0.421053px;
        text-transform: uppercase;
        margin-bottom: 0;
    }

    .footer_row_one {
        display: block;
    }

    .footer_timing {
        padding-left: 0;
        margin-top: 30px;
    }

    .footer_timing li {
        padding-left: 0;
        padding-right: 40px;
    }

    .phone_images {
        width: 100%;
        margin-top: auto;
    }

    .app-text {
        max-width: 100%;
    }

    #download_app_title {
        font-style: normal;
        font-weight: 900;
        line-height: 50px;
        font-size: 20px;
        letter-spacing: 0.421053px;
        text-transform: uppercase;
        margin-bottom: 0;
    }

    /*Product Page PG Cards*/
    .products_head {
        padding-top: 5.3em;
    }

    .about_us_main {
        padding-top: 5.3em;
    }

    .about-bike-section {
        padding-top: 0 !important;
    }

    .first-sec {
        background-image: url('../images/product/van-iso.png');
        background-position: right;
        background-size: 200px;
        background-repeat: no-repeat;
        background-position-y: 105%;
    }

    .sec-sec {
        background-image: url('../images/product/car-iso.png');
        background-position: bottom right;
        background-size: 200px;
        background-repeat: no-repeat;
    }

    .third-sec {
        background-image: url('../images/product/bike-iso.png');
        background-position: bottom right;
        background-size: 220px;
        background-repeat: no-repeat;
    }

    /* .fourth-sec {
    background-image: url('../images/product/van-iso.png');
    background-position: bottom right;
    background-size: 200px;
    background-repeat: no-repeat;
} */
    .fifth-sec {
        background-image: url('../images/product/house-iso.png');
        background-position: bottom right;
        background-size: 200px;
        background-repeat: no-repeat;
    }

    .sixth-sec {
        background-image: url('../images/product/life-iso.png');
        background-position: bottom right;
        background-size: 200px;
        background-repeat: no-repeat;
    }

    .seventh-sec {
        background-image: url('../images/product/pet-iso.png');
        background-position: bottom right;
        background-size: 220px;
        background-repeat: no-repeat;
    }

    .eight-sec {
        background-image: url('../images/product/tradesman-iso.png');
        background-position: bottom right;
        background-size: 220px;
        background-repeat: no-repeat;
    }

    .ninth-sec {
        background-image: url('../images/product/utilities-iso.png');
        background-position: bottom right;
        background-size: 140px;
        background-repeat: no-repeat;
    }

    .tenth-sec {
        background-image: url('../images/product/liability-iso.png');
        background-position: bottom right;
        background-size: 140px;
        background-repeat: no-repeat;
    }

    .eleveth-sec {
        background-image: url('../images/product/credit-iso.png');
        background-position: bottom right;
        background-size: 220px;
        background-repeat: no-repeat;
    }

    .twelveth-sec {
        background-image: url('../images/product/flight-iso.png');
        background-position: bottom right;
        background-size: 220px;
        background-repeat: no-repeat;
    }

    /*About*/
    .about-bike-section h3 {
        font-style: normal;
        font-weight: bold;
        line-height: normal;
        font-size: 24px;
        color: #000000;
    }

    .contact_us_head {
        font-style: normal;
        font-weight: bold;
        line-height: normal;
        font-size: 24px;
        color: #000000;
    }

    #headerTilesModal,
    .modal-backdrop {
        position: fixed !important;
        overflow-y: auto;
    }

    .tile_compare_title {
        margin: auto;
        text-align: center;
    }

    .tile_container .get-quote-btn {
        position: inherit;
    }

    .get-quote-div {
        text-align: center;
    }

    .wrapper {
        float: none;
    }
}

@media (min-width:768px) {
    .chat_section {
        padding-right: 60px;
    }

    .hide-desktop-timings {
        display: none;
        position: inherit;
    }

    a.call_us {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .ninth-sec .prod-logo-img {
        width: 240px;
    }
}

@media (max-width:991px){
      /* products page */
      .product-wrapper {
        display: grid;
        grid-gap: 25px 2%;
        grid-template-columns: 100%;
        color: #fff;
    }
    .first-sec {
        grid-column: 1;
        grid-row: 1;
    }

    .sec-sec {
        grid-column: 1;
        grid-row: 2;
    }

    .third-sec {
        grid-column: 1;
        grid-row: 3;
    }

    .fourth-sec {
        grid-column: 1;
        grid-row: 4;
        /* padding-top: 0px; */
    }

    .fifth-sec {
        grid-column: 1;
        grid-row: 5;
    }

    .sixth-sec {
        grid-column: 1;
        grid-row: 6;
    }

    .seventh-sec {
        grid-column: 1;
        grid-row: 7;
    }

    .eight-sec {
        grid-column: 1;
        grid-row: 8;
    }

    .ninth-sec {
        grid-column: 1;
        grid-row: 9;
    }

    .tenth-sec {
        grid-column: 1;
        grid-row: 10;
    }

    .eleventh-sec {
        grid-column: 1;
        grid-row: 11;
        padding-bottom:140px !important;    
    }

    .twelveth-sec {
        grid-column: 1;
        grid-row: 12;
    }
}



@media (max-width:767px) {
    .hide-mobile-timings {
        display: none;
    }

    .about-card-body {
        height: auto;
    }

    .first-para-start {
        padding: 2em 0;
        padding-bottom: 6em;
    }

    .tile_container {
        padding: 50px 10px;
    }

    .chat_section {
        padding-left: 15px;
    }

    .timings_container {
        margin: auto;
    }

    .time_section_float {
        position: inherit;
    }

    .call_us {
        padding: 20px !important;
        height: 30px;
    }

    .cc-phone-logo {
        left: 0;
    }

    .tooltiptext {
        display: none;
    }

    .insurance_bottom_text {
        display: block;
        padding-left: 40px;
    }

    .video-container video {
        display: none;
    }

    .video_thumbnail {
        position: inherit;
        bottom: 0;
    }

    .video_thumbnail a img {
        width: 100%;
    }

    .cc-phone-logo {
        left: 0;
    }

    #compare_img {
        order: 2;
    }

    section {
        padding: 3rem 0;
    }

    .video-title-section {
        display: inherit !important;
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .chat_section {
        position: inherit;
    }

    .timing_section {
        text-align: center;
    }

    .timing_section img {
        margin-bottom: 15px;
    }

    .chat_section {
        display: flex;
        justify-content: center;
    }

    .chat_section a {
        margin: 10px;
    }

    .live_chat {
        order: 2;
    }

    .footer_col_1,
    .footer_col_2,
    .footer_col_3 {
        margin-bottom: 40px;
    }

  

    /* .product-box {
        padding-bottom: 0px;
    } */

    .van-bigimg img,
    .car-bigimg img,
    .bike-bigimg img,
    .business-bigimg img,
    .house-bigimg img,
    .life-bigimg img,
    .pet-bigimg img,
    .tradesman-bigimg img,
    .utilities-bigimg img,
    .liability-bigimg img,
    .credit-bigimg img,
    .flight-bigimg img {
        width: 100%;
        position: relative;
        right: 0;
        bottom: 0;
    }

    

    .business-bigimg {
        margin-top: 0;
    }

    /* About page */
    .why-choose-section h1,
    .does-more-section h1 {
        line-height: 28px;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .ld-first-section {
        padding-bottom: 0px !important;
        margin-bottom: 0px !important;
    }

    .text-container {
        position: relative;
    }

    .why-choose-section,
    .text-container {
        max-width: 95%;
    }

    .text-container {
        width: 95%;
    }
    .eleventh-sec {
        background-size: 60%;
    }
    
}

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

@media (max-width:575px) {
    .protection_div {
        text-align: center;
    }
}

@media (max-width:575px) {
    #tile_dialog .wrapper {
        grid-template-columns: 50% 50%;
        max-width: 450px;
    }
}

@media (max-width:500px) {
    .header-btn-sec {
        /* display: block;
        width: 100%; */
        display: flex;
        width: 100%;
        flex-direction: column;
        height: 46px;
        margin-bottom: 60px;
    }

    header.masthead {
        /* background-position: -550px center; */
        /* background-position: left center; */
        padding-top: 7rem;
        background: url(../images/wecompare-images/img-mobile-umbrella.png) no-repeat;
        background-size: cover;
    }

    .header_form {
        background-color: transparent;
    }

    .header_form span {
        position: relative;
        font-size: inherit;
        padding-bottom: 20px !important;
        display: block;
        color: #FFFFFF;
        width: 100%;
        text-align: center;
        font-size: 24px;
    }

    .header_form font {
        color: #FFFFFF !important;
    }

    .header_form {
        display: flex;
        flex-wrap: wrap;
    }

    .header_form span {
        flex: 0 0 100%;
    }

    .header_form button,
    .header_form a {
        width: 100%;
    }

    .header_form a {
        flex: 0 0 100%;
        order: 2;
    }

    .header_form button {
        flex: 0 0 100%;
        order: 1;
    }

    /* .header_form span:before {
        display: block;
        content: 'Compare Quotes Now';
        color: #FFFFFF;
        position: absolute;
        width: 100%;
        text-align: center;
        font-size: 24px;
        padding-bottom: 0.25rem;
    } */
    /* .hide-desk{
        display: inline;
    } */
    /* .hide-mob{
        display:none
      } */
    .header_tel {
        background-color: #2C65AE;
        color: #FFFFFF;
    }

    .products_text br {
        display: none;
    }

    .new-title-center-text p {
        font-size: 24px;
    }

    .download_left_section {
        padding-bottom: 0 !important;
    }

    .journey_icons {
        padding: 15px;
    }

    .journey_text_icons {
        margin: auto;
        display: flex;
        justify-content: space-around;
    }

    #headerTilesModal {
        padding: 0 20px !important;
    }

    .journey_text_section img {
        height: 80px;
        text-align: center;
    }

    #get-a-quote h2,
    .journey_header,
    .compare_header,
    .addon_header,
    .insurance_place_head,
    .hassle_header,
    .abt_text h2 {
        font-size: 20px;
        line-height: 42px;
        margin-bottom: 25px !important;
    }

    #get-a-quote h2 br,
    .journey_header br,
    .compare_header br,
    .addon_header br,
    .insurance_place_head br,
    .hassle_header br,
    .abt_text h2 br {
        display: none;
    }

    .does-more-section h1,
    .why-choose-section h1 {
        font-size: 24px;
    }

    /* .does-more-section,
    .why-choose-section {
        padding-right: 0px !important;
        padding-left: 0px !important;
    } */
}

@media (max-width:475px) {
    .download_store_btn {
        text-align: center;
    }

    .prod-logo-img {
        width: 200px;
    }
}

@media (max-width:400px) {
    .chat_section {
        display: block;
    }

    .call_us {
        margin-bottom: 20px !important;
    }

    .time_section_float {
        width: 100%;
    }

    .timings_container {
        max-width: 100%;
    }

    #mainNav .navbar-brand img {
        width: 150px;
    }
}

@media (max-width:375px) {
    .eleventh-sec {
        background-size: 75%;
    }
    
    header.masthead {
        /* background-position: -575px center; */
        background-position: left -25px center;
    }

    .timing_section img {
        width: 300px;
    }

    .image_middle {
        width: 250px !important;
    }

    .tile_container {
        padding: 30px;
    }
}

@media (min-width:340px) and (max-width:359px) {
    .header_form font {
        display: #ffffff;
    }
}

@media (max-width:330px) {

    .footer_col_2 ul li a,
    .footer_col_3 ul li a {
        font-size: 11px;
    }

    .header-tiles {
        display: inline-block;
        width: auto;
    }
}

/* Bigger table layout */

/* @media only screen and (min-width: 991px) and (max-width: 1199px) {

    .why-choose-section {

        position: relative;
        top: 0px;
        left: 0px;
    }

    .text-container {
        position: relative;
        right: 0px;
        margin-top: 30px;
        padding: 0px 0px;
    }

} */

/* Tablet Layout: 768px. */

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

    .van-bigimg img,
    .car-bigimg img,
    .bike-bigimg img,
    .business-bigimg img,
    .house-bigimg img,
    .life-bigimg img,
    .pet-bigimg img,
    .tradesman-bigimg img,
    .utilities-bigimg img,
    .liability-bigimg img,
    .credit-bigimg img,
    .flight-bigimg img {
        width: 100%;
        position: relative;
        right: 0;
        bottom: 0;
    }

    /* .product-box {
        padding-bottom: 0px;
    } */
}


/* horizontal scroll */
/* @media (max-width: 1230px){
.header-tiles-container{
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    height: 136px;
}
.header-tiles-container::-webkit-scrollbar { 
    display: none; 
 }
 .header_tile_area{
    height: 120px;
    overflow: hidden;
 }
}
@media (max-width: 767px){
    .header_tile_area {
        padding: 0;
    }
} */

/* hidden and block header tiles */

.desk .header-tiles img {
    width: 100%
}

.mob .header-tiles img {
    width: 140px;
}

@media (max-width: 674px) and (min-width: 350px) {
    .mob.header-tiles-container {
        width: 300px;
        margin: auto;
    }
}