/*
 old: https://www.riflessi.it/Riflessi/css/brick/formBrick.css
*/
.section-form {
    background: #efefef;
    padding: 45px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
    position: relative;
}

.section-form.login-form,
.section-form.recovery-pwd-form {
    background: #fff;
    margin-top: 60px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: auto;
}

.recovery-pwd-form .step {
    align-items: unset;
}

.step.hidden {
    display: none;
}

.title-form {
    font-weight: 300;
    font-size: 48px;
    color: rgb(30, 30, 30);
    text-transform: uppercase;
}

.text-form {
    font-weight: 300;
    font-size: 24px;
    color: rgb(10, 10, 10);
}

.container-form {
    margin-top: 40px;
    width: 100%;
}

.container-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.form-width-50-center {
    display: flex;
    justify-content: center;
}

.form-width-50 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.field-file-form {
    width: 100%;
    opacity: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.container-field {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 49%;
    gap: 4px;
}

.field-form {
    height: 56px;
    border: 1px solid #ccc;
    padding: 0 16px;
    width: 100%;
    font-size: 16px;
}

select.field-form {
    -webkit-appearance: none;
    background-image: url("https://www.riflessi.it/Riflessi/img/chevron-down.png");
    background-repeat: no-repeat;
    background-position: 98%;
}

textarea.field-form {
    margin-top: 4px;
    max-width: 100%;
    padding: 16px;
    height: 150px;
}

.container-form input::placeholder {
    color: #333;
    font-size: 16px;
}

.field-form.margin-bottom {
    margin-bottom: 25px;
}

.checkbox {
    display: flex;
    margin: 8px 0;
}

.checkbox input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    border: 1px solid #333;
}

.container-button-submit {
    display: flex;
    justify-content: center;
}

.recovery-pwd-form .container-button-submit {
    justify-content: flex-start;
}

.form-checkbox-label {
    width: 95%;
    font-size: 13px;
}

.form-checkbox-label a {
    text-decoration: underline;
    cursor: pointer;
}

.field-form.categories:invalid~.field-form.products {
    pointer-events: none;
    color: #cccccc;
}

.next-step {
    height: 50px;
    padding: 0 25px;
    background: #3d3d3d;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
}

.testo-obbligo-compilazione {
    font-size: 10px;
    font-style: italic;
    margin-top: 40px;
}

.container-buttons {
    margin-top: 20px;
    position: relative;
}

.back-step {
    margin-top: 22px;
    display: flex;
    align-items: center;
    /*height: 100%;*/
    z-index: 9;
}

.back-step button {
    border: none;
    text-transform: uppercase;
    color: #989898;
    font-size: 17px;
}

.chevron-left-form {
    width: 20px;
    height: 24px;
    position: relative;
}

.chevron-left-form::before {
    content: "";
    height: 12.5px;
    width: 1px;
    background: #989898;
    position: absolute;
    transform: rotate(45deg);
    top: 1.3px;
    right: 10px;
}

.chevron-left-form::after {
    content: "";
    height: 12.5px;
    width: 1px;
    background: #989898;
    position: absolute;
    bottom: 1.4px;
    transform: rotate(-45deg);
    right: 10px;
}

input.field-form:not(.date):valid {
    background: #5fe6695e;
}

select.field-form:valid {
    background: linear-gradient(#5fe6695e 100%, #5fe6695e 100%), url("/Riflessi/img/chevron-down.png");
    background-repeat: no-repeat;
    background-position: 98%;
}

.field-form option {
    background: #fff;
}

.linea-divisore {
    width: 100%;
    border-bottom: 0.5px solid #c8c9ca;
}

/* Risposta automatica */
.container-risposta-automatica {
    text-align: center;
    padding: 32px;
}

.container-risposta-automatica .title-form {
    margin-bottom: 22px;
}

.container-risposta-automatica .container-store-vicino {
    margin-top: 32px;
}

.container-risposta-automatica .container-store-vicino .title-store {
    font-weight: 500;
    font-size: 26px;
    text-transform: uppercase;
    color: #b34502;
    margin-bottom: 5px;
}

.container-info-store {
    font-size: 15px;
    font-weight: 300;
}

.container-info-store a {
    font-size: 15px;
    text-decoration: underline;
}

.container-risposta-automatica .detail {
    color: #b34502;
    font-weight: 500;
    line-height: 1.2;
    font-size: 17px;
}

.section-form .h-captcha iframe {
    width: 100% !important;
}

.message-form-error {
    font-size: 11px;
    width: 100%;
    padding: 5px;
    background: #f2c5c5;
    display: none;
}

.message-form-error.show {
    display: block;
}

.message-form-success {
    text-align: center;
    display: block;
    font-size: 18px;
    width: 100%;
    padding: 5px;
    background: #bfecbfa1;
}

.message-form-success.show {
    display: block;
}

.container-loader.hidden {
    display: none;
}

.container-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    background: #efefef;
    align-items: center;
    z-index: 99;
}

.container-links-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 34px;
}

.container-links-form a {
    text-decoration: underline;
}

.container-file {
    width: fit-content;
    cursor: pointer !important;
}

.container-file button {
    position: relative;
    height: 46px;
    padding: 10px 16px;
    width: fit-content;
    font-size: 16px;
    border: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.container-file .file-selected {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.container-file button .fa-cloud-arrow-up {
    margin-right: 6px;
}

.field-form.date:valid::before {
    display: none
}

@media (min-width: 1280px) {
    .step {
        width: 100%;
        max-width: 1326px;
    }
}

@media (max-width: 1040px) {
    .form-width-50 {
        justify-content: center;
    }

    .container-field,
    .field-file-form {
        max-width: unset;
        min-width: 95%;
    }

    .field-form,
    .field-file-form {
        color: #333;
        background: #fff;
    }

    .field-form.date::-webkit-date-and-time-value {
        text-align: left;
    }
}

@media (max-width: 800px) {
    .title-form {
        font-size: 36px
    }
}

@media (max-width: 472px) {
    .title-form {
        font-size: 27px;
        font-weight: 400;
        text-align: center;
    }

    .text-form {
        font-size: 20px;
        text-align: center;
    }

    .container-file button {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .container-file {
        width: unset;
    }

    .message-form-success {
        font-size: 13px;
    }

    .field-form.date::before {
        content: attr(data-placeholder);
        width: 100%;
    }
}
