@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");
@import url(font/pf-venue.css);

:root {
  --grey: #d8d8d8;
  --red: #9d0000;
}
a {
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

body {
  color: black;
  font-family: "Jost", sans-serif;
  font-size: 19px;
  font-weight: 400;
  text-underline-offset: 3px;
}

.container-bigger {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

.pf-venue {
  font-family: "pf-venue", sans-serif;
}

.pointer {
  cursor: pointer;
}

.border-dashed {
  border: var(--bs-border-width) dashed var(--bs-border-color);
}

.ratio-5x6 {
  --bs-aspect-ratio: calc(6 / 5 * 100%);
}

.ratio-3x2 {
  --bs-aspect-ratio: calc(2 / 3 * 100%);
}

.ratio-5x4 {
  --bs-aspect-ratio: calc(4 / 5 * 100%);
}

.w-fit-content {
  width: fit-content;
}

.w-33 {
  width: 33.333%;
}

.w-90 {
  width: 90%;
}

.h-66 {
  height: 66.666%;
}

.my-2-5 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.mt-6 {
  margin-top: 80px !important;
}

.gy-6 {
  --bs-gutter-y: 4rem;
}

.start-25 {
  left: 25%;
}

.lh-custom {
  line-height: 1.2;
}

.list-custom ul {
  list-style: none;
  padding-left: 0;
}

/*.list-check li {
  display: flex;
  column-gap: 0.75rem;
  margin-bottom: 1rem;
}*/

/*.list-check li::before {
  content: "\f14a";
  font-family: "Font Awesome 5 Pro";
  font-weight: 500;
  font-size: 24px;
  background-color: #f0f0f0;
  border-radius: 50%;
  flex: 0 0 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
}*/

.list-check ul li {
    margin-bottom: 15px;
    color: inherit;
    padding-left: 59px;
    position: relative;
}

.list-check ul li::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "\f14a";
    font-family: "Font Awesome 5 Pro";
    font-weight: 500;
    font-size: 24px;
    background: #f0f0f0;
    padding: 1% 2% 1% 2%;
    border-radius: 50%;
}

.hov-underline a {
  text-decoration: none;
  transition: text-decoration 0.3s ease-in-out;
}

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

.border-grey {
  border-color: #707070 !important;
}

/* After - Before */

.swiper-button-next:after,
.card-news .hov-underline:after {
  font-family: "Font Awesome 5 Pro";
  content: "\f061";
  font-weight: 900;
  font-size: 24px;
}

.swiper-button-prev:after {
  font-family: "Font Awesome 5 Pro";
  content: "\f060";
  font-weight: 900;
  font-size: 24px;
}

/* Background */
.bg-none {
  background-color: transparent !important;
  background-image: none !important;
}

/* Button */
.btn-pill.bg-white,
.btn-pill.bg-black {
  box-shadow: none;
  transition: box-shadow 0.1s ease-in-out;
}

.btn-pill.bg-white:hover {
  box-shadow: 0 0 7px white;
}

.btn-pill.bg-black:hover {
  box-shadow: 0 0 7px black;
}

/* Colors */
.text-red {
  color: var(--red);
}

/* HEADER */

/*.home .header > div:first-of-type {
  height: 100vh;
  min-height: 650px;
}*/

.home .header .logo {
  max-width: 500px;
}

.home .intro .icon-container {
  max-width: 100px !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
}

.navbar-toggler-icon {
  background-image: none;
}

.navbar .nav-item.dropdown .dropdown-menu {
  opacity: 0 !important;
}

.navbar .nav-item.dropdown .dropdown-menu.show {
  display: flex !important;
  opacity: 1 !important;
}

.header .dropdown-item {
  position: relative;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
}

.header .dropdown-item::before,
.header .dropdown-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(transparent, #a6a6a6) !important;
  z-index: -1;
  opacity: 0;
  transition: all 0.4s ease-out;
}

.header .dropdown-item::before {
  top: 0;
  left: 0;
}

.header .dropdown-item::after {
  bottom: 0;
  right: 0;
}

.header .dropdown-item:hover::before,
.header .dropdown-item:hover::after {
  width: 200%;
  height: 200%;
  opacity: 0.6;
  transition: all 0.4s ease-out;
}

.header .dropdown-item:hover::before {
  top: -50%;
  left: -50%;
}

.header .dropdown-item:hover::after {
  bottom: -50%;
  right: -50%;
}

.breadcrumb-item.active {
  color: black;
  font-weight: bold;
}

.breadcrumb-item::after {
  float: right;
  padding-left: var(--bs-breadcrumb-item-padding-x);
  color: black;
  content: var(--bs-breadcrumb-divider, "/");
}

.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item.active::after {
  content: "";
}

.swiper-wrapper > .swiper-slide:nth-child(odd) .card-b-w,
.card-b-w-container > div:first-child .card-b-w {
  background-color: black;
  color: white;
}

.card-b-w-container > div:last-child .card-b-w {
  background-color: white;
}

.swiper-wrapper .card-b-w address::before,
.contatti address::before {
  content: "";
  display: block;
  width: 24px;
  height: 30px;
}

.swiper-wrapper > .swiper-slide:nth-child(odd) .card-b-w address::before {
  background: url(../img/icon-location.svg) no-repeat center center / contain;
}

.swiper-wrapper > .swiper-slide:nth-child(even) .card-b-w address::before,
.contatti address::before {
  background: url(../img/icon-location-black.svg) no-repeat center center /
    contain;
}

.contatti address::before {
  flex: 0 0 24px;
}

.swiper-button-next,
.swiper-button-prev {
  top: auto;
  bottom: 0;
  width: 45px;
  height: 45px;
  background-color: transparent;
  transition: all 0.3s;
}

.swiper-button-next {
  left: 51%;
}

.swiper-button-prev {
  left: 49%;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--grey);
}

.swiper-button-prev {
  transform: translateX(-100%);
}

.card-sponsor {
  width: 150px;
  height: 75px;
}

.card-sponsor.bigger {
  width: 260px;
  height: 120px;
}

.sponsor .card-sponsor {
  width: calc((100% / 2) - 0.75rem);
  height: auto;
}

.card-news .hov-underline:after {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid white;
  padding: 1rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 1.75rem;
  transition: right 0.3s ease-in-out;
}

.card-news .hov-underline:hover:after {
  right: 1.25rem;
}

.card-news .bg-lin-gradient {
  background-image: linear-gradient(to left, black 5rem, white 5rem);
}

.tigrotto .circle.smaller {
  width: 45px;
  height: 45px;
}

.tigrotto .circle.bigger {
  width: 90px;
  height: 90px;
}

.tigrotto-img {
  max-width: 605px !important;
}

.dati .rounded-circle {
  height: 116px;
  width: 116px;
  transform: translateY(25%);
}

.organigramma .omino {
  width: 80%;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
  background-color: black !important;
  color: white !important;
}

.time-line .pallini {
  left: 0.75rem;
}

.time-line .date {
  left: 0.1rem;
}

.time-line .pallino {
  width: 18px;
  height: 18px;
}

.time-line .btn-container {
  top: 95px;
}

.data-item {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.5s;
}

.data-item.active {
  text-decoration-color: black;
}

.date .data-item:nth-child(odd) {
  top: 100%;
}

.date .data-item:nth-child(even) {
  bottom: 100%;
}

.time-line .swiper.content .swiper-slide:not(.swiper-slide-visible),
.time-line .swiper.content .swiper-slide:not(.swiper-slide-fully-visible),
.time-line .swiper.content .swiper-slide:not(.swiper-slide-active),
.time-line .swiper.content .swiper-slide-prev {
  opacity: 0 !important;
}

.time-line .swiper.content .swiper-button-prev {
  left: 25%;
}

.time-line .swiper.content .swiper-button-next {
  left: 75%;
}

.time-line .gallery .swiper-scrollbar {
  opacity: 1 !important;
  height: 10px;
}

.time-line .gallery .swiper-scrollbar-drag {
  background-color: black;
}

.time-line .gallery .swiper-scroll.hiding {
  animation: fade-out 0.5s forwards !important;
}

.time-line .gallery .swiper-scroll:not(.d-none) {
  animation: fade-in 0.5s forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.time-line .gallery .zoom-icon {
  width: 100px;
  height: 100px;
}

.time-line .gallery .swiper-slide .animate {
  opacity: 0;
  transition: opacity 0.3s;
}

.time-line .gallery .swiper-slide:hover .animate {
  display: flex !important;
  opacity: 1;
}

.testimonianze .translate {
  transform: translateY(-80px);
}

.testimonianze .img-pallone {
  max-width: 150px;
  width: 25%;
}

.card-giocatore,
.card-staff {
  min-width: 150px;
  width: calc(50% - 0.5rem);
}
.card-giocatore .bg-stripes {
  background-image: linear-gradient(
    to right,
    white 5%,
    black 5%,
    black 15.4%,
    white 15.4%,
    white 20.6%,
    black 20.6%,
    black 31%,
    white 31%,
    white 36.2%,
    black 36.2%,
    black 46.6%,
    white 46.6%,
    white 51.8%,
    black 51.8%,
    black 62.2%,
    white 62.2%,
    white 67.4%,
    black 67.4%,
    black 78.8%,
    white 78.8%,
    white 84%,
    black 84%,
    black 95%,
    white 95%
  );
}

.card-staff .bg-stripes {
  background-image: linear-gradient(-30deg, white 40%, black 40%);
}

.squadra .card-b-w {
  width: 90%;
  min-width: 300px;
}

.swiperGallery .swiper-pagination-bullet {
  border: 1px solid var(--grey);
  height: 1rem;
  width: 1rem;
  background: white;
  opacity: 1;
}

.swiperGallery .swiper-pagination-bullet-active {
  background: black;
}

.swiperGallery .swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0;
  top: auto;
}

.swiperCalendar .partita:nth-of-type(odd) {
  background-color: var(--grey);
}

.swiperCalendar .swiper-pagination-bullet {
  width: 2rem;
  height: 2rem;
  display: inline-block;
  border: 1px solid var(--grey);
  background: white;
  opacity: 1;
}

.swiperCalendar .swiper-pagination-bullet-active {
  background: var(--grey);
}

.card-news .tag-argomento {
  right: 5.5rem;
}

.articoli .filters button:hover,
.articoli .filters button:focus,
.articoli .filters button.active {
  background-color: #707070;
  color: white;
}

.form label:not(.form-check-label) {
  display: none;
}

.form label.form-check-label {
  font-size: 13px;
  margin: 8px 0;
}

.form input:not(.form-check-input),
.form textarea {
  border-radius: 0;
  border-color: #707070;
  margin: 8px 0;
  font-size: 16px;
}

.contatti .mappa-btn {
  left: calc(24px + 1rem);
}

.form .form-control:focus {
  border: #707070;
  box-shadow: 0 0 0 0.25rem rgba(79, 83, 89, 0.25);
}

.dropdown-toggle::after {
    display: none !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #e8e8e8;
        --bs-table-bg-type: rgb(255 255 255 / 5%);
}

.table > :not(caption) > * > * {
        background-color: white;
}

td p{
    font-family: "Jost", sans-serif;
}

.swiperNews .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiperNews .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiperNews .swiper-pagination-bullet-active {
    background: #000 !important;
}

.img-cover-mw-100 {
    max-width: 100%;
    object-fit: cover;
}
