/* ========================================================================
   ALCO VAN HIRE - SHARED CONTACT / QUOTE FORM STYLES
   ======================================================================== */

.contact-form-panel {
    width: 100%;
}

.contact-form-intro {
    margin: 0 0 18px;
    line-height: 22px;
}

.alco-form fieldset {
    border: 1px solid #cacaca;
    margin: 0 0 18px;
    padding: 15px;
}

.alco-form legend {
    padding: 0 8px;
    font-family: Oswald, sans-serif;
    font-weight: 700;
}

.alco-form-group {
    margin: 0 0 15px;
}

.alco-form-group:last-child {
    margin-bottom: 0;
}

.alco-form-group label {
    display: block;
    margin: 0 0 6px;
    font-weight: 700;
}

.alco-optional {
    font-weight: 400;
}

.alco-form .alco-field-invalid {
    border: 2px solid #ff0000 !important;
    outline: 2px solid rgba(192, 0, 0, 0.15);
}

.alco-form .alco-field-invalid:focus {
    border-color: #ff0000 !important;
    outline: 3px solid rgba(192, 0, 0, 0.25);
}

.alco-validation-error {
    margin-top: 5px;
    color: #ff0000;
    font-weight: 600;
    font-size: 0.95em;
}

.alco-form .alco-validation-error {
    display: block;
    margin: 5px 0 8px;
    color: #ff0000;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.3;
}

.alco-form .alco-radio-invalid {
	font-weight: 600;
    outline: 3px solid rgba(192, 0, 0, 0.25);
    border: 2px solid #ff0000 !important;
}


.alco-form input[type="text"],
.alco-form input[type="email"],
.alco-form input[type="tel"],
.alco-form select,
.alco-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid gray;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font: inherit;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	font-size: 16px;
}

.alco-form textarea {
    resize: vertical;
    min-height: 150px;
}

.alco-form input:focus,
.alco-form select:focus,
.alco-form textarea:focus,
.alco-form button:focus-visible {
    border-color: #ff515e;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(255, 81, 94, 0.075), 0 0 8px rgba(255, 81, 94, 0.6);
}

.alco-form [aria-invalid="true"] {
    border-color: red;
    color: #900;
    box-shadow: inset 0 1px 1px rgba(255, 81, 94, 0.075), 0 0 8px rgba(255, 81, 94, 0.6);
}

.alco-form-error {
    display: block;
    margin-top: 5px;
    color: red;
    font-weight: 700;
}

.alco-character-count {
    margin-top: 5px;
    text-align: right;
    font-size: 12px;
    line-height: 17px;
}

.alco-form-privacy,
.alco-form-required {
    font-size: 12px;
    line-height: 17px;
}

.alco-form-submit {
    display: block;
    width: 100%;
    padding: 12px 18px;
    border: 2px solid red;
    border-radius: 4px;
    background: red;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.alco-form-submit:hover,
.alco-form-submit:focus-visible {
    background: transparent;
    color: red;
}

.contact-form-alert {
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid;
    text-align: center;
    line-height: 21px;
}

.contact-form-alert--success {
    border-color: green;
    background: #f4fff4;
}

.contact-form-alert--error {
    border-color: red;
    background: #fff5f5;
}

/* Honeypot: available to bots in the DOM, but kept off-screen for customers. */
.alco-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-form--sent {
    opacity: 0.55;
}

.contact-form--sent input,
.contact-form--sent select,
.contact-form--sent textarea,
.contact-form--sent button {
    cursor: not-allowed;
}

/* ================================================================
   DISABLED SUBMIT BUTTON
   ================================================================ */

.alco-form-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

@media screen and (max-width: 600px) {
    .alco-form fieldset {
        padding: 12px;
    }
}
