* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: auto;
  margin: auto;
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.36;
  letter-spacing: normal;
  color: #000000;
  overflow-x: hidden;
}


/* MODAL DI APERTURA */
.modal_background {
  display: block;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  overflow: hidden;
  background-color: #fefefe;
  padding: 20px;
  margin-top: 50px;
  border: 1px solid #888;
  width: 100%;
  height: 100%;
  text-align: center;
  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;
}

.modal_titolo {
  width: 100%;
  max-width: 900px;
  padding: 20px;
  font-size: 60px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #3b78e7;
}

.modal_sommario {
  width: 100%;
  max-width: 900px;
  padding: 20px;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #000000;
}


.modal_close_button {
  width: 150px;
  height: 50px;
  background-color: #3b78e7;
  border-radius: 25px;
  cursor: pointer;
  padding: 16px 34px 15px 35px;
  font-size: 17px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
  text-transform: uppercase;
}

.modal_close_button:hover,
.modal_close_button:focus {
  color: #ffffff;
  text-decoration: underline;
}

.modal_img {
  overflow: hidden;
  margin-top: 20px;
}

.modal_logo {
  position: absolute;
  bottom: 10px;
  right: 20px;
  width: 100%;
  height: 31px;
  text-align: right;
  overflow: hidden;
  margin-top: 20px;
}

/* FRECCE SWIPER PER APERTURA E SCHEDE */

#bt_freccia_precedente,
#bt_freccia_successiva {
	position: relative;
	width: 38px;
	height: 38px;
	z-index: 10;
	cursor: pointer;
	background-size: 27px 44px;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: 0 2px 4px 0 rgb(0 0 0 / 50%);
    background-color: #3b78e7;
	border-radius: 38px;
}
#bt_freccia_precedente.bt_freccia_disattivata,
#bt_freccia_successiva.bt_freccia_disattivata {
  opacity: 0.35;
  cursor: auto;
  pointer-events: none;
}
#bt_freccia_precedente{
    left: 5px;
	right: auto;
}
#bt_freccia_precedente .img{
	background-image: url(../../img/mmSx.svg);
	background-size:cover;
    width: 100%;
    height: 100%;
	position: absolute
}

#bt_freccia_precedente::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	transition: all 0.25s ease;
	border-radius: 38px;
	box-shadow: inset 0 0 0 80px #fff;
}

#bt_freccia_precedente:not(.bt_freccia_disattivata):hover::before{
   box-shadow: inset 0 0 0 0 #fff;
}
#bt_freccia_precedente:not(.bt_freccia_disattivata):hover .img{
	background-image: url(../../img/mmSx-bianco.svg);
}

#bt_freccia_successiva {
	right: 5px;
  	left: auto;
}
#bt_freccia_successiva .img{
	background-image: url(../../img/mmDx.svg);
	background-size:cover;
	width: 100%;
    height: 100%;
	position: absolute
}

#bt_freccia_successiva::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	transition: all 0.25s ease;
	border-radius: 38px;
	box-shadow: inset 0 0 0 80px #fff;
}

#bt_freccia_successiva:not(.bt_freccia_disattivata):hover::before{
   box-shadow: inset 0 0 0 0 #fff;
}
#bt_freccia_successiva:not(.bt_freccia_disattivata):hover .img{
	background-image: url(../../img/mmDx-bianco.svg);
}

@media screen and (min-width: 481px) {
  .apertura_body {
    width: 620px;
    margin: auto;
    margin-top: 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: flex-start;
    -ms-flex-pack: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    overflow-x: hidden;
  }

  .apertura_titolo {
    font-size: 60px;
    font-weight: bold;
    color: #3b78e7;
    text-align: center;
    line-height: 1;
    margin-top: 50px;
  }

  .apertura_ricerca {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .apertura_menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }

  .img_apertura_menu_voci {
    width: 30px;
    height: 30px;
    padding-right: 10px;
    vertical-align: middle;
  }

  .apertura_menu_voci {
    font-size: 16px;
    font-weight: 500;
    color: #959595;
    width: 50%;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }

  .apertura_menu_voci:hover {
    color: #3b78e7;
  }

  .apertura_menu_voci:active,
  .selected {
    color: #3b78e7;
    border-bottom: 3px solid #3b78e7;
  }



  .apertura_notizie,
  .apertura_swiper_pretitolo {
    width: 100%;
    border: none;
  }

  .apertura_swiper_pretitolo {
    align-self: flex-start;
  }


  .apertura_notizie {
    cursor: pointer;
  }

  .apertura_notizie_occhiello {
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    margin: 30px 0px 0px 0px;
  }

  .apertura_notizie_titolo {
    font-size: 20px;
    font-weight: 500;
    color: #3b78e7;
    margin: 5px 0px 5px 0px;
  }

  .apertura_link {
    color: #3b78e7;
    text-decoration: none;
  }

  .apertura_link:hover,
  .apertura_link:active {
    color: #3b78e7;
    text-decoration: underline;
  }

  .apertura_link:visited {
    color: #4a0f8c;
  }

  .apertura_notizie_sommario {
    font-size: 16px;
    margin-bottom: 14px;
    color: #000000;
    margin: 0px 0px 0px 0px;
  }

  .apertura_swiper_div {
    margin: 0px 0px 0px 0px;
    width: 800px;
  }

  /* 	.apertura_swiper_container {
		width: 750px;
		height: 280px;
	} */

  .apertura_swiper_wrapper {
    -webkit-box-align:  flex-start;
    -ms-flex-align:  flex-start;
    -webkit-align-items:  flex-start;
    align-items: flex-start;
  }

  .apertura_swiper_slide {
    /* border: 1px solid red;
		  background-color: cadetblue; */
    text-align: center;
    /* Center slide text vertically */
    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;
    height: auto;
  }

  .apertura_swiper-button-prev,
  .apertura_swiper-button-next {
    top: 50%;
    width: 38px;
    height: 38px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    background-color: #ffffff;
    border-radius: 50%;
    transition: all 0.25s ease;
  }

  .apertura_swiper-button-prev {
    left: 0px;
    background-image: url("../../img/mmSx.svg");
  }

  .apertura_swiper-button-next {
    right: 180px;
    background-image: url("../../img/mmDx.svg");
  }


.apertura_swiper-button-prev:hover {
  background-color: #3b78e7;
  background-image: url("../../img/mmSx-bianco.svg");
}



.apertura_swiper-button-next:hover {
  background-color: #3b78e7;
  background-image: url("../../img/mmDx-bianco.svg");
}


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

  .apertura_slide_contenuto {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-right: 10px;
    height: 330px;
  }


  .img_responsive {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px 5px 0px 0px;
  }

  .img_24plus {
    width: 100px;
    padding-right: 10px;
  }


  .apertura_slide_tit_som {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: flex-start;
    -ms-flex-pack: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: calc(100% - 133px);
  }


  .apertura_slide_titolo {
    text-align: left;
    padding: 10px 10px 0px 10px;
  }

  .apertura_slide_sommario {
    text-align: left;
    padding: 10px 10px 20px 10px;
  }

} /* END MEDIA QUERY MIN WIDTH 481px */

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

  .modal-content {
    margin-top: 40px;
    -webkit-box-pack:  flex-start;
    -ms-flex-pack:  flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }


  .modal_titolo {
    font-size: 35px;
    line-height: 1.1;
    padding: 20px 0;
  }

  .modal_sommario {
    font-size: 18px;
    padding: 0;
    padding-bottom: 10px;
  }


  .apertura_body {
    width: 100vw;
    padding-left: 15px;
    padding-right: 15px;
    margin: auto;
    margin-top: 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: flex-start;
    -ms-flex-pack: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    overflow-x: hidden;
  }

  .apertura_titolo {
    font-size: 40px;
    font-weight: bold;
    color: #3b78e7;
    text-align: center;
    line-height: 1;
    margin-top: 30px;
  }

  .apertura_ricerca {
    width: 100%;
    margin-top: 0;
    margin-bottom: 10px;
  }

  .apertura_menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
  }

  .img_apertura_menu_voci {
    width: 30px;
    padding-right: 10px;
    vertical-align: middle;
  }

  .apertura_menu_voci {
    font-size: 17px;
    font-weight: 500;
    color: #959595;
    width: 50%;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
  }

  .apertura_menu_voci:hover {
    color: #3b78e7;
  }

  .apertura_menu_voci:active,
  .selected {
    color: #3b78e7;
    border-bottom: 3px solid #3b78e7;
  }

  .apertura_notizie,
  .apertura_swiper_pretitolo {
    width: 100%;
    margin: 10px 0px;
    border-radius: 8px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.35);
    background-color: #ffffff;
  }

  .apertura_notizie_occhiello {
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    margin: 10px 10px 10px 10px;
  }

  .apertura_notizie_titolo {
    font-size: 20px;
    font-weight: 500;
    color: #3b78e7;
    margin: 0px 10px 10px 10px;
  }

  .apertura_link {
    color: #3b78e7;
    text-decoration: none;
  }

  .apertura_link:hover,
  .apertura_link:active {
    color: #3b78e7;
    text-decoration: underline;
  }

  .apertura_link:visited {
    color: #4a0f8c;
  }

  .apertura_notizie_sommario {
    font-size: 16px;
    margin-bottom: 14px;
    color: #000000;
    margin: 0px 10px 20px 10px;
  }

  .apertura_swiper_div {
    margin: 0px 0px 0px 0px;
    width: 350px;
  }

  .apertura_swiper_wrapper {
    -webkit-box-align:  flex-start;
    -ms-flex-align:  flex-start;
    -webkit-align-items:  flex-start;
    align-items: flex-start;
  }



  /* 	.apertura_swiper_container {
		width: 350px;
		height: 280px;
	} */

  .apertura_swiper_slide {
    text-align: center;
    /* Center slide text vertically */
    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;
    height: auto;
  }

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

  .apertura_slide_contenuto {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-right: 10px;
    height: 330px;
  }

  .img_responsive {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px 5px 0px 0px;
  }

  .img_24plus {
    width: 100px;
    padding-right: 10px;
  }

  .apertura_slide_tit_som {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: flex-start;
    -ms-flex-pack: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

  .apertura_slide_titolo {
    text-align: left;
    padding: 10px 10px 0px 10px;
  }

  .apertura_slide_sommario {
    text-align: left;
    padding: 10px 10px 20px 10px;
  }

} /* END MEDIA QUERY MAX WIDTH 480px */
