.msgPanel
{
    display : none;
    position : fixed !important;
    width : 20% !important;
    max-width : 300px !important;
    right : 3% !important;
    top: 3% !important;
    z-index : 1001 !important;
    font-weight: bold;
}

.centerTable td, .centerTable th
{
    text-align: center !important; 
    vertical-align: middle;
}

.sectionModal
{
    background-color: white;
    border-radius: 10px;
}

.loaderCustom
{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: gray;
    opacity: 0.8;
    z-index: 9999;
    display: none;
}

.loaderFullpage
{
  position: fixed;
  top: 0;
  left: 0;
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
  }
  .lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
  }
  .lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px;
  }
  .lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
  }
  .lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
  }
  .lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
  }
  .lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
  }
  .lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
  }
  .lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
  }
  .lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
  }
  .lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
  }
  .lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
  }
  .lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
  }
  .lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
  }
  .lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
  }
  .lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
  }
  .lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
  }
  .lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
  }
  .lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
  }
  @keyframes lds-roller {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
    
  .boxWrapper {
    display: flex;
    justify-content: center; /* Centra orizzontalmente */
    align-items: center;     /* Centra verticalmente */
    margin-top: 50px;
    padding: 15px;
  }

  .boxWrapperCentered {
    display: flex;
    justify-content: center; /* Centra orizzontalmente */
    align-items: center;     /* Centra verticalmente */
    min-height: 100vh;          /* Imposta l'altezza del contenitore al 100% dell'viewport */
    padding: 15px;
  }

  .modalAlmostCenter {
    top: 40%;
    transform: translate(0, -40%);
  }
  
  @media screen and (max-width: 1024px) {

    .mainNavItem {
      text-align: center;
    }
    
    .mainNavbar {
      padding: 5px;
    }

    .contentBox {
      max-width: 70%;
    }
  }

  @media screen and (max-width: 600px) {

    .contentBox {
      max-width: 85%;
    }
  }
  
  @media screen and (min-width: 1024px) {

    .homeButton {
      justify-content: flex-end;
    }
    
    .mainNavbar {
      padding: 20px;
    }

    .contentBox {
      max-width: 50%;
    }
  }

  @media screen and (max-width: 768px) {
    .modalAlmostCenter {
      width: auto;
    }
  }


  .select2-container--bootstrap-5 .select2-selection--single {
    outline: none !important; 
    box-shadow: none !important; 
  }

  
.drop-zone {
	width: 100%;
	min-height: 200px;
	border: 2px dashed #ccc;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	cursor: pointer;
	transition: border .3s ease;
	padding: 20px;
	text-align: center;
}

.drop-zone:hover {
	border-color: #666;
}

.drop-zone.dragover {
	border-color: #007bff;
	background-color: rgba(0, 123, 255, 0.05);
}

.drop-zone-text {
	margin: 0;
	color: #666;
}

.preview-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	width: 100%;
}

.preview-item {
	position: relative;
	width: 150px;
	height: 150px;
	border-radius: 4px;
	overflow: hidden;
}

.preview-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.remove-button {
	position: absolute;
	top: 5px;
	right: 5px;
	background: rgba(255, 0, 0, 0.7);
	color: white;
	border: none;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.remove-button:hover {
	background: rgba(255, 0, 0, 0.9);
}

.menu-list a {
  display: block;
  padding: 0.5em 0.75em;
  border-radius: 0.375rem;
  margin-bottom: 0.25em;
  transition: background-color 0.2s ease;
  font-size: 1.1rem; /* Aumenta la dimensione del font */
  border: 1px solid transparent; /* Aggiunto bordo trasparente per evitare spostamenti all'hover */
}

.menu-list a:hover {
  background-color: #f5f5f5;
  color: #3273dc;
  border-color: #3273dc; /* Colore del bordo all'hover (is-link di Bulma) */
}

.menu-list ul {
  margin-left: 1.5em;
  margin-top: 0.5em;
}

.menu-list ul a {
  font-size: 1rem;  /* Dimensione del font leggermente più piccola per le sotto-qualifiche */
  /* Altri stili specifici per le sotto-qualifiche */
}

.menu {
  border: 1px solid #3273dc; /* Bordo del menu principale (is-link di Bulma) */
  border-radius: 0.375rem;
  padding: 0.5em;
}

.comment-box {
  border-left-width: 5px;
  border-left-style: solid;
  padding-left: 10px;
}
.border-info {
  border-left-color: #3298dc; /* Bulma's info color */
}
.border-warning {
  border-left-color: #ffdd57; /* Bulma's warning color */
}
.border-danger {
  border-left-color: #f14668; /* Bulma's danger color */
}
.border-success {
  border-left-color: #48c78e; /* Bulma's success color */
}

.scrollable-comments-container {
  max-height: 300px; /* Adjust the height as needed */
  overflow-y: auto;
  padding-right: 10px; /* prevent scrollbar from overlapping content */
}