/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 29-dic-2020, 18.15.43
    Author     : Deposito CP
*/
.html {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 575px) {
    html, body {
        font-size: .9rem;
    }
}
@media screen and (min-width: 576px) {
    html, body {
        font-size: 1rem;
    }
}

.ui-float-label>textarea ~ label{top:1.2em}.ui-float-label>input:focus ~ label,.ui-float-label>input.ui-state-filled ~ label,.ui-float-label>textarea:focus ~ label,.ui-float-label>textarea.ui-state-filled ~ label,.ui-float-label>.ui-inputwrapper-focus ~ label,.ui-float-label>.ui-inputwrapper-filled ~ label{top:-.75rem;font-size:14px !important; color:darkblue !important}.ui-float-label>input:-webkit-autofill ~ label,.ui-float-label>textarea:-webkit-autofill ~ label{top:-.75rem;font-size:14px !important; color:darkblue !important}.ui-sr-only{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal !important}

.login-body {
  background-image: url("/prenotazioni/javax.faces.resource/images/background.jpg.xhtml");
  background-color: #252525;
  height: 100%;
  width: 100%;
  font-family: Roboto;
  /* Centra l'immagine nel body */
  background-position: center center;
  /* Imposta la dimensione dell'immagine per coprire interamente il body */
  background-size: cover;
  /* Assicurati che l'immagine copra tutto lo spazio disponibile anche durante lo scrolling */
  background-attachment: fixed;
  /* Mostra l'immagine sempre */
  background-repeat: no-repeat;
  /* Imposta l'altezza minima del body al 100% dell'altezza della viewport */
  min-height: 100vh;
  /* Imposta margin e padding a 0 per evitare spazi aggiuntivi attorno al body */
  margin: 0;
  padding: 0;
  position: relative;
}

.login-body .login-panel {
    width: 450px;
    height: 450px;
    background-color: #fafafa;
  
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  
  
    padding: 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 5px 22px 4px rgba(0, 0, 0, 0.12), 0 12px 17px 2px rgba(0, 0, 0, 0.14);
    -moz-box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 5px 22px 4px rgba(0, 0, 0, 0.12), 0 12px 17px 2px rgba(0, 0, 0, 0.14);
    box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 5px 22px 4px rgba(0, 0, 0, 0.12), 0 12px 17px 2px rgba(0, 0, 0, 0.14);
}

.login-body .login-panel .login-panel-content {
  padding: 12px 48px;
  position: relative;
  top: -54px;
}
.login-body .login-panel .login-panel-content h1 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1.3px;
  color: #616161;
  margin-top: 0;
  margin-bottom: 6px;
  text-align: center;
}
.login-body .login-panel .login-panel-content h2 {
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 0.5px;
  color: #212121;
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: center;
}

.ui-float-label>input:focus ~ label, .ui-float-label>input.ui-state-filled ~ label, .ui-float-label>textarea:focus ~ label, .ui-float-label>textarea.ui-state-filled ~ label, .ui-float-label>.ui-inputwrapper-focus ~ label, .ui-float-label>.ui-inputwrapper-filled ~ label {
    top: -.8rem;
    left: -7px;
    font-size: 14px;
}

.login-panel-header {
  width: 120px; /* Larghezza desiderata */
  height: 120px; /* Altezza invariata */
  overflow: hidden; /* Nasconde le parti non visibili */
  position: relative;
  left: 35%;
  top: -50px;
}

.login-panel-header img {
  width: 520px; /* Mantieni l'immagine originale */
  height: auto; /* Adatta l'altezza proporzionalmente */
  object-fit: none; /* Nessun adattamento */
  object-position: center; /* Posiziona la sezione centrale */
  position: absolute;
  left: 50%;
  transform: translateX(-10%); 
}

.versione {
    text-align: right;
    color: gray;
    font-size: .9rem;
}


