/* CSS Document */
html {
  min-height: 100%;
  /* margin-left: calc(100vw - 100%); */
}

body {
  /* stylelint-disable-next-line declaration-property-value-no-unknown */
  display: -ms-flexbox;      /* IE10-11 */
  display: -webkit-box;      /* OLD Safari, Android browser */
  display: flex;             /* Modern standard */

  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;

  min-height: 100vh;
}

main {
  -webkit-box-flex: 1;       /* OLD Safari */
  -ms-flex: 1 0 auto;        /* IE10 */
  flex: 1 0 auto;            /* Modern */
}

.modal {
  z-index: 1060 !important;
}

@media only screen and (max-width: 1024px) and (pointer: coarse) {
  .tooltip {
    display: none !important;
    z-index: 1050 !important;
  }
}

/* Disabilita sottolineature automatiche nei testi della tabella */
table td {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}
.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #007bff;
}

/* Regola le dimensioni del pulsante */
input[type="radio"] {
  width: 20px; /* Larghezza */
  height: 20px; /* Altezza */
}

/* Regola la dimensione del testo delle etichette */
.radio-label {
  font-size: 18px; /* Dimensione del testo */
  margin-left: 10px; /* Spazio tra il pulsante e l'etichetta */
}

.style1 {
    padding-bottom: 20px;
}
.style2 {
    padding-top: 10px;
}
.wappler-temp {}
.style3 {
    padding-top: 10px;
}
.style4 {
    padding-top: 10px;
    padding-bottom: 10px;
}
.style5 {
    margin-top: 0px;
}

/* Aggiunto il 28/08 per larghezza button 100% quando visualizzati da mobile */
@media (max-width: 991.98px) {
    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item,
    .navbar-nav > div[align] {
        width: 100%;
        margin-bottom: 5px;
        text-align: left !important;
    }

    .navbar-nav .nav-item .nav-link,
    .navbar-nav .nav-item .btn,
    .navbar-nav > div .btn {
        width: 100%;
        text-align: left;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
        padding: 12px 15px;
        margin-right: 0 !important;
    }

    .navbar-nav .nav-item .dropdown-toggle::after {
        margin-left: auto;
    }

    /* Stili specifici per il button logout */
    #btn_logout {
        width: 100% !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-pack: center !important;
            -ms-flex-pack: center !important;
                justify-content: center !important;
        text-align: center !important;
        margin-right: 0 !important;
    }

    /* Informazioni utente in mobile */
    .user-info-mobile,
    .navbar-nav > div[align="right"] {
        width: 100%;
        text-align: center !important;
        padding: 10px 15px;
        background-color: rgba(255,255,255,0.1);
        margin-bottom: 10px;
        border-radius: 5px;
    }
}
