form {display: grid; grid-template-columns: 1fr; grid-gap: 20px;}
form input, form textarea, form select {outline: 0; border: 1px solid #4E5061!important; width: 100%; box-sizing: border-box; display: inline-block; color: var(--sapphire); font-family: inherit; transition: 0.3s; padding: 10px 15px; background: #fff; border-radius: 5px; line-height: 30px; font-size: 16px;}

.contact-us .content .form-wrapper {max-width: 700px; margin: 0 auto; box-sizing: border-box; width: 85%; padding: 30px; background: var(--iced-lavender); border-radius: var(--border-radius);}
.contact-us .content .form-wrapper h3 {font-weight: bold; margin-bottom: 20px;}
.contact-us .content .form-wrapper a, .contact-us .content .form-wrapper p {display: block; font-size: var(--standard-font); line-height:1.4}
.contact-us .content .form-wrapper #systemMessage {margin-top: 30px;}

.form-grid {display: grid; grid-template-columns: 1fr 1fr; grid-gap: 20px;}
.form-grid .button {font-size: 16px; display: flex; width: fit-content; min-width: 0;}
.form-grid .button:hover {background: var(--bright-green); cursor: pointer;}

.select-grid {grid-template-columns: 4fr 3fr;}

.form-field.textarea {grid-column: span 2;}
.form-field, .select-wrapper {position: relative; transition: 0.3s;}
.form-field label, .select-wrapper label {position: relative; user-select: none; pointer-events: none; opacity: 1;font-size: 14px; transition: 0.3s; text-transform: uppercase;display: block; margin-bottom: 10px; font-weight: bold; letter-spacing: 1px;}

.select-wrapper::before {content: ''; display: block; position: absolute; top: 50px; right: 15px; background: #26283b; mask-image: url('/img/select-arrow.svg'); width: 13px; height: 10px; mask-size: contain; z-index: 1; mask-repeat: no-repeat;}

.form-field textarea {resize: none;height: 160px; overflow: auto;}

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0px 1000px #fff inset !important;
    -webkit-text-fill-color: var(--sapphire) !important;
    border-color: var(--sapphire) !important;
    font-family: inherit;
}

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:focus {
    transition: background-color 9999s ease-out, color 9999s ease-out;
    -webkit-animation: autofill-fix 0s 9999s both;
}

@keyframes autofill-fix {
    100% {
        background-color: #fff;
        color: var(--sapphire);
    }
}

.form-field input[data-autocompleted] {
    background-color: transparent !important;
}



form .check-label {display: flex; align-items: center; padding: 7px 20px 5px 50px; line-height: 28px; justify-content: flex-start; user-select: none; position: relative; font-size: 17px; text-transform: none; margin: 0;}
form .check-label input {width: 30px; position: absolute; top: 50%; left: 0px; transform: translateY(-50%); cursor: pointer;border: 1px solid #4E5061; overflow: hidden;-webkit-appearance: none;height: 30px;padding: 0;transition: 0.3s;background: #fff; box-sizing: border-box;}
form .check-label input:checked {background: var(--sapphire);border: 1px solid #fff0;}

form .check-label input::before {content: '';display: block;position: relative;width: 5px;height: 3px;transform: rotate(45deg);background: var(--sapphire);right: -7px;top: -15px;transition: 0.3s;}
form .check-label input::after {content: '';display: block;position: relative;width: 15px;height: 3px;transform: rotate(-45deg);background: var(--sapphire);right: -8px;top: -15px;transition: 0.3s;}
form .check-label input:checked::before {top: 16px;background:#fff}
form .check-label input:checked::after {top: 10px;background: #fff}

.highlight_message p {color: #61161f!important;text-align: center!important; padding:20px;background-color: #fdd!important;border-radius: 10px;border: 1px solid #f1b7bf;width: 100%; margin: 0 auto 30px !important; font-size: 20px; box-sizing: border-box; max-width: none!important;}
.success-message p {text-align: center!important; padding:20px; border-radius: 10px; background: #2dd284 !important; color: #fff !important; border: 1px solid #2dd284 !important; width: 100%; margin: 0 auto 30px !important; font-size: 20px; box-sizing: border-box; max-width: none!important;}

.success p {color: #fff!important;text-align: center!important; padding:20px;background-color: #2dd284!important;border-radius: 10px;border: 1px solid #2dd284;width: 100%; margin: 0 auto 30px !important; font-size: 20px; box-sizing: border-box; max-width: none!important;}

.form-field-missing input {border: 1px solid #f1b7bf!important; }
