.impression{
  background: #ffffff;
}
.text-media--detail{
  padding: 3em 0;
  background: var(--lightsand);
}


.highlight--char .highlight__content{
  border-radius: 5px;
}
.highlight--char .highlight__title-container .layout-article__title {
    font-size: clamp(1.25em, 2.25vw, 1.5em);
    font-family: var(--subfont);
    font-weight: 400;
}

.booking-widget-calendar-periods{
  display: none !important;
}
/*RESERVATION*/
.layout-reservation__content{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  grid-gap: 1em;
}
.booking-widget-calendar{
  flex: 1 1 calc(100% - 1em - 375px);
}
.layout-reservation__result{
  flex: 0 0 375px;
  padding: 1.5em;
  text-align: center;
  background-color: #ffffff;
  border-radius: 5px;
  border: 1px solid var(--blue);
  box-shadow: 0 0 13px -5px rgb(0 0 0 / 40%);
}
.layout-reservation__legenda{
  flex: 0 0 100%;
}
.layout-reservation__content .calentim-container .calentim-input .calentim-calendars .calentim-calendar .calentim-title,
.layout-reservation__content .calentim-container-mobile .calentim-input .calentim-calendars .calentim-calendar .calentim-title {
    color: #ffffff;
}
h4.layout-reservation__period-title {
    background: var(--blue);
    padding: 1em;
    font-weight: 400;
    color: #ffffff;
    margin-top: -1.5em;
    margin-left: -1.5em;
    margin-right: -1.5em;
    font-family: var(--subfont);
}
.layout-reservation__content .calentim-container .calentim-input,
.layout-reservation__content .calentim-container-mobile .calentim-input{
  margin: 0;
}

/*LEGENDA*/
.layout-reservation__legenda-list{
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  grid-gap: 1em;
  padding: 1em 1em;
  background-color: #ffffff;
  border-radius: 5px;
  border: 1px solid var(--blue);
  box-shadow: 0 0 13px -5px rgb(0 0 0 / 40%);
  justify-content: center;
}
.layout-reservation__legenda-list-item{
  position: relative;
  padding-left: 40px;
  box-sizing: border-box;
}
.layout-reservation__legenda-list-item::before{
  content: "";
  width: 25px;
  height: 25px;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.layout-reservation__legenda-list-item--available::before{
  background-color: var(--calentim-dayBgColor,#afa);
}
.layout-reservation__legenda-list-item--arrivalDeparture::before{
  background-color: var(--calentim-dayBgColor,#339970);
}
.layout-reservation__legenda-list-item--selected::before{
  background-color: var(--calentim-selectionWrapperColor,#25b1fd);
}
.layout-reservation__legenda-list-item--not-available::before{
  background-color:  var(--calentim-occupiedBgColor,#f4504e) ;
}
.layout-reservation__period-dates{
  display: flex;
  align-items: center;
  grid-gap: 1em;
  margin-bottom: 1em;
  justify-content: center;
}
.layout-reservation__divider{
  display: flex;
}
.scrollbanner {
    color: #ffffff;
    background: var(--blue);
    padding: 1.5em 0;
}

.scrollbanner .scrollbanner__text{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  grid-gap: 1.5em;
}
.scrollbanner__periods{
  display: flex;
  grid-gap: .5em;
  align-items: center;
}
.scrollbanner__periods-divider{
  display: flex;
}
.scrollbanner__periods-title{
  margin: 0;
}
body:not(.body--has-period) .scrollbanner__text--activeDates,
.body--has-period .scrollbanner__text--placeholder{
display: none;
}


body:not(.body--has-period) .layout-reservation__period-dates,
body:not(.body--has-period) .layout-reservation__priceinfo{
  display: none;
}
.body--has-period .layout-reservation__placeholder{
  display: none;
}
.booking-calendar__button .discount{
  display: none;
}
.booking-calendar__button .original-price{
  position: absolute;
  font-size: .65em;
  top: .2em;
  right: 4em;
  opacity: 0.5;
  text-decoration: line-through;
}
@media (min-width: 1400px) and (max-width: 1700px){
  .booking-widget-calendar,
  .layout-reservation__result{
    flex: 0 0 100%;
  }
}
@media (max-width: 1199px){
  .booking-widget-calendar,
  .layout-reservation__result{
    flex: 0 0 100%;
  }
}
@media (max-width: 799px){
  .scrollbanner__periods{
    flex: 0 0 100%;
    justify-content: center;
  }
/*  .scrollbanner{
    padding: 1em 0;
  }*/
  .scrollbanner .scrollbanner__text{
    grid-gap: .5em;
  }
}


.layout-detail-map__map-container{
  height:700px;
}
.layout-detail-map__map-container .leaflet-container{
  background:#ffffff;
}
.layout-detail-map__map-container .booking-widget-map{
  padding:25px 25px 50px 25px;
}
.layout-detail-map__map-container .map-popup .hm-booking-map-popup-object-flexslider{
  min-height:0;
}
.layout-detail-map__map-container .leaflet-popup-content{
  position:relative;
  overflow:visible !important;
  height:auto !important;
  margin:0;
  width:clamp(260px,60vw,600px) !important;
}
.layout-detail-map__map-container .map-popup-description{
  max-height:300px;
  flex:1 1 calc(50% - 10px);
  overflow-y:auto;
}
.layout-detail-map__map-container .map-popup-title{
  background-color:var(--forestgreen);
  padding:5px 30px 5px 10px;
  color:#ffffff;
  margin:0;
  border-radius:12px 12px 0 0;
  z-index:9;
  font-size:1.25rem;
  flex:0 0 100%;
}

.layout-detail-map__map-container .map-popup{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.layout-detail-map__map-container .map-popup-description{
  padding: 10px;
  font-family: var(--mainfont);
  font-size: .8rem;
}
.layout-detail-map__map-container .map-popup .hm-booking-map-popup-object-flexslider{
  margin:10px auto;
  flex:1 1 calc(50% - 10px);
}
.layout-detail-map__map-container .slides img{
  max-height: 175px;
  width: 100%;
  object-fit: cover;
}
.layout-detail-map__map-container .leaflet-popup-content-wrapper{
  min-height:520px;
}
.layout-detail-map__map-container .map-popup-period{
  position:relative;
  line-height:1.2;
    background-color: var(--lightsand);
    color: var(--black);
    padding:15px 10px;
    flex: 0 0 100%;
    font-family: var(--mainfont);
    font-size: .9rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right:8rem;
}
.layout-detail-map__map-container .map-popup-period .map-popup-period-duration{
  display:none;
}
.layout-detail-map__map-container .map-popup-period div:not(.map-popup-period-price) .map-popup-period__value{
  font-size:.95rem;
  font-weight:600;
}
.layout-detail-map__map-container .flex-control-thumbs img{
  max-height:60px;
  width:100%;
  object-fit:cover;
}
.layout-detail-map__map-container .map-popup-button{
  flex:0 0 100%;
}
.layout-detail-map__map-container .map-popup-button .map-popup-link{
      position: relative;
    display: inline-block;
    padding: 0.75em 2.5em;
    padding: 0.75em 2.5em calc(0.75em + 5px) 2.5em;
    color: #fff;
    cursor: pointer;
    font-family: var(--subfont);
    text-decoration: none;
    background-color: var(--blue);
    text-align: center;
    border-radius: 5px;
    transition: .25s ease background-color,.25s ease color;
    border: 0;
    width:100%;
    border-radius:0;
    font-size:.9rem;
    flex:0 0 100%;
}
.layout-detail-map__map-container .map-popup-button .map-popup-link:after {
    content: "";
    position: absolute;
    width: 100%;
    bottom: 5px;
    height: 5px;
    left: 0;
    background-color: var(--lightblue);
    transition: .25s ease background-color;
    display: block;
}
.layout-detail-map__map-container .map-popup-button .map-popup-link:hover {
    background-color: var(--lightblue);
}
.layout-detail-map__map-container .map-popup-button .map-popup-link:hover:after {
    background-color: var(--sand);
}
.layout-detail-map__map-container .leaflet-container a.leaflet-popup-close-button {
    width: 24px;
    height: 24px;
    font: 24px/20px Tahoma,Verdana,sans-serif;
    color: #ffffff;
    font-weight: 300;
    z-index:10;
}
.layout-detail-map__map-container .map-popup-period-price {
    display: flex;
    grid-gap: 0.5em;
    color: var(--forestgreen);
    font-weight: 800;
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 1.4rem;
    width: 9rem;
    text-align: right;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0,-50%);
}
.layout-reservation-map .leaflet-top,.layout-reservation-map .leaflet-bottom{
  z-index:1;
}
.layout-reservation-map .leaflet-map-pane{
  z-index:1;
}
.layout-reservation-map .booking-widget-map-result{
    pointer-events:none;
}
@media screen and (max-width: 860px){
  .flex-direction-nav .flex-next,
  .flex-direction-nav .flex-prev{
    display:none;
  }

}
@media (max-width:480px){
  .layout-detail-map__map-container .map-popup .hm-booking-map-popup-object-flexslider{
    flex: 0 0 100%;
    margin: -15px 0 0;
  }
  .layout-detail-map__map-container .map-popup-description{
    max-height:150px;
  }
  .layout-detail-map__map-container .slides img{
    max-height:140px;
  }
  .layout-detail-map__map-container .map-popup-period{
    padding-right:5rem;
  }
  .layout-detail-map__map-container .map-popup-period-price{
    font-size:1rem;
  }
}