/*
Theme Name: Aurum - Child Theme
Theme URI: https://laborator.co/themes/aurum/
Author: Laborator
Author URI: http://laborator.co/
Description: Use this theme if you want to extend features of Aurum theme or prevent overwriting the changes you make when new theme update is available.
Version: 1.0
Template: aurum
Text Domain: aurum
*/

/* ==================FONTS=========================================== */
@font-face {
  font-family: "BriceLight";
  font-style: normal;
  font-weight: normal;
  src: local("BriceLight"), url("font/Brice-Light.woff") format("woff");
}
@font-face {
  font-family: "BriceExtraLight";
  font-style: normal;
  font-weight: normal;
  src: local("Brice-ExtraLight"),
    url("font/Brice-ExtraLight.woff") format("woff");
}
@font-face {
  font-family: "BriceExtraLightExpanded";
  font-style: normal;
  font-weight: normal;
  src: local("Brice-ExtraLightExpanded"),
    url("font/Brice-ExtraLightExpanded.woff") format("woff");
}
@font-face {
  font-family: "BriceLightExpanded";
  font-style: normal;
  font-weight: normal;
  src: local("Brice-LightExpanded"),
    url("font/Brice-LightExpanded.woff") format("woff");
}
@font-face {
  font-family: "BriceExtraLightSemiExpanded";
  font-style: normal;
  font-weight: normal;
  src: local("Brice-ExtraLightSemiExpanded"),
    url("font/Brice-ExtraLightSemiExpanded.woff") format("woff");
}

@font-face {
  font-family: "BriceExtraLightCondensed";
  font-style: normal;
  font-weight: normal;
  src: local("BriceExtraLightCondensed"),
    url("font/Brice-ExtraLightCondensed.woff") format("woff");
}
@font-face {
  font-family: "BriceExtraLightSemiCondensed";
  font-style: normal;
  font-weight: normal;
  src: local("BriceExtraLightSemiCondensed"),
    url("font/Brice-ExtraLightSemiCondensed.woff") format("woff");
}
@font-face {
  font-family: "HelveticaNeueThin";
  font-style: normal;
  font-weight: normal;
  src: local("HelveticaNeueThin"),
    url("font/HelveticaNeue-Thin.woff") format("woff");
}
@font-face {
  font-family: "HelveticaNeueLight";
  font-style: normal;
  font-weight: normal;
  src: local("HelveticaNeueLight"),
    url("font/HelveticaNeue-Light.woff") format("woff");
}
@font-face {
  font-family: "HelveticaNeueBold";
  font-style: normal;
  font-weight: normal;
  src: local("HelveticaNeueBold"),
    url("font/HelveticaNeueBold.woff") format("woff");
}

:root {
  --padding: 50px;
  --custom-red: #832334;
  --custom-yellow: #fabf00;
  --bg-color: #fffcf2;
  --residence-bg: #01493e;
  --nav-line-height: 75px;
  --btn-width: 370px;
  --newCardTitleHeight: 100px;
}

/* =====================RESET DEFAULT======================== */

html {
  scroll-behavior: smooth;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
}
a:hover {
  color: inherit;
}

p {
  font-family: "HelveticaNeueLight";
}

ul {
  list-style: none;
  margin: 0;
}
section {
  padding: 0;
  max-width: 100vw !important;
}

hr {
  background-color: var(--custom-red);
  /* height: 2px; */
  width: 100%;
  opacity: 1;
}
/* =================UTILITY */
hr.white {
  background-color: white;
}
.page-id-311 hr,
.single-appartamento hr,
.page-id-321 hr,
.page-id-249 hr {
  background-color: transparent;
}

.yellow-txt,
.yellow-txt * {
  color: var(--custom-yellow) !important;
}

/* ================DESKTOP HEADER============================= */
header {
  width: 100vw;
}
.site-header {
  width: 100%;
}

.main-header {
  background-color: var(--bg-color);
  width: 100%;
  overflow: hidden;
}
.residence-logos {
  display: none;
}

.name-header-line,
.menu-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--nav-line-height);
  height: var(--nav-line-height);
  /* max-height: 25vh; */
  border-bottom: 1px solid var(--custom-red);
  padding-left: var(--padding);
}

.name {
  height: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
}
.name img {
  width: 100%;
  min-width: 300px;
  max-width: 300px;
}

.btn {
  background-color: var(--custom-red) !important;
  color: white !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-family: "BriceExtraLightSemiCondensed" !important;
  border-radius: 0!important;
}

.btn-book-now {
  width: var(--btn-width) !important;
  border-left: 1px solid var(--custom-red) !important;
  height: var(--nav-line-height) !important;
  font-size: 25px !important;
  cursor: pointer !important;
  transition: all 0.3s ease-in-out !important;
}
.btn-book-now a {
  color: white;
  height: 35px;
  transition: all 0.3s ease-in-out;
}
.btn-book-now img {
  margin-right: 15px;
}
.book-now-residence {
  display: none !important;
}
header .btn-book-now:hover {
  background-color: var(--bg-color);
  border: 1px solid var(--custom-red);
}
header .btn-book-now:hover a {
  color: var(--custom-red);
  text-decoration: none;
}
header .book-now-residence:hover {
  background-color: var(--residence-bg) !important;
  border: 1px solid white !important;
  color: white !important;
  text-decoration: none;
}
/* header .book-now-residence:hover a {
} */

.menu-box {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
  /* width: calc(100% - var(--btn-width)) !important; */
}

.sticky-nav {
  background: var(--bg-color);
  padding-left: var(--padding);
  position: fixed;
  top: 0;
  height: var(--nav-line-height);
  width: 100vw;
  align-items: center;
  display: none;
  border-bottom: 1px solid black;
}
.menu-box ul,
.sticky-nav ul {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
}

.menu-box ul li,
.sticky-nav ul li {
  padding-right: 15px;
  height: fit-content;
  margin-right: 15px;
  font-family: "BriceExtraLightExpanded";
  display: flex;
}

.menu-box ul li,
.sticky-nav ul li,
.langs a {
  position: relative;
}

.menu-box ul li::after,
.sticky-nav ul li::after,
.langs a::after {
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 0;
  transform: translateY(-50%);
  height: 13px;
  width: 1px;
  display: block;
  background-color: var(--custom-red);
  content: "";
}

/* .langs a::after {
  top: 0;
  transform: translateY(0); 
 transform: translateY(-7px);
  transform: translateY(-50%);
  bottom: 0;
  height: 13px; 
} */

.hide-after::after {
  display: none !important;
}
.menu-box ul li a,
.sticky-nav ul li a,
.has-hidden-menu {
  text-transform: capitalize;
  font-size: min(15px, 4vw);
  display: flex;
  align-items: center;
  color: var(--custom-red);
  font-family: "BriceExtraLightExpanded";
}
.page-id-249 .menu-box ul li,
.single-appartamento .menu-box ul li,
.page-id-311 .menu-box ul li,
.page-id-321 .menu-box ul li {
  color: white !important;
}
.menu-box ul li {
  color: var(--custom-red);
  cursor: pointer;
}

.sticky-menu {
  width: calc(100% - 370px);
}
.social-langs {
  width: var(--btn-width);
  border-left: 1px solid var(--custom-red);
  height: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
}
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid var(--custom-red);
  height: 100%;
  width: 33%;
}

.socials a:nth-child(1),
.socials a:nth-child(3) {
  margin-right: 10px;
}
.white-social {
  display: none;
}

.langs {
  width: 66%;
  height: 100%;
}
.langs div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.langs div a {
  text-transform: uppercase;
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 15px;
  padding: 0 5px;
  color: var(--custom-red);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.langs div:not(:last-child) a {
  margin-right: 15px;
}

.langs div li:not(:last-child) a::after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: var(--custom-red);
  content: "";
  display: block;
  width: 1px;
  height: 15px;
}

.menu-box .sub-menu {
  padding: 0 15px;
  font-size: 15px;
  display: none;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  transform: scaleX(0);
  transform-origin: left;
}
.mobile-list .sub-menu {
  transform: scaleX(1) scaleY(0);
  transform-origin: top;
  flex-direction: column;
  transition: all 0.5s ease-in-out;
  display: none;
}
.sub-menu.show-internal {
  display: flex;
  transform: scaleX(1);
  transition: all 0.5s ease-in-out;
  transition-delay: 0.5s;
}

.sub-menu img {
  margin-right: 15px;
  width: 10px;
}

.sub-menu ul {
  display: flex;
}

.sub-menu a {
  font-family: "BriceExtraLightCondensed" !important;
  font-size: 15px !important;
  color: var(--custom-red);
}

.show-internal {
  opacity: 1 !important;
  transform: scale(1) !important;
}
.has-hidden-menu {
  display: flex;
}
/* .single-appartamento .sub-menu a,
.single-appartamento .menu-main-container a {
  color: white;
} */

/* ======================= MOBILE HEADER =================================== */

.mobile-header {
  width: 100%;
  padding: var(--padding) calc(var(--padding) / 2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
}

.mobile-header > div,
.mobile-hidden-menu > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.page-id-249 .mobile-hidden-menu .residence-logos,
.single-appartamento .mobile-hidden-menu .residence-logos,
.page-id-311 .mobile-hidden-menu .residence-logos,
.page-id-321 .mobile-hidden-menu .residence-logos {
  padding: 0;
  display: flex;
}
.mobile-hidden-menu .residence-logos {
  display: none;
}
.mobile-header > button {
  width: 100%;
}

.hidden-logo,
#logo {
  width: 80%;
  min-width: 200px;
  max-width: 240px;
}
.close-button,
.hamburger {
  height: 30px;
}
.white-hamburger {
  display: none;
}
.page-id-249 .white-hamburger,
.single-appartamento .white-hamburger,
.page-id-311 .white-hamburger,
.page-id-321 .white-hamburger {
  display: block;
}
.page-id-249 .red-hamburger,
.single-appartamento .red-hamburger,
.page-id-311 .red-hamburger,
.page-id-321 .red-hamburger {
  display: none;
}
.mobile-hidden-menu {
  background-color: var(--custom-red);
  padding: var(--padding) calc(var(--padding) / 2);
  display: none;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  height: 100%;
  width: 100vw;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  padding-bottom: 100px;
}
#menu-main-3 {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-id-249 .mobile-hidden-menu,
.single-appartamento .mobile-hidden-menu,
.page-id-311 .mobile-hidden-menu,
.page-id-321 .mobile-hidden-menu {
  background-color: var(--residence-bg);
}
.mobile-hidden-menu.show-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  opacity: 1;
}
.mobile-hidden-menu {
  text-align: center;
}
.mobile-hidden-menu .menu-main-container {
  width: auto;
}
.mobile-hidden-menu .has-hidden-menu {
  flex-direction: column;
}
.mobile-hidden-menu li {
  margin-bottom: 20px;
}
.mobile-hidden-menu li a,
.mobile-hidden-menu li,
.mobile-hidden-menu .menu-item > a {
  font-size: 20px;
  font-family: "BriceExtraLightExpanded";
  color: white !important;
}

.hidden-menu-socials {
  justify-content: center !important;
  margin-top: auto;
  gap: 15px;
}

.mobile-list img {
  height: 20px;
  margin: 10px auto;
}

.mobile-list ul li a {
  font-family: "BriceExtraLightCondensed";
  font-size: 26px;
}
.mobile-list > li > div {
  display: none;
  transform: scaleY(0);
  opacity: 0;
  transform-origin: top;
  transition: all 0.5s ease-in-out;
}
.mobile-list > li > div.show-mobile-hidden {
  transform: scaleY(1);
  opacity: 1;
}
.mobile-langs > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-langs > div a {
  font-size: 18px !important;
  font-family: "BriceExtraLightExpanded";
  color: white !important;
}
.page-id-249 .name-header-line,
.page-id-249 .menu-header-line,
.page-id-249 .social-langs,
.page-id-249 .socials,
.page-id-249 .btn-book-now,
.single-appartamento .name-header-line,
.single-appartamento .menu-header-line,
.single-appartamento .social-langs,
.single-appartamento .socials,
.single-appartamento .btn-book-now,
.page-id-311 .name-header-line,
.page-id-311 .menu-header-line,
.page-id-311 .social-langs,
.page-id-311 .socials,
.page-id-311 .btn-book-now,
.page-id-321 .name-header-line,
.page-id-321 .menu-header-line,
.page-id-321 .social-langs,
.page-id-321 .socials,
.page-id-321 .btn-book-now {
  border-color: white !important;
}

/* ==========================FOOTER=============================== */
footer {
  border-top: 1px solid var(--custom-red);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* width: 100vw; */
  overflow: hidden;
}
#footer-desktop {
  width: 100%;
  padding: 0;
}
.footer-contacts {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0 var(--padding);
  width: 100%;
  border-bottom: 1px solid var(--custom-red);
  position: relative;
}
.footer-contacts a {
  font-family: "HelveticaNeueThin";
  color: var(--residence-bg) !important;
  text-decoration: underline;
}
.left-contact {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  height: 100%;
  padding: var(--padding);
}
.right-contact {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  height: 100%;
  padding: var(--padding);
}
.center-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.center-contact a {
  font-size: clamp(40px, 3vw, 50px);
  color: var(--custom-red) !important;
}

.left-contact .contact-arrow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 85px;
}
.right-contact .contact-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 85px;
}

.footer-img {
  height: 35px;
  width: 100%;
  margin-top: 25px;
}

.footer-map {
  padding: var(--padding) calc(var(--padding) / 2) calc(var(--padding) / 2)
    calc(var(--padding) / 2);
  width: 100%;
}
.footer-map p {
  font-family: "HelveticaNeueThin";
  font-size: 25px;
  color: var(--custom-red);
  text-align: center;
}
.footer-red {
  background-color: var(--custom-red);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.red-upper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 var(--padding);
}
.right-red,
.right-red ul {
  display: flex;
  gap: 20px;
}
.footer-red p,
.footer-red a,
.footer-red span {
  color: white;
  font-family: "HelveticaNeueLight";
  font-size: 18px;
  margin: 0;
}
.footer-red p {
  padding: 25px 0;
}
.footer-red hr {
  margin: 0;
  height: 1px;
}

#footer-mobile {
  display: none;
}
.footer-mail {
  font-size: 25px;
}
.right-contact .footer-mail {
  color: var(--custom-red) !important;
}

/* =======================CAROUSEL======================= */
#carousel-section {
  width: 100%;
  height: 75vh;
  padding: var(--padding);
  background-color: var(--bg-color);
}
/* .carousel {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 5rem;
} */
.carousel {
  height: 100%;
  width: 100%;
}
.carousel-inner {
  height: 100%;
}
.carousel-item {
  height: 100%;
  width: 100%;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel__images {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel__track-container {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.carousel__track {
  padding: 0;
  margin: 0;
  position: relative;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}
.carousel__slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}
.slide-title {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  color: white;
  font-size: 50px;
  font-family: "BriceExtraLightSemiExpanded";
  text-transform: none;
  width: 100%;
  text-align: center;
}
.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s ease-in;
  width: 50px;
  z-index: 1;
}

.carousel__button--left {
  left: 5%;
}
.carousel__button--right {
  right: 5%;
  transform: translateY(-50%);
}
.carousel__button img {
  width: 100%;
}

.small-carousel-section {
  width: 100%;
  /* min-height: 85vh; */
  display: flex;
  justify-content: center;
  align-items: stretch;
  background-color: var(--bg-color);
  padding: 0;
  border-bottom: 1px solid var(--custom-red);
  transition: all 0.5s ease-in-out;
}
.small-carousel-slider-box {
  /* flex: 1 1 100%; Flessibile in larghezza, ma occupa tutto lo spazio disponibile */
  /* min-width: 50%; */
  height: 100%;
  padding: var(--padding);
  flex: 1;
  height: 85vh;
}

.small-carousel-slider-box .carousel {
  max-width: 700px;
}
.small-carousel-content h1 {
  font-family: "BriceExtraLightExpanded";
  font-size: 100px;
  color: var(--custom-red);
}

.small-carousel-title {
  font-family: "BriceExtraLightExpanded";
  /* font-size: calc(40px + 2vw); */
  font-size: calc(25px + 2vw);
  color: var(--custom-red);
}
.small-carousel-p,
.small-carousel-content p,
.small-carousel-content div {
  font-family: "HelveticaNeueLight";
  font-size: 18px;
}
.bold-txt {
  font-family: "HelveticaNeueBold";
}
.small-carousel-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* height: 100%; */
  padding: var(--padding);
  border-right: 1px solid var(--custom-red);
  width: 45%;
}
.page-id-249 .small-carousel-content,
.single-appartamento .small-carousel-content,
.page-id-249 .small-carousel-section,
.single-appartamento .small-carousel-section {
  border-color: white !important;
}
.small-carousel-arrow-box {
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
}
.small-carousel-arrow-box img {
  margin-right: 15px;
  width: 50px;
}
.small-carousel-left-arrow {
  transform: rotate(180deg);
}

.carousel-yellow-counter {
  color: var(--custom-yellow);
  font-family: "HelveticaNeueThin";
  font-size: 25px;
}
.horizontal-slider {
  display: none;
}
.reversed-section {
  flex-direction: row-reverse;
}
.reversed-section > .small-carousel-slider-box {
  border-right: 1px solid var(--custom-red);
}
.reversed-section > .small-carousel-content {
  border-right: none;
}

/* ==========================ROOMS SLIDER SECTION======================= */

.rooms-section {
  background-color: var(--bg-color);
  background-image: url("https://www.villamariaregina.com/wp-content/uploads/2024/06/Group-4708.svg");
  background-repeat: no-repeat;
  padding: var(--padding);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: end;
  min-height: 75vh;
  height: auto;
}
.rooms-upper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
}
.rooms-upper h2 {
  font-family: "BriceExtraLightExpanded";
  font-size: 100px;
  width: 100%;
  text-align: left;
  color: var(--custom-red);
}
.rooms-upper p {
  font-family: "HelveticaNeueLight";
  font-size: 20px;
  width: 100%;
  text-align: left;
  padding-right: var(--padding);
}

/* ============================MEETING SECTION====================  */
.meeting-section {
  border-top: 1px solid var(--custom-red);
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
}
.meeting-content {
  background-color: var(--bg-color);
  padding: var(--padding);
}
.meeting-content p,
.meeting-content h2 {
  width: 80%;
  margin: 15px auto;
}
.meeting-content h2 {
  font-size: 80px;
}
.meeting-carousel-section {
  background-color: var(--custom-red);
  padding: calc(var(--padding) / 2);
  min-width: 50%;
  display: flex;
  flex-direction: column;
}
.meeting-carousel-section h3 {
  font-family: "BriceExtraLightExpanded";
  font-size: 50px;
  color: white;
  text-align: center;
}
.meeting-carousel-section .carousel {
  height: 450px;
  margin: 15px auto;
}
.meeting-carousel-section .carousel__slide {
  background-color: var(--custom-red);
}
.meeting-carousel-section .carousel__images {
  object-position: bottom !important;
}
.learn-more {
  color: var(--custom-red);
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 18px;
  text-decoration: underline;
}
.learn-more:hover {
  color: white !important;
}
.meeting-carousel-arrow-box {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 20px;
  margin-top: 20%;
}
.meeting-content > img {
  display: none;
}
.sala-linkbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  margin-bottom: 15px;
}
.sala-link {
  color: var(--custom-red);
  text-decoration: underline;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  margin-top: 30px;
}
.sala-link img {
  height: 15px;
}
.sala-li {
  text-transform: uppercase;
  font-family: "HelveticaNeueBold";
  font-size: 18px;
  color: var(--custom-red);
  position: relative;
}
.sala-ul {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 0.3s ease-in-out;
  margin-top: 30px;
}
.sala-ul.showul {
  opacity: 1;
  transform: scaleY(1);
}

/* ============================RESIDENCE SECTION====================  */

.residence-section {
  width: 100%;
  background-color: var(--residence-bg);
  padding: var(--padding) calc(var(--padding) / 2);
}
.residence-big-img {
  width: 100%;
  height: 75vh;
  display: flex;
  justify-content: center;
}
.residence-big-img img {
  width: 30%;
  height: 30%;
  transform: scale(0.5);
  opacity: 0;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s ease-in-out;
}
.residence-big-img img.animated {
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: scale(1);
}
.residence-section .title-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}
.residence-section .title-box img {
  height: 100%;
}
.residence-section .title-box h3 {
  font-family: "BriceExtraLightExpanded";
  font-size: clamp(1rem, 10vw, 150px);
  color: white;
}
.residence-desc {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 100px;
}
.residence-p {
  width: 40%;
}
.residence-p p {
  font-family: "HelveticaNeueLight";
  font-size: 18px;
  color: white !important;
}
.residence-desc > p {
  font-family: "HelveticaNeueThin";
  font-size: 25px;
  color: white;
  text-align: end;
}
.residence-name {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.more-info {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.more-info a {
  color: white !important;
  text-decoration: underline !important;
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 18px;
}
.more-info a:first-child {
  font-size: 25px;
}
.residence-name h2 {
  color: white;
  font-size: calc(16px + 4vw);
  font-family: "HelveticaNeueThin";
  width: 100%;
  margin: 0;
  text-align: end;
  text-transform: uppercase;
}

.residence-arrow-box {
  margin: 25px 0;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1%;
}
.residence-arrow-box > img {
  cursor: pointer;
}
.residence-carousel {
  width: 40%;
  height: 280px;
  overflow: hidden;
  position: relative;
}
.residence-slide {
  width: 100%;
  height: 100%;
  display: none;
}
.residence-slide.current {
  display: block;
}
.residence-slide > .image {
  display: none;
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 100%;
}
.residence-slide > .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}
.residence-slide:hover > .image {
  display: block;
}
.residence-mobile {
  display: none;
}
/* =================BOOKING FORM SECTION ================================ */
.booking-section {
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 var(--padding);
}
#form {
  display: flex;
  justify-content: end;
  align-items: center;
  border: 1px solid var(--custom-red);
  background-color: white;
  width: 100%;
  height: 65px;
}
#from,
#to {
  opacity: 0;
}
#from.show,
#to.show {
  opacity: 1;
}
.blocco {
  height: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tendina {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2%;
}

.tendina > label {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--custom-red);
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 18px;
  font-weight: 100;
  transition: all 0.3s ease;
  pointer-events: none; /* Prevent label from being clicked */
}
.label {
  display: none;
}
.move-label {
  font-size: 15px !important;
  top: 13px !important;
}

.tendina input,
.tendina select {
  height: 100%;
  width: 80%;
  border: none;
  color: var(--custom-red);
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 20px;
  padding-top: 5px;
  padding-left: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  background-color: white;
}
.tendina input:focus,
.tendina select:focus {
  outline: none;
  border: none;
}

.tendina select {
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
}
.tendina input::placeholder {
  color: var(--custom-red);
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 20px;
}

.ui-widget-content .ui-state-active {
  color: inherit !important;
}
#search {
  border-left: 1px solid var(--custom-red);
  padding: 1px;
  background-color: white;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
  cursor: pointer;
}
.booking-cta {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--custom-red);
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 20px;
  border: none;
  padding-top: 5px;
  transition: all 0.3s ease-in-out;
  background-color: transparent;
}
#search:hover {
  background-color: var(--custom-red);
}
#search:hover .booking-cta {
  color: white;
}
#ui-datepicker-div {
  background-color: var(--bg-color);
  border-color: var(--custom-red);
}
#ui-datepicker-div > div {
  background-color: var(--custom-red);
  color: white;
}
#ui-datepicker-div > div > a.ui-datepicker-next.ui-corner-all,
#ui-datepicker-div > div > a.ui-datepicker-prev.ui-corner-all {
  background-color: white;
}
td > a {
  background-color: white !important;
}
/* ============================SERVICES SECTION======================== */

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--padding) calc(var(--padding) / 2);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.service-overlay.show-overlay {
  opacity: 1;
}
.service-overlay p {
  font-family: "HelveticaNeueLight";
  color: var(--custom-red);
  font-size: 20px;
  text-align: left;
  text-transform: uppercase;
}

#services-section {
  width: 100%;
  background-color: var(--bg-color);
}
.service-card {
  position: relative;
  padding: calc(var(--padding) / 2);
  padding-bottom: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
}
.service-card.bordered {
  border-right: 1px solid var(--custom-red);
}
.services-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0 var(--padding);
  border-bottom: 1px solid var(--custom-red);
}
.service-img {
  width: 100%;
  height: 80%;
}
.service-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.service-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 150;
  cursor: pointer;
}
.service-title h3 {
  font-family: "BriceExtraLightExpanded";
  font-size: calc(13px + 2vw);
  color: var(--custom-red);
}

.second-line h3 {
  font-size: calc(10px + 1vw);
}
.second-line .service-card {
  width: 33%;
}
.second-line .plus {
  height: 20px;
}
#services-mobile {
  display: none;
}

/* ========================GALLERY SECTION===================== */

.gallery {
  background-color: var(--bg-color);
  padding-bottom: calc(var(--padding) * 2);
}
.gallery-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
  padding: var(--padding);
}
.gallery-title h2 {
  font-family: "BriceExtraLightexpanded";
  font-size: calc(50px + 5vw);
  color: var(--custom-red);
}
.gallery-slider {
  height: 75vh;
  display: flex;
  flex-wrap: wrap;
  overflow: auto;
  padding: var(--padding);
  /* scrollbar-width: none; Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.gallery-slider::-webkit-scrollbar {
  display: none; /* Safari e Chrome */
}
.gallery-item {
  width: 33%;
  height: 75vh;
  overflow: hidden;
  padding: 0 calc(var(--padding) / 2);
}
.gallery-item:nth-child(3n + 2) {
  transform: translateY(50px);
  margin-top: 50px;
}
.gallery-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
/* =========================SINGLE ROOM PAGE============================ */
.single-room-details {
  margin-top: 5%;
}
.single-room-details ul li {
  font-family: "HelveticaNeueBold";
  font-size: 18px;
  color: var(--custom-red);
  position: relative;
  padding-left: 30px;
}

.single-room-details ul li:before {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: url("https://www.villamariaregina.com/wp-content/uploads/2024/06/Star-8.png")
    no-repeat left center;
  background-size: contain;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.room-links {
  margin: 5% 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}
.room-links a {
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 18px;
  color: var(--custom-red);
  text-decoration: underline;
  text-transform: capitalize;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.room-links a:first-child {
  margin-left: 0;
}
.room-links a img {
  height: 15px;
  margin-right: 5px;
}
.additional-services {
  transform: scale(0);
  transition: all 0.5s ease-in-out;
  transition-delay: 1s;
  display: none;
}
.additional-services.show {
  transform: scale(1);
  display: block;
}

.hero {
  padding: var(--padding);
  width: 100%;
  height: 85vh;
  background-color: var(--bg-color);
  position: relative;
}
.hero h1 {
  position: absolute;
  bottom: var(--padding);
  right: calc(var(--padding) + 30px);
  font-family: "BriceExtraLightExpanded";
  font-size: calc(25px + 2vw);
  color: var(--bg-color);
  text-shadow: 0px 3px 20px rgba(0, 0, 0, 1);
}
.single-appartamento .hero h1 {
  color: white;
}
.single-appartamento .hero {
  background-color: var(--residence-bg);
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ============CONTATTI=================== */
.indications {
  background-color: var(--bg-color);
  margin: 0;
  padding: var(--padding);
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: start;
}
.indications h2 {
  width: 100%;
  color: var(--custom-red);
  font-family: "BriceExtraLightExpanded";
  font-size: calc(30px + 3vw);
  text-align: center;
}
.indication {
  width: 30%;
  margin-right: 25px;
}
.indication:nth-last-of-type(1) {
  margin-right: auto;
}
.indication h3 {
  margin: 25px 0;
  font-family: "BriceLight";
  font-size: 25px;
  color: var(--custom-red);
  text-transform: none;
  display: flex;
  justify-content: start;
  align-items: baseline;
  border-bottom: 1px solid var(--custom-red);
  width: fit-content;
  cursor: pointer;
}
.indication h3 img {
  height: 15px;
  margin-left: 15px;
}
.hidden-indication {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 0.5s ease;
}
.hidden-indication p {
  font-family: "HelveticaNeueLight";
  font-size: 18px;
  color: black;
}
.hidden-indication.show {
  opacity: 1;
  transform: scaleY(1);
}
/* ========================RESIDECE======================== */
.page-id-249 .footer-red,
.page-id-249 .sticky-nav,
.page-id-249 .main-header,
.page-id-249 #carousel-section,
.page-id-249 #booking-section,
.page-id-249 .small-carousel-section,
.page-id-249 .rooms-section,
.single-appartamento .footer-red,
.single-appartamento .sticky-nav,
.single-appartamento .main-header,
.single-appartamento #carousel-section,
.single-appartamento #booking-section,
.single-appartamento .small-carousel-section,
.single-appartamento .rooms-section,
.page-id-311 .footer-red,
.page-id-311 .sticky-nav,
.page-id-311 .main-header,
.page-id-321 .sticky-nav,
.page-id-321 .main-header {
  background-color: var(--residence-bg);
}
.page-id-249 .main-header a,
.page-id-249 .sticky-nav a,
.page-id-311 .main-header a,
.page-id-311 .sticky-nav a,
.page-id-249 .small-carousel-title,
.page-id-249 .small-carousel-p,
.page-id-249 .carousel-yellow-counter,
.page-id-249 .rooms-upper p,
.page-id-321 .main-header a,
.page-id-321 .sticky-nav a,
.single-appartamento .main-header a,
.single-appartamento .sticky-nav a,
.single-appartamento .small-carousel-title,
.single-appartamento .small-carousel-p,
.single-appartamento .small-carousel-content p,
.single-appartamento .small-carousel-content a,
.single-appartamento .carousel-yellow-counter,
.single-appartamento .rooms-upper p,
.single-appartamento .small-carousel-content div
/* .page-id-321 .small-carousel-content div,
.page-id-249 .small-carousel-content div */ {
  color: white;
}
.page-id-249 .menu-box ul li::after,
.page-id-249 .sticky-nav ul li::after,
.page-id-249 .langs a::after,
.single-appartamento .menu-box ul li::after,
.single-appartamento .sticky-nav ul li::after,
.single-appartamento .langs a::after,
.page-id-311 .menu-box ul li::after,
.page-id-311 .sticky-nav ul li::after,
.page-id-311 .langs a::after,
.page-id-321 .menu-box ul li::after,
.page-id-321 .sticky-nav ul li::after,
.page-id-321 .langs a::after {
  background-color: white;
}

.page-id-249 .rooms-upper,
.single-appartamento .rooms-upper {
  width: 100%;
  align-items: end;
}
.page-id-249 .rooms-upper h2,
.single-appartamento .rooms-upper h2,
.page-id-266 .rooms-upper h2 {
  font-size: calc(18px + 3vw);
  text-align: right;
  color: white !important;
}
.page-id-266 .rooms-upper h2 {
  color: var(--custom-red) !important;
}
.page-id-249 .name,
.single-appartamento .name,
.page-id-311 .name,
.page-id-321 .name {
  display: none;
  pointer-events: none;
}
.page-id-249 .residence-logos,
.single-appartamento .residence-logos,
.page-id-311 .residence-logos,
.page-id-321 .residence-logos {
  width: calc(100% - var(--btn-width));
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-line-height);
  padding-right: var(--padding);
}
.page-id-249 .residence-logos a img,
.single-appartamento .residence-logos a img,
.page-id-311 .residence-logos a img,
.page-id-321 .residence-logos a img {
  height: 50%;
}
.page-id-249 .white-social,
.single-appartamento .white-social,
.page-id-311 .white-social,
.page-id-321 .white-social {
  display: inline-block !important;
}
.page-id-249 .red-social,
.single-appartamento .red-social,
.page-id-311 .red-social,
.page-id-321 .red-social {
  display: none !important;
}
.page-id-249 .btn-book-now,
.single-appartamento .btn-book-now,
.page-id-311 .btn-book-now,
.page-id-321 .btn-book-now {
  display: none !important;
}
.page-id-321 .book-now-residence {
  display: none !important;
}
.page-id-249 .book-now-residence,
.single-appartamento .book-now-residence,
.page-id-311 .book-now-residence {
  display: flex !important;
  background-color: white !important;
}
.page-id-249 .book-now-residence,
.single-appartamento .book-now-residence,
.page-id-311 .book-now-residence {
  color: var(--residence-bg) !important;
}

.page-id-249 .mobile-header,
.single-appartamento .mobile-header,
.page-id-311 .mobile-header,
.page-id-321 .mobile-header {
  background-color: var(--residence-bg);
}
.page-id-249 #logo,
.single-appartamento #logo,
.page-id-311 #logo,
.page-id-321 #logo {
  display: none;
}
.page-id-249 .rooms-upper p,
.single-appartamento .rooms-upper p {
  width: 50%;
}
.single-appartamento .single-room-details ul li {
  color: white;
  text-transform: capitalize;
}
/* ===================NEWS============================= */
#news-section {
  background-color: var(--bg-color);

  width: 100%;
}
#news-section h2 {
  color: var(--custom-red);
  font-size: calc(40px + 4vw);
  font-family: "BriceExtraLightExpanded";
  width: 50%;
  text-align: left;
  margin: 0;
  padding: var(--padding);
  border-right: 1px solid var(--custom-red);
}
.card-box {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
  border-bottom: 1px solid var(--custom-red);
  padding-bottom: var(--padding);
  position: relative;
}
.news-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
}
.news-card > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.news-card > a > img {
  width: 70%;
  height: 60vh;
  object-fit: cover;
}
.news-title {
  width: 70%;
  display: flex;
  justify-content: start;
  align-items: start;
  margin-top: 25px;
  height: 200px;
}
.news-title img {
  width: 8%;
}
.news-title h3 {
  color: var(--custom-red);
  font-family: "BriceExtraLightSemiCondensed";
  font-size: calc(15px + 1vw);
  width: fit-content;
  margin: 0;
}
.news-link-box {
  width: 70%;
  margin: 0 auto;
  display: flex;
  justify-content: start;
  align-items: center;
  padding-left: 5%;
  margin-top: 25px;
}
.news-link-box a {
  color: var(--custom-red);
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 18px;
  text-decoration: underline;
}
.news-card:first-of-type {
  border-right: 1px solid var(--custom-red);
}
.news-commands {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  background-color: var(--bg-color);
  padding: 15px;
}
.news-counter {
  margin-left: 15px;
}
.news-btn {
  background: none;
  border: none;
}
/* =============SINGLE NEWS PAGE ======================== */
.single-news-content {
  width: 100%;
  min-height: 50vh;
  padding: var(--padding);
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  row-gap: 15%;
}
.single-news-content h1 {
  color: var(--custom-red);
  font-size: calc(25px + 2vw);
  font-family: "BriceExtraLightExpanded";
}
.content-box {
  width: 75%;
}
.single-news-content p,
.single-news-content ul,
.single-news-content li,
.single-news-content span {
  font-family: "HelveticaNeueLight" !important;
  font-size: 18px;
}
.single-news-content h1,
.single-news-content h2,
.single-news-content h3,
.single-news-content h4 {
  font-family: "BriceExtraLightExpanded" !important;
}
.single-news-content a {
  font-family: "BriceExtraLightCondensed";
  font-size: 18px;
  text-decoration: underline;
  display: block;
  margin-left: auto;
  color: var(--custom-red);
}
/* ============RESIDENCE BOOKING FORM================= */
.table-condensed > thead > tr:first-child {
  background-color: var(--residence-bg);
  color: white;
}
.prev > span,
.next > span {
  border-color: white !important;
}
.applyBtn {
  background-color: var(--residence-bg) !important;
}
.cancelBtn {
  background-color: var(--custom-red) !important;
}
.drp-buttons .drp-selected {
  display: none !important;
}
.drp-buttons {
  width: 100%;
  display: flex !important;
  justify-content: end;
  align-items: center;
  column-gap: 2%;
}
.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: var(--residence-bg) !important;
  border-color: transparent;
  color: #fff;
}
.blocco-bordered {
  border-left: 1px solid var(--custom-yellow);
}
.page-id-249 #form,
.single-appartamento #form {
  border: none;
}
/* ========FORM PAGE=================== */
.page-id-311 .book-now-residence {
  display: none;
}
.page-id-311 .residence-logos {
  width: 100%;
}
#form-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--residence-bg);
  padding: var(--padding);
}
#form-section h1 {
  font-family: "BriceExtraLightSemiCondensed";
  font-size: calc(20px + 4vw);
  color: white;
}

#form-section > .gform_wrapper {
  width: 70%;
}
.gform_title {
  display: none;
}
#gform_1 label {
  color: white;
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 20px;
  position: relative;
  padding-left: 30px;
}
.gfield_required {
  display: none !important;
}
#input_1_6,
#input_1_5 {
  width: 100%;
}
#gform_1 label::before {
  content: "";
  background-image: url("https://www.villamariaregina.com/wp-content/uploads/2024/07/Group-4601-5.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px; /* Regola l'altezza se necessario */
  display: block;
  position: absolute;
  left: 0;
  top: 50%; /* Centra verticalmente l'immagine */
  transform: translateY(-50%);
}
#gform_1 input,
#input_1_9 {
  border-color: white;
  color: white;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
}
#gform_1 input::placeholder,
#input_1_9::placeholder {
  opacity: 0.5;
  text-transform: capitalize;
}
#gform_1 input:focus,
#input_1_9:focus {
  border-color: var(--custom-yellow);
  outline: none;
  box-shadow: none;
}
.page-id-311 #ui-datepicker-div {
  background-color: white;
}
.page-id-311 #ui-datepicker-div > div {
  background-color: var(--residence-bg);
}
.page-id-311 .ui-datepicker-title select {
  border: none;
  color: white;
}
.page-id-311 .ui-datepicker-header .ui-corner-all {
  background-color: var(--residence-bg) !important;
}
.page-id-311 .ui-corner-all::before {
  background-color: transparent;
}
.page-id-311 .hero {
  background-color: var(--residence-bg);
  border: none;
}
#gform_submit_button_1 {
  background-color: white !important;
  color: var(--residence-bg) !important;
  width: var(--btn-width) !important;
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 25px;
  height: 50px;
  margin-left: auto;
}

span.lb-number {
  display: none !important;
}
.second-room-form {
  width: 100%;
  background-color: var(--bg-color);
  padding-bottom: var(--padding);
}
.second-residence-form {
  width: 100%;
  background-color: var(--residence-bg);
  padding-bottom: var(--padding);
}
/* ==================THANK YOU PAGE========== */
.thankyou {
  height: calc(100vh - var(--nav-line-height));
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--residence-bg);
}
.thankyou h1 {
  font-family: "BriceExtraLightSemiCondensed";
  font-size: clamp(35px, 8vw, 100px);
  color: white;
  width: 100%;
  text-align: center;
}
.thankyou h3 {
  font-family: "BriceExtraLightCondensed";
  font-size: clamp(20px, 2vw, 50px);
  color: white;
  width: 100%;
  text-align: center;
}
.thankyou > div {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 75%;
  gap: 10px;
}
.thankyou > div > a {
  font-family: "BriceLight";
  font-size: 18px;
  color: var(--custom-yellow);
  text-decoration: underline;
  text-align: center;
}
.thankyou > div > img {
  transform: rotate(-90deg);
}
.page-id-321 .residence-logos {
  width: 100%;
}

.page-id-321 .mobile-header {
  padding-bottom: 0;
}
.page-id-321 .mobile-header hr {
  display: none;
}

/* ================SINGLE ITEM CARD=================== */
.cards-slider {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 30px;
  width: 100%;
  padding: 0 var(--padding);
  scroll-snap-type: x mandatory;
  padding: var(--padding);
  /* scrollbar-width: none; Firefox */
}

.cards-slider::-webkit-scrollbar-track {
  background-color: transparent;
}

.cards-slider::-webkit-scrollbar {
  width: 3px;
  background-color: transparent;
  height: 5px;
}

.cards-slider::-webkit-scrollbar-thumb {
  background: var(--custom-red);
  cursor: grabbing;
  border-radius: 100px;
  height: 6px;
}
.page-id-249 .cards-slider::-webkit-scrollbar-thumb,
.single-appartamento .cards-slider::-webkit-scrollbar-thumb {
  background-color: white;
}
.single-item-card {
  flex: 0 0 auto;
  width: 40vw;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  font-size: 20px;
  max-height: 100vh;
  max-width: 500px;
  min-width: 250px;
}
.single-card-hidden-text {
  width: 100%;
  /* height: auto; */
  margin-top: 25px;
  opacity: 0;
  transform: scaleY(0);
  transition: all 0.5s ease-in-out;
  transform-origin: top;
  display: none;
}
/* .single-item-card:hover .single-card-hidden-text {
  opacity: 1;
  transform: scaleY(1);
} */
.single-card-hidden-text.show {
  opacity: 1;
  transform: scaleY(1);
}

.single-card-hidden-text p {
  font-family: "HelveticaNeueLight";
  font-size: 18px;
  white-space: break-spaces;
}
.card-img {
  height: 55vh;
  width: 100%;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.single-card-content {
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 5%;
  padding-right: 20px;
  padding-top: 50px;
  cursor: pointer;
}
.single-card-content img {
  width: 8%;
  max-width: 50px;
}
.single-card-content h3 {
  font-family: "BriceExtraLightSemiCondensed";
  font-size: clamp(18px, 3vw, 40px);
  color: var(--custom-red);
  margin: 0;
}
.single-card-content .card-plus {
  margin-left: auto;
  height: 20px;
}
.discover-more {
  font-family: "BriceExtraLightSemicondensed";
  font-size: 15px;
  color: var(--custom-red);
  text-transform: none;
  cursor: pointer;
  height: 30px;
  padding: 5px 15px;
  background-color: var(--custom-red);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  /* margin-left: auto; */
  max-width: 200px;
  width: fit-content;
  border: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}
.discover-more:hover {
  background-color: var(--bg-color);
  border: 1px solid var(--custom-red);
  color: var(--custom-red);
  text-decoration: none;
}
.page-id-249 .single-card-content h3,
.page-id-249 .single-card-content a,
.page-id-249 .single-card-hidden-text p,
.single-appartamento .single-card-content h3,
.single-appartamento .single-card-content a,
.single-appartamento .single-card-hidden-text p {
  color: white !important;
}
.page-id-249 .discover-more,
.single-appartamento .discover-more {
  background-color: white;
  color: var(--residence-bg);
}
.page-id-249 .discover-more:hover,
.single-appartamento .discover-more:hover {
  background-color: var(--residence-bg);
  border: 1px solid white;
  color: white;
}

/* =====LIGHTBOX=========== */
.lb-outerContainer {
  width: 50vw !important;
  height: 75vh !important;
  max-width: 1200px !important;
  background-color: transparent !important;
}
.lb-container {
  height: 100% !important;
  width: 100% !important;
}
.lb-image {
  height: 100% !important;
  width: 100% !important;
  object-fit: contain !important;
  object-position: center;
  border: none !important;
}

/* PRENOTA ALBERGO */
.page-id-734 {
  background-color: var(--bg-color);
}
#heroPrenota {
  height: 90vh;
  width: 100%;
}
#heroPrenota img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
#prenota {
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color);
  padding: var(--padding);
}
#prenota > div {
  flex: 1;
}
.prenotaImg {
  display: none;
}
.prenotaImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.PrenotaTesto {
  padding-inline: 30px;
}
.PrenotaTesto p {
  display: none;
}
.PrenotaTesto h1 {
  font-family: "BriceExtraLightExpanded";
  font-size: calc(30px + 2vw);
  color: var(--custom-red);
  text-align: center;
}
.page-id-734 #booking-section {
  margin: 50px auto;
}

.whiteLogoContainer {
  width: 250px;
}
/* ===CONTATTI========== */
.page-id-245 {
  background-color: var(--bg-color);
}
#Contatti h1 {
  width: 100%;
  color: var(--custom-red);
  font-family: "BriceExtraLightExpanded";
  font-size: calc(40px + 4vw);
  text-align: center;
  margin: 50px 0;
}
.contatto {
  display: flex;
  width: 80%;
  margin: 0 auto;
  padding: 40px 0;
}
.contatto.reverse {
  flex-direction: row-reverse;
}
.contatto > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contattoImg img {
  max-width: 250px;
}
.contattoContent p,
.contattoContent a {
  font-size: 18px;
}
.contatto p {
  width: 100%;
  text-align: left;
}
.contatto.reverse p {
  text-align: right;
}
.contattoContent a {
  color: black !important;
}

/* NUOVE CARD SLIDER */
.new_item {
  min-width: 500px;
  max-width: 500px;
  white-space: normal;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.newcard-img {
  width: 100%;
}
.newcard-img > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  /* min-width: 500px; */
}
.newContent {
  position: absolute;
  bottom: calc(-100% + var(--newCardTitleHeight));
  left: 0;
  height: 100%;
  background-color: rgba(255, 252, 242, 0.6);
  transition: all 0.8s ease-in-out;
  padding-inline: 20px;
}
.new_item.active .newContent {
  bottom: 0;
}
.newcard-title {
  height: var(--newCardTitleHeight);
  display: flex;
  align-items: center;
  gap: 15px;
}
.newcard-title h3 {
  font-family: "BriceExtraLightSemiCondensed";
  font-size: 40px;
  color: var(--custom-red);
  margin: 0;
}
.card-plus {
  margin-left: auto;
  height: 20px;
  transform: rotate(0deg);
  transition: all 0.3s ease-in-out;
}
.new_item.active .card-plus {
  transform: rotate(360deg);
  transition: all 0.3s ease-in-out;
}
img.card-arrow {
  width: 8%;
  max-width: 50px;
}
.single-appartamento .newContent,
.page-id-249 .newContent{
  background-color: rgba(1,74,63, 0.6);
}
.single-appartamento .newcard-title h3,
.page-id-249 .newcard-title h3{
  color: white;
  font-size: 30px;
}
.single-appartamento .newcard-hidden-text p,
.page-id-249 .newcard-hidden-text p{
  color: white;
}
#menu-main, #menu-main-1{
  padding-left: 0;
}


/* SEZIONE MODULO MEETING */
#MeetingContact{
  display: flex;
  /* padding: 50px; */
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  background-color: var(--bg-color);
  border-top:  1px solid black;
}
#MeetingContact > div{
  flex: 1;
  padding: var(--padding);
}
.contactImg{
  border-right: 1px solid black;
}
.contactImg img{
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
#MeetingContact #input_2_8{
  width: 100%;
}
#MeetingContact #gform_2 input:not(#input_2_10_1):not(#gform_submit_button_2),
#MeetingContact #gform_2 textarea,
#MeetingContact #gform_2 select{
  font-family: "BriceLight";
  font-size: 18px;
  background-color: transparent;
  outline: none!important;
  border: none;
  border-bottom: 1px solid var(--custom-red);
  box-shadow: none;
  border-radius: 0!important;
}
#MeetingContact #gform_2 textarea{
  border: 1px solid var(--custom-red);
}
#MeetingContact .ginput_container_consent, #MeetingContact .ginput_container_consent a{
  color: black;
  font-family: "BriceLight";
  font-size: 15px;
}
#MeetingContact .gform-theme--framework input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):checked::before{
background-color: transparent!important;
color: var(--custom-red);
}
#MeetingContact #input_2_10_1{
  box-shadow: none!important;
  outline: none!important;
  background-color: transparent;
  border-color: black!important;
}
#MeetingContact #gform_submit_button_2{
  background-color: var(--custom-red);
  color: white;
  font-family: "BriceLight";
  font-size: 18px;
  border-radius: 0;
}
#MeetingContact .gform_footer{
  justify-content: end;
}
#meetingContactContainer{
  width: 45%;
}
#meetingContactContainer h3{
  color: var(--custom-red);
  text-align: center;
  width: 100%;
  font-family: "BriceLight";
  font-size: 40px;
}
#meetingContactContainer p{
  text-align: center;
}
.page-id-227 #ui-datepicker-div > div{
  background-color: var(--bg-color)!important ;
}
@media only screen and (max-width: 1100px) {
  .meeting-content .small-carousel-title {
    font-size: 45px;
  }
  .meeting-carousel-section h3 {
    font-size: 30px;
  }
  .small-carousel-content h1 {
    font-size: 80px;
  }
  .prenotaImg {
    display: none;
  }
}
@media only screen and (max-width: 980px) {
  .rooms-upper {
    width: 100%;
  }
  .rooms-upper h2 {
    text-align: center;
  }
  .rooms-slider {
    padding-left: 0;
    padding-right: 0;
  }
  .meeting-section {
    flex-direction: column;
  }
}
@media only screen and (max-width: 900px) {
  .new_item {
    min-width: 400px;
    max-width: 400px;
  }
  .footer-contacts {
    flex-direction: column;
    padding: 0;
  }
  .left-contact {
    border-right: none;
    width: 100%;
    align-items: center;
    flex-direction: column-reverse;
  }
  .right-contact {
    width: 100%;
    align-items: center;
    flex-direction: column-reverse;
  }
  .right-contact,
  .left-contact {
    gap: 25px;
  }
  .footer-img {
    margin-top: 0;
    height: 50px;
  }
  .center-contact a {
    font-size: 50px;
  }
  /* .contact-arrow {
    display: none;
  } */
  .right-contact .contact-arrow {
    bottom: 15% !important;
    top: auto;
  }
  .left-contact .contact-arrow {
    top: 20% !important;
  }
  .small-carousel-content {
    width: 100%;
  }
  .small-carousel-content {
    border-right: none;
  }
  .small-carousel-slider-box {
    padding: 20px 0 20px 20px;
  }
  .small-carousel-section {
    flex-direction: column;
    border-top: 1px solid var(--custom-red);
    height: auto;
  }
  .booking-section {
    padding: var(--padding) calc(var(--padding) / 2);
  }
  .small-carousel-slider-box,
  .small-carousel-arrow-box {
    display: none;
  }
  .horizontal-slider {
    display: block;
    height: 50vh;
    width: 100%;
    overflow: auto;
    white-space: nowrap;
    padding: var(--padding) calc(var(--padding) / 2);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
  }

  .horizontal-slider::-webkit-scrollbar {
    display: none; /* Safari e Chrome */
  }

  .horizontal-slider img {
    height: 100%;
    width: 50vw;
    margin-right: 25px;
  }

  .red-upper {
    flex-direction: column;
    padding-bottom: var(--padding);
  }
  #MeetingContact{
    flex-direction: column;
  }
#meetingContactContainer{
  width: 100%;
}
}

@media only screen and (max-width: 768px) {
  .contatto {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .contatto.reverse {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .contatto p {
    text-align: center !important;
  }
  .center-contact a {
    color: var(--custom-red) !important;
  }
  .footer-contacts a {
    color: var(--residence-bg) !important;
  }
  .page-id-311 .mobile-header {
    padding-bottom: 0;
  }
  .mobile-header .btn-book-now {
    width: 100% !important;
  }
  #footer-desktop {
    display: none;
  }
  #footer-mobile {
    display: block;
    width: 100%;
    padding-bottom: 0;
  }
  .mobile-contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--padding) 0;
    row-gap: 25px;
    position: relative;
  }
  .mobile-contacts .contact-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .mobile-left-arrow {
    left: 0;
  }
  .mobile-right-arrow {
    right: 0;
  }
  .mobile-contacts .footer-img {
    margin: 0;
    width: auto;
  }
  .mobile-contacts a {
    font-family: "HelveticaNeueThin";
    font-size: clamp(30px, 5vw, 45px);
    text-decoration: underline;
    color: var(--custom-red) !important;
  }
  .mobile-contacts a.resmail {
    color: var(--residence-bg) !important;
  }
  .mobile-map-box {
    padding: var(--padding) calc(var(--padding) / 2);
  }
  .mobile-map-box p {
    font-family: "HelveticaNeueLight";
    font-size: 18px;
    color: var(--custom-red);
    width: 100%;
    text-align: center;
  }
  .mobile-map {
    height: 150px;
    width: 100%;
    padding: 0;
  }
  .mobile-map-box iframe {
    width: 100%;
    height: 100%;
  }
  #footer-mobile .footer-red p a,
  #footer-mobile .footer-red p,
  .footer-red a,
  .footer-red span {
    font-size: 15px !important;
  }
  .carousel__button--right {
    transform: translateY(0);
  }
  .slide-title {
    font-size: 20px;
    padding: 0 15px;
  }

  .small-carousel-content {
    border: none;
  }

  .rooms-upper h2 {
    font-size: 50px;
    text-align: left;
  }
  .rooms-upper p {
    width: 100% !important;
    padding: 0;
  }
  #carousel-section {
    padding: 0 calc(var(--padding) / 2) var(--padding) calc(var(--padding) / 2);
  }
  .rooms-slider {
    height: 80vh;
  }
  .card-hidden-text {
    display: none;
  }
  .rooms-section {
    padding-bottom: 0;
  }
  .meeting-carousel-section {
    display: none;
  }
  .small-carousel-content,
  .rooms-section {
    padding: calc(var(--padding) / 2);
  }

  .meeting-section {
    padding: var(--padding) calc(var(--padding) / 2);
    height: auto;
    background-color: var(--bg-color);
  }
  .meeting-content {
    padding: 0;
  }
  .meeting-content > img {
    display: block;
    width: 100%;
    height: 250px;
  }
  .meeting-content h2 {
    width: 100%;
    text-align: center;
    font-size: 55px !important;
    margin-top: 30px;
  }
  .meeting-content p {
    width: 100%;
  }
  .residence-section {
    display: none;
  }
  .residence-mobile {
    background-color: var(--residence-bg);
    display: block;
  }
  #residence-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: calc(var(--padding) / 2);
    margin-bottom: 30px;
  }
  .residence-big-img {
    height: auto;
  }
  .residence-p {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    padding-left: var(--padding);
    margin: 30px 0;
  }
  .more-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    width: 100%;
  }
  .more-info a {
    font-size: 15px;
  }
  .residence-mobile h3 {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 100%;
    z-index: 100;
    color: white;
    font-family: "BriceExtraLightExpanded";
    font-size: calc(50px + 4vw);
    margin: 0;
  }
  .residence-item {
    width: 80%;
    margin-bottom: 30px;
    height: auto;
  }
  .residence-grid {
    display: flex;
    flex-direction: column;
    /* flex-wrap: wrap; */
    justify-content: center;
    align-items: center;
    gap: 5%;
  }
  .residence-item .image {
    width: 100%;
    height: 30vh;
  }
  .residence-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .residence-item a {
    font-family: "HelveticaNeueThin";
    font-size: 30px;
    color: white;
  }
  #apartements-p {
    color: white;
    font-size: 18px;
    font-family: "HelveticaNeueLight";
    text-align: center;
  }
  .booking-section {
    padding: var(--padding) calc(var(--padding) / 2);
  }
  #form {
    flex-direction: column;
    height: auto;
  }
  .tendina input,
  .tendina select {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
  }
  .blocco {
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid var(--custom-red);
  }
  #search {
    border: none;
    padding: 20px;
    background-color: var(--custom-red);
  }
  .booking-cta {
    color: white;
  }
  .page-id-249 .booking-cta,
  .single-appartamento .booking-cta {
    color: var(--residence-bg);
  }
  .page-id-249 .blocco,
  .single-appartamento .blocco {
    border-color: var(--residence-bg);
  }
  .blocco-bordered {
    border: none;
  }
  #services-section {
    display: none;
  }
  #services-mobile {
    display: flex;
    justify-content: center;
    align-items: stretch;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--custom-red);
  }
  .services-list {
    border-right: 1px solid var(--custom-red);
    width: 40%;
  }
  .services-list ul {
    display: flex;
    flex-direction: column;
    gap: 5%;
    justify-content: center;
    align-items: end;
    width: 100%;
    height: 100%;
    padding-right: 10px;
  }
  .services-list ul li {
    font-size: 12px;
    font-family: "BriceExtraLight";
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--custom-red);
  }
  .services-list ul li img {
    height: 15px;
    margin-left: 5px;
  }
  .service-details {
    width: 60%;
    padding: var(--padding) calc(var(--padding) / 2);
    display: flex;
    flex-direction: column;
  }
  .service-details img {
    width: 100%;
    margin: 0 auto;
    height: 200px;
    object-fit: cover;
  }
  .service-details p {
    font-family: "HelveticaNeueLight";
    font-size: 12px;
    margin-top: 5%;
    color: var(--custom-red);
    height: 120px;
    text-transform: uppercase;
  }
  .selected-service {
    border-bottom: 1px solid var(--custom-red);
  }
  .gallery-slider {
    display: block;
    white-space: nowrap;
    overflow: auto;
    height: 50vh;
  }
  .gallery-item {
    width: 40vw;
    height: 100%;
    display: inline-block;
    vertical-align: top;
    padding: 5px;
  }
  .gallery-item:nth-child(3n + 2) {
    transform: translateY(0px);
    margin-top: 0px;
  }
  .gallery-title h2 {
    font-size: 50px;
  }
  .hero {
    padding: calc(var(--padding) / 2);
    height: 50vh;
  }
  .page-id-249 .residence-logos,
  .single-appartamento .residence-logos,
  .page-id-311 .residence-logos,
  .page-id-321 .residence-logos {
    width: 100%;
    height: auto;
    padding: 0;
  }
  .page-id-249 .hidden-logo-vmr,
  .single-appartamento .hidden-logo-vmr,
  .page-id-311 .hidden-logo-vmr,
  .page-id-321 .hidden-logo-vmr {
    display: none;
  }
  .appartments-slider {
    overflow: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: start;
  }

  #news-section h2 {
    width: 100%;
    text-align: center;
    border: none;
  }
  #news-section .card-box {
    flex-direction: column;
    width: 100%;
  }
  #news-section .card-box .news-card {
    width: 100%;
  }
  .news-title {
    height: auto;
  }
  .card-1 {
    margin-bottom: 25px;
  }

  .hero h1 {
    width: 50%;
    bottom: calc(var(--padding) / 2);
    right: calc(var(--padding));
    text-align: right;
  }
  .move-label {
    top: -10px !important;
  }
  .single-card-hidden-text p {
    font-size: 15px;
  }
  .single-item-card {
    width: 45vw;
  }
  .single-item-card .card-img {
    height: 40vh;
  }
  .single-card-content {
    margin-top: 15px;
    padding-top: 0 !important;
  }
  .single-card-content h3 {
    font-size: 25px;
  }
  .cards-slider::-webkit-scrollbar {
    display: none;
  }
}

@media only screen and (max-width: 640px) {
  :root {
    --newCardTitleHeight: 80px;
  }
  .new_item {
    min-width: 350px;
    max-width: 350px;
  }
  .newcard-title h3 {
    font-size: 30px;
  }
  .single-appartamento .newcard-title h3,
.page-id-249 .newcard-title h3{
  font-size: 27px;
}
  .cards-slider {
    padding-left: 0;
  }
  .gallery-slider {
    padding: calc(var(--padding) / 2);
    height: 40vh;
  }
  .gallery-item {
    width: 50vw;
  }
  .gallery-title img {
    display: none;
  }
  .hero {
    height: 50vh;
  }
  .small-carousel-title {
    font-size: 35px;
  }
  .indications h2 {
    font-size: clamp(30px, 10vw, 45px);
  }
  .indication h3 {
    font-size: 22px;
  }
  .hidden-indication p {
    font-size: 15px;
  }
  .indications {
    flex-direction: column;
  }
  .indication {
    width: 100%;
  }
  .page-id-249 .rooms-upper p,
  .page-id-249 .rooms-upper h2,
  .single-appartamento .rooms-upper p,
  .single-appartamento .rooms-upper h2 {
    width: 100%;
    text-align: center;
  }
  .hero h1 {
    font-size: 20px;
  }
  .lb-outerContainer {
    width: 70vw !important;
    height: 50vh !important;
  }
  .single-card-content a {
    font-size: 15px;
  }
  .single-card-content h3 {
    font-size: 20px;
  }
  #form-section {
    padding: var(--padding) 0;
  }
  .single-news-content {
    padding: var(--padding) calc(var(--padding) / 2);
  }
  .content-box {
    width: 100%;
  }
  .right-red,
  .right-red ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #copyright {
    font-size: 10px !important;
    padding: 20px 25px !important;
    text-align: center;
  }
  .tel,
  .vmrmail {
    color: var(--custom-red);
  }
  .mobile-contacts .contact-arrow {
    width: 20%;
  }
  .resmail {
    color: var(--residence-bg);
  }
}
@media only screen and (max-width: 440px) {
  :root {
    --newCardTitleHeight: 50px;
  }
  .new_item {
    min-width: 100%;
    max-width: 100%;
  }
  .cards-slider{
    flex-direction: column;
    align-items: center;
    padding-right: 0;
  }
  .new_item a.discover-more{
    margin-top: 0;
  }
  .new_item p{
    font-size: 14px;
  }
}
