/* 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;
  }
}

@media only screen and (max-width: 980px) {
  .col_display_none {
    display: none;
  }
}

@media only screen and (min-width: 821px) {
  .nascondi-se-desktop{
    display: none;
  }
}


/* RESPONSIVE MOBILE */

@media only screen and (max-width: 820px) {
  #backtop {
    left: initial;
    right: 4px !important;
  }

  .nascondi-se-mobile{
    display: none;
  }

  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{
    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: 20px;
    line-height: 24px;
    margin-top: 40px;
  }

  .scheda-pezzo-1-data {
    font-weight: 400;
    font-size: 18px;
    line-height: 16px;
    margin-top: 14px;
  }

  .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;
  } */
}