/*  REGULAR    */
@font-face {
    font-family: 'SF Pro Text'; /* Il nome che userai nel codice */
    src: url('/templates/fonts/SF-Pro-Text-Regular.woff2') format('woff2'),
        url('/templates/fonts/SF-Pro-Text-Regular.otf') format('otf');
    font-weight: 400; /* Regular */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SF Pro Text'; /* Il nome che userai nel codice */
    src: url('/templates/fonts/SF-Pro-Text-RegularItalic.woff2') format('woff2'),
        url('/templates/fonts/SF-Pro-Text-RegularItalic.otf') format('otf');
    font-weight: 400; /* Regular */
    font-style: italic;
    font-display: swap;
}

/*  LIGHT    */
@font-face {
    font-family: 'SF Pro Text'; /* Il nome che userai nel codice */
    src: url('/templates/fonts/SF-Pro-Text-Light.woff2') format('woff2'),
        url('/templates/fonts/SF-Pro-Text-Light.otf') format('otf');
    font-weight: 200; /* Regular */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SF Pro Text'; /* Il nome che userai nel codice */
    src: url('/templates/fonts/SF-Pro-Text-LightItalic.woff2') format('woff2'),
        url('/templates/fonts/SF-Pro-Text-LightItalic.otf') format('otf');
    font-weight: 200; /* Regular */
    font-style: italic;
    font-display: swap;
}

/*  SEMIBOLD */
@font-face {
    font-family: 'SF Pro Text'; /* Il nome che userai nel codice */
    src: url('/templates/fonts/SF-Pro-Text-Semibold.woff2') format('woff2'),
        url('/templates/fonts/SF-Pro-Text-Semibold.otf') format('otf');
    font-weight: 600; /* Regular */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SF Pro Text'; /* Il nome che userai nel codice */
    src: url('/templates/fonts/SF-Pro-Text-SemiboldItalic.woff2') format('woff2'),
        url('/templates/fonts/SF-Pro-Text-SemiboldItalic.otf') format('otf');
    font-weight: 600; /* Regular */
    font-style: italic;
    font-display: swap;
}

/*  BOLD */
@font-face {
    font-family: 'SF Pro Text'; /* Il nome che userai nel codice */
    src: url('/templates/fonts/SF-Pro-Text-Bold.woff2') format('woff2'),
        url('/templates/fonts/SF-Pro-Text-Bold.otf') format('otf');
    font-weight: 700; /* Regular */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SF Pro Text'; /* Il nome che userai nel codice */
    src: url('/templates/fonts/SF-Pro-Text-BoldItalic.woff2') format('woff2'),
        url('/templates/fonts/SF-Pro-Text-BoldItalic.otf') format('otf');
    font-weight: 700; /* Regular */
    font-style: italic;
    font-display: swap;
}

* {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif!important;
font-size:14px;
line-height:20px;
letter-spacing:0px;

}


.btn-outline-primary {margin-top: 1.5rem;background-color: #0071e3;color: #fff!important;border-color: #0071e3;height: 48px;text-align: center;font-size: 14px;letter-spacing: 0;line-height: 20px;padding:0px 32px;min-width: 120px;min-height: 45px;border-radius: 32px;position: relative;}

.btn-outline-primary:hover {

text-decoration: underline;
background-color: #0054a8;
    border-color: #0054a8;
}

.select2-selection__rendered {
    font-size: 14px;
}

.form-control {
    margin-bottom: 20px;
    /*border-radius: 0 !important;*/
    min-height:45px!important;
    width: 100%;
    flex-grow: 1;
    text-align: left;
    padding: 1.5rem;
    margin: 1px;
    border-color:#000;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 20px;

}

.form-control:focus{
    /* box-shadow: 0 0 0 2px rgba(0, 113, 227, 1)!important; */
    border-color: #0071e3!important;
    outline: none;
}

textarea.form-control {
    border-color:#000!important;
    min-height: 100px!important;
}

textarea.form-control :focus{
    font-size: 16px;
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 1);
    border-color: #0071e3!important;
    outline: none;
}

.contenitoreRstore {
    font-family: 'SF Pro Text', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    /*max-height: 100%;*/
    /*overflow-y: auto;*/
    /*scrollbar-color: #000 #fff;*/
    /*scrollbar-width: none;*/
}

.titolo{
    margin-top: 40px;
    margin-bottom: 50px;
    font-weight: 600;
    font-family: 'SF Pro Text';
}

.dispositivo{
    font-size: 15px;
    font-weight: 600;
}

#lob_container,#model_container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.lob_elem{
    width: 290px;
    border-radius: 12px;
    /* border: 1px solid #000; */
    padding:20px;
    position: relative;
    box-shadow: 0 0 5px #0000004d;
    align-content:end;
}

.lob_elem:hover{
    border-color:#f3f3f3;
    background-color: #f3f3f3;
    cursor: pointer;
}

.lob_elem img {
    width: auto;
    height: 60px;
    height: auto;
    margin-bottom: 5px;
}

.lob_elem label {
    display: flex;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 600;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.lob_elem img:hover{
    cursor: pointer;
}

.lob{
    position: absolute;
}

.recuperaModelliDaBrandELob {
    flex: 1 1 400px;
    max-width: 400px;
}

.alert{
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: .25rem;
}

.alert-danger{
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

#model_container{
    margin-top: 40px;
}

.valutazione{
    font-size:25px;
    font-weight: 700;
}

#valutazione .titolo{
    margin-bottom: 15px;
}

#valutazione label{
    font-weight: normal;
    left:10px;
}

#valutazione_container{
    border: 1px solid #000;
    padding: 12px 100px;
    border-radius: 0.375rem;
    font-size: 25px;
    display: inline-block;
    min-height: calc(1.5rem + .5rem + 2px);
}

#post_valutazione{
    max-width: 50%;
    margin: 40px auto;
}

.supervalutazione{
    font-size: 16px;
    font-weight: 600;
    color: #5856D6;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    display: block;
    margin-bottom:10px;
    letter-spacing: 0;
}
.colorSupervalutazione{
    color:#5856D6;
}
.infoFineValiditaSupervalutazione{
    font-size: 1.2rem;
    font-style: italic;
}
#formSalvaPreventivo{
    background: #f3f3f3;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
   
    #formSalvaPreventivo .btn-primary{
        color: #ffffff;
        background: #13b813;
        border: solid 1px #13b813;
        padding:10px 15px;
        font-size: 18px;
    }
    #formSalvaPreventivo .btn-primary:hover{
        color: #ffffff;
        background: #0d720d;
        border: solid 1px #0d720d;
    }
#formSalvaPreventivoValutazione{
    max-width: 1200px;
    align-self: center;
}
#formSalvaPreventivoValutazione h3{
    font-weight: 600;
}
#mgh-alertSalvaPreventivo{
    display: inline-block;
    margin-top:20px;
    width: 100%;
}
.mgh-mt-50{
    margin-top:50px;
}


.form-floating > .form-control:focus {
    border-width: 2px;
    border-color: black;
    box-shadow: none;
}

/* Impedisce alla label di sovrapporsi al testo di Selectize */
.selectize-floating {
    position: relative;
}

/* Forza la label in posizione "floating" (piccola in alto) */
.selectize-floating label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem) !important;
    z-index: 10; /* Assicura che sia sopra Selectize */
    pointer-events: none;
}

/* Aggiusta lo spazio interno di Selectize per non toccare la label */
.selectize-floating .select2-selection {
    padding-top: 1.625rem !important; /* Spazio per la label */
    padding-bottom: 0.625rem !important;
    border: 1px solid #000; /* Allinea allo stile Bootstrap */
    border-radius: 0.375rem !important;
    height: 52px;
    text-align: left;
    padding-left: 10px !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border: solid 2px #0071e3;
    box-shadow: none;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus{
    border: solid 2px #0071e3;
    box-shadow: none;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus{
    border: solid 2px #0071e3;
    box-shadow: none;
}

.form-check{
    padding-left:30px;
}


@media only screen and (max-width: 768px){
    #lob_container,
    #model_container,
    #valutazione{
        padding: 0 20px;
    }
    #lob_container{
        justify-content:space-between;
    }
    .lob_elem{
        width: 47%;
        margin-bottom: 0;
    }
    #post_valutazione{
        max-width: 80%;
    }

    #valutazione_container {
        border: 1px solid #000;
        padding: 10px;
        border-radius: 11px;
        font-size: 22px;
        display: inline-block;
        width: 100%;
    }
    .supervalutazione{
        bottom: -7px;
        font-size: 10px;
    }
    #formSalvaPreventivo .btn-primary{
        font-size:14px;
    }
}

/*----------------------------FINE*/