@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;
}
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;
}

.messaggi-wrapper,
.accesso-cambia-wrapper,
.accesso-setup-wrapper {
  padding: 20px 20px;
  background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
}


.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: 13px;
    height: 51px;
    font-size: 16px !important;
}

input.form-control::placeholder {
  font-size: 16px !important;
}

.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: #ccc !important;
}

.contenitore-pagina {
  width: 600px;
  max-width: 100%;
  min-height: 100vh;
  margin: auto;
  /*background-color: #052136;*/
  background-color: #E7E7E9;
  padding-bottom: 75px;
}

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

.login .contenitore-pagina {
  background: #003354;
  padding-bottom: 0;
}

.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%;
    color: #242224;
}

.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;
  padding-left: 25px;
}

.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;
}

.dropdown-menu.show.dropdown-custom-dark {
  background-color: #0e273d;
  border: solid 1px #fff;
}

.dropdown-menu.show.dropdown-custom-dark a {
  color: #fff;
}

.dropdown-menu.show.dropdown-custom-dark a:hover {
  color: #fff;
  background-color: #0f4a7e;
}

a:hover,
a:focus,
a:active {
  color: #3e84c3;
}

.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 */

/*home-lega*/

/* Sfondo principale con luci soffuse */
    .bg-dashboard {
        background: radial-gradient(circle at top, #0099ff 0%, #031d33 50%);
        background-color: #031d33;
        min-height: 100vh;
        color: white;
    }

    /* Tabellino con bordo arrotondato e gradient */
    .tabellino-card {
        /* background: linear-gradient(90deg, #f1b40e 0%, #0081cf 25%, #0081cf 100%); */
        background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
        border-radius: 0;
        padding: 30px 5px;
        display: flex;
        align-items: center;
        position: relative;
        width: 75%;
        margin: auto;
    }

    .circle-number {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.5rem;
        color: #ffffff;
        background-color: #424242;
        border: 4px solid #ffffff;
        position: absolute;
        top: -1px;
        left: -57px;
        box-shadow: 5px 5px 8px 0px #303030b0;
    }



    /* Badge Ultimi Incontri */
    .badge-match {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 10px;
        font-weight: bold;
    }

    .color-change:hover {
        color: #f1b40e !important;
    }

    .card.mercato-card {
        background: linear-gradient(
            90deg,
            #55c7cb 0%,
            #9dbbe1 48%,
            #236f83 100%
        );
        /*border: 1px solid rgba(0, 153, 255, 0.3);*/
        border-radius: 20px; 
        backdrop-filter: blur(5px);
    }

    span.exclamation-circle {
        border: solid 2px #d20202;
        padding: 3px 10px;
        border-radius: 66px;
        color: #d20202;
        box-shadow: 2px 2px 3px 2px #616161;
        background: #fff;
    }

    .check-circle {
        border: solid 2px #09d202;
        padding: 5px 6px;
        border-radius: 66px;
        color: #09d202;
        box-shadow: 2px 2px 3px 2px #616161;
        background: #fff;
    }

    .check-circle i {
        font-size: 20px;
    }

    .rosa-completa {
        border-radius: 0;
        background: #515151;
        font-size: 15px;
        color: #fff;
        box-shadow: none !important;
        border: none !important;
        font-weight: bold;
        text-transform: uppercase;
        padding: 10px 5px;
    }

    .home-gestione {
        color: #221E1F !important; 
        letter-spacing: 1px; 
        font-size: 25px;
        font-weight: bold;
        text-transform: uppercase;
        padding-bottom: 20px;
    }

    .rosa-btn {
      padding-top: 22px;
    }

    .alert-section {
        color: #4e4e4e;
        text-shadow: 0 0 10px rgba(241, 180, 14, 0.3);
        font-size: 20px;
        font-weight: bold;
        margin: 0;
    }

    .lable-categoria {
        color: #221E1F;
        font-size: 0.875em;
        text-transform: uppercase;
        font-weight: 700;
        margin-bottom: 0.5rem;
        display: block;
        text-align: center;
    }

    .form-select {
      color: #ffffff;
      border-radius: 20px;
      background: #000000;
      font-size: 14px;
      padding: 10px 5px;
      max-width: 316px;
      width: 100%;
      margin: auto;
      text-align: center;
    }

    .recup-squadre {
        color: #221E1F!important;  
        font-size: 25px;
    }

    .player-squod-status {
        color: #000000;
        display: flex;
        flex-direction: column;
        font-size: 17px;
        font-weight: bold;
    }

    .exclamation-icon {
        font-size: 35px;
    }

    a.home-gestione-btn {
        width: 85%;
        margin: auto;
        background: #515151;
        color: #fff;
        padding: 10px 0;
        font-size: 20px;
        text-transform: uppercase;
    }

    .divider-line {
        max-width: 40px;
        margin: 40px auto;
        border-bottom: 1px solid #494949;
    }

    .alert-partita {
        background: linear-gradient(
            90deg,
            #55c7cb 0%,
            #9dbbe1 48%,
            #236f83 100%
        );
    }

    .alert-partita-icon {
    color: #000;
    display: block;
    opacity: 0.5;
    }

    .alert-partita-text {
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    }

    .risultati-bg {
      background: linear-gradient(
        90deg, 
        #55c7cb 0%, 
        #9dbbe1 48%, 
        #236f83 100%
      );
      border-radius: 20px;
      padding: 10px 0;
    }

    .color-text {
      color: #000;
    }

    .success-btn {
      background: rgb(59 181 125);
      backdrop-filter: blur(5px);
    }

    .btn-formation.btn-incompleto {
      border: 1px solid rgba(255, 0, 0, 0.747);
      background: #ff000031;
      backdrop-filter: blur(5px);
    }

    .incompleto-text {
      color: rgb(255, 0, 0);
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    .intestazione-squadra-home {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        margin-top: 1rem;
        font-weight: bold;
    }

    .pulsante-modifica-badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
        padding: 3px 12px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
        font-size: 0.6rem !important;
        letter-spacing: 0.5px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        text-decoration: none;
        transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .pulsante-modifica-badge i {
        font-size: 0.6rem;
    }

    .pulsante-modifica-badge:hover,
    .pulsante-modifica-badge:focus {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.45);
        color: #ffffff;
        transform: translateY(-1px);
    }

    @media screen and (max-width: 600px) {
        .gestione-squadra-container {
            padding: 0 !important;
            max-width: 83%;
            margin: auto;
        }

        .tabellino-card {
            width: 83%;
        }

        .circle-number {
            left: -23px;
        }

        .mascotte-table {
            top: -63px;
            right: -32px;
            width: 103px;
        }

        .table-position {
            padding: 0px 70px 0 60px;
        }

        a.home-gestione-btn {
            padding: 10px 5px;
            font-size: 15px;
        }
    }

    @media screen and (max-width: 450px) {
        .home-gestione,
        .recup-squadre {
            font-size: 18px;
        }

        .alert-section {
            font-size: 15px;
        }
    }

/*fine home-lega*/

/* 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: 0;
  padding: 30px 0px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}
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;
}

 

.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: fixed;
    bottom: 0;
    left: 0;
    width: 600px;
    max-width: 100%;
    z-index: 1000;
    margin: auto;
}
.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 3px #ffffff;
  border-radius: 10px;
  background: linear-gradient(
    90deg, 
    #55c7cb 0%,
    #9dbbe1 48%, 
    #236f83 100%
  );
}
#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;
}
/*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;
}

.login .btn-primary {
    border-radius: 20px;
    color: #fff;
    border: solid 1px;
    border-color: #0d6efd;
    box-shadow: inset 0px 0px 29px -4px #00718b;
    height: 50px;
    background: linear-gradient(135deg, #12c9f4 0%, #008bec 48%, #0063c7 100%);
}

.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: 47px;
}

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

.login .nuovo_cliente h2 {
  color: #2F2B2C;
}

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

.gradient-line {
    background: linear-gradient(135deg, #0063c7 0%, #008bec 48%, #12c9f4 100%);
    height: 5px;
    border-radius: 20px;
    width: 100px;
    margin: auto;
}

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

.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: 15px;
    cursor: pointer;
    border-radius: 20px;
    background: #d8d8d8;
}

.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;*/
    color: #2F2B2C;
}

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

.registrazione-content {
    display: none;
}

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


.login label,
.login .gia_cliente label {
    color: #ffffff;
    /*color: #f0cd35;*/
}

.mx-auto.gia_cliente {
    width: 87%;
}

.nuovo_cliente {
    width: 80%;
}
/*FINE LOGIN.PHP*/

/*accesso recupera*/

.recupero-wrapper {
  padding: 20px 0;
  background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
}

.page-header.recupero-header,
.recupero-text {
  color: #221E1F;
}

/*fine accesso recupera*/

/* BENVENUTO.PHP */

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

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

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

/* Sezione superiore  */
.welcome-section {
  background-color: #073f64; /* Blu più chiaro */
  position: relative;
  padding: 40px 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%);
    padding: 50px 0px;
}

.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%);
}
*/

.welcome-section img {
    position: absolute;
    top: -14px;
    right: 31%;
    width: 290px;
    transform: translateX(60%);
}

/* Sezione pulsanti */
.sezione-pulsanti {
    padding: 20px 0;
    text-align: center;
    position: relative;
    background: #003354;
}

.sezione-pulsanti.back-sezione-pulsanti {
    padding: 20px 0;
    background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
    max-width: 95%;
    border-radius: 10px;
    margin-top: 67px;
}

.sezione-pulsanti.invito-sezione-pulsanti {
    background: none;
}

.btn-crea-lega {
  border-radius: 50px;
  padding: 15px 15px;
  font-weight: bold;
  width: 230px;
  max-width: 350px;
  margin-bottom: 0;
  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;
  margin: 10px 0;
}

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

.benvenuto-text {
  color: #2F2B2C;
  font-size: 18px;
}

/* 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 .welcome-section img {
    position: absolute;
    /*top: -20px;*/
    top: 2px;
    right: 40%;
    width: 290px;
    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;
  color: #221E1F;
}

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

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

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

.button-pill {
    padding: 14px 0;
    text-align: center;
    border-radius: 26px;
    background-color: #009aff;
    color: #221E1F;
    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-color: #009aff;
    color: #fff;
    border: solid 1px;
    border-color: #0d6efd;
    box-shadow: inset 0px 0px 29px -4px #00718b;
}

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

.benvenuto-crea .form-control {
    width: 50%;
    background: #ffffff;
    border: solid 2px;
    border-color: #3786fd;
    color: #000000;
    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%);
}*/

.benvenuto-fatto .welcome-section img {
    position: absolute;
    top: -25px;
    right: 30%;
    width: 270px;
    transform: translateX(60%);
    z-index: 10;
}

/*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;
}

.partecipanti-lega {
    background: #003354;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 1rem;
}
.user-list {
  background: #003354;
}

/* FINE LEGA-UTENTI.PHP */

/*LEGA-INVITO.PHP*/

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

}

.invite-text p {
    width: 250px;
    color: #ffffff;
    font-weight: bold;
}

.back-container {
  background: linear-gradient(
      90deg,
      #55c7cb 0%,
      #9dbbe1 48%,
      #236f83 100%
  );
}

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

.mascot-container.mascotte-invito {
    top: 2px;
}

.sezione-testo {
    background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
    margin-top: 20px;
    border-radius: 20px;
}

/*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 {
    background-color: #cecece4d;
}

.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: 250px;
    border-radius: 20px;
}

.badge-dim {
    width: 64px;
}

.badge-dim.sponsor-dim {
  width: 56%;
}

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

/*HOME-LEGA.PHP*/

/*.stadium-background {
    background:
    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%), 
    
    radial-gradient(circle at 50% 55%, 
    rgba(120, 220, 255, 0.25) 7%, 
    rgba(120, 220, 255, 0.00) 55%), 
    
    linear-gradient(to bottom, #0A4B72 0%, #043253 45%, #021b2d 100%);

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

.stadium-background {
    background:
      radial-gradient(ellipse 32% 58% at 12% 93%, rgba(45, 0, 55, 0.78) 0%, rgba(22, 0, 42, 0.58) 32%, rgba(22, 0, 42, 0) 70%),
      radial-gradient(ellipse 34% 48% at 37% 73%, rgba(0, 185, 190, 0.58) 0%, rgba(0, 135, 175, 0.34) 38%, rgba(0, 115, 170, 0) 73%),
      radial-gradient(ellipse 37% 66% at 96% 45%, rgba(176, 222, 230, 0.7) 0%, rgba(116, 181, 214, 0.46) 34%, rgba(47, 110, 190, 0) 74%),
      linear-gradient(61deg, rgba(255, 255, 255, 0) 0 29%, rgba(255, 255, 255, 0.13) 30%, rgba(255, 255, 255, 0.33) 44%, rgba(255, 255, 255, 0.05) 56%, rgba(255, 255, 255, 0) 57%),
      linear-gradient(236deg, rgba(255, 255, 255, 0) 0 31%, rgba(255, 255, 255, 0.17) 39%, rgba(255, 255, 255, 0.3) 51%, rgba(255, 255, 255, 0.06) 62%, rgba(255, 255, 255, 0) 63%),
      radial-gradient(ellipse 40% 78% at 51% 2%, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0) 72%),
      linear-gradient(112deg, #070725 0%, #10295f 29%, #0c7da1 54%, #174ba6 74%, #2f478f 100%);
    box-shadow:
      inset 0 -2px 0 rgba(255, 255, 255, 0.86),
      inset 0 0 110px rgba(0, 0, 0, 0.32);
}

i.bi.bi-chevron-right.fs-1.text-primary::before,
i.bi.bi-chevron-left.fs-1.text-primary::before{
    color: #fff;
}

.table-name {
    margin: 45px 0;
    color: #2F2B2C;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

.table-name .text-secondary {
    color: #2F2B2C !important;
    font-weight: bold;
    font-size: 14px;
}

.mascotte-wrapper {
    position: relative;
}

.mascotte-table {
    position: absolute;
    top: -78px;
    right: -62px;
    width: 129px;
}

.table-position {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    padding: 0 68px 0 40px;
    margin: 0;
    color: #000;
}

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

.btn-formation.formazione-incompleta {
    background: rgb(255, 193, 7);
    backdrop-filter: blur(5px);
    color: #fff;
}

.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;
}

.incontri-ultimi {
  font-weight: bold;
  color: #2F2B2C;
}

.incontri-ultimi span {
  font-size: 12px;
}

.match-points {
  font-weight: bold;
  color: #2F2B2C;
  font-weight: bold;
}

.match-total {
  font-weight: bold;
  color: #2F2B2C;
  font-size: 12px;
}

.giornata-successiva {
  font-weight: bold;
  color: #2F2B2C;
}

.giornata-successiva-subtext {
  font-weight: bold;
  color: #2F2B2C;
  font-size: 12px;
}

.incontri-ultimi-card {
  background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
  border-radius: 20px;
  padding: 10px;
  margin: 10px 0;
}

.icon-card {
  color: #2F2B2C;
}

.card-ultimi-text {
  font-size: 12px;
  font-weight: bold;
  color: #2F2B2C;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*FINE HOME-LEGA.PHP*/

/*LEGA FORMAZIONE CREA*/

.formazione-crea .contenitore-pagina {
  padding: 0;
}

.pagina-bg {
  background: linear-gradient(
    90deg, 
    #55c7cb 0%, 
    #9dbbe1 48%, 
    #236f83 100%
  );
  padding: 20px;
}

#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);
}

/* Tribuna */

.card-tribuna {
    background: rgba(3, 29, 51, 0.75);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.card-tribuna .card-header {
    background: linear-gradient(90deg, rgba(0, 39, 78, 0.9) 0%, rgba(3, 29, 51, 0.95) 100%);
    border-bottom: 1px solid rgba(85, 199, 203, 0.2);
    color: #8ce4ff;
    padding: 12px 18px;
}

.griglia-tribuna-giocatori {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.riga-giocatore-tribuna {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}

.riga-giocatore-tribuna:last-child {
    border-bottom: none;
}

.riga-giocatore-tribuna:hover {
    background: rgba(255, 255, 255, 0.04);
}

.riga-giocatore-tribuna .nome-tribuna {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.riga-giocatore-tribuna .nome-tribuna:hover {
    color: #64b5f6;
}

.badge-ruolo-mini {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    margin-right: 8px;
    background: #000;
    flex-shrink: 0;
}

.tribuna-vuota {
    text-align: center;
    padding: 25px 15px;
    color: #94a3b8;
    font-size: 0.88rem;
    font-style: italic;
}

/* 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;
}


/*FINE LEGA FORMAZIONE CREA*/

/*LEGA DETTAGLIO GIORNATA*/




.player-name.dettaglio-player {
    font-size: 0.95rem;
    margin: 0 10px;
    display:flex;
    align-items: center;
    color:#221E1F;
}

.player-score {
    font-weight: bold;
    color: #8bb1cf;
    font-size: 1.1rem;
}

/* Footer Punti */
.total-points-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #8bb1cf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px auto;
}

.total-points-circle.global-circle {
    background-color: #ffffff;
    color: #221E1F;
    border: 4px solid #221E1F;
}

.btn-custom {
    background-color: #464A4B;
    color: white;
    border-radius: 0;
    padding: 10px 30px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8rem;
    border: none;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active {
  background-color: #004e97;
  border: none;
}

/* Scoreboard Header */
.scoreboard-header {
    padding: 40px 0;
    text-align: center;
}

.score-display {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0;
}

@media screen and (max-width: 500px) {
    .score-display {
        font-size: 2.2rem;
    }
    
}

.points-sub {
    font-size: 0.8rem;
    color: #ffffff;
}

/* Formazioni List */
.formation-row {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    align-items: center;
}

/* Cerchi Ruolo */
.role-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid currentColor;
    background: #fff;

}

.maglia-container {
    position: relative;
}

.icona-evento {
    width: 30px;
    margin-right: 5px;
    margin-top: 8px;
}

span.small {
    max-width: 84px;
    width: 100%;
}


.formation-list {
  background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
}

.dettaglio-punti {
    color: #242224;
}

.malus-card {
  background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
}

.malus-card .malus-text,
.point-color {
  color: #242224;
}

/*FINE LEGA DETTAGLIO GIORNATA*/

/*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*/

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

.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: transparent; 
  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;
}

.dettaglio-giornata .role-a { border: 1.5px solid #00ff00; color: #00ff00; }
.dettaglio-giornata .role-c { border: 1.5px solid #ffff00; color: #ffff00; }
.dettaglio-giornata .role-d { border: 1.5px solid #00aaff; color: #00aaff; }
.dettaglio-giornata .role-p { border: 1.5px solid #ff00ff; color: #ff00ff; }

.dettaglio-giornata .player-name {
    font-size: 0.95rem;
    margin: 0 10px;
    display:flex;
    align-items: center;
    color: #2F2B2C;
    font-weight: bold;
}

/* Footer Punti */
.dettaglio-giornata .total-points-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #2F2B2C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px auto;
    color: #2F2B2C;
}

.dettaglio-giornata .btn-custom {
    background-color: #0084ff;
    color: white;
    border-radius: 50px;
    padding: 10px 30px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8rem;
    border: none;
}
/* Scoreboard Header */
.dettaglio-giornata .scoreboard-header {
    padding: 40px 0;
    text-align: center;
}

.dettaglio-giornata .score-display {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0;
}

@media screen and (max-width: 500px) {
    .dettaglio-giornata .score-display {
        font-size: 2.2rem;
    }
    
}

.dettaglio-giornata .points-sub {
    font-size: 0.8rem;
    color: #ffffff;
}

/* Cerchi Ruolo */
.dettaglio-giornata .role-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid currentColor;
    background: #000;
}

.dettaglio-giornata .icona-evento {
    width: 30px;
    margin-right: 5px;
    margin-top: 8px;
}

.dettaglio-giornata span.small {
    max-width: 84px;
    width: 100%;
}

.dettaglio-giornata .btn-custom:hover {
    background-color: #004e97;
}

/*FINE LEGA-DETTAGLIO-GIORNATA*/

/*lega-unisciti*/

/*fine lega unisciti*/

.unisci-back {
  background: linear-gradient(
    90deg,
    #55c7cb 0%,
    #9dbbe1 48%,
    #236f83 100%
  );
  padding: 20px 0;
}

h2.neon-title {
  color: #221E1F;
  font-weight: bold;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-label.form-title {
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #a8a8a8;
  padding: 5px 10px;
}

.unisci-subtitle {
  color: #ffffff;
  font-weight: bold;
}

.role-a { border: 1.5px solid #00ff00; color: #00ff00; }
.role-c { border: 1.5px solid #ffff00; color: #ffff00; }
.role-d { border: 1.5px solid #00aaff; color: #00aaff; }
.role-p { border: 1.5px solid #ff00ff; color: #ff00ff; }

/*login*/

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

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


/*fine login*/

/*LEGA SQUADRE*/
.lega-container {
    background-color: #031d33;
    color: white;
}

.bg-squadre {
    background-color: #031d33;
    min-height: 100vh;
    color: white;
}

.selezione-campionato-wrapper {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    padding-top: 10px;
}

.selezione-campionato-wrapper .unselected {
    background-color: #000000 !important;
    color: white;
}

.selezione-campionato-wrapper .campionato-selezione {
    border-radius: 50rem;
    padding: 10px 18px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 11px;
    min-width: 260px;
    text-align: center;
}

.squadra-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #011220;
  border-bottom: solid 1px grey;
  color: white;
}

/* Header riga squadra */
.squadra-row {
    background: linear-gradient(
        90deg,
        #55c7cb 0%,
        #9dbbe1 48%,
        #236f83 100%
    );
    border-bottom: 2px solid #031d3324;
    padding: 15px;
    display: flex;
    align-items: center;
}

.squadra-row:hover {
    background-color: #02243f;
}

/* Cerchio dei Punti */
.punti-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 129, 207, 0.3);
}

.nome-squadra { font-weight: bold; font-size: 1.05rem; color: #fff; }
.nome-utente { color: #0081cf; font-size: 0.75rem; font-weight: 500; }

/* Evidenziatore per la squadra dell'utente loggato */
.squadra-propria {
    border-left: 4px solid #f1b40e;
}

/* Avatar circolare con bordo */
.avatar-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #0081cf;
    margin-right: 15px;
}

/* Cerchio dei Punti (Blu neon) */
.punti-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0081cf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-left: auto;
}

.nome-squadra.custom-dark {
    color: #221E1F;
}
.nome-squadra { font-weight: bold; font-size: 1.1rem; }
.nome-utente { color: #221E1F; font-size: 0.75rem; }

/*ricerca partecipanti*/

.riquadro-conteggio-partecipanti {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg,#55c7cb 0%,#9dbbe1 48%,#236f83 100%);
    /*border: 1px solid #105aa0;*/
    color: #000;
    padding: 7px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

.filtro-ricerca-contenitore {
    max-width: 500px;
    margin: 0 auto;
}

.box-ricerca-squadre {
    position: relative;
    display: flex;
    align-items: center;
}

.box-ricerca-squadre .icona-ricerca {
    position: absolute;
    left: 15px;
    color: #008bec;
    font-size: 1rem;
    pointer-events: none;
}

.box-ricerca-squadre .campo-ricerca-input {
    width: 100%;
    height: 46px;
    padding: 0 40px 0 42px;
    border-radius: 25px;
    border: none;
    background-color: #ffffff;
    color: #000000;
    font-size: 0.92rem;
    font-weight: 500;
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.box-ricerca-squadre .campo-ricerca-input:focus {
    border-color: #008bec;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.box-ricerca-squadre .pulsante-reset-ricerca {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    color: #888888;
    font-size: 1.1rem;
    display: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.box-ricerca-squadre .pulsante-reset-ricerca:hover {
    color: #333333;
}

.avviso-nessun-risultato {
    display: none;
    text-align: center;
    padding: 35px 15px;
    color: #94a3b8;
    font-weight: 600;
    background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
    border-radius: 15px;
    margin: 10px 0;
}

/*FINE LEGA SQUADRE */

/*LEGA-SQUADRA-ROSA*/

.player-name {
    font-size: 0.95rem;
    margin: 0 10px;
    display:flex;
    align-items: center;
    text-align: start;
}

.player-name.player-rosa {
  color: #2F2B2C;
  font-weight: bold;
}

.role-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid currentColor;
    background: transparent;
    background-color: #000;
}

.maglia-container {
    position: relative;
}

.scoreboard-header {
    padding: 40px 0;
    text-align: center;
}

.giocatori-rosa {
  align-items: center;
  border-bottom: 1px solid rgba(108, 117, 125, 0.1);
  background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
  width: 100%;
  margin: auto;
}

/*FINE LEGA-QUADRA-ROSA*/



/*LEGA CALENDARIO*/

.calendar-icon::before {
  color: #2F2B2C;
}

/* Accordion Custom */ 
.accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: #000c1a 3px solid;
}
.accordion-item:last-of-type {
    background-color: transparent;
    border: none;
}

.accordion-header {
    background-color: #000c1a !important;
    padding: 0;
}

.container-tutta-pagina {
    padding: 0px;
}

.accordion-body {
    border-bottom: 5px solid #000c1a;
    background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
}

.accordion-body:hover {
    background: linear-gradient(90deg, #388588 0%, #9dbbe1 48%, #184a57 100%);
}

.accordion-body:last-child {
    border-bottom: none;
}

/* Bottone dell'accordion (Header Giornata) */
.accordion-button {
    background-color: #000c1a !important;
    color: white !important;
    box-shadow: none !important;
    border: none;
    padding: 15px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Rimuove l'icona standard di Bootstrap e mette quella dell'immagine */
.accordion-button::after {
    filter: invert(1); /* Rende la freccia bianca */
}

.accordion-button:not(.collapsed) {
    background-color: #000c1a !important;
    border-bottom: 1px solid #003366;
}

.div-partita {
    justify-content: space-around;
    color: #fff;
    padding-top: 10px;
}

.result-circles { 
  display: flex; 
  gap: 8px; 
}

.circle {
    width: 32px; 
    height: 32px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold; 
    color: white;
}

.win { background-color: #28a745; }
.lose { background-color: #dc3545; }
.draw { background-color: #f39c12; }
.globale { background-color: #0088d4; }

.team {
    width: 30%;
    text-align: center;
    color: #221E1F;
}

.calendar-vs {
    width: 40%;
    text-align: center;
    color: #221E1F;
}

.empty-day {
  color: #221E1F;
}

.calendario-vuoto {
  background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
  /*border: 1px dashed rgba(0, 153, 255, 0.2);*/
}

.vuoto-text {
  text-transform: uppercase;
  font-weight: bold;
  color: #221E1F;
}

/*FINE LEGA CALENDARIO*/

/*LEGA CLASSIFICA/LEGA GLOBALE CLASSIFICA*/

.giornate-scroll {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px;
    background: #031018;
}

.btn-giornata {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #007bff;
    color: white;
    font-weight: bold;

}

.btn-giornata.active {
    background: #28a745;
}

.giornata-giocata {
    background: #007bff;
}

/* giornata non ancora giocata */
.giornata-non-giocata {
    background: #444;
    opacity: 0.6;
}

.classifica-item {
    align-items: center;
    border-bottom: solid 1px #2faafc3b;
    background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
}

.nav-link.classifica-link {
  background-color: #69BAE7;
  color: #fff;
}

.posizione-reale,
.punteggi-classifica {
  color: #221E1F;
  font-size: 16px;
  font-weight: bold;
}

/* Cerchi personalizzati con classi Bootstrap */
.circle-pt {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

/* Righe alternate */
.row-classifica:nth-child(even) { background-color: #002140; }
.row-classifica:nth-child(odd) { background-color: #001a33; }

/* Header classifica */
.bg-fanta-blue { background-color: #031018 }
.giornate-scroll {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px;
    background: #031018;
}

.bg-fanta-blue.bg-fanta-blue-giornate {
    background-color: #007bff;
}

.btn-giornata {
    min-width: 40px;
    heIght: 40px;
    border-radius: 50%;
    border: none;
    background: #007bff;
    color: white;
    font-weight: bold;
}

.btn-giornata.active {
    background: #28a745;
}

.giornata-giocata {
    background: #007bff;
}

/*FINE LEGA CLASSIFICA/LEGA GLOBALE CLASSIFICA*/

/*LEGA-MODIFIACA-ROSA*/

.lega-modifica-rosa .stat-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #001220;
    border-bottom: 1px solid #003d5b;
    color: white;
    font-family: 'Open Sans', sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 2%;
}

.lega-modifica-rosa .nav-link.background-custom {
    color: #000000;
    background-color: #cccccc;
}

.lega-modifica-rosa .nav.nav-border {
    border-bottom: 1px solid #7e7e7e;
}

.lega-modifica-rosa .nav-link.background-custom.active {
    background: #69BAE7;
    color: #ffffff;
}

.lega-modifica-rosa .vegas-badge {
    background-color: #89cff0;
    color: #001220;
    border-radius: 50px;
    padding: 4px 12px;
    font-weight: bold;
    min-width: 95px;
}

.lega-modifica-rosa .vegas-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.lega-modifica-rosa .vegas-label {
    font-size: 0.65rem;
    display: block;
    line-height: 1;
}

.lega-modifica-rosa .vegas-value {
    font-size: 1rem;
}

.lega-modifica-rosa .player-count-total {
    font-size: 1rem;
    font-weight: bold;
    color: #4db8ff;
}

.lega-modifica-rosa .role-item {
    text-align: center;
}

.lega-modifica-rosa .role-circle {
    width: 24px; 
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    margin: 0 auto 2px;
    flex-shrink: 0;
    position: relative;
}

.lega-modifica-rosa .role-circle::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: nowrap;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.lega-modifica-rosa .role-circle:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}

.lega-modifica-rosa .filter {
    background-color: #00274e;
    border: 1px solid #004a6e;
}

.lega-modifica-rosa .color-lable {
    color: #ffffff;
}

.lega-modifica-rosa .filter .form-select,
.lega-modifica-rosa .filter .form-control {
    background-color: #69BAE7;
    border-color: #4daed8;
    color: #ffffff;
    border-radius: 5px;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    color: var(--bs-body-color);
    -webkit-appearance: none;
}

.lega-modifica-rosa .filter .form-select:focus,
.lega-modifica-rosa .filter .form-control:focus {
    background-color: #69BAE7;
    border-color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
}

.lega-modifica-rosa .clean-filter {
    background: #ffffff;
    color: #000000;
    box-shadow: inset 0px 0px 8px 0px gray;
}

.lega-modifica-rosa .player-list {
    background-color: #00274e;
    border: 1px solid #004a6e;
}

.lega-modifica-rosa .player-info {
    width: 100%;
    color: #ffffff;
}

.lega-modifica-rosa .info-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lega-modifica-rosa .info-top .player-name {
    color: #1cb1fc;
    width: 120px;
    text-align: start;
    margin: 0;
}

.lega-modifica-rosa .info-top .role-circle {
    margin: 0 20px;
}

.lega-modifica-rosa .info-top .info-squod {
    font-size: 12px;
    line-height: 0.5rem;
    padding-bottom: 10px;
}

.lega-modifica-rosa .role-count {
    font-size: 0.65rem;
    color: #ffffff;
}

.lega-modifica-rosa .modal-body {
    color:black;
}

.lega-modifica-rosa .player-name {
    font-size: 1rem;
}

.lega-modifica-rosa .vegas-icon img {
    width: 30px;
}

.lega-modifica-rosa .info-value img {
    width: 15px;
    filter: invert(1);
}

/*
Per risolvere problema di allineamento con il number type nel filtro (1. e 2.)
*/
/* 1. Rimuove le freccette native di type="number" che allargano il campo */
.lega-modifica-rosa .filter input[type="number"]::-webkit-outer-spin-button,
.lega-modifica-rosa .filter input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.lega-modifica-rosa .filter input[type="number"] {
    -moz-appearance: textfield !important; /* Per Firefox */
    appearance: textfield !important;
}

/* 2. Forza il contenimento dentro la colonna della griglia */
.lega-modifica-rosa .filter .form-control,
.lega-modifica-rosa .filter .form-select {
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important; /* Fondamentale nei layout flex/grid di Bootstrap */
}

.badge-fuori-lista {
  margin-left: 20px;
}

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

    .lega-modifica-rosa .player-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .lega-modifica-rosa .player-name {
        font-size: 0.8rem;
        text-align: start;
        padding-bottom: 5px;
    }

    .lega-modifica-rosa .stat-bar {
        flex-direction: column;
    }

    .lega-modifica-rosa .vegas-badge,
    .lega-modifica-rosa .player-count-total {
        margin-bottom: 10px;
    }

    .badge-fuori-lista {
      margin-left: 0px;
    }

}

/*FINE LEGA-MODIFIACA-ROSA*/


/*LEGA CREA COMPETIZIONE*/

.crea-competizione .contenitore-pagina {
    padding: 0;
}

.competizione-form {
  background: #003354;
  padding-bottom: 20px;
}

.neon-title.crea-competizione-title {
    color: #fff;
    padding-top: 20px;
}

.btn-crea-competizione {
    border-radius: 50px;
    padding: 15px 15px;
    font-weight: bold;
    width: 100%;
    max-width: 320px;
    margin-bottom: 0;
    border: none;
    font-size: 1.1rem;
    background-color: #009aff;
    color: rgb(255, 255, 255);
    text-transform: none;
    font-size: 14px;
}

/*FINE LEGA CREA COMPETIZIONE*/

/*LEGA ELIMINAZIONE DIRETTA CLASSIFICA*/

/* Cerchi personalizzati con classi Bootstrap */
.eliminazione-diretta .circle-pt {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

/* Righe alternate */
.eliminazione-diretta .row-classifica:nth-child(even) { background-color: #002140; }
.eliminazione-diretta .row-classifica:nth-child(odd) { background-color: #001a33; }

/* Header classifica */
.eliminazione-diretta .bg-fanta-blue { background-color: #007bff }
.eliminazione-diretta .giornate-scroll {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px;
    background: #031018;
}

.eliminazione-diretta .btn-giornata {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #007bff;
    color: white;
    font-weight: bold;
}

.eliminazione-diretta .btn-giornata.active {
    background: #28a745;
}

.eliminazione-diretta .giornata-giocata {
    background: #007bff;
}

/* giornata non ancora giocata */
.eliminazione-diretta .giornata-non-giocata {
    background: #444;
    opacity: 0.6;
}


/*FINE LEGA ELIMINAZIONE DIRETTA CLASSIFICA*/


/*LEGA-CLASSIFICA*/
.lega-classifica .giornate-scroll {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px;
    background: #031018;
}

.lega-classifica .btn-giornata {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #007bff;
    color: white;
    font-weight: bold;
}

.lega-classifica .btn-giornata.active {
    background: #28a745;
}

.lega-classifica .giornata-giocata {
    background: #007bff;
}

/* giornata non ancora giocata */
.lega-classifica .giornata-non-giocata {
    background: #444;
    opacity: 0.6;
}

/*FINE LEGA CLASSIFICA*/

/*LEGA NOTIFICE*/

.notifica {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background .18s ease;
    cursor: pointer;
    background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
}

.notifica:hover {
    background: linear-gradient(90deg, #4b8b8d 0%, #9dbbe1 48%, #134653 100%);
}

.notifica-non-letta::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 10px;
    background: #0d6efd;
}

.notifica-title {
  padding: 10px 0;
  font-weight: bold;
  color: #000000;
}

.data-notifica {
    color: #2F2B2C;
    font-size: 0.75rem;
}

.testo-notifica {
    color: #2F2B2C;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.btn-riattiva-notifica {
  background-color: rgba(255, 255, 255, 0.15);
  color: #2F2B2C;
  border: 1px solid #2F2B2C;
}

/*FINE LEGA NOTIFICHE*/

/*NEWS*/

.news .testo-news {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Aumentato a 2 per dare un po' più di anteprima */
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #2F2B2C;
}
.news .badge-fonte {
    background-color: rgba(255, 255, 255, 0.15);
    color: #2F2B2C;
    border: 1px solid #2F2B2C;
}

.news .data-news {
  font-size: 0.75rem; 
  font-weight: 600;
  text-transform: uppercase;
  color: #2F2B2C;
}

.news .news-title{
  font-weight: bold;
  color: #2F2B2C;
}

.news .news-title-page {
  color: #2F2B2C;
  text-transform: uppercase;
}
/*FINE NEWS*/

/*REGOLAMENTO*/

/* Sfondo e coerenza stilistica */
.regolamento .bg-dark-fanta { background-color: #001a33; }
.regolamento .bg-card-fanta { background: #002140; border: 1px solid rgba(0, 153, 255, 0.1); }

/* Stili cartellini */
.regolamento .espulsione {
    width: 14px;
    height: 20px;
    background-color: #dc3545;
    border-radius: 2px;
    display: inline-block;
}
.regolamento .ammonizione {
    width: 14px;
    height: 20px;
    background-color: #ffc107;
    border-radius: 2px;
    display: inline-block;
}
.regolamento .icona-evento img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.regolamento #legendaPunti .legenda-punti-grid {
    row-gap: 0 !important;
}

.regolamento #legendaPunti .legenda-punti-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    column-gap: 12px;
    min-height: 44px;
    padding-bottom: 10px !important;
}

.regolamento #legendaPunti .legenda-punti-label {
    display: grid !important;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    min-width: 0;
}

.regolamento #legendaPunti .icona-evento,
.regolamento #legendaPunti .espulsione,
.regolamento #legendaPunti .ammonizione {
    justify-self: center;
    text-align: center;
}

.regolamento #legendaPunti .legenda-punti-valore {
    width: 48px;
    margin-right: 0 !important;
    text-align: center;
}

/* Area testo regolamento */
.regolamento .testo-regolamento {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 0.95rem;
}
.regolamento .testo-regolamento p { margin-bottom: 1rem; }

/* Box allegati */
.regolamento .allegato-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}
.regolamento .allegato-item:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

/*FINE REGOLAMENTO*/

/*JOIN*/

/* Card principale */
.card-minimal { background-color: #052643; border: 1px solid #0081cf; border-radius: 15px; padding: 25px; }

/* Lista dettagli stile tabella flat */
.details-list { background: rgba(0, 0, 0, 0.2); border-radius: 10px; padding: 10px 15px; }
.detail-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.detail-item:last-child { border-bottom: none; }
.detail-label { color: #00bcff; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; }

.join-row {
    background: linear-gradient(90deg, #55c7cb 0%, #9dbbe1 48%, #236f83 100%);
    padding: 20px 0;
}

.join-row h3,
.join-btn {
  color: #221E1F;
}

/*FINE JOIN*/

/* =========================================
   LEGA-MODIFICA-SQUADRA.PHP
========================================= */

.lega-modifica-squadra .contenitore-pagina {
    padding-bottom: 95px !important;
}

.lega-modifica-squadra .back-sezione-pulsanti {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Riquadro di Anteprima Dinamica */
.scheda-anteprima {
    background: rgba(0, 0, 0, 0.25);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 25px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    transition: all 0.3s ease;
}

.anteprima-titolo-squadra {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.anteprima-titolo-allenatore {
    color: #f0cd35;
    font-size: 0.95rem;
    font-weight: 600;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Contenitori e Campi Input */
.modifica-contenitore-campo {
    width: 100%;
    max-width: 440px;
}

.campo-input-riquadro {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    border: 2px solid #3786fd;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    text-align: left;
}

.campo-input-riquadro .form-control {
    width: 100%;
    margin-bottom: 4px;
    text-transform: none !important;
}

.campo-input-riquadro .form-control:focus {
    background-color: #f7fbff;
    border-color: #008bec !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.dettaglio-sotto-campo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contatore-caratteri {
    font-size: 0.75rem;
    font-weight: bold;
    color: #6c757d;
}

/* Pulsanti di Azione Affiancati */
.modifica-gruppo-pulsanti {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 24px auto 0;
    max-width: 440px;
    width: 100%;
}

.pulsante-azione-laterale {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 50px;
    padding: 13px 8px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
}

.pulsante-azione-laterale.pulsante-annulla {
    background-color: #4b5563;
    color: #ffffff;
    border: 1px solid #374151;
}

.pulsante-azione-laterale.pulsante-annulla:hover {
    background-color: #374151;
    color: #ffffff;
}

.pulsante-azione-laterale.pulsante-salva {
    background-color: #009aff;
    color: #ffffff;
    border: none;
}

.pulsante-azione-laterale.pulsante-salva:hover {
    background-color: #0077c7;
    color: #ffffff;
}

/* FINE LEGA-MODIFICA-SQUADRA.PHP */

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



/*QUERY*/
@media screen and (max-width: 1200px) {

  .mascot-container {
    right: 38%;
  }

}

@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;
  }*/

  .welcome-section {
    padding-left: 0;
  }

  .welcome-text {
    padding-left: 0;
  }

  .welcome-section img {
      top: 33px;
      right: 34%;
      width: 202px;
  }

  /*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 .welcome-section img {
      right: 34%;
      width: 214px;
      top: 34px;
  }

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

  /*fine lega-crea.php*/

  /*lega-crea-fatto.php*/

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

  .benvenuto-fatto .welcome-section img {
      top: 22px;
      right: 31%;
      width: 187px;
  }

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

  /*lega-invito.php*/

  .mascot-container {
      right: 34%;
      top: 221px;
  }

  .mascot-container.mascotte-invito {
      right: 34%;
      top: 3px;
  }

  /*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: transparent; 
    min-width: 40px;      /* larghezza fissa per allineamento */
    text-align: center;
  }

  .space {
    width: 30px;
  }

  /*fine lega-dettaglio-giornata*/
}

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

  .gestione-squadra-container {
      padding: 0 !important;
      max-width: 83%;
      margin: auto;
  }

  .tabellino-card {
      width: 83%;
  }

  .mascotte-table {
      top: -63px;
      right: -32px;
      width: 103px;
  }

  .table-position {
    padding: 0px 70px 0 60px;
  }

}


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

  .home-gestione,
  .recup-squadre {
    font-size: 18px;
  }

  .alert-section {
      font-size: 15px;
  }

}

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

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

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

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

  .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;
  }*/

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

  /*fine lega-crea.php*/

  /*lega-crea-fatto.php*/
  
  .benvenuto-fatto .text-wrapper h1 {
    margin-right: 0;
    text-align: center;
  }
  
  .benvenuto-fatto .welcome-section img {
    top: 32px;
    right: 34%;
    width: 170px;
  }
  /*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: 33%;
        top: 242px;
        width: 152px;
    }

    .mascot-container.mascotte-invito {
        right: 34%;
        top: 25px;
    }

  /*fine lega-invito.php*/

  /* lega-modifica-squadra.php */
  .pulsante-azione-laterale {
        font-size: 0.82rem !important;
        padding: 12px 4px !important;
        letter-spacing: -0.2px;
    }
    .pulsante-azione-laterale i {
        display: none;
    }
    /* fine lega-modifica-squadra.php */

}
