body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55rem;
  letter-spacing: -0.015rem;
  color: #333;
  background: #f1f1f1;
  min-height: 100vh;
  font-variant-numeric: normal;
}
.font-weight-lighter {
  font-weight: lighter !important;
}
h1 {
  font-size: 450%;
}
h2 {
  font-size: 350%;
}
h3 {
  font-size: 250%;
}
h4 {
  font-size: 200%;
}
.number {
  font-size: 120% !important;
}
/* Tablet (schermi tra 768px e 1024px) */
@media only screen and (max-width: 1024px) {
  h1 {
    font-size: 350%;
  }
  h2 {
    font-size: 300%;
  }
  h3 {
    font-size: 225%;
  }
  h4 {
    font-size: 175%;
  }
}

/* Smartphone (schermi tra 481px e 767px) */
@media only screen and (max-width: 767px) {
  h1 {
    font-size: 300%;
  }
  h2 {
    font-size: 250%;
  }
  h3 {
    font-size: 200%;
  }
  h4 {
    font-size: 150%;
  }
}

/* Smartphone piccoli (schermi fino a 480px) */
@media only screen and (max-width: 480px) {
  h1 {
    font-size: 250%;
  }
  h2 {
    font-size: 200%;
  }
  h3 {
    font-size: 175%;
  }
  h4 {
    font-size: 125%;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
.p-6 {
  padding: 0.5rem !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--colore-primario);
  font-weight: bold;
  font-family: var(--font);
}
.select-prefix {
  max-width: 90px;
}
.btn-primary:focus {
  background: var(--colore-primario) !important;
  border-color: var(--colore-primario);
}
a {
  color: var(--colore-secondario);
}
a:hover {
  color: var(--colore-primario);
}
.navbar-brand img {
  width: 150px;
}
.w-150 {
  width: 150px;
}
hr {
  border: 0;
  height: 1px;
  background: var(--colore-primario);
  background: linear-gradient(
    90deg,
    rgba(242, 187, 53, 0) 0%,
    var(--colore-primario) 50%,
    rgba(253, 187, 45, 0) 100%
  );
}
.color-primary {
  color: #00cbf4;
}
.attivo {
  color: var(--colore-secondario) !important;
  font-weight: bold !important;
}
.btn {
  font-weight: bold;
  padding: 7px 20px;
}
.icon-element {
  background-color: var(--colore-primario);
  color: white !important;
}

.alert-info {
  border: none;
  background: var(--colore-primario);
  color: white;
  font-size: 120%;
}

.nav-link {
  color: var(--bs-nav-link-color);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
  text-transform: uppercase;
  padding: 20px 15px !important;
}
.nav-link:hover {
  color: var(--colore-primario) !important;
}

.nav-pills .nav-link.active {
  color: var(--colore-primario) !important;
  color: white !important;
}

label {
  font-weight: bold;
}

.custom-control .custom-control-input:checked {
  background-color: var(--colore-primario) !important;
  border-color: var(--colore-primario) !important;
}

/*checkbox*/
.form-check-input {
  width: 1.5em;
  height: 1.5em;
}
.custom-checkbox label {
  font-weight: normal !important;
  margin-left: 10px;
  line-height: 1.5rem !important;
}
/*radiobox*/
.form-check label {
  font-weight: normal !important;
  margin-left: 10px;
  line-height: 1.5rem !important;
}
.form-check-input:checked {
  background-color: var(--colore-primario) !important;
  border-color: var(--colore-primario) !important;
}

.input-group .btn {
  border-top-left-radius: var(--bs-border-radius) !important;
  border-bottom-left-radius: var(--bs-border-radius) !important;
  border: 1px solid #e8eaed !important;
}

.form-control::file-selector-button {
  color: var(--colore-primario);
  border-color: var(--colore-primario);
  height: 50px;
  font-weight: bold;
}

/*Errori form*/
.has-error .control-label,
.has-error .custom-checkbox label,
.has-error .form-check label {
  color: #842029;
}
.text-danger {
  color: #842029 !important;
}
.has-error .form-control {
  color: #842029 !important;
  background-color: #f8d7da !important;
  border-color: #f5c2c7 !important;
}
.has-error .input-group-text {
  color: #842029 !important;
  background-color: #f8d7da !important;
  border-color: #f5c2c7 !important;
}
.has-error .form-control::file-selector-button {
  color: #842029 !important;
  border-color: #f5c2c7 !important;
}
.has-error small {
  font-weight: normal !important;
  text-transform: capitalize !important;
}
.has-error .form-check-input {
  background-color: #f8d7da !important;
  border-color: #f5c2c7 !important;
}

.logout {
  font-weight: bold;
  background: var(--colore-primario) !important;
  padding: 10px !important;
  margin-top: 10px;
  border-radius: 5px;
  color: white !important;
}
.logout:hover {
  color: black !important;
}
.navbar-toggler {
  background: var(--colore-primario) !important;
  border: none !important;
}

/*CTA*/
.cta {
  padding: 100px 0px;
  text-align: center;
  background-size: cover;
  background-position: center;
}

/*Immagine iniziali delle pagine*/
.hero-bg {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-item {
  padding-top: 150px;
  padding-bottom: 150px;
  filter: blur(0px) !important;
  -webkit-filter: blur(0px) !important;
}
.overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: 0.5;
  z-index: -1;
}

/*Footer*/
.footer {
  font-size: 90%;
  line-height: 130%;
  padding: 20px 5px;
  text-align: center;
  background: white;
}

.background-generico {
  background: #f8f8f8
    url("https://www.suppliercoffeelinks.com/fs/1/bg-destra.png") no-repeat;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  background-position: top;
}
.bg-destra {
  background: #f8f8f8
    url("https://www.suppliercoffeelinks.com/fs/1/bg-destra.png") no-repeat;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  background-position: top;
}
.bg-sinistra {
  background: #f8f8f8
    url("https://www.suppliercoffeelinks.com/fs/1/bg-sinistra.png") no-repeat;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  background-position: top;
}
.bg-centrale {
  background: #f8f8f8
    url("https://www.suppliercoffeelinks.com/fs/1/centrale.png") no-repeat;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  background-position: top;
}

label {
  color: white;
  text-transform: uppercase;
}
.form-control {
  background-color: var(--colore-primario) !important;
  color: white;
  border: 1px solid var(--colore-primario) !important;
  border-radius: 0.8rem;
  height: 44px;
}
.form-group.boxed .clear-input {
  height: 44px;
  color: white;
}
.navbar {
  background-color: #000000 !important;
}
.nav-link {
  color: white;
  font-weight: lighter;
}
#countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.countdown-item {
  color: white;
  margin: 0 20px;
  text-align: center;
}
.countdown-value {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.countdown-label {
  color: white;
  font-size: 1.2rem;
  text-transform: uppercase;
}
@media only screen and (max-width: 422px) {
  /* #countdown {
    display: block;
  } */
  /* .countdown-item {
    margin: 20px;
  } */
  .countdown-value {
    font-size: 2rem;
  }
  .countdown-item {
    margin: 0 5px;
  }
  .countdown-label {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 991px) {
  .ps-sm-15 {
    padding-left: 15px;
    padding-top: 20px;
  }
}

input::placeholder {
  color: white !important;
}
input {
  color: white !important;
}
.container-box-streaming {
  border: 1px solid #00cbf4;
  border-radius: 10px;
  height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: black;
}
@media only screen and (min-width: 600px) {
  sup.line-h-sup {
    top: -1.2em;
  }
}
.container-box-streaming-iframe {
  border: 1px solid #00cbf4;
  border-radius: 10px;
  min-height: 500px;
  height: 500px;
  width: 100%;
  display: flex;
  flex-direction: row; /* Cambiato da column a row */
  justify-content: center;
  align-items: center;
  background-color: black;
  overflow: hidden; /* opzionale, per evitare scroll */
}
.container-box-streaming-iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
}
