@charset "UTF-8";

/* VARIABILI */

:root {
  /* BS overrides */
  --accent: #ebbd3d;
  --primary: #004aad;

  /* colori */
  --white: #ffffff;
  --light-grey: #d0d0d0;
  --dark-grey: #616161;
  --dark: #101010;

  /* box-shadow */
  --default-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.16);

  /* radius */
  --default-border-radius: 6px;
  --default-btn-radius: 100px;

  --transition-default: 0.2s ease-in-out;

  /* fonts */
  --main-font-family: "Montserrat", Helvetica, Arial, sans-serif;
}

/* **********************************
 * PRIMO PIANO -  SWIPER GALLERY 
 * **********************************/

.swiper.mySwiper {
  width: 100%;
}

.swiper.mySwiper.swiper-gallery-home {
}

.swiper.mySwiper.swiper-gallery-home .swiper-wrapper .swiper-slide::after {
  content: "";
  background: linear-gradient(to bottom, transparent, #000000);
  position: absolute;
  top: auto;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 80%;
  z-index: 0;
}

.swiper.mySwiper.swiper-gallery-home img {
  max-width: 100% !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.swiper.mySwiper.swiper-gallery-home .slider-content {
  z-index: 1;
  text-align: end;
}

.swiper.mySwiper.swiper-gallery-home .slider-content__title,
.swiper.mySwiper.swiper-gallery-home .slider-content__summary,
.swiper.mySwiper.swiper-gallery-home .slider-content__summary p {
  color: var(--white);
}

.swiper.mySwiper.swiper-gallery-home .slider-content__title {
  font-size: 32px;
  font-weight: 700;
}

.swiper.mySwiper.swiper-gallery-home .slider-content__summary p {
  margin-bottom: 24px;
}

.swiper.mySwiper.swiper-gallery-home .swiper-pagination {
  bottom: -0.25rem;
}

.swiper.mySwiper.swiper-gallery-home
  .swiper-pagination
  span.swiper-pagination-bullet {
  border: 2px solid white;
  height: 0.85rem !important;
  width: 0.85rem !important;
  margin: 0.45rem;
}

.swiper.mySwiper.swiper-gallery-home
  .swiper-pagination
  span.swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
  opacity: 0.5;
  background-color: var(--primary);
}

@media screen and (min-width: 992px) {
  .swiper.mySwiper {
  }

  .swiper.mySwiper.swiper-gallery-home img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .swiper.mySwiper.swiper-gallery-home .swiper-wrapper .swiper-slide::after {
    background: linear-gradient(to right, transparent, #000000);
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: 50%;
    height: 100%;
  }

  .swiper.mySwiper.swiper-gallery-home .swiper-pagination {
    bottom: 3rem;
  }

  .swiper.mySwiper.swiper-gallery-home
    .swiper-pagination
    span.swiper-pagination-bullet {
    height: 1.25rem !important;
    width: 1.25rem !important;
  }
}

/* END SWIPER GALLERY - PRIMO PIANO **********************************/

/* **********************************
 * INIZIATIVE - DEFAULT LISTING NEWS 
 * **********************************/

.listing-news .immagine-articolo-listing {
  width: 100%;
  max-width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  transition: var(--transition-default);
}

.listing-news .titolo-listing {
  font-size: 1.25rem;
  line-height: 1;
  transition: 0.3s;
}

.listing-news .immagine-articolo-listing:hover,
.listing-news .immagine-articolo-listing:focus,
.listing-news .titolo-listing:hover,
.listing-news .titolo-listing:focus {
  opacity: 0.85;
}

@media (min-width: 991px) {
  .listing-news .titolo-listing {
    font-size: 1.5rem;
  }
  .listing-news .immagine-articolo-listing {
    min-height: 300px;
  }
}

/* ***************************************
 * IMPAGINAZIONE - DEFAULT LISTING NEWS 
 * ***************************************/

.listing-news-wrapper ~ .article_pager {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
}

.listing-news-wrapper ~ .article_pager a,
.listing-news-wrapper ~ .article_pager a {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: solid 2px var(--primary);
}

@media (max-width: 567px) {
  .listing-news-wrapper ~ .article_pager a,
  .listing-news-wrapper ~ .article_pager a {
    height: 38px;
    width: 38px;
  }
}

.listing-news-wrapper ~ .article_pager a.prev,
.listing-news-wrapper ~ .article_pager a.first,
.listing-news-wrapper ~ .article_pager a.next,
.listing-news-wrapper ~ .article_pager a.last {
  height: auto;
  width: auto;
  border-radius: 0;
  border: none;
}

.listing-news-wrapper ~ .article_pager a {
  margin: 0.4em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition-default);
}

.listing-news-wrapper ~ .article_pager a.active,
.listing-news-wrapper ~ .article_pager a:hover,
.listing-news-wrapper ~ .article_pager a:focus {
  color: var(--white);
  background-color: var(--primary);
}

.listing-news-wrapper ~ .article_pager a.next.active,
.listing-news-wrapper ~ .article_pager a.last.active,
.listing-news-wrapper ~ .article_pager a.next:hover,
.listing-news-wrapper ~ .article_pager a.next:focus,
.listing-news-wrapper ~ .article_pager a.last:hover,
.listing-news-wrapper ~ .article_pager a.last:focus,
.listing-news-wrapper ~ .article_pager a.prev.active,
.listing-news-wrapper ~ .article_pager a.first.active,
.listing-news-wrapper ~ .article_pager a.prev:hover,
.listing-news-wrapper ~ .article_pager a.prev:focus,
.listing-news-wrapper ~ .article_pager a.first:hover,
.listing-news-wrapper ~ .article_pager a.first:focus {
  color: var(--primary);
  background-color: var(--white);
}

/* **********************************
 * CATEGORIE - LISTING & DETTAGLIO 
 * **********************************/

.listing-categorie > a,
.dettaglio-articolo-categorie > a,
.edn_articleCategories > a {
  color: var(--dark);
  background-color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--default-btn-radius);
  transition: var(--transition-default);
}

.listing-categorie > a:hover,
.dettaglio-articolo-categorie > a:hover,
.edn_articleCategories > a:hover,
.listing-categorie > a:focus,
.dettaglio-articolo-categorie > a:focus,
.edn_articleCategories > a:focus {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2) !important;
}

/* *************************************
 * INIZIATIVE - DEFAULT DETTAGLIO NEWS
 * *************************************/

.dettaglio-articolo .dettaglio-articolo-immagine {
  height: 100%;
  object-fit: cover;
  max-height: 500px;
  object-position: center;
}

.dettaglio-articolo address {
  font-family: "Montserrat Italic";
}

/* mappa articolo */
.dettaglio-articolo .dettaglio-articolo-mappa > .edn_article_map {
  max-width: 100% !important;
}

/* **********************************
 * GALLLERY - DEFAULT DETTAGLIO NEWS
 * **********************************/

.dettaglio-articolo .article_gallery {
  margin-bottom: 15px;
}

/* galleria articolo */
.dettaglio-articolo #ChameleonGallery .thumb_container ul {
  text-align: center;
}

.dettaglio-articolo #ChameleonGallery .thumb_container ul > li {
  display: inline-block;
  float: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.dettaglio-articolo #ChameleonGallery .thumb_container ul > li.on {
  border: solid 1px #123456;
}

.dettaglio-articolo #ChameleonGallery .chameleon_slider.NewsOne .thumb_wrapper {
  box-shadow: none;
  background: none;
}

.dettaglio-articolo #ChameleonGallery > .chameleon_slider {
  border: none;
  border-radius: 0;
  background-color: #fff !important;
}

.dettaglio-articolo
  #ChameleonGallery
  .chameleon_slider
  .main_panel
  .items_wrapper
  .item_container {
  text-align: center;
  right: 0;
  bottom: 0;
  max-height: 400px;
  height: auto !important;
}

.dettaglio-articolo
  #ChameleonGallery
  .chameleon_slider.NewsOne
  a.navigation_button {
  text-indent: 0;
  color: transparent;
}

.dettaglio-articolo
  #ChameleonGallery
  .chameleon_slider.NewsOne
  a.navigation_button.prev,
.dettaglio-articolo
  #ChameleonGallery
  .chameleon_slider.NewsOne
  a.navigation_button.next {
  left: 0px;
  opacity: 1 !important;
  height: 400px;
  top: 0px !important;
  width: 20px;
  background: rgb(59, 173, 224) !important;
}

.dettaglio-articolo
  #ChameleonGallery
  .chameleon_slider.NewsOne
  a.navigation_button.prev::before,
.dettaglio-articolo
  #ChameleonGallery
  .chameleon_slider.NewsOne
  a.navigation_button.next::before {
  content: "\f053";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  color: #fff;
  z-index: 1;
  width: 15px;
  height: 30px;
  font-size: 20px;
}

.dettaglio-articolo
  #ChameleonGallery
  .chameleon_slider.NewsOne
  a.navigation_button.next::before {
  content: "\f054";
}

.dettaglio-articolo .chameleon_slider.NewsOne .main_panel .media_link:hover {
  background: none !important;
}

/* disable share button gallery */
.smbLightOverlayWrapper .actions.socialButtonsTrigger {
  display: none !important;
}

.chameleon_slider .main_panel .items_wrapper .item_container > img {
  height: 100% !important;
  left: 0 !important;
  top: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}

/* **********************************
 * EDN MAP > MARKERS
 * **********************************/

.edMaps_map .edMaps_infoWindow {
  height: auto !important;
}
.edMaps_map .marker-popup {
  padding-right: 20px;
}
.edMaps_map .edMaps_infoWindow .edMaps_contentOverflow {
  height: auto !important;
  position: static !important;
  margin: 10px !important;
}
.edMaps_map .edMaps_infoWindow .descrizione-marker {
  line-height: 20px;
}
.edMaps_map .edMaps_infoWindow .descrizione-marker b,
.edMaps_map .edMaps_infoWindow .descrizione-marker strong {
  color: var(--primary) !important;
}
.edMaps_map .edMaps_infoWindow .edMaps_closeTrigger {
  top: 10px !important;
}

/* **********************************
 * LISTING > GESTIONE PARTNERS
 * **********************************/

.listing-news.listing-partners .immagine-articolo-listing {
  background-size: contain;
  width: 80%;
  margin: auto;
}

.listing-news.listing-partners .immagine-articolo-listing {
  min-height: 100px;
}
.listing-news.listing-partners .single-articolo-listing > .row {
  min-height: 160px;
}

/* **********************************
 * LISTING > SEZIONE SERVIZI 
 * **********************************/

.DnnModule article.list-servizi {
  /* padding-inline: 7.5rem;
  padding-block: 4.5rem; */
}

@media screen and (min-width: 992px) {
  .DnnModule
    article.list-servizi:nth-child(odd)
    .list-servizi__content
    > .col-lg-7 {
    order: 2;
  }
  .DnnModule
    article.list-servizi:nth-child(odd)
    .list-servizi__content
    > .col-lg-5 {
    order: 1;
  }
}

.DnnModule article.list-servizi:nth-child(odd) .list-servizi_contentTop {
}
.DnnModule article.list-servizi:nth-child(even) .list-servizi_contentTop {
}

.DnnModule article.list-servizi .list-servizi__img img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.DnnModule article.list-servizi:nth-child(odd) .list-servizi__img img {
}

.DnnModule article.list-servizi:nth-child(even) .list-servizi__img img {
}

/* Responsiveness */

@media screen and (max-width: 991px) {
  .DnnModule article.list-servizi {
    padding-top: 8rem;
  }
  .DnnModule article.list-servizi .list-servizi__img img {
    width: 40%;
    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 576px) {
  .DnnModule article.list-servizi {
    padding-inline: 3rem;
    padding-top: 6rem;
    padding-bottom: 2rem;
  }
  .DnnModule article.list-servizi .list-servizi__img img {
    max-width: 160px;
  }
}

/* ************************************
 * ANIMATIONS
 * @keyframes -> skin.css
 *
 * Servizi -> moduli edn
 * ************************************
 */

.DnnModule article.list-servizi:nth-child(odd) {
  animation-name: fadeInRight;
}
.DnnModule article.list-servizi:nth-child(even) {
  animation-name: fadeInLeft;
}
.DnnModule article.list-servizi:nth-child(odd),
.DnnModule article.list-servizi:nth-child(even) {
  animation-duration: 1.5s;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  animation-delay: 0.5s;
}

/* Disattiva le animazioni */
@media (max-width: 576px) {
  .DnnModule article.list-servizi:nth-child(odd),
  .DnnModule article.list-servizi:nth-child(even),
  .DnnModule article.list-servizi:nth-child(odd),
  .DnnModule article.list-servizi:nth-child(even) {
    animation: none;
  }
}
