/* RESPOSIVE DESKTOP */
@media only screen and (max-width: 1539px) and (min-width: 821px) {
  .backgroundAdv .column_left{
    width: 640px;
  }

  .backgroundAdv .scheda-1 {
    flex-direction: column;
  }

  .backgroundAdv .scheda-1-numero {
    font-weight: 400;
    font-size: 80px;
    line-height: 90px;
    letter-spacing: 0px;
    text-align: right;
    color: #0D3F86;
  }

  header h1 {
    font-size: 120px;
    line-height: 110px;
  }

  :root .backgroundAdv {
      --larghezza-max: calc(100% - 50px);
  }
}

@media only screen and (max-width: 1260px) and (min-width: 821px) {
  body:not(.backgroundAdv) .column_left{
    width: 640px;
  }

  body:not(.backgroundAdv) .scheda-1 {
    flex-direction: column;
  }

  body:not(.backgroundAdv) .scheda-1-numero {
    font-weight: 400;
    font-size: 80px;
    line-height: 90px;
    letter-spacing: 0px;
    text-align: right;
    color: #0D3F86;
  }

  body:not(.backgroundAdv) header h1 {
    font-size: 120px;
    line-height: 110px;
  }

  body:not(.backgroundAdv) header .h1-cnt {
      max-width: 1040px;
  }

  :root body:not(.backgroundAdv) {
      --larghezza-max: calc(100% - 50px);
  }

  body:not(.backgroundAdv) .column_right{
    max-width: 320px;
    position: relative;
  }

  .scheda-pezzo-1-titolo, .scheda-pezzo-2-titolo {
    font-size: 20px;
    line-height: 25px;
  }

  .tabella-mentee{
    width: 100%;
  }
}

@media only screen and (max-width: 1024px) {
  #header-sticky-titolo {
      font-size: 32px;
      line-height: 30px;      
  }

  #header-sticky-cnt .gap-30{
    gap: 15px;
  }
}
@media only screen and (max-width: 980px) {
  .col_display_none {
    display: none;
  }
}

@media only screen and (max-width: 980px) and (min-width: 481px) {
  #header-sticky .video-bottone {
    display: none;
  }
}

@media only screen and (min-width: 821px) {
  .nascondi-se-desktop{
    display: none;
  }
}


/* RESPONSIVE MOBILE */

@media only screen and (max-width: 820px) {
  a:hover div{
    opacity: 1;
  }

  footer a:visited, footer a:focus, a:hover, footer a:active {
      color: #0F0F0F!important;
  }

  .tabella-mentee{
    width: 100%;
  }
  
  #backtop {
    left: initial;
    right: 4px !important;
  }

  header h1 {
    font-size: 65px;
    line-height: 100px;
    padding-left: 15px;
  }

    .two_columns {
    max-width: 100%;
    flex-direction: column;
    padding: 0 15px;
    margin-left: 0;
  }

  .column_left {
    width: 100%;
    max-width: 100%;
    padding-left: 0px;
    padding-right: 0;
  }

  .box-cnt:not(.tablet-flex-row){
    flex-direction: column;
  }
  
  .box-cnt-verticale{
    margin-top: 30px;
  }

  .box_crediti {
    width: 100%;
  }

  .box_crediti h5 {
    padding: 2vh 10px;
  }

  #footer_div {
    padding: 30px 10px;
  }

  #grafico-1{
    width: 100%;
    height: auto!important;
    aspect-ratio: 1 / 1.15; 
  }

  .scheda-1-titolo{
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
  }

  .scheda-1-numero{
    font-weight: 400;
    font-size: 75px;
    line-height: 120px;
  }

  .scheda-pezzo-1-occhiello{
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 2px;
    margin-top: 8px;
  }

  .scheda-pezzo-1-titolo{
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    margin-top: 14px;
  }

  .scheda-pezzo-1-firma {
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    margin-top: 40px;
  }

  .scheda-pezzo-1-data {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    margin-top: 4px;
  }

  .scheda-pezzo-2-occhiello{
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 2px;
  }

  .scheda-pezzo-2-titolo{
    font-weight: 500;
    font-size: 20px;
    line-height: 22px;
  }

  .scheda-pezzo-2-firma {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
  }

  .scheda-pezzo-2 {
      gap: 10px;
  }

  .scheda-pezzo-1, .scheda-pezzo-2 {
    padding: 10px 10px;
  }

  .scheda-pezzo-2 img {
      height: 110px;
  }

  .grafico-titolo {
    line-height: 26px;
    margin-bottom: 8px;
  }

  .grafico-spiega {
      line-height: 21px;
  }

  #grafico-2{
    width: 100%;
    height: auto!important;
    aspect-ratio: 1 / 1.15;
  }

  #grafico-3{
    width: 100%;
  }

  #virgolettati .swiper-slide{
    font-weight: 300;
    font-size: 28px;
    line-height: 32px;
  }

  .scheda-1 {
    padding: 15px 8px;
  }

  .sezione-titolo{
    font-size: 28px;
    line-height: 36px;
  }

  .sezione-catenaccio{
    font-size: 14px;
    line-height: 16px;
  }

  #parola-chiave-swiper .swiper-slide {
    padding: 28px 15px;
  }

  .persone-schede {
    flex-direction: column;
  }

  .persone-titolo{
    font-size: 22px;
    line-height: 24px;
  }

  #persone {
    padding-left: 15px;
    padding-right: 15px;
  }

  .sezione {
    padding: 30px 0;
  }

  .persone-mansione{
    font-size: 16px;
    line-height: 24px;
  }

  .persone-esperienza{
    font-size: 14px;
    line-height: 16px;
  }

  #video-swiper-cnt {
      width: 100%;
      margin-top: 20px;
      position: relative;
  }

  .video-bottoni {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  #video  .swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: 5px;
    left: auto;
  }

  #video  .swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: 5px;
    right: auto;
  }

  .column_left {
    padding-bottom: 0;
  }
  #bt-continua-a-leggere{
    font-weight: 800;
    margin-bottom: 40px;
  }

  #mostra-nascondi{
    display: none;
  }

  .mostra{
    display: block!important;
  }

  .persone-scheda {
    display: flex!important;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .app-riga {
    padding: 12px 4px;
  }
  .tabella-totale-mentee {
    top: -16px;
    right: 35px;
  }

  .mentor-mobile{
    padding-right: 38px;
  }

  .tabella-mentee thead{
    display: none!important;
  }

  .tabella-mentee tr {
    display: flex!important;
    flex-direction: column;
  }

  .tabella-mentee tr td:not(:last-child){
    border-bottom: none;
  }

  .tabella-mentee tr td:last-child{
    padding-bottom: 8px;
    margin-bottom: 4px;
  }

  .tabella-mentee th, .tabella-mentee td:not(.td-mostra-altre) {
      padding: 2px 0;
  }

  #lightbox-mentee,
  #lightbox {
    padding: 50px 0 0 0;
  }


  #lightbox-mentee > div,
  #lightbox > div {
    border-radius: 0;
  }

  #tabella-mentee tbody {
    overflow-y: scroll;
    height: calc(100vh - 300px);
  }

  .t-ricerca-testo {
    width: 100%
  }

  .lightbox-cnt {
    padding: 24px 8px 36px 8px;
  }
  .lightbox-cnt .tabella-ricerca {
    margin-left: 24px;
    margin-right: 24px;
  }

  #tabella-mentor {
    height: calc(100vh - 280px);
  }

  /* .tick-cnt .video-bottone {
    width: 280px;
    margin-left: auto;
    margin-right: auto;
  } */

}

@media only screen and (max-width: 820px) and (min-width: 481px) {
  .articoli{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .scheda-pezzo-principale-titolo {
    font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 38px;
    line-height: 42px;
    letter-spacing: 0%;
  }

  .nascondi-se-tablet{
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  .box-cnt.tablet-flex-row{
    flex-direction: column;
  }

  .nascondi-se-mobile{
    display: none;
  }

  #pezzi-swiper .swiper-slide {
    display: flex;
    justify-content: center;
  }
  #pezzi-swiper .scheda-pezzo-1-cnt{
    width: calc(100% - 60px);
  }

  #pezzi-swiper-cnt  .swiper-button-next, .swiper-rtl .swiper-button-prev {
      right: -10px;
      left: auto;
      top: 50%;
      transform: translateY(-50%);
      bottom: auto;
  }

  #pezzi-swiper-cnt  .swiper-button-prev, .swiper-rtl .swiper-button-prev {
      right: auto;
      left: -10px;
      top: 50%;
      transform: translateY(-50%);
      bottom: auto;
  }

  #header-title-nuovo {
    position: fixed;
    top: 50px;
    left: 0;  
  }

  #header-title-nuovo h1 {
    font-size: 32px;
    line-height: 32px;
    padding-left: 5px;
    padding-right: 0;
  }

  #header-title-nuovo img {
    height: 32px;
  }

  #menu-checkbox-cnt {
    transform: translate(-30px, 5px);
  }

  #menu-checkbox {
    display: none;
  }

  #menu-checkbox-cnt label {
    position: absolute;
    /* top: 50%; */
    right: 0;
    left: 0;
    display: block;
    width: 25px;
    height: 25px;
    /* margin: -30px auto 0 auto; */
    cursor: pointer;
  }

  #menu-checkbox-cnt label div {
    position: relative;
    top: 0;
    height: 3px;
    background-color: rgba(93, 120, 157, 1);
    margin-bottom: 5px;
    transition: 0.3s ease transform, 0.3s ease top, 0.3s ease width, 0.3s ease right;
    border-radius: 2px;
  }

  #menu-checkbox-cnt label div:first-child {
    transform-origin: 0;
  }

  #menu-checkbox-cnt label div:last-child {
    margin-bottom: 0;
    transform-origin: 30px;
  }

  #menu-checkbox-cnt label div:nth-child(2) {
    right: 0;
    width: 25px;
  }

  #menu-checkbox:checked + label div:first-child {
    transform: rotateZ(45deg);
    left: 4px;
  }

  #menu-checkbox:checked + label div:last-child {
      top: -20px;
      left: -5px;
      transform: rotateZ(-45deg);
  }

  #menu-checkbox:checked + label div:nth-child(2) {
    opacity: 0;
  }  

  .articoli {
      width: 100%;
      margin-top: 50px;
      padding-left: 15px;
      padding-right: 15px;
  }

  .scheda-pezzo-principale {
    display: flex;
    padding: 16px 20px;
    flex-direction: column;
  }
  .scheda-pezzo-principale img {
    width: 100%;
    height: auto;
  }

  .scheda-pezzo-principale-cnt {
    padding: 0 0 16px 0;
  }

  .scheda-pezzo-principale-titolo {
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    margin-top: 4px;
  }

  .scheda-pezzo-principale-occhiello {
    text-transform: uppercase;
    color: #4A4DC2;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 2px;
    margin-top: 8px;
  }
  
  #header-sticky-cnt {
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }

  #header-sticky-cnt div {
    flex-direction: column;
    max-width: 280px;
    width: 100%;
    gap: 0;
  }

  #header-sticky-cnt .video-bottone {
    width: 100%!important;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  #header-sticky-cnt a {
    width: 100%!important;
    max-width: 280px;
  }

  .header-selettore {
      padding-bottom: 4px;
      margin-bottom: 4px;
      border-bottom: 1px solid rgba(0,0,0,.2);
  }

  body:not(.overflow-y-hidden) .header-sticky-visibile {
    transform: translateY(50px)!important;
  }

  .navigazione-punti{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  .navigazione-punto{
      width: 8px;
      height: 8px;
      background-color: rgba(208, 217, 227, 1);
      position: relative;
      overflow: hidden;
      border-radius: 4px;
      transition: all .2s linear;
  }

  .navigazione-punto-sfondo{
      position: absolute;
      top: 0;
      background-color: rgba(13, 63, 134, 1);
      width: 100%;
      left: -100%;
      height: 8px;
      border-radius: 4px;
  }

  .navigazione-punto.navigazione-punto-attivo{
      width: 60px;
  }

  .navigazione-punto.navigazione-punto-attivo .navigazione-punto-sfondo{
      animation: navigazioneAnim var(--timer-hero) linear 0s 1 normal forwards;
  }
  @keyframes navigazioneAnim {
      0% {
          left: -100%;
      }
      100% {
          left: 0;
      }
  }
  

  #adv-MaxTicker {
    padding: 80px 0 20px!important;
  }

  .elementi-no-adv .articoli{
    margin-top: 150px!important;
  }

  .elementi-no-adv #header-title-nuovo {
      margin-top: 0;
      margin-bottom: 0;
  }
}