#manichino {
  max-width: 1230px;
  font-family: "neue-haas-grotesk-display", sans-serif;
  margin-bottom: 64px;
}

g#manichino-capo1,
g#manichino-capo2,
g#manichino-capo3,
g#manichino-capo4,
g#manichino-capo5 {
  cursor: pointer;
}

.manichino-divisore {
  height: 1px;
  background-color: black;
  margin: 64px auto;
}

#manichino svg * {
  transition: all 0.3s ease-in;
}

#manichino-intestazione {
  display: flex;
  flex-direction: column;
  justify-items: center;
  /* display: none; */
}

.manichino-dividi {
  height: 1px;
  border-bottom: 1px solid black;
  width: 75px;
  margin: 16px auto;
}

#manichino-testo {
  font-size: 32px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0px;
  text-align: center;
  margin-top: 24px;
}

#manichino-cnt {
  display: flex;
  width: 100%;
  align-items: stretch;
  justify-content: space-between;
}

#manichino svg {
  min-height: 730px;
  max-height: 960px;
  height: 80vh;
}

#manichino-capi {
  width: calc(100% - 360px);
  min-height: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#manichino:not(.manichino-selezionato) .manichino-capo {
  opacity: 1;
}

#manichino:not(.manichino-selezionato) .manichino-marchio-composizione {
  /* opacity: 0; */
}

.manichino-capo:not(.manichino-cliccato):hover {
  opacity: 0.8 !important;
}

.manichino-selezionato .manichino-capo:not(.manichino-cliccato) {
  opacity: 0.3;
}

.manichino-colonna {
  display: flex;
  flex-direction: column;
  width: 210px;
  align-items: center;
  justify-content: space-between;
  /* margin-top: -48px; */
}

.manichino-marchio {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.manichino-marchio + .manichino-marchio {
  margin-top: 24px;
}

.manichino-marchio-nome {
  width: 75px;
  padding: 8 0;
  border-bottom: 1px solid black;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: center;
}

.manichino-marchio-prezzo {
  font-size: 50px;
  font-weight: 500;
  line-height: 65px;
  letter-spacing: 0em;
  text-align: center;
  position: relative;
}

.manichino-marchio-unita {
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: center;
  display: none;
}

.manichino-marchio-composizione {
  width: 100%;
  border: 1px solid black;
  padding: 8px;
  min-height: 75px;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0em;
  text-align: center;
}

.manichino-in-sconto::after {
  content: "";
  background-image: url("../img/isSconto.svg");
  width: 39.76px;
  height: 35px;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  display: block;
  right: -32px;
  top: 8px;
}

g#manichino-capo-5 {
  cursor: pointer;
}

#manichino-scontato {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: 0em;
  text-align: left;
  text-transform: uppercase;
}

@media only screen and (max-width: 830px) {
  .w-1020 {
    width: 100% !important;
  }

  #manichino svg {
    min-height: inherit;
    max-height: none;
    height: 100%;
  }

  #manichino-cnt {
    justify-content: center;
    background-image: url(../img/manichino/OUTFIT_sfondo.png);
    background-size: 140vw;
    background-position: center;
    background-repeat: no-repeat;
  }

  #manichino-capi {
    width: auto;
    height: calc(100vh - 90px);
  }

  .manichino-colonna {
    display: none;
  }

  /* .modal {
        display: block;
        position: fixed;
        z-index: 1;
        padding-top: 120px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(205, 205, 205);
        background-color: rgba(205, 205, 205, 0.6);
    } */

  .modal-aperto {
    display: flex !important;
  }

  .modal {
    position: fixed;
    z-index: 1;
    padding-top: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100vh - 50px);
    margin-top: 50px;
    overflow: auto;
    background-color: rgb(205, 205, 205);
    background-color: rgba(205, 205, 205, 0.6);
    display: none;
    align-items: center;
  }

  .modal_content {
    position: relative;
    background-color: #fff;
    margin: 30px auto 0;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    padding-bottom: 50px;
  }

  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {
      top: -300px;
      opacity: 0;
    }

    to {
      top: 0;
      opacity: 1;
    }
  }

  @keyframes animatetop {
    from {
      top: -300px;
      opacity: 0;
    }

    to {
      top: 0;
      opacity: 1;
    }
  }

  .modal_header {
    background-color: transparent;
    position: relative;
  }

  .modal_close {
    position: absolute;
    top: -15px;
    right: 0;
    text-align: right;
    color: #000;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 0;
    letter-spacing: 0.7px;
    display: flex;
    justify-content: end;
  }

  .modal_close span {
    font-size: 28px;
  }

  .modal_closeclose:hover,
  .modal_closeclose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  #manichino-testo {
    padding: 10px 0 20px;
    background-color: #fff;
    color: #000;
    text-align: center;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .modal_body {
    padding: 2px 16px;
    position: relative;
  }

  .swiper_manichino {
    margin-top: 0;
  }

  .swiper_manichino .swiper-slide {
    display: flex;
    flex-direction: column;
  }

  .swiper-pagination-manichino {
    bottom: -30px !important;
  }

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

  .manichino-marchio {
    display: flex;
    flex-direction: row;
  }

  .manichino_prima_col {
    width: 120px;
    padding-right: 10px;
  }

  .manichino_seconda_col {
    width: calc(100% - 125px);
  }

  .manichino-marchio-prezzo {
    color: #000;
    text-align: center;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    position: relative;
  }

  .manichino-marchio-scritta-euro {
    color: #000;
    text-align: center;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .manichino-marchio-nome {
    color: #000;
    text-align: center;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-bottom: none;
  }

  .manichino-marchio-composizione {
    width: 100%;
    border: 1px solid black;
    padding: 8px;
    min-height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0em;
    text-align: center;
  }

  .manichino-in-sconto::after {
    width: 25px;
    height: 20px;
    right: 15px;
    top: 59px;
  }

  .w-1020 {
    width: 100% !important;
  }
}

@media only screen and (min-width: 821px) {
  #manichino-capi {
    background-image: url(../img/manichino/OUTFIT_sfondo.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }

  #manichino_spiega {
    position: absolute;
    top: 20px;
    right: 70px;
    z-index: 50;
    width: 172px;
    height: 172px;
  }

  #manichino_spiega img {
    width: 172px;
    height: 172px;
  }
}
