#section-form-reclamaweb {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border: none !important;
}

#section-form-reclamaweb .accent {
    color: orange !important;
}

#section-form-reclamaweb .loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#section-form-reclamaweb .required-field {
    border: 1px solid red;
}
#section-form-reclamaweb .required-field-label {
    color: red;
    font-weight: bold;
}

#section-form-reclamaweb .form-style {
    margin: 0.3rem;
    box-sizing: border-box;
    text-align: start;
}

#section-form-reclamaweb .border-section-none {
    border: none;
    padding: 10px;
    margin: 10px 0;

}

#section-form-reclamaweb .border-section {
    border: 6px solid #0073bd;
    padding: 10px;
    margin: 10px 0;
}

#section-form-reclamaweb .title-legend-none h2 {
    text-align: center;
    text-transform: uppercase;
    color: #0073bd;
    background: transparent;
    padding: 10px 20px;
    font-size: 28px;
    font-weight: 800;
    margin: auto;
    display: none;

}

#section-form-reclamaweb .title-legend {
    text-align: center;
    text-transform: uppercase;
    color: #0073bd;
    background: transparent;
    padding: 10px 20px;
    font-size: 28px;
    font-weight: 800;
    margin: auto;
}

#section-form-reclamaweb .title-legend h2 {
    text-align: center;
    text-transform: uppercase;
    color: #0073bd;
    background: transparent;
    padding: 10px 20px;
    font-size: 28px;
    font-weight: 800;
    margin: auto;
}

#section-form-reclamaweb .mt-1 {
    margin-top: 1rem;
}

#section-form-reclamaweb .mb-1 {
    margin-bottom: 1rem;
}

#section-form-reclamaweb .form-control {
    width: 100%;
    padding: 0.4rem;
    box-sizing: border-box;
    background-color: #e5e7ea;
    border: 1px solid #d6d6d6;
}

#section-form-reclamaweb .custom-select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0.4rem;
    box-sizing: border-box;
    background-color: #e5e7ea;
    border: 1px solid #d6d6d6;
}

#section-form-reclamaweb .selected-option {
    display: block;
    padding: 0.4rem;
}

#section-form-reclamaweb .form-style label .star {
    color: red;
}

#section-form-reclamaweb .submit-button {
    width:100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #51a351;
    color: white;
    font-size: medium;
    font-weight: bold;
    box-sizing: border-box;
    border-radius: 0.5rem;
    border-color: #51a351;
    cursor: pointer;
}

#section-form-reclamaweb .image-div {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;
    justify-content: space-between;
    box-sizing: border-box
}

#section-form-reclamaweb .image-result {
    width: 30%;
    max-width: 150px;
    height: auto;
    margin: auto;
}

#section-form-reclamaweb .image-title {
    width: fit-content;
    text-align: center;
}

#section-form-reclamaweb .image-title img{
    display: block;
    max-height: 100px !important;
    height: fit-content !important;
    width: auto !important;
    margin: 0 auto;
}

#section-form-reclamaweb .image-title p {
    margin-top: 10px;
    font-size: smaller;
    font-weight: bold;
}

#section-form-reclamaweb .label-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.2rem;
}

#section-form-reclamaweb .label-container .icon-info {
    margin-right: 5px;
    height: 14px;
    width: auto !important;
    vertical-align: middle;
    cursor: pointer;
}

#section-form-reclamaweb .reclama-carousel {
    position: relative;
}

#section-form-reclamaweb .reclama-carousel-inner {
    position: relative;
    overflow: hidden;
}

#section-form-reclamaweb .reclama-carousel-item {
    display: none;
}

#section-form-reclamaweb .reclama-carousel-item.active {
    display: block;
}

#section-form-reclamaweb .reclama-carousel img {
    max-width: 100%;
    height: fit-content;
}

#section-form-reclamaweb .reclama-carousel-caption {
    text-align: center;
}

#section-form-reclamaweb .reclama-carousel-caption p{
    margin-top: 10px;
    font-size: x-small;
    font-weight: bold;
}

.sfe-per-sapere-di-piu,
.sfe-testo-dopo-reclamaweb{
    margin: 30px 0;
}
.sfe-per-sapere-di-piu .title{
    margin-bottom: 20px;

}

/* Stili per dispositivi con larghezza massima di 768px (ad esempio, smartphone) */
@media screen and (max-width: 768px) {

    #section-form-reclamaweb {
        width: 100%;
    }

    #section-form-reclamaweb .title-legend {
        font-size: 20px;
    }

    #section-form-reclamaweb .title-legend h2 {
        font-size: 20px;
    }

    #section-form-reclamaweb .form-control
    {
        font-size: smaller;
    }

    #section-form-reclamaweb .form-style label {
        font-size: smaller;
    }

    #section-form-reclamaweb .footer {
        box-sizing: border-box;
        margin-right: 1.5rem;
        margin-left: 1.5rem;
        margin-top: 2rem;"
    }

    #section-form-reclamaweb .error-message {
        margin-top: 10px;
        font-size: smaller;
        font-weight: bold;
    }

    #section-form-reclamaweb .success-message {
        margin-top: 10px;
        font-size: smaller;
        font-weight: bold;
    }

    #section-form-reclamaweb .reclama-carousel {
        display: block;
    }

    #section-form-reclamaweb .image-div {
        display: none;
    }

    #section-form-reclamaweb .subtitle {
        font-weight: normal;
        font-size: smaller;
    }
}

/* Stili per dispositivi con larghezza maggiore di 768px (ad esempio, desktop) */
@media screen and (min-width: 769px) {

    #section-form-reclamaweb {
        width: 80%;
    }

    #section-form-reclamaweb .form-control
    {
        font-size: inherit;
    }

    #section-form-reclamaweb .form-style label {
        font-size: inherit;
    }

    #section-form-reclamaweb .footer {
        box-sizing: border-box;
        margin-right: 5rem;
        margin-left: 5rem;
        margin-top: 2rem;
    }

    #section-form-reclamaweb .error-message {
        margin-top: 10px;
        font-size: inherit;
        font-weight: bold;
    }

    #section-form-reclamaweb .success-message {
        margin-top: 10px;
        font-size: inherit;
        font-weight: bold;
    }

    #section-form-reclamaweb .subtitle {
        font-weight: normal;
        font-size: inherit;
    }

    #section-form-reclamaweb .image-div {
        display: flex;
    }

    #section-form-reclamaweb .reclama-carousel {
        display: none;
    }

    #section-form-reclamaweb .row {
        display: flex;
    }

    #section-form-reclamaweb .box {
        flex: 1;
    }

    #section-form-reclamaweb .box-left {
        flex: 1;
        margin-right: 1rem;
    }

}