@media (max-width:1700px) {
    .container {
        max-width: 95%;
    }
    .header-menu, .top-header, footer .footer, footer .sub-footer, .home-logo-carousel .container {
        max-width: 95% !important;
    }
    .section-space {
        padding: 2em;
    }
    header .logo-header {
        flex-basis: 20% !important;
    }
    header .header-navlinks {
        flex-basis: 50% !important;
    }
    header .two-btn {
        flex-basis: 22% !important;
    }
    .meet-the-team .content p {
        margin: 8px 0;
    }
    .content-pages .denplan-essentials-fees.policy-table {
        max-width: 100%;
    }
}
@media (max-width:1600px) {
    body {
        font-size: 17px;
    }
    .single .blog-left-part ul li {
        font-size: 17px;
    }
    .single .blog-left-part ul li::before {
        top: 4px;
    }
    .single .blog-left-part ol {
        padding-left: 20px;
    }
    h2 {
        font-size: 2.5em;
    }
    h4 {
        font-size: 26px;
    }
    .home-blog .columns-3 {
        margin: auto !important;
        max-width: 85% !important;
    }
    .container {
        max-width: 85%;
    }
    .blogs {
        max-width: 85%;
    }
    .instagram-grid img {
        width: 110px;
    }
    #mega-menu-wrap-max_mega_menu_2 #mega-menu-max_mega_menu_2 > li.mega-menu-item > a.mega-menu-link,
    #mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 > li.mega-menu-item > a.mega-menu-link  {
        font-size: 15px;
        width: max-content;
    }
    footer .opening-hours li {
        font-size: 15px;
    }
    .home-slider-banner h3 {
        font-size: 2.5em !important;
    }
    .home-services-flex .d-flex .img-box h5 {
        font-size: 1.2em;
        padding: 20px 15px;
    }
    .home-blog .columns-3 li h3 {
        font-size: 1.1em !important;
    }
    .home-meet-team .right-part {
        padding-left: 2.5em;
    }
    .home-meet-team.img-right .right-part {
        padding-right: 2.5em;
    }
    .dental-implant-procedure {
        padding: 70px 0;
    }
    .invisalign-provider-video h3 {
        font-size: 28px;
    }
    .footer-contact-details .contact-details li {
        font-size: 15px;
    }
    .blogs .blog-flex {
        padding: 0 15px !important;
    }
    .content-pages h3 {
        font-size: 24px;
    }
}
@media (max-width:1500px) {
    body {
        font-size: 15px;
    }
    .single .blog-left-part ul li {
        font-size: 15px;
    }
    header .two-btn {
        flex-basis: 25% !important;
    }
    .instagram-grid img {
        width: 100px;
    }
    .home-slider-banner h1 {
        font-size: 3.2em !important;
    }
    .home-slider-banner h3 {
        font-size: 1.8em !important;
    }
    .width-82 {
        width: 90%;
    }
    h2 {
        font-size: 2.3em;
    }
    .internal-top-banner h1 {
        font-size: 3em;
    }
    .home-welcome-section .left-part .logo {
        height: 52px;
    }
    .home-welcome-section .left-part .common-btn, .book-appointment-footer .common-btn, .common-link {
        font-size: 16px;
    }
    .common-btn {
        font-size: 16px;
    }
    .about-patients-say p {
        font-size: 16px;
    }
    .why-choose-us-implants .img-text .circle {
        height: 120px;
        width: 120px;
    }
    .why-choose-us-implants .img-text h5 {
        font-size: 16px;
    }
    .home-meet-team.latest-technology ul {
        padding-top: 0;
    }
    .home-meet-team ul li::before {
        top: 2px;
    }
    .footer-form .left-part .img-text {
        padding-top: 40px;
    }
    .home-meet-team ul li, .home-meet-team ul li:last-child {
        padding: 0 0 1em 1.8em;
    }
    .book-appointment-footer p {
        font-size: 1.1em;
    }
    .get-in-touch-form .submit-btn {
        font-size: 16px;
    }
    .home-welcome-section .left-part {
        padding-right: 50px;
    }
    .header-menu .btn-flex a {
        font-size: 16px;
    }
    .brown-bg-services {
        padding: 125px 0;
        margin-bottom: -13em;
    }
    .why-choose-us-implants.about-treatments {
        padding: 4em 0;
    }
    .meet-the-team .content h3 {
        font-size: 20px;
    }
    .meet-the-team .content a {
        font-size: 16px;
    }
    .dental-implant-procedure .number {
        font-size: 24px;
        height: 50px;
        width: 50px;
        line-height: 48px;
    }
    h4 {
        font-size: 24px;
    }
    .accordion details summary {
        font-size: 18px;
    }
    .denplan-essentials-boxes .d-flex .box h3 {
        font-size: 22px;
    }
    .denplan-essentials-boxes .d-flex .box ul li {
        line-height: 1.8;
    }
    .denplan-essentials-fees .pricing-table th {
        font-size: 18px;
    }
    .denplan-essentials-fees .pricing-table td {
        font-size: 16px;
    }
    .home-meet-team ul ul li::before {
        top: -1px;
    }
    .why-choose-us-implants .img-text p {
        font-size: 16px;
    }
    .contact-getting-us .right-part h3 {
        font-size: 2.3em;
    }
    .contact-getting-us .right-part .d-flex .text h5 {
        font-size: 20px;
    }
    .contact-getting-us .right-part .d-flex .text p {
        font-size: 16px;
    }
    .content-pages ul li::before {
        top: 3px;
    }
    .content-pages ul li {
        padding: 0 0 1em 1.8em;
    }
    .blogs .blog-flex .blog-right-part a {
        font-size: 16px;
    }
    .fees-page .pricing-table .service {
        font-size: 1em;
    }
    .dental-referrals-form .referral-form {
        margin: 60px auto 0;
    }
}
@media (max-width:1400px) {
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
        padding: 0 14px;
    }
    header .header-navlinks {
        flex-basis: 52% !important;
    }
    header .top-line-address {
        flex-basis: 45% !important;
    }
    footer ul.opening-hours {
        width: 108%;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
        padding: 0px 14px;
    }
}
@media (max-width:1340px) {
    header .logo-header {
        flex-basis: 25% !important;
    }
    header .header-navlinks {
        flex-basis: 70% !important;
        text-align-last: end;
    }
    header .two-btn {
        display: none;
    }
    header .header-navlinks .mega-sub-menu {
        text-align-last: left;
    }
    .main-footer .footer {
        flex-wrap: wrap !important;
    }
    .main-footer .footer .wp-block-column {
        flex-basis: 46% !important;
    }
    footer ul.opening-hours {
        width: 45%;
    }
    footer .sub-footer .d-flex {
        display: block;
        text-align: center;
    }
    footer .sub-footer .d-flex ul {
        justify-content: center;
    }
    footer .sub-footer .right-part p {
        text-align: center;
    }
    .home-slider-banner h1 {
        font-size: 2.5em !important;
    }
    .home-slider-banner h3 {
        font-size: 1.4em !important;
    }
    .home-slider-banner .n2-ss-section-main-content {
        margin-top: 2.5em;
    }
    .home-services-flex .d-flex .img-box h5 {
        font-size: 1.1em;
        padding: 20px 10px;
    }
    .section-space {
        padding: 1.667em;
    }
    .brown-bg-services {
        padding: 115px 0;
    }
    div#n2-ss-2 .nextend-arrow img {
        width: 20px;
    }
    div#n2-ss-2-arrow-previous {
        -widget-offset: 20px !important;
    }
    .owl-nav .owl-prev span, .owl-nav .owl-next span {
        line-height: 38px;
        width: 50px;
        height: 50px;
    }
    .about-patients-say .owl-nav .owl-prev span {
        left: -50px;
    }
    .about-patients-say .owl-nav .owl-next span {
        right: -50px;
    }
    .width-82 {
        width: 100%;
    }
    .book-appointment-footer {
        padding: 2.5em 0 3em;
    }
    .meet-the-team .modal-overlay .modal-box {
        max-width: 90%;
    }
    #mega-menu-wrap-max_mega_menu_3 {
        margin-left: 0;
    }
}
@media (max-width:1160px) {
    .d-flex {
        display: block;
    }
    .meet-farhan-janjua.meet-dental-hygienists .d-flex {
        display: flex;
    }
    .main-header .top-header-address span, .main-header .top-header-mail span {
        font-size: 13px;
    }
    footer ul.opening-hours {
        width: 50%;
    }
    .home-welcome-section .left-part {
        padding-right: 0;
        padding-bottom: 30px;
        width: 100%;
    }
    .home-welcome-section .right-part {
        width: 100%;
        text-align: left;
    }
    .home-welcome-section .right-part img {
        width: 45%;
    }
    .home-meet-team .left-part {
        width: 100%;
    }
    .home-meet-team img {
        width: 45%;
    }
    .home-meet-team .right-part {
        width: 100%;
        padding-left: 0;
        padding-top: 30px;
    }
    .home-meet-team.img-right .right-part {
        padding-right: 0;
        padding-top: 0;
    }
    .home-meet-team.img-right .left-part {
        padding-top: 30px;
    }
    .home-services-flex .d-flex .img-box {
        width: 100%;
    }
    .home-services-flex .d-flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .home-services-flex .d-flex a {
        width: 46%;
        margin: 0 1em 2em;
    }
    .home-services-flex .d-flex .img-box h5 {
        font-size: 1.4em;
    }
    .home-services-flex .d-flex .img-box img {
        width: 100%;
    }
    .home-services-flex .common-link {
        margin-top: 0.5em;
    }
    .footer-form .left-part {
        width: 100%;
        padding-bottom: 50px;
    }
    .footer-form .right-part {
        width: 100%;
        justify-items: center;
    }
    .container.about-patients-say {
        max-width: 88%;
    }
    .why-choose-us-implants.about-treatments .d-flex {
        display: flex;
        flex-wrap: wrap;
    }
    .section-border {
        margin: 2em 0;
    }
    .dental-implant-procedure {
        padding: 50px 0;
    }
    .why-choose-us-implants {
        padding: 3em 0 18em;
    }
    .why-choose-us-implants .d-flex {
        display: flex;
        flex-wrap: wrap;
    }
    .dental-implant-restorations {
        padding: 2.5em 0;
    }
    .dental-implant-restorations .d-flex {
        display: flex;
        flex-wrap: wrap;
    }
    .accordion details summary {
        font-size: 17px;
    }
    .footer-form {
        padding: 3em 0;
    }
    .get-in-touch-form {
        max-width: 55% !important;
        margin: auto;
    }
    .denplan-essentials-boxes .d-flex {
        display: flex;
        gap: 15px;
    }
    .denplan-essentials-boxes .d-flex .box {
        padding: 20px;
    }
    .denplan-essentials-boxes .d-flex .box h3 {
        font-size: 20px;
    }
    .join-denplan-essentials {
        max-width: 450px;
        padding: 10px 10px 30px;
    }
    .join-denplan-essentials img {
        max-width: 250px;
        margin-bottom: 10px;
    }
    .internal-top-banner h1 {
        width: 100%;
        text-align: center;
    }
    footer .footer {
        gap: 20px;
        justify-content: space-between;
    }
    .why-choose-us-implants.why-choose-invisalign {
        padding: 3em 0;
    }
    .invisalign-provider-video video {
        max-width: 70%;
    }
    .invisalign-provider-video h3 {
        padding: 20px 0 30px;
    }
    .boutique-teeth-whitening img {
        height: 180px;
    }
    .book-appointment-footer .common-btn {
        margin-top: 2em;
    }
    .contact-details p {
        padding: 2em 0;
    }
    .contact-details .d-flex {
        display: flex;
        gap: 20px;
    }
    .contact-details .d-flex .left-part, .contact-details .d-flex .right-part {
        width: 50%;
        padding: 25px 20px 30px;
    }
    .footer-form.contact-form .d-flex .left-part iframe, .footer-form.contact-form .d-flex .left-part #map {
        height: 370px;
    }
    .contact-details .d-flex ul {
        margin: 1em auto;
    }
    .contact-getting-us .left-part {
        width: 100%;
    }
    .contact-getting-us .d-flex {
        margin-top: 1em;
    }
    .contact-getting-us .d-flex.last-box {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 0;
    }
    .contact-getting-us .right-part h3 {
        font-size: 32px;
        padding-bottom: 0.3em;
    }
    .contact-getting-us .left-part img {
        width: 100%;
        height: 430px;
        object-fit: cover;
        object-position: top;
    }
    .contact-getting-us .right-part .d-flex .text {
        width: 100%;
    }
    .contact-getting-us .right-part {
        width: 100%;
        text-align: center;
        padding: 2em;
    }
    .contact-getting-us .d-flex .d-flex {
        margin-top: 1em;
    }
    .contact-getting-us .right-part .d-flex .text h5 {
        padding: 0.6em 0 0.4em;
    }
    .contact-getting-us .right-part .d-flex {
        padding-bottom: 1em;
    }
    .dental-referrals-form .referral-form {
        margin: 50px auto 0;
        padding: 20px;
    }
    .dental-referrals-form .submit-wrapper {
        margin-top: 20px;
    }
    .container.contact-getting-us {
        padding: 0;
    }
    #mega-menu-wrap-max_mega_menu_2 .mega-menu-toggle + #mega-menu-max_mega_menu_2,
    #mega-menu-wrap-max_mega_menu_3 .mega-menu-toggle + #mega-menu-max_mega_menu_3 {
        overscroll-behavior: auto;
    }
    .blogs .featured-image {
        height: 400px;
    }
    .single .wp-block-post-featured-image {
        height: 400px;
    }
    .treatments-services-banner .d-flex {
        display: flex;
    }
    .treatments-services-banner .img-text-box .main-img .img {
        width: 64px;
        height: 64px;
    }
    .treatments-services-banner .img-text-box .main-img .img img {
        height: 40px;
    }
    .treatments-services-banner .img-text-box h4 {
        padding: 1.4em 0 0.5em;
        font-size: 20px;
    }
    .home-meet-team.what-composite-bonding .left-part {
        height: auto;
    }
    .home-meet-team.benefits-of-invisalign .left-part {
        height: auto;
    }
    .home-meet-team.initial-routine-examination .left-part {
        height: auto;
    }
    .home-meet-team.root-canal-treatment-section .left-part {
        height: auto;
    }
    .home-meet-team.dental-hygiene-services .left-part {
        height: auto;
    }
    .home-services-flex .common-btn {
        margin-top: 1em;
    }
    .content-pages h3 {
        font-size: 22px;
    }
    .single .blog-left-part .d-flex {
        display: flex;
    }
}
@media (min-width:1025px) {
    /* Make submenu 2 columns */
    .two-colums .mega-sub-menu {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0px;
        width: 500px !important;
    }
    /* .two-colums .mega-sub-menu li:nth-child(odd) {
        border-right: 1px solid #444444 !important;
    } */
}
@media (min-width:1025px) and (max-width:1330px) {
    .two-colums .mega-sub-menu {
        width: 460px !important;
    }
}
@media (max-width:1024px) {
    .container {
        max-width: 97%;
    }
    .blogs {
        max-width: 100%;
    }
    header .top-header {
        display: none;
    }
    header .phone-icon {
        display: flex;
        position: absolute;
        top: 23px;
        right: 120px;
        margin-top: 0;
        z-index: 9;
    }
    header .phone-icon img {
        height: 24px;
        width: auto;
    }
    header .calendar-icon {
        display: flex;
        position: absolute;
        top: 23px;
        right: 80px;
        margin-top: 0;
        z-index: 9;
    }
    header .calendar-icon img {
        height: 24px;
        width: auto;
    }
    header.is-sticky .phone-icon {
        top: 15px;
    }
    header.is-sticky .calendar-icon {
        top: 14px;
    }
    header .header-menu {
        padding: 1em 0;
    }
    header .mega-toggle-block {
        margin: 0 !important;
    }
    #mega-menu-wrap-max_mega_menu_1 {
        position: relative;
        text-align: right;
        display: flex;
        justify-content: end;
    }
    #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle {
        display: inline-block;
        line-height: inherit;
        height: inherit;
        background-color: transparent;
    }
    #mega-menu-wrap-max_mega_menu_1, .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block:only-child {
        margin-left: 0;
        width: 100%;
    }
    #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
        background-color: #475272;
    }
    #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle.mega-menu-open + #mega-menu-max_mega_menu_1 {
        padding-top: 50px;
        width: 100%;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link:last-child {
        margin-right: 0;
        padding: 0;
        display: block !important;
        text-align-last: left;
        align-content: center;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
        background-color: transparent;
        color: #fff;
        font-size: 17px;
    }
    #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle ~ button.mega-close:before {
        width: 40px;
        height: 45px;
        font-size: 24px;
    }
    #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle.mega-menu-open ~ button.mega-close {
        left: inherit;
        right: 0;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
        color: #fff !important;
        font-size: 17px !important;
        padding: 0 15px !important;
        height: 50px !important;
        align-items: center !important;
        display: block !important;
        text-align-last: left;
        align-content: center;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu {
        margin-top: 0;
        width: 100%;
    }
    .two-colums .mega-sub-menu {
        width: 100% !important;
    }
    .two-colums .mega-sub-menu li:nth-child(odd) {
        border-right: none !important;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item:last-child > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        font-size: 17px;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
        display: block;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
        display: block;
        font-size: 24px;
        right: 20px;
        width: 0;
    }
    #mega-menu-wrap-max_mega_menu_2 .mega-menu-toggle + #mega-menu-max_mega_menu_2,
    #mega-menu-wrap-max_mega_menu_3 .mega-menu-toggle + #mega-menu-max_mega_menu_3 {
        background-color: transparent;
        position: inherit;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: max-content;
        top: 0;
        visibility: visible;
        display: block;
        z-index: 1;
        left: auto;
    }
    #mega-menu-wrap-max_mega_menu_2 .mega-menu-toggle, #mega-menu-wrap-max_mega_menu_3 .mega-menu-toggle {
        display: none;
    }
    footer ul.opening-hours {
        width: 60%;
    }
    #mega-menu-max_mega_menu_1 .mega-current-menu-item > a, #mega-menu-max_mega_menu_1 .mega-current_page_item > a, #mega-menu-max_mega_menu_2 .mega-current-menu-item > a, #mega-menu-max_mega_menu_2 .mega-current_page_item > a, #mega-menu-max_mega_menu_3 .mega-current-menu-item > a, #mega-menu-max_mega_menu_3 .mega-current_page_item > a {
        color: #ffffff !important;
        background-color: #977c4d !important;
    }
    .blogs .blog-flex {
        display: block;
    }
    .blogs .blog-flex .blog-left-part {
        width: 100%;
    }
    .blogs .blog-flex .blog-right-part {
        width: 100%;
        max-width: 100% !important;
        margin: 50px 0 0 0 !important;
    }
    .blogs .blog-flex .blog-right-part .wp-block-latest-posts,
    .blogs .blog-flex .blog-right-part .wp-block-categories-list,
    .blogs .blog-flex .blog-right-part h5 {
        max-width: 100%;
    }
    .blogs .blog-flex .blog-right-part .wp-block-latest-posts__featured-image {
        width: fit-content;
    }
    .blogs .featured-image {
        height: 400px;
    }
    .blogs .blog-flex .blog-right-part .wp-block-categories-list li::before {
        top: 14px;
    }
    .blogs .featured-image {
        height: 300px;
    }
    .single .wp-block-post-featured-image {
        height: 300px;
    }
    div#n2-ss-2 .nextend-arrow {
        margin-left: 30px;
        margin-right: 30px;
    }
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu {
        padding: 0;
    }
    .denplan-essentials-fees .pricing-table th {
        font-size: 16px;
    }
}
@media (max-width:900px) {
    .container {
        width: auto;
        padding: 0 15px;
    }
    .blogs {
        width: auto;
        padding: 0 15px;
    }
    header .wp-block-site-logo a, .wp-block-site-logo img {
        border-radius: inherit;
        width: 230px;
    }
    header .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 40% !important;
    }
    header .header-menu {
        gap: 0;
        padding: 15px 0;
    }
    footer ul.opening-hours {
        width: 70%;
    }
    .home-slider-banner a {
        font-size: 1em !important;
    }
    .home-slider-banner .n2-ss-section-main-content {
        margin-top: 0;
    }
    div#n2-ss-2-arrow-previous, div#n2-ss-2-arrow-next {
        display: none;
    }
    .home-services-flex .d-flex a {
        width: 44%;
    }
    .home-services-flex .d-flex .img-box h5 {
        font-size: 1.2em;
    }
    .home-meet-team img {
        width: 55%;
    }
    .get-in-touch-form {
        max-width: 80% !important;
    }
    .owl-nav .owl-prev span, .owl-nav .owl-next span {
        line-height: 30px;
        width: 40px;
        height: 40px;
    }
    .about-patients-say .owl-nav .owl-prev span, .about-patients-say .owl-nav .owl-next span {
        font-size: 35px;
    }
    .why-choose-us-implants.about-treatments {
        padding: 2.5em 0 1.5em;
    }
    .why-choose-us-implants.about-treatments .d-flex {
        padding-top: 2em;
    }
    .why-choose-us-implants.about-treatments .img-text {
        width: 30%;
        margin-bottom: 1em;
    }
    .why-choose-us-implants.about-treatments .d-flex {
        justify-content: center;
    }
    .why-choose-us-implants .img-text:not(:last-child)::after {
        display: none;
    }
    .meet-the-team .box {
        width: 46%;
    }
    .internal-top-banner h1 {
        font-size: 2.5em;
    }
    .footer-form .left-part .img-text {
        padding-top: 20px;
    }
    h2 {
        font-size: 2em;
    }
    .why-choose-us-implants .img-text {
        width: 50%;
        margin-bottom: 2em;
    }
    .why-choose-us-implants {
        padding: 3em 0 15em;
    }
    .dental-implant-restorations .d-flex .white-bg {
        width: 100%;
        margin: 1.4em 0 0;
        padding: 1em;
    }
    .denplan-essentials-boxes .d-flex {
        display: block;
    }
    .denplan-essentials-boxes .d-flex .box {
        padding: 15px;
        margin-bottom: 1.5em;
    }
    .meet-farhan-janjua.meet-dental-hygienists h2 {
        padding-bottom: 14px;
    }
    .why-choose-us-implants .d-flex {
        padding-top: 2.5em;
    }
    .why-choose-us-implants.dental-check-ups {
        padding: 2.5em 0 1em;
    }
    .fees-page .pricing-table .section-title {
        padding: 10px 15px;
    }
    .fees-page .pricing-table .row {
        padding: 9px 15px;
    }
    .contact-details .d-flex .left-part, .contact-details .d-flex .right-part {
        width: 100%;
        padding: 25px 15px 30px;
        margin: 2em 0 0;
    }
    .contact-details .d-flex {
        display: block;
    }
    .contact-details p {
        padding: 2em 0 0;
    }
    .contact-details .d-flex .right-part {
        padding-bottom: 10px;
    }
    .book-appointment-footer .common-btn {
        margin-top: 1.5em;
    }
    .contact-getting-us .left-part img {
        height: 300px;
    }
    .home-blog .columns-3 {
        max-width: 50% !important;
        gap: 40px 0;
        display: flex;
        flex-wrap: wrap;
    }
    .home-blog .columns-3 li h3 {
        padding: 15px 0;
        font-size: 1.2em !important;
    }
    .home-blog {
        margin: 0;
    }
    .home-blog .columns-3 li h3 {
        font-size: 1em !important;
    }
    header .phone-icon {
        right: 110px;
    }
    header .calendar-icon {
        right: 70px;
        top: 22px;
    }
    .blogs .blog-flex .blog-right-part a {
        font-size: 16px;
    }
    .blogs .blog-flex .blog-right-part h5 {
        font-size: 22px;
    }
    .home-welcome-section .left-part .small-font {
        font-size: 1.4em;
    }
    .content-pages .denplan-essentials-fees.policy-table {
        padding: 0;
    }
    .content-pages h3 {
        font-size: 20px;
    }
}
@media (max-width:750px) {
    footer ul.opening-hours {
        width: 80%;
    }
    .treatments-services-banner .d-flex {
        flex-wrap: wrap;
    }
    .treatments-services-banner .img-text-box {
        width: 48%;
        padding-bottom: 2em;
    }
    .treatments-services-banner .img-text-box:last-child {
        padding-bottom: 0;
    }
    .treatments-services-banner .img-text-box .main-img .img {
        width: 82px;
        height: 82px;
    }
    .treatments-services-banner .img-text-box .main-img .img img {
        height: 50px;
    }
    .treatments-services-banner .img-text-box h4 {
        padding: 1.4em 0 0.5em;
        font-size: 20px;
    }
    .content-pages .denplan-essentials-fees.policy-table .table-container {
        overflow: auto;
    }
}
@media (max-width:650px) {
    body {
        font-size: 16px;
    }
    .single .blog-left-part ul li {
        font-size: 16px;
    }
    .section-space {
        padding: 1.5em;
    }
    .internal-top-banner h1 {
        font-size: 2.1em;
        padding: 0 10px;
        top: 75%;
    }
    h2 {
        font-size: 1.8em;
    }
    .main-footer .footer .wp-block-column {
        flex-basis: 100% !important;
    }
    footer ul.opening-hours {
        width: 50%;
    }
    .main-footer .footer {
        gap: 10px;
        padding: 2.5em 15px;
        margin: 0 !important;
    }
    .footer-contact-details {
        margin-bottom: 1em !important;
    }
    footer .sub-footer p {
        font-size: 13px;
    }
    footer .sub-footer .d-flex ul {
        flex-wrap: wrap;
    }
    footer ul.opening-hours {
        width: 70%;
    }
    .n2-ss-slider .n2-ss-slider-wrapper-outside, .n2-ss-slider .n2-ss-slider-wrapper-inside {
        height: 400px;
    }
    .home-slider-banner h1 {
        font-size: 2em !important;
    }
    .home-slider-banner h3 {
        font-size: 1.2em !important;
    }
    .home-welcome-section .left-part .logo {
        height: 40px;
    }
    .container {
        max-width: 100%;
    }
    h4 {
        font-size: 22px;
        line-height: normal;
    }
    .home-welcome-section .right-part img {
        width: 100%;
    }
    .home-services-flex .d-flex a {
        width: 100%;
        margin: 0 0 1.5em;
    }
    .home-meet-team img {
        width: 100%;
    }
    .footer-form .cherwell-logo {
        height: 3.2em;
    }
    .footer-form .left-part {
        padding-bottom: 40px;
    }
    .get-in-touch-form {
        max-width: 100% !important;
    }
    .get-in-touch-form .wpcf7-acceptance {
        font-size: 15px !important;
        line-height: 1.6;
    }
    .home-blog .columns-3 {
        max-width: 88% !important;
        gap: 30px 0;
    }
    .home-logo-carousel {
        margin-top: 0;
    }
    #mega-menu-wrap-max_mega_menu_2 #mega-menu-max_mega_menu_2 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_2 #mega-menu-max_mega_menu_2 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_2 #mega-menu-max_mega_menu_2 > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_2 #mega-menu-max_mega_menu_2 > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 > li.mega-menu-item > a.mega-menu-link {
        margin-bottom: 1em;
    }
    footer .footer, footer .sub-footer {
        max-width: 100% !important;
    }
    #mega-menu-wrap-max_mega_menu_2 li a:before, #mega-menu-wrap-max_mega_menu_3 li a:before {
        top: 3px !important;
    }
    footer .opening-hours li {
        font-size: 15px;
        margin-bottom: 1em;
    }
    footer .sub-footer {
        padding: 1em;
    }
    .internal-top-banner img {
        height: 210px;
        object-fit: cover;
    }
    .owl-nav .owl-prev span, .owl-nav .owl-next span {
        position: relative;
    }
    .about-patients-say .owl-carousel .owl-nav {
        position: relative;
        display: block;
        margin-top: 20px;
    }
    .about-patients-say .owl-nav .owl-prev span {
        left: -15px;
    }
    .about-patients-say .owl-nav .owl-next span {
        right: -15px;
    }
    .why-choose-us-implants.about-treatments .img-text {
        width: 50%;
        margin-bottom: 1em;
        padding: 0;
    }
    .meet-the-team h2 {
        margin-bottom: 30px;
    }
    .meet-the-team .box {
        width: 100%;
    }
    .meet-the-team .content {
        padding: 15px 10px;
    }
    .accordion details summary {
        padding: 7px 12px;
    }
    .why-choose-us-implants .img-text {
        width: 100%;
    }
    .meet-farhan-janjua img {
        width: 100%;
    }
    .dental-implant-restorations .d-flex {
        padding-top: 1em;
    }
    .dental-implant-procedure {
        padding: 40px 0 50px;
    }
    .denplan-essentials-fees .table-container {
        max-width: 100%;
        margin: 30px auto 0;
    }
    .denplan-essentials-fees .pricing-table td {
        padding: 13px 10px;
    }
    .denplan-essentials-fees .pricing-table td {
        font-size: 15px;
    }
    .join-denplan-essentials {
        max-width: 93%;
    }
    .join-denplan-essentials img {
        max-width: 250px;
        margin-bottom: 0;
    }
    .brown-bg-services {
        margin-bottom: -12em;
    }
    .meet-farhan-janjua.meet-dental-hygienists .d-flex .img-text {
        margin: 0 10px;
    }
    .meet-farhan-janjua.meet-dental-hygienists .d-flex .img-text img {
        height: auto;
        width: 100%;
    }
    .meet-farhan-janjua h4 {
        font-size: 1.1em;
    }
    .invisalign-provider-video h3 {
        font-size: 21px;
    }
    .invisalign-provider-video video {
        max-width: 100%;
    }
    .dental-implant-procedure .content {
        margin-bottom: 30px;
    }
    iframe {
        width: 100%;
    }
    .boutique-teeth-whitening img {
        height: 160px;
    }
    .accordion details[open] .content {
        padding: 20px 0;
    }
    .tooth-wear-farhan-janjua img {
        width: 100%;
    }
    .contact-details .d-flex ul li {
        line-height: 2;
    }
    .footer-form.contact-form .d-flex .left-part iframe, .footer-form.contact-form .d-flex .left-part #map {
        height: 300px;
    }
    .contact-getting-us .left-part img {
        height: 230px;
    }
    .dental-referrals-form .referral-form {
        padding: 20px 15px;
    }
    .dental-referrals-form .form-row {
        display: block;
    }
    .dental-referrals-form .hide-mobile {
        display: none !important;
    }
    .dental-referrals-form .section-title {
        margin: 20px 0;
    }
    header .phone-icon {
        right: 100px;
        top: 22px;
    }
    header .calendar-icon {
        right: 64px;
        top: 20px;
    }
    .blogs .featured-image {
        height: 250px;
    }
    .single .wp-block-post-featured-image {
        height: 250px;
    }
    .blog-left-part ul.columns-1 {
        display: block;
    }
    .blogs .blog-flex .blog-left-part ul li h2 {
        font-size: 24px !important;
    }
    .single .blog-left-part h2 {
        font-size: 24px;
    }
    .blogs .blog-flex .blog-left-part ul li {
        padding: 15px 15px 1px;
        font-size: 16px;
    }
    .meet-the-team .modal-overlay .modal-box {
        padding: 50px 15px 40px;
    }
    .fees-page .pricing-table .service {
        font-size: 0.9em;
    }
    .treatments-services-banner .d-flex {
        display: block;
    }
    .treatments-services-banner .img-text-box {
        width: 100%;
        padding-bottom: 1.5em;
    }
    .treatments-services-banner .img-text-box:last-child {
        padding-bottom: 0;
    }
    .treatments-services-banner .img-text-box h4 {
        font-size: 20px;
    }
    h4.quick-links-some {
        display: none;
    }
    #mega-menu-wrap-max_mega_menu_3 {
        margin-top: 0;
    }
    header.is-sticky .calendar-icon {
        top: 13px;
    }
    header.is-sticky .phone-icon {
        top: 14px;
    }
}
@media (max-width: 500px) {
    .single .blog-left-part .d-flex {
        display: block;
    }
    .single .blog-left-part .text-img img {
        padding-right: 0;
    }
}
@media (max-width: 400px) {
    header .wp-block-site-logo a, .wp-block-site-logo img {
        width: 210px;
    }
}

/*dental-implants-landing-14-04-2026*/
@media (max-width: 1920px){
    .book-your-implant .book-your-form{
        max-width: 36em;
    }
}

@media (max-width: 1700px){
    .book-your-implant .book-your-form {
        max-width: 90%;
    }
    .why-choose-us-implants.dental-implants-care, .why-choose-us-dental, .meet-our-implantologist, .dental-referrals-form.dental-implants-solutions, .why-choose-us-implants.why-choose-invisalign, .invisalign-open-wrapper, .thank-you-wrapper{
        padding: 2.5em 0;
    }
    .dental-implants-landing-footer .footer-logo-part{
        flex-basis: 30% !important;
    }
    .dental-implants-landing-footer .footer-opening-hours{
        flex-basis: 30% !important;
    }
    .dental-implants-landing-footer .footer-map{
        flex-basis: 40% !important;
    }
    .dental-implants-landing-header{
        max-width: 95%;
    }
    .book-your-form h5{
        padding-bottom: 22px;
    }
}

@media (max-width: 1600px){
    .invisalign-open-wrapper .invisalign-open-box h5{
        font-size: 24px;
    }
    .invisalign-open-wrapper h3{
        font-size: 26px;
    }
    .why-choose-straight h2 {
        font-size: 2em;
    }
}

@media (max-width: 1500px) {
    .invisalign-open-wrapper .invisalign-open-box h5 {
        font-size: 20px;
    }
    .invisalign-open-wrapper h3{
        font-size: 24px;
    }
}

@media (max-width: 1340px){
    .dental-implants-landing-footer .footer{
        justify-content: left;
    }
    .dental-implants-landing-footer .footer-opening-hours{
        padding: 0;
    }
    .dental-implants-landing-footer .footer-map{
        flex-basis: 40% !important;
        padding: 2.8em 0;
    }
    .book-your-form h5{
        padding-bottom: 22px;
    }
    .invisalign-open-wrapper ul li{
        text-align: left;
        width: 40%;
    }
}

@media (max-width: 1100px){
    .dental-implants-landing-header .top-header-wrapper{
        flex-basis: 25% !important;
    }
    .dental-implants-landing-header .book-your-wrapper{
        flex-basis: 28% !important;
    }
}

@media (max-width: 1160px){
    .book-your-implant .left-part {
        width: 100%;
        padding: 3em 0;
    }
    .book-your-implant .right-part{
        width: 100%;
        background-position: top;
        padding: 18em 0;
    }
    .why-choose-us-dental .home-meet-team .right-part {
        width: 100%;
    }
    .meet-our-implantologist .home-meet-team .left-part {
        width: 100%;
    }
    .why-choose-us-dental .home-meet-team .left-part {
        width: 100%;
    }
    .why-choose-us-dental .home-meet-team.benefits-of-invisalign .left-part {
        height: auto;
    }
    .meet-our-implantologist .home-meet-team .right-part {
        width: 100%;
        height: auto;
    } 
    .why-choose-straight .home-meet-team .right-part img {
        width: 45%;
    }
}

@media (max-width: 1024px){
    .dental-implants-landing-header .top-header-call{
        display: none;
    }
    .dental-implants-landing-header .book-your-wrapper{
        display: none;
    }
    .dental-implants-landing-header .top-header-wrapper {
        flex-basis: 5% !important;
    }
    .page-id-1520 header .calendar-icon{
        right: 18px;
    }
    .page-id-1520 header .phone-icon{
        right: 60px;
    }
    .page-id-1501 header .calendar-icon{
        right: 18px;
    }
    .page-id-1501 header .phone-icon{
        right: 60px;
    }
    .page-id-1530 header .calendar-icon{
        right: 18px;
    }
    .page-id-1530 header .phone-icon{
        right: 60px;
    }
    .dental-implants-landing-header{
        padding: 1em 0;
    }
    .popup-overlay .invisalign-open-wrapper ul li {
        width: 40%;
    }
}

@media (max-width:900px){
    .dental-referrals-form.dental-implants-solutions {
        padding: 2em 15px;
    }
    .dental-implants-landing-header{
        padding: 15px 0;
    }

    .why-choose-us-implants.dental-implants-care .img-text:last-child{
        margin-bottom: 0;
    }
    .invisalign-open-wrapper ul li{
        width: 50%;
    }
    .thank-you-wrapper{
        padding: 2.5em 1em;
    }
    .why-choose-straight .home-meet-team .right-part img {
        width: 55%;
    }
    .popup-overlay .invisalign-open-wrapper ul {
        display: block;
        justify-items: center;
        justify-self: center;
        width: fit-content;
        margin: 0 auto;
    }
    .popup-overlay .invisalign-open-wrapper ul li {
        padding: 0 0 0.5em 1.6em;
        font-size: 17px;
        width: 100%;
    }
    .popup-overlay p {
        font-size: 18px;
    }
    .popup-overlay .why-choose-us-implants {
        padding: 30px 30px 10px;
        border-radius: 0;
    }
    .popup-overlay .invisalign-open-wrapper ul li::before {
        top: 3px;
    }
}

@media (max-width:768px){
    .book-your-implant .right-part{
        padding: 14em 0;
    }
}

@media (max-width: 650px){
    .book-your-implant .book-your-form h5{
        font-size: 1.8em;
        padding-bottom: 24px;
    }
    .book-your-implant .right-part{
        padding: 10em 0;
    }
    .why-choose-us-dental .home-meet-team .right-part .d-flex, .why-choose-straight .home-meet-team .left-part .d-flex{
        display: block;
    }
    .why-choose-us-dental .home-meet-team .right-part img{
        margin-bottom: 18px;
    }
    .dental-implants-landing-footer .footer-logo-part{
        padding: 0;
    }
    .dental-implants-landing-footer .footer-contact-map iframe{
        height: 350px;
    }
    .dental-implants-landing-footer .footer-map{
        padding: 0;
    }
    .invisalign-open-wrapper ul li{
        width: 100%;
        font-size: 1.1em;
    }
    .invisalign-open-wrapper .invisalign-open-box h5 {
        font-size: 18px;
    }
    .invisalign-open-wrapper h3 {
        font-size: 22px;
    }
    .invisalign-open-wrapper ul li::before{
        top: 3px;
    }
    .why-choose-straight .home-meet-team .left-part .d-flex img{
        margin-bottom: 14px;
    }
    .thank-you-banner img{
        object-position: left;
    }
    .book-your-implant .wpcf7-response-output{
        max-width: fit-content;
        padding: 0.8em !important;
        margin: 2em 1em 0 1em !important;
    }
    .book-your-form .wpcf7-textarea .wpcf7-not-valid-tip{
        top: 0 !important;
    }
    .why-choose-straight .home-meet-team .right-part img {
        width: 100%;
    }
    .popup-overlay .why-choose-us-implants {
        padding: 30px 10px 20px;
        background-position: 30%;
    }
    .popup-overlay .close-btn {
        font-size: 25px;
    }
    .popup-overlay .popup-box {
        width: 95%;
    }
}