@media(max-width: 1400px){
    .hero_slider_left_box h2{
        font-size: 55px;
    }
    .happy_chapter h4{
        font-size: 22px;
    }
    .happy_chapter a{
        font-size: 13px;
    }
    .success_box h4{
        font-size: 35px;
    }
    .story_box .start_here{
        font-size: 13px;
    }
    .start_here i{
        font-size: 12px;
        margin-right: 5px;
    }
    .latest_blog_slider_box {
        max-width: 1254px;  
    }
}
@media(max-width: 1199px){
    .navbar .contact-btn,
    .navbar .nav-link{
        font-size: 14px;
    }
    .hero_slider_left_box h2 {
        font-size: 40px;
    }
    .hero_slider_left_box p {
        font-size: 15px;
    }
    .happy_chapter,
    .story_box{
        max-width: 270px;
        margin-bottom: 50px;
    }
    .success_box {
        flex-direction: column;
    }
    .story_box p{
        margin: 10px 0 0 !important;
    }
    .story_box .start_here{
        justify-content: center;
    }
.foot_spacing{
    justify-content: center;
}
    .heading_box span{
        font-size: 30px;
    }
    .heading_box h2,
    .happy_parents .heading_box h2,
    .section-title,
    .why-dr-arindam-rath .heading_box h2{
        font-size: 40px;
    }
    .heading_box p {
        font-size: 25px;    
    }
    .about_dr_left::after {
        width: 243px;
        height: 243px;
    }
    .latest_blog_slider_box {
        max-width: 1085px;
    }
.rg-30 {
    row-gap: 30px;
}
.rg-50 {
    row-gap: 50px;
}
.blog_details .entry-header-style-1 .entry-title {
    font-size: 2.2em;
}
}
@media (min-width: 992px) {
    .blog_details .entry-header-style-1{
        max-width: 800px;
        margin: 0 auto;
    }
}
@media(max-width: 991px){
    .tp-header-main{
        padding: 10px 0;
    }
    .tp-main-menu-content.navbar{
        justify-content: flex-start !important;
    }
    .tp-main-menu-content ul{
        width: 100%;
        display: block;
    }
    .navbar .nav-link{
        padding: 15px 5px !important;
    }
    .nav-item:last-child,
    .nav-item:nth-last-child(2){
        display: none;
    }
    
    .slider_info_box{
        display: flex;
    }
    .happy_chapter{
        margin-left: 0;
    }
    .story_box{
        background: #e9dfe4;
        margin-left: 15px;
    }
    .hero_img_box img {
        width: 100%;
        max-width: 60%;
        margin-left: auto;
    }
    .about_dr_dep p {
    text-align: center;
}
.why-dr-arindam-rath .left-image video{height: auto;}
.why-dr-arindam-rath .left-image {
    position: relative;
    height: 100%;
    min-height: auto;
    overflow: hidden;
}
.why-dr-arindam-rath {
    padding-top: 40px;
}
    .about_dr_left::after{
        width: 160px;
        height: 160px;
        top: 30px;
    }
    .about_dr_dep img {
        margin-top: 0;
    }
    .why-dr-arindam-rath .container-fluid{
        margin: 0;
    }
    .left-image img{
        width: 100%;
        border-radius: 10px;
    }
    .why-dr-arindam-rath .stat-item .number{
        font-size: 35px;
    }
    .why-dr-arindam-rath .stat-item {
        width: 31%;
    }
    #slider-wrapper {
        /*height: 560px;*/
        margin-top: 30px;
    }
    .latest_blog_slider_box {
        max-width: 852px;
    }
    .about_bg_box {
        top: 38%;
        width: 50%;
    }
.tj-page-header {
    padding-top: 110px;
    padding-bottom: 30px;
}
.tj-page-link{margin-top: 5px;}
.tj-page-title {
    font-size: 30px;
}
.tj-page-link span{font-size: 12px;}
.section-space {
    padding: 80px 0;
}
.contact-form{margin-inline-start: 0px; margin-inline-end: 0;}
.blog_details .entry-header-style-1 .entry-title {
    font-size: 2em;
}
.serv_items h3 {
    font-size: 20px;
}
.serv_items p{line-height: 1.25}
.services-header{
    /*padding-top: 200px;
    padding-bottom: 100px;*/
}
section.error-404 {
    padding: 100px 0;
}
section.error-404 h2.not-found-text{
    font-size: 100px;
}

}
@media (min-width: 768px) {
    .grid-sizer, .grid-item {
        width: 33.333%;
    }
}
@media(max-width: 767px){
    .about_dr_left_box{
        margin-bottom: 30px;
    }
.custom-dots{display: none;}
    .hero_banner{
        padding-top: 120px;
    }
    .heading_box span {
        font-size: 25px;
    }
    .sec-heading h2.sec-title{font-size: 40px;}
    .heading_box h2 {
        font-size: 30px;
    }
    .heading_box p {
        font-size: 20px;
        margin-top: 5px;
    }
    .heading_box h2, .happy_parents .heading_box h2, .section-title, .why-dr-arindam-rath .heading_box h2 {
        font-size: 30px;
    }
    .about_dr,
    .fertility_service,
    .why-dr-arindam-rath .right-content,
    .happy_parents,
    .contact-section,
    .latest_blog,
    .why-hero{
        padding: 50px 0;
    }
    .ivf-card{
        margin: 30px 0;
    }
    .why-dr-arindam-rath .stat-item {
        width: 100%;
    }
    .why-dr-arindam-rath .stat-item .desc{
        margin-top: 15px;
    }
    #slider-wrapper {
        /*height: 630px;*/
        margin-top: 0;
    }
    .parent_bottom_box{
        flex-direction: column;
        align-items: flex-start !important;
    }
    .first-card{
        transform: translateY(0px) !important;
    }
    .latest_blog_slider.owl-theme .owl-nav{
        right: 15px;
        top: -70px;
    }
    .latest_blog_slider.owl-theme .owl-nav [class*=owl-] {
        width: 40px;
        height: 40px;
    }
    .latest_blog_slider.owl-theme .owl-nav [class*=owl-] i {
        font-size: 15px;
    }
    .latest_blog_slider_box {
        max-width: 654px;
    }
    .newsletter-text {
        flex: unset;
        width: 100%;
    }
    .footer-menu{
        margin: 20px 0 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    /*.loading{
        transform: translate(-50%);
        left: 50%;
    }*/
    /*.loading svg{
        transform: scale(0.6) !important;
        overflow: visible;
    }*/
    .happy_parents::after{
        left: 0;
    }
    .contact-section::before{
        display: none;
    }
    .contact-section::after{
        left: 0;
        background-size: contain;
        width: 30%;
    }
    .about_bg_box {
        top: 40%;
        width: 100%;
    }
    .serv_items{
        min-height: auto;
    }
    .serv_items p {
        line-height: 1.25;
    }
    .footer_fom {
        width: 100%;
        display: flex;
    }
    .footer_fom p {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
    }
    .footer_fom input.email-input {
        width: 100%;
    }
    .footer_fom input.btn.subscribe-btn {
        margin-left: 0;
        margin-top: 10px;
    }
    .footer_fom span.wpcf7-form-control-wrap {
        width: 100%;
    }
    .about-header h1.tj-page-title {
        bottom: -5px;
        font-size: 35px;
    }
    .quote-box {
        padding: 35px 25px;
    }

}

@media(max-width: 575px){
    .hero_slider_left_box h2{
        font-size: 32px;
    }
.happy_chapter{
    background: none;
}
    .happy_chapter{
        padding: 30px;
        /*max-width: 100%;*/
        margin-top: 0;
        max-width: auto;
    }
    .happy_chapter a {
        padding: 10px 10px;
        font-size: 16px;
        border-radius: 6px;
    }
    .happy_chapter a i {
        margin-left: 5px;
        font-size: 8px;
    }
    .success_box p{
        font-size: 15px;
    }
    .success_box h4,
    .happy_chapter h4{
        font-size: 20px;
    }
    .start_here i {
        font-size: 8px;
    }
    .about_dr_left_box{
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px;
    }
    .story_box{
        display: none;
    }
.contact-form .title{font-size: 26px;}
.blog_details .entry-header-style-1 .entry-title{
    font-size: 1.5em;
}
.entry-main-content {
    font-size: 14px;
}
.services-header h1.tj-page-title{font-size: 30px; bottom: 0;}
}
@media(max-width: 480px){
    .success_box p {
        font-size: 12px;
    }
    /*.loading {
        transform: translate(-50%);
        left: 41%;
    }*/
    .custom-dots .custom-dot .dot-image {
        width: 50px;
        height: 50px;
    }
    .custom-dots {
        bottom: 95px;
    }
    .about_bg_box {
        top: 42%;
        width: 65%;
    }
}
@media(max-width: 400px){
    /*.loading {
        transform: translate(-50%);
        left: 33%;
    }*/
    .heading_box h2, .happy_parents .heading_box h2, .section-title, .why-dr-arindam-rath .heading_box h2 {
        font-size: 25px;
    }
    .form-title {
        font-size: 20px;
        margin: 15px 0 20px;
    }
    .custom-acc .accordion-button{
        font-size: 18px;
    }
    .about_bg_box {
        top: 44%;
        width: 65%;
    }
}

@media(min-width: 320px){
    .latest_blog_slider .owl-item{
        padding: 0 15px;
    }
}
@media(min-width: 1500px){
    .latest_blog_slider .owl-item{
        padding: 0px;
    }
}
@media(min-width: 1800px){
    .latest_blog_slider_box {
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 70px;
    }
    .latest_blog_slider.owl-theme .owl-nav {
        position: absolute;
        right: 10px;
        top: -192px;
    }
}