/* CONTACT - HERO */
.contact-hero {
    width: 100%;
    height: 500px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 85% 90%, 75% 100%, 0 100%);
    user-select: none;
}

.contact-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.contact-hero-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    backdrop-filter: brightness(50%) blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 0 5%;
    box-sizing: border-box;
}

.contact-hero-overlay h2 {
    font-size: 4rem;
    margin: 0 0 10px 0;
}

.contact-hero-overlay p {
    margin: 10px 0 30px 0;
    font-size: 2rem;
}

.contact-hero .underline {
    margin: 0;
}

/* CONTACT - WRAP */
.filler-banner {
    width: 100%;
    height: 120px;
    background-color: white;
}

/* 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: space-evenly;
    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: 20px;
    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;
}

.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;
    }

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

/* FORM TEMPLATE */

/* INITIAL COLOURING OF FORM */
:root {
    --form-blue: #4244d2;
    --form-blue-lighter: #877ced;

    --form-default-background: #d2d2d2;
    --form-overlay: #f1f1f1aa;

    --form-alert: #9c5656;
    --form-input-initial-border: #a9a9a9;
    --form-input-focus-border: #4e4e4e;
}

/* OUTSIDE FORM */
.form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    background: linear-gradient(white, #f7f7f7);
    padding: 50px 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%;
    font-size: 1.75rem;
}

.form-row:has(input[required]) label::after {
    content: " - Required";
    color: var(--form-alert);
    font-size: 1rem;
    display: inline;
    vertical-align: middle;
}

/* FORM INPUT, SELECT & TEXTAREA */
.form-row input, .form-row select, .form-row textarea {
    border: solid 2px var(--form-input-initial-border);
    padding: 5px;
    font-family: inherit;
    width: 80%;
    outline: none;
    transition: border 0.3s ease-in-out;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    border: solid 2px var(--form-input-focus-border);
}

/* 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(--form-alert);
    margin: 0 0 -30px 0;
    visibility: hidden;
    min-height: 1.5rem;
}