@media (max-width: 768px) {
    .gallery-img,
    .gallery-image-main {
        width: 170px;
        height: 170px;
    }
}

@media (max-width: 660px) {
    .profile-wrapper {
        padding: 30px 50px;
    }
    #onscroll-header,
    #onscroll-header-mobile {
        width: calc(100% - 100px);
    }
    .page-links {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 23px;
        line-height: 27.84px;
    }
    .desktopview-header{
        display: none;
    }
    .mobileview-header,
    .user-profile-header-detail {
        display: block;
    }
    .contact-me-btn {
        line-height: 14.52px;
        font-size: 14px;
    }
    .based-in-text,
    .profile-tab {
        font-size: 14px;
    }
    .based-in-text {
        margin-right: 10px;
    }
    
    .basedin-tabination-wrapper {
        padding-bottom: 29px;
    }
    .profile-contents h5 {
        font-size: 16px;
        line-height: 22px;
        max-width: 340px;
        padding-bottom: 17px;
    }
    .profile-address {
        line-height: 18px;
        font-size: 13px;
    }
    .profile-contents {
        padding-bottom: 29px;
    }
    .section-heading-treatment {
        padding-bottom: 16px;
    }
    .custom-accoradion-wrapper .accordion-body h6 {
        line-height: 1.4;
        font-size: 14px;
    }
    .treatment-wrapper {
        padding-bottom: 14px;
    }
    .section-heading-top-links {
        padding-bottom: 22px;
    }

    .custom-accoradion-wrapper .accordion-button {
        font-size: 18px;
    }

    .toplinks-wrapper {
        padding: 7px;
    }
    .toplinks-wrapper img {
        width: 41px;
        height: 38px;
    }
    .toplinks-wrapper span {
        font-size: 15px;
    }
    .toplinks-wrapper {
        margin-bottom: 16px;
    }
    .section-wrapper-top-links {
        padding-bottom: 18px;
    }
    .section-heading-meditation {
        padding-bottom: 20px;
    }
    .section-wrapper-meditation {
        padding-bottom: 17px;
    }
    .section-heading-blog {
        padding-bottom: 18px;
    }
    .section-wrapper-blog {
        padding-bottom: 21px;
    }
    .section-heading-gallery {
        padding-bottom: 21px;
    }
    .gallery-wrapper h5 {
        font-size: 15px;
        line-height: 18.15px;
    }
    .gallery-wrapper {
        padding-bottom: 20px;
    }
    .custom-outline-btn.loadmore-btn {
        font-size: 14px;
        padding: 11.48px 12px;
    }
    .section-wrapper-gallery {
        padding-bottom: 19.52px;
    }
    .section-heading-review {
        padding-bottom: 21px;
    }
    .testimonial-img {
        /*width: 24px;
        height: 24px;*/
        width: 32px;
        height: 32px;
    }
    .testimonial-user-detail h6 {
        font-size: 11px;
    }
    .testimonial-user-detail p {
        font-size: 11px;
    }
    .rating-wrapper {
        margin-bottom: 10px;
        margin-top: 10px;
    }
    .review-main {
        margin-bottom: 28px;
    }
    .section-wrapper-review {
        padding-bottom: 7px;
    }
    .section-heading-work {
        padding-bottom: 22px;
    }
    .map-wrapper iframe {
        height: 176px;
    }
    .primary-btn {
        font-size: 11px;
    }
    .map-button {
        gap: 8px;
        margin-bottom: 18px;
    }
   
    .map-wrapper {
        margin-bottom: 20px;
    }
    .section-wrapper-contact {
        margin-bottom: 40px;
        margin-top: 8px;
    }
    .custom-outline-btn.contact-btn {
        padding: 11.48px 16px;
        font-size: 14px;
        margin-bottom: 14px;
    }
    /* .profile-tab-wrapper {
        padding-bottom: 35px;
    } */
    .profile-detail-wrapper {
        padding-top: 45px;
        /*padding-bottom: 15px;*/
        padding-bottom: 27px;
    }
    #onscroll-header {
        min-height: 3.3rem;
    }
    .blog-detail-img {
        height: 200px;
    }
    .sharelinks {
        margin-bottom: 10px;
    }

    .navbar-nav.custom-navbar-links {
        gap: 12px;
        padding: 15px 21px;
    }
    .navbar-nav.custom-navbar-links .nav-link {
        font-size: 16px;
        line-height: 15.73px;
    }

    /* */

    .custom-modal-dialog .modal-dialog {
        /* position: fixed; */
        bottom: 0;
        /* min-height: auto; */
        /* width: 100%; */
        margin-bottom: 0;
        /* margin: 0; */
        transition: none;
        transform: none;
    }

    .custom-outline-btn.loadmore-btn {
        margin-top: 0;
    }

    .page-links li button {
        font-size: 15px;
    }

    /* .mobile-modal-body {
        height: 166px;
        overflow-y: auto;
    } */

    .custom-modal-dialog .modal-content {
        border-radius: 20px 20px 0 0;
    }
    .modal.custom-modal-dialog {
        --bs-modal-border-width: 100%;
    }
    .modal.custom-modal-dialog.fade .modal-dialog {
        transition: none;
        transform: none;
    }
    .footer-dot-icon button {
        right: 10px;
    }
   
    .gallery-wrapper h6 {
        line-height: 16.94px;
        font-size: 14px;
    }
    .map-detail {
        font-size: 12px;
    }
    #onscroll-header,
    #onscroll-header-mobile {
        min-height: 3.3rem;
        padding: 5px 20px;
    }

    /* */

    .mobile-modal-header .btn-close{
        padding: 0;
    }
    .mobile-modal-header{
        gap: 10px;
    }

    .mobile-modal-body{
        padding: 16px;
    }

    .gallery-image-main{
        margin-bottom: 14px;
    }

    .footer-dentalbio{
        font-size: 15px;
        line-height: 18.15px;
    }
    .digimax-wrapper p{
        font-size: 10px;
    }
}

@media (max-width: 557px) {

    h5 {
        font-size: 16px;
    }

    h6 {
        font-size: 14px;
    }

    .user-profile {
        margin-top: 36px;
    }

    #onscroll-header,
    #onscroll-header-mobile {
        width: calc(100% - 46px);
    }

    .mobileview-header #onscroll-header-mobile {
        padding-left: 0;
        padding-right: 0;
    }
    .mobileview-header #onscroll-header-mobile.stickyhead {
        padding-left: 20px;
        padding-right: 10px;
        top: 23px;
    }


    .basedin-tabination-wrapper .profile-tab {
        padding: 6px 16px 6px 16px;
        font-weight: 600;
    }

    .digimaxStyle .primary-btn {
        padding: 6px 16px 6px 16px;
        font-size: 14px;
    }


    .section-heading-top-links,
    .section-heading-meditation,
    .section-heading-blog,
    .section-heading-gallery,
    .section-heading-review {
        padding-bottom: 21px;
    }

    .section-wrapper-top-links,
    .section-wrapper-meditation,
    .section-wrapper-blog {
        padding-bottom: 20px;
    }

    .toplinks-wrapper.toplinks-without-image {
        padding: 16px 4px;
    }

    .page-links {
        gap: 13px;
        padding: 10px 6px;
        flex-wrap: nowrap;
    }

    .page-links li button {
        font-size: 12px;
    }

    .section-wrapper-review {
        padding-bottom: 20px;
    }

    .map-button {
        gap: 7px;
    }

    .gallery-img,
    .gallery-image-main {
        height: 170px;
        width: 100%;
    }
   
    .custom-navbar-links li a {
        font-size: 12px;
    }
   
    .profile-wrapper {
        /*padding: 30px 23px;*/
        padding: 10px 23px 30px 23px;
    }

    .blog-detail-img {
        height: 240px;
    }

    .map-wrapper iframe {
        height: 230px;
    }
}

@media (max-width: 400px) {
    .footer-dot-icon img {
        width: 20px;
    }
    .gallery-img,
    .gallery-image-main {
        height: 150px;
    }

    .page-links {
        gap: 6px;
        padding: 10px 6px;
    }

    .contact-me-btn {
        font-size: 12px;
        line-height: 14.52px;
    }
    .map-wrapper iframe {
        height: 180px;
    }
}

@media(max-width:390px){
    .custom-modal-header.custom-modal-header-mobile {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mobile-modal-body{
        padding: 6px;
    }
    .sharelinks {
        padding: 10px 12px;
    }
}

@media(max-width: 378px){
    .navbar-nav.custom-navbar-links {
        gap: 8px;
        /* padding: 12px 13px; */
    }
}

@media(max-width: 349px){
    .primary-btn.map-primary-btn {
        padding: 3px 7px;
    }
	.navbar-nav.custom-navbar-links .nav-link {
        font-size: 12px;
    }
}

@media (max-width: 345px) {
    .gallery-img,
    .gallery-image-main {
        height: 140px;
    }
    .page-links {
        gap: 5px;
    }
    .page-links li button {
        font-size: 11px;
    }
    .footer-dot-icon button {
        bottom: 2px;
    }
    .blog-detail-img {
        height: 180px;
    }
    .footer-dot-icon button {
        right: 0px;
    }
    .mobile-logo{
        width: 80px;
    }
}

@media (max-width: 320px) {
    .page-links li button {
        font-size: 10px;
    }
    .contact-me-btn {
        padding: 6px 10px;
    }
}