﻿.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    
    max-width: 400px;
    min-width: min-content;
}
.grecaptcha-badge {
    bottom: 45px !important;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}

    .gsi-material-button .gsi-material-button-content-wrapper {
        -webkit-align-items: center;
        align-items: center;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        height: 100%;
        justify-content: center;
        position: relative;
        width: 100%;
    }

    .gsi-material-button .gsi-material-button-contents {
        -webkit-flex-grow: 0;
        flex-grow: 0;
        font-family: 'Roboto', arial, sans-serif;
        font-weight: 500;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: top;
    }

    .gsi-material-button .gsi-material-button-state {
        -webkit-transition: opacity .218s;
        transition: opacity .218s;
        bottom: 0;
        left: 0;
        opacity: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .gsi-material-button:disabled {
        cursor: default;
        background-color: #ffffff61;
        border-color: #1f1f1f1f;
    }

        .gsi-material-button:disabled .gsi-material-button-contents {
            opacity: 38%;
        }

        .gsi-material-button:disabled .gsi-material-button-icon {
            opacity: 38%;
        }

    .gsi-material-button:not(:disabled):active .gsi-material-button-state,
    .gsi-material-button:not(:disabled):focus .gsi-material-button-state {
        background-color: #303030;
        opacity: 12%;
    }

    .gsi-material-button:not(:disabled):hover {
        -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
        box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    }

        .gsi-material-button:not(:disabled):hover .gsi-material-button-state {
            background-color: #303030;
            opacity: 8%;
        }



img.logo {
    content: url("../../../images/Fida_n.png");
    max-width: 150px;
}
img.w-logo {
    content: url("../../../images/white-fida.svg");
    max-width: 150px;
}
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}



.box-costum {
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

div.inline{
    min-inline-size: max-content;
}
pre, code, kbd, samp {
    font-family: "Open Sans", sans-serif;
    font-size: 1em
}

input, button, select, optgroup, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}


/* Provide sufficient contrast against white background */
a {
    color: #EF7522;
    text-decoration: none;
    transition: color .2s;
    cursor: pointer
}
a.black {
    color: black;
    
    text-decoration: none;
    transition: color .2s;
    cursor: pointer
}


.nav-pills .nav-link {
    border-radius: .25rem
}

    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        color: #fff !important;
        background-color: #021619 !important;
        border: 1px solid;
    }
.nav-pills > li.nav-item > .nav-link:hover {
    background-color: transparent;
    color: #021619;
    border: 1px solid
}
.nav-pills > li.nav-item > .nav-link active:hover {
    text-decoration: none;
    color: #fff ; 
}
a:hover {
    color: #EF7522;
    text-decoration: underline;
}

p a, a, a.txt-link, a.txt-link-pipe {
    color: #EF7522;
    font-weight: 500;
    padding: 6px 4px
}

    p a:hover, a.txt-link:hover, a.txt-link-pipe:hover {
        color: #EF7522;
        text-decoration: underline;
    }

    a:focus, a[class^="badge-"]:focus, a[class*=" badge-"]:focus {
        outline: 0;
        outline-style: none;
        box-shadow: none;
        border-color: transparent;
        text-decoration: underline;
    }
.btn-link {
    color: #EF7522;
    font-weight: normal;
    border-radius: 0
}

    .btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled], fieldset[disabled] .btn-link {
        background-color: transparent;
        -webkit-box-shadow: none;
        box-shadow: none
    }

        .btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
            border-color: transparent
        }

            .btn-link:hover, .btn-link:focus {
                color: #AA5318;
                text-decoration: underline;
                background-color: transparent
            }

            .btn-link[disabled]:hover, fieldset[disabled] .btn-link:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:focus {
                color: #AA5318;
                text-decoration: none
            }

.dropdown-menu > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap
}

    .dropdown-menu > a:hover, .dropdown-menu > a:focus {
        text-decoration: none;
        color: #262626;
        background-color: #f5f5f5
    }

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus, .dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    outline: 0;
    background-color: #d91e2f
}


.flag img {
    height: 22px;
    margin-top: -2px;
    width: auto;
}

.btn-primary {
    font-family: "Open Sans", sans-serif;
    color: #fff; 
    width: 100%;  
    font-weight: 800 !important;
    line-height: 1.71;
    letter-spacing: normal;
    text-align: center;
    background: #EF7522;
    border: 1px solid #EF7522;
    padding: .5rem 1rem;
    font-size: 1rem;
    transition: background-color .2s,color .2s,border-color .2s,box-shadow .2s;
    border-radius: 6px;
    outline-color: transparent
}




    .btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
        background: #AA5318;
        color: #fff;
        border-color: #aa5318
    }

    .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
        background: #834013;
        color: #fff;
        border-color: #834013
    }

.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active {
    background: #AA5318;
    color: #fff;
    border-color: #aa5318
}

    .btn-primary .badge {
        margin-left: .5rem;
        min-width: 1rem;
        height: 1rem;
        line-height: 1rem;
        color: #ef7522;
        background-color: #fff
    }
    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
        background: #834013;
        color: #fff;
        border-color: #834013
    }





.btn-danger {

    outline-color: transparent font-family: "Open Sans", sans-serif;
    color: #fff;
    width: 100%;
    font-weight: 800 !important;
    line-height: 1.71;
    letter-spacing: normal;
    text-align: center;
    background: #021619;
    border: 1px solid #021619;
    padding: .5rem 1rem;
    font-size: 1rem;
    transition: background-color .2s,color .2s,border-color .2s,box-shadow .2s;
    border-radius: 6px;
    outline-color: transparent
}


@media(min-width: 1024px) {
}

.btn-danger:focus {
    background-color: transparent;
    color: #021c1f;
    border: 1px solid
}

.btn-danger:hover {
    background-color: transparent;
    color: #021c1f;
    border: 1px solid
}


input[type="submit"] {
    appearance: none
}

input {
    border-radius: 3px;
    border: 1px solid #e1e1e1;
    padding: 8px 16px;
    font-family: "Open Sans", sans-serif;
    
    color: #807e7e;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: normal;
    
}

    input:focus {
        box-shadow: none
    }

    input:not([type="checkbox"]) {
        height: 36px
    }
    input[type="checkbox"] {
        zoom: 1.25;
    }


.input-group-text {
    padding: 0.33rem 0.75rem;
}

label {
    margin-bottom: 1px;
    display: inline-block
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}




.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}



/*
    #GoogleBtn {
    display: inline-block;
    background: white;
    color: #444;
    max-width: 185px;
    border-radius: 5px;
    border: thin solid #888;
    box-shadow: 1px 1px 1px grey;
    white-space: nowrap;

}

    #GoogleBtn:hover {
        cursor: pointer;
    }
*/


#GoogleLabel {
    display: contents;
    position: absolute;
}

span.label {
    font-family: serif;
    font-weight: normal;
}


span.buttonText {
    display: inline-block;
    vertical-align: middle;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
    font-weight: bold;
    /* Use the Roboto font that is loaded in the <head> */
    font-family: 'Roboto', sans-serif;
}

button.eyeButton {
    background-color: WHITE;
    border: 1px solid #ced4da;
    border-left: 0px;
}

    button.eyeButton:focus {
        border-left: 0px;
        outline: 0px solid !important;
    }

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.form-control.none-border-right {
    border-right: 0px
}

.cta-register {
    width: 168px !important;
}
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 168px;
    height: 50px;
    background: var(--whiteAlpha100, #FCFCFC);
    border: none;
    border-radius: 6px;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #0A1F1C;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding-right: 0;
    padding-bottom: 0;
    padding-top: 0;
}

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.2), 0px 6px 10px -1px rgba(0, 0, 0, 0.15);
    }

/* Testo a sinistra */
.cta-text {
    flex: 1;
    text-align: center;
}

/* Parte destra arancione */
.cta-icon {
    background: #F47421;
    color: white;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

hr {
    border: 1px solid #000000
}

@media (min-width: 768px) {
    body.register-page .order-md-1 {
        order: 2 !important;
    }

    body.register-page .order-md-2 {
        order: 1 !important;
    }
}
/* Pulsante hamburger fisso */
.menu-toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .menu-toggle-btn:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.25);
        transform: scale(1.05);
    }

    .menu-toggle-btn i {
        font-size: 20px;
        color: #333;
    }

/* Modal slide da destra */
.modal-dialog-slideout {
    position: fixed;
    margin: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    right: 0;
    top: 0;
}

    .modal-dialog-slideout .modal-content {
        height: 100%;
        border-radius: 0;
        border: none;
    }

.modal.fade .modal-dialog-slideout {
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog-slideout {
    transform: translateX(0);
}

/* Stile menu */
#menuModal .modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 20px;
}

#menuModal .modal-body {
    padding: 20px;
}

#menuModal .nav-link {
    padding: 15px 10px;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

    #menuModal .nav-link:hover {
        color: #007bff;
        background: #f8f9fa;
        padding-left: 15px;
    }

#menuModal .modal-title {
    font-weight: 600;
    font-size: 1.3rem;
}

/* Nascondi il pulsante quando hideHeaderFooter è true */
body.no-header-footer .menu-toggle-btn {
    display: none;
}

/* Media query per responsive */
@media (min-width: 768px) {
    body .register-page .order-md-1 {
        order: 2 !important;
    }

    body.register-page .order-md-2 {
        order: 1 !important;
    }
}
/* Sticky footer styles
-------------------------------------------------- */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}
body.default-layout {
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;*/
    min-height: 100vh;
    position: relative;
    /*padding-bottom: 60px;*/
    background-color: #EEEEEE !important;
    margin: 0;
    font-family: 'TT Firs Neue Trl', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-repeat: no-repeat;
    background-position: top;
   
    overflow-y: auto;
    overflow-x: hidden; /* nasconde scroll orizzontale */
}

body.no-header-footer {
    background-color: #EEEEEE !important;
  
    height: 100%; /* occupa l’intera viewport */
    width:100%;
    display: flex;
    align-items: center; /* centra il contenuto verticalmente */
    justify-content: center; /* centra orizzontalmente */
    overflow-y: auto;
    overflow-x: hidden; /* nasconde scroll orizzontale */
}
    body.no-header-footer main {
        width: 100%;
        height: 100%;
    }


.footer {
    /*  
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 40px;

    */
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
}


header {
    background-color: #EEEEEE !important;
}
footer {
    background-color: #EEEEEE !important;
}
.card {
    background-color: #EEEEEE !important;
}
.bg-image {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.9) 100%), url("../../../images/9efef92d6ae80a32abca74c1e4ba12a5cb770bf9.jpg")center center / cover no-repeat;
}
/* ==========================================
   1. STILI BASE GLOBALI (Validi ovunque)
   ========================================== */
.span-layout {
    font-family: Inter;
    font-weight: 200;
    font-style: unset;
    line-height: 150%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.bg-image-mobile {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.9) 100%), url("../../../images/9efef92d6ae80a32abca74c1e4ba12a5cb770bf9.jpg") center center / cover no-repeat;
}

/* ==========================================
   2. MEDIA QUERIES (Solo per variazioni)
   ========================================== */

/* --- MOBILE STRETTO (Fino a 480px) --- */
@media (max-width: 480px) {
    .bg-image-mobile {
        height: 30vh;
    }

    .span-layout {
        font-size: 17px;
    }

    .span-layout-desc {
        font-size: 13px;
    }
}

/* --- MOBILE IPAD / SMARTPHONE LARGHI (Tra 481px e 768px) --- */
@media (min-width: 480.01px) and (max-width: 768px) {
    .bg-image-mobile {
        height: 35vh;
    }

    .span-layout {
        font-size: 22px;
    }

    .span-layout-desc {
        font-size: 14px;
    }
}

/* --- DESKTOP COMPATTI E TABLET LANDSCAPE (Tra 768.01px e 1200px) --- */
@media (min-width: 768.01px) and (max-width: 1200px) {
    .span-layout {
        font-size: 22px;
    }

    .span-layout-desc {
        font-size: 14px;
    }

        .span-layout-desc ul li {
            margin-bottom: 4px;
        }

        .span-layout-desc p {
            margin-bottom: 8px !important;
        }
}

/* --- DESKTOP GRANDI (Sopra i 1200.01px) --- */
@media (min-width: 1200.01px) {
    .span-layout {
        font-size: 28px;
    }

    .span-layout-desc {
        font-size: 16px;
    }

        .span-layout-desc ul li {
            margin-bottom: 8px;
        }
}


/* ==========================================
   3. NUOVA LOGICA SOGLIA DI SCROLL (Modificata a 768px)
   ========================================== */

/* --- DA DESKTOP A TABLET ORIZZONTALE (Da 768.01px in su) - Mantiene lo split fisso --- */
@media (min-width: 768.01px) {
    .row-login-layout {
        height: 100vh;
        overflow: hidden !important; /* Blocca la pagina intera */
    }

        .row-login-layout .bg-image {
            height: 100% !important;
        }

    .col-scrollable-form {
        height: 100%;
        overflow-y: auto !important; /* Solo il form scorre */
        overflow-x: hidden !important; /* Niente scroll laterale */
        scrollbar-width: thin;
    }
}

/* --- SOLO SMARTPHONE E VERTICALI (Fino a 768px) - Diventa fluido --- */
@media (max-width: 768px) {
    .row-login-layout {
        height: auto !important;
        overflow: visible !important; /* Sblocca lo scroll globale per il telefono */
    }

    .col-scrollable-form {
        height: auto !important;
        overflow: visible !important;
    }
}

/* --- COMPORTAMENTO DA DESKTOP (Da 768px in su) --- */
@media (min-width: 768.01px) {

    .text-truncate {
        display: -webkit-box !important;
        /* Abilita il box per il line-clamp */

        -webkit-box-orient: vertical; /* Imposta l'orientamento verticale */

        overflow: hidden !important; /* Taglia il testo in eccesso sull'asse Y */
        /* --- RESET ASSE X: Forza il testo ad andare a capo --- */

        white-space: normal !important; /* Annulla eventuali nowrap precedenti */

        word-break: break-word;
        /* Spezza le parole se sono troppo lunghe per il bordo */

        width: 100%; /* Costringe il testo a rispettare i margini della colonna */
        /* Numero massimo di righe visibili prima dei tre puntini (...) */

        -webkit-line-clamp: 20;
        margin-top: 3vh !important;
        margin-bottom: 3vh !important;
    }
}
/* --- OPTIMIZATION LAPTOP (Tra 768px e 1200px) --- */
@media (min-width: 768.01px) and (max-width: 1200px) {
    .text-clamp-vertical {
        -webkit-line-clamp: 10;
        /* --- MODIFICA: Margini leggermente ridotti per i laptop bassi --- */
        margin-top: 1vh !important;
        margin-bottom: 1vh !important;
    }
}
h1 {
    font-family: 'TT Firs Neue Trl', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 35px;
    letter-spacing: 0.15em;
    vertical-align: middle;
    text-transform: uppercase;
}

h2, h3 {
    font-family: 'TT Firs Neue Trl', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: 0.15em;
    vertical-align: middle;
    text-transform: uppercase;
}

.worksans-form-label {
    font-family: Work Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 5%;
    vertical-align: middle;
    text-transform: uppercase;
}

.worksans-boldtext {
    font-family: Work Sans;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -2.2%;
}

.worksans-text {
    font-family: Work Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -2.2%;
}

#usersTable th, #usersTable td {
    white-space: nowrap;
}
.btn-workstation-profile-action {
    background-color: #ffffff !important;
    color: #111111 !important;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}

    .btn-workstation-profile-action:hover {
        background-color: #f3f4f6 !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        color: #000000 !important;
    }

    .btn-workstation-profile-action:active {
        transform: translateY(0);
    }



