/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
    height: 64px;
    margin-top: 12px;
  }
  
  .app-brand-logo.demo svg {
    width: 22px;
    height: 38px;
  }
  
  .app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    text-transform: lowercase;
  }
  
  /* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
  /* Detached navbar */
  .layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 76px !important;
  }
  /* Default navbar */
  .layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
  }
  
  /* Navbar page z-index issue solution */
  .content-wrapper .navbar {
    z-index: auto;
  }

/*
* font style
* elenco di classi per i vari effetti scrittura
******************************************************************************/
.pn-text-cardtitle {
    font-family: 'Fira Sans Condensed';
    font-size: 1.6rem;
}
.pn-text-cardtitle.near {
  line-height: 1.2rem;
}
.pn-text-title {
    font-family: 'Fira Sans Condensed';
    font-size: 1.3rem;
    transition: font-size 0.15s ease-in-out;
}
.pn-text-title.near {
    line-height: 1.2rem;
}
.pn-text-subtitle {
    font-family: 'Fira Sans Condensed';
    font-size: 1rem;
}
.pn-text-subtitle.near {
    line-height: 1rem;
}

vr{ 
  
    border:         none;
    border-left:    1px solid hsla(200, 10%, 50%,100);
    height:         100%;
    width:          1px;      
}

.pn-flex-truncate {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pn-flex-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pn-flex-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* poi metto i commenti url(https://cdn.betterwalls.com/pim/pr/WP/20002626/fotomurale-skyline-di-new-york-al-crepuscolo_big01.jpg)
*/
.pn-link {
    cursor: pointer;
}

.pn-enlarge-text-link {
  cursor: pointer;  
}

.pn-enlarge-text-link:hover {
  font-size: 1.4rem;
  transition: font-size 0.15s ease-in-out;
}

.pn-background-page {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background-image: var(--bs-image-background);
  filter: blur(3px);
  -webkit-filter: blur(3px);
  /*opacity: 0.5;*/
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(245,245,249, 0.6);
  z-index: 10;
}

.pn-obj {
  z-index: 50;
}
.pn-nav-link {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--bs-contrast);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.pn-nav-link {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--bs-contrast);
  opacity: 0.7;
}

.pn-event-background-color {
  background-color: var(--bs-event) !important;
}

.pn-event-foregrond-color {
  color: var(--bs-contrast) !important;
  opacity: 0.9;
}

.pn-labels-color {
  color: var(--bs-labels-color) !important;
}

.pn-nav-link:hover {
  color: var(--bs-contrast);
  opacity: 1;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.pn-white-70 {
  background-color: rgba(255,255,255, 0.7) !important;
}
.layout-menu-expanded .pn-white-70 {
  background-color: white !important;
  z-index: 1100;
}

/* modali */

.modal-lg, .modal-xl {
  max-width: none !important;
}

.modal-lg .modal-dialog {
  margin: 4rem;
  max-width: 800px !important; /* Puoi regolare questa larghezza per adattarla alle tue esigenze */
}

.modal-xl .modal-dialog {
  margin: 2rem auto;
}

.modal-bio-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.modal-bio-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding: 1.5rem;
}
.modal-bio-title {
  color: #495057;
  font-weight: 600;
}
.modal-bio-body {
  padding: 2rem;
}
.modal-bio-profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 5px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.modal-bio-name {
  color: #343a40;
  font-weight: 600;
}
.modal-bio-subtitle {
  color: #6c757d;
  font-style: italic;
}
.modal-bio-text {
  text-align: left;
  color: #495057;
}
.modal-bio-close {
  color: #495057;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.modal-bio-close:hover {
  opacity: 1;
}
.modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}
@media (min-width: 576px) {
  .modal-dialog {
      min-height: calc(100% - 3.5rem);
  }
}

@media (min-width: 576px) {
  .modal-dialog {
    margin: 2rem;
  }
}

@media (min-width: 992px) {
  .modal-lg .modal-dialog {
    max-width: 800px !important; /* Larghezza per dispositivi grandi (lg) */
  }
  .modal-xl .modal-dialog {
    max-width: 1140px !important; /* Larghezza per dispositivi extra grandi (xl) */
  }
}

