/* 
Theme Name: NerdStuds
Theme URI: https://github.com/elementor/hello-theme/
Description: This is a custom child theme built using the Elementor Hello theme.
Author: Jeremy Cox
Author URI: https://nerdstuds.com/
Template: hello-elementor
*/

:root {
	--green: #297563;
    --tan: #F0EDE0;
    --peach: #EDC7B4;
    --dark-green: #012815;
    --text: #012815;
}

/* General Styles */

body *:focus:not(:focus-visible),
body input:focus,
body input:focus-visible,
body button:focus,
body button:focus-visible,
body a:focus,
body a:focus-visible,
body i:focus,
body i:focus-visible,
body *:focus,
body *:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

#wpadminbar {
    z-index: 9999999999;
}

.big-blur-btn a {
    width: 100% !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.home-valuation-cta .elementor-cta__bg-overlay {
    background: linear-gradient(90deg, #F0EDE0 0%, rgba(240, 237, 224, 0.50) 100%) !important;
}

.elementor-widget-testimonial-carousel .swiper-slide {
    height: fit-content !important;
}

.elementor-testimonial .elementor-testimonial__content {
    padding: 30px;
    background: var(--tan);
    border-radius: 16px;
}


body.blog .menu-item a,
.page-id-400 .menu-item a,
.page-id-321 .menu-item a,
.page-id-301 .menu-item a {
    /* Light color header nav menu color change */
    color: var(--text) !important;
}

body.blog .elementor-widget-image.header-logo img,
.page-id-400 .elementor-widget-image.header-logo img,
.page-id-321 .elementor-widget-image.header-logo img,
.page-id-301 .elementor-widget-image.header-logo img {
    /* Light color header nav logo change */
    content: url("/wp-content/uploads/2022/04/vh-logo-dark.png") !important;
}

body.blog .main-transparent-nav .elementor-icon svg path,
.page-id-321 .main-transparent-nav .elementor-icon svg path,
.page-id-301 .main-transparent-nav .elementor-icon svg path {
    /* Light color header mobile hamburger color change */
    fill: var(--text) !important;
}

.elementor-cta__button:hover {
    box-shadow: none !important;
}

.elementor-popup-modal {
    backdrop-filter: blur(10px);
    z-index: 100000;
}

@media(min-width: 1001px) {
    #testimonials:before {
        background: rgb(255, 255, 255);
        background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.3) 15%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.3) 85%, rgba(255, 255, 255, 1) 100%);
        width: 100%;
        height: 100%;
        display: block;
        z-index: 10000;
        opacity: 1 !important;
        position: absolute;
        content: "";
    }

    #testimonials .elementor-widget-text-editor,
    #testimonials .elementor-swiper-button,
    #testimonials .swiper-slide-active {
        z-index: 20000 !important;
    }
}

/* Callout Arrow Button Styles */

.callout-arrow-button .elementor-button-text {
    text-align: left;
}

.callout-arrow-button .elementor-button-icon {
    display: flex;
    justify-content: center;
    margin-left: 70px;
    transition: margin 250ms ease;
}

.callout-arrow-button .elementor-button:hover {
    box-shadow: none;
}

.callout-arrow-button .elementor-button-icon svg {
    width: 1.5em;
}

.callout-arrow-button .elementor-button:hover .elementor-button-icon {
    margin-left: 150px;
    transition: margin 250ms ease;
}

@media(max-width: 690px) {
    .callout-arrow-button .elementor-button-icon {
        margin-left: 30px;
    }

    .callout-arrow-button .elementor-button:hover .elementor-button-icon {
        margin-left: 60px;
    }
}

/* Process Style */

.process-title {
    margin-top: -50px;
}

.process-title p {
    max-width: 250px !important;
    width: 100%;
    margin: 0 auto;
}

@media(max-width: 800px) {
    .process-title {
        margin-top: -30px;
    }
}

/* Gravity Form Styles */

.partial_entry_warning,
.grecaptcha-badge,
.gform_heading,
.gform-body label .gfield_required {
    display: none !important;
}

.gform-body label,
.gform-body legend {
    font-size: 14px !important;
    padding-bottom: 5px !important;
    margin-bottom: 0 !important;
    line-height: 1.2em !important;
    font-weight: 400 !important;
}

.gform-body input,
.gform-body textarea,
.gform-body select {
    border: none;
    border-radius: 4px !important;
    background: white !important;
    color: var(--text);
    padding: 8px 12px !important;
}

.gform-body input::placeholder,
.gform-body select::placeholder,
.gform-body textarea::placeholder {
    color: var(--text) !important;
    opacity: 1 !important;
}

.gform_footer input {
    line-height: 1em !important;
    color: white !important;
    border: none;
    padding: 15px 40px !important;
}

.gform_footer input:hover {
    background: var(--dark-green) !important;
    color: white !important;
}

.gform_footer {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.gform_footer input[type="submit"]:focus {
    outline: transparent auto 0px !important;
    background-color: white !important;
    color: var(--text) !important;
}

.gform_confirmation_message {
    text-align: center;
    padding: 30px;
    color: white !important;
    background: var(--green);
    box-shadow: 0 10px 20px 0 rgba(0,0,0,0.2);
    font-size: 20px;
    line-height: 1.3em;
    border-radius: 16px !important;
    font-family: "hoss-sharp", Sans-serif;
}

@media(max-width: 1300px) {
    .gform_body h1.form-heading {
        font-size: 54px !important;
    }
}

@media(max-width: 1000px) {
    .gform_body h1.form-heading {
        font-size: 46px !important;
    }
}

@media(max-width: 800px) {
    .gform_body h1.form-heading {
        text-align:center;
        font-size: 44px !important;
    }

    .gform_footer input {
        margin: 0 auto !important;
    }
}

@media(max-width: 690px) {
    .gform_footer {
        margin-top: 10px !important;
    }

    .gform_body h1.form-heading {
        font-size: 38px !important;
    }
}

@media(max-width: 480px) {
    .gform_body h1.form-heading {
        font-size: 32px !important;
    }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(255,255,255,.6) inset !important;
}


input:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--text) !important;
}

/* Error Message Styles */

.gform_validation_errors,
.validation_message {
    display: none !important;
}

.gform_wrapper.gravity-theme .gfield_error label,
.gform_wrapper.gravity-theme .gfield_error legend,
.gfield_required_asterisk {
    color: salmon !important;
}

.gform_body input[aria-invalid=true],
.gform_body select[aria-invalid=true],
.gform_body textarea[aria-invalid=true] {
    border: 1px solid salmon !important;
}