
#service .row{
display: inline-flex;
}
@media only screen and (max-width: 1440px) {
    
    .homebanner_sec{
        padding-top: 7%;
    }
    .homebanner_sec h4{
        font-size: 28px;
    }
    .homebanner_sec h5{
        font-size: 40px;
    }
    .ambulance_div{
        right: 50px;
        bottom: -100px;
        width: 500px;    
    }
    .tab {
        top: 17px;
        width: 220px;
        margin-left: -97px;
    }
    .cap-1{
        width: 80px;
        height: 20px;
    }
    .cap-2{
        width: 60px;
        height: 20px;
    }
    .cap-3{
        width: 80px;
        height: 20px;
    }
    
}



@media only screen and (max-width: 1199px) {
    
    .title_hd{
        font-size: 40px;
    }    
    .homebanner_sec{
        min-height: auto;
    }
    .about_sec, .service_sec, .work_sec{
        padding: 100px 0px;
    }
    .doctor{
        left: 0%;
        width: 35%;
    }
    .strip_sec .txt_div h4{
        font-size: 40px;
    }
    
    .footer_sec{
        padding-top: 120px;
    }
    .basic_templates_sec{
        padding: 100px 0px 0px 0px;
    }
    .corporate_templates_sec{
        padding: 100px 0px;
    }
    .templates_sec .img_div{
        min-height: 210px;
    }
    .templates_sec .img_div .overlay h5{
        line-height: 200px;
    }
    .img_list li{
        height: 250px;
    }
    .gallery_sec .gal_img_div{
        min-height: 250px;
    }
    .ambulance_div{
        right: 50px;
        bottom: -80px;
        width: 400px;    
    }
    .tab {
        top: 13px;
        width: 176px;
        margin-left: -78px;
    }
    .cap-1{
        width: 68px;
        height: 17px;
    }
    .cap-2{
        width: 40px;
        height: 17px;
    }
    .cap-3{
        width: 68px;
        height: 17px;
    }
    
}


@media only screen and (max-width: 991px) {
   
    img.logo, .affix.nav_sec .logo{
        width: 200px;
    }
    .navbar-right {
        padding: 15px 0px;
    }
    .nav_sec .nav li{
        padding-left: 15px;
    }
    .nav_sec .nav a{
        font-size: 13px;
    }
    .homebanner_sec h4{
        text-align: center;
    }
    .homebanner_sec h5, .homebanner_sec h6{
        text-align: center;
    }
    .homebanner_sec .view_more_btn1, .homebanner_sec .view_more_btn1:focus, .about_sec .view_more_btn1, .about_sec .view_more_btn1:focus{
        float: none;
    }
    .doctor{
        display: none;
    }
    .about_sec h4.sub_hd.orange.lora_font, .about_sec h5.title_hd.black{
        text-align: center;
    }
    .work_sec .img_div1, .work_sec .txt_div1{
        width: 100%;
    }
    .work_sec .txt_div1 .desc1{
        padding: 20px 0px;
    }
   /* .work_owl .owl-nav{
        bottom: 10px;
    } */
    .ft_logo{
        margin: auto;
        display: block;
    }
    .social_list{
        text-align: center;
        margin-bottom: 50px;
    }
    .links_txt{
        padding-left: 20%;
    }
    .count_sec .thumb_div{
        margin: 30px auto;
        display: block;
       /* float: none; */
    }
    .count_sec .title_hd{
        margin: 0px 0px;
    }
    div#videoModal .modal-dialog{
        width: 80%;
        height: auto;
    }
    div#videoModal .modal-body{
        min-height: 350px;
    }    
    .img_list li{
        height: 200px;
    }
    .gallery_sec .gal_img_div{
        min-height: 200px;
    }
    .ambulance_div{
        display: none;
    }
   

    
}
@media only screen and (min-width: 767px) {
.work_class{
margin-left:15%;
margin-right:15%;
}
}
@media only screen and (max-width: 767px) {
.count_sec .row{
display:block;
}

.count_main{
margin-top:-200px;
}
.gallery_sec {

    padding: 5px 0px;
   
}
    .hdr_div{
        margin-bottom: 30px;
    }
    .nav_sec{
        background-color: #fff;
    }
    .nav_sec .nav a{
        color: #000;
    }
    .nav_sec .nav li{
        text-align: center;
        padding-left: 0px;
    }
    .navbar-toggle{
        border: 1px solid #000;
        margin-top: 10px;
    }
    .navbar-toggle .icon-bar{
        background-color: #000;
        height: 3px;
    }
    .banner_sec .full_img{
        float: none;
        margin: auto;
        display: block;
        margin-bottom: 100px;
    }
    .banner_sec .txt_div h5{
        text-align: center;
    }
    .banner_sec .txt_div h4{
        text-align: center;
        font-size: 30px;
    }
    .banner_sec .txt_div .view_more_btn1{
        float: none;
        margin-bottom: 30px;
    }
    .strip_sec .txt_div h4 {
        font-size: 30px;
    }
    .service_sec .txt_div{
        width:400px;
        margin: 15px auto;
        float: none;
        display: block;
    }
    .count_sec .count_inner{
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        float: left;
        padding: 50px 0px;
    }
    .count_sec #shiva{
        width:250px;
        margin: 15px auto;
        float: none;
        display: block;
        height: auto;
        padding: 15px 15px;
    }       
    .img_list li{
        width:45%;
        margin:2.5%;
        height: 200px;
    }
    .gallery_sec .gal_img_div{
        min-height: 200px;
    }
    div#careerModal .modal-dialog{
        width:80%;
        margin:0;
    }
}

@media only screen and (max-width: 600px) {
    .hdr_div{
        margin-bottom: 20px;
    }
    .title_hd {
        font-size: 30px;
    }
    .strip_sec{
        padding: 30px 0px;
    }
    .strip_sec .txt_div{
        margin-top: 0px;
    }
    .strip_sec .txt_div h4 {
        font-size: 20px;
    }
    .strip_sec a.text_center.white{
        font-size: 30px;
    }
    .whatsapp_img {
        width: 45px;
        vertical-align: top;
    }
    .about_sec, .service_sec, .work_sec {
        padding: 50px 0px;
    }
    .service_sec .txt_div{
        width:350px;
    }
    .work_sec .img_div1{
        min-height: 300px;
    }
    .step_icon{
        position: relative;
        left: 0;
        top: 0;
    }
    .work_sec .txt_div1 h4{
        padding-left: 0px;
    }
    .work_sec .txt_div1{
        padding: 30px 15px;
    }
    .desc1{
        font-size: 16px;
        line-height: 24px;
    }
    .social_list{
        margin-bottom: 0px;
    }
    .foot_grid{
        width: 100%;
        margin-top: 50px;
    }
    .links_txt, .footer_sec p{
        padding-left: 0;
    }
    .footer_sec .medium_hd, .ft_links_list li, .footer_sec p{
        text-align: center;
    }
    .footer_sec p .fa{
        position: relative;
        display: block;
    }
    .footer_sec {
        padding: 70px 0px;
        padding-bottom: 40px;
    }
    .view_more_btn1, .view_more_btn1:focus, .view_more_btn2, .view_more_btn2:focus{
        width: 200px;
        padding: 15px 0px;
        font-size: 13px;
    }
    div#videoModal .modal-dialog{
        width: 90%;
        height: auto;
    }
    div#videoModal .modal-body{
        min-height: 250px;
    }      
    .img_list li{
        height: 150px;
    }
    .gallery_sec .gal_img_div{
        min-height: 150px;
    }
    .contact_form, .contactpg_sec .txt_div{
        padding: 30px 15px;
    }
   .contactpg_sec .txt_div h5, .contactpg_sec .txt_div .desc1{
       padding-left:25px;
   }
   .whatsapp_mob{
       display:block;
   }
   .view_more_btn1, .view_more_btn1:focus{
       right:10px;
   }
   div#image-gallery .modal-body{
       padding:5px;
   }
   button#show-previous-image{
        left: 5px;
        bottom: 5px;
        padding: 3px 8px;
        font-size: 10px;
   }
   button#show-next-image{
        right: 5px;
        bottom: 5px;
        padding: 3px 8px;
        font-size: 10px;
       
   }
   div#image-gallery .modal-body button.close{
        width: 25px;
        height: 25px;
        top: 5px;
        right: 5px;
        font-size: 25px;
        font-weight: 400;
   }
    
}

@media only screen and (max-width: 425px) {
    
    .service_sec .txt_div{
        width:100%;
    }    
    .work_sec .img_div1{
        min-height: 250px;
    }
   
    .timg_div{
        min-height: 200px;        
    }
    .aboutpg_sec .video_div{
        min-height: 250px;
    }
    div#videoModal .modal-dialog{
        width: 95%;
        height: auto;
    }
    div#videoModal .modal-body{
        min-height: 200px;
    }     
    .img_list li{
        width:100%;
        margin:15px 0px;
        height: 250px;
    }
    .gallery_sec .gal_img_div{
        min-height: 250px;
    }
    
    div#careerModal .modal-dialog{
        width:95%;
        margin:0;
    }
}

