@charset "utf-8";

/* CSS Document

COLORI BASE DEL SITO:

Per le ancore e titoli: #202020
Per le sfumature del default button: #5C5C5C

Per gli hover e i selezionati: #072744
Per le sfumature del primary button: #FD7377
*/

/* Per accessibilità */
.visually-hidden {
  display: none !important;
}
/*Per rimuovere bianco quando clicco <a>*/
a:focus,
button:focus,
input:focus {
  /*outline: 2px solid #ffffff !important; /* bordo chiaro */
  /*outline-offset: 0;
  box-shadow: 0 0 0 4px rgba(0, 95, 204, 0.7) !important; /* alone blu trasparente */
  /*background-color: inherit;*/
}

.skip-link {
  position: absolute;
  top: -1000px;
  left: -1000px;
}
.skip-link:focus {
  top: 0;
  left: 0;
  background: #000;
  color: #fff;
  padding: 1em;
  z-index: 99999;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border: 3px solid #cc0000;
  background-color: #ffe5e5;
}

.messaggio-errore {
  color: #cc0000;
  font-weight: bold;
  margin-top: 4px;
}
.default-bg .messaggio-errore {
  color: #fedd00;
}
.default-bg input[aria-invalid="true"],
.default-bg select[aria-invalid="true"],
.default-bg textarea[aria-invalid="true"] {
  border-color: #fedd00;
}

.help-block {
  color: #000;
}

.form-control {
  color: #000;
  background: #ebebeb;
}

.login .form-control {
  border-radius: 20px;
}

input.form-control::placeholder {
  font-size: 12px;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  opacity: 1;
  filter: alpha(1);
}

/* Fine per accessibilità */

/* Definisce il font di base del sito */
body,
.testo_protetto * {
  /*font-family: "Open Sans", sans-serif !important;*/
  font-family: "Montserrat", sans-serif !important;
  font-size: 14px !important;
  background-color: #65A3DF !important;
  min-height: 100vh;
}

.contenitore-pagina {
    width: 1000px;
    max-width: 100%;
    min-height: 100vh;
    margin: auto;
    background-color: #052136;
}

.login .contenitore-pagina {
    background-color: #052136;
}

.no-margin {
  margin: 0px !important;
}
.no-padding {
  padding: 0px !important;
}
.nascosto {
  display: none;
}
.full-width {
  width: 100% !important;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.35) !important;
}

.white_bg_transp {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

img {
  max-width: 100%;
}

.text-right {
  text-align: right !important;
}
.text-center {
  text-align: center !important;
}
.no-margin {
  margin: 0px !important;
}
.no-padding {
  padding: 0px !important;
}
.nascosto {
  display: none;
}
.full-width {
  width: 100% !important;
}
.immagine_background_cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.immagine_background_contain {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.space {
    padding-top: 29px;
    padding-bottom: 20px;
    text-align: center;
    width: 100%;
}

.ellipsi {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clearer {
  clear: both;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

.progress-bar-success {
  background-color: #5cb85c;
}

/* VIDEO RESPONSIVE */

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.embed-responsive.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FINE VIDEO RESPONSIVE */

/* IMMAGINE A SINISTRA E DESTRA RESPONSIVE */
.immagine_sinistra,
.immagine-sinistra {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  max-width: 40%;
}

.immagine_destra,
.immagine-destra {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  max-width: 40%;
}

@media screen and (max-width: 768px) {
  .immagine_sinistra,
  .immagine-sinistra,
  .immagine_destra,
  .immagine-destra {
    max-width: 90%;
    margin: auto;
    margin-bottom: 20px;
    float: none;
    display: block;
    text-align: center;
  }
}
/* FINE IMMAGINE SX E DX */

.centratore {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.immagine_background_cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.immagine_background_contain {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.ellipsi {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clearer {
  clear: both;
}

a:hover,
a:focus {
  text-decoration: none;
}

.link:hover span {
  text-decoration: none;
}

/* CINQUE COLONNE */
.colonna-sm-5 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

@media screen and (min-width: 768px) {
  .colonna-sm-5 {
    width: 20%;
    float: left;
  }
}
/* FINE CINQUE COLONNE */

.default-bg {
  background-color: #202020;
  color: #ffffff;
}

.header {
    /*background-color: #00a9ff;*/
    background: #0060c0;
    border: none;
    z-index: 99;
    position: relative;
}

/* HEADER */
#logo {
  margin: auto;
  max-height: 85px;
}

.header .navbar-nav .nav-link {
  text-transform: uppercase;
  font-size: 18px;
  color: #ffffff;
  font-weight: 500;
}

.header .navbar-nav .nav-link.active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px; 
}

.header .navbar-nav .nav-link:hover {
  color: #000000;
}

/* FINE HEADER */

/* SWIPER SLIDER */
.swiper-slider {
  margin-bottom: 50px;
}
.swiper-slider .immagine {
  position: relative;
  width: 100%;
  height: 55vh;
}

.swiper-slider .immagine img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-button-next,
.swiper-button-prev {
  color: #777;
}

@media screen and (max-width: 991px) {
  .swiper-slider .immagine {
    height: auto;
  }

  .swiper-slider .immagine img {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
/* FINE SWIPER SLIDER */

.social-links li a {
  background: #072744;
  border: 1px solid #072744;
  color: #ffffff;
}
.social-links li a:hover {
  background-color: transparent;
  border-color: #072744;
  color: #072744;
}

/* HEADER-TOP */

.header-top {
  background-color: #5c5c5c;
  color: #fff;
  border: none;
}

.header-top .social-links {
  float: left;
}

.header-top .social-links li {
  padding: 0px;
}
.header-top .social-links li a {
  color: #fff;
  padding: 5px 10px;
  width: auto;
  height: auto;
}

.header-top .social-links li:hover {
  background-color: #a2a2a2;
}
.header-top .social-links li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

#header-top-second {
  text-align: right;
  padding-top: 7px;
}

.header-top-first .lingue {
  float: left;
  margin-top: 12px;
  margin-left: 10px;
}

.header-top-first .lingue img {
  width: 25px;
}

.header-top-first .lingue a {
  display: inline-block;
  margin-right: 10px;
}

.header-top-first .social-links .dropdown-menu {
  min-width: 0px;
  width: 109px; /* IMPOSTARE UN VALORE IN BASE AL NUMERO DI PULSANTI SOCIAL */
  background-color: #ccc;
}

#header-top-second .lingue a {
  display: inline-block;
  margin-right: 10px;
}

.btn-wrapper {
  padding: 0 0 5px;
}

.btn-account,
.btn-logout,
.btn-login {
  border-radius: 10px;
}

.btn-account {
    background-color: #886700;
}

.btn-logout {
  background-color: #b70000;
}

.btn-login {
  background-color: #5edd2c;
  margin: 0 0 5px;
}

/* FINE HEADER-TOP */

.breadcrumb {
  text-align: right;
}
.breadcrumb > .active {
}
.breadcrumb a {
}

/* CONSENSO COOKIE */
#consenso-cookie {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 9999;
  background-color: #fff;
  width: 100%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  padding-bottom: 24px;
  color: #333;
}

#consenso-cookie .chiudi {
  text-align: right;
  padding-right: 15px;
}
#consenso-cookie .chiudi a {
  font-size: 34px;
  color: #1474bd;
}
#consenso-cookie .chiudi a:hover {
  text-decoration: none;
}

#consenso-cookie .cookie-dialog {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 16px;
}

#consenso-cookie .cookie-dialog {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#consenso-cookie .testo {
  width: calc(100% - 280px);
  padding-right: 30px;
}
#consenso-cookie .testo a {
  color: #1474bd;
}

#consenso-cookie .comandi {
  width: 280px;
  max-width: 100%;
}
#consenso-cookie .comandi .btn {
  background-color: #ffffff;
  border: 2px solid #1474bd;
  border-radius: 5px;
  color: #1474bd;
  display: flex;
  font-weight: 600;
  justify-content: center;
  padding: 15px;
  width: 100%;
  align-items: center;
  margin-bottom: 10px;
}
#consenso-cookie .comandi .btn:hover {
  opacity: 0.85;
}
#consenso-cookie .testo .maggiori-info {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}
#consenso-cookie .testo .maggiori-info a {
  color: #1474bd;
  font-weight: bold;
}
.sezione-cookie {
  border: solid 2px #eee;
  padding: 30px;
}
.sezione-cookie .help-block {
  font-style: italic;
  color: #eee;
}

.immagine-no-cookie {
  color: #fff !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background: rgb(0, 0, 0);
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 0%,
    rgba(102, 102, 102, 1) 62%,
    rgba(134, 134, 134, 1) 78%
  );
  border: solid 2px #fff;
  padding: 15px;
}
.immagine-no-cookie a {
  color: #fff !important;
  text-transform: uppercase;
}

#barra-gestione-cookie {
  position: fixed;
  bottom: 0px;
  left: 0px;
  display: flex;
  max-width: 100%;
  font-size: 10px;
  background-color: #444;
  color: #fff;
  align-items: center;
  justify-content: stretch;
}
#barra-gestione-cookie:hover {
  text-decoration: none;
}
#barra-gestione-cookie .numero {
  font-size: 42px;
  padding: 0px 10px;
  background-color: #333;
}
#barra-gestione-cookie .barra {
  padding: 0px 5px;
  text-align: center;
}
#barra-gestione-cookie .progress {
  margin: 0px;
  margin-top: 3px;
  height: 15px;
  background-color: #d9534f;
}

@media screen and (max-width: 991px) {
  #consenso-cookie .cookie-dialog {
    flex-direction: column;
    font-size: 14px;
  }
  #consenso-cookie .cookie-dialog > div {
    width: 100%;
    padding: 0px;
  }
  #consenso-cookie .cookie-dialog .maggiori-info {
    text-align: right;
    border-top: solid 1px #ccc;
    margin-bottom: 20px;
    margin-top: 40px;
    padding-top: 19px;
    font-size: 12px;
  }
  #consenso-cookie .cookie-dialog .testo .descrizione {
    max-height: 30vh;
    overflow: auto;
    position: relative;
    padding-bottom: 30px;
  }
  #consenso-cookie .cookie-dialog .testo .descrizione:before {
    content: "";
    display: block;
    width: 100%;
    height: 50px;
    background: -moz-linear-gradient(
      top,
      rgba(255, 255, 255, 0) 0%,
      white 100%
    );
    background: -webkit-linear-gradient(
      top,
      rgba(255, 255, 255, 0) 0%,
      white 100%
    );
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      white 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#00ffffff", endColorstr="#ffffff",GradientType=0 );
    position: absolute;
    bottom: 0;
    left: 0;
  }

  #barra-gestione-cookie {
    display: none;
  }
}

.contenitore_privacy_cookie td {
  padding: 10px;
  font-size: 10px;
}
@media screen and (max-width: 400px) {
  /* PER SMARTPHONE */

  .contenitore_privacy_cookie {
    width: 100%;
    overflow: auto;
  }
}

/* FINE CONSENSO COOKIE */

/* ANCORE HOVER */
a {
  color: #202020;
}
a:hover,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu .menu > .active > a,
.dropdown-menu .menu > .active > a:hover,
.dropdown-menu
  .menu
  > .active
  > a:focus
  .navbar-default
  .navbar-nav
  > .active
  > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #072744;
}

a:hover,
a:focus,
a:active {
  color: #072744;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  background-color: #072744;
  border-color: #072744;
}

/* LOGO */
.logo_sovrapposto #logo {
  position: absolute;
  z-index: 25;
  border: solid 2px #244d9d;
  border-radius: 5px;
}

@media screen and (max-width: 991px) {
  .logo_sovrapposto #logo {
    position: relative;
    z-index: 0;
    margin: auto;
    margin-bottom: 10px;
  }
}
/* FINE LOGO*/

/* MENU */

.navbar-default .navbar-nav > li > a {
  color: #000;
  text-transform: initial;
  font-size: 16px;
  font-weight: normal;
  padding: 12px;
}

.dropdown a:before {
  color: #000;
  right: 0px;
}

.dropdown a:hover:before {
  color: #072744;
}

.navbar-default .navbar-nav > .active.dropdown > a:before {
  color: #072744;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus {
  color: #072744;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #072744;
}

.main-navigation .navbar-nav > .open > a,
.main-navigation .navbar-nav > .open > a:hover,
.main-navigation .navbar-nav > .open > a:focus {
  color: #072744;
}

.navbar.navbar-default {
  background-color: transparent;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  border-color: #072744;
  background-color: transparent;
}

.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
  background-color: #072744;
}

.mega-menu .immagine_presentazione img {
  max-height: 150px;
  max-width: 150px;
  border-radius: 5px;
  float: left;
  margin-right: 10px;
}

.mega-menu .menu > li > a:hover,
.mega-menu .menu > li > a:focus {
  color: #072744;
}

@media (max-width: 991px) and (min-width: 768px) {
  .main-navigation .navbar-nav {
    float: none !important;
    text-align: center;
  }
  .navbar-nav > li {
    float: none;
    display: inline-block;
  }
}

/* FINE MENU */

/* MENU CENTRATO: sostituire .navbar-right con .navbar-center in menu.php */

.navbar-nav.navbar-center {
  float: none;
  text-align: center;
}

.navbar-nav.navbar-center > li {
  float: none;
  display: inline-block;
}

@media (max-width: 767px) {
  .navbar-nav.navbar-center > li {
    display: block;
  }

  .dropdown a:before {
    color: #ddd;
    right: 5px;
  }
}
/* FINE MENU CENTRATO */

/* BUTTON */
.btn {
  white-space: normal !important;
  text-transform: uppercase;
}

.btn-default {
  background-color: #202020;
  border-color: #202020;
  color: #fff;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
  background-color: #5c5c5c;
  border-color: #5c5c5c;
  color: #fff;
}

.btn-primary {
  background-color: #072744;
  border-color: #072744;
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  background-color: #fd7377;
  border-color: #fd7377;
  color: #fff;
}

.btn-trasparente {
  background-color: transparent;
  border-color: rgba(0, 0, 0, 0.5);
  color: rgba(0, 0, 0, 0.5);
}

.btn-trasparente:hover,
.btn-trasparente:focus,
.btn-trasparente:active,
.btn-trasparente.active {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* FINE BUTTON */

/* OVERLAY */
.overlay-container {
  position: relative;
  display: block;
  overflow: hidden;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: -1px;
  left: 0;
  right: -1px;
  background-color: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  -webkit-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
a.overlay {
  background-color: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
a.overlay i {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 40px;
  line-height: 42px;
  color: #072744;
  margin-top: -22px;
  margin-left: -18px;
  text-align: center;
}
.overlay-container:hover .overlay,
.overlay-container:hover .overlay-links {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
/* FINE OVERLAY */

/* BARRA NAVIGAZIONE PAGINAZIONE */
.barra-navigazione {
  margin: 20px 0px;
  text-align: center;
  font-size: 16px;
  background-color: #eee;
  padding: 10px;
}

.barra-navigazione a {
  margin: 2px;
  text-align: center;
  width: 24px;
  display: inline-block;
  color: #666;
}
.barra-navigazione a:hover {
  background-color: #ccc;
}

.barra-navigazione a.disabled {
  color: #ccc;
}
.barra-navigazione a.disabled:hover {
  background-color: transparent;
}
/* FINE BARRA NAVIGAZIONE PAGINAZIONE */

.call-to-action .immagine img {
  margin: auto;
  margin-top: 20px;
}

.scrollToTop i::before {
  line-height: 50px;
}

.crediti {
  margin-top: 15px;
  font-size: 12px;
}

#edgeweb {
  color: #a2a2a2;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#edgeweb:hover {
  color: #d00000;
  text-decoration: none;
}

.sottopiede {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 12px;
}

#spot-home {
  margin-top: 50px;
  margin-bottom: 50px;
}

#spot-home img {
  margin: auto;
}

.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 1px solid #fd7377;
  background-color: #072744;
  color: #fff;
}
.table-bordered {
  border-color: #072744;
}

/* MODAL */
.modal-content .modal-header {
  background-color: #009aff;
}

.modal-title {
  color: #fff;
}

/* CARRELLO MENU */
#carrello_menu a.btn {
  padding: 8px 10px;
  margin: 0;
  font-size: 12px;
  color: #fff;
  text-align: end;
  min-width: 0;
  background-color: transparent;
  -moz-box-shadow: none !important;
  -o-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  text-transform: none;
}

#carrello_menu a.btn:hover {
  color: #072744;
}

#carrello_menu a.btn.btn-disabled {
  color: #fff !important;
  cursor: default !important;
}

/* GALLERIA DEI PRODOTTI */
#isotope_container .item {
  width: 25%;
  padding: 10px;
}

#isotope_container .item img {
  width: 100%;
}

#categorie #isotope_container .titolo {
  text-align: center;
  margin-top: 10px;
  color: #9b8231;
}

#categorie #isotope_container .titolo:hover {
  text-decoration: underline;
}

/* DETTAGLIO PRODOTTO */
#prodotto .descrizione img {
  float: left;
  margin-right: 20px;
  max-width: 350px;
}

#prodotto .descrizione .titolo {
  font-size: 18px;
}

#prodotto .descrizione .descrizione_prodotto {
  text-align: justify;
}

#prodotto .prezzo {
  color: #202020;
  margin-top: 20px;
  font-weight: bold;
  font-size: 20px;
  float: left;
}

#prodotto .ballon_dx {
  border: dashed 1px #efda97;
  padding: 10px;
  border-radius: 10px;
  background-color: #eee;
  height: 200px;
  overflow: hidden;
  line-height: 30px;
}

#prodotto .ballon_dx .titolo {
  color: #555;
}

#prodotto .ballon_dx a {
  color: #555;
}

#prodotto .ballon_dx a:hover {
  text-decoration: underline;
}

/* CARRELLO */

.sezione-categorie {
  background-color: #f3f3f3;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: solid 1px #ddd;
}

.sezione-categorie h1,
.sezione-prodotti-in-evidenza h1 {
  color: #202020;
  text-align: center;
  margin-bottom: 30px;
}
.box_categoria .titolo {
  text-align: center;
  font-size: 20px;
  color: #202020;
}

#carrello.pagina-pagamento .riepilogo-ordine .riga {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 15px;
  color: #666;
}

#carrello.pagina-pagamento .riepilogo-ordine .riga .quantita-acquistata {
  display: flex;
  align-items: center;
  font-size: 20px;
  justify-content: center;
}

#carrello.pagina-pagamento .riepilogo-ordine .riga .quantita-acquistata img {
  height: 100px;
}

#carrello.pagina-pagamento .riepilogo-ordine .riga .quantita-acquistata .fa {
  margin-left: 15px;
  margin-right: 15px;
}

#carrello.pagina-pagamento .riepilogo-ordine .riga .titolo {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}
#carrello.pagina-pagamento .riepilogo-costi {
}

#carrello.pagina-pagamento .riepilogo-costi .riga {
  border-bottom: solid 1px #ccc;
  width: 400px;
  max-width: 100%;
  margin-bottom: 10px;
  margin-top: 10px;
  padding-bottom: 10px;
  padding-top: 10px;
}
#carrello.pagina-pagamento .riepilogo-costi .riga:after {
  content: "";
  clear: both;
}
#carrello.pagina-pagamento .riepilogo-costi .riga.riga-totale {
  font-weight: bold;
}

#carrello.pagina-pagamento .riepilogo-costi .riga span {
  float: right;
}

#carrello.pagina-pagamento .elenco-metodi-pagamento {
  background-color: transparent;
}
#carrello.pagina-pagamento .elenco-metodi-pagamento .panel-group .panel {
  box-shadow: none;
  border-bottom: solid 1px #fff;
  margin-top: 0px;
}
#carrello.pagina-pagamento .elenco-metodi-pagamento .panel-heading,
#carrello.pagina-pagamento .elenco-metodi-pagamento .panel-body {
  background-color: transparent;
  border: none;
  box-shadow: none;
}

#carrello .dx_main {
  font-size: 12px;
}

#carrello .carrello_vuoto {
  padding: 20px;
  text-align: center;
  font-weight: bold;
  font-style: italic;
}

#carrello .titolo_sezione {
  color: #747474;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 40px;
}

#carrello .intestazione_tabella {
  background-color: #f3f3f3;
  margin-left: 10px;
  line-height: 24px;
  padding-left: 5px;
  font-weight: bold;
}

#carrello .articolo {
  float: left;
  width: 28%;
}

#carrello .descrizione_articolo {
  float: left;
  width: 43%;
}

#carrello .colore {
  float: left;
  width: 150px;
  text-align: center;
}

#carrello .taglia {
  float: left;
  width: 90px;
  text-align: center;
}

#carrello .quantita {
  float: left;
  width: 14%;
  text-align: center;
}

#carrello .prezzo {
  float: right;
  text-align: right;
  margin-right: 1%;
  font-weight: bold;
  width: 14%;
}

#carrello .elenco_articoli {
  padding-left: 5px;
  margin-left: 10px;
}

#carrello .elenco_articoli .riga_articolo {
  margin-top: 20px;
  border-bottom: dashed 1px #aaa;
  padding-bottom: 10px;
  margin-bottom: 40px;
}

#carrello .elenco_articoli .riga_articolo .articolo {
  float: left;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

#carrello .elenco_articoli .riga_articolo img {
  max-width: 100%;
  max-height: 180px;
  display: block;
  margin: auto;
  float: none;
}

#carrello .elimina_articolo {
  line-height: 30px;
  color: #000;
}

#carrello .elimina_articolo:before {
  content: url("risorse/carrello_elimina.png");
  margin-right: 6px;
}

#carrello .spese_spedizione {
  background-color: #f3f3f3;
  margin-top: 20px;
  margin-left: 10px;
  line-height: 40px;
  padding-left: 5px;
}

#carrello .spese_spedizione .etichetta_consegna:before {
  content: url("risorse/camion.png");
  margin-right: 6px;
  position: relative;
  top: 7px;
}

#carrello .spese_spedizione .etichetta_consegna {
  width: 440px;
  float: left;
}

#carrello .spese_spedizione .etichetta_costo {
  float: left;
}

#carrello .spese_spedizione .costo {
  float: right;
  margin-right: 15px;
}

#carrello .riga_totale {
  margin-top: 20px;
  margin-left: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

#carrello .riga_totale .etichetta_totale {
  margin-left: 440px;
  float: left;
  font-weight: bold;
  font-size: 16px;
}

#carrello .riga_totale .costo_totale {
  float: right;
  margin-right: 15px;
  color: #c56b63;
  font-size: 16px;
  font-weight: bold;
}

#carrello .riga_totale .iva_inclusa {
  clear: both;
  text-align: right;
  margin-right: 15px;
  font-size: 10px;
  color: #a2a2a2;
}

#carrello .pulsante_shopping a {
  text-align: center;
  background-color: #dedede;
  padding: 9px;
  color: #000000;
  border: solid 1px #dedede;
  float: left;
}

#carrello .pulsante_shopping a:hover {
  text-decoration: none;
  background-color: #000000;
  color: #dedede;
}

#carrello .pulsante_acquista a {
  text-align: center;
  background-color: #f73923;
  padding: 9px;
  color: #ffffff;
  border: solid 1px #f73923;
  float: right;
}

#carrello .pulsante_acquista a:hover {
  text-decoration: none;
  background-color: #ffffff;
  color: #f73923;
}

/*
#carrello .pulsante_acquista a:after {
    content: url('risorse/carrello_freccia.png');
    top: 10px;
    margin-left: 10px;
}
*/

#carrello .riepilogo_totale {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 40px;
}

#carrello .riepilogo_totale span {
  color: #c56b63;
  font-size: 18px;
  margin-left: 20px;
}

/* CARRELLO -> PAGINA DI LOGIN */
#carrello .barra_navigazione {
  margin-bottom: 10px;
}

#carrello .barra_navigazione img {
  float: none;
  width: 100%;
  max-width: none;
}

#login-registrati .nuovo_cliente {
  position: relative;
}

#login-registrati .nuovo_cliente #nuovoClienteImg {
  float: none;
}

#login-registrati #registratiForm {
  margin-top: 5px;
  /*background-color: #002567;
  border: solid 3px #105AA0;*/
  padding: 20px;
  border-radius: 15px;
}

#login-registrati #registratiForm .etichetta {
  clear: both;
  padding-top: 10px;
  float: left;
  text-align: right;
  line-height: 30px;
  height: 30px;
  margin-right: 10px;
  width: 40%;
}

#login-registrati #registratiForm .campo {
  float: left;
  padding-top: 10px;
  width: 50%;
}

#login-registrati #registratiForm .campo input {
  width: 100%;
  height: 30px;
}

#login-registrati #registratiForm .informazioni_consegna {
  clear: both;
  border-bottom: dotted 1px #005cb3;
  line-height: 30px;
  font-weight: bold;
  font-size: 15px;
  margin: 20px 5px 30px;
  text-align: center;
  /*color: #ffffff;*/
  color: #f0cd35;
}

#login-registrati #registratiForm .nota {
  clear: both;
  margin-left: 200px;
  font-size: 10px;
}

#login-registrati #registratiForm .nazione_consegna {
  clear: both;
  text-align: center;
  padding-top: 10px;
  font-weight: bold;
}

#login-registrati #registratiForm .privacy {
  margin-left: 60px;
  margin-right: 30px;
  text-align: right;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 10px;
}

#login-registrati #registratiForm .nota_obbligatorio {
  text-align: left;
  margin-right: 30px;
  /*color: #ffffff;*/
  color: #f0cd35;
}

#login-registrati .gia_cliente {
  position: relative;
}

#login-registrati .gia_cliente #loginForm .etichetta {
  clear: both;
  padding-top: 10px;
  width: 40%;
  float: left;
  text-align: right;
  line-height: 30px;
  height: 30px;
  margin-right: 10px;
}

#login-registrati .gia_cliente #loginForm .campo {
  width: 50%;
  float: left;
  padding-top: 10px;
}

#login-registrati .gia_cliente #loginForm .campo input {
  width: 100%;
  height: 30px;
}

#login-registrati .gia_cliente #loginForm .ricordami {
  clear: both;
  margin-left: 2px;
}

#login-registrati .gia_cliente #loginForm .recupera_password {
  float: left;
  font-style: italic;
}

.pulsante_procedi {
  text-align: right;
  margin-right: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
}
#login-registrati .gia_cliente .pulsante_procedi {
  float: right;
  margin: 0px;
}


.pulsante_procedi input {
  margin: 0px;
  padding: 0px;
  background-color: #f73923;
  padding: 9px 20px;
  color: #ffffff;
  border: solid 1px #f73923;
  border-radius: 0px;
}

.pulsante_procedi input:hover {
  background-color: #ffffff;
  color: #f73923;
  text-decoration: none;
}

.errore {
  padding: 10px;
  text-align: center;
  color: red;
  font-size: 14px;
  font-weight: bold;
}

/* CARRELLO SPEDIZIONE */
#carrello .indirizzo_spedizione {
  width: 240px;
  float: left;
  padding: 10px;
  margin-right: 20px;
}

#carrello .titolo_spedizione {
  color: #000;
  border-top: dashed 1px #000;
  border-bottom: dashed 1px #000;
  line-height: 30px;
  padding-left: 10px;
  font-weight: bold;
}

#carrello .indirizzo_spedizione .contenuto {
  font-weight: bold;
  line-height: 18px;
  padding: 10px;
  text-align: left;
}

#carrello .indirizzo_alternativo {
  float: left;
  width: 40%;
  padding: 10px;
  margin-left: 10%;
  border-left: solid 1px #333;
  padding-left: 2%;
}

/* PAGAMENTO */
#carrello .modalita_pagamento {
  position: relative;
  width: 60%;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
}

#carrello .modalita_pagamento .pulsante_procedi {
  position: absolute;
  right: 20px;
  top: 0px;
}

#carrello .modalita_pagamento .pulsante_procedi input {
  background-color: #026aa9;
  border: solid 1px #026aa9;
}

#carrello .modalita_pagamento .pulsante_procedi input:hover {
  color: #026aa9;
  background-color: #ffffff;
}

#carrello .guida {
  text-align: center;
}

#carrello .modalita_pagamento img,
#carrello .guida img {
  float: none;
  max-width: none;
}

#carrello .testo_conferma {
  padding: 20px;
  font-size: 14px;
}

#carrello .modalita_pagamento .pagamento_contrassegno {
  width: 429px;
  background-color: #fff;
  border: solid 1px #eee;
}

#carrello .modalita_pagamento .pagamento_contrassegno .titolo {
  background-color: #eee;
  padding: 10px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
}

#carrello .modalita_pagamento .pagamento_contrassegno .descrizione {
  padding: 10px;
  padding-top: 0px;
  font-size: 14px;
}

/* MENU PER LOGIN / CARRELLO */
.carrello_menu {
  position: absolute;
  right: 20px;
  top: 4px;
  color: #fff;
}

.carrello_menu .link {
  float: left;
  margin-right: 10px;
}

.carrello_menu .link {
  float: left;
  margin-right: 10px;
}

.carrello_menu .link a {
  text-transform: uppercase;
  color: #999;
}

.carrello_menu .link a:hover {
  color: #fff;
}

/* RIEPILOGO ORDINI - ACCOUNT.PHP */

/* RIEPILOGO ORDINI */

.riepilogo_ordini {
  /*margin-top: 40px;*/
}

.riepilogo_ordini .ordine {
  position: relative;
  width: 80%;
  padding: 20px;
  border: 1px solid #428bca;
  margin-bottom: 60px;
}

.riepilogo_ordini .numero_ordine {
  font-size: 14px;
  position: absolute;
  top: -13px;
  left: 20px;
  padding: 3px;
  background: #fff;
}

.riepilogo_ordini span {
  font-weight: bold;
}

.riepilogo_ordini .totale_ordine {
  float: left;
}

.riepilogo_ordini .vedi_dettagli {
  font-weight: bold;
  text-align: right;
}

.riepilogo_ordini .vedi_dettagli a {
  color: #d44016;
  cursor: pointer;
}

.riepilogo_ordini .stato {
  text-align: right;
}

.riepilogo_ordini .elenco_artioli {
  font-size: 14px;
  display: none;
}

.riepilogo_ordini .ordine_intestazione td {
  background: #428bca;
  font-weight: normal;
  color: #fff;
  font-size: 12px;
  padding: 5px 8px;
}

.riepilogo_ordini .ordine_prodotto td {
  padding: 5px 8px;
  border-bottom: 1px solid #c0c0c0;
  font-size: 12px;
  background: #fff;
}

.conferma_modifica {
  margin: 20px 200px;
  margin-bottom: 0px;
  text-align: center;
  padding: 5px;
  color: #1ea599;
  font-weight: bold;
  font-style: italic;
}

.errore_modifica {
  margin: 20px 200px;
  margin-bottom: 0px;
  text-align: center;
  padding: 5px;
  color: #a30f16;
  font-weight: bold;
  font-style: italic;
}

/* FINE RIEPILOGO ORDINI */

/* CARRELLO ADATTIVO */
@media screen and (max-width: 767px) {
  .intestazione_tabella {
    display: none;
  }
  #carrello .elenco_articoli .riga_articolo {
    text-align: center;
  }
  #carrello .articolo,
  #carrello .descrizione_articolo {
    float: none !important;
    width: auto !important;
    text-align: center;
  }
  #carrello .quantita {
    float: none !important;
    width: auto !important;
    margin-top: 20px;
  }
  #carrello .prezzo {
    float: none !important;
    width: auto !important;
    margin-top: 20px;
    text-align: center;
  }
  #carrello .riga_totale .etichetta_totale {
    margin-left: 0;
    float: none;
  }
  #carrello .riga_totale .costo_totale {
    float: none;
  }
  #carrello .riga_totale .iva_inclusa {
    text-align: left;
  }
  #carrello .indirizzo_spedizione {
    width: auto;
    float: none;
  }
  #carrello .indirizzo_alternativo {
    float: none;
    width: auto;
    margin-left: 0;
  }
  #carrello .modalita_pagamento {
    width: auto;
  }
  #carrello .modalita_pagamento .pagamento_contrassegno {
    width: auto;
  }
  #carrello .modalita_pagamento .pulsante_procedi {
    position: static;
  }
  #carrello .modalita_pagamento img,
  #carrello .guida img {
    width: 100%;
  }
  .riepilogo_ordini .ordine {
    width: auto;
  }
  .riepilogo_ordini .totale_ordine {
    float: none;
  }
}
/* FINE CARRELLO ADATTIVO */

#blocco_notizie {
  padding: 20px;
  margin: 30px;
  margin-top: 45px;

  background: #f0f0f0;

  /*box-shadow: 0px 0px 10px #202020; */
}

#blocco_notizie .notizia {
  margin-bottom: 20px;
}

#blocco_notizie .notizia .immagine {
  height: 120px;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat;
  margin-bottom: 20px;
}

#blocco_notizie .notizia .titolo {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

#blocco_notizie .notizia a {
  display: block;
  text-align: right;
  font-size: 12px;
}

#blocco_notizie .notizia a i {
  font-size: 10px;
}

#blocco_notizie .notizia .data {
  float: right;
  font-style: italic;
  font-size: 12px;
  font-weight: normal;
  color: #333;
}

#blocco_notizie .notizia img {
  display: block;
  margin: auto;
  margin-bottom: 10px;
  max-width: 100%;
}

#blocco_notizie .notizia .descrizione {
  line-height: normal;
  font-size: 12px;
}

#blocco_notizie .notizia .divisore {
  width: 70%;
  margin: auto;
  border-bottom: dashed 1px #a0a0a0;
  margin-bottom: 20px;
}

.box_contatti {
  padding: 20px;
  margin: 30px;
  margin-top: 45px;
  border: solid 1px #eee;
  border-radius: 10px;
}

.box-contatti {
    padding: 20px;
    margin: 30px;
    margin-top: 45px;
    border: solid 1px #eee;
    border-radius: 10px;
    text-align: center;
    background: #0060C0;
}
.box-contatti img {
  margin: auto;
}
.box-contatti .recapiti {
  margin-top: 10px;
  font-size: 12px;
}

.links_link {
  margin: 15px 0px;
}

.links_link a:hover {
  text-decoration: underline;
}

/* PAGINA CHI SIAMO - INFO */
#pagina_chisiamo .testo_presentazione {
  text-align: left;
  padding-right: 20px;
}
#pagina_chisiamo .testo_presentazione img {
  max-width: 30%;
  margin-right: 20px;
}

/* FINE PAGINA CHI SIAMO - INFO */

.stile_dida {
  padding: 5px;
}

/* GESTIONE PIU' SEDI AZIENDALI */
.sede {
  border: solid 2px #202020;
  padding: 20px;
  margin-bottom: 30px;
}
.sede strong {
  color: #202020;
}
.sede .direzione {
  text-align: center;
}
/* FINE GESTIONE PIU' SEDI AZIENDALI */

.contact-form {
  padding: 10px 40px;
  background-color: #eee;
}
.contact-form form {
  margin: 20px 0;
}
.contact-form input,
.contact-form textarea {
  border: none;
  text-shadow: none;
  box-shadow: none;
}
.contact-form label {
  font-weight: normal;
}
.form-group {
  margin-bottom: 15px;
}
#map-canvas {
  height: 594px;
}

/* FOOTER */
footer#footer {
  background-color: #061824;
  margin-top: 50px;
  padding: 30px 0px;
  color: rgba(255, 255, 255, 0.75);
}
footer#footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
footer#footer a:hover {
  text-decoration: underline;
}
footer#footer .info-legali {
  font-size: small;
}
/* FINE FOOTER */

/* GALLERY */
.gallery_fotografica {
  background-color: #eee;
  padding: 40px 0px;
  padding-bottom: 10px;
  margin-top: 20px;
}

.gallery_fotografica .immagine {
  margin-bottom: 30px;
}

.didascalia_gallery {
  text-align: center;
  padding: 5px 10px;
  font-weight: bold;
  color: #202020;
}

.blogpost:hover .didascalia_gallery {
  color: #072744;
}

#gallery .torna_gallery:hover {
  text-decoration: none;
}

#gallery .immagine_gallery {
  position: relative;
}

#gallery .didascalia_gallery {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6);
}

/* BLOG */

#blog h1.page-header small {
  text-transform: none;
  font-size: 10px;
}
#blog h1.page-header small i {
  margin-left: 5px;
  margin-right: 0px;
}

#blog .copertina {
  margin: auto;
  margin-bottom: 20px;
}

#blog .immagine_centrata {
  margin: auto;
  margin-bottom: 20px;
  max-width: 80%;
}
#blog .tag_associati {
  border-top: solid 1px #ccc;
  padding-top: 5px;
}

#blog .barra_blog .barra_sezione {
  background-color: #eee;
  border: solid 1px #ccc;
  margin-bottom: 15px;
}

#blog .barra_blog .barra_sezione .title {
  text-transform: uppercase;
  font-weight: 700;
  color: #c50000;
  font-size: 18px;
  margin-top: 15px !important;
  margin-bottom: 10px !important;
  margin-left: 15px;
}

#blog .barra_blog .barra_sezione a {
  display: block;
  padding: 5px 15px;
  color: #666;
  border-top: solid 1px #bbb;
}
#blog .barra_blog .barra_sezione a:hover {
  background-color: #fcfcfc;
}

#blog .anteprima_blog .testo {
  font-style: italic;
}
#blog .anteprima_blog .titolo {
  font-weight: bold;
}
#blog .anteprima_blog {
  margin-bottom: 20px;
  border-bottom: solid 2px;
  padding-bottom: 20px;
}

#blog .immagine .overlay-container:hover .overlay,
#blog .immagine .overlay-container:hover .overlay-links {
  opacity: 0.6;
  filter: alpha(opacity=60);
}
/* FINE BLOG */

/**********************
 *      CARRELLO      *
***********************/
#carrello .menu_passi {
  margin-top: 40px;
  margin-bottom: 20px;
}

#carrello .menu_passi .step-content,
#carrello .menu_passi .step-content:hover,
#carrello .menu_passi .step-content:active {
  display: block;
  width: auto;
  margin: 0 0.5em 0.5em;
  padding: 8px;
  text-decoration: none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-weight: bold;
}
#carrello .menu_passi .step-content.fatto,
#carrello .menu_passi .step-content.fatto:hover,
#carrello .menu_passi .step-content.fatto:active {
  background: #fd7377;
  color: #fff;
  cursor: pointer;
}

#carrello .menu_passi .step-content.corrente,
#carrello .menu_passi .step-content.corrente:hover,
#carrello .menu_passi .step-content.corrente:active {
  background: #072744;
  color: #fff;
  cursor: default;
}

#carrello .menu_passi .step-content.disabilitato,
#carrello .menu_passi .step-content.disabilitato:hover,
#carrello .menu_passi .step-content.disabilitato:active {
  background: #ccc;
  color: #888;
  cursor: default;
}

#carrello .contenitore_carrello {
  margin-top: 50px;
  background-color: #fff;
  border: solid 1px #ccc;
  padding: 20px;
}

#carrello .gestione_quantita .casella_quantita {
  width: 60%;
  padding-right: 5px !important;
  height: 30px;
}

#carrello .gestione_quantita .gruppo {
  position: relative;
}

#carrello .gestione_quantita .gruppo .comando {
  position: absolute;
  width: 40%;
  left: 60%;
  top: 0px;
}
.comando .btn {
  min-width: 0px;
  display: inline-block;
  padding: 0px;
  width: 40%;
  margin: 0px;
  border: solid 1px #ccc;
  height: 30px;
  line-height: 30px;
  background-color: #ccc;
}

#carrello .gestione_quantita .gruppo .fa {
  color: #000;
  font-size: inherit;
}

#carrello .riga_totale {
  font-weight: bold;
}

#carrello .colonna_descrizione_articolo {
  font-size: 12px;
}

#carrello .indirizzo_spedizione {
  width: auto;
  float: none;
  padding: 10px;
  margin-right: 20px;
}
#carrello .indirizzo_alternativo {
  float: none;
  width: auto;
  padding: 10px;
  margin-left: 10%;
  border-left: solid 1px #333;
  padding-left: 2%;
}

#account .riepilogo_ordini .ordine {
  width: 100%;
}
#account .tabella_articoli {
  display: none;
}

.prodotto_item {
  position: relative;
  margin-bottom: 30px;
  text-align: center;
}
#prodotto .prezzo_precedente,
.prodotto_item .prezzo_precedente {
  text-decoration: line-through;
  color: #888;
  margin-right: 10px;
  font-size: 90%;
}
.prodotto_item .prezzo_precedente .badge {
  background-color: #072744;
  position: absolute;
  top: 10px;
  left: 0px;
  border-radius: 0px;
}

@media screen and (max-width: 767px) {
  #carrello .menu_passi .disabilitato,
  #carrello .menu_passi .fatto {
    display: none;
  }
}

.panel-heading a {
  background-color: #072744;
  color: #ffffff;
}
.panel-heading a.collapsed {
  color: #ffffff;
  background-color: #999999;
}
.panel-heading a:hover,
.panel-transparent .panel-heading a:hover {
  background-color: #072744;
  color: #ffffff;
}

/**********************
 *    FINE CARRELLO   *
***********************/

#notizie-archivio .riga-notizia {
  display: block;
  margin-bottom: 30px;
  background-color: #eee;
  border: solid 1px #eee;
  padding: 30px;
  color: inherit;
}
#notizie-archivio .riga-notizia:hover {
  color: inherit;
  border-color: #ccc;
}
#notizie-archivio .riga-notizia h2 {
  margin-top: 0px;
}

#notizie-archivio .riga-notizia .pulsante {
  text-align: right;
  color: #072744;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 10px;
}

.call-to-action {
  padding: 10px 25px;
  text-align: center;
}
.call-to-action .btn {
  margin: 10px 5px;
}

.section {
  padding: 25px 0;
}
.light-translucent-bg,
.dark-translucent-bg,
.default-translucent-bg,
.parallax {
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
}
.parallax {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  z-index: 1;
  position: relative;
  padding: 50px 0;
  background-attachment: fixed !important;
}
.light-translucent-bg,
.dark-translucent-bg,
.default-translucent-bg {
  background-position: 50% 0;
  background-repeat: no-repeat;
  z-index: 1;
  position: relative;
}
.light-translucent-bg {
  color: #333;
  border-bottom: 1px solid #dadada;
  border-top: 1px solid #dadada;
}
.light-translucent-bg:after,
.dark-translucent-bg:after,
.default-translucent-bg:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.light-translucent-bg:after {
  background-color: rgba(255, 255, 255, 0.7);
}
.light-translucent-bg .container,
.dark-translucent-bg .container,
.default-translucent-bg .container {
  z-index: 3;
  position: relative;
}

.wishlist-invito-registrazione {
  padding: 10px 10px;
  background-color: #eee;
  margin: 20px;
  font-size: 12px;
}
#wishlist-pagina .riga-articolo {
  margin: 15px 0px;
  padding: 15px 0px;
  border-bottom: solid 1px #ccc;
}
#wishlist-pagina .riga-articolo h3 {
  margin: 0px;
}

.banner-home .testo {
  color: #fff;
  padding-top: 200px;
  padding-bottom: 200px;
  text-align: center;
}

.banner-home .testo h1 {
  color: #fff;
}

/* PHONE AND TABLET */
@media screen and (max-width: 991px) {
  .parallax {
    background-position: center !important;
    background-size: cover !important;
    background-attachment: unset !important;
  }

  #carrello.pagina-pagamento .riepilogo-costi .riga {
    width: 100%;
  }

  #logo {
    margin: 0px;
  }

  .header .navbar-toggler {
    position: absolute;
    top: -67px;
    right: 22px;
    border: solid 1px #000;
    height: 50px;
  }

  .login-register .header .navbar-toggler {
    display: none;
  }

  .navbar-toggler-icon {
    color: #000;
  }

  .navbar {
    width: 100%;
  }

  footer#footer {
    padding-bottom: 64px;
  }
}

/* MIDDLE DEVICES */
@media screen and (min-width: 992px) and (max-width: 1199px) {
}

/* LARGE DEVICES */
@media screen and (min-width: 1200px) {
}

/* MAGLIA E BADGE */
.maglia-container {
  position: relative;
}

.badge-maglia {
  position: absolute;
  width: 8%;
  top: 18%;
  right: 30%;
  filter: drop-shadow(1px 0 1px rgba(0, 0, 0, .8)) drop-shadow(-1px 0 1px rgba(0, 0, 0, .8)) drop-shadow(0 1px 1px rgba(0, 0, 0, .8)) drop-shadow(0 -1px 1px rgba(0, 0, 0, .8));
  display: none;
}

.sponsor-maglia {
  position: absolute;
  width: 44%;
  top: 32%;
  left: 29.5%;
  filter: drop-shadow(1px 0 1px rgba(0, 0, 0, .8)) drop-shadow(-1px 0 1px rgba(0, 0, 0, .8)) drop-shadow(0 1px 1px rgba(0, 0, 0, .8)) drop-shadow(0 -1px 1px rgba(0, 0, 0, .8));
}

.btn-check:checked + .badge-label {
  border: 3px solid #0d6efd !important; /* Blu Bootstrap */
  background-color: rgba(13, 110, 253, 0.1);
  border-radius: 10px;
  transform: scale(1.05);
}
/* FINE MAGLIA E BADGE */

/* MENU LEGA IN BASSO */
/* Footer Navigation */
.bottom-nav {
  background-color: #02111d;
  border-top: 1px solid #0a4d7a;
  position: sticky;
  bottom: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.nav-link-custom {
  color: #64b5f6;
  font-size: 0.7rem;
  text-align: center;
  text-decoration: none;
}

.nav-link-custom.active {
  color: #0099ff;
}
/* FINE MENU LEGA IN BASSO */

/* LEGA-INVITO */
/* Sfondo della barra superiore */
.barra-gestione-partecipanti {
  background-color: #003354; /* Blu leggermente più chiaro del fondo body */
}

/* Stile comune ai pulsanti */
.btn-utenti-attivi, .btn-invita-utenti {
    border-radius: 50px;
    padding: 10px 15px;
    font-weight: 500;
    border: none;
    text-align: center;
    white-space: nowrap;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Colore "Utenti attivi" (Azzurro polvere) */
.btn-no-attivo-blue {
  background-color: #82b1d3;
  color: white;
}

/* Colore "Invita utenti" (Blu saturo) */
.btn-attivo-blue {
  background-color: #0088d4;
  color: white;
}

/* Rimuove l'effetto hover standard che potrebbe schiarire troppo */
.btn-utenti-attivi:hover,
.btn-invita-utenti:hover {
  background-color: #005788;
  opacity: 0.9;
  color: inherit;
}

/* FINE LEGA-INVITO */

/* CONDIVISIONE SUI SOCIAL */
#barra-condivisione {
  margin: 0px 18px;
}

#barra-condivisione .etichetta-condivisione {
  text-align: center;
  font-style: italic;
  margin-bottom: 5px;
}
#barra-condivisione .elenco-condivisione {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border: solid 1px #ccc;
  border-radius: 10px;
}
#barra-condivisione .elenco-condivisione a {
  font-size: 40px;
  padding: 15px 40px;
  margin: 5px;
  text-align: center;
  display: block;
  border: solid 2px transparent;
  flex-grow: 1;
}
#barra-condivisione .elenco-condivisione a:hover {
  border-color: inherit;
}

#barra-condivisione .elenco-condivisione a i {
  color: #ffffff;
}

/* LINK NEL MENU */
.las-tv {
    height: 32px;
    width: auto;
    transition: 0.3s ease;
}

.social-icon {
    transition: 0.3s ease;
}

.social-icon:hover,
.las-tv:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}
/** FINE LINK NEL MENU */

/*Fine CONDIVISIONE SUI SOCIAL*/

/* BARRA MENU LATERALE */
/* Forza il colore bianco per i link nel menu laterale */
.barra-menu-laterale .nav-link {
  color: #ffffff !important;
  padding: 10px 15px; /* Spazia leggermente le voci */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Opzionale: riga sottile tra le voci */
  transition: background 0.3s;
}

/* Effetto hover per rendere il menu più interattivo */
.barra-menu-laterale .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Rimuove l'ultima riga di separazione */
.barra-menu-laterale .nav-item:last-child .nav-link {
  border-bottom: none;
}
/* FINE BARRA MENU LATERALE */


/*-----------------------------------------------------------*/

/* CSS AGGIUNTO */

/*CSS RIUTILIZZATO*/

.btn-primary {
  background-color: #072744;
  border-color: #105aa0;
  /*color: #fff;*/
  color: #f0cd35;
  box-shadow: inset 0px 0px 10px 2px #105aa0 !important;
}

.login .btn-primary {
    background-color: #1876cb;
    border-color: #105aa0;
    color: #f0cd35;
    border-radius: 20px;
}

.btn-primary:hover {
    background-color: #0085db;
    border-color: #005ddb;
    color: #fff;
}

.light-text {
  color: #ffffff;
}

.resizer {
    font-size: 15px;
    padding: 10px 0 0;
}


/*LOGIN.PHP*/

.login h1.page-header,
.login .gia_cliente h2,
.login .gia_cliente label,
.login .nuovo_cliente h2 {
  color: #ffffff;
}

.login .gia_cliente h2 {
    text-align: center;
    font-size: 39px;
}

.login .gia_cliente h2,
.login .nuovo_cliente h2 {
  padding-left: 10px;
  color: #f0cd35;
}

.login .nuovo_cliente h2 {
  font-size: 1.5rem;
}

.nuovo_cliente .registrazione-header:hover h2,
.nuovo_cliente .registrazione-header:hover .freccia {
  color: #ffa200;
}

.nuovo_cliente button h2 {
    margin: 0;
}


.login .recupera_password a {
  /*color: #ffffff;*/
  color: #f0cd35;
  text-decoration: underline;
}

.login .recupera_password a:hover {
  color: #ac9222;
}

#login-registrati .gia_cliente #loginForm {
    margin-top: 5px;
    clear: both;
    /*border: solid 3px #105aa0;*/
    padding: 20px;
    border-radius: 15px;
    /*background-color: #002567;*/
}

.login .nuovo_cliente .btn-primary {
  box-shadow: none;
}

.nuovo_cliente .registrazione-header {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 5px 15px 5px 0px;
    cursor: pointer;
    border-radius: 20px;
    /*border: solid #105697;*/
}

.nuovo_cliente .registrazione-header,
.nuovo_cliente .registrazione-header:focus,
.nuovo_cliente .registrazione-header:active,
.nuovo_cliente .registrazione-header:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}


.freccia {
    transition: transform 0.3s;
    color: #f0cd35;
}

.aperto .freccia {
    transform: rotate(180deg);
}

.registrazione-content {
    display: none;
}

.nuovo_cliente.aperto .registrazione-content {
    display: block;
}


.login label,
.login .gia_cliente label {
    /*color: #e9e9e9;*/
    color: #f0cd35;
}
 
/*FINE LOGIN.PHP*/

/* BENVENUTO.PHP */

.logo-fanta img {
  width: 200px;
}

.benvenuto-body {
  font-family: "Montserrat", sans-serif;
  color: white;
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
}
/* Navbar personalizzata */
.navbar-custom {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #031018;
}

/* Sezione superiore  */
.welcome-section {
  background-color: #073f64; /* Blu più chiaro */
  position: relative;
  padding: 40px 20px 80px 20px;
  text-align: left;
  margin-bottom: -50px;
}

.welcome-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    width: 53%;
    transform: translateX(-10%);
}

.text-wrapper h1 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 0;
    text-align: end;
    margin-right: 37px;
    padding-top: 32px;
}

.welcome-text p {
  font-size: 1.5rem;
  line-height: 1.2;
  text-align: center;
}

.welcome-section img {
    position: absolute;
    top: 0;
    right: 40%;
    width: 195px;
    transform: translateX(60%);
}

/* Sezione pulsanti */
.sezione-pulsanti {
  padding-top: 80px;
  text-align: center;
  position: relative;
}

.btn-crea-lega {
  border-radius: 50px;
  padding: 15px 15px;
  font-weight: bold;
  width: 230px;
  max-width: 350px;
  margin-bottom: 20px;
  border: none;
  font-size: 1.1rem;
  background-color: #009aff;
  color: rgb(255, 255, 255);
  text-transform: none;
}

.btn-unisciti {
  border-radius: 50px;
  padding: 15px 15px;
  font-weight: bold;
  width: 230px;
  max-width: 350px;
  margin-bottom: 20px;
  border: none;
  font-size: 1.1rem;
  background-color: #009aff;
  color: rgb(255, 255, 255);
  text-transform: none;
}

.btn-unisciti:hover,
.btn-crea-lega:hover {
  box-shadow: none;
  color: #fff;
  background-color: #005788;
}

/* FINE BENVENUTO.PHP */


/*LEGA-CREA.PHP*/

.benvenuto-crea .text-wrapper h1 {
    width: 200px;
    text-align: center;
    line-height: 37px;
    padding-bottom: 10px;
}

.benvenuto-crea .welcome-text p {
    width: 200px;
    margin-right: 37px;
}

.benvenuto-crea .welcome-section img {
    position: absolute;
    top: 41px;
    right: 40%;
    width: 210px;
    transform: translateX(60%);
}

.benvenuto-crea .text-wrapper p {
    padding: 0 20px;
}

.benvenuto-crea .section-header {
  font-weight: bold;
  font-size: 1.5rem;
  padding-bottom: 15px;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
}

.button-option {
    display: flex;
    justify-content: space-between;
    width: 500px;
}

.button-option input[type="radio"] {
    display: none;
}

.button-pill {
    padding: 14px 0;
    text-align: center;
    border-radius: 26px;
    background: #0d6efd;
    color: #0b2239;
    cursor: pointer;
    transition: 0.25s;
    width: 170px;
    font-weight: 600;
    border: solid 1px;
    border-color: #0d6efd;
}

.button-option input[type="radio"]:checked + .button-pill {
    background: #3786fd;
    color: #fff;
    border: solid 1px;
    border-color: #ffffff;
    box-shadow: inset 0px 0px 29px -4px #0043a8;
}

.benvenuto-crea .form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benvenuto-crea .form-control {
    width: 50%;
    background: #052136;
    border: solid 2px;
    border-color: #3786fd;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.benvenuto-crea .btn-primary.modal-button {
    background-color: #3786fd;
    border-color: #105aa0;
    color: #fff;
}

.modal-body {
    color: #000000;
}

/*FINE LEGA-CREA.PHP*/

/*LEGA-CREA-FATTO.PHP*/

.benvenuto-fatto .text-wrapper h1 {
    width: 100%;
}

.benvenuto-fatto .welcome-section img {
    position: absolute;
    top: 4px;
    right: 40%;
    width: 150px;
    transform: translateX(60%);
}

/*FIN LEGA-CREA-FATTO.PHP*/

/*LEGA-UTENTI.PHP*/

.squadra-utente {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 20px 5%;
}

.lega-utenti .btn-danger {
    border-radius: 20px;
}

.lega-utenti .btn-danger:hover {
    background-color: #860000;
    border-color: #860000;
}

.badge-incomplete {
    background-color: #df0000;
    color: #fff;
    padding: 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.badge-incomplete:hover {
    background-color: #860000;
}

.badge-complete {
    background-color: #30ce00;
    color: #fff;
    padding: 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.badge-complete:hover {
    background-color: #1e8000;
}

/* FINE LEGA-UTENTI.PHP */

/*LEGA-INVITO.PHP*/

.invite-text {
    width: 50%;
    display: flex;
    justify-content: end;
    font-size: 1.2rem;
    padding-bottom: 20px;
}

.invite-text p {
    width: 250px;
}

.mascot-container {
    position: absolute;
    right: 40%;
    top: 3px;
    width: 165px;
    z-index: 10;
    transform: translateX(60%);
}

/*FINE LEGA-INVITO.PHP */

/*LEGA-SETUP.PHP*/

.card.setup {
  border-color: #004a6e;
}

.card-header {
  background-color: #00274e;
  color: #1cb1fc;
}

.card-header.card-evidence {
    margin-top: 10px;
    border: solid 1px #006090;
    box-shadow: inset 0px 0px 24px 1px #006090;
}

.list-league{
  background: linear-gradient(to bottom right, #00a9ff, #0060c0);
  /*background-color: #006fa7;*/
  color: #ffffff;
  font-weight: bold;
  border-color: #004a6e;
}

.list-league p {
  margin: 0;
  padding-right: 10px;
}

/* FINE LEGA-SETUP.PHP */

/*LEGA-PARTECIPANTI.PHP*/

.card-body h5,
.card-body h6 {
  color: #ffffff;
}

.card {
    border: none;
    background: transparent;
}

.card-back {
  /*background-color: #00274e;*/
  border: solid 2px #004a6e;
  border-radius: 20px;
  background: linear-gradient(to bottom, #00a9ff, #0060c0);
}

.card-back.solid-color {
  background: #0060c0;
}

/*FINE LEGA-PARTECIPANTI.PHP */

/*MODIFICA-COLORE-MAGLIA.PHP*/

.maglia-container .maglia-utente {
    width: 200px;
    border-radius: 20px;
}

.badge-dim {
    width: 64px;
}

/*FINE MODIFICA-COLORE-MAGLIA.PHP*/

/*HOME-LEGA.PHP*/

.stadium-background {
    background: 
    /* fasci di luce (colonne morbide dall’alto) */ 
    radial-gradient(ellipse 13% 143% at 14% 10%, 
    rgba(140, 235, 255, 0.55) 0%, 
    rgba(140, 235, 255, 0.25) 36%, 
    rgba(140, 235, 255, 0.00) 60%), 

    radial-gradient(ellipse 30% 164% at 33% 11%, 
    rgba(140, 235, 255, 0.45) 8%, 
    rgba(140, 235, 255, 0.20) 25%, 
    rgba(140, 235, 255, 0.00) 60%), 
    
    radial-gradient(ellipse 22% 121% at 66% 4%, 
    rgba(140, 235, 255, 0.45) 7%, 
    rgba(140, 235, 255, 0.20) 36%, 
    rgba(140, 235, 255, 0.00) 82%), 

    radial-gradient(ellipse 19% 170% at 84% 5%, 
    rgba(140, 235, 255, 0.55) 0%, 
    rgba(140, 235, 255, 0.25) 26%, 
    rgba(140, 235, 255, 0.00) 48%), 
    
    /* glow centrale (come “nebbia” dietro la maglia) */ 
    radial-gradient(circle at 50% 55%, 
    rgba(120, 220, 255, 0.25) 7%, 
    rgba(120, 220, 255, 0.00) 55%), 
    
    /* base */ 
    linear-gradient(to bottom, #0A4B72 0%, #043253 45%, #021b2d 100%);

    box-shadow: inset 0 0 120px rgb(255 255 255 / 39%);
    padding: 40px 0;
}

.table-name {
    margin: 45px 0;
}

.mascotte-wrapper {
    position: relative;
}

.mascotte-table {
    position: absolute;
    top: -82px;
    right: -16px;
    width: 75px;
}

.table-position {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    margin-left: 20px;
    padding-right: 23%;
}

.btn-formation {
    border-radius: 32px;
    max-width: 325px;
    width: 100%;
    margin-top: 20px;
    padding: 7px 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.uncompleted-squad {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.btn-dim { 
  max-width: 325px;
  width: 100%;
  padding: 10px 20px;
}

.btn-prev-page,
.btn-next-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  box-shadow: inset 0px 0px 10px 2px #105aa0;
}

.btn-prev-page{
  margin-left: 20px;
}

.btn-next-page{
  margin-right: 20px;
}

a.btn-next-page i,
a.btn-prev-page i {
  font-size: 25px;
}

/*FINE HOME-LEGA.PHP*/

/*LEGA FORMAZIONE CREA*/

#contenitoreFormazione.ground {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 4 / 6;
    background-image: url(risorse/campo.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 12px;
}

#contenitoreFormazione.ground > .mb-3{
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 !important;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 0 1%;
}

#contenitoreFormazione.ground > .mb-3 > h5{
  display: none;
}


#contenitoreFormazione.ground > .mb-3:nth-child(1){ top: 5%; } /* POR */
#contenitoreFormazione.ground > .mb-3:nth-child(2){ top: 23%; } /* DIF */
#contenitoreFormazione.ground > .mb-3:nth-child(3){ top: 43%; } /* CEN */
#contenitoreFormazione.ground > .mb-3:nth-child(4){ top: 68%; } /* ATT */


.player-icon{
  font-size: clamp(22px, 4vw, 34px);
  display: block;
  line-height: 1;
}

.player-name {
  font-size: clamp(7px, 2.4vw, 14px);
  margin-top: 2px;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  text-align: center;
  hyphens: none;
  line-height: 1.05;
  min-height: 2.1em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;  
  overflow: hidden;
}

/* di base tutti neri */
#contenitoreFormazione.ground .player-icon{
  font-size: clamp(22px, 4vw, 34px);
  display: block;
  line-height: 1;
  color: #000;
}

/* SOLO se il bottone ha un giocatore (classe has-player) applico il colore ruolo */

/* se il bottone contiene un player-name NON vuoto → colore ruolo */
#contenitoreFormazione.ground button.btn-primary:has(.player-name:not(:empty)) .player-icon{
  color: #2f80ff;
}

#contenitoreFormazione.ground button.btn-warning:has(.player-name:not(:empty)) .player-icon{
  color: #ffd54a;
}

#contenitoreFormazione.ground button.btn-success:has(.player-name:not(:empty)) .player-icon{
  color: #35d07f;
}

#contenitoreFormazione.ground button.btn-keeper:has(.player-name:not(:empty)) .player-icon{
  color: #c44dff;
}

/* niente riquadro intorno */
#contenitoreFormazione.ground button{
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  border-radius: 12px;
  background: transparent;
  box-shadow: none !important;
  padding: clamp(6px, 1.6vw, 10px);
  min-width: clamp(64px, 20vw, 92px);
}

/* Per mobile */
@media (max-width: 576px) {

    #contenitoreFormazione.ground button {
        min-width: clamp(60px, 20vw, 60px);
    }
  }



#contenitoreFormazione.ground .player-name {
  color: #000000;
  font-weight: bold;
  white-space: nowrap;        
  overflow: hidden;          
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}

#lega-formazione-crea .fanta-formation-exit,
.formazione-crea .fanta-formation-exit {
  max-width: 520px;
  margin: 22px auto 18px;
}

#lega-formazione-crea .fanta-formation-exit__link,
.formazione-crea .fanta-formation-exit__link {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 13px;
  padding: 12px 16px;
  border: 1px solid rgba(189, 239, 255, .42);
  border-radius: 18px;
  background: linear-gradient(135deg, #0b3769 0%, #0f559f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 24px rgba(1, 20, 44, .24);
  color: #ffffff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#lega-formazione-crea .fanta-formation-exit__link:hover,
.formazione-crea .fanta-formation-exit__link:hover {
  color: #ffffff;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 16px 30px rgba(1, 20, 44, .32);
}

#lega-formazione-crea .fanta-formation-exit__link:active,
.formazione-crea .fanta-formation-exit__link:active {
  transform: translateY(0);
}

#lega-formazione-crea .fanta-formation-exit__link.is-saving,
.formazione-crea .fanta-formation-exit__link.is-saving {
  pointer-events: none;
  filter: brightness(.92);
  transform: none;
}

#lega-formazione-crea .fanta-formation-exit__link:focus-visible,
.formazione-crea .fanta-formation-exit__link:focus-visible {
  outline: 3px solid #83e5ff;
  outline-offset: 3px;
}

#lega-formazione-crea .fanta-formation-exit__icon,
.formazione-crea .fanta-formation-exit__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(145, 239, 198, .42);
  border-radius: 13px;
  background: rgba(145, 239, 198, .14);
  color: #9bf3cd;
  font-size: 1.15rem;
}

#lega-formazione-crea .fanta-formation-exit__copy,
.formazione-crea .fanta-formation-exit__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

#lega-formazione-crea .fanta-formation-exit__copy strong,
.formazione-crea .fanta-formation-exit__copy strong {
  color: #ffffff;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
}

#lega-formazione-crea .fanta-formation-exit__arrow,
.formazione-crea .fanta-formation-exit__arrow {
  flex: 0 0 auto;
  color: #bcecff;
  font-size: 1.1rem;
}

#lega-formazione-crea .fanta-formation-exit__success,
.formazione-crea .fanta-formation-exit__success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(145, 239, 198, .42);
  border-radius: 13px;
  background: rgba(0, 62, 53, .7);
  color: #a5f1ce;
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
}

#lega-formazione-crea .fanta-formation-exit__success i,
.formazione-crea .fanta-formation-exit__success i { font-size: 1rem; }

#lega-formazione-crea .fanta-formation-exit__success[hidden],
.formazione-crea .fanta-formation-exit__success[hidden] { display: none; }

@media (max-width: 400px) {
  #lega-formazione-crea .fanta-formation-exit__link,
  .formazione-crea .fanta-formation-exit__link { min-height: 66px; gap: 10px; padding: 10px 12px; }
  #lega-formazione-crea .fanta-formation-exit__copy strong,
  .formazione-crea .fanta-formation-exit__copy strong { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  #lega-formazione-crea .fanta-formation-exit__link,
  .formazione-crea .fanta-formation-exit__link { transition: none; }
}


/*FINE LEGA FORMAZIONE CREA*/

/*LEGA-GLOBALE-GIORNATE/LEGA-GIORNATE */

.accordion-item {
  border-color: #000710;
}

.accordion-item{
  border: 1px solid #000710 !important;
}

.accordion-button{
  border-bottom: 1px solid #000710 !important;
}

button.accordion-button,
button.accordion-button.collapsed {
    background: #000711 !important;
    color: #ffffff !important;
}

.accordion-button::after{
  filter: invert(1);
}

.list {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  border: solid 1px #000710;
  background: #001B31;
  color: #ffffff;
}

.list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.squad-matchup {
    display: flex;
    width: 100%;
    padding: 0 0 15px;
    font-size: 1rem;
    max-width: 500px;
    justify-content: center;
}

.squad-matchup{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.squad-matchup strong:first-child {
    text-align: left;
    padding-right: 10px;
}

.squad-matchup strong:last-child{
  text-align: right;
  padding-left: 10px;
}

.squad-matchup .vs{
  text-align: center;
  font-weight: bold;
}

.date-text {
    font-size: 0.9rem;
}
/*FINE LEGA-GLOBALE-GIORNATE/LEGA-GIORNATE */

/*LEGA-DETTAGLIO-GIORNATA/ LEGA-DETTAGLIO-GIORNATA*/

.formation-day {
  text-align: center;
  text-transform: uppercase;
  padding: 20px 0;
  background-color: #005892;
}

.day-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
}

.player-info {
    display: flex;
    align-items: center;
}

.point {
  display: flex;                      
  justify-content: space-between;    
  padding-left: 0.5rem;             
  padding-right: 0.5rem;
  border-left: 1px solid rgba(108, 117, 125, 0.1);  
  border-right: 1px solid rgba(108, 117, 125, 0.1);  
  background-color: rgba(33, 37, 41, 0.1); 
  min-width: 40px;
  text-align: center;
}

.point-xs {
    display: none;
}

.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

span.badge.ms-2 {
    max-width: 107px;
    margin-top: 5px;
    background-color: #0063cb;
}

.espulsione {
    margin-top: 5px;
    padding: 11px 9px;
    border-radius: 2px;
    background-color: #ff0000;
}

.ammonizione {
    margin-top: 5px;
    padding: 11px 9px;
    border-radius: 2px;
    background-color: #ffe600;
}

.squad-sx {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-right: 15px;
}

.player-info-sx {
    display: flex;
    flex-direction: column;
    align-items: end;
}


/*FINE LEGA-DETTAGLIO-GIORNATA/ LEGA-DETTAGLIO-GIORNATA*/

/*LEGA-DETTAGLIO-GIORNATA-GLOBALE.PHP*/

#dettaglio-giornata-globale {
  background-color: #003354;
}

#dettaglio-giornata-globale .contenitore-pagina {
  overflow-x: clip;
}

#dettaglio-giornata-globale .fanta-matchday-page {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 14px 116px;
  color: #f7fbff;
}

#dettaglio-giornata-globale .fanta-matchday-hero {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(163, 222, 255, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(106, 219, 255, 0.35) 0, rgba(106, 219, 255, 0) 34%),
    radial-gradient(circle at 90% 100%, rgba(33, 126, 217, 0.38) 0, rgba(33, 126, 217, 0) 42%),
    linear-gradient(145deg, #07517a 0%, #043a60 52%, #012942 100%);
  box-shadow: 0 18px 42px rgba(0, 20, 37, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#dettaglio-giornata-globale .fanta-matchday-hero::after {
  position: absolute;
  top: -62px;
  right: -52px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(167, 231, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(167, 231, 255, 0.04), 0 0 0 56px rgba(167, 231, 255, 0.03);
  content: "";
  pointer-events: none;
}

#dettaglio-giornata-globale .fanta-matchday-hero__heading,
#dettaglio-giornata-globale .fanta-matchday-team,
#dettaglio-giornata-globale .fanta-matchday-hero__details {
  position: relative;
  z-index: 1;
}

#dettaglio-giornata-globale .fanta-matchday-hero__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

#dettaglio-giornata-globale .fanta-matchday-hero__eyebrow,
#dettaglio-giornata-globale .fanta-lineup-section__heading p {
  margin: 0 0 4px;
  color: #a9dff7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#dettaglio-giornata-globale .fanta-matchday-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

#dettaglio-giornata-globale .fanta-matchday-hero__round {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(189, 239, 255, 0.24);
  border-radius: 10px;
  background-color: rgba(0, 24, 42, 0.2);
  color: #d4f3ff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

#dettaglio-giornata-globale .fanta-matchday-hero__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 18px 0;
  color: #c5e8f7;
  font-size: 0.78rem;
}

#dettaglio-giornata-globale .fanta-matchday-hero__details span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#dettaglio-giornata-globale .fanta-matchday-hero__details i {
  color: #7ce1ff;
  font-size: 0.9rem;
}

#dettaglio-giornata-globale .fanta-matchday-team {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(203, 243, 255, 0.16);
  border-radius: 17px;
  background-color: rgba(0, 25, 44, 0.24);
  backdrop-filter: blur(8px);
}

#dettaglio-giornata-globale .fanta-matchday-team__jersey {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

#dettaglio-giornata-globale .fanta-matchday-team__jersey .maglia-utente {
  width: 60px;
  height: 68px;
  object-fit: contain;
}

#dettaglio-giornata-globale .fanta-matchday-team__identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

#dettaglio-giornata-globale .fanta-matchday-team__identity span,
#dettaglio-giornata-globale .fanta-matchday-team__identity small,
#dettaglio-giornata-globale .fanta-matchday-score span,
#dettaglio-giornata-globale .fanta-matchday-score small {
  color: #b4d9e9;
  font-size: 0.68rem;
  line-height: 1.2;
}

#dettaglio-giornata-globale .fanta-matchday-team__identity strong {
  overflow: hidden;
  margin: 3px 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#dettaglio-giornata-globale .fanta-matchday-score {
  display: flex;
  min-height: 64px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-left: 10px;
  border-left: 1px solid rgba(203, 243, 255, 0.18);
  text-align: right;
}

#dettaglio-giornata-globale .fanta-matchday-score strong {
  margin: 2px 0;
  color: #ffffff;
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1;
}

#dettaglio-giornata-globale .fanta-lineup-section {
  margin-top: 26px;
  padding: 16px;
  border: 1px solid rgba(202, 239, 249, 0.76);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(223, 244, 250, 0.96)),
    #e5f6fb;
  box-shadow: 0 16px 32px rgba(0, 23, 40, 0.2), inset 0 1px 0 #ffffff;
}

#dettaglio-giornata-globale .fanta-lineup-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 14px;
}

#dettaglio-giornata-globale .fanta-lineup-section__heading h2 {
  margin: 0;
  color: #003354;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#dettaglio-giornata-globale .fanta-lineup-section__heading p {
  color: #29637a;
}

#dettaglio-giornata-globale .fanta-lineup-section__module {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(0, 72, 111, 0.16);
  border-radius: 999px;
  background-color: #004b72;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
}

#dettaglio-giornata-globale .fanta-lineup-list {
  overflow: hidden;
  border: 1px solid #b9e1ed;
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 55, 82, 0.1);
}

#dettaglio-giornata-globale .fanta-lineup-bench-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid #addce9;
  border-bottom: 1px solid #addce9;
  background: linear-gradient(90deg, #d9f2f8, #edfaff);
}

#dettaglio-giornata-globale .fanta-lineup-bench-divider span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #004b72;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#dettaglio-giornata-globale .fanta-lineup-bench-divider span i {
  color: #007da9;
  font-size: 0.96rem;
}

#dettaglio-giornata-globale .fanta-lineup-bench-divider small {
  color: #3f7184;
  font-size: 0.7rem;
  font-weight: 600;
}

#dettaglio-giornata-globale .fanta-lineup-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  min-height: 72px;
  border-bottom: 1px solid #d9edf3;
  background-color: #ffffff;
}

#dettaglio-giornata-globale .fanta-lineup-player:nth-child(even) {
  background-color: #f4fbfd;
}

#dettaglio-giornata-globale .fanta-lineup-player:last-child {
  border-bottom: 0;
}

#dettaglio-giornata-globale .fanta-lineup-player.is-not-counted {
  opacity: 0.56;
}

#dettaglio-giornata-globale .fanta-lineup-player__details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
}

#dettaglio-giornata-globale .fanta-lineup-player__profile {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #003354;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

#dettaglio-giornata-globale .fanta-lineup-player__profile:focus-visible {
  border-radius: 8px;
  outline: 2px solid #006d9c;
  outline-offset: 3px;
}

#dettaglio-giornata-globale .role-badge {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background-color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

#dettaglio-giornata-globale .role-a {
  color: #16864d;
}

#dettaglio-giornata-globale .role-c {
  color: #a87800;
}

#dettaglio-giornata-globale .role-d {
  color: #006fa8;
}

#dettaglio-giornata-globale .role-p {
  color: #9b3abc;
}

#dettaglio-giornata-globale .fanta-lineup-player__name {
  overflow: hidden;
  color: #003354;
  font-size: 0.96rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#dettaglio-giornata-globale .fanta-lineup-player__profile .bi-chevron-right {
  margin-left: auto;
  color: #4d7d91;
  font-size: 0.75rem;
}

#dettaglio-giornata-globale .fanta-lineup-player__events {
  display: flex;
  min-height: 18px;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 5px 0 0 40px;
}

#dettaglio-giornata-globale .fanta-lineup-player__event {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

#dettaglio-giornata-globale .fanta-lineup-player__event img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

#dettaglio-giornata-globale .fanta-lineup-player__event .espulsione,
#dettaglio-giornata-globale .fanta-lineup-player__event .ammonizione {
  width: 10px;
  height: 15px;
  margin: 0;
  padding: 0;
  border-radius: 2px;
}

#dettaglio-giornata-globale .fanta-lineup-player__empty {
  color: #537486;
  font-size: 0.86rem;
}

#dettaglio-giornata-globale .fanta-lineup-empty {
  margin: 0;
  padding: 28px 18px;
  color: #537486;
  font-size: 0.92rem;
  text-align: center;
}

#dettaglio-giornata-globale .fanta-lineup-player__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #c5e5ee;
  background: linear-gradient(180deg, #e9f8fc, #d8f0f7);
}

#dettaglio-giornata-globale .fanta-lineup-player__score span {
  color: #377088;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

#dettaglio-giornata-globale .fanta-lineup-player__score strong {
  margin-top: 3px;
  color: #003354;
  font-size: 1.08rem;
  font-weight: 800;
}

#dettaglio-giornata-globale .fanta-matchday-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(123, 220, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(105deg, rgba(5, 86, 125, 0.85), rgba(5, 57, 91, 0.92));
  box-shadow: 0 10px 22px rgba(0, 20, 36, 0.2);
}

#dettaglio-giornata-globale .fanta-matchday-total div {
  display: flex;
  flex-direction: column;
}

#dettaglio-giornata-globale .fanta-matchday-total span {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

#dettaglio-giornata-globale .fanta-matchday-total small {
  margin-top: 2px;
  color: #b5dceb;
  font-size: 0.72rem;
}

#dettaglio-giornata-globale .fanta-matchday-total > strong {
  color: #8eeaff;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

#dettaglio-giornata-globale .fanta-matchday-total > strong small {
  margin-left: 4px;
  color: #b5dceb;
  font-size: 0.72rem;
}

#dettaglio-giornata-globale .fanta-matchday-regolamento {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(158, 218, 241, 0.22);
  border-radius: 17px;
  background: linear-gradient(105deg, rgba(3, 71, 108, 0.92), rgba(3, 51, 82, 0.96));
  box-shadow: 0 10px 22px rgba(0, 20, 36, 0.2);
  color: #ffffff;
  text-decoration: none;
}

#dettaglio-giornata-globale .fanta-matchday-regolamento:hover {
  color: #ffffff;
}

#dettaglio-giornata-globale .fanta-matchday-regolamento:focus-visible {
  border-radius: 17px;
  outline: 2px solid #83e5ff;
  outline-offset: 3px;
}

#dettaglio-giornata-globale .fanta-matchday-regolamento__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: rgba(126, 222, 255, 0.16);
  color: #84e4ff;
  font-size: 1.15rem;
}

#dettaglio-giornata-globale .fanta-matchday-regolamento__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

#dettaglio-giornata-globale .fanta-matchday-regolamento__copy small {
  overflow: hidden;
  color: #b5dceb;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#dettaglio-giornata-globale .fanta-matchday-regolamento__copy strong {
  margin-top: 2px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

#dettaglio-giornata-globale .fanta-matchday-regolamento > .bi-arrow-right {
  flex: 0 0 auto;
  color: #88e6ff;
  font-size: 1.1rem;
}

@media screen and (max-width: 400px) {
  #dettaglio-giornata-globale .fanta-matchday-page {
    padding-right: 10px;
    padding-left: 10px;
  }

  #dettaglio-giornata-globale .fanta-matchday-hero {
    padding: 16px;
  }

  #dettaglio-giornata-globale .fanta-matchday-team {
    grid-template-columns: 60px minmax(0, 1fr) 62px;
    gap: 9px;
    padding: 10px;
  }

  #dettaglio-giornata-globale .fanta-matchday-team__jersey .maglia-utente {
    width: 52px;
    height: 60px;
  }

  #dettaglio-giornata-globale .fanta-matchday-score strong {
    font-size: 1.45rem;
  }
}

/*FINE LEGA-DETTAGLIO-GIORNATA-GLOBALE.PHP*/

/*login*/

a.privacy-alert {
  /*color: #ffffff;*/
  color: #f0cd35;
  text-decoration: underline;
}

a.privacy-alert:hover {
    color: #b89d28;
}


/*fine login*/

/* FANTA LOGIN */
#fanta-login {
  background: #003354 !important;
  color: #f7fbff;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

#fanta-login .fanta-login__main,
#fanta-login .fanta-login__content,
#fanta-login .fanta-login__scene,
#fanta-login .fanta-login__card,
#fanta-login .fanta-login__face {
  box-sizing: border-box;
}

#fanta-login .contenitore-pagina {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 12%, rgba(44, 154, 211, 0.26), transparent 27rem),
    radial-gradient(circle at 90% 66%, rgba(0, 166, 139, 0.2), transparent 25rem),
    #003354;
}

#fanta-login .header {
  background: transparent;
}

#fanta-login .header::after {
  content: "";
  display: block;
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

#fanta-login .fanta-login__main {
  display: flex;
  flex: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 58px;
  overflow-x: hidden;
}

#fanta-login .fanta-login__content {
  width: 100%;
  max-width: 430px;
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
}

#fanta-login .fanta-login__content > .alert {
  margin: 0 0 18px;
  border: 0;
  border-radius: 16px;
  font-size: 13px !important;
}

#fanta-login .fanta-login__ajax-error:empty {
  display: none;
}

#fanta-login .fanta-login__ajax-error {
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 184, 184, 0.45);
  border-radius: 16px;
  background: rgba(128, 24, 33, 0.42);
  color: #ffe7e7;
  font-size: 13px !important;
}

#fanta-login .fanta-login__scene {
  width: 100%;
  max-width: 100%;
  min-height: 412px;
  perspective: 1400px;
}

#fanta-login .fanta-login__scene--dettaglio {
  min-height: 475px;
}

#fanta-login .fanta-login__scene--registrazione {
  min-height: 1120px;
}

#fanta-login .fanta-login__card {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.2, 0.78, 0.22, 1);
}

#fanta-login .fanta-login__card.is-back {
  transform: rotateY(180deg);
}

#fanta-login .fanta-login__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 34px 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06)),
    rgba(2, 44, 72, 0.92);
  box-shadow: 0 28px 66px rgba(0, 16, 29, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.17);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#fanta-login .fanta-login__face::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -60px;
  width: 230px;
  height: 230px;
  border: 40px solid rgba(83, 204, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

#fanta-login .fanta-login__face--back {
  transform: rotateY(180deg);
}

#fanta-login .fanta-login__face--registration {
  overflow: visible;
  padding-bottom: 24px;
}

#fanta-login .fanta-login__face--closed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

#fanta-login .fanta-login__eyebrow {
  position: relative;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 14px;
  color: #8ce4ff;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

#fanta-login .fanta-login__eyebrow i {
  color: #f6d55c;
  font-size: 14px;
}

#fanta-login .fanta-login__face h1 {
  position: relative;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 32px !important;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

#fanta-login .fanta-login__intro {
  position: relative;
  max-width: 310px;
  margin: 0 0 27px;
  color: rgba(237, 248, 255, 0.78);
  font-size: 14px !important;
  line-height: 1.55;
}

#fanta-login .fanta-login__label {
  display: block;
  margin: 0 0 8px;
  color: #e9f7ff;
  font-size: 12px !important;
  font-weight: 600;
}

#fanta-login .fanta-login__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 17px;
}

#fanta-login .fanta-login__input-wrap > i {
  position: absolute;
  z-index: 1;
  left: 15px;
  color: #82d7f7;
  font-size: 17px;
  pointer-events: none;
}

#fanta-login .fanta-login__input-wrap input {
  width: 100%;
  height: 56px;
  padding: 0 15px 0 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  outline: none;
  background: rgba(0, 28, 47, 0.6);
  color: #ffffff;
  font-size: 16px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#fanta-login .fanta-login__input-wrap input::placeholder {
  color: rgba(224, 244, 255, 0.48);
  font-size: 16px;
}

/* Rimuove il pulsante nativo per i contatti sugli input email mobile */
#fanta-login .fanta-login__input-wrap input[type="email"]::-webkit-contacts-auto-fill-button,
#fanta-login .fanta-login__input-wrap input[type="email"]::-webkit-credentials-auto-fill-button {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

/* Evita l'icona nativa aggiunta da Safari nel primo campo email di registrazione */
#fanta-login .fanta-login__face--registration #email_utente {
  -webkit-appearance: none;
  appearance: none;
  background-image: none !important;
}

#fanta-login .fanta-login__input-wrap input:focus {
  border-color: #63d6ff;
  background: rgba(0, 35, 58, 0.88);
  box-shadow: 0 0 0 4px rgba(99, 214, 255, 0.15);
}

#fanta-login .fanta-login__button {
  position: relative;
  display: flex;
  width: 100%;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 4px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #70ddff, #2ba7da);
  color: #002c48;
  font-size: 16px !important;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(0, 139, 191, 0.23);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#fanta-login .fanta-login__button:hover,
#fanta-login .fanta-login__button:focus {
  color: #002c48;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 139, 191, 0.32);
}

#fanta-login .fanta-login__button.is-loading {
  cursor: wait;
  opacity: 0.7;
}

#fanta-login .fanta-login__button i {
  font-size: 17px;
  transition: transform 0.2s ease;
}

#fanta-login .fanta-login__button:hover i {
  transform: translateX(3px);
}

#fanta-login .fanta-login__footnote {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin: 23px 0 0;
  color: rgba(223, 245, 255, 0.56);
  font-size: 11px !important;
}

#fanta-login .fanta-login__footnote i {
  color: #8fe1c7;
  font-size: 13px;
}

#fanta-login .fanta-login__back {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: -5px 0 21px -7px;
  padding: 6px 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9fdef4;
  font-size: 12px !important;
  font-weight: 600;
}

#fanta-login .fanta-login__back:hover,
#fanta-login .fanta-login__back:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

#fanta-login .fanta-login__email {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -3px 0 24px;
  color: #9fe1f7;
  font-size: 13px !important;
  overflow-wrap: anywhere;
}

#fanta-login .fanta-login__email i {
  color: #f6d55c;
}

#fanta-login .fanta-login__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 1px 0 18px;
  color: rgba(239, 249, 255, 0.83);
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.42;
  cursor: pointer;
}

#fanta-login .fanta-login__check input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: #6ad8fd;
}

#fanta-login .fanta-login__secondary-link {
  display: block;
  margin-top: 20px;
  color: #b0e8fb;
  font-size: 12px !important;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: rgba(176, 232, 251, 0.45);
  text-underline-offset: 3px;
}

#fanta-login .fanta-login__secondary-link:hover {
  color: #ffffff;
}

#fanta-login .fanta-login__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}

#fanta-login .fanta-login__field--wide {
  grid-column: 1 / -1;
}

#fanta-login .fanta-login__face--registration .fanta-login__back {
  margin-bottom: 15px;
}

#fanta-login .fanta-login__face--registration .fanta-login__eyebrow {
  margin-bottom: 9px;
}

#fanta-login .fanta-login__face--registration h1 {
  font-size: 26px !important;
}

#fanta-login .fanta-login__face--registration .fanta-login__intro {
  margin-bottom: 20px;
}

#fanta-login .fanta-login__face--closed .fanta-login__back {
  margin-bottom: 20px;
}

#fanta-login .fanta-login__closed-icon {
  position: relative;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  border: 1px solid rgba(246, 213, 92, 0.45);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(246, 213, 92, 0.2), rgba(246, 213, 92, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 247, 202, 0.2);
  color: #f6d55c;
}

#fanta-login .fanta-login__closed-icon i {
  font-size: 24px;
}

#fanta-login .fanta-login__face--closed .fanta-login__eyebrow {
  margin-bottom: 10px;
}

#fanta-login .fanta-login__face--closed .fanta-login__intro {
  margin-bottom: 20px;
}

#fanta-login .fanta-login__closed-note {
  position: relative;
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(140, 228, 255, 0.18);
  border-radius: 15px;
  background: rgba(0, 28, 47, 0.35);
  color: rgba(231, 247, 255, 0.78);
  font-size: 12px !important;
  line-height: 1.45;
}

#fanta-login .fanta-login__closed-note i {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #8ce4ff;
  font-size: 15px;
}

#fanta-login .fanta-login__face--registration .fanta-login__input-wrap {
  margin-bottom: 13px;
}

#fanta-login .fanta-login__face--registration .fanta-login__input-wrap input {
  height: 54px;
}

#fanta-login .fanta-login__section-title {
  margin: 8px 0 14px;
  padding-top: 17px;
  border-top: 1px solid rgba(181, 228, 247, 0.2);
  color: #8ce4ff;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#fanta-login .fanta-login__face--registration .fanta-login__input-wrap input.is-valid {
  border-color: #59d5a9;
  box-shadow: 0 0 0 3px rgba(89, 213, 169, 0.12);
}

#fanta-login .fanta-login__face--registration .fanta-login__input-wrap input.is-invalid {
  border-color: #ff9ca3;
  box-shadow: 0 0 0 3px rgba(255, 109, 120, 0.12);
}

#fanta-login .fanta-login__face--registration .fanta-login__input-wrap input.is-checking {
  border-color: #8ce4ff;
}

#fanta-login .fanta-login__field-feedback {
  display: flex;
  min-height: 16px;
  align-items: center;
  gap: 5px;
  margin: -8px 0 10px;
  font-size: 10px !important;
  font-weight: 600;
  line-height: 1.3;
}

#fanta-login .fanta-login__field-feedback:empty {
  display: none;
}

#fanta-login .fanta-login__field-feedback.is-valid {
  color: #79e6bd;
}

#fanta-login .fanta-login__field-feedback.is-invalid {
  color: #ffb5ba;
}

#fanta-login .fanta-login__field-feedback i {
  flex: 0 0 auto;
  font-size: 12px;
}

#fanta-login .fanta-login__password-note,
#fanta-login .fanta-login__required {
  margin: 1px 0 15px;
  color: rgba(214, 239, 250, 0.62);
  font-size: 10px !important;
  line-height: 1.45;
}

#fanta-login .fanta-login__required {
  margin: -5px 0 14px;
}

#fanta-login a.privacy-alert {
  color: #9ee4fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#fanta-login a.privacy-alert:hover {
  color: #ffffff;
}

#fanta-login #footer {
  position: relative;
  background: transparent;
}

#fanta-login #footer .footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 30, 50, 0.26);
}

#fanta-login #footer,
#fanta-login #footer a {
  color: rgba(235, 248, 255, 0.78);
}

@media screen and (max-width: 480px) {
  #fanta-login .fanta-login__main {
    align-items: flex-start;
    padding: 18px 12px 42px;
  }

  #fanta-login .fanta-login__scene {
    min-height: 399px;
  }

  #fanta-login .fanta-login__scene--dettaglio {
    min-height: 458px;
  }

  #fanta-login .fanta-login__scene--registrazione {
    min-height: 1740px;
  }

  #fanta-login .fanta-login__face {
    padding: 29px 20px 24px;
    border-radius: 23px;
  }

  #fanta-login .fanta-login__face h1 {
    font-size: 29px !important;
  }

  #fanta-login .fanta-login__face--registration h1 {
    font-size: 25px !important;
  }

  #fanta-login .fanta-login__form-grid {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  #fanta-login .fanta-login__card,
  #fanta-login .fanta-login__button,
  #fanta-login .fanta-login__button i {
    transition: none;
  }
}

/* FINE FANTA LOGIN */

/* RECUPERO PASSWORD */
#fanta-recupera {
  background: #003354 !important;
  color: #f7fbff;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

#fanta-recupera .contenitore-pagina {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 12%, rgba(44, 154, 211, 0.26), transparent 27rem),
    radial-gradient(circle at 90% 66%, rgba(0, 166, 139, 0.2), transparent 25rem),
    #003354;
}

#fanta-recupera .header {
  background: transparent;
}

#fanta-recupera .header::after {
  content: "";
  display: block;
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

#fanta-recupera .fanta-recupera__main {
  display: flex;
  flex: 1;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 28px 18px 58px;
}

#fanta-recupera .fanta-recupera__content {
  width: 100%;
  max-width: 430px;
  min-width: 0;
  padding: 0;
}

#fanta-recupera .fanta-recupera__riga {
  margin: 0;
}

#fanta-recupera .fanta-recupera__card {
  position: relative;
  float: none;
  width: 100%;
  overflow: hidden;
  padding: 34px 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06)),
    rgba(2, 44, 72, 0.92);
  box-shadow: 0 28px 66px rgba(0, 16, 29, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.17);
}

#fanta-recupera .fanta-recupera__card::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -60px;
  width: 230px;
  height: 230px;
  border: 40px solid rgba(83, 204, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

#fanta-recupera .fanta-recupera__card > * {
  position: relative;
}

#fanta-recupera .fanta-recupera__eyebrow {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 14px;
  color: #8ce4ff;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

#fanta-recupera .fanta-recupera__eyebrow i {
  color: #f6d55c;
  font-size: 14px;
}

#fanta-recupera .fanta-recupera__card h1 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 32px !important;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

#fanta-recupera .fanta-recupera__intro {
  max-width: 330px;
  margin: 0 0 27px;
  color: rgba(237, 248, 255, 0.78);
  font-size: 14px !important;
  line-height: 1.55;
}

#fanta-recupera .fanta-recupera__card .alert {
  margin: 0 0 18px;
  border: 0;
  border-radius: 16px;
  font-size: 13px !important;
}

#fanta-recupera .fanta-recupera__label {
  display: block;
  margin: 0 0 8px;
  color: #e9f7ff;
  font-size: 12px !important;
  font-weight: 600;
}

#fanta-recupera .fanta-recupera__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

#fanta-recupera .fanta-recupera__input-wrap > i {
  position: absolute;
  z-index: 1;
  left: 15px;
  color: #82d7f7;
  font-size: 17px;
  pointer-events: none;
}

#fanta-recupera .fanta-recupera__input-wrap input {
  width: 100%;
  height: 56px;
  padding: 0 15px 0 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  outline: none;
  background: rgba(0, 28, 47, 0.6);
  color: #ffffff;
  font-size: 16px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#fanta-recupera .fanta-recupera__input-wrap input::placeholder {
  color: rgba(224, 244, 255, 0.48);
  font-size: 16px;
}

#fanta-recupera .fanta-recupera__input-wrap input:focus {
  border-color: #63d6ff;
  background: rgba(0, 35, 58, 0.88);
  box-shadow: 0 0 0 4px rgba(99, 214, 255, 0.15);
}

#fanta-recupera .fanta-recupera__button {
  display: flex;
  width: 100%;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 4px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #70ddff, #2ba7da);
  color: #002c48;
  font-size: 16px !important;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(0, 139, 191, 0.23);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#fanta-recupera .fanta-recupera__button:hover,
#fanta-recupera .fanta-recupera__button:focus {
  color: #002c48;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 139, 191, 0.32);
}

#fanta-recupera .fanta-recupera__button i {
  font-size: 17px;
  transition: transform 0.2s ease;
}

#fanta-recupera .fanta-recupera__button:hover i {
  transform: translateX(3px);
}

#fanta-recupera .fanta-recupera__secondary-link {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin-top: 21px;
  color: #b0e8fb;
  font-size: 12px !important;
  text-decoration: underline;
  text-decoration-color: rgba(176, 232, 251, 0.45);
  text-underline-offset: 3px;
}

#fanta-recupera .fanta-recupera__secondary-link:hover,
#fanta-recupera .fanta-recupera__secondary-link:focus {
  color: #ffffff;
}

#fanta-recupera #footer {
  position: relative;
  background: transparent;
}

#fanta-recupera #footer .footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 30, 50, 0.26);
}

#fanta-recupera #footer,
#fanta-recupera #footer a {
  color: rgba(235, 248, 255, 0.78);
}

@media screen and (max-width: 480px) {
  #fanta-recupera .fanta-recupera__main {
    align-items: flex-start;
    padding: 18px 12px 42px;
  }

  #fanta-recupera .fanta-recupera__card {
    padding: 29px 20px 24px;
    border-radius: 23px;
  }

  #fanta-recupera .fanta-recupera__card h1 {
    font-size: 29px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #fanta-recupera .fanta-recupera__input-wrap input,
  #fanta-recupera .fanta-recupera__button,
  #fanta-recupera .fanta-recupera__button i {
    transition: none;
  }
}

/* FINE RECUPERO PASSWORD */

/* PAGINA MESSAGGI */
#fanta-messaggi {
  background: #003354 !important;
  color: #f7fbff;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

#fanta-messaggi .contenitore-pagina {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 12%, rgba(44, 154, 211, 0.26), transparent 27rem),
    radial-gradient(circle at 90% 66%, rgba(0, 166, 139, 0.2), transparent 25rem),
    #003354;
}

#fanta-messaggi .header {
  background: transparent;
}

#fanta-messaggi .header::after {
  content: "";
  display: block;
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

#fanta-messaggi .fanta-messaggi__main {
  display: flex;
  flex: 1;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 58px;
}

#fanta-messaggi .fanta-messaggi__content {
  width: 100%;
  max-width: 430px;
  min-width: 0;
}

#fanta-messaggi .fanta-messaggi__card {
  position: relative;
  overflow: hidden;
  padding: 34px 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06)),
    rgba(2, 44, 72, 0.92);
  box-shadow: 0 28px 66px rgba(0, 16, 29, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.17);
}

#fanta-messaggi .fanta-messaggi__card::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -60px;
  width: 230px;
  height: 230px;
  border: 40px solid rgba(83, 204, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

#fanta-messaggi .fanta-messaggi__card > * {
  position: relative;
}

#fanta-messaggi .fanta-messaggi__eyebrow {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 14px;
  color: #8ce4ff;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

#fanta-messaggi .fanta-messaggi__eyebrow i {
  color: #f6d55c;
  font-size: 14px;
}

#fanta-messaggi .fanta-messaggi__card h1 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 32px !important;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

#fanta-messaggi .fanta-messaggi__avvisi .alert {
  margin: 0 0 14px;
  padding: 16px 17px;
  border-radius: 16px;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.55;
}

#fanta-messaggi .fanta-messaggi__avvisi .alert-success {
  border: 1px solid rgba(121, 230, 189, 0.42);
  background: rgba(32, 130, 100, 0.32);
  color: #e5fff3;
}

#fanta-messaggi .fanta-messaggi__avvisi .alert-danger {
  border: 1px solid rgba(255, 166, 173, 0.45);
  background: rgba(128, 24, 33, 0.42);
  color: #ffe7e7;
}

#fanta-messaggi .fanta-messaggi__avvisi .alert a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

#fanta-messaggi .fanta-messaggi__button {
  display: flex;
  width: 100%;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 8px;
  border-radius: 15px;
  background: linear-gradient(135deg, #70ddff, #2ba7da);
  color: #002c48;
  font-size: 16px !important;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(0, 139, 191, 0.23);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#fanta-messaggi .fanta-messaggi__button:hover,
#fanta-messaggi .fanta-messaggi__button:focus {
  color: #002c48;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 139, 191, 0.32);
}

#fanta-messaggi .fanta-messaggi__button i {
  font-size: 17px;
}

#fanta-messaggi #footer {
  position: relative;
  background: transparent;
}

#fanta-messaggi #footer .footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 30, 50, 0.26);
}

#fanta-messaggi #footer,
#fanta-messaggi #footer a {
  color: rgba(235, 248, 255, 0.78);
}

@media screen and (max-width: 480px) {
  #fanta-messaggi .fanta-messaggi__main {
    align-items: flex-start;
    padding: 18px 12px 42px;
  }

  #fanta-messaggi .fanta-messaggi__card {
    padding: 29px 20px 24px;
    border-radius: 23px;
  }

  #fanta-messaggi .fanta-messaggi__card h1 {
    font-size: 29px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #fanta-messaggi .fanta-messaggi__button {
    transition: none;
  }
}

/* FINE PAGINA MESSAGGI */

/* PAGINE PRIVACY E COOKIE */
body.privacy-legale {
  background: #003354 !important;
  color: #20374b;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.privacy-legale .contenitore-pagina {
  display: flex;
  flex-direction: column;
  width: 760px;
  max-width: 100%;
  background:
    radial-gradient(circle at 8% 10%, rgba(44, 154, 211, 0.24), transparent 26rem),
    radial-gradient(circle at 92% 70%, rgba(0, 166, 139, 0.18), transparent 24rem),
    #003354;
}

.privacy-legale .header {
  background: transparent;
}

.privacy-legale .header::after {
  content: "";
  display: block;
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.privacy-legale__main {
  display: flex;
  flex: 1;
  width: 100%;
  min-width: 0;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 20px 58px;
}

.privacy-legale__content {
  width: 100%;
  min-width: 0;
}

.privacy-legale__card {
  position: relative;
  overflow: hidden;
  padding: 40px 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  background: rgba(252, 254, 255, 0.96);
  box-shadow: 0 24px 60px rgba(0, 16, 29, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.privacy-legale__card::before {
  content: "";
  position: absolute;
  top: -145px;
  right: -90px;
  width: 270px;
  height: 270px;
  border: 46px solid rgba(91, 201, 236, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.privacy-legale__card > * {
  position: relative;
}

.privacy-legale__eyebrow {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 13px;
  color: #187aa6;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.privacy-legale__eyebrow i {
  color: #d1a928;
  font-size: 14px;
}

.privacy-legale__card h1 {
  margin: 0 0 28px;
  color: #003354;
  font-size: 32px !important;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.privacy-legale__titolo-riga {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.privacy-legale__titolo-riga h1 {
  margin-bottom: 28px;
}

.privacy-legale__versione {
  flex: 0 0 auto;
  margin-top: 3px;
}

.privacy-legale__versione a {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid #bed9e5;
  border-radius: 8px;
  color: #116990;
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.3;
}

.privacy-legale__versione a:hover,
.privacy-legale__versione a:focus {
  border-color: #61bfe2;
  background: #edf9fd;
  color: #003354;
}

.privacy-legale .privacy-legale__testo,
.privacy-legale .privacy-legale__introduzione {
  color: #31485b;
  font-size: 14px !important;
  line-height: 1.7;
}

.privacy-legale .privacy-legale__testo {
  overflow-x: auto;
}

.privacy-legale .privacy-legale__testo h2,
.privacy-legale .privacy-legale__testo h3,
.privacy-legale .privacy-legale__sezione-cookie h2 {
  margin: 30px 0 12px;
  color: #003354;
  font-weight: 700;
  line-height: 1.25;
}

.privacy-legale .privacy-legale__testo h2,
.privacy-legale .privacy-legale__sezione-cookie h2 {
  font-size: 21px !important;
}

.privacy-legale .privacy-legale__testo h3 {
  font-size: 17px !important;
}

.privacy-legale .privacy-legale__testo p,
.privacy-legale .privacy-legale__introduzione p {
  margin: 0 0 16px;
}

.privacy-legale .privacy-legale__testo ul,
.privacy-legale .privacy-legale__testo ol {
  margin: 0 0 18px;
  padding-left: 23px;
}

.privacy-legale .privacy-legale__testo li {
  margin-bottom: 7px;
}

.privacy-legale .privacy-legale__testo a,
.privacy-legale .privacy-legale__introduzione a {
  color: #0876ad;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(8, 118, 173, 0.35);
  text-underline-offset: 2px;
}

.privacy-legale .privacy-legale__testo table {
  width: 100%;
  min-width: 600px;
  margin: 22px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d9e5ec;
  border-radius: 10px;
  color: #31485b;
  font-size: 12px !important;
  line-height: 1.45;
  overflow: hidden;
}

.privacy-legale .privacy-legale__testo th,
.privacy-legale .privacy-legale__testo td {
  padding: 11px 12px;
  border-right: 1px solid #e1ebf0;
  border-bottom: 1px solid #e1ebf0;
  vertical-align: top;
}

.privacy-legale .privacy-legale__testo th {
  background: #eaf6fb;
  color: #003354;
  font-size: 11px !important;
  font-weight: 700;
}

.privacy-legale .privacy-legale__testo tr:nth-child(even) td {
  background: #f8fbfd;
}

.privacy-legale .privacy-legale__testo tr:last-child td {
  border-bottom: 0;
}

.privacy-legale .privacy-legale__testo th:last-child,
.privacy-legale .privacy-legale__testo td:last-child {
  border-right: 0;
}

.privacy-legale__contatti-default {
  margin-top: 27px;
  padding: 18px 20px;
  border-left: 4px solid #5abfe1;
  border-radius: 0 10px 10px 0;
  background: #eef8fc;
}

.privacy-legale__contatti-default strong {
  color: #003354;
  font-size: 12px !important;
  letter-spacing: 0.08em;
}

.privacy-legale__contatti-default p {
  margin-bottom: 0;
}

.privacy-legale__box-contatti {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #dbe7ed;
}

.privacy-legale__box-contatti .box_contatti {
  margin: 0;
  padding: 20px;
  border: 1px solid #d9e6ed;
  border-radius: 12px;
  background: #f6fafc;
  box-shadow: none;
}

.privacy-legale__azioni {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 28px;
}

.privacy-legale__pulsante {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(135deg, #3bbde8, #1688bd);
  color: #002c48;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 139, 191, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.privacy-legale__pulsante:hover,
.privacy-legale__pulsante:focus {
  color: #002c48;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 25px rgba(0, 139, 191, 0.25);
}

.privacy-legale .privacy-legale__introduzione {
  margin-bottom: 23px;
}

.privacy-legale__card .alert {
  margin: 0 0 18px;
  padding: 15px 17px;
  border-radius: 12px;
  font-size: 13px !important;
  line-height: 1.5;
}

.privacy-legale__card .alert-success {
  border: 1px solid #a8dec8;
  background: #eefaf4;
  color: #1c664c;
}

.privacy-legale__card .alert-danger {
  border: 1px solid #efbec3;
  background: #fff2f3;
  color: #8d2733;
}

.privacy-legale .privacy-legale__sezione-cookie {
  margin-top: 16px;
  padding: 21px 22px;
  border: 1px solid #dbe7ed;
  border-radius: 12px;
  background: #f7fbfd;
}

.privacy-legale .privacy-legale__sezione-cookie h2 {
  margin-top: 0;
}

.privacy-legale .privacy-legale__sezione-cookie .descrizione {
  margin-bottom: 16px;
  color: #425b6c;
  font-size: 13px !important;
  line-height: 1.6;
}

.privacy-legale .privacy-legale__sezione-cookie .help-block {
  margin-bottom: 12px;
  color: #647b8c;
  font-size: 12px !important;
  font-style: italic;
}

.privacy-legale .privacy-legale__sezione-cookie .radio {
  display: inline-block;
  margin: 0 18px 0 0;
}

.privacy-legale .privacy-legale__sezione-cookie .radio label {
  color: #173c54;
  font-size: 13px !important;
  font-weight: 600;
}

.privacy-legale .privacy-legale__sezione-cookie .radio input {
  accent-color: #1688bd;
}

.privacy-legale__azioni-cookie {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.privacy-legale__azioni-cookie .privacy-legale__pulsante {
  width: 100%;
}

.privacy-legale__pulsante--secondario {
  border-color: #e2b7bd;
  background: #fff5f5;
  color: #9e3946;
  box-shadow: none;
}

.privacy-legale__pulsante--secondario:hover,
.privacy-legale__pulsante--secondario:focus {
  color: #7e2530;
  background: #ffe8ea;
  box-shadow: none;
}

.privacy-legale__pulsante--neutro {
  border-color: #bed9e5;
  background: #edf8fc;
  color: #12698e;
  box-shadow: none;
}

.privacy-legale__pulsante--neutro:hover,
.privacy-legale__pulsante--neutro:focus {
  color: #003354;
  background: #dcf2fa;
  box-shadow: none;
}

.privacy-legale #footer {
  position: relative;
  background: transparent;
}

.privacy-legale #footer .footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 30, 50, 0.26);
}

.privacy-legale #footer,
.privacy-legale #footer a {
  color: rgba(235, 248, 255, 0.78);
}

@media screen and (max-width: 600px) {
  .privacy-legale__main {
    padding: 20px 12px 42px;
  }

  .privacy-legale__card {
    padding: 28px 20px 24px;
    border-radius: 18px;
  }

  .privacy-legale__card h1 {
    font-size: 28px !important;
  }

  .privacy-legale__titolo-riga {
    display: block;
  }

  .privacy-legale__versione {
    margin: -13px 0 22px;
  }

  .privacy-legale .privacy-legale__testo table {
    min-width: 520px;
  }

  .privacy-legale__azioni-cookie {
    grid-template-columns: 1fr;
  }

  .privacy-legale__azioni-cookie .privacy-legale__pulsante {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-legale__pulsante {
    transition: none;
  }
}

/* FINE PAGINE PRIVACY E COOKIE */

/*------------------------------------------------------------*/



/*QUERY*/

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

  #logo {
    max-height: 60px;
  }

  .header .navbar-toggler {
    top: -68px;
  }
  
  /*benvenuto.php*/

  .text-wrapper h1 {
    font-size: 1.8rem;
    margin-right: 28px;
  }

  .welcome-text p {
    font-size: 1.1rem;
  }

  .welcome-section img {
    right: 34%;
    width: 175px;
  }

  /*fine benvenuto.php*/

  /*lega-crea.php*/

  .benvenuto-crea .text-wrapper h1,
  .benvenuto-crea .welcome-text p  {
    margin-right: 0;
  }

  .benvenuto-crea .text-wrapper h1 {
    line-height: 30px;
  }

  .benvenuto-crea .text-wrapper p {
    padding: 0 42px;
  }

  .benvenuto-crea .welcome-section img {
    right: 34%;
    width: 180px;
  }

  .benvenuto-crea .form-control {
    width: 100%;
  }

  /*fine lega-crea.php*/

  /*lega-crea-fatto.php*/

  .benvenuto-fatto .welcome-section img {
      top: 8px;
      right: 34%;
      width: 135px;
  }

  /*fine lega-crea-fatto.php*/

  /*lega-invito.php*/

  .mascot-container {
      right: 34%;
  }

  /*fine lega-invito.php*/

  /*lega-dettaglio-giornata*/

  .day-info,
  .squad-sx  {
    flex-direction: column;
  }

  .day-info {
    align-items: start;
  }

  .squad-sx {
    align-items: end;
  }

  .point {
    display: none;
  }

  .point-xs {
    display: flex;                      
    justify-content: space-between;    
    padding-left: 0.5rem;             
    padding-right: 0.5rem;
    border-left: 1px solid rgba(108, 117, 125, 0.1);  
    border-right: 1px solid rgba(108, 117, 125, 0.1);  
    background-color: rgba(33, 37, 41, 0.1); 
    min-width: 40px;      /* larghezza fissa per allineamento */
    text-align: center;
  }

  .space {
    width: 30px;
  }

  /*fine lega-dettaglio-giornata*/

}

@media screen and (max-width: 400px) {
  
  /*benvenuto.php*/

  .text-wrapper h1 {
    padding-top: 6px;
  }

  .welcome-section img {
    width: 160px;
  }

  .button-pill {
    width: 140px;
  }

  /*fine benvenuto.php*/

  /*lega-crea.php*/

  .benvenuto-crea .text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    width: 65%;
    transform: translateX(-10%);
  }

  .benvenuto-crea .welcome-section img {
    width: 165px;
  }

  /*fine lega-crea.php*/

  /*lega-crea-fatto.php*/
  
  .benvenuto-fatto .text-wrapper h1 {
        margin-right: 0;
        text-align: center;
    }
  
  /*fine lega-crea-fatto.php*/

  /*lega-utenti.php*/

  .btn-utenti-attivi, .btn-invita-utenti,
  .lega-utenti .btn-danger {
      font-size: 0.7rem;
  }

  .squadra-utente {
      padding: 20px 2%;
  }
}
  /*fine lega-utenti.php*/

   /*lega-invito.php*/

    .mascot-container {
      right: 30%;
      top: 48px;
      width: 150px;
    }

  /*fine lega-invito.php*/

  /*lega-notifiche.php*/

  /* =========================================
   SEZIONI
========================================= */

.notifiche-section-title {

    display: flex;
    align-items: center;
    gap: 10px;

    color: white;

    font-size: .95rem;
    font-weight: 700;

    margin-bottom: 10px;

    opacity: .9;
}

/* =========================================
   LISTA
========================================= */

.lista-notifiche {
  padding: 15px;
}

/* =========================================
   RIGA NOTIFICA
========================================= */

.notifica {

    position: relative;

    display: flex;
    gap: 14px;

    padding: 16px 0;

    border-bottom: 1px solid rgba(255,255,255,0.06);

    transition: background .18s ease;

    cursor: pointer;
}

.notifica:hover {

    background: rgba(255,255,255,0.03);
}

/* =========================================
   NON LETTA
========================================= */

.notifica-non-letta::before {

    content: "";

    position: absolute;

    left: -5px;
    top: 18px;

    width: 4px;
    height: calc(100% - 36px);

    border-radius: 10px;

    background: #0d6efd;
}

/* =========================================
   IMMAGINE
========================================= */

.notifica-img {

    width: 58px;
    height: 58px;

    border-radius: 14px;

    object-fit: cover;

    flex-shrink: 0;
}

/* =========================================
   CONTENUTO
========================================= */

.contenuto-notifica {

    /*flex: 1;
    min-width: 0;*/
}

.header-notifica {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

.titolo-notifica {
    margin: 0;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    display:inline-flex;
    gap: 10px;
}

.data-notifica {
    color: #94a3b8;
    font-size: 0.75rem;
}

.testo-notifica {

    color: #cbd5e1;

    margin: 0;

    line-height: 1.4;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* =========================================
   EMPTY STATE
========================================= */

.notifiche-empty {

    text-align: center;

    padding: 40px 10px;

    color: #94a3b8;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .notifica {

        gap: 12px;
    }

    .notifica-img {

        width: 52px;
        height: 52px;
    }

    .titolo-notifica {

        font-size: .92rem;
    }

    .testo-notifica {

        font-size: .86rem;
    }


}

/* =========================================
   MODAL
========================================= */

/* BACKDROP più soft */
.modal-backdrop.show {
    opacity: 0.75;
    backdrop-filter: blur(4px);
}

/* MODAL CONTENT */
.modal-content-notifica {

    background: rgba(3, 29, 51, 0.92);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* HEADER */
.modal-header-notifica {

    border-bottom: 1px solid rgba(255,255,255,0.08);

    padding: 18px 20px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-title {

    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
}

/* DATA */
.modal-data {

    color: #94a3b8;
    font-size: 0.75rem;
}

/* BODY */
.modal-body-notifica {

    padding: 20px;

    color: #cbd5e1;

    line-height: 1.6;

    font-size: 0.95rem;
}

/* TESTO */
.modal-text {
    margin: 0;
    white-space: pre-line;
}

/* CLOSE BUTTON più moderno */
.btn-close-white {
    filter: invert(1);
    opacity: 0.7;
}

.btn-close-white:hover {
    opacity: 1;
}

  /*fine lega-notifiche*/

/* =========================================
   PROMPT INSTALLAZIONE APP
========================================= */

#fanta-install-prompt {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    max-width: 480px;
    margin: 0 auto;
    padding: 14px;
    color: #0b3769;
    background: #ffffff;
    border: 1px solid rgba(11, 55, 105, 0.15);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(11, 55, 105, 0.22);
}

@supports (padding: env(safe-area-inset-bottom)) {
    #fanta-install-prompt {
        right: max(16px, env(safe-area-inset-right));
        bottom: calc(16px + env(safe-area-inset-bottom));
        left: max(16px, env(safe-area-inset-left));
    }
}

#fanta-install-prompt .fanta-install-prompt__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

#fanta-install-prompt .fanta-install-prompt__contenuto {
    flex: 1 1 auto;
    min-width: 0;
}

#fanta-install-prompt .fanta-install-prompt__titolo {
    display: block;
    margin-bottom: 2px;
    font-size: 0.95rem;
    line-height: 1.25;
}

#fanta-install-prompt .fanta-install-prompt__testo {
    margin: 0;
    color: #4d5d6d;
    font-size: 0.85rem;
    line-height: 1.35;
}

#fanta-install-prompt .fanta-install-prompt__azione {
    flex: 0 0 auto;
    white-space: nowrap;
}

#fanta-install-prompt .fanta-install-prompt__chiudi {
    flex: 0 0 auto;
    padding: 4px;
    color: #4d5d6d;
    line-height: 1;
    background: transparent;
    border: 0;
}

#fanta-install-prompt .fanta-install-prompt__chiudi:hover,
#fanta-install-prompt .fanta-install-prompt__chiudi:focus {
    color: #0b3769;
}

/* Primo suggerimento: maggiore evidenza, senza bloccare l'interazione con la pagina */
#fanta-install-prompt.fanta-install-prompt--prima-volta {
    padding: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #0b3769 0%, #0f559f 100%);
    border-color: rgba(255, 255, 255, 0.36);
    box-shadow:
        0 20px 56px rgba(1, 20, 44, 0.48),
        0 0 0 100vmax rgba(3, 24, 48, 0.68);
    animation: fanta-install-prompt-apparizione 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
    isolation: isolate;
}

#fanta-install-prompt.fanta-install-prompt--prima-volta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.24), transparent 34%);
    border-radius: inherit;
}

#fanta-install-prompt.fanta-install-prompt--prima-volta::after {
    content: "";
    position: absolute;
    right: 30px;
    bottom: -10px;
    z-index: 0;
    width: 20px;
    height: 20px;
    background: #0f559f;
    transform: rotate(45deg);
}

#fanta-install-prompt.fanta-install-prompt--prima-volta > * {
    position: relative;
    z-index: 1;
}

#fanta-install-prompt.fanta-install-prompt--prima-volta .fanta-install-prompt__icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
}

#fanta-install-prompt.fanta-install-prompt--prima-volta .fanta-install-prompt__testo {
    color: rgba(255, 255, 255, 0.9);
}

#fanta-install-prompt.fanta-install-prompt--prima-volta .fanta-install-prompt__azione {
    color: #0b3769;
    font-weight: 700;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 22, 52, 0.22);
}

#fanta-install-prompt.fanta-install-prompt--prima-volta .fanta-install-prompt__azione:hover,
#fanta-install-prompt.fanta-install-prompt--prima-volta .fanta-install-prompt__azione:focus {
    color: #0b3769;
    background: #eaf4ff;
    border-color: #eaf4ff;
}

#fanta-install-prompt.fanta-install-prompt--prima-volta .fanta-install-prompt__chiudi,
#fanta-install-prompt.fanta-install-prompt--prima-volta .fanta-install-prompt__chiudi:hover,
#fanta-install-prompt.fanta-install-prompt--prima-volta .fanta-install-prompt__chiudi:focus {
    color: #ffffff;
}

@keyframes fanta-install-prompt-apparizione {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    #fanta-install-prompt.fanta-install-prompt--prima-volta {
        animation: none;
    }
}

@media (max-width: 575.98px) {
    #fanta-install-prompt {
        gap: 10px;
        padding: 12px;
    }

    #fanta-install-prompt .fanta-install-prompt__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    #fanta-install-prompt .fanta-install-prompt__azione {
        padding-right: 10px;
        padding-left: 10px;
    }

    #fanta-install-prompt.fanta-install-prompt--prima-volta {
        padding: 16px 14px;
    }

    #fanta-install-prompt.fanta-install-prompt--prima-volta .fanta-install-prompt__icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    #fanta-install-prompt.fanta-install-prompt--prima-volta::after {
        right: 24px;
    }
}

/* Classifica globale: stili limitati al contenuto della pagina. */
#classifica-globale .fanta-ranking-page {
  max-width: 780px;
  padding: 16px 14px 116px;
  color: #f7fbff;
}
#classifica-globale .fanta-ranking-hero {
  padding: 24px;
  border: 1px solid rgba(163, 222, 255, .24);
  border-radius: 24px;
  background: radial-gradient(ellipse at 0 0, rgba(106, 219, 255, .28), transparent 55%), linear-gradient(145deg, #07517a, #012942);
  box-shadow: 0 18px 42px rgba(0, 20, 37, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
}
#classifica-globale .fanta-ranking-heading { display: flex; justify-content: space-between; gap: 16px; }
#classifica-globale .fanta-ranking-heading > div { min-width: 0; }
#classifica-globale .fanta-ranking-eyebrow { margin: 0 0 8px; color: #a9dff7; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
#classifica-globale .fanta-ranking-hero h1 { margin: 0; color: #fff; font-size: clamp(1.35rem, 4vw, 1.9rem); font-weight: 800; overflow-wrap: anywhere; }
#classifica-globale .fanta-ranking-subtitle { margin: 10px 0 0; color: #c5e8f7; font-size: .82rem; line-height: 1.6; }
#classifica-globale .fanta-ranking-trophy { display: grid; place-items: center; flex: 0 0 54px; height: 54px; border: 1px solid #eacb7450; border-radius: 17px; background: #ffd76a12; color: #ffdb81; font-size: 1.6rem; transform: rotate(6deg); }
#classifica-globale .fanta-ranking-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0; color: #b9dbea; font-size: .72rem; }
#classifica-globale .fanta-ranking-meta i { margin-right: 4px; color: #7ce1ff; }
#classifica-globale .fanta-ranking-team { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid #91e4c133; border-radius: 17px; background: #001d3180; }
#classifica-globale .fanta-ranking-jersey { flex: 0 0 46px; }
#classifica-globale .fanta-ranking-jersey .maglia-utente { width: 46px; height: 54px; object-fit: contain; }
#classifica-globale .fanta-ranking-team > div:nth-child(2) { min-width: 0; flex: 1; }
#classifica-globale .fanta-ranking-team div > span { display: block; color: #a9dbcc; font-size: .7rem; margin-bottom: 4px; }
#classifica-globale .fanta-ranking-team strong { display: block; color: #fff; font-size: 1rem; overflow-wrap: anywhere; }
#classifica-globale .fanta-ranking-team-tag { color: #91efc6; font-size: .6rem; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
#classifica-globale .fanta-ranking-board { margin-top: 22px; overflow: hidden; border: 1px solid #9bcbe124; border-radius: 22px; background: #061f32; box-shadow: 0 12px 30px #00142330; }
#classifica-globale .fanta-ranking-tabs { display: flex; gap: 6px; padding: 7px; margin: 12px; border-radius: 14px; background: #021422; }
#classifica-globale .fanta-ranking-tabs .nav-item { flex: 1; }
#classifica-globale .fanta-ranking-tabs .nav-link { width: 100%; padding: 13px 10px; border: 0; border-radius: 10px; color: #a9c7d9; font-size: .85rem; font-weight: 700; background: transparent; }
#classifica-globale .fanta-ranking-tabs .nav-link i { margin-right: 7px; }
#classifica-globale .fanta-ranking-tabs .nav-link.active { color: #fff; background: #12618b; box-shadow: inset 0 1px 0 #ffffff20, 0 3px 8px #0003; }
#classifica-globale .fanta-ranking-section-heading { padding: 14px 20px 4px; }
#classifica-globale .fanta-ranking-section-heading h2 { margin: 0 0 7px; color: #f7fbff; font-size: 1.05rem; font-weight: 800; }
#classifica-globale .fanta-ranking-section-heading p { margin: 0 0 12px; color: #acc5d6; font-size: .76rem; line-height: 1.6; }
#classifica-globale .fanta-ranking-filters { padding: 0 20px 20px; }
#classifica-globale .fanta-ranking-filters .btn { flex-shrink: 0; padding: 8px 14px; border: 1px solid #49697f; border-radius: 10px; color: #c7deeb; font-size: .72rem; font-weight: 700; white-space: nowrap; }
#classifica-globale .fanta-ranking-filters .btn-primary { background: #b7edd8; border-color: #b7edd8; color: #08372c; }
#classifica-globale .fanta-ranking-filters .btn:hover { background: #15445c; color: #fff; }
#classifica-globale #filtro-personalizzato { margin: 0 20px 20px; padding: 8px; border: 1px solid #49697f; border-radius: 14px; background: #0b2b40; }
#classifica-globale #filtro-personalizzato label { margin-bottom: 7px; color: #c7deeb; font-size: .72rem; }
#classifica-globale #filtro-personalizzato .form-select { background-color: #f2f8fc; color: #16364c; border-radius: 9px; }
#classifica-globale .fanta-ranking-search { margin: 0 20px 14px; }
#classifica-globale .fanta-ranking-search form { position: relative; display: flex; align-items: center; }
#classifica-globale .fanta-ranking-search__icon { position: absolute; left: 14px; z-index: 1; color: #7ce1ff; font-size: .95rem; pointer-events: none; }
#classifica-globale .fanta-ranking-search input { width: 100%; height: 46px; padding: 0 44px 0 42px; border: 1px solid #49697f; border-radius: 13px; outline: 0; background: #0b2b40; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); color: #eef8ff; font-size: .8rem; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
#classifica-globale .fanta-ranking-search input::placeholder { color: #9fbccc; opacity: 1; }
#classifica-globale .fanta-ranking-search form:focus-within input { border-color: #63d6ff; background: #0d3047; box-shadow: 0 0 0 4px rgba(99, 214, 255, .15); }
#classifica-globale .fanta-ranking-search__clear { position: absolute; right: 8px; display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 9px; background: transparent; color: #b6d5e5; font-size: .8rem; }
#classifica-globale .fanta-ranking-search__clear[hidden],
#classifica-globale .fanta-ranking-search-empty[hidden] { display: none; }
#classifica-globale .fanta-ranking-search__clear:hover { background: #23506a; color: #ffffff; }
#classifica-globale .fanta-ranking-search__clear:focus-visible { outline: 2px solid #7ce1ff; outline-offset: 2px; }
#classifica-globale .fanta-ranking-search-empty { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 20px 14px; padding: 15px; border: 1px dashed #49697f; border-radius: 13px; background: #0a263c; color: #b4cfdf; font-size: .76rem; text-align: center; }
#classifica-globale .fanta-ranking-search-empty i { color: #7ce1ff; font-size: 1rem; }
#classifica-globale .fanta-ranking-columns,
#classifica-globale .row-classifica { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(70px, auto); gap: 10px; margin: 0; padding: 10px 16px !important; }
#classifica-globale .fanta-ranking-columns > div,
#classifica-globale .row-classifica > div { width: auto; min-width: 0; }
#classifica-globale .fanta-ranking-columns { border-top: 1px solid #9bcbe11c; border-bottom: 1px solid #9bcbe11c; background: #0c2a40; }
#classifica-globale .fanta-ranking-columns h5 { color: #aac7d9; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
#classifica-globale .row-classifica { position: relative; min-height: 58px; border-color: #9bcbe11c !important; background: #071f33; }
#classifica-globale .row-classifica:nth-child(even) { background: #0a263c; }
#classifica-globale .row-classifica > .col-1 > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #b8d2e2; font-size: .76rem; font-variant-numeric: tabular-nums; }
#classifica-globale .row-classifica.is-top-1 > .col-1 > span { color: #ffdb81; background: #ffcf6b18; border: 1px solid #ffcf6b40; }
#classifica-globale .row-classifica.is-top-2 > .col-1 > span { color: #d9e8f4; background: #d9e8f418; border: 1px solid #d9e8f430; }
#classifica-globale .row-classifica.is-top-3 > .col-1 > span { color: #eeb992; background: #eeb99218; border: 1px solid #eeb99230; }
#classifica-globale .row-classifica .col-7 > span { color: #f0f7fc; font-size: .8rem; line-height: 1.3; text-transform: none !important; overflow-wrap: anywhere; }
#classifica-globale .row-classifica .text-muted { margin-top: 2px; color: #a5bdcf !important; font-size: .55rem; letter-spacing: .06em; }
#classifica-globale .circle-pt { display: flex; align-items: center; justify-content: center; min-width: 64px; min-height: 36px; padding: 6px 8px; border: 1px solid #7cb9df24; border-radius: 10px; background: #163b56 !important; color: #e7f5ff; font-size: .9rem; font-weight: 800; font-variant-numeric: tabular-nums; }
#classifica-globale .row-classifica.is-own-team { background: linear-gradient(90deg, #104336, #0a2c35); box-shadow: inset 3px 0 #7de4b7; }
#classifica-globale .is-own-team .circle-pt { background: #b7edd8 !important; color: #08372c; border-color: #b7edd8; }
#classifica-globale .fanta-ranking-own-label { display: block; margin-top: 2px; color: #96e8c5; font-size: .58rem; font-weight: 700; }
#classifica-globale .giornate-scroll { display: flex; overflow-x: auto; gap: 8px; padding: 20px 20px 20px; scrollbar-width: thin; scrollbar-color: #49758c #061f32; }
#classifica-globale .btn-giornata { flex: 0 0 44px; height: 44px; border: 1px solid #49697f; border-radius: 12px; background: #12374f; color: #d5eafa; font-size: .8rem; font-weight: 800; }
#classifica-globale .btn-giornata.active { border-color: #b7edd8; background: #b7edd8; color: #08372c; }
#classifica-globale .giornata-non-giocata { background: #102333; border-style: dashed; color: #8ba4b5; cursor: default; }
#classifica-globale .fanta-ranking-empty,
#classifica-globale .fanta-ranking-placeholder { margin: 0; padding: 36px 24px; text-align: center; color: #b4cfdf; font-size: .82rem; }
#classifica-globale .fanta-ranking-empty > i { display: block; margin-bottom: 12px; color: #7ce1ff; font-size: 1.8rem; }
#classifica-globale .fanta-ranking-empty strong { display: block; color: #fff; }
#classifica-globale .fanta-ranking-empty p { margin: 8px 0 0; line-height: 1.6; }
#classifica-globale .fanta-ranking-page button:focus-visible,
#classifica-globale .fanta-ranking-page a:focus-visible,
#classifica-globale .fanta-ranking-page select:focus-visible { outline: 3px solid #7ce1ff; outline-offset: 3px; }
@media (max-width: 420px) {
  #classifica-globale .fanta-ranking-page { padding-right: 10px; padding-left: 10px; }
  #classifica-globale .fanta-ranking-hero { padding: 18px; }
  #classifica-globale .fanta-ranking-trophy { flex-basis: 42px; height: 42px; font-size: 1.25rem; }
  #classifica-globale .fanta-ranking-team { padding: 10px; gap: 10px; }
  #classifica-globale .fanta-ranking-team-tag { display: none; }
  #classifica-globale .fanta-ranking-search,
  #classifica-globale .fanta-ranking-search-empty { margin-right: 12px; margin-left: 12px; }
  #classifica-globale .fanta-ranking-columns,
  #classifica-globale .row-classifica { grid-template-columns: 30px minmax(0, 1fr) minmax(62px, auto); gap: 8px; padding: 10px 12px !important; }
  #classifica-globale .row-classifica > .col-1 > span { width: 28px; height: 28px; }
  #classifica-globale .circle-pt { min-width: 62px; min-height: 34px; padding: 6px; font-size: .86rem; }
}

/* LEGA-CALENDARIO.PHP */
#lega-calendario .fanta-calendar-ranking-action {
  padding: 16px 16px 20px;
  border-bottom: 0;
  background: transparent;
}

#lega-calendario .fanta-calendar-ranking-action:hover {
  background: transparent;
}

#lega-calendario .fanta-calendar-ranking-link {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(189, 239, 255, .42);
  border-radius: 14px;
  background: linear-gradient(135deg, #0b3769 0%, #0f559f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 9px 20px rgba(1, 20, 44, .24);
  color: #ffffff;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#lega-calendario .fanta-calendar-ranking-link:hover {
  color: #ffffff;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 26px rgba(1, 20, 44, .3);
}

#lega-calendario .fanta-calendar-ranking-link:active {
  transform: translateY(0);
}

#lega-calendario .fanta-calendar-ranking-link:focus-visible {
  outline: 3px solid #83e5ff;
  outline-offset: 3px;
}

#lega-calendario .fanta-calendar-ranking-icon {
  color: #f0cd35;
  font-size: 1rem;
}

#lega-calendario .fanta-calendar-ranking-arrow {
  color: #bcecff;
  font-size: 1rem;
}

@media (max-width: 380px) {
  #lega-calendario .fanta-calendar-ranking-action {
    padding: 14px 12px 18px;
  }

  #lega-calendario .fanta-calendar-ranking-link {
    padding-right: 12px;
    padding-left: 12px;
    font-size: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #lega-calendario .fanta-calendar-ranking-link {
    transition: none;
  }
}

/* LEGA-SQUADRA-ROSA.PHP */
#lega-squadra-rosa .fanta-roster-page {
  max-width: 780px;
  padding: 16px 14px 116px;
  color: #f7fbff;
}

#lega-squadra-rosa .fanta-roster-hero {
  overflow: hidden;
  border: 1px solid rgba(163, 222, 255, .24);
  border-radius: 24px;
  background: radial-gradient(ellipse at 0 0, rgba(106, 219, 255, .28), transparent 55%), linear-gradient(145deg, #07517a, #012942);
  box-shadow: 0 18px 42px rgba(0, 20, 37, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
}

#lega-squadra-rosa .fanta-roster-hero__identity {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
}

#lega-squadra-rosa .fanta-roster-hero__jersey {
  display: grid;
  width: 86px;
  height: 96px;
  place-items: center;
  border: 1px solid rgba(145, 228, 193, .24);
  border-radius: 18px;
  background: rgba(0, 29, 49, .5);
}

#lega-squadra-rosa .fanta-roster-hero__jersey .maglia-container,
#lega-squadra-rosa .fanta-roster-hero__jersey .maglia-utente {
  max-width: 64px;
  max-height: 76px;
  object-fit: contain;
}

#lega-squadra-rosa .fanta-roster-hero__copy { min-width: 0; }

#lega-squadra-rosa .fanta-roster-eyebrow {
  margin: 0 0 7px;
  color: #a9dff7;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

#lega-squadra-rosa .fanta-roster-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

#lega-squadra-rosa .fanta-roster-hero__coach {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin: 9px 0 0;
  color: #a9c7d9;
  font-size: .72rem;
  line-height: 1.35;
}

#lega-squadra-rosa .fanta-roster-hero__coach i { color: #f0cd35; font-size: .82rem; }
#lega-squadra-rosa .fanta-roster-hero__coach strong { color: #ffffff; font-weight: 800; overflow-wrap: anywhere; }

#lega-squadra-rosa .fanta-roster-hero__league {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 9px 0 0;
  color: #c5e8f7;
  font-size: .78rem;
}

#lega-squadra-rosa .fanta-roster-hero__league i { color: #7ce1ff; }

#lega-squadra-rosa .fanta-roster-status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  align-self: start;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

#lega-squadra-rosa .fanta-roster-status.is-complete {
  border-color: rgba(145, 239, 198, .34);
  background: rgba(75, 197, 143, .15);
  color: #a5f1ce;
}

#lega-squadra-rosa .fanta-roster-status.is-incomplete {
  border-color: rgba(255, 215, 106, .36);
  background: rgba(255, 215, 106, .12);
  color: #ffdd89;
}

#lega-squadra-rosa .fanta-roster-hero__metrics {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  border-top: 1px solid rgba(163, 222, 255, .16);
  background: rgba(0, 21, 36, .3);
}

#lega-squadra-rosa .fanta-roster-metric {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  min-height: 74px;
  padding: 12px 16px;
  border-right: 1px solid rgba(163, 222, 255, .16);
}

#lega-squadra-rosa .fanta-roster-metric:last-child { border-right: 0; }

#lega-squadra-rosa .fanta-roster-metric > span {
  margin-bottom: 4px;
  color: #a9c7d9;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#lega-squadra-rosa .fanta-roster-metric > strong {
  color: #ffffff;
  font-size: 1.08rem;
  font-variant-numeric: tabular-nums;
}

#lega-squadra-rosa .fanta-roster-metric > strong small {
  color: #a9c7d9;
  font-size: .65rem;
  font-weight: 700;
}

#lega-squadra-rosa .fanta-roster-metric--role { align-items: center; padding-right: 8px; padding-left: 8px; }
#lega-squadra-rosa .fanta-roster-metric--role.role-p > span { color: #e1a9f2; }
#lega-squadra-rosa .fanta-roster-metric--role.role-d > span { color: #87d7ff; }
#lega-squadra-rosa .fanta-roster-metric--role.role-c > span { color: #ffdb81; }
#lega-squadra-rosa .fanta-roster-metric--role.role-a > span { color: #91efc6; }

#lega-squadra-rosa .fanta-roster-list {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(155, 203, 225, .14);
  border-radius: 22px;
  background: #edf6fa;
  box-shadow: 0 12px 30px rgba(0, 20, 36, .19);
}

#lega-squadra-rosa .fanta-roster-list__heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #061f32;
}

#lega-squadra-rosa .fanta-roster-list__heading h2 {
  margin: 0;
  color: #f7fbff;
  font-size: 1.08rem;
  font-weight: 800;
}

#lega-squadra-rosa .fanta-roster-list__heading > span {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(124, 225, 255, .22);
  border-radius: 8px;
  color: #bce8f8;
  font-size: .65rem;
  font-weight: 700;
}

#lega-squadra-rosa .fanta-roster-group {
  overflow: hidden;
  margin: 12px 10px 0;
  border: 1px solid #d6e6ee;
  border-radius: 16px;
  background: #071f33;
  box-shadow: 0 6px 14px rgba(0, 42, 65, .13);
}

#lega-squadra-rosa .fanta-roster-group:last-child { margin-bottom: 12px; }

#lega-squadra-rosa .fanta-roster-group__heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  border-bottom: 1px solid #d6e6ee;
  background: #ffffff;
}

#lega-squadra-rosa .fanta-roster-group__heading h3 {
  margin: 0;
  color: #063852;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#lega-squadra-rosa .fanta-roster-group__heading > span {
  padding: 5px 8px;
  border-radius: 7px;
  background: #e9f4f9;
  color: #2f627b;
  font-size: .66rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

#lega-squadra-rosa .fanta-roster-player {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid rgba(155, 203, 225, .11);
  background: #071f33;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background .18s ease, transform .18s ease;
}

#lega-squadra-rosa .fanta-roster-player:nth-child(even) { background: #0a263c; }
#lega-squadra-rosa .fanta-roster-player:last-child { border-bottom: 0; }
#lega-squadra-rosa .fanta-roster-player:hover { background: #103650; }
#lega-squadra-rosa .fanta-roster-player:active { transform: scale(.995); }

#lega-squadra-rosa .fanta-roster-player .role-badge {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  font-size: .75rem;
  font-weight: 800;
}

#lega-squadra-rosa .fanta-roster-player .role-p { color: #dfa8f1; }
#lega-squadra-rosa .fanta-roster-player .role-d { color: #84d4ff; }
#lega-squadra-rosa .fanta-roster-player .role-c { color: #ffd66c; }
#lega-squadra-rosa .fanta-roster-player .role-a { color: #8fe2bb; }
#lega-squadra-rosa .fanta-roster-player .role-nd { color: #b4cfdf; }

#lega-squadra-rosa .fanta-roster-player__details { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
#lega-squadra-rosa .fanta-roster-player__details strong { overflow: hidden; color: #f0f7fc; font-size: .9rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
#lega-squadra-rosa .fanta-roster-player__details small { color: #a5bdcf; font-size: .67rem; }
#lega-squadra-rosa .fanta-roster-player > .bi { flex: 0 0 auto; color: #7ce1ff; font-size: .95rem; }

#lega-squadra-rosa .fanta-roster-empty { padding: 42px 24px; background: #ffffff; color: #4a687a; font-size: .82rem; text-align: center; }
#lega-squadra-rosa .fanta-roster-empty > i { display: block; margin-bottom: 12px; color: #1687b5; font-size: 1.8rem; }
#lega-squadra-rosa .fanta-roster-empty strong { display: block; color: #063852; }
#lega-squadra-rosa .fanta-roster-empty p { margin: 8px 0 0; line-height: 1.6; }

#lega-squadra-rosa .fanta-roster-player:focus-visible { position: relative; z-index: 1; outline: 3px solid #7ce1ff; outline-offset: -3px; }

/* Modal informazioni giocatore */
#modal-info-giocatore .fanta-player-modal__content {
  overflow: hidden;
  border: 1px solid rgba(163, 222, 255, .24);
  border-radius: 22px;
  background: #061f32;
  box-shadow: 0 22px 58px rgba(0, 15, 27, .42), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #eef9ff;
}

#modal-info-giocatore .fanta-player-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(163, 222, 255, .17);
  background: linear-gradient(120deg, #07517a, #06344e);
}

#modal-info-giocatore .fanta-player-modal__header p { margin: 0 0 4px; color: #a9dff7; font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
#modal-info-giocatore .fanta-player-modal__header h2 { margin: 0; color: #ffffff; font-size: 1.02rem; font-weight: 800; }
#modal-info-giocatore .fanta-player-modal__header .btn-close { width: 32px; height: 32px; margin: -4px -4px 0 12px; border-radius: 9px; background-color: rgba(255, 255, 255, .12); filter: invert(1) grayscale(1) brightness(3); opacity: .9; }
#modal-info-giocatore .fanta-player-modal__header .btn-close:hover { opacity: 1; }
#modal-info-giocatore .fanta-player-modal__body { padding: 0; }

#modal-info-giocatore .fanta-player-modal__loading,
#modal-info-giocatore .fanta-player-modal__message { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 190px; padding: 28px; color: #b4cfdf; font-size: .82rem; text-align: center; }
#modal-info-giocatore .fanta-player-modal__loading .spinner-border { width: 1.35rem; height: 1.35rem; color: #7ce1ff; }
#modal-info-giocatore .fanta-player-modal__message i { font-size: 1.35rem; }
#modal-info-giocatore .fanta-player-modal__message.is-warning { color: #ffdd89; }
#modal-info-giocatore .fanta-player-modal__message.is-error { color: #ffb2b7; }

#modal-info-giocatore .fanta-player-profile__hero { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 22px 20px; background: radial-gradient(ellipse at 0 0, rgba(106, 219, 255, .17), transparent 60%), #08283d; }
#modal-info-giocatore .fanta-player-profile__avatar { display: grid; width: 60px; height: 66px; place-items: center; border: 1px solid rgba(124, 225, 255, .28); border-radius: 17px; background: rgba(0, 24, 41, .5); color: #8ce4ff; font-size: 1.6rem; }
#modal-info-giocatore .fanta-player-profile__hero > div:nth-child(2) { min-width: 0; }
#modal-info-giocatore .fanta-player-profile__hero p { margin: 0 0 5px; color: #9ee0f8; font-size: .65rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
#modal-info-giocatore .fanta-player-profile__hero h3 { margin: 0; overflow-wrap: anywhere; color: #ffffff; font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
#modal-info-giocatore .fanta-player-profile__hero > div:nth-child(2) > span { display: flex; gap: 6px; align-items: center; margin-top: 7px; color: #c5e8f7; font-size: .74rem; overflow-wrap: anywhere; }
#modal-info-giocatore .fanta-player-profile__hero > div:nth-child(2) > span i { color: #7ce1ff; }
#modal-info-giocatore .fanta-player-profile__quote { display: flex; flex-direction: column; align-items: flex-end; padding: 8px 0 8px 14px; border-left: 1px solid rgba(163, 222, 255, .18); }
#modal-info-giocatore .fanta-player-profile__quote span { color: #a9c7d9; font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
#modal-info-giocatore .fanta-player-profile__quote strong { margin-top: 4px; color: #a7f0ce; font-size: 1.12rem; font-variant-numeric: tabular-nums; }

#modal-info-giocatore .fanta-player-profile__section { padding: 20px; border-top: 1px solid rgba(163, 222, 255, .14); }
#modal-info-giocatore .fanta-player-profile__section-heading { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; margin-bottom: 13px; }
#modal-info-giocatore .fanta-player-profile__section-heading h4 { margin: 0; color: #f7fbff; font-size: .93rem; font-weight: 800; }
#modal-info-giocatore .fanta-player-profile__section-heading span { color: #9dbbcd; font-size: .64rem; font-weight: 700; }
#modal-info-giocatore .fanta-player-profile__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; }
#modal-info-giocatore .fanta-player-profile__details > div { min-width: 0; padding: 12px; border: 1px solid rgba(163, 222, 255, .14); border-radius: 12px; background: #0a2a40; }
#modal-info-giocatore .fanta-player-profile__details dt { margin: 0 0 5px; color: #9dbbcd; font-size: .62rem; font-weight: 700; }
#modal-info-giocatore .fanta-player-profile__details dd { margin: 0; overflow-wrap: anywhere; color: #f3fbff; font-size: .78rem; font-weight: 800; }
#modal-info-giocatore .fanta-player-profile__stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
#modal-info-giocatore .fanta-player-profile__stats > div { display: flex; min-height: 76px; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px; border: 1px solid rgba(163, 222, 255, .14); border-radius: 12px; background: #0a2a40; text-align: center; }
#modal-info-giocatore .fanta-player-profile__stats strong { color: #ffffff; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
#modal-info-giocatore .fanta-player-profile__stats span { margin-top: 4px; color: #a9c7d9; font-size: .58rem; font-weight: 700; line-height: 1.25; }

@media (max-width: 480px) {
  #lega-squadra-rosa .fanta-roster-page { padding-right: 10px; padding-left: 10px; }
  #lega-squadra-rosa .fanta-roster-hero__identity { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; padding: 17px; }
  #lega-squadra-rosa .fanta-roster-hero__jersey { width: 68px; height: 78px; }
  #lega-squadra-rosa .fanta-roster-hero__jersey .maglia-container,
  #lega-squadra-rosa .fanta-roster-hero__jersey .maglia-utente { max-width: 54px; max-height: 63px; }
  #lega-squadra-rosa .fanta-roster-status { grid-column: 1 / -1; justify-self: start; }
  #lega-squadra-rosa .fanta-roster-hero__metrics { grid-template-columns: 1.4fr repeat(4, 1fr); }
  #lega-squadra-rosa .fanta-roster-metric { min-height: 65px; padding: 9px 7px; }
  #lega-squadra-rosa .fanta-roster-metric:first-child { padding-left: 14px; }
  #lega-squadra-rosa .fanta-roster-metric > strong { font-size: .97rem; }
  #lega-squadra-rosa .fanta-roster-list__heading,
  #lega-squadra-rosa .fanta-roster-player { padding-right: 14px; padding-left: 14px; }
  #lega-squadra-rosa .fanta-roster-group__heading { padding-right: 14px; padding-left: 14px; }
  #modal-info-giocatore .fanta-player-profile__hero { grid-template-columns: 50px minmax(0, 1fr); gap: 11px; padding: 17px; }
  #modal-info-giocatore .fanta-player-profile__avatar { width: 50px; height: 56px; border-radius: 15px; font-size: 1.3rem; }
  #modal-info-giocatore .fanta-player-profile__quote { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding: 11px 0 0; border-top: 1px solid rgba(163, 222, 255, .18); border-left: 0; }
  #modal-info-giocatore .fanta-player-profile__quote strong { margin-top: 0; }
  #modal-info-giocatore .fanta-player-profile__section { padding: 17px; }
  #modal-info-giocatore .fanta-player-profile__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
