.form-section{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:3vw;
    min-height: 40vh;
}

.form-container{
    padding: 2rem;
    /* border: 1px solid #333333; */
    border-radius: 5px;
    box-shadow: 0px 5px 15px rgb(0 0 0 / 30%);
	background-color: #fff;
    color:#333;
}
.form-title{
    font-size: 2rem;
    font-weight: 600;
    padding: 0 .4rem;
}
.form-wrapper{
    display: flex;
    flex-flow: column;
    gap: .4rem;
}
.form-fieldbox{
    display: flex;
    flex-flow: column;
}
.form-label {
    font-weight: 600;
    font-size: .9rem!important;
}

.form-input{
    border: 0!important;
    border-bottom: 1px solid #333!important;
    transition: all .4s ease-in-out!important;
    background-color: transparent!important;
    border-radius: 0!important;
    box-shadow: none!important;
    padding: 0!important;
    font-size: .9rem!important;
	color: #333 !important;
}

.form-input.obbligatorio{
    border-bottom: 1px solid #f03e0a!important;
}
#consent-label.obbligatorio{
    color: #f03e0a!important;
}

#consent-label.obbligatorio #consent_check{
    border: 1px solid #f03e0a!important;
}

input[name="client_consent"] {
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    margin: 0;
}
#consent_check {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #fff;
    margin-left: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    transition: all .4s ease;
}
#consent_check.checked {
    background: #f03e0a;
}

#consent-label{
    /* display: inline; */
    font-size: .8rem;    
}

select.form-input{
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: inherit;
    width: 100%;
}
.select-container{
    position: relative;
}

.select-container::before,
.select-container::after{
    --size: 0.3rem;
  position: absolute;
  content: "";
  right: 1rem;
  pointer-events: none;
}
.select-container::before{
    border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-bottom: var(--size) solid black;
  top: 40%;
}
.select-container::after{
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-top: var(--size) solid black;
    top: 55%;
}

.submit-req {
    display: inline-block;
    padding: .5rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
    transform: scale(1);
    box-shadow: 0px 5px 15px rgb(0 0 0 / 30%);
    transition: transform .2s ease-out;
    background-color: #f03e0a;
}

.submit-req:active {
    transform: scale(.98); 
}

#san-form-message {
    position: fixed;
    bottom: 1%;
    left: 1%;
    z-index: 9999999999;
    min-height: 7vh;
    min-width: 20vw;
    background-color: #fff;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 7px rgb(0 0 0 / 50%);
    transform: translateX(-999px);
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease-in;
}

#san-form-message.active{
    transform: translateX(0px);
    opacity: 1;
    visibility: visible;
}

#san-form-message.active.success{
    /* box-shadow: 2px 2px 7px rgb(60 118 61 / 50%); */
    border-left: 5px solid green;
}

#san-form-message.active.error{
    /* box-shadow: 2px 2px 7px rgb(242 70 26 / 50%); */
    border-left: 5px solid #f54b26;
}


#altro__field-box{
    overflow: hidden;
    max-height: 0;
    opacity:0;
    visibility: hidden;
    /* transition: all .4s ease-in; */
    transition: visibility 20s 1s ease-out, opacity .3s .3s ease-out,  max-height 1s  0s ease-out;
}
#altro__field-box.active{
    max-height: 300px;
    opacity: 1;
    visibility: visible;
    transition: visibility 3s 0s ease-in, opacity 1s 0s ease-in,  max-height 1s  0s ease-in;
}


@media screen and (max-width:991px) {
    .form-section{
        flex-flow: column;
        align-items: center;
        justify-content: center;
        min-height: 50vh;
    }
}


@media screen and (max-width:400px) {
    #consent_check{
        width: 25px;
        height: 17px;
    }
}