/* 
questo file serve solo per creare le nuovi classi
Le classi di bootstrap italia modificate sono nel file custom.css
 */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 206px;
}

.btn-custom-1 {
  font-family: "Avenir LT Std", sans-serif !important;
  padding: 12px 24px;
  background-color: #000000 !important;
  color: var(--colore-bianco) !important;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0px;
  border-radius: 0px;
  transition: opacity 0.3s;
}

.btn-custom-1:hover {
  opacity: 0.8;
}

.btn-custom-2 {
  font-family: "Avenir LT Std", sans-serif !important;
  background-color: var(--colore-bianco);
  color: var(--colore-text-base);
  padding: 6px 24px 2px 24px;
  border: 1px solid #d4d4d4 !important;
  opacity: 1;
  transition: all 0.3s;
}

.btn-custom-2.active {
  background-color: var(--colore-nero);
  color: var(--colore-bianco);
  opacity: 1;
}

.btn-custom-2:hover {
  background-color: var(--colore-nero);
  color: var(--colore-bianco);
  opacity: 0.8;
}

.btn-custom-3 {
  padding: 12px 16px;
  color: #000;
  background: #fff;
  border: 1px solid #000;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-custom-3:hover,
.btn-custom-3:focus,
.btn-custom-3:active {
  background: #000;
  color: #fff;
}

.btn-custom-3:focus-visible {
  outline: 2px dashed #000;
  outline-offset: 2px;
}

.hr-custom-1 {
  border: 1px solid #e5e5e5 !important;
  margin: 0;
  opacity: 1;
  width: 100%;
}

.custom-padding-top-40 {
  padding-top: 40px;
}
.custom-padding-top-80 {
  padding-top: 80px;
}
.custom-padding-top-120 {
  padding-top: 120px;
}

.custom-padding-bottom-40 {
  padding-bottom: 40px;
}
.custom-margin-bottom-40 {
  margin-bottom: 40px;
}
.custom-padding-bottom-50 {
  padding-bottom: 50px;
}
.custom-padding-bottom-80 {
  padding-bottom: 80px;
}
.custom-padding-bottom-120 {
  padding-bottom: 120px;
}

.custom-padding-navbar {
  padding-top: 40px;
  padding-bottom: 20px;
}

.card-evento {
  border: 0.5px solid #000000 !important;
}

.card-evento > .col-12:nth-of-type(1) {
  border-bottom: 1px solid #000000 !important;
}

.card-evento > .row > .col-12:nth-of-type(2) {
  /* border-bottom: 1px solid #e5e5e5 !important; */
  min-height: 3vh;
}

label.active {
  transform: translateY(-120%) !important;
}

#select_calendario {
  border: 0;
  border-bottom: 1px solid #d4d4d4;
  border-radius: 0;
  padding-left: 0;
  background-position: right 0.5rem center;
}

footer {
  background-color: var(--colore-bianco) !important;
}

.custom-affix-1 {
  top: calc(206px - 40px + 1px);
}

.masonry-custom-1 {
  column-count: 3;
  column-gap: 24px;
}

.masonry-custom-2 {
  column-count: 2;
  column-gap: 24px;
}

.linea-custom-1 {
  display: flex;
  align-items: center;
  margin: 0;
}

.linea-custom-1::after {
  content: "";
  height: 1px;
  width: 100%;
  background: #a3a3a3;
  margin-left: 0.5rem;
}

.img-footer-logo-custom {
  max-width: 28%;
  width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .img-footer-logo-custom {
    max-width: 50%;
  }

  .offcanvas-header {
    padding: 56px 16px 24px 16px;
  }

  .offcanvas-body {
    padding: 16px 40px;
  }

  .masonry-custom-1 {
    column-count: 2;
  }

  .custom-padding-navbar {
    padding-top: 43px;
    padding-bottom: 23px;
  }

  .custom-padding-5 {
    padding-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .custom-affix-1 {
    top: calc(182px - 40px + 1px);
  }

  .masonry-custom-1,
  .masonry-custom-2 {
    column-count: 1;
  }

  body {
    padding-top: 182px;
  }
}

/* articolo-dettaglio */
.nav-top-border {
  position: relative;
}

.nav-top-border:not(.ignore-me).nav-top-border-highlight::before,
.nav-top-border:not(.ignore-me):hover::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ff0022;
  z-index: 10;
}

/* audio */
.custom-audio-player {
  display: flex;
  align-items: center;
  background-color: #000;
  padding: 10px;
  width: 100%;
  color: white;
  font-family: monospace;
  margin-bottom: 10px;
}

.custom-audio-player audio {
  display: none;
}

.custom-audio-player .play-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.custom-audio-player .play-btn .icon {
  width: 32px;
  height: 32px;
}

.custom-audio-player .seek-bar {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  background: #444;
  margin: 0 10px;
  border-radius: 2px;
}

.custom-audio-player .seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.custom-audio-player .seek-bar::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}
/* audio */
/* articolo-dettaglio */

.plus-btn {
  width: 40px;
  height: 40px;
  display: inline-block;
  border: 1px solid #000;
  background: #fff url(../materiale/icone/plus-red.svg) center no-repeat;
  transition: background-color 0.2s, border-color 0.2s, background-image 0.2s;
}

.plus-btn:hover,
.plus-btn:focus,
.plus-btn:active {
  background: #000 url(../materiale/icone/plus-white.svg) center no-repeat;
  border-color: #000;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tracker-link-navbar a.active:not(.dropdown-item),
.tracker-link-navbar a:hover:not(.dropdown-item) {
  border-bottom: 1px solid #d4d4d4;
}

.custom-logo-style-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  max-height: 50vh;
  max-width: 25%;
  z-index: 1029;
  transform: translate(-50%, -50%) scale(1);
  filter: brightness(0) invert(1);
}

.custom-logo-style-1.active {
  animation: shrinkMove 0.75s ease forwards;
  z-index: 1;
}

.custom-logo-style-1.reverse {
  animation: shrinkMoveReverse 1s ease forwards;
}

@media (max-width: 1400px) {
  .custom-logo-style-1 {
    max-width: 30%;
  }
}
@media (max-width: 768px) {
  .custom-logo-style-1 {
    max-width: 35%;
  }
  .custom-padding-navbar,
  .custom-padding-img-menu {
    padding-top: 23px;
    padding-bottom: 23px;
  }
}
@media (max-width: 576px) {
  .custom-logo-style-1 {
    max-width: 40%;
  }

  .custom-affix-1 {
    display: none;
  }
}

@keyframes shrinkMove {
  0% {
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    top: -10%;
    transform: translate(-50%, 0) scale(0.1);
  }
}

@keyframes shrinkMoveReverse {
  0% {
    top: -10%;
    transform: translate(-50%, 0) scale(0.1);
  }
  100% {
    top: 50%;
  }
}

#navbar-custom {
  transition: opacity 0.3s cubic-bezier(0.64, 0, 0.78, 0) 0s;
}

.background-bianco.fixed-top.opacity-0 .tracker-link-navbar {
  display: none !important;
}

.card-evento a {
  text-decoration: none !important;
}
