body {
  padding-top: 6rem;
  /* background-color: #293133; */
  font-size: 0.8em;
}

/******* START LOGO *******/

/* Tema chiaro per schermi standard */
.logo {
  background-image: url("../images/dapla_def_light_162x50.png");
  width: 162px; /* Larghezza dell'immagine originale */
  height: 50px; /* Altezza dell'immagine originale */
}

.logo_contatti {
  background-image: url("../images/dapla_def_light_114x35.png");
  width: 114px; /* Larghezza dell'immagine originale */
  height: 35px; /* Altezza dell'immagine originale */
}

/* Tema chiaro per schermi Retina 2x */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-resolution: 192dpi) {
  .logo {
    background-image: url("../images/dapla_def_light_162x50@2x.png");
    background-size: 162px 50px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
  .logo_contatti {
    background-image: url("../images/dapla_def_light_114x35@2x.png");
    background-size: 114px 35px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
}

/* Tema chiaro per schermi Retina 3x */
@media only screen and (-webkit-min-device-pixel-ratio: 3),
  only screen and (min-resolution: 288dpi) {
  .logo {
    background-image: url("../images/dapla_def_light_162x50@3x.png");
    background-size: 162px 50px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
  .logo_contatti {
    background-image: url("../images/dapla_def_light_114x35@3x.png");
    background-size: 114px 35px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
}

/* Tema scuro per schermi standard */
:root[data-bs-theme="dark"] .logo {
  background-image: url("../images/dapla_def_dark_162x50.png");
}

:root[data-bs-theme="dark"] .logo_contatti {
  background-image: url("../images/dapla_def_dark_114x35.png");
}

/* Tema scuro per schermi Retina 2x */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-resolution: 192dpi) {
  :root[data-bs-theme="dark"] .logo {
    background-image: url("../images/dapla_def_dark_162x50@2x.png");
    background-size: 162px 50px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
  :root[data-bs-theme="dark"] .logo_contatti {
    background-image: url("../images/dapla_def_dark_114x35@2x.png");
    background-size: 114px 35px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
}

/* Tema scuro per schermi Retina 3x */

@media only screen and (-webkit-min-device-pixel-ratio: 3),
  only screen and (min-resolution: 288dpi) {
  :root[data-bs-theme="dark"] .logo {
    background-image: url("../images/dapla_def_dark_162x50@3x.png");
    background-size: 162px 50px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
  :root[data-bs-theme="dark"] .logo_contatti {
    background-image: url("../images/dapla_def_dark_114x35@3x.png");
    background-size: 114px 35px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
}

/******* END LOGO *******/

/******* START HOME LOGO *******/

/* per schermi standard */
.logo_inverse {
  background-image: url("../images/dapla_def_light_424x131.png");
  width: 424px; /* Larghezza dell'immagine originale */
  height: 131px; /* Altezza dell'immagine originale */
  background-size: 424px 131px; /* Mantiene il logo centrato e scalato nel contenitore */
  background-position: center center;
  background-repeat: no-repeat;
}

/* per schermi Retina 2x */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-resolution: 192dpi) {
  .logo_inverse {
    background-image: url("../images/dapla_def_light_424x131@2x.png");
    background-size: 424px 131px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
    background-repeat: no-repeat;
  }
}

/* per schermi Retina 3x */
@media only screen and (-webkit-min-device-pixel-ratio: 3),
  only screen and (min-resolution: 288dpi) {
  .logo_inverse {
    background-image: url("../images/dapla_def_light_424x131@3x.png");
    background-size: 424px 131px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
    background-repeat: no-repeat;
  }
}

/******* END HOME LOGO *******/

.form-label {
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.form-control {
  font-size: 0.8rem;
}
 
.form-select {
  font-size: 0.8rem;
}
 
.btn {
  font-size: 0.8rem;
}

.table thead th {
  padding: 20px 10px;
}

/* span#tipianagrafica_nome {
  text-transform: uppercase;
} */

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

/* LABEL IN GRASSETTO */
label {
  /* font-weight: bold; */
  font-size: small;
}

/* LIGHTBOX */
.card-img-top  {
  object-fit: cover;
}

#modalImage {
  max-height: 80vh; /* Imposta un'altezza massima */
  object-fit: cover;
}

/* ATTTREZZATURE */

.circle {
  height: 10px;
  width: 10px;
  background-color: transparent;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}

/* TABS */

.navbar .nav-link.active {
  font-weight: bold;
}

.nav-tabs .nav-link, .nav-tabs .nav-link:hover {
  border-color: var(--bs-border-color);
}

.nav-tabs .nav-link.active {
  font-weight: bold;
}

.nav-tabs .nav-link.active {
  border-top-color: var(--bs-border-color);
  border-left-color: var(--bs-border-color);
  border-right-color: var(--bs-border-color);
}

/* PULSANTE ROTONDO */

.btn-round {
  border-radius: 50%; /* Rende il pulsante completamente rotondo */
  width: 20px; /* Larghezza del pulsante */
  height: 20px; /* Altezza del pulsante */
  text-align: center;
  padding: 0; /* Rimuove il padding interno */
}

.btn-light-secondary,
.bg-light-secondary {
  background-color: lightgray !important;
}

/* Stili per il tema scuro */
:root[data-bs-theme="dark"] .btn-light-secondary,
:root[data-bs-theme="dark"] .bg-light-secondary {
  background-color: #343a40 !important; /* Cambia questo colore con quello desiderato per il tema scuro */
}

.btn-light-secondary:hover,
.bg-light-secondary:hover {
  background-color: grey;
}

.btn-light-success,
.bg-light-success {
  background-color: #32cd32;
}

.btn-light-success:hover,
.bg-light-success:hover {
  background-color: #00cc00;
}

.btn-light-warning,
.bg-light-warning {
  background-color: #ffc107;
}

.btn-light-warning:hover,
.bg-light-warning:hover {
  background-color: #ecb205;
}

.btn-light-danger,
.bg-light-danger {
  background-color: #ff4500;
}

.btn-light-danger:hover,
.bg-light-danger:hover {
  background-color: #dd0000;
}

/* COLORE DEL BRAND */

.brand-color {
  color: #095400;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: gray;
}

.sortable-placeholder {
  border: 1px dashed #999;
  background: #f7f7f7;
  height: 75px;
}

.sortable-placeholder_image {
  border: 1px dashed #999;
  background: #f7f7f7;
  height: auto;
}

/* SFONDO HOMEPAGE */

#home {
  min-height: 80vh; /* Imposta l'altezza minima a tutto lo schermo */
  display: flex;
  align-items: center; /* Centra verticalmente */
  justify-content: center; /* Centra orizzontalmente */
  background-image: url("../images/home_hero-1920.jpg"); /* Sostituisci con il link della tua immagine */
  background-size: cover; /* Copre interamente lo sfondo */
  background-position: center; /* Centra l'immagine di sfondo */
}

#dashboard {
  min-height: 80vh; /* Imposta l'altezza minima a tutto lo schermo */
  display: flex;
  align-items: center; /* Centra verticalmente */
  justify-content: center; /* Centra orizzontalmente */
  background-image: url("../images/dashboard_hero-1920.jpg"); /* Sostituisci con il link della tua immagine */
  background-size: cover; /* Copre interamente lo sfondo */
  background-position: center; /* Centra l'immagine di sfondo */
}

#contatti {
  min-height: 50vh; /* Imposta l'altezza minima a tutto lo schermo */
  display: flex;
  align-items: center; /* Centra verticalmente */
  justify-content: center; /* Centra orizzontalmente */
  background-image: url("../images/home_hero-1920.jpg"); /* Sostituisci con il link della tua immagine */
  background-size: cover; /* Copre interamente lo sfondo */
  background-position: center; /* Centra l'immagine di sfondo */
}

#contact-box a {
  text-decoration: none; /* Rimuove la sottolineatura */
  color: inherit; /* Utilizza il colore ereditato dal genitore */
}
