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

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  background-color: #fff8f0;
  color: #000000;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

/* 
    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;
    */

article,
header,
aside {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  margin: auto;
  overflow: hidden;
}

article,
section {
  width: 100%;
  margin: auto;
}

div {
  width: 100%;
}

.container_over_skin {
  width: 100%;
  z-index: 5;
  background-color: #fff8f0;
}

.container_over_skin > * {
  z-index: 5;
  background-color: #fff8f0;
}

.shrinkable,
.backgroundAdv {
  background-color: #fff8f0 !important;
}

/* TOP BAR */

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

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

/* ADV */

#adv-MaxTicker {
  margin: auto;
  padding-top: 70px;
  padding-bottom: 20px;
  text-align: center;
  width: fit-content;
  /* background-color: #ebe6df; */
}

#ad-Mpu_Top {
  display: flex;
  justify-content: center;
  width: 300px;
  margin: 20px;
  background-color: #fff;
}

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

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

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

/* TESTATA */

header {
  position: relative;
}

#sezione_testata_desktop {
  display: flex;
  flex-direction: row;
  /* justify-content: space-between; */
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
}

.testata_container {
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.politici_e_search {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 790px;
}

.politici_tondi {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.prima_riga,
.seconda_riga {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
}

.seconda_riga {
  margin-bottom: 150px;
}

.politico {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.politico span:first-of-type {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  text-transform: capitalize;
  padding: 5px 0;
}

.politico span:last-of-type {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  text-transform: uppercase;
  padding: 5px 0;
}

.politico img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

.testata_occhiello,
.testata_titolo,
.testata_sommario {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.testata_occhiello {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  letter-spacing: 0em;
  padding-top: 30px;
  width: 130px;
  position: relative;
}

.testata_occhiello::before {
  content: "";
  background: url(../img/italian-flag.svg);
  position: absolute;
  top: 35px;
  left: -20px;
  width: 26px;
  height: 15px;
}

.testata_titolo {
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 72px;
  letter-spacing: 0em;
  padding-top: 20px;
}

.testata_sommario {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  padding: 20px 0 30px 0;
}

.search_container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.search_titolo,
.search_sommario {
  max-width: 500px;
  margin-left: 50px;
  text-align: left;
}

.search_titolo {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0em;
  padding-top: 50px;
  text-align: left;
}

.search_sommario {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  padding: 10px 0;
}

.search_box {
  max-width: 500px;
  margin-left: 50px;
  padding-top: 20px;
  padding-bottom: 50px;
  text-align: left;
  position: relative;
}

#search_icon {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: 10;
  cursor: pointer;
}

.p-autocomplete,
.p-autocomplete input {
  background: #ebe6df;
  /*  background-image: url("img/search.svg");
  background-size: 60px;
  background-position: right;
  background-repeat: no-repeat;*/
  text-indent: 20px;
  width: 100%;
  height: 60px;
  text-align: start;
  font-size: 18px;
  border: none;
  border-radius: 60px;
  line-height: normal;
  font-style: italic;
}

.p-autocomplete-panel {
  width: 500px !important;
  /*   left: 50% !important;
  transform: translateX(-50%) !important; */
}

.fondo_italia {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  height: 15px;
}

.fondo_italia div {
  width: 33%;
}

#verde {
  background-color: #00a651;
}

#bianco {
  background-color: #fff;
}

#rosso {
  background: #e91d24;
}

/* COLONNE RISULTATI */

.risultati_container {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin: auto;
}

.risultati {
  max-width: 550px;
}

.risultati_titolo,
.risultati_titolo_circoscrizione {
  font-style: normal;
  font-weight: 900;
  font-size: 28px;
  line-height: 40px;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 0;
}

.risultati_titolo_circoscrizione {
  font-size: 34px;
}

.risultati_collegi {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 30px;
  padding-bottom: 30px;
}

.collegio_occhiello {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  text-align: center;
}

.collegio_nome {
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  line-height: 24px;
  text-align: center;
}

.risultati_box {
  width: 100%;
  border-top: 5px solid;
  padding: 30px;
}

#camera .risultati_box {
  background-color: rgba(254, 178, 224, 0.5);
  border-color: #feb2e0;
}

#senato .risultati_box {
  background-color: rgba(255, 204, 82, 0.5);
  border-color: #ffcc52;
}

.camera_text_color {
  color: #da4ba2;
}

.senato_text_color {
  color: #cd9307;
}

.risultati_box + .risultati_box {
  margin-top: 30px;
}

/* BOX CANDIDATO */
.candidato_occhiello {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
}

.candidato_nome {
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  line-height: 32px;
  text-transform: capitalize;
}

.candidato_lista {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 16px;
  padding-top: 10px;
  padding-bottom: 30px;
}

.lista_occhiello {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
}

.lista_box {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 15px;
}

.lista_logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #000;
}

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

.lista_nomi ul {
  list-style-type: none;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 20px;
}

.lista_nomi li {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
}

.lista_nomi li::before {
  content: "";
  border-color: transparent #111;
  border-style: solid;
  border-width: 0.25em 0 0.25em 0.35em;
  display: block;
  height: 0;
  width: 0;
  left: -0.5em;
  top: 0.9em;
  position: relative;
}

.nome_selected {
  font-weight: 600;
}

/* video */
.video_container {
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: auto;
}

.video_titolo {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0em;
  padding: 30px 0 20px;
  text-align: center;
}

.video_sommario {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: center;
}

.video_box {
  padding-top: 30px;
  padding-bottom: 50px;
  position: relative;
}

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

.swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

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

.swiper-button-next,
.swiper-button-prev {
  top: calc(100% - 20px);
  width: 38px;
  height: 38px;
  background-color: #000;
  border-radius: 50%;
  transition: all 0.25s ease;
  z-index: 100;
}

.swiper-button-next {
  right: calc(50% - 100px);
}

.swiper-button-prev {
  left: calc(50% - 100px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
  color: white;
}

/* iframe */
.iframe_container {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: auto;
}

.iframe_titolo {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0em;
  padding: 30px 0 20px;
  text-align: center;
}

.iframe_sommario {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: center;
}

.iframe_box {
  padding-top: 10px;
  padding-bottom: 50px;
}

/* CREDITI FINALI & BACKTOP */

.link_elezioni_2018 {
  max-width: 620px;
  padding: 50px 0 0;
  margin: auto;
  margin-top: 30px;
  border-top: 2px solid #0f0f0f;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
}

.link_testo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.link_occhiello {
  position: relative;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  padding-left: 40px;
}

.link_occhiello::before {
  content: "";
  background: url(../img/logo_24.svg);
  position: absolute;
  top: -5px;
  left: 0;
  width: 36px;
  height: 30px;
  background-repeat: no-repeat;
}

.link_titolo {
  font-style: normal;
  font-weight: 800;
  font-size: 24px;
  line-height: 29px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.link_sommario {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  padding-right: 15px;
}

.link_button {
  position: relative;
  width: 150px;
}

.link_button button {
  width: 150px;
  padding: 8px 15px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  color: #fff;
  background: #000;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border: 0;
  position: relative;
  cursor: pointer;
}

.link_button button:hover {
  opacity: 0.7;
}

.link_button button span {
  position: relative;
}

.link_button button span::after {
  content: "";
  background: url(../img/white-arrow.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 8px;
  right: -15px;
  width: 8px;
  height: 8px;
}

#backtop {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 50px;
  z-index: 510;
  text-align: right;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

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

.box_crediti {
  width: 100%;
  max-width: 620px;
  padding: 50px 0;
  margin-top: 30px;
  border-top: 2px solid #0f0f0f;
}

.box_crediti h5 {
  width: 100%;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #0f0f0f;
}

/* FOOTER */

footer {
  z-index: 800;
}

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

/* TOGGLE */

.button-cover,
.knobs,
.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.button {
  position: relative;
  top: 50%;
  width: 100%;
  height: 64px;
  margin: 20px auto 0 auto;
  overflow: hidden;
}

.button.r,
.button.r .layer {
  border-radius: 100px;
}

.button.b2 {
  border-radius: 30px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #ebe6df;
  transition: 0.3s ease all;
  z-index: 1;
}

#button-10 .knobs:before,
#button-10 .knobs:after,
#button-10 .knobs span {
  position: absolute;
  top: 4px;
  width: 50%;
  height: 56px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 20px 4px;
  border-radius: 2px;
  transition: 0.3s ease all;
}

#button-10 .knobs:before {
  content: "";
  left: 4px;
  background-color: #feb2e0;
  border-radius: 40px;
}

#button-10 .knobs:after {
  content: "Senato";
  right: 4px;
  color: #4e4e4e;
}

#button-10 .knobs span {
  display: inline-block;
  left: 4px;
  color: #fff;
  z-index: 1;
}

#button-10 .checkbox:checked + .knobs span {
  color: #4e4e4e;
}

/* #button-10 .checkbox:checked + .knobs:before {
    left: 42px;
    background-color: #FFCC52;
    } */

#button-10 .checkbox:checked + .knobs:before {
  left: calc(100% - 4px);
  background-color: #ffcc52;
  right: 0;
  transform: translateX(-100%);
}

#button-10 .checkbox:checked + .knobs:after {
  color: #fff;
}

#button-10 .checkbox:checked ~ .layer {
  background-color: #ebe6df;
}

/*----- RESPONSIVE TABLET --------*/

.immagineCliccata {
  opacity: 0.6;
}
@media screen and (max-width: 1024px) {
  #lancio_politiche iframe {
    height: 260px!important;
    max-height: none!important;
  }
}

@media screen and (max-width: 800px) {
  #sezione_testata_mobile {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;
  }

  .testata_occhiello,
  .testata_titolo,
  .testata_sommario,
  .search_titolo,
  .search_sommario,
  .search_box,
  .iframe_titolo,
  .iframe_sommario,
  .iframe_box,
  .video_titolo,
  .video_sommario,
  .video_box,
  .box_crediti {
    max-width: 100%;
  }

  .testata_container {
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
    position: relative;
  }

  .testata_titolo {
    font-weight: 700;
    font-size: 46px;
    line-height: 46px;
  }

  .politici_tondi {
    margin-top: 100px;
    max-width: 360px;
  }

  .prima_riga,
  .seconda_riga {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .seconda_riga {
    margin-bottom: 0;
  }

  .politico {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .politico span:first-of-type {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    text-transform: capitalize;
    padding: 5px 0;
  }

  .politico span:last-of-type {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase;
    padding: 0 0 5px;
  }

  .politico img {
    width: 105px;
    height: 105px;
    border-radius: 50%;
  }

  .tondo_conte {
    z-index: 1;
  }

  .tondo_letta {
    position: absolute;
    z-index: 2;
    top: -110px;
    left: -56px;
  }

  .tondo_salvini {
    z-index: 3;
  }

  .tondo_calenda {
    position: absolute;
    z-index: 4;
    top: -110px;
    right: -60px;
  }

  .tondo_meloni {
    z-index: 5;
  }

  .tondo_calenda > span:first-of-type,
  .tondo_calenda > span:last-of-type {
    margin-left: 120px;
    padding: 0;
  }
  .tondo_letta > span:first-of-type,
  .tondo_letta > span:last-of-type {
    margin-right: 100px;
    padding: 0;
  }

  .search_titolo,
  .search_sommario,
  .search_box {
    max-width: 100%;
    margin-left: 0;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  #search_icon {
    right: 10px;
  }

  .search_titolo {
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
  }

  .risultati_container,
  .iframe_container,
  .video_container {
    padding-left: 10px;
    padding-right: 10px;
    flex-direction: column;
  }

  .iframe_titolo,
  .video_titolo {
    font-size: 24px;
    line-height: 24px;
  }

  .risultati {
    max-width: 100%;
  }

  .risultati_collegi {
    flex-direction: column;
  }

  .candidato_nome {
    font-size: 24px;
    line-height: 28px;
  }

  .candidato_lista {
    font-size: 14px;
  }

  .lista_nomi li {
    font-size: 14px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 28px;
    height: 28px;
    top: calc(100% - 12px);
  }

  .link_elezioni_2018 {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    flex-direction: column;
  }

  .link_testo {
    align-items: center;
  }

  .link_sommario {
    padding-right: 0;
    text-align: center;
  }

  .link_button {
    max-width: 100%;
    padding: 20px 10px;
    text-align: center;
    align-self: center;
  }

  .box_crediti h5 {
    padding-left: 10px;
    padding-right: 10px;
  }

  #footer_div {
    padding: 30px 10px;
  }

  .no_mobile {
    display: none !important;
  }

  #lancio_politiche iframe {
    height: 420px!important;;
    max-height: none!important;
  }
}

@media screen and (min-width: 801px) {
  .tondo_salvini {
    position: absolute;
    top: -100px;
    margin-left: -270px;
  }

  .tondo_meloni {
    position: absolute;
    top: -100px;
    margin-left: 270px;
  }
  .no_desktop {
    display: none !important;
  }

  #lancio_politiche iframe {
    height: 260px;
    max-height: none!important;
  }
}
