* {
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 100%;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    border: 0;
}

#contact-page-grid {
    display: flex;
    justify-content: space-between;
}

#contact-page-grid form {
    display: grid;
    align-self: flex-start;
    grid-template-columns: 44% auto;
    grid-column-gap: 0px;
    width: 68.1rem;
}

.contact-form-label-container {
    display: flex;
    align-items: center;
    position: relative;
    height: auto;
    padding-left: 10.5%;
    padding-top: 4.2rem;
    padding-bottom: 4.1rem;
    background-color: #F7F7FA;
    border-top: 1px solid #DFDFE3;
}

#contact-page-grid form label {
    font-weight: 700;
}

.required-tag {
    position: absolute;
    right: 10%;
    padding: 4px;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #FFFFFF;
    background-color: #EB2E28;
}

.contact-form-input-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 3rem 0 3rem 8%;
    border-top: 1px solid #DFDFE3;
}

.contact-form-input-container-last {
    border-bottom: 1px solid #DFDFE3;
}

#contact-page-grid form input {
    width: 100%;
    height: 100%;
    padding-left: 1.5rem;
    background-color: #FFF3F4;
    ;
    border: 1px solid #DFDFE3;
}

.contact-form-textarea-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 3rem 0 3rem 8%;
    border-top: 1px solid #DFDFE3;
}

#contact-page-grid form textarea {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: #FFF3F4;
    ;
    border: 1px solid #DFDFE3;
}

#contact-form-disclaimer {
    grid-column: span 2;
    width: 100%;
    padding: 3rem 4rem;
    margin-top: 6rem;
    background-color: #F7F7FA;
}

#contact-form-disclaimer h3 {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
}

#contact-form-disclaimer p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #333333;
}


/* #contact-form-disclaimer p span a {
  font-weight: 700;

  color: #333333;
} */

#contact-form-disclaimer p a span {
    font-size: 100% !important;
}

#accept-disclaimer-statement {
    grid-column: span 2;
    margin-top: 2.7rem;
    font-size: 1.6rem;
}

#accept-disclaimer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 5.8rem;
    margin-top: 2.5rem;
    border: 1px solid #DFDFE3;
}

#accept-disclaimer-container-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
}

#accept-disclaimer-container-inner div {
    width: 3rem;
}

#accept-disclaimer-container-inner div input {
    cursor: pointer;
    height: 30px;
}

#accept-disclaimer-container-inner label {
    margin-left: 1.5rem;
    font-size: 1.8rem;
}

.contact-grid-spacer {
    grid-column: span 1;
}

#contact-page-grid form button {
    height: 5.8rem;
    margin-top: 4rem;
    color: white;
    background-color: #444444;
    cursor: pointer;
}

#contact-page-vr {
    position: relative;
    width: 1px;
    margin: 0px 4rem;
    background-color: #DFDFE3;
}

#contact-page-vr::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 110px;
    background-color: #EB2E28;
}

#contact-map-container {
    width: 35.8rem;
}

#contact-map-img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #DFDFE3;
    transition: box-shadow 0.2s ease-out;
}

#contact-map-address {
    width: 100%;
    margin-top: 4rem;
    line-height: 1.5;
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
  MEDIA QUERY - HOVER
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

@media (hover: hover) {
    #contact-form-disclaimer p span a:hover {
        text-decoration: underline;
    }
    #contact-page-grid form button:hover {
        background-color: #000000;
    }
    #contact-map-container img:hover {
        box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 20%);
    }
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
  MEDIA QUERY W <= 767
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

@media screen and (max-width: 767px) {
    #contact-page-grid {
        flex-direction: column;
    }
    #contact-page-grid form {
        display: grid;
        align-self: flex-start;
        grid-template-columns: 100%;
        grid-column-gap: 0px;
        display: block;
        width: 100%;
    }
    .contact-form-label-container {
        grid-column: span 1;
        display: grid;
        align-items: flex-end;
        position: relative;
        padding-left: 0;
        padding-top: 1.5rem;
        padding-bottom: 0;
        background-color: transparent;
        border-top: 1px solid #DFDFE3;
        border-bottom: 1px solid #DFDFE3;
        border: none;
    }
    .required-tag {
        /* right: 2rem; */
        right: 0px;
    }
    .contact-form-input-container {
        grid-column: span 1;
        display: grid;
        align-items: center;
        height: 9rem;
        padding: 2rem 0px;
        /* padding-left: 0px; */
        border: none;
    }
    .contact-form-textarea-container {
        grid-column: span 1;
        display: grid;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 2rem 0px;
        border: none;
    }
    #contact-form-disclaimer {
        margin-top: 3rem;
        margin-bottom: 3rem;
        padding: 2rem 3rem;
    }
    #accept-disclaimer-container {
        width: 100%;
    }
    .contact-grid-spacer {
        display: none;
    }
    #contact-page-grid form button {
        width: 100%;
    }
    #contact-page-vr {
        display: none;
    }
    #contact-map-container {
        width: 100%;
        margin-top: 7.7rem;
    }
    #contact-map-img {
        width: 100%;
    }
}