@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;700&display=swap");

body {
  font-family: "Barlow", sans-serif;
}

#main {
  margin-top: 0px;
}

#svg-map-container {
  background-color: #ededed;
  padding: 25px 15px;
  position: relative;
  overflow: hidden;
}

#svg-map-container:before {
  z-index: 2;
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  right: -25px;
  top: 15%;
  background: #ffffff;
  transform: rotate(45deg);
}

.back-to-map {
  display: none;
  align-items: center;
  cursor: pointer;
  height: 88px;
}

.province .back-to-map {
  display: flex;
}

.back-to-map .back-arrow,
.back-to-map .back-image-icon {
  width: 24px;
  height: auto;
  margin-right: 15px;
}

.back-to-map .back-image-icon {
  margin-right: 7px;
}

.back-to-map .back-text {
  margin-bottom: 0px;
  line-height: 24px;
}

.imp-ui-layers-menu-wrap {
  display: none !important;
}

.imp-shape-text {
  line-height: 18px !important;
  font-weight: 500 !important;
}

.banner {
  background-size: cover;
  padding: 20px 85px;
  background-position: center 100px;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

.banner .titolo {
  font: normal normal normal 60px/72px Barlow;
  letter-spacing: 0px;
}

.banner .sototitolo {
  font: normal normal normal 26px/31px Barlow;
  letter-spacing: 0px;
  color: #194566;
}

#svg-map-container.province .in-evidenza {
  display: none;
}

.in-evidenza {
  display: flex;
  align-items: center;
}

.in-evidenza img.news-image {
  margin-right: 18px;
}

.in-evidenza .news-text p {
  margin-bottom: 0px;
}

.in-evidenza .news-text .news-titolo {
  font: normal normal bold 18px/22px Barlow;

  letter-spacing: 0px;

  color: #3bad97;
}

.in-evidenza .news-text .news-sototitolo {
  font: normal normal 100 15px/18px Barlow;
  letter-spacing: 0px;
  color: #000000;
}

.in-evidenza .news-text .news-link {
  cursor: pointer;
  font: normal normal 300 25px/30px Barlow;
  letter-spacing: 0px;
  color: #000000;
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.in-evidenza .news-text .news-link .front-arrow {
  width: 22px;
  transform: rotate(180deg);
}

.in-evidenza .news-text .news-link span {
  margin: 0 20px 0 16px;
}

.contact {
  display: flex;
  align-items: center;
  margin-top: 15px;
  border-top: 1px solid #b7b7b7;
  padding-top: 16px;
}

.contact .contact-titolo {
  margin-bottom: 0px;
  font: normal normal normal 17px/20px Barlow;
  letter-spacing: 0px;
  color: #194566;
}

.contact .contact-button {
  background: #33658a 0% 0% no-repeat padding-box;
  font: normal normal bold 13px/16px Barlow;
  letter-spacing: 0px;
  color: #ffffff;
  padding: 11px 67px;
}

.contact .contact-image {
  margin-right: 10px;
}

/* implant page */

div#implant-content {
  padding: 22px 60px 0 22px;
  position: relative;
}

button#ev-close {
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  border: none;
  outline: none;
}

.implant-title {
  font: normal normal 300 45px/54px Barlow;
  letter-spacing: 0px;
  color: #000000;
}

.implant-desc {
  font: normal normal 100 17px/20px Barlow;
  letter-spacing: 0px;
  color: #000000;
  margin-bottom: 30px;
}

.sito-produttivo p {
  margin-bottom: 0px;
}

.sito-produttivo p.sito-produttivo-text {
  text-align: left;
  font: normal normal 500 17px/20px Barlow;
  letter-spacing: 0px;
  color: #000000;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.sito-produttivo-row {
  margin-bottom: 40px;
}

.galler-link a {
  font: normal normal 300 14px/17px Barlow;
  letter-spacing: 0px;
  color: #1a1b1c;
  line-height: 27px;
}

.galler-link a img {
  margin-left: 5px;
}

.societa-di-appartenenza-row {
  background: #d3e0ec;
  padding: 19px 36px;
}

img.societa-di-appartenenza-img {
  width: 15px;
}

.societa-di-appartenenza-row p {
  margin-bottom: 0px;
}

.societa-di-appartenenza-text {
  font: normal normal 300 17px/20px Barlow;
  letter-spacing: 0px;
  color: #1a1b1c;
  margin: 0 27px 0 10px;
}

.societa-di-appartenenza-nome {
  font: normal normal 500 17px/20px Barlow;
  letter-spacing: 0px;
  color: #000000;
  margin-bottom: 0;
}

.desc-row .descrizione {
  padding: 15px 40px;
}

.prodotti {
  background: #234f79;
  padding: 25px 40px;
  margin-bottom: 30px;
}

.prodotti-tittle {
  font: normal normal bold 17px/20px Barlow;
  letter-spacing: 0px;
  color: #ffffff;
  margin-bottom: 15px;
}

.products-list {
  align-items: flex-end;
  justify-content: center;
}

.products-list .product {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 20%;
}

.products-list .product p {
  font: normal normal 500 14px/14px Barlow;
  letter-spacing: 0px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0px;
  width: 90%;
}

.products-list .product img {
  margin-bottom: 5px;
}

.info-row {
  padding: 0 40px;
  margin-bottom: 30px;
}

.info-row .info-blocks {
  align-items: flex-start !important;
}

.info-row .info-blocks img {
  margin-right: 15px;
}

.info-row .info-blocks h5 {
  font: normal normal 500 23px/28px Barlow;
  letter-spacing: 0px;
  color: #234f79;
}

.info-row .info-blocks p {
  font: normal normal 300 17px/20px Barlow;
  letter-spacing: 0px;
  color: #234f79;
}

.echo-blocks-row {
  margin-bottom: 15px;
}

.echo-blocks-row .echo-blocks {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.impatto_ambientale {
  background: #7dc6a1;
}

.zero_waste {
  background: #68969f;
}

.echo-blocks-row .echo-blocks h5 {
  font-family: Barlow;
  font-weight: bold;
  font-size: 21px;
  text-align: center;
  color: #fff;
}

.echo-blocks-row .echo-blocks p {
  font-family: Barlow;
  font-weight: 300;
  font-size: 17px;
  text-align: center;
  color: #fff;
}

.echo-blocks-row .echo-blocks strong {
  font-weight: 700;
}

.impatto_ambientale p {
  max-width: 185px;
}

.centro_abilitato_al_collaudo_bombole span {
  font-family: Barlow;
  font-weight: 500;
  font-size: 23px;
  text-align: left;
  color: #234f79;
}

.centro_abilitato_al_collaudo_bombole img {
  margin-right: 15px;
}

.centro_abilitato_al_collaudo_bombole .text-center {
  border-bottom: 1px solid #ececec;

  padding-bottom: 15px;
}

div#gallery-images {
  margin-top: 100px;
}

div#gallery-images h5 {
  font-family: Barlow;
  font-weight: 300;
  font-size: 28px;
  color: #1a1a1b;
  text-align: center;
}

.gallery-items {
  display: flex;
}

.video-row {
  margin-top: 30px;
}

.video-row iframe {
  width: 100% !important;
}

div#gallery-images .product_img {
  max-width: 100%;
}

div#implant-content {
  /* max-height: calc(100vh - 114px); */
  display: block;
  overflow-x: hidden;
  overflow-y: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

div#implant-content::-webkit-scrollbar {
  display: none;
}

.gallery-items {
  margin: 0 30px;
}

.slick-arrow:before {
  color: #000;
}

.slick-prev:before,
.slick-next:before {
  font-family: "Barlow";
}

.slick-prev:before {
  content: url("../images/left-icon.png");
}

.implant-showing div#implant-content:before {
  content: "";
  background-image: url('../images/ajax-loader.gif');
  background-color: #fff;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 99;
  left: 0;
}

.slick-next:before {
  content: url("../images/right-icon.png");
}

ul.slick-dots {
  height: 3px;
  background: #ededed;
  display: flex;
}

ul.slick-dots li {
  height: 3px;
  margin: 0px;
  flex: 1;
}

ul.slick-dots li.slick-active {
  background: #1a1b1c;
}

ul.slick-dots li button {
  display: none;
}

.gallery-items .slick-list {
  padding: 0 20% 0 0 !important;
}

.gallery-items .slick-track {
  display: flex !important;
}

.gallery-items .slick-slide {
  height: inherit !important;
  margin-right: 10px;
  min-height: 250px;
}

.gallery-items .slick-slide .product_img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.mobile-flex {
  display: flex;
}

.lb-data .lb-details {
  display: none;
}

.lb-outerContainer {
  padding: 41px 50px;
  width: 1092px !important;
  max-width: 90% !important;
  height: 625px !important;
  max-height: 50%;
}

.lightbox .lb-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.lb-container {
  height: 100%;
}

div#lightbox {
  top: 50% !important;
  transform: translateY(-50%);
}

.lb-dataContainer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: 999;
}

.lb-data .lb-close {
  position: relative;
  top: 5px;
  right: 10px;
  background-image: url("../images/close.svg");
  opacity: 1;
}

/* nippon template */

div#back-to-full-map-2 {
  display: flex !important;
  height: 50px;
}

.nippon-template-title {
  font-size: 45px;
  font-weight: 100;
  line-height: 54px;
  margin-top: 10px;
}

.nippon-template-subtitle {
  font-size: 17px;
  font-weight: 100;
}

.societa_di_appartenenza-background {
  min-height: 285px;
}

.inaugurazione-titolo {
  background: #ffffff;
  margin-bottom: 27px;
  padding: 5px 30px 5px 45px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  font-size: 17px;
  line-height: 20px;
  color: #234f79;
  font-weight: 100;
}

.inaugurazione-titolo strong {
  display: block;
  font-size: 23px;
  line-height: 28px;
  font-weight: 500;
}

.implant-static-page .descrizione {
  font-size: 17px;
  font-weight: 100;
  padding: 18px 40px 22px 45px;
  margin-bottom: 0;
}

.map iframe {
  height: 252px;
  width: 95%;
  margin: auto;
  display: block;
}

.map {
  margin-bottom: 20px;
}

.product-nippo-section {
  padding: 0;
}

.remove-margin {
  margin: 0;
}

.nippo-template-gallery #gallery-images {
  margin-top: 15px;
}

.implant-static-page .implant-add-scroll {
  max-height: calc(100vh - 114px);
  display: block;
  overflow-x: hidden;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.implant-static-page .implant-add-scroll::-webkit-scrollbar {
  display: none;
}

.nippon-video-section iframe {
  width: 100%;
}

.nippon-video-section {
  margin-top: 25px;
}

.nippon-novita-section {
  background: #ededed;
  padding: 25px 61px 18px 40px;
}

.implant-static-page .implant-add-scroll {
  padding-right: 0;
}

.nippon-novita-section .in-evidenza .news-text .news-titolo {
  font-size: 35px;
  color: #000000;
  font-weight: 100;
  line-height: 42px;
}

.nippon-novita-section .in-evidenza {
  align-items: flex-start;
  margin-bottom: 35px;
}

.nippon-novita-section .attivita {
  padding-left: 8%;
}

.nippon-novita-section .gallery-images img {
  margin: 0 4px;
  width: 150px;
}

.attivita-data {
  color: #3bad97;
  font-weight: 700;
  font-size: 18px;
}

.attivita-titolo {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.attivita-titolo strong {
  color: #3bad97;
}

.custom-atitvita .attivita:nth-child(n + 2) {
  margin-top: 25px;
}

.attivita .video iframe {
  height: 179px !important;
  width: 150px;
}

.attivita .descrizione {
  padding: 0;
}

.implant-toggle-mobile {
  background-image: linear-gradient(45deg, #3caf98, #33658a);
  padding: 15px 15px 15px 25px;
  border-bottom-left-radius: 40px;
  border-top-left-radius: 40px;
  width: 100px;
  position: fixed;
  right: 0;
  margin-top: 15px;
  z-index: 99;
}

.implant-toggle-mobile .mobile-text {
  display: none;
}

.implant-toggle-mobile:after {
  content: "";
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  width: 12px;
  height: 12px;
  background: #ffffff;
  position: absolute;
  transform: rotate(90deg);
  top: 33px;
  right: 10px;
}

.galler-link a {
  display: flex;
  font-size: 13px;
}

.galler-link a img {
  width: 20px;
}

/* */
/* Start Responsive */
/*____________________________*/

@media (min-width: 1024px) {
  .implant-show {
    overflow-y: hidden;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .products-list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .societa-di-appartenenza {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .contact,
  .in-evidenza {
    flex-direction: column;
  }

  .mobile-flex {
    margin-bottom: 20px;
  }

  .products-list .product {
    flex: 0 0 32%;
    max-width: 32%;
    margin-bottom: 20px;
  }

  .nippon-novita-section .gallery-images img {
    width: 90%;
  }
}

@media (max-width: 767px) {
  .in-evidenza {
    align-items: flex-start;
  }

  .lightboxOverlay {
    max-width: 100%;
  }

  .lightbox .lb-image {
    width: 100% !important;
    max-height: 100%;
    border: 0;
  }

  div#navbarSupportedContent {
    display: none !important;
  }

  .in-evidenza .news-text .news-link span {
    max-width: 130px;
    font-size: 20px;
    line-height: 24px;
    margin-right: 7px;
  }

  .contact {
    flex-direction: column;
    justify-content: center;
  }

  .contact .contact-titolo {
    max-width: 260px;
  }

  .mobile-flex {
    margin-bottom: 10px;
  }

  #svg-map-container:before {
    bottom: -25px;
    top: auto;
    right: 0;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  }

  #svg-map-container {
    padding-bottom: 40px;
  }

  .banner {
    background-image: none !important;
    padding: 10px 28px 47px 28px;
  }

  .lb-outerContainer {
    padding: 35px;
    max-height: 400px;
  }

  .banner .titolo {
    font-size: 30px;
    line-height: 42px;
  }

  .banner .sototitolo {
    font-size: 15px;
    line-height: 18px;
  }

  .back-to-map {
    height: auto;
  }

  .back-to-map .back-text {
    font-size: 14px;
  }

  .imp-shape-container .imp-shape-text {
    font-size: 10px !important;
    line-height: 12px !important;
    transform: translate(10%, -5px) !important;
    margin: 0 !important;
  }

  #svg-map-container.province .in-evidenza {
    display: flex;
  }

  div#implant-content {
    position: fixed;
    box-shadow: 0 0 6px #00000029;
    background: #fff;
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 11px;
    padding: 20px;
    transition: 500ms ease-out;
    margin-top: 72px;
    z-index: 9;
    top: 0;
  }

  button#ev-close {
    position: relative;
    margin-left: auto;
    display: block;
    right: 15px;
  }

  div#implant-content {
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 55px;
    padding-left: 0;
    padding-right: 0;
    max-height: calc(100vh - 124px);
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 40px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    cursor: none;
  }

  div#implant-content::-webkit-scrollbar {
    display: none;
  }

  div#implant-content .implant-header {
    max-height: 79vh;
  }

  .implant-title {
    font-size: 40px;
    line-height: 48px;
  }

  .implant-desc {
    font-size: 15px;
    line-height: 18px;
    max-width: 85%;
    margin-bottom: 10px;
  }

  .galler-link {
    display: none;
  }

  .sito-produttivo-row {
    margin-bottom: 15px;
  }

  div#implant-content .implant-header .row {
    margin: 0;
  }

  .societa-di-appartenenza-row {
    padding: 20px 10px;
  }

  .societa-di-appartenenza-text {
    margin-right: 13px;
    font-size: 15px;
  }

  .societa-di-appartenenza-nome {
    font-size: 15px;
  }

  .desc-row .descrizione {
    padding: 15px;
  }

  .products-list {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .products-list .product {
    flex: 0 0 33%;
    max-width: 33%;
    margin-bottom: 21px;
  }

  .prodotti {
    padding: 18px;
    padding-bottom: 5px;
    margin-bottom: 30px !important;
  }

  div#implant-content .implant-header .prodotti > div {
    padding-left: 0;
    padding-right: 0;
  }

  .prodotti-tittle {
    padding-left: 25px;
  }

  .info-row {
    padding: 0px 15px;
  }

  .info-row .info-blocks p {
    font-size: 13px;
  }

  .info-row .info-blocks h5 {
    margin-bottom: 0;
    font-size: 20px;
  }

  div#implant-content .implant-header .echo-blocks-row {
    padding: 0 15px;
  }

  .echo-blocks-row .echo-blocks {
    padding-top: 40px;
  }

  .echo-blocks-row .echo-blocks h5 {
    font-size: 18px;
    margin-top: 15px;
  }

  .centro_abilitato_al_collaudo_bombole {
    margin-top: 25px !important;
  }

  .centro_abilitato_al_collaudo_bombole span {
    font-size: 17px;
  }

  .centro_abilitato_al_collaudo_bombole .text-center {
    border: 0;
    margin-bottom: 20px;
  }

  div#gallery-images {
    margin-bottom: 30px !important;
  }
  .nippon-novita-section .gallery-images {
    flex-wrap: wrap;
  }

  .nippon-novita-section .gallery-images img {
    width: 100%;
    margin: 0 0 17px;
  }

  .nippon-novita-section .gallery-attivita {
    width: 100%;
  }

  .remove-padding-mobile {
    padding-left: 0;
  }

  .nippon-template-title {
    font-size: 40px;
    line-height: 48px;
    padding-left: 10px;
  }

  .nippon-template-subtitle {
    font-size: 15px;
    padding-left: 15px;
  }

  .inaugurazione-titolo {
    padding-left: 22px;
  }

  .implant-add-scroll .map {
    padding-right: 22px;
    margin-top: 20px;
  }

  .implant-add-scroll .prodotti-tittle {
    padding-left: 0;
  }

  .nippon-video-section {
    padding-right: 30px;
    padding-left: 20px;
    margin-bottom: 20px !important;
  }

  .nippon-video-section iframe {
    height: 206px;
  }

  .implant-static-page .implant-add-scroll {
    max-height: initial;
  }

  .implant-add-scroll div#gallery-images,
  .implant-add-scroll .prodotti {
    margin-bottom: 0 !important;
  }

  .implant-add-scroll div#gallery-images h5 {
    font-size: 27px;
  }

  .implant-add-scroll .descrizione {
    display: none;
  }

  .nippon-novita-section .in-evidenza .news-image {
    display: none;
  }

  .nippon-novita-section {
    padding: 10px 24px;
  }

  .nippon-novita-section .in-evidenza {
    margin-bottom: 10px;
  }

  .nippon-novita-section .attivita {
    padding-left: 0;
    margin: 0;
  }

  .nippon-novita-section .attivita > div > img {
    position: absolute;
  }

  .nippon-novita-section .attivita > .attivita-data-section {
    padding-left: 40px;
  }

  .implant-add-scroll .attivita-data {
    margin-bottom: 0;
  }

  .nippon-novita-section .gallery-images img {
    max-width: 93%;
  }

  .attivita .video iframe {
    width: 93%;
  }

  .implant-add-scroll .societa-di-appartenenza-row {
    padding-left: 30px;
  }

  div#back-to-full-map-2 {
    padding-left: 15px;
  }

  .implant-add-scroll .products-list .product p {
    padding: 0 25px;
  }

  .nippon-novita-section {
    position: fixed;
    right: -100%;
    transition: 300ms ease-out;
    z-index: 98;
    padding-top: 100px;
  }

  .show-mobile-news + .nippon-novita-section {
    right: 0;
    transition: 300ms ease-out;
    height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .show-mobile-news .implant-toggle-mobile {
    width: 100%;
    border-radius: 0;
    padding-left: 50px;
    background-image: linear-gradient(-50deg, #3caf98, #33658a);
  }

  .show-mobile-news {
    height: 0 !important;
    transition: 300ms ease-out;
  }

  .implant-add-scroll {
    transition: 500ms ease-out;
  }

  .show-mobile-news .mobile-text {
    display: inline-block;
    font-size: 14px;
    color: #ffffff;
    padding-left: 15px;
    opacity: 0.8;
  }

  .show-mobile-news .implant-toggle-mobile:after {
    left: 23px;
    right: 0;
    transform: rotate(-90deg);
    transition: 300ms ease-out;
  }

  .implant-add-scroll .sito-produttivo {
    padding-left: 28px;
    margin-bottom: 10px;
  }

  .implant-add-scroll .sito-produttivo-text {
    padding-left: 15px;
  }
}
