.contact-hero {
    width: 100%;
    height: 516px;
    background-image: linear-gradient( rgba(0, 0, 0, .6) 0%), url(/imageserver/UserMedia/princeroofing/house-row.jpeg);
    background-color: #353535;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    padding: 0 10%;
    box-sizing: border-box;
    justify-content: center;
    border-bottom: solid 16px var(--main-color-500);
}

.contact-hero h1 {
    margin: 0 0 12px 0;
    line-height: 36px;
    font-size: 36px;
    color: white;
}

.contact-hero p {
    color: white;
    font-size: 20px;
    margin: 0 0 12px 0;
    width: 800px;
    max-width: 80vw;
}

@media (max-width: 1000px) {
    .contact-hero h1 {
        font-size: 24px;
        line-height: 24px;
        text-align: center;
    }

    .contact-hero p {
        font-size: 16px;
        text-align: center;
    }

    .contact-hero .site-button {
        font-size: 16px;
        align-self: center;
    }
}


/* CONTACT - MAIN */
/* CONTACT - SIDEMENU */

.contact-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    height: fit-content;
}

.contact-wrapper-menu {
    position: sticky;
    top: 0%;
    width: 400px;
    height: 100vh;
    padding: 0px 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 20px;
    align-items: center;
    z-index: 2;
    box-sizing: border-box;
}

.contact-wrapper-menu .underline {
    width: 100px;
    margin: 0 auto 0 auto;
}

.contact-info, .hours-of-operation {
    margin-top: 0px;
    text-align: center;
}

.contact-info p, .hours-of-operation p {
    margin: 5px 0;
    color: black;
    font-size: 14px;
}

.contact-info strong, .hours-of-operation strong {
    display: block;
    font-size: 16px;
    color: black;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hours-of-operation .contact-day {
    font-weight: 700;
    margin: 0 0 0px 0;
}

.contact-info a, .hours-of-operation a {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover, .hours-of-operation a:hover {
    text-decoration: underline;
}

.contact-wrapper-menu .hours-of-operation {
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.contact-wrapper-menu iframe {
    width: 300px;
    height: 240px;
}

@media (max-width: 1600px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-wrapper-menu {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        padding-bottom: 40px;
        padding-top: 30px;
    }

    .contact-wrapper-menu .underline {
        width: initial;
    }
}

/* FORM TEMPLATE */

.form-background {
    flex-grow: 1;
    background: url(/imageserver/UserMedia/princeroofing/background.jpeg);
    background-position: center;
    background-size: cover;
}

/* OUTSIDE FORM */
.form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(255, 255, 255, 0.831), #f7f7f79b);
    padding: 30px 0;
}

.form-wrapper h2 {
    margin: 10px 0px;
}

.form-wrapper h4 {
    margin: 10px 0px;
}

/* FORM */
.form-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 500px;
    max-width: 90vw;
    row-gap: 40px;
    padding: 20px 0px;
    position: relative;
}

/* FORM OVERLAY */
.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--form-overlay);
    backdrop-filter: blur(0.5px);
    display: none;
}

/* FORM ROW */
.form-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FORM LABEL */
.form-row label {
    font-weight: 600;
    text-align: left;
    width: 80%;
}

.form-row:has(input[required]) label::after {
    content: " - Required";
    color: var(--main-color-700);
    font-size: 12px;
    display: inline;
}

/* FORM INPUT, SELECT & TEXTAREA */
.form-row input, .form-row select, .form-row textarea {
    border: solid 4px var(--main-color-500);
    padding: 5px;
    font-family: inherit;
    width: 80%;
    outline: none;
    transition: all 0.2s linear;
    border-radius: 5px;
    background-color: transparent;
    font-size: 18px;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    border: solid 4px gray;
    background-color: white;
}

/* FORM CHECKBOX */
.form-row .checkbox-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin-top: 10px;
}

.form-row .checkbox-row label {
    font-weight: normal;
}

.form-row .checkbox-row input[type="checkbox"] {
    width: 30px;
    height: 30px;
}

/* FORM TEXTAREA */
.form-row textarea {
    resize: none;
    height: 150px;
}

/* FORM #ERRORLABEL */
#error-label {
    color: var(--main-color-700);
    margin: 0 0 -30px 0;
    visibility: hidden;
    min-height: 12px;
}