/*
    Theme Name: QDROgal 2025
    Theme URI: https://www.sperlinginteractive.com
    Version: 1.0
    Author: Sperling Interactive
  Theme URI: https://www.sperlinginteractive.com
*/

/*------------------------------------*\
    Example of Using Root Variable 
    :root {
        --blue: #0000FF          
    }
    .test-element {
        color: var(--blue)
    }
\*------------------------------------*/

:root {
    --blue: #3e98bc;
    --green: #96c83c;
    --darkgray: #43464c;
    --lightgray: #f1f1f1;
}

/* global box-sizing */
*,
*:after,
*:before {
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
}

/* html element 62.5% font-size for REM use */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    color: var(--darkgray);
    font: 300 1.6rem/1.6 "elza", sans-serif;
}

/* clear */
.clear:before,
.clear:after {
    content: " ";
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    zoom: 1;
}

img {
    max-width: 100%;
    vertical-align: bottom;
    height: auto;
}

/* Lightspeed Lazy load fade in */
img[data-lazyloaded] {
    opacity: 0;
}

img.litespeed-loaded {
    -webkit-transition: opacity 0.5s linear 0.2s;
    -moz-transition: opacity 0.5s linear 0.2s;
    transition: opacity 0.5s linear 0.2s;
    opacity: 1;
}

a {
    text-decoration: none;
}
a.button,
.frm_style_contact button.frm_button_submit.frm_final_submit,
.frm_style_contact button.frm_button_submit.frm_final_submit:hover,
.frm_style_contact.with_frm_style .frm_submit button:focus,
.frm_style_contact.with_frm_style .frm_submit button:active {
    background: var(--blue) !important;
    color: white;
    padding: 10px 15px;
    display: inline-block;
    position: relative;
    margin-right: 10px;
    font-weight: 500;
    border-radius: 0;
    border: 0;
}
a.button:before,
.frm_style_contact button.frm_button_submit.frm_final_submit:before {
    content: "";
    border-top: 3px solid var(--green);
    border-right: 3px solid var(--green);
    position: absolute;
    top: -7px;
    right: -7px;
    width: 25px;
    height: 25px;
    transition: all 0.3s ease-in-out;
}

a.button:hover:before,
.frm_style_contact button.frm_button_submit.frm_final_submit:hover:before {
    top: -10px;
    right: -10px;
}
a.button.white {
    background: white !important;
    color: var(--blue);
}
a.download-button {
    color: var(--blue);
    border: 1px solid var(--blue);
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}
a.download-button:before {
    content: "\f019";
    font-family: "Font Awesome 6 Pro";
    font-weight: 600;
    margin-right: 10px;
}
a.download-button:hover {
    color: white;
    border: 1px solid var(--blue);
    background: var(--blue);
}
a:hover {
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}

input:focus {
    border: 1px solid #04a4cc;
    outline: 0;
}

p,
ul,
ol {
    font-size: 1.6rem;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2.4rem;
}

h5 {
    font-size: 2rem;
}

h6 {
    font-size: 1.6rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    color: var(--blue);
    margin-top: 0;
}
blockquote {
    margin: 25px 0;
    padding: 25px 0 25px 5vw;
    font-style: italic;
    border-top: 1px solid;
    border-bottom: 1px solid;
    font-weight: 700;
}
.frm_html_container.frm_scroll_box,
.frm_form_field.frm_html_scroll_box {
    height: 400px;
}
.frm_scroll_box {
    border-radius: 0 !important;
}

.frm_scroll_box::-webkit-scrollbar {
    width: 10px;
}

.frm_scroll_box::-webkit-scrollbar-track {
    background: #eee;
}

.frm_scroll_box::-webkit-scrollbar-thumb {
    background: #000;
}

@supports not selector(::-webkit-scrollbar) {
    .frm_scroll_box {
        scrollbar-color: #000 #eee;
    }
}
#qdros tr.group,
#qdros tr.group:hover {
    background-color: black !important;
    color: white;
}

.dt-container div.dt-processing {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    background: rgba(0, 0, 0, 0.2);
}
.row-reverse {
    flex-direction: row-reverse;
}
strong {
    color: var(--blue);
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
/* wrapper */
.wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    width: 100%;
    max-width: 2560px;
}

.container {
    max-width: 1280px;
    align-self: center;
    flex: 1 auto;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 20px;
}
.container.small {
    max-width: 900px;
}
/* header */
.header {
    border-top: 7px solid var(--blue);
    border-bottom: 1px solid var(--lightgray);
    padding-bottom: 20px;
}
.header-flex {
    display: flex;

    justify-content: space-between;
    gap: 30px;
}
.logo {
    align-self: center;
    padding: 10px 0;
}
.logo-img {
    backface-visibility: hidden;
    height: 45px;
}
span.logo-tagline {
    display: block;
    font-size: 1.1rem;
    margin-left: 10px;
}
/* nav */
nav a {
    background: var(--lightgray);
}
nav .current-menu-item a {
    font-weight: bold;
}
nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    position: relative;
}
nav ul:before {
    content: "";
    border-left: 3px solid var(--green);
    border-bottom: 3px solid var(--green);
    width: 50px;
    height: 50px;
    bottom: -10px;
    left: -10px;
    position: absolute;
}
nav ul:after {
    content: "";
    background: var(--lightgray);
    right: -200vw;
    left: 0;
    height: 100%;
    position: absolute;
    z-index: -1;
}
nav ul a {
    padding: 20px 25px 13px;
    display: block;
    color: var(--darkgray);
}
.nav-button a {
    background: var(--blue);
    color: white;
}
/* sidebar */
.sidebar {
}

/* footer */
.footer {
    background: var(--blue);
    color: white;
    border-top: 7px solid var(--green);
    padding: 20px;
}
img.footer-logo {
    height: 45px;
    margin-bottom: 30px;
}
.footer-flex {
    justify-content: space-between;
}
.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.footer-nav a {
    padding: 10px 15px;
    color: white;
    font-weight: 500;
}
.footer-nav ul.sub-menu {
    flex-direction: column;
    gap: 7px;
    margin-top: 15px;
    display: none;
}
.footer-nav ul.sub-menu a {
    font-weight: 400;
    font-size: 1.4rem;
}
.footer-nav ul.sub-menu a:before {
    content: "";
    font-family: "Font Awesome 6 Pro";
    font-weight: 600;
    margin-right: 6px;
}
.footer-nav ul.sub-menu li.phone a:before {
    content: "\f095";
}
.footer-nav ul.sub-menu li.email a:before {
    content: "\f0e0";
}
.footer-nav ul.sub-menu li.location a:before {
    content: "\f3c5";
}
.menu-item-has-children > a {
    position: relative;
}

.pagination {
    font-size: 1.6rem;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
hr.separator {
    opacity: 0.3;
}
.padded-section {
    padding: 50px 0;
}

.padded-section + .padded-section {
    padding: 0 0 50px;
}
.ofh {
    overflow: hidden;
}
.is-hidden-tablet {
    display: none;
}
/*------------------------------------*\
    HOMEPAGE
\*------------------------------------*/
section.home-top {
    min-height: 400px;
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 5px solid var(--blue);
}
section.home-top:after {
    content: "";
    mix-blend-mode: multiply;
    background: linear-gradient(0deg, #111213e6, transparent);
    top: 20%;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
}
.home-top-content {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
}

.home-top-content h1 {
    margin: 0;
    color: white;
    font-weight: 500;
}
.zig-zag-img {
    position: relative;
}
.zig-zag-img img {
    box-shadow: 0px 3px 6px #00000029;
}

.zig-zag-img:after {
    content: "";
    top: -10px;
    left: 10px;
    width: 100%;
    bottom: -10px;
    background: var(--green);
    position: absolute;
    z-index: -2;
}

.row-reverse .zig-zag-img:after {
    right: 10px;
    left: auto;
}
.zig-zag-section {
    padding-top: 10px;
}
.zig-zag-section .text-content {
    background: var(--lightgray);
    padding: 50px;
    position: relative;
    margin-top: 50px;
}

.zig-zag-section .text-content:after {
    content: "";
    background: var(--lightgray);
    position: absolute;
    left: -25%;
    right: -200vw;
    top: 0;
    bottom: 0;
    z-index: -1;
}
.row-reverse.zig-zag-section .text-content:after {
    right: -25%;
    left: -200vw;
}
.zig-zag-section .text-content :first-child {
    margin-top: 0;
}

.zig-zag-section .text-content :last-child {
    margin-bottom: 0;
}

.home-contact-cta {
    background: var(--darkgray);
    color: white;
    padding: 30px;
    position: relative;
}
.home-contact-cta:after {
    content: "";
    top: -10px;
    bottom: -10px;
    left: 10px;
    right: 10px;
    background: var(--green);
    position: absolute;
    z-index: -1;
}

.home-contact-cta h2,
.home-contact-cta p,
.home-contact-cta strong {
    color: white;
}
.home-contact-cta :first-child {
    margin-top: 0;
}

/*------------------------------------*\
    LONG INTAKE
\*------------------------------------*/
form#form_long-intake-form .frm_repeat_buttons {
    display: none;
}

/*------------------------------------*\
    ABOUT PAGE
\*------------------------------------*/
.page-top {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-bottom: 7px solid var(--green);
}
.about-callout {
    background: var(--lightgray);
    padding: 30px;
    box-shadow: 0px 3px 6px #00000029;
    position: relative;
}
.about-callout :last-child {
    margin-bottom: 0;
}
.about-callout :first-child {
    margin-top: 0;
    position: relative;
}
.about-callout :last-child {
    margin-bottom: 0;
}

.about-callout :first-child:before {
    content: "";
    width: 50px;
    height: 50px;
    border-top: 3px solid var(--green);
    border-left: 3px solid var(--green);
    position: absolute;
    left: -15px;
    top: -15px;
}
.about-callout:after {
    content: "";
    background: var(--blue);
    position: absolute;
    left: 20px;
    right: 20px;
    top: -10px;
    bottom: -10px;
    z-index: -1;
}
.about-inner-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.about-img-box {
    position: relative;
    margin-top: 20%;
}
.about-img-box img {
    box-shadow: 0px 3px 6px #00000029;
}

.about-img-box:after {
    content: "";
    left: 0;
    right: 20px;
    top: -10px;
    bottom: -10px;
    background: var(--green);
    position: absolute;
    z-index: -1;
}

.about-img-box.right:after {
    right: 0;
    left: 20px;
}

.about-img-box.right {
    margin-top: 70%;
}
/*------------------------------------*\
    ACF GOOGLE MAP
\*------------------------------------*/
div#faq {
    background: var(--lightgray);
    padding: 30px;
    box-shadow: 0px 3px 6px #00000029;
    position: relative;
}

div#faq:after {
    content: "";
    background: var(--blue);
    left: 20px;
    right: 20px;
    bottom: -30px;
    position: absolute;
    top: 0;
    z-index: -1;
}
.ui-accordion-header {
    border-top: 1px solid var(--blue);
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--darkgray);
    padding: 10px 30px 10px 10px;
    position: relative;
    cursor: pointer;
}
.ui-accordion-header:after {
    content: "\2b";
    font-family: "Font Awesome 6 Pro";
    right: 10px;
    position: absolute;
}
.ui-accordion-header-active.ui-accordion-header:after {
    content: "\f068";
}
.ui-accordion-content {
    padding: 10px;
}

.ui-accordion-content :first-child {
    margin-top: 0;
}

.ui-accordion-content :last-child {
    margin-bottom: 0;
}
/*------------------------------------*\
    CONTACT
\*------------------------------------*/
.contact-form-wrap {
    background: var(--lightgray);
    padding: 30px;
    box-shadow: 0px 3px 6px #00000029;
    position: relative;
}
.contact-form-wrap:after {
    content: "";
    left: 20px;
    right: 20px;
    top: -10px;
    bottom: -10px;
    background: var(--green);
    position: absolute;
    z-index: -1;
}
.contact-meta {
    background: var(--darkgray);
    color: white;
    padding: 30px 30px 50px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-meta a {
    color: white;
}
.contact-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-meta li {
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-headshot {
    max-width: 300px;
    margin: -20px auto;
    position: relative;
}

.contact-headshot:after {
    content: "";
    top: 0;
    bottom: -10px;
    right: -10px;
    left: 10px;
    background: var(--green);
    position: absolute;
    z-index: -1;
}
/*------------------------------------*\
    FORMS
\*------------------------------------*/
.frm_style_contact input,
.frm_style_contact textarea {
    border-bottom: 1px solid var(--blue) !important;
    background: transparent !important;
}
.frm_style_contact .frm_submit {
    justify-content: center;
}

.frm_style_contact input::placeholder,
.frm_style_contact textarea::placeholder {
    color: var(--darkgray) !important;
}
/*------------------------------------*\
    ACF GOOGLE MAP
\*------------------------------------*/

.acf-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 600px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

/* Fixes potential theme css conflict. */
.acf-map img {
    max-width: inherit !important;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (min-width: 320px) {
}

@media only screen and (min-width: 480px) {
    .page-top {
        height: 400px;
        aspect-ratio: none;
    }
}

@media only screen and (min-width: 769px) {
    .home-contact-cta {
        padding: 50px;
    }
    .about-callout {
        padding: 50px 80px;
    }
    .footer-flex {
        display: flex;
    }
    .footer-nav ul.sub-menu {
        display: block;
    }
    .menu-item-has-children > a:after {
        content: "";
        border-bottom: 1px solid white;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 15px;
    }
}

@media only screen and (min-width: 1024px) {
    .padded-section {
        padding: 100px 0;
    }

    .padded-section + .padded-section {
        padding: 0 0 100px;
    }
    h1 {
        font-size: 5rem;
    }
    .is-hidden-tablet {
        display: block;
    }
}

@media only screen and (min-width: 1140px) {
}

@media only screen and (min-width: 1280px) {
}

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
    background: #04a4cc;
    color: #fff;
    text-shadow: none;
}

::-webkit-selection {
    background: #04a4cc;
    color: #fff;
    text-shadow: none;
}

::-moz-selection {
    background: #04a4cc;
    color: #fff;
    text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {
}

.bypostauthor {
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/
@media print {
    * {
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    .nav,
    .sidebar,
    .home-slider,
    #respond {
        display: none;
    }

    @page {
        margin: 2cm;
    }
}

.notification-banner {
    padding: 10px 0;
    font-size: 16px;
    text-align: center;
}

.notification-banner p {
    margin: 0;
}
