/* Gaia Style CSS */
html,
body {
  height: 100%;
}
.miomainmenu .offcanvas-end {
  width: 200px !important;
}
.page-vpad {
  padding: 90px 0px;
}

/* Fonts */
.roboto-regular,
p,
.box-subtitle,
body {
  font-family: "Roboto", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.roboto-semibold,
h1,
h2,
h3,
h4,
h5,
h6,
.box-title {
  font-family: "Roboto", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.roboto-bold,
footer small {
  font-family: "Roboto", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.patterngaia {
  background-image: url("../src/img/pattern.jpg");
  background-repeat: repeat;
  background-size: cover;
}

footer a {
  text-decoration: none;
  text-transform: uppercase;
}
button.btn.btn-primary {
  background: white;
  border-width: 3px;
  border-radius: 15px;
  text-transform: uppercase;
  font-weight: bold;
}

footer i.fa-solid.fa-dumbbell {
  padding-top: 9px;
  padding-bottom: 9px;
}

/* HOME BOXES - START */
.custom-box {
  border-radius: 20px;
  padding: 10px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

.custom-box .title-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.box-number {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.75;
  text-align: right;
}

.box-number img {
  width: 100%;
  max-width: 110px;
}

.box-title {
  font-size: 25px;
  font-weight: 700;
  margin-top: 0px;
}
.uppercase {
  text-transform: uppercase;
}

.box-subtitle {
  font-size: 16px;
  font-weight: 400;
}

/* Gradient colors (puoi modificarli a piacere) */
.box1 {
  background: linear-gradient(225deg, #eea0d9, #d43582);
}
.box2 {
  background: linear-gradient(225deg, #eea0d9, #84396d);
}
.box3 {
  background: linear-gradient(225deg, #d43582, #792953);
}
.box4 {
  background: linear-gradient(225deg, #bb7cb2, #d439c3);
}

.clickable {
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

/* Blocco scroll temporaneo */
body.disable-scroll {
  overflow: hidden;
}

/* Clona il box e lo anima */
.custom-box.animating-clone {
  position: fixed !important;
  margin: 0 !important;
  z-index: 9999 !important;
  transition: all 0.6s ease-in-out, background 1s ease-in-out,
    color 0.6s ease-in-out;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.custom-box.fullscreen {
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
}

/* Spinner */
.loader {
  margin-top: 20px;
  border: 4px solid #ffffff80;
  border-top: 4px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Overlay bianco trasparente che copre gradualmente */
.custom-box .white-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}
.custom-box .box-number {
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

/* Al fade, il bianco va a 1 */
.custom-box.fade-to-white .white-overlay {
  opacity: 1;
}
.custom-box.fade-to-white .box-number {
  opacity: 0;
}

/* Testo e loader sopra */
.custom-box > *:not(.white-overlay) {
  position: relative;
  z-index: 2;
}

.box-number img {
  transform: scale(1.5) translate(-20px);
}

.boxanalitica {
  padding: 30px 20px;
}

/* HOME BOXES - END */

.myaccordion h3 {
  margin-bottom: 0px;
}

.icomenubt {
  height: 32px;
}

.actionico {
  min-width: 60px !important;
}

@media screen and (max-width: 719px) {
  .smallertable {
    font-size: 0.8em;
  }
}

.autowidthfoto img {
  width: auto !important;
}

.videopage .accordion-button::after {
  filter: brightness(0) invert(1); /* rende bianco lo SVG della freccia */
}
.msgerr {
  color: red;
  font-size: 0.9em;
}

img.imgboxed {
  object-fit: contain;
  max-width: 100%;
}
.actionicons {
  vertical-align: middle;
}
.actionicons a {
  font-size: 15px;
  margin: 0px 3px;
  padding: 5px 0px;
  display: inline-block;
}
.actionicons .fa-edit {
  color: green;
}
.actionicons .fa-trash {
  color: red;
}
.vmiddle,
.vmiddle * {
  vertical-align: middle;
}
.nocontain img.imgboxed {
  height: auto;
}
.minwfoto {
  min-width: 120px;
}
.mytimer {
  font-size: 0.7em;
  display: flex;
  align-items: center;
  line-height: 1em;
}
.menufootercont small {
  font-size: 0.8em;
}

#feedbackDiv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#feedbackDivBox{
  width: 100%;
  max-width: 500px;
}

.rigafeedbacks {
    font-size: 0.8em;
}
.rigafeedbacks td {
    padding: 2px 8px;
}
span.feedlab {
    margin-right: 10px;
}

.avvisoscadenza{
  margin-bottom: 87px!important;
}