* {
  box-sizing: border-box;
  transition: 0.3s all ease-out;
}

*:focus {
  outline: none;
}

html,
body {
  scroll-behavior: smooth;
}

html {
  font-size: 20px;
}

/* 
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
*/

body {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  padding: 0;
  margin: 0;
  color: #0f0f0f;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  overflow-x: hidden;
}

article {
    margin-top: 50px;
    width: 100vw;
    height: calc(100vh - 50px);
    position: relative;
    overflow-y: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.nascondi {
  display: none!important;
}


/* COPERTINA */
  #copertina {
      display: flex;
      /* padding-left: 15%; */
      /* flex-direction: column; */
      justify-content: center;
      background-color: #0F0F0F;
      color: white;
      position: relative;
  }

  #copertina .meta {
      display: flex!important;
      justify-content: center!important;
      align-items: center!important;
      flex-direction: column!important;
      position: relative;
  }

  #copertina .meta-nera{
    background-image: url(../img/Trento_cover.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
  }

  .occhiello{
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
  }

  h1{
    font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
    font-weight: 700;
    font-size: 250px;
    line-height: 200px;
    letter-spacing: 0%;
    margin-block-start: 0;
    margin-block-end: 0;
  }

  h2{
    font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
    font-weight: 700;
    font-size: 86px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-block-start: 24px;
    margin-block-end: 24px;
  }

  .sommario{
    font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0%;
  }

/* SEZIONE */
  .sezione {
      background-color: #ef6261;
      color: #0f0f0f;
      padding-top: 5%;
      padding-bottom: 5%;
      padding-left: 15%;
      padding-right: 15%;
      display: flex;
      height: 100%;
      flex-direction: column;
      justify-content: flex-end;
  }

  .sezione-bilanciata{ 
    column-count: 2; 
    column-gap: 24px; 
    font-size: 26px;
    column-fill: balance;
    height: fit-content;
  }

  h3{
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: 0%;
  }
    
  .video-cnt,
  .grafico-cnt{
    position: relative;
    width: 100vw;
    height: 100%;
    background-color: #0f0f0f;
  }

  .grafico-box{
    width: 100vw;
    height: 100%;
    position: relative;
  }

  .grafico-cnt {
    padding: 0 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
  }

  .grafico-mappa-cnt {
      align-items: flex-start;
      flex-direction: row;
      justify-content: center;
      padding-top: 8vh;
      padding-bottom: 8vh;
      gap: 56px;
  }

  .grafico-doppio{
    gap: 36px;
  }

  .grafico-float-mappa {
    position: absolute;
    height: fit-content;
    top: 0;
    right: 0;
    height: 100%;
  }

  .grafico-float{
    position: absolute;
    width: 38%;
    max-width: 600px;
    height: fit-content ;
    top: 0;
    right: 0;
  }

  .flourish-embed {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /* height: 100%; */
  }
  
  .grafico-mappa-cnt .flourish-embed{
    justify-content: flex-start;
    width: auto;
  }

  .grafico-titolo{
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 100%;
    letter-spacing: 0%;;
  }
  .grafico-titolo-piccolo{
    font-size: 32px;
  }
  .grafico-spiega{
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-top: 16px;
    margin-bottom: 32px;
  }

  .box-video-cnt{
    position: absolute;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 48px 0;
    z-index: 1;
  }

  .box-video {
    width: 42%;
    color: white;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 24px;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 28px;
    /* line-height: 100%; */
  }

  .grafico-cnt .box-video {
      position: absolute;
      right: 0;
      bottom: 48px;
  }

  .video-js.vjs-fluid{
    width: 100%!important;
    height: 100%!important;
    background: black!important;
    max-width:none!important;
  }
  .vjs-control-bar,
  .vjs-big-play-button{
    display: none!important;
  }

  .video-replay{
    background-color: rgba(0, 0, 0, 0.75);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
  }

  .video-replay img{
    pointer-events: none;
    width: 100%;
    height: 100%;
  }

  .video-replay:hover{
    opacity: .7;
  }

  .swiper-pagination-bullet {
      width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));
      height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));
      display: inline-block;
      border-radius: 50%;
      background: #ffffff;
      opacity: .5;
  }
  
  .swiper-pagination-bullet-active {
      opacity: 1;
      background: #ffffff;
  }

  .swiper-button-next, .swiper-button-prev {
    width: 12px!important;
    height: 24px!important;
    color: #fff;
  }

  .swiper-button-next:after, .swiper-button-prev:after {
    font-size: 24px;
  }

  .swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled {
      opacity: 0;
  }

  .swiper-button-next{
    margin-right: 6px;
  }
  .swiper-button-prev{
    margin-left: 6px;
  }

  #crediti {
      display: flex;
      align-items: center;
      position: relative;
  }

  .meta{
    width: 50%;
    height: 100%;
    top: 0;
  }

  .meta-sfondo-rossa{
    left: 0;
    background-color: #ef6261;
  }
  .meta-sfondo-nera {
      right: 0;
      left: unset!important;
      background-color: #0f0f0f;
  }

  .meta-rossa{
    color: #0f0f0f;
    padding-left: 10vw;
    padding-right: 3vw;
  }
  .meta-nera{
    color: #ffffff;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 3vw;
  }
  .meta-nera .titolo{
    font-weight: 600;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 16px;
  }
  
  #crediti-cnt{
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    display: flex;
    width: 100%;
    align-items: flex-end;
    position: relative;
  }
  
  #crediti-cnt table{
    width: fit-content;
  }

  #crediti-cnt table tr td:first-of-type{
    padding-right: 30px;
  }

  a, a:visited, a:hover, a:active {
    color: black!important;
    font-weight: 500!important;
  }

  .slide-img {
    background-repeat: no-repeat;
    background-position: center;
    height: calc(100% - 30px)!important;
    background-size: contain;
  }

  .slide-video {
    height: calc(100% - 30px)!important;
  }

  #slide-17 .slide-img{
    background-image: url(../img/slide-17.webp);
  }

  #slide-20 .slide-img{
    background-image: url(../img/slide-20.webp);
  }

  #crediti-foto{
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    opacity: .5;
    position: absolute;
    left: calc(50% + 3vw);
    bottom: 40px;
    color: white;
  }

.crediti-finale {
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    margin-top: 16px;
    font-style: italic;
    font-size: 14px;
    line-height: 110%;
}

/* TOP BAR */

#header-fisso {
  z-index: 99999 !important;
}

.top-bar {
  height: 50px !important;
}

.faN {
  width: 30px !important;
  height: 30px !important;
}

/* ADV */

#adv-MaxTicker {
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  width: 100%;
  background-color: var(--colore-sfondo-adv) !important;
}

#ad-Mpu_Top {
  display: flex;
  justify-content: center;
  width: 320px;
}

#div-gpt-ad-MPU_Top>div {
  display: flex !important;
  justify-content: center;
}

#bordo_adv {
  padding: 10px 0;
}

#Mpu_Top {
  text-align: center;
  width: fit-content;
}

#ad-Mpu_Top div,
#adv-MaxTicker div {
  width: inherit !important;
}

.container_over_skin {
  width: 100%;
  z-index: 5;
  background-color: var(--colore-sfondo);
  /* overflow-x: hidden; */
}

.container_over_skin>* {
  z-index: 5;
  background-color: var(--colore-sfondo);
}

.shrinkable,
.backgroundAdv {
  background-color: var(--colore-sfondo)!important;
  position: relative;
  z-index: 1;
}

header.shrinkable {
  background-color:var(--colore-rosso)!important;
}

.advertising {
  display: flex;
  justify-content: center;
}

#div-gpt-ad-MaxTicker>div {
  display: flex !important;
  justify-content: center;
}

header {
  width: 100%;
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: flex-end;
  -ms-flex-pack: flex-end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
  position: relative;
  background-color:var(--colore-rosso)!important;
}

body:not(.backgroundAdv) header img {
  width: 1260px;
}

.firma_data {
  color: rgba(0, 0, 0, 0.40);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.firma {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
  color:#000;
}

.star {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: normal;
  color: #ffcb27;
}

.data {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: normal;
  color: rgba(255, 255, 255, 0.80);
}

.scroll_div {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  bottom: 20px;
  border: 1px solid #FFFFFF;
  overflow: hidden;
  height: 40px;
  width: 40px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
}


.scroll_div:hover {
  border-color: #ffffff88;
}

.scroll_div:hover svg path {
  stroke: #ffffff88;
}

/* .scroll_div:hover img {
  animation: animate 1.5s infinite;
} */

.box_chart_borders {
  width: 100%;
  margin: 20px auto;
}

.box_chart_inner {
  width: 100%;
  max-width: 600px;
  margin: auto;
  position: relative;
}

.box_chart_inner_medium {
  max-width: 800px;
}

.box_chart_inner_large {
  max-width: 1024px;
}

.box_chart_inner_extra_large {
  max-width: 1260px;
}

.box_chart img {
  width: 100%;
}

#grafico-come-si-vota-timeline img.mobile{
  width: auto;
}

.chart_subtitle {
  max-width: 600px;
  padding: 10px 0 0;
  margin: auto;
  color: #0052FF;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: left;
}

.chart_title {
  max-width: 600px;
  padding: 10px 0;
  margin: auto;
}

.chart_title h3 {
  color: #000;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  width: 100%;
  text-align: left;
  margin: auto;
  margin-block-start: 0;
  margin-block-end: .5em;
}

.section_title h3 {
  margin-block-end: -.5em;
}

.chart_abstract {
  max-width: 600px;
  color: #000;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: .8rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: left;
  padding: 10px 0 20px;
  margin: auto;
}


.box_chart {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: auto;
}


.chart_source {
  max-width: 600px;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: .8rem;
  line-height: normal;
  color: rgba(15, 15, 15, 0.60);
  text-align: left;
  margin: auto;
  padding: 20px 0;
}

.delimiter {
  text-align: center;
  padding: 20px 0;
}


/*--- FOOTER ----*/

#backtop {
  position: fixed;
  left: calc(50vw + 450px);
  bottom: 0;
  width: 50px;
  z-index: 10;
  text-align: right;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-color: transparent;
}

body:not(.backgroundAdv) #backtop {
  right: 10px;
}

#backtop img {
  cursor: pointer;
  width: 30px;
  max-width: 30px;
  height: auto;
  margin-right: 10px;
  padding-bottom: 10px;
}

.box_credits {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin: auto;
  padding: 32px 0;
}

.box_credits .delimiter {
  width: 100%;
  margin: 32px auto;
  border-top: 1px solid #000;
  padding: 0;
}

.box_credits .crediti_logo {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;

}

.box_credits .logo {
  width: 130px;
  padding: 0 40px 0 0;
}

.box_credits .logo img {
  width: 90px;
  height: auto;
}

.box_credits .crediti {
  display: flex;
  flex-direction: column;
}

.box_credits h4 {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  line-height: normal;
  text-align: left;
  color: #000;
  font-weight: 400;
  padding: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  width: 100%;
}


.box_credits h5 {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: .8rem;
  line-height: normal;
  text-align: left;
  color: #000;
  font-weight: 400;
  padding: 0;
  margin-block-start: 15px;
  margin-block-end: 0;
  width: 100%;
}


.box_credits a:link {
  color: #000;
  text-decoration: underline;
}

.box_credits a:visited {
  color: #000;
  text-decoration: underline;
}

.box_credits a:hover {
  color: #0052FF;
  text-decoration: underline;
}

.box_credits a:active {
  color: #0052FF;
  text-decoration: underline;
}


.box_credits .flourish-icon {
  width: 16px;
  height: 16px;
}

footer {
  z-index: 20;
}

#footer_div {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  line-height: normal;
  background-color: #19171a;
  color: #a19e9e;
  font-size: .7rem;
  text-transform: none;
  padding: 30px 100px;
  text-align: center;
}

.solo-mobile {
  display: none;
}
.solo-desktop {
  display: initial;
}
.desktop-estesa{
  display: none;
}

#div-gpt-ad-MaxTicker div {
  display: flex !important;
  justify-content: center;
}


/* ACCESSIBILITY */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* RESPONSIVE  */

@media only screen and (min-width: 1920px) {

}

@media only screen and (max-width: 1540px) {
  h1 {
    font-weight: 700;
    font-size: 190px;
    line-height: 160px;
  }
  h2 {
      font-size: 66px;
  }
  .sommario {
    font-size: 18px;
  }
}

@media only screen and (max-width: 1320px) {
  h1 {
    font-weight: 700;
    font-size: 140px;
    line-height: 120px;
  }
  h2 {
      font-size: 50px;
  }
  .sommario {
    font-size: 18px;
  }

  #copertina .meta:not(.meta-nera) {
      padding-left: 20px;
      padding-right: 20px;
  }

  .box-video {
      width: 42%;
      color: white;
      background-color: rgba(0, 0, 0, 0.75);
      padding: 18px;
      font-family: "SoleSans", Arial, Helvetica, sans-serif;
      font-weight: 400;
      font-size: 18px;
      /* line-height: 100%; */
  }

  .sezione-bilanciata {
      column-count: 2;
      column-gap: 24px;
      font-size: 18px;
      column-fill: balance;
      height: fit-content;
  }

  h3 {
      font-family: "SoleSans", Arial, Helvetica, sans-serif;
      font-weight: 600;
      font-size: 48px;
      line-height: 100%;
      letter-spacing: 0%;
  }
}


@media only screen and (max-width: 1020px) {

}



@media only screen and (min-width: 821px) and (max-width: 1540px) {

}

@media only screen and (min-width: 481px) and (max-width: 820px) {

}

@media only screen and (max-width: 768px) {
  .solo-mobile {
    display: initial;
  }
  .solo-desktop {
    display: none;
  }

  #copertina{
    position: relative;
  }

  #copertina .meta:not(.meta-nera) {
    z-index: 2;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 14vh;
    width: 100%;
    height: fit-content;
    justify-content: flex-start !important;
    background: #0f0f0f;
    background: linear-gradient(180deg,rgba(15, 15, 15, 1) 60%, rgba(15, 15, 15, 0) 100%);
  }
  #copertina .meta-nera{
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
  }

  .copertina-cnt {
      display: flex;
      flex-direction: column;
      margin-block-start: 8px;  
  }

  h1{
    font-size: 160px;
  }
  h2{
    font-size: 32px;
    margin-block-end: 8px;  
    margin-block-start: 8px;  
  }
  .sommario{
    font-size: 20px;
  }

  .swiper-button-next,
  .swiper-button-prev{
    display: none;
  }

  /* .box-video{
    font-size: 18px;
    width: 100%;
    background-color: #3f3f3f;
    padding: 16px;
    height: calc(100% - 40px);
    overflow: scroll;
  } */

.box-video {
    font-size: 18px;
    width: 100%;
    background-color: #3f3f3f;
    padding: 16px;
    /* height: calc(100% - 40px); */
    /* overflow: scroll; */
    height: fit-content;
    max-height: 40vh;
    overflow-y: scroll;
}
  .box-video-cnt {
      position: relative;
      display: flex;
      padding: 0;
      z-index: 1;
      justify-content: flex-start;
      align-items: flex-start;
      height: fit-content;
      margin-bottom: 28px;
  }
  .video-cnt, .grafico-cnt {
      padding-left: 10px;
      padding-right: 10px;
  }
  .video-cnt {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
  }

  .slide-video{
    position: relative;
  }

  .sezione{
    padding: 10px 10px 40px 10px;
    justify-content: flex-end;
  }

  .sezione-bilanciata{
    column-count:unset;
    column-fill:unset;
    height: auto;
    overflow-y: scroll;
    font-size: 18px;
  }

  h3{
    font-size: 36px;
  }
  
  .grafico-cnt {
    padding: 40px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
  }

  .grafico-titolo {
    font-size: 26px;
  }

  .grafico-spiega{
    font-size: 16px;
  }

  .flourish-embed {
    /* width: 100%; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
  }

  .meta-sfondo-nera {
    width: 100%;
    right: 0;
    left: unset!important;
    line-height: 19px;
    background-color: #0f0f0f;
  }
  .meta-nera {
    width: 100%;
    line-height: 16px;
  }

  .meta-nera .titolo {
      font-weight: 600;
      font-size: 26px;
      line-height: 100%;
      letter-spacing: 0%;
      margin-bottom: 16px;
  }

  #crediti-cnt table tr td:first-of-type {
    padding-right: 6px;
  }

  #crediti-cnt table tr td {
    font-size: 12px;
  }

  #crediti-foto {
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    opacity: .7;
    position: absolute;
    /* left: calc(50% + 3vw); */
    bottom: 40px;
    color: white;
    left: 3vw;
  }
}