/*
Theme Name: SI AGID ASL Theme
Author: SI.net
Author URI: https://sinetinformatica.it
Description: SI AGID ASL Theme
Version: 1.0.0

*/

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

.it-header-slim-wrapper .it-header-slim-wrapper-content #headerSlimMenu a span {
  color: #fff;
}

#search-modal,
#spid-modal {
  z-index: 99999;
}

#spid-modal .modal-dialog {
  max-width: 100%;
  margin: 0;
  height: 100vh;
}

#spid-modal .modal-title {
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  padding: 1.125rem 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  color: #455a64;
  margin-bottom: 4.375rem;
}

@media (min-width: 768px) {
  #spid-modal .modal-title {
    box-shadow: none;
    justify-content: space-between;
    line-height: 1.1;
  }
}

/* RL */

.callout li {
  font-family: Lora, Georgia, serif;
  font-size: 0.889rem;
  color: #5b6f82;
}

.callout-inner.nessuna-previsione,
.callout:not(.callout-highlight):not(.callout-more)
  .callout-title.nessuna-previsione::before {
  border-color: #636363 !important;
}

.callout-inner.codice-verde,
.callout:not(.callout-highlight):not(.callout-more)
  .callout-title.codice-verde::before {
  border-color: #47ae45 !important;
}

.callout-inner.codice-giallo,
.callout:not(.callout-highlight):not(.callout-more)
  .callout-title.codice-giallo::before {
  border-color: #f3e600 !important;
}

.callout-inner.codice-arancione,
.callout:not(.callout-highlight):not(.callout-more)
  .callout-title.codice-arancione::before {
  border-color: #f49819 !important;
}

.callout-inner.codice-rosso,
.callout:not(.callout-highlight):not(.callout-more)
  .callout-title.codice-rosso::before {
  border-color: #e52621 !important;
}

#protezione-civile
  .callout:not(.callout-highlight):not(.callout-more)
  .callout-title::before {
  width: 2.222rem;
}

.logo-e015,
.logoRL {
  height: 40px;
}

.card dd,
.card ol,
.card ul,
#footer dd,
#footer ol,
#footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-company {
  height: 25px;
}

#ultimi-messaggi-list .card-teaser-info,
#messaggi-list .card-teaser-info {
  border-left: 8px solid #06c;
}

/** FORM BUILDER CSS */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-number input[type="text"] {
  display: unset;
}

.input-number.input-number-currency input[type="text"],
.input-number.input-number-percentage input[type="text"] {
  padding-left: 40px;
}

.input-number button,
.cmp-input .clean-input {
  display: none;
}

.card .card-calendar {
  max-height: 110px !important;
}

#cerca .section.section-image::before {
  content: none;
}

/* Rimuovo bandiera da leaflet*/
.leaflet-control-attribution.leaflet-control svg.leaflet-attribution-flag {
  display: none !important;
}

.carousel-caption {
  background-color: rgba(255, 255, 255, 1);
  left: 0 !important;
  right: 50% !important;
  bottom: 0 !important;
  text-align: left !important;
}

.carousel-indicators {
  text-align: left !important;
  float: left !important;
  left: 1.5% !important;
  right: inherit !important;
  margin-bottom: 0 !important;
}

.carousel-indicators [data-bs-target] {
  width: 50px !important;
  height: 5px !important;
}

@media (min-width: 1200px) {
  .carousel-indicators [data-bs-target] {
    width: 100px !important;
  }
}
@media (min-width: 992px) {
  .carousel-indicators [data-bs-target] {
    width: 80px !important;
  }
}
@media (min-width: 768px) {
  .carousel-indicators [data-bs-target] {
    width: 60px !important;
  }
}

@media (min-width: 992px) {
  .carousel-item img {
    max-width: 1500px; /* Limita la larghezza dell'immagine */
    width: 100%; /* Assicurati che l'immagine si ridimensioni correttamente */
    height: auto; /* Mantieni le proporzioni originali */
  }
  .carousel-item.active {
    display: flex !important; /* Abilita Flexbox */
    justify-content: center; /* Centra orizzontalmente */
    align-items: center; /* Centra verticalmente */
    height: 100%; /* Assicurati che il contenitore abbia una altezza per il centro verticale */
  }
}

/* Set a fixed height for the carousel on mobile devices */
@media (max-width: 992px) {
  .carousel-item {
    height: 40vh; /* Adjust the height as needed */
  }

  .carousel-item img {
    object-fit: cover;
    height: 100%;
  }
}

/* Set a fixed height for the carousel on mobile devices */
@media (max-width: 767px) {
  .carousel-item {
    height: 30vh; /* Adjust the height as needed */
  }

  .carousel-item img {
    object-fit: cover;
    height: 100%;
  }
}

/* change transition duration to control the speed of fade effect */
.carousel-item {
  /*transition: transform 0s ease-in-out !important;*/
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  transition: opacity 0s 0s !important;
}

.navbar-collapsable {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.carousel-image-background-blur {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  backdrop-filter: blur(20px);
  z-index: -1;
}

.logo-hamburger img {
  height: 60px;
  width: auto;
}

.image-full-width-background .image-full-width-blur{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  backdrop-filter: blur(20px);
  z-index: -1;
}

@media (min-width: 992px) {
  .image-full-width-background{
    min-height: auto !important;
  }

  .image-full-width-background img {
    max-width: 1500px; /* Limita la larghezza dell'immagine */
    width: 100%; /* Assicurati che l'immagine si ridimensioni correttamente */
    height: auto; /* Mantieni le proporzioni originali */
    min-height: auto !important;
  }

  .image-full-width-background .carousel-inner {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
}

/* Set a fixed height for the carousel on mobile devices */
@media (max-width: 992px) {
  .image-full-width-background {
    height: 30vh; /* Adjust the height as needed */
  }

  .image-full-width-background img {
    object-fit: cover;
    height: 100%;
  }
}

/* Set a fixed height for the carousel on mobile devices */
@media (max-width: 767px) {
  .image-full-width-background {
    height: 25vh; /* Adjust the height as needed */
  }

  .image-full-width-background img {
    object-fit: cover;
    height: 100%;
  }

  #professionisti button{
    left: 15% !important;
  }
}
