::selection {
  color: #fff;
  background-color: #c31d24;
}

.header.header-color-dark,
.bg-dark-green {
  background: #012b10;
}

.header.header-color-dark-01,
.bg-dark-green-01 {
  background: rgba(1, 43, 16, 0.1);
}

.header.header-color-dark-02,
.bg-dark-green-02 {
  background: rgba(1, 43, 16, 0.2);
}

.header.header-color-dark-03,
.bg-dark-green-03 {
  background: rgba(1, 43, 16, 0.3);
}

.header.header-color-dark-04,
.bg-dark-green-04 {
  background: rgba(1, 43, 16, 0.4);
}

.header.header-color-dark-05,
.bg-dark-green-05 {
  background: rgba(1, 43, 16, 0.5);
}

.header.header-color-dark-06,
.bg-dark-green-06 {
  background: rgba(1, 43, 16, 0.6);
}

.header.header-color-dark-07,
.bg-dark-green-07 {
  background: rgba(1, 43, 16, 0.7);
}

.header.header-color-dark-08,
.bg-dark-green-08 {
  background: rgba(1, 43, 16, 0.8);
}

.header.header-color-dark-09,
.bg-dark-green-09 {
  background: rgba(1, 43, 16, 0.9);
}

.bg-black-green {
  background: #011d0b;
}

.bg-green-anaci {
  background: #039137;
}

.bg-red-anaci {
  background: #c31d24;
}

.text-red-anaci,
.text-red-anaci-shadow,
.text-red-anaci-shadow-dark,
.text-link-red-anaci {
  color: #c31d24 !important;
}

.text-red-anaci-shadow {
  text-shadow: 1px 1px 2px rgb(219, 122, 122);
}

.text-red-anaci-shadow-dark {
  text-shadow: 1px 1px 2px #2b0406;
}

.text-green-anaci,
.text-green-anaci-shadow,
.text-green-anaci-shadow-dark,
.text-link-green-anaci {
  color: #039137;
}

.text-green-anaci-shadow {
  /* text-shadow: 1px 1px 2px #63c085; */
  text-shadow: 1px 1px 2px #15291c;
}

.text-green-anaci-shadow-dark {
  text-shadow: 1px 1px 2px #14301e;
}

.text-gradient-anaci {
  background-image: linear-gradient(90deg, #e2031c 0%, #039137 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 992px) {
  .header[class*="header-color"]:not(.transparent-dark)
    .header-menu
    .nav
    .nav-item
    .nav-link:hover,
  .header[class*="header-color"]:not(.transparent-dark)
    .header-menu
    .nav
    .nav-item
    .nav-link:focus {
    color: #c31d24;
  }
}

@media (min-width: 768px) {
  .section.bg-image .container {
    padding: 100px 30px 300px 30px;
  }
}

.bg-fade-white-top:before {
  /* sfumatura bianca in basso */
  background-image: linear-gradient(to top, white, transparent 20%);
  /* overlay immagine di sfondo */
  background-color: rgba(255, 255, 255, 0.7);
  /* background-color: rgba(0, 0, 0, 0.1); */
}

@media (min-width: 992px) {
  .bg-fade-white-top:before {
    background-color: rgba(255, 255, 255, 0.7);
    /* background-color: rgba(0, 0, 0, 0.3); */
  }
}

.bg-image-anaci {
  position: relative;
  background-image: url(../images/decorazione-bz.png);
  background-position: center center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: contain;
  height: 358px;
  opacity: 0.8;
}

.bg-fade-anaci-top {
  position: relative;
  z-index: 1;
}

.bg-fade-anaci-top:before {
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to top,
    rgba(1, 43, 16, 1),
    rgb(255, 255, 255, 0.1)
  );
}

.button-anaci {
  border: 0;
  -webkit-box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
  box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
  background: #039137;
  color: white;
}

.button-anaci:hover,
.button-anaci:focus {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
  box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
  background: #c31d24;
  color: white;
}

.button-gradient-anaci,
.button-reveal-left-dark,
.button-reveal-right-dark {
  background-image: linear-gradient(90deg, #039137 0%, #54d483 100%);
  border: 0;
  -webkit-box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
  box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
  color: white;
}

.button-gradient-anaci:hover,
.button-gradient-anaci:focus {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
  box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
  opacity: 0.9;
  color: white;
}

.button-reveal-left-dark:hover,
.button-reveal-left-dark:focus,
.button-reveal-right-dark:hover,
.button-reveal-right-dark:focus {
  background-image: linear-gradient(90deg, #039137 0%, #54d483 100%);
  -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
  box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
  opacity: 0.9;
  color: white;
}

.button-circle.button-circle-gradient-anaci {
  background-image: linear-gradient(90deg, #039137 0%, #54d483 100%);
}

.button-xs {
  padding: 8px 15px;
  border-radius: 0.8rem;
  font-size: 0.8em;
  letter-spacing: -0.2px;
  text-transform: none;
}

.button-radius {
  border-radius: 1em;
}

.button-circle.button-circle-gradient-anaci:hover,
.button-circle.button-circle-gradient-anaci:focus {
  background-image: linear-gradient(90deg, #039137 0%, #54d483 100%);
}

hr.separator {
  border: 3px solid #e2031c;
  border-radius: 5px;
  margin: 0 auto 1rem auto;
  width: 100px;
  opacity: 1;
}

/* PARTNERS CAROUSEL */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  width: max-content; /*IMPORTANTE PERCHE' ALTRIMENTI I LOGHI SI SOVRAPPONGONO*/
  height: 80px;
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  margin: 0 40px;
  height: 80px;
}

/* ORGANIGRAMMA */
/****************/

.org-chart-node {
  border: #ccc solid 2px;
  border-radius: 10px;
  hyphens: auto; /*mando le parole a capo col trattino*/
}

/*alcuni browser non mandano a capo le parole maiuscole come i nomi,
per ovviare a questo metto tutti le parole in minuscolo nell'html e poi gli
rimetto la maiuscola coi css; in questo modo anche i nomi vengono troncati
e mandati a capo*/
.org-chart-node .cap {
  text-transform: capitalize;
}

.right-line {
  border-right: 2px #ccc solid;
  height: 4em;
}

.top-line {
  border-top: 2px #ccc solid;
}

.halved {
  width: 50%;
  float: left;
}
