/*
 * It is advised not to edit the smartadmin_production.css
 * as this will override any changes you make in the 
 * later versions of this theme. 
 * 
 * We advise that you use use this CSS to override 
 * SmartAdmin styles. 
 * 
 * Rename the stylesheet to whatever your liking so it will stay
 * unique to you with each update of SmartAdmin.
 */

/*
 * INDEX
 * 
 * - HTML
 * - BODY
 * - CUSTOM STYLES
 */

html {
    background: url("../img/background.png") no-repeat center top white;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    margin: 0;
}

html #recaptcha_area, html #recaptcha_table {
    width: 300px !important;
}

/*
 * GOOGLE PLACE box suggerimenti
 */
.pac-container {
    z-index: 1051;
}

/*
*	Archivio Antiriciclaggio
*/
tr.ui-jqgrid-labels.jqg-second-row-header > th {
    text-align: center;
}

/*
 * Form export archivio antiriciclaggio
 */

.export-archivio-form-label {
    display: inline-block;
    width: 80px;
    text-align: left;
}

.ricerca-avanzata-sap-label {
    display: inline-block;
    text-align: left;
}

.export-archivio-form-control {
    width: 200px;
}

/*
*	Fix Autocomplete
*/
.ui-autocomplete {
    z-index: 10000 !important;
}

/*
*	Hide captcha logo
*/
.grecaptcha-badge {
    display: none !important;
}

/*
 *   Apply the property "cursor: pointer" to jGrid anchor elements
 */
.ui-widget-content a {
    cursor: pointer;
}

/*
 *   Nasconde tutte le row dei campi all'interno del riquadro per la ricerca delle operazioni
 */
#operation_details .row-newForm {
    display: none;
}

/*
 * Mostra il cursore "pointer" sugli elementi della navbar
 */
.navbar li {
    cursor: pointer;
}

/*
 * Diminuisce la dimensione del carattere dell'area stampabile della modale di stampa dell'anagrafica
 * del 60%
 */
#anteprima-cg-movimenti-modal .printable-section {
    font-size: 60%;
}

/**
 * Anteprima PDF
 */
.pdf-preview {
    width: 100%;
    height: 30vh;
}

/**
 * Classe per la visualizzazione di menu e metodi attivi di default per ruolo nella selezione in "Nuovo/Modifica Utente"
 */
.dropdown-menu > .active.active-default-role > a,
.dropdown-menu > .active.active-default-role > a:focus,
.dropdown-menu > .active.active-default-role > a:hover {
    background-color: #7194b3;
}

/**
 * Classi per modificare il colore del Pace
 */
.pace {
    -webkit-pointer-events: none;
    pointer-events: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #007d41;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 2px;
}

.pace .pace-activity {
    display: none;
}


/* Metti in maiuscolo gli input nella form */
.uppercase-form {
    text-transform: uppercase;
}

.ib_ticket {
    text-transform: uppercase;
}

/* Ma non i placeholder */
.uppercase-form::-webkit-input-placeholder { /* WebKit browsers */
    text-transform: none;
}
.uppercase-form:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    text-transform: none;
}
.uppercase-form::-moz-placeholder { /* Mozilla Firefox 19+ */
    text-transform: none;
}
.uppercase-form:-ms-input-placeholder { /* Internet Explorer 10+ */
    text-transform: none;
}
.uppercase-form::placeholder { /* Recent browsers */
    text-transform: none;
}

/* Fix: tasti in alto le tabelle coi margin */
.ui-jqgrid .ui-jqgrid-view input {
    height: 20px;
    margin: 0 1px !important;
}

#ElabResult {
    margin-top: 2em;
}

.separator {
    text-align: center; 
    margin-top: 20px; 
    margin-bottom: 40px; 
}

.microsoft-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-bottom: 20px;
}

.microsoft-login-btn {
    background-color: white;
    color: #2F2F2F;
    padding: 10px 15px 10px 40px; 
    border: 1px solid #2F2F2F;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    border-radius: 2px;
    font-family: Arial, sans-serif;
    height: 41px;
    text-decoration: none;
    position: relative; 
}

/* Stile per l'immagine del logo di Microsoft */
.microsoft-login-btn::before {
    content: "";
    background-image: url('../img/ms_identity.png'); 
    background-size: cover; 
    position: absolute;
    left: 12px;
    top: 50%; 
    transform: translateY(-50%); 
    width: 20px; 
    height: 20px; 
}

.page-footer-login {
    height: 65px;
    padding: 15px 13px 0;
    border-top: 1px solid #CECECE;
    background: #2a2725;
    width: 100%;
    position: absolute;
    display: block;
    bottom: 0;
    text-align: center;
}

.page-footer-login .row {
    display: flex;
    justify-content: center; /* Centra i contenuti della row */
}

.page-footer-login .col-xs-12, .page-footer-login .col-sm-12 {
    float: none; /* Disabilita il float di Bootstrap */
    display: inline-block; /* Permette il centrare del block */
    flex: 0 1 auto; /* Imposta flex-grow, flex-shrink e flex-basis */
}