/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
html,
body {
    overflow-x: clip;
}

/* Keep Elementor's sticky header responsive after the viewport is resized. */
.stickey-header.elementor-sticky--active {
    width: 100% !important;
}

.curve-left .elementor-divider-separator {
    border-radius: 10px 0 0 10px;
}

.curve-right .elementor-divider-separator {
    border-radius: 0 10px 10px 0;
}

.bleed-left {
    position: relative;
    background: #9CAF88;
    box-shadow: -100vw 0 0 100vw #9CAF88;
    clip-path: inset(0 0 0 -100vw);
}

.bleed-left-faq {
    position: relative;
    background: #859772;
    box-shadow: -100vw 0 0 100vw #859772;
    clip-path: inset(0 0 0 -100vw);
}

.bleed-right-faq {
    position: relative;
    background: #9CAF88;
    box-shadow: 100vw 0 0 100vw #9CAF88;
    clip-path: inset(0 -100vw 0 0);
}

.bleed-left-study {
    position: relative;
    background: #9CAF8810;
    box-shadow: -100vw 0 0 100vw #9CAF8810;
    clip-path: inset(0 0 0 -100vw);
}

.bleed-right-study {
    position: relative;
    background: #9CAF8830;
    box-shadow: 100vw 0 0 100vw #9CAF8830;
    clip-path: inset(0 -100vw 0 0);
}

.bleed-right-home {
    position: relative;
    overflow: visible;
}

.bleed-right-home::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100%;
    background-image: url('/wp-content/uploads/2026/06/green-design-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.home-image-cover,
.home-image-cover .elementor-widget-container {
    height: 100%;
}

.home-image-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.e-form__buttons__wrapper__button-next,
.e-form__buttons__wrapper__button-previous {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.e-form__buttons__wrapper__button-next::after,
.e-form__buttons__wrapper__button-previous::before {
    content: '';
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background-color: currentColor;

    -webkit-mask: url('/wp-content/themes/derryfamilydentistry/assets/icons/arrow-right.svg') center / contain no-repeat;
    mask: url('/wp-content/themes/derryfamilydentistry/assets/icons/arrow-right.svg') center / contain no-repeat;
}

.e-form__buttons__wrapper__button-previous::before {
    transform: rotate(180deg);
}

.review-carousel .elementor-swiper-button {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-carousel .elementor-swiper-button-prev::after {
    content: "PREV.";
}

.review-carousel .elementor-swiper-button-next::before {
    content: "NEXT";
}

.review-carousel .elementor-swiper-button-prev::after,
.review-carousel .elementor-swiper-button-next::before {
    font-family: 'Changa', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 50px;
    text-transform: uppercase;
    white-space: nowrap;
}

.review-carousel .elementor-swiper-button svg {
    width: 24px;
    height: 24px;
}

.ask-question-form .elementor-form-fields-wrapper {
    position: relative;
}

.ask-question-form .ask-form-dots {
    display: flex;
    gap: 12px;
    align-items: center;
    position: absolute;
    left: 0;
    bottom: 45px;
    z-index: 9;
}

.ask-question-form .ask-form-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    display: block;
}

.ask-question-form .ask-form-dot.is-active {
    background: #fff;
}

.ask-question-form .e-form__buttons {
    margin-top: 18px;
}

.ask-question-form .e-form__buttons__wrapper {
    justify-content: flex-end;
}

.ask-question-form .e-form__buttons__wrapper__button-next,
.ask-question-form button[type="submit"] {
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.ask-question-form .e-form__buttons__wrapper__button-next::after,
.ask-question-form button[type="submit"] .elementor-button-text::after {
    content: "";
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-left: 6px;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34' fill='none'%3E%3Cpath d='M20.4424 8.40039L29.0415 16.9996L20.4424 25.5987' stroke='white' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.9585 17H28.801' stroke='white' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ask-question-form .elementor-form-fields-wrapper {
    position: relative;
}

.ask-question-form .ask-form-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.ask-question-form .ask-form-dot.is-active {
    background: #fff;
}

.ask-question-form .e-form__buttons {
    margin-top: 18px;
}

.ask-question-form .e-form__buttons__wrapper {
    justify-content: flex-end;
}

.dental-form .top-grid {
    display: grid;
    grid-template-columns: 255px 255px 255px;
    gap: 16px 18px;
    align-items: start;
}

.dental-form,
.dental-form * {
    box-sizing: border-box;
}

.dental-form .form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 18px;
}

.dental-form .field,
.dental-form .wpcf7-form-control-wrap {
    min-width: 0;
}

.dental-form .field p {
    margin: 0;
}

.dental-form input,
.dental-form select,
.dental-form textarea {
    width: 100%;
    border: 0;
    border-radius: 9px;
    padding: 20px 30px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.35;
    color: #555;
    outline: none;
    max-width: 100%;
}

.dental-form select {
    min-height: 70px;
    padding-right: 70px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23555' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 28px center;
    background-size: 12px 8px;
    cursor: pointer;
}

.dental-form .message-field {
    grid-column: 2 / 4;
    grid-row: 3 / 5;
}

.dental-form textarea {
    padding-top: 14px;
    resize: none;
}

.dental-form .days-row {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.dental-form .days-row p {
    margin: 0;
}

.dental-form .days-row strong {
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.dental-form .wpcf7-list-item {
    margin: 0 18px 0 0;
}

.dental-form .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #666;
}

.dental-form input[type="checkbox"] {
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 0;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
    appearance: none;
    cursor: pointer;
    flex-shrink: 0;
}

.dental-form input[type="checkbox"]:checked {
    background: #9aaa86 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11' fill='none'%3E%3Cpath d='M1 5.5L5 9.5L13 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 11px no-repeat;
}

.dental-form .submit-wrap {
    text-align: center;
    margin-top: 34px;
}

.dental-form input[type="submit"] {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-family: "Outfit", sans-serif;
    color: #9aaa86;
    font-weight: 700;
}

.dental-form .wpcf7-not-valid-tip {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.dental-form .wpcf7-spinner {
    margin: 14px 0 0;
}


/* Scroll-triggered Elementor reveals. These styles are enabled by custom.js so
   content remains visible if JavaScript is unavailable. */
.dfd-reveal-ready .reveal,
.dfd-reveal-ready .reveal-image,
.dfd-reveal-ready .reveal-card {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: var(--reveal-duration, 0.8s);
    transition-delay: var(--reveal-delay, 0ms);
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.dfd-reveal-ready .reveal {
    transform: translate3d(0, 20px, 0);
}

.dfd-reveal-ready .reveal-heading {
    --reveal-duration: 0.8s;
    transform: translate3d(0, 30px, 0);
}

.dfd-reveal-ready .reveal-image {
    --reveal-duration: 1s;
    transform: translate3d(0, 30px, 0) scale(0.95);
}

.dfd-reveal-ready .reveal-card {
    --reveal-duration: 0.8s;
    transform: translate3d(0, 40px, 0);
}

.dfd-reveal-ready .reveal-button {
    transform: scale(0.96);
}

.dfd-reveal-ready .reveal.reveal-visible,
.dfd-reveal-ready .reveal-image.reveal-visible,
.dfd-reveal-ready .reveal-card.reveal-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    will-change: auto;
}

/* Push accordion icon to the far right */
.e-n-accordion .e-n-accordion-item-title {
    display: flex;
    align-items: center;
    width: 100%;
}

.e-n-accordion .e-n-accordion-item-title-header {
    flex: 1;
    min-width: 0;
}

.e-n-accordion .e-n-accordion-item-title-icon {
    margin-left: auto;
    flex-shrink: 0;
}

/* Keep nested items in the vertical services menu styled as an accordion. */
.click-submenu-nav .elementor-nav-menu--main .sub-menu > .menu-item-has-children > .has-submenu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.click-submenu-nav .elementor-nav-menu--main .sub-menu > .menu-item-has-children > .has-submenu .sub-arrow {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    margin-left: 0;
    padding: 0;
}

.click-submenu-nav .elementor-nav-menu--main .sub-menu > .menu-item-has-children > .has-submenu .sub-arrow svg {
    width: 22px;
    height: 22px;
}

.click-submenu-nav .elementor-nav-menu--main .sub-menu .sub-menu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 0 0 18px !important;
    padding: 0 0 0 16px !important;
    transform: none !important;
    background: transparent !important;
    border-left: 2px solid rgba(156, 175, 136, 0.65);
    box-shadow: none !important;
}

.click-submenu-nav .elementor-nav-menu--main .sub-menu .sub-menu .elementor-sub-item {
    padding: 8px 12px !important;
    font-size: 0.86em;
    line-height: 1.3;
    white-space: normal;
}
