/* MENU */
.fs-menu {
  font-size: 22px;
}
.dropdown-menu.show {
  display: block;
  margin-top: 1rem;
  inset: -8px auto auto 0px !important;
}

.dropdown-toggle {
  white-space: inherit !important;
}

.voce-sottomenu :hover {
  color: #ffffff !important;
}

.voce-menu {
  color: #626262;
}

.voce-menu-small {
  color: #626262;
  border-bottom: 4px solid #626262;
}

.voce-menu:hover {
  color: #ffffff;
  border-bottom: 4px solid #ffffff;
}

.voce-menu-active {
  color: #ffffff;
  border-bottom: 4px solid #ffffff;
}

.menu-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: white;
}

/* FOOTER */

.content-newsletter {
  border-bottom: 2px solid #222222;
}

@media screen and (min-width: 768px) {
  .content-app {
    border-left: 2px solid #222222;
    border-radius: 30px 0px 0px 30px;
    border-bottom: 2px solid #222222;
  }

  .content-newsletter {
    border-right: 2px solid #222222;
    border-radius: 0px 30px 30px 0px;
  }
}

/* HERO AREA */
.border-news-hero-row {
  border-top: 2px solid #cbd902;
  border-bottom: 2px solid #cbd902;
}

.border-news-hero {
  border-right: 2px solid #cbd902;
  border-left: 2px solid #cbd902;
}
.border-menu {
  border-bottom: 2px solid #cbd902;
}

.border-live-score {
  border: 2px solid #cbd902;
}

.title-livescore {
  font-style: italic;
  font-size: xxx-large;
  font-weight: bolder;
}

.img-banner {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* NEWS HOME */

@media screen and (max-width: 992px) {
  .fs-4 {
    font-size: 1.2rem !important;
  }
  .icona-share {
    height: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .fs-4 {
    font-size: 1rem !important;
  }
  .icona-share {
    height: 1rem;
  }
}

.news-slide {
  font-size: 1.05rem;
}

.bg-img-news {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  aspect-ratio: 3/2 !important;
  width: 100%;
}

.bg-img-news-principale {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  width: 100%;
}



.clamp-titolo-news {
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  height: 46px;
  font-size: 22px;
  margin-bottom: 0.7rem;
}

.clamp-testo-news {
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  height: 100px;
  line-height: normal;
  font-size: 16px !important;
}

.clamp-titolo-3news {
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  height: 41px;
  margin-bottom: 0.5rem;
}

.categoria-news {
  font-size: 18px;
  padding-top: 0.8rem;
}
/* RICERCA RAPIDA */
.bg-ricerca {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  aspect-ratio: 1920 / 372;
  max-height: 15rem;
}
.accordion-button:not(.collapsed) {
  background-color: #002855;
  color: #fff;
}
.accordion-button {
  color: #002855;
  font-weight: bold;
}
a {
  color: #002855;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.accordion-item:first-of-type > .accordion-header .accordion-button {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* GOLD AREA */
.bg-gold-area {
  background: linear-gradient(180deg, #001848, #003366);
}

.gold-benefits li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #ffd700; /* Colore della linea */
}

.lista-benefit {
  justify-items: start;
}

@media screen and (max-width: 1200px) {
  .lista-benefit {
    justify-items: center;
  }
}

/* TITOLO PAGINA RICERCA  */

.bg-titolo-pagina {
  background-repeat: no-repeat !important;
  background-position: top !important;
  background-size: cover !important;
  background-color: #eaf0f8 !important;
}

.filtro-disciplina,
.filtro-disciplina-active {
  text-align: center;
  padding-right: 1rem;
  padding-left: 1rem;
  border-right: 1px solid #002855;
  transition: all 0.3s ease;
}

.filtro-disciplina-first,
.filtro-disciplina-first-active {
  text-align: center;
  padding-right: 1rem;
  padding-left: 1rem;
  border: 1px solid #002855;
  border-bottom: none;
  border-top: none;
  transition: all 0.3s ease;
}

.filtro-disciplina-first-active,
.filtro-disciplina-active {
  background: linear-gradient(to bottom, #5cdaf2, #eaf0f8);
}

.logo-filtro-disciplina {
  width: 2.5rem;
}

.filtri {
  background-color: #c5d0e1;
  width: calc(100% - 82px);
}
.filtri-titolo {
  background: #5cdaf2;
  border-top-left-radius: 13px;
}
.filtri select,
.filtri input {
  /*  width: 10rem; */
  line-height: 1;
  height: 30px;
}

.filtri .form-label {
  text-wrap: nowrap;
}

button.accordion-button.d-flex.jusitfy-content-between.bg-azzurro.collapsed {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

@media (max-width: 768px) {
  .filtro-disciplina,
  .filtro-disciplina-active {
    font-size: medium;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .filtro-disciplina-first,
  .filtro-disciplina-first-active {
    font-size: medium;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .filtro-disciplina-first-active,
  .filtro-disciplina-active {
    background: linear-gradient(to bottom, #5cdaf2, #eaf0f8);
  }

  .logo-filtro-disciplina {
    width: 2.3rem;
  }
  .row-discipline {
    justify-content: center;
  }

  .filtri {
    background-color: #c5d0e1;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .filtro-disciplina,
  .filtro-disciplina-active {
    font-size: small;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .filtro-disciplina-first,
  .filtro-disciplina-first-active {
    font-size: small;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .logo-filtro-disciplina {
    width: 2rem;
  }
}

.arrow {
  font-size: 2.5rem;
  color: #888;
}
.arrow-open {
  display: inline-block;
  transform: rotate(90deg); /* Ruota la freccia a 90 gradi */
  font-size: 2.5rem;
  color: #888; /* Cambia colore a piacere */
}

.voce-menu-sm:hover {
  color: #05ecff !important;
}

.voce-menu-sm {
  color: #00205c !important;
}

.cc-svg-arrow-caret-right {
  width: 12px;
  height: 20px;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  background-image: url('data:image/svg+xml;charset=utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 12 19.431" xml:space="preserve"><polygon fill="%2348D7F1" points="0,2.285 7.432,9.715 0,17.146 2.285,19.431 12,9.715 2.285,0"/></svg>');
}
.cc-svg-arrow-caret-left {
  width: 12px;
  height: 20px;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  background-image: url('data:image/svg+xml;charset=utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 12 19.431" xml:space="preserve"><polygon fill="%2348D7F1" points="0,2.285 7.432,9.715 0,17.146 2.285,19.431 12,9.715 2.285,0"/></svg>');
}

.form-control {
  font-size: 24px !important;
}

/* MODIFICHE 25/01/25 */
.content-logo-oblique {
  position: absolute;
  top: 0;
  left: -9px;
  bottom: 0;
  width: 21px;
  -webkit-transform: skew(-20deg);
  transform: skew(-20deg);
}

.myfitp-oblique-sx {
  position: absolute;
  top: 0;
  left: -29px;
  bottom: 0;
  width: 44px;
  -webkit-transform: skew(-20deg);
  transform: skew(-20deg);
}

.myfitp-oblique-dx {
  display: none;
}

@media (min-width: 1400px) {
  .myfitp-oblique-dx {
    display: block;
    position: absolute;
    top: 0;
    right: -8px;
    bottom: 0;
    width: 1.5rem;
    -webkit-transform: skew(-20deg);
    transform: skew(-20deg);
  }
}
.sfondo_menu_2 {
  background: #ccd900;
}

.voce-menu-sm:hover {
  border-bottom: 1px solid #cbd90038;
}

.voce-menu-sm {
  color: white !important;
  border-bottom: 1px solid #ccd900a8;
}

.scroll-voci-menu1 {
  height: 90vh;
  overflow-y: scroll;
}
.scroll-voci-menu {
  max-height: 50vh;
  overflow-y: scroll;
}
.menu-esploso-sm {
  position: fixed;
  top: 0;
  height: 100%;
}

@media (min-width: 992px) {
  .menu-esploso-sm {
    position: fixed;
    top: 0;
    right: 0;
    width: 40vh;
    height: 100%;
  }

  .scroll-voci-menu1 {
    height: 100vh;
    overflow-y: scroll;
  }

  .scroll-voci-menu {
    max-height: 87vh;
    overflow-y: scroll;
  }
}

.fs-menu {
  font-size: 18px;
}

@media (min-width: 1200px) {
  .fs-menu {
    font-size: 20px;
  }
}

#dynamic-top-menu .voce-menu-sup {
  font-size: 18px;
}

.bg-img-hero-principale {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  width: 100%;
  aspect-ratio: 21/10;
}

.img-banner {
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  place-content: end;
}

.bg-img-news-principale {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.logo-footer {
  max-width: 60%;
}

@media (min-width: 1200px) {
  .border-start-footer {
    border-left: 2px solid white;
  }
}

.img-logo {
  max-width: 100%;
}

@media (min-width: 1920px) {
  .contenitore-logo {
    width: 333px;
  }
  .img-logo {
    max-width: 95% !important;
  }
}

.content-category {
  text-transform: uppercase;
  font-size: 17px;
}

.content-category {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.categoria-news {
  font-size: 16px;
  padding-top: 0.8rem;
}

@media (min-width: 1400px) {
  .padding-container {
    padding-left: 37px !important;
    padding-right: 37px !important;
  }
  .padding-container-col {
    padding-left: 21px !important;
    padding-right: 21px !important;
  }
}

.clamp-titolo-first-news {
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  max-height: 52px;
  margin-bottom: 0.7rem;
  font-size: 26px !important;
}

@media (min-width: 576px) {
  .clamp-titolo-first-news {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    max-height: 58px;
    margin-bottom: 0.7rem;
    font-size: 30px !important;
  }
}

@media (min-width: 768px) {
  .clamp-titolo-first-news {
    -webkit-line-clamp: 3 !important;
    max-height: 101px;
    margin-bottom: 0.7rem;
    font-size: 35px !important;
  }
}

@media (min-width: 1200px) {
  .clamp-titolo-first-news {
    -webkit-box-orient: vertical !important;
    max-height: 115px;
    margin-bottom: 0.7rem;
    font-size: 40px !important;
  }
}

@media (max-width: 991px) {
  .bg-img-hero-principale {
    aspect-ratio: 3/2;
  }
}

/* clamp prima news dei blocchi */
.fs-2.fw-bold.text-uppercase.fst-italic {  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: calc(1.325rem + 0.9vw);
  max-height: calc((1.325rem + 0.9vw) * 3); /* 3 righe */
}