/*
    Theme Name: palafoxhoteles2026-2026
    Theme URI: palafoxhoteles2026-2026
    Description: Palafoxhoteles2026-2026
    Author:       Mirai Dev Team
    Author URI:   http://mirai.com
    Template:     mirai-ma
    Version:      1.0.0
    License:      GNU General Public License v2 or later
    License URI:  http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain:  mirai-maai
*/

/*************************************/
/********** COLORS BY HOTEL **********/
/***********************************/
body.cat-hotel-alfonso:not(:has(.mft-popup-menu)), .mft-hotel-alfonso {
    --e-global-color-primary: #FFD100;
    --e-global-color-secondary: #796302;
    --e-global-color-accent: #F6E079;
    --e-global-color-52235058: #3B3102;
    --e-global-color-6cb047a: #FAEEB7;
    --e-global-color-c192f6c: #FDF9E7;
}

body.cat-hotel-alfonso:not(:has(.mft-popup-menu)) {
    --e-global-color-df83a25: #FAEEB7;
    --e-global-color-52c7165: #FFD100;
    --e-global-color-20a7429: #3B3102;
    --e-global-color-43ff4a1: #3B3102;
    --e-global-color-314e568: #A88A00;
    --e-global-color-eccf1a0: #3B3102;
}

body.cat-hotel-goya:not(:has(.mft-popup-menu)), .mft-hotel-goya {
    --e-global-color-primary: #5E6738;
    --e-global-color-secondary: #3E4425;
    --e-global-color-accent: #959B7C;
    --e-global-color-52235058: #1F2212;
    --e-global-color-6cb047a: #CACDBD;
    --e-global-color-c192f6c: #EFF0EB;
}

body.cat-hotel-goya:not(:has(.mft-popup-menu)) {
    --e-global-color-df83a25: #CACDBD;
    --e-global-color-52c7165: #3E4425;
    --e-global-color-20a7429: #3E4425;
    --e-global-color-43ff4a1: #CACDBD;
    --e-global-color-314e568: #3E4425;
    --e-global-color-eccf1a0: #1F2212;
}

body.cat-hotel-hiberus:not(:has(.mft-popup-menu)), .mft-hotel-hiberus {
    --e-global-color-primary: #21BECA;
    --e-global-color-secondary: #167B83;
    --e-global-color-accent: #8ADFE5;
    --e-global-color-52235058: #012628;
    --e-global-color-6cb047a: #B7EDF1;
    --e-global-color-c192f6c: #EFFAFA;
}

body.cat-hotel-hiberus:not(:has(.mft-popup-menu)) {
    --e-global-color-df83a25: #B7EDF1;
    --e-global-color-52c7165: #012628;
    --e-global-color-20a7429: #167B83;
    --e-global-color-43ff4a1: #B7EDF1;
    --e-global-color-314e568: #167B83;
    --e-global-color-eccf1a0: #012628;
}

body.cat-hotel-palafox:not(:has(.mft-popup-menu)), .mft-hotel-palafox {
    --e-global-color-primary: #B60C2F;
    --e-global-color-secondary: #78081F;
    --e-global-color-accent: #DA95A3;
    --e-global-color-52235058: #3C0410;
    --e-global-color-6cb047a: #EECED4;
    --e-global-color-c192f6c: #FAEFF1;
}

body.cat-hotel-palafox:not(:has(.mft-popup-menu)) {
    --e-global-color-df83a25: #EECED4;
    --e-global-color-52c7165: #78081F;
    --e-global-color-20a7429: #78081F;
    --e-global-color-43ff4a1: #EECED4;
    --e-global-color-314e568: #78081F;
    --e-global-color-eccf1a0: #3C0410;
}

body.cat-hotel-playa-victoria:not(:has(.mft-popup-menu)), .mft-hotel-playa-victoria {
    --e-global-color-primary: #8B784A;
    --e-global-color-secondary: #5C4F31;
    --e-global-color-accent: #B2A688;
    --e-global-color-52235058: #2E2818;
    --e-global-color-6cb047a: #D9D2C3;
    --e-global-color-c192f6c: #F3F1ED;
}

body.cat-hotel-playa-victoria:not(:has(.mft-popup-menu)) {
    --e-global-color-df83a25: #D9D2C3;
    --e-global-color-52c7165: #5C4F31;
    --e-global-color-20a7429: #5C4F31;
    --e-global-color-43ff4a1: #D9D2C3;
    --e-global-color-314e568: #5C4F31;
    --e-global-color-eccf1a0: #2E2818;
}

body.cat-hotel-reina-petronila:not(:has(.mft-popup-menu)), .mft-hotel-reina-petronila {
    --e-global-color-primary: #242424;
    --e-global-color-secondary: #000;
    --e-global-color-accent: #666;
    --e-global-color-52235058: #000;
    --e-global-color-6cb047a: #E3E3E3;
    --e-global-color-c192f6c: #F5F5F5;
}

body.cat-hotel-reina-petronila:not(:has(.mft-popup-menu)) {
    --e-global-color-df83a25: #E3E3E3;
    --e-global-color-52c7165: #141414;
    --e-global-color-20a7429: #242424;
    --e-global-color-43ff4a1: #E3E3E3;
    --e-global-color-314e568: #242424;
    --e-global-color-eccf1a0: #141414;
}


/*************************************/
/********** GENERAL STYLES **********/
/***********************************/

:root {
    /***** SPACES *****/
    --mft-space-5xs: 4px;
    --mft-space-4xs: 8px;
    --mft-space-3xs: 12px;
    --mft-space-2xs: 16px;
    --mft-space-xs: clamp(16px, calc(16px + (24 - 16) * ((100vw - 1180px) / (1920 - 1180))), 24px);
    --mft-space-s: clamp(24px, calc(24px + (32 - 24) * ((100vw - 1180px) / (1920 - 1180))), 32px);
    --mft-space-m: clamp(32px, calc(32px + (40 - 32) * ((100vw - 1180px) / (1920 - 1180))), 40px);
    --mft-space-l: clamp(32px, calc(32px + (48 - 32) * ((100vw - 1180px) / (1920 - 1180))), 48px);
    --mft-space-xl: clamp(32px, calc(32px + (56 - 32) * ((100vw - 1180px) / (1920 - 1180))), 56px);
    --mft-space-2xl: clamp(48px, calc(48px + (64 - 48) * ((100vw - 1180px) / (1920 - 1180))), 64px);
    --mft-space-3xl: clamp(48px, calc(48px + (80 - 48) * ((100vw - 1180px) / (1920 - 1180))), 80px);
    --mft-space-4xl: clamp(48px, calc(48px + (96 - 48) * ((100vw - 1180px) / (1920 - 1180))), 96px);
    --mft-space-5xl: clamp(48px, calc(48px + (160 - 48) * ((100vw - 1180px) / (1920 - 1180))), 160px);
    --padding-layout: clamp(24px, calc(24px + (96 - 24) * ((100vw - 1180px) / (1920 - 1180))), 96px);
    --padding-bg: clamp(24px, calc(24px + (40 - 24) * ((100vw - 1180px) / (1920 - 1180))), 40px);

    /***** CONTAINERS *****/
    --width-s: 900px;
    --width-m: 1280px;
    --width-l: 1920px;
    --container-legal: 1080px;
	
	/***** MIN-HEIGHT FOR IMG *****/
    --min-height-xs:  clamp(218px, calc(177px + 10.8vw), 333px);
    --min-height-s:   clamp(232px, calc(148px + 22.3vw), 470px);
    --min-height-m:   clamp(400px, calc(350px + 13.1vw), 540px);
    --min-height-l:   clamp(200px, calc(59px + 37.5vw), 600px);
    --min-height-600: clamp(400px, calc(465px + 9.4vw), 600px);

    /***** CALCULATE THE HEADER HEIGHT BY JQ *****/
    --mft-min-height-header: 0px;

    /***** BORDER RADIUS *****/
	--mft-border-radius: 0px;
	--mft-btn-border-radius: 0px;
}

html {
    overflow-x: hidden;
}

body,
a,
a:hover {
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    text-transform: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, p {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    word-spacing: inherit;
    text-rendering: optimizelegibility;
}

strong {
    font-weight: 700;
}

/* Fix for font height in Safari on both macOS and iOS */
@supports (background: -webkit-named-image(apple-pay-logo-black)) {
  .tu-boton-o-contenedor {
    text-box-trim: trim-end;
    text-box-edge: text alphabetic;
  }
}

/* FIXED WIDGET ICON BOX - TITLE AS PARAGRAPH TAG */
p.elementor-icon-box-title {
    margin-top: 0;
}

/***** SPACE BETWEEN SECTIONS *****/
.mft-space-section-t {
    padding-top: var(--mft-space-4xl);
}

.mft-space-section-b {
    padding-bottom: var(--mft-space-4xl);
}

/***** CONTAINERS ******/
.elementor-element:where(.mft-container-s, .mft-container-m, .mft-container-l) {
    margin: 0 auto;
    box-sizing: border-box;
}

.mft-container-s.elementor-element {
    max-width: var(--width-s);
}

.mft-container-m.elementor-element {
    max-width: var(--width-m);
}

.mft-container-l.elementor-element {
    max-width: var(--width-l);
}

/***** WIDGET IMG RESPONSIVE - makes the image cover and adapt to the container *****/
.mft-bg-img .elementor-element:not(.mft-wrapper-content),
.mft-bg-img .elementor-element :where(.elementor-widget-image, .e-n-carousel.swiper, .elementor-widget-container) {
    height: 100%;
    /*padding-bottom: 0 !important;*/
}

.mft-bg-img .elementor-element .elementor-widget-image img,
.mft-bg-img .elementor-element .elementor-widget-container img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.mft-minh-xs { min-height: var(--min-height-xs); }
.mft-minh-s  { min-height: var(--min-height-s); }
.mft-minh-m  { min-height: var(--min-height-m); }
.mft-minh-l { min-height: var(--min-height-l); }
.mft-minh-600 { min-height: var(--min-height-600); }

/***** Height auto *****/
.mft-height-auto {
	height: auto !important;
}

/***** Heroes Height *****/
.mft-hero:not(.mft-hero-hotel) {
	height: 100vh;
}

.mft-hero-hotel {
    height: calc(100vh - clamp(64px, calc(64px + (67 - 64) * ((100vw - 1180px) / (1920 - 1180))), 67px));
}

/***** CENTER ICON RRSS - centre social media widget icon *****/
.elementor-social-icon.elementor-icon {
    display: flex;
}

/***** FIX MOBILE ICON BOX *****/
@media (max-width: 767px) {
    .elementor-widget-icon-box.elementor-vertical-align-middle:where(.elementor-position-left, .elementor-position-right):not(.elementor-mobile-position-top) .elementor-icon-box-wrapper,
    .elementor-widget-icon-box.elementor-vertical-align-middle:where(.elementor-position-left, .elementor-position-right) .elementor-icon-box-icon {
        display: flex;
        align-items: center;
    }
}

/****** 404 PAGE ******/
.not-found-page {
    display: table;
    margin-bottom: 0;
    width: 100%;
    min-height: 570px;
    text-align: center;
    background: url(https://static-resources-elementor.mirai.com/common/bg-404.png) no-repeat center center transparent;
}

.not-found-page span {
    display: table-cell;
    font-size: 18px;
    vertical-align: middle;
}

/***** Hiding Recaptcha badge *****/
.grecaptcha-badge {
    visibility: hidden;
}

/***** So that loading does not appear in bookingstep1 *****/
body.elementor-editor-active .mi-rs.loading {
    display: none;
}

/***** To make the language selector visible in modal *****/
.wpml-ls-legacy-dropdown-click:hover .wpml-ls-sub-menu {
    visibility: visible;
}

/***** Hide Quicktext chatbot when opening a finder modal in mobile and when opening an Elementor popup *****/
body:has(ui-modal-overflow[class*="_visible"]) #qt-button-frame,
body:has(.dialog-widget [data-mirai-component]) #qt-button-frame {
    visibility: hidden;
}

/* Press the default focus of the WordPress submenu */
.mft-popup-menu .menu-item a:focus {
    color: inherit;
    background: transparent;
}

/***********************************************/

/*********** STYLES THROUGH CLASSES ***********/

/*********************************************/

/***** FROM ABSOLUTE TO RELATIVE - change an absolute element to a relative element from 1024px and above *****/
@media (max-width: 1024px) {
    .mft-relative-tb {
        position: relative;
    }
}

/***** CHANGE THE COLOUR OF TEXT AND BUTTONS ON A COLOURED BACKGROUND *****/

/* on a dark background - variable white colour */
.mft-light-text,
.mft-light-text .elementor-button[class^='mft-btn'] {
    color: var(--e-global-color-47eea86e);
    fill: var(--e-global-color-47eea86e);
}

/* on a light background - variable black colour */
.mft-dark-text,
.mft-dark-text .elementor-button[class^='mft-btn'] {
    color: var(--e-global-color-21f8c9b7);
    fill: var(--e-global-color-21f8c9b7);
}

/* DYNAMIC CHANGE OF TEXT AND IMAGE BOXED ALTERNATELY */
.mft-alternative-box:nth-child(even of .mft-alternative-box),
.mft-alternative-box:nth-child(even of .mft-alternative-box) .e-con-inner,
.mft-filters-cards [data-elementor-type="loop-item"]:nth-child(even) .mft-alternative-box,
.mft-filters-cards [data-elementor-type="loop-item"]:nth-child(even) .mft-alternative-box .e-con-inner {
    flex-direction: row-reverse;
}

/******************************************************/

/*********** ARROWS & DOTS CAROUSEL STYLES ***********/

/*****************************************************/

/***** ARROWS *****/
.mft-arrows-carousel-styles .elementor-swiper-button i {
    padding: 12px 15.75px;
    font-family: 'fap-regular' !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    color: var(--e-global-color-232445b);
	background: var(--e-global-color-47eea86e);
    border-radius: 50%;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.16);
    transition: color .3s  ease-out, background .3s  ease-out;
}

.mft-arrows-carousel-styles .elementor-swiper-button:hover i {
    color: var(--e-global-color-47eea86e);
    background: var(--e-global-color-232445b);
}

.mft-arrows-carousel-styles .elementor-swiper-button-prev i::before {
    content: "\2329";
}

.mft-arrows-carousel-styles .elementor-swiper-button-next i::before {
    content: "\f054";
}

/* when the arrows are just lines */
.mft-arrows-carousel-styles.mft-arrows-carousel-styles-line .elementor-swiper-button i {
    color: var(--e-global-color-232445b);
    border: 1px solid var(--e-global-color-232445b);
    background: transparent;
    box-shadow: none;
}

.mft-arrows-carousel-styles.mft-arrows-carousel-styles-line .elementor-swiper-button:hover i {
	color: var(--e-global-color-47eea86e);
	border: 1px solid var(--e-global-color-232445b);
    background: var(--e-global-color-232445b);
}

/* Hide arrows on mobile */
@media screen and (max-width: 767px) {
	.mft-arrows-carousel-styles .elementor-swiper-button {
		display: none !important
	}
}

/* Elimina scroll cuando no hay paginación */
:where(.elementor-widget-n-carousel, .elementor-widget-loop-carousel):has(.swiper-pagination.swiper-pagination-lock) .swiper-wrapper {
    transform: translate3d(0, 0, 0) !important;
}
/* Oculta duplicados y arrows / dots cuando no hay paginación */
:where(.elementor-widget-n-carousel, .elementor-widget-loop-carousel) .elementor-swiper-button:where([aria-label="Previous"], [aria-label="Next"]),
:where(.elementor-widget-n-carousel, .elementor-widget-loop-carousel):has(.swiper-button-disabled ~ .swiper-button-disabled) .elementor-swiper-button,
.mft-arrows-carousel-styles:has(.swiper-pagination.swiper-pagination-lock) .elementor-swiper-button,
:where(.elementor-widget-n-carousel, .elementor-widget-loop-carousel):has(.swiper-pagination.swiper-pagination-lock) .swiper-slide-duplicate,
:where(.elementor-widget-n-carousel, .elementor-widget-loop-carousel):has(.swiper-pagination.swiper-pagination-lock) .swiper-slide-duplicate-active {
    display: none !important;
}

/***** DOTS *****/
.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 4px;
    background: var(--e-global-color-485e56c);
    opacity: 1;
    transition: background .3s ease-out;
}

.mft-dots-carousel-styles.mft-dots-carousel-styles-white .swiper-pagination .swiper-pagination-bullet {
    background: var(--e-global-color-47eea86e);
}

.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet:hover,
.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--e-global-color-232445b);
}

/******************************************/

/*********** AUTOSCROLL POPUPS ***********/

/****************************************/

/***** AUTOSCROLL *****/
.elementor-popup-modal:has(.mft-scrolly-auto) .dialog-message {
    overflow: hidden;
}

.mft-scrolly-auto {
	overflow: hidden !important;
	overflow-y: auto !important;
	max-height: calc(100dvh - 120px) !important;
	-webkit-overflow-scrolling: touch;
  	overscroll-behavior: contain;
}

/***** SCROLL BAR STYLES *****/
.mft-modal-scroll::-webkit-scrollbar {
    width: 5px;
}

.mft-modal-scroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--e-global-color-485e56c);
    border-radius: 2px;
}

.mft-modal-scroll::-webkit-scrollbar-thumb {
    background-color: var(--e-global-color-485e56c);
    border-radius: 2px;
    transition: background .3s;
}

.mft-modal-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--e-global-color-485e56c);
}

/********************************/

/*********** BUTTONS ***********/

/******************************/

/***** GENERIC BUTTON STYLES *****/
.elementor-button[class^='mft-btn'] {
    display: inline-flex;
	justify-content: center;
    align-items: center;
    padding: var(--mft-space-4xs) var(--mft-space-xs);
    font-family: var(--e-global-typography-6d2edf1-font-family);
    font-size: var(--e-global-typography-6d2edf1-font-size);
    font-weight: var(--e-global-typography-6d2edf1-font-weight);
    text-transform: var(--e-global-typography-6d2edf1-text-transform);
    line-height: var(--e-global-typography-6d2edf1-line-height);
    letter-spacing: var(--e-global-typography-6d2edf1-letter-spacing);
    fill: inherit;
    background-color: transparent;
    border-radius: var(--mft-btn-border-radius);
    min-width: clamp(44px, calc(44px + (52 - 44) * ((100vw - 1281px) / (1920 - 1281))), 52px);
	min-height: clamp(44px, calc(44px + (52 - 44) * ((100vw - 1281px) / (1920 - 1281))), 52px);
    transition: all .3s ease;
}

.mft-btn-width-100 .mft-btn {
    width: 100%;
}

@media(max-width: 767px) {
    .elementor-widget-button[class*='mft-btn']:not(:is(.mft-btn-4, .mft-btn-width-auto)),
    .elementor-button[class^='mft-btn']:not(:is(.mft-btn-4, .mft-btn-width-auto)) {
        width: 100%;
    }
}

/* fixed extra heigth span icon */
.elementor-button .elementor-button-icon {
    display: flex;
    align-items: center;
}

/* when hovering */
@media (hover: hover) and (pointer: fine) {
    .mft-btn .elementor-button-text::after {
        content: "\f054";
        opacity: 0;
        padding-left: 10px;
        font-family: 'fap-regular';
        font-size: 12px;
        transition: all .3s ease;
    }
    .mft-btn:not(.mft-btn-4) .elementor-button-content-wrapper {
        align-items: center;
        translate: 11px 0;
        transition: all .3s ease;
    }
    .elementor-button.mft-btn:hover .elementor-button-text::after {
        opacity: 1;
    }
    .elementor-button.mft-btn:hover .elementor-button-content-wrapper {
        translate: 0 0;
    }
}

/***** BTN - 1 - As the Finder Button *****/
.elementor-button.mft-btn-1 {
    color: var(--mirai-ui-button-color);
    fill: var(--mirai-ui-button-color);
    background-color: var(--mirai-ui-button-background);
    border: 2px solid var(--mirai-ui-button-background);
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-1:hover {
        fill: var(--mirai-ui-button-color-active);
        background-color: var(--mirai-ui-button-background-active);
        border: 2px solid var(--mirai-ui-button-background-active);
    }
}

/***** BTN - 2 *****/
.elementor-button.mft-btn-2 {
    color: var(--e-global-color-20a7429);
    fill: var(--e-global-color-20a7429);
    background-color: var(--e-global-color-df83a25);
    border: 2px solid var(--e-global-color-df83a25);
}

body:not(.cat-hotels) .elementor-button.mft-btn-2.mft-btn-2-white {
    color: var(--e-global-color-text);
    fill: var(--e-global-color-text);
    background-color: var(--e-global-color-47eea86e);
    border: 2px solid var(--e-global-color-47eea86e);
}

@media (hover: hover) and (pointer: fine) {
    body.cat-corporate .elementor-button.mft-btn-2:hover,
    .elementor-button.mft-btn-2:hover {
        color: var(--e-global-color-43ff4a1);
        fill: var(--e-global-color-43ff4a1);
        background-color: var(--e-global-color-52c7165);
        border: 2px solid var(--e-global-color-52c7165);
    }
}

/***** BTN - 3 *****/
.elementor-button.mft-btn-3 {
    color: var(--e-global-color-20a7429);
    fill: var(--e-global-color-20a7429);
    background-color: transparent;
    border: 2px solid;
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-3:hover {
        color: var(--e-global-color-43ff4a1);
        fill: var(--e-global-color-43ff4a1);
        background-color: var(--e-global-color-52c7165);
        border: 2px solid var(--e-global-color-52c7165);
    }
}

/***** BTN - 4 *****/
.elementor-button.mft-btn-4 {
    position: relative;
    padding: 0;
    color: var(--e-global-color-314e568);
    fill: var(--e-global-color-314e568);
    background-color: transparent;
    min-height: unset;
}

.mft-btn.mft-btn-4 .elementor-button-text {
    position: relative;
    padding-bottom: 5px;
}

.mft-btn.mft-btn-4 .elementor-button-text::after {
    padding-left: 0;
    font-size: 0;
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-4:hover {
        color: var(--e-global-color-eccf1a0);
        fill: var(--e-global-color-eccf1a0);
    }
    .elementor-button.mft-btn.mft-btn-4:hover .elementor-button-text::after {
        opacity: 1;
        padding-left: 10px;
        font-size: 12px;
    }
}

/* underline */
a.elementor-button.mft-btn-4::before {
    content: "";
    position: absolute;
    inset: 100% 0 0 0;
    width: 100%;
    height: 2px;
    background: var(--e-global-color-314e568);
}

.mft-light-text a.elementor-button.mft-btn-4::before,
.mft-light-text a.elementor-button.mft-btn-4:hover::before {
    background: var(--e-global-color-47eea86e);
}

.mft-light-text .elementor-button.mft-btn-4:hover {
    color: var(--e-global-color-47eea86e);
}

.mft-dark-text a.elementor-button.mft-btn-4::before,
.mft-dark-text a.elementor-button.mft-btn-4:hover::before {
    background: var(--e-global-color-21f8c9b7);
}

.mft-dark-text .elementor-button.mft-btn-4:hover {
    color: var(--e-global-color-21f8c9b7);
}

@media (hover: hover) and (pointer: fine) {
    /* color hover underline */
	a.elementor-button.mft-btn-4:hover::before {
        background: var(--e-global-color-eccf1a0);
    }
}

/**************************************/

/*********** STYLE FORM ***********/

/************************************/

.mft-acceptance-form {
    font-family: "Helvetica";
    font-size: 12px;
    font-weight: 400;
    color: #333333;
}

.mft-acceptance-form a,
.mft-acceptance-form a:hover {
    text-decoration: underline;
    font-weight: bold;
}

.mft-mandatory-form {
    color: #d32f2f;
}

.mft-form-style input,
.mft-form-style textarea,
.mft-form-style select {
    padding-top: 20px !important;
}

.mft-form-style input:focus,
.mft-form-style textarea:focus,
.mft-form-style select:focus {
    border-color: #000 !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--corporative-color) 50%, transparent) !important;
}

.mft-form-style .elementor-field-group:not(.elementor-field-type-acceptance) label {
    position: absolute;
    top: 12px;
    left: 35px;
    z-index: 1;
    transition: all 0.3s ease;
}

.mft-form-style label:not(:has(a)) {
    pointer-events: none;
}

.mft-form-style label,
.mft-form-style .elementor-field-group .elementor-field-textual {
    font-family: "Helvetica";
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.mft-form-style .elementor-field-group .elementor-field-textual {
    padding-left: 19px;
    color: #333;
    border: 1px solid #DDDDDD;
}

.mft-form-style .elementor-field-group:has(input:focus) label,
.mft-form-style .elementor-field-group:has(textarea:focus) label,
.mft-form-style .elementor-field-group:has(select:focus) label,
.mft-form-style .elementor-field-group:has(input:not(:placeholder-shown)) label,
.mft-form-style .elementor-field-group:has(textarea:not(:placeholder-shown)) label,
.mft-form-style .elementor-field-group:has(select:valid) label {
    top: 5px;
    font-size: 12px !important;
}

.mft-form-style .elementor-field-type-submit .elementor-button {
    background-color: var(--mirai-ui-button-background);
}

.mft-form-style .elementor-field::placeholder,
.mft-form-style .elementor-field-group label:after {
    color: transparent !important;
}

.mft-form-style .eicon-caret-down:before {
    content: "\f078";
    font-family: 'fap-regular' !important;
    font-size: 10px;
    font-weight: normal;
}

.mft-form-style .elementor-field-type-acceptance .elementor-field-option {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.mft-form-style .elementor-field-type-acceptance label {
    position: static !important;
    padding-left: 0 !important;
    cursor: pointer;
    line-height: 1.7;
}

.mft-form-style .elementor-field-type-acceptance input[type="checkbox"] {
    appearance: auto; 
    accent-color: var(--corporative-color, #000);
    width: 16px;
    height: 16px;
    margin-top: 2px !important;
    padding-top: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

/*********************************/

/************* WPML *************/

/*******************************/

.wpml-elementor-ls {
    display: flex;
    align-items: center;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
    min-height: 21px;
    padding-right: 0;
}

.wpml-ls-legacy-dropdown-click a {
    padding: 1px 10px 1px 25px;
    color: var(--e-global-color-bd9d5b8);
    border: none;
}

/* Languges on submenu */
.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
    color: var(--e-global-color-text);
}

.wpml-ls-legacy-dropdown-click .wpml-ls-item-toggle {
    background-color: transparent;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
    display: none;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::before {
    content: "\1f310";
    position: absolute;
    left: 0;
    font-family: 'fap-regular';
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-link {
    padding: 7px 10px 7px 10px;
    text-align: center;
    background-color: var(--e-global-color-47eea86e);
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
    border-width: 0;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
    border-top: none;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.16);
    transition: .3s ease-in-out;
}

.wpml-ls-legacy-dropdown-click {
    transition: .3s ease-in-out;
}

.wpml-ls-legacy-dropdown-click a:focus {
    background: #dddbd9;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-link {
    position: relative;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-link::after {
    content: "";
    position: absolute;
    inset: auto 50% 3px;
    width: 20px;
    height: 2px;
    background: transparent;
    transform: translateX(-50%);
    transition: .3s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
    .wpml-ls-legacy-dropdown-click a:hover {
        color: var(--e-global-color-text);
    }
    .wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover>a,
	.wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover>a::after {
        color: var(--e-global-color-fc842eb);
        background: transparent;
    }
    .wpml-ls-legacy-dropdown-click a.wpml-ls-link:hover::after {
        background: var(--e-global-color-text);
    }
}

@media (max-width: 1024px) {
    /* hide native language and arrow in tb */
    .wpml-ls-legacy-dropdown-click .wpml-ls-current-language a.wpml-ls-item-toggle .wpml-ls-native,
    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
        display: none;
    }
    /* to remove the space after hiding the arrow */
    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
        padding-right: 0;
    }
    /* the space for the language drop-down */
    .wpml-ls-legacy-dropdown-click a {
        padding: 0;
    }
    .wpml-ls-legacy-dropdown-click a.wpml-ls-link {
        padding: 5px 0;
        font-size: 13px;
    }
}

/****************************************/

/***** START LEGAL PAGE TEXT WIDGET *****/

/****************************************/

/***** COOKIES POLICY ******/
.cookies-section,
.mft-legal-text {
    max-width: var(--container-legal) !important;
    margin: 0 auto;
    box-sizing: border-box;
}

.cookies-section {
    padding: var(--mft-space-4xl) 0;
}

.cookies-section a {
    font-weight: bold;
    transition: color .3s ease-in-out;
}

.cookies-section a:hover {
    color: var(--e-global-color-primary);
}

.cookies-section .elementor-widget-wrap .elementor-widget-heading:first-child .mi-title3 {
    display: none;
}

/***** LEGAL NOTICE ******/

/* Heading H1 */
.mft-legal-text h1,
.cookies-section .elementor-widget-wrap .elementor-widget-heading:first-child .mi-title3,
.blog-single-post .elementor-widget-theme-post-title h1,
.elementor-widget-single-job-title h1 {
    padding-bottom: 20px;
    font-family: var(--e-global-typography-primary-font-family) !important;
    font-size: var(--e-global-typography-primary-font-size) !important;
    font-weight: var(--e-global-typography-primary-font-weight) !important;
    line-height: var(--e-global-typography-primary-line-height) !important;
    color: var(--e-global-color-text) !important;
}

/* Heading H2 */
.mft-legal-text h2,
.cookies-section .mi-title3,
.blog-single-post h2,
.single_job_listing h2 {
    padding-bottom: 20px;
    font-family: sans-serif;
    font-size: clamp(28px, calc(28px + (36 - 28) * ((100vw - 360px) / (1920 - 360))), 36px);
    font-weight: 700;
    line-height: var(--e-global-typography-secondary-line-height);
}

/* Heading H3*/
.mft-legal-text h3,
.blog-single-post h3,
.single_job_listing h3 {
    padding-bottom: 20px;
    font-family: sans-serif;
    font-size: clamp(21px, calc(21px + (24 - 21) * ((100vw - 360px) / (1920 - 360))), 24px);
    font-weight: 700;
    line-height: var(--e-global-typography-accent-line-height);
}

/* Heading H4*/
.mft-legal-text h4 {
    padding-bottom: 20px;
    font-family: Sans-serif;
    font-size: clamp(19px, calc(19px + (20 - 19) * ((100vw - 360px) / (1920 - 360))), 20px);
    font-weight: 700;
    line-height: var(--e-global-typography-962030d-line-height);
}

.mft-legal-text h1 {
    margin: 0 0 30px;
}

.mft-legal-text h2 {
    margin: 45px 0 0;
}

.mft-legal-text h3,
.mft-legal-text h4,
.cookies-section .mi-title3 {
    margin: 30px 0 0;
}

/* LINKS */
.mft-legal-text a {
    overflow-wrap: break-word;
    text-wrap: wrap;
    text-decoration: none;
    color: var(--e-global-color-primary);
    transition: .3s ease-in-out;
}

.mft-legal-text a:hover {
    color: var(--e-global-color-13f4851a);
}

.mft-legal-text a span {
    color: inherit !important;
}

/* SPACE AFTER ELEMENTS */
.mft-legal-text :where(p, ul, ol, span) {
    margin-bottom: 15px;
}

/* LISTS */
.mft-legal-text ol {
    padding-left: 18px;
}

.mft-legal-text ol li {
    margin-bottom: 5px;
    overflow-wrap: break-word;
    list-style: circle outside none;
}

.mft-legal-text ul {
    padding-left: 35px;
}

.mft-legal-text ul li {
    margin-bottom: 5px;
    overflow-wrap: break-word;
    list-style: disc outside none;
}

/* TABLE STYLE */
.mft-legal-text table tr:first-child {
    color: var(--e-global-color-47eea86e);
    background-color: var(--e-global-color-d9f1a36);
}

/* Table general styles */
.mft-legal-text table {
    margin: 30px 0;
    width: 100%;
    font-size: 1em;
    background-color: transparent;
    border-spacing: 0;
    border-collapse: collapse;
}

.mft-legal-text table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
}

/* Table cell padding and styles */
.mft-legal-text table :where(td, th) {
    padding: 15px;
    min-width: 200px;
    line-height: 1.5em;
    border: 1px solid var(--e-global-color-15b9b07);
    vertical-align: top;
}

/* Background of odd table rows */
.mft-legal-text table tbody > tr:nth-child(odd) > :where(td, th) {
    background-color: #09090912;
}

.mft-legal-text table a:hover {
    text-decoration: none;
}

/**************************************/

/*********** DYNAMIC PAGES ***********/

/************************************/

/***** GENERAL STYLE *****/

/* ICONS -- these icons are painted on the room detail and offer pages */
a.back-link::before, 
a:where(.fwd-link, .down-link)::after {
    content: "\f060";
    display: inline-block;
    margin: 0 .5em;
    font-family: 'fap-regular' !important;
    font-size: .85em;
    font-weight: normal;
    text-decoration: none;
    line-height: .85em;
    transition: all .2s ease-out;
    vertical-align: middle;
}

a.fwd-link::after {
    content: "\f060";
}

a.down-link::after {
    content: "\f078";
}

a.fwd-link:hover, 
.back a:hover,
a.down-link:hover {
    text-decoration: none;
}

a.fwd-link:hover::after {
    margin-left: 1em;
    margin-right: 0;
}

.back a:hover::before {
    margin-right: 1em;
    margin-left: 0;
}

a.down-link:hover::after {
    transform: translateY(0.3em);
}

/* container */
.rooms-listing-wrapper,
.rooms-detail-wrapper,
.offers-listing-wrapper,
.offers-detail-wrapper {
    max-width: var(--width-l);
    margin: 0 auto;
    box-sizing: border-box;
	padding-inline: var(--padding-layout);
}

.rooms-detail-wrapper, 
.offers-detail-wrapper {
    padding-top: clamp(90px, calc(90px + (150 - 90) * ((100vw - 1180px) / (1920 - 1180))), 150px);
}

.detail-offer-list li.item-service:before,
.offer-list li.item-service:before {
	content: "●";
}

/* titles rooms & detail room */
.rooms-listing-wrapper h2,
.rooms-listing-wrapper .room-box h3 a,
.rooms-detail-wrapper :where(h2, h3) {
    font-family: var(--e-global-typography-962030d-font-family), Sans-serif;
    font-size: var(--e-global-typography-962030d-font-size);
    font-weight: var(--e-global-typography-962030d-font-weight);
    line-height: var(--e-global-typography-962030d-line-height);
    text-decoration: none;
    text-transform: none;
    transition: .3s ease-in-out;
}

/* hover title room */
.rooms-listing-wrapper .room-box h3 a:hover {
    color: var(--e-global-color-primary) !important;
}

.offers-listing-wrapper h2, /* title intro offer */
.offers-listing .offer .offer-title, /* title offer */
.offers-detail-wrapper .offer-wrapper .offer-title, /* title offer detail */
.offers-listing-4 .offer-text h3 /* title card offer tpl 4*/ {
    font-family: var(--e-global-typography-962030d-font-family), Sans-serif;
    font-size: var(--e-global-typography-962030d-font-size);
    font-weight: var(--e-global-typography-962030d-font-weight);
    line-height: var(--e-global-typography-962030d-line-height);
}

.offers-listing .offer .offer-title {
    /*width: 100%;*/
    font-size: 27px;
}

/***** btn - more information & offer-button *****/
.rooms-listing-wrapper .room-box a.more-info,
.rooms-listing-wrapper .room-box .room-intro a,
.offers-listing .offer .offer-button {
	display: inline-flex;
	justify-content: center;
    align-items: center;
    padding: var(--mft-space-4xs) var(--mft-space-xs);
    font-family: var(--e-global-typography-6d2edf1-font-family);
    font-size: var(--e-global-typography-6d2edf1-font-size);
    font-weight: var(--e-global-typography-6d2edf1-font-weight);
    text-transform: var(--e-global-typography-6d2edf1-text-transform);
    line-height: var(--e-global-typography-6d2edf1-line-height);
    letter-spacing: var(--e-global-typography-6d2edf1-letter-spacing);
    color: var(--e-global-color-20a7429);
    fill: var(--e-global-color-20a7429);
    background-color: var(--e-global-color-df83a25);
    border: 2px solid var(--e-global-color-df83a25);
    min-width: clamp(44px, calc(44px + (52 - 44) * ((100vw - 1281px) / (1920 - 1281))), 52px);
	min-height: clamp(44px, calc(44px + (52 - 44) * ((100vw - 1281px) / (1920 - 1281))), 52px);
    transition: all .3s ease;
}

/* hover btn - more information & button */
.rooms-listing-wrapper .room-box a.more-info:hover,
.rooms-listing-wrapper .room-box .room-intro a:hover,
.offers-listing .offer .offer-button:hover {
    color: var(--e-global-color-43ff4a1);
    fill: var(--e-global-color-43ff4a1);
    background-color: var(--e-global-color-52c7165);
    border: 2px solid var(--e-global-color-52c7165);
}

/* btn - more information */
.rooms-listing-wrapper .room-box a.more-info,
.rooms-listing-wrapper .room-box .room-intro a {
    margin-top: var(--mft-space-m);
    width: max-content;
    text-decoration: none !important;
}

/* btn -  offer-button */
.offers-listing .offer .offer-button {
    position: relative !important;
    bottom: 0;
    right: 0;
    display: inline-block;
    margin: 10px 35px;
}

.room-box .room-content ul.exclusive-services {
    margin: 15px 0;
    padding-left: 0;
}

/* btn - more information full width & center mobile */
@media (max-width:767px) {
    .rooms-listing-wrapper .room-box a.more-info,
	.rooms-listing-wrapper .room-box .room-intro a {
        width: auto;
        text-align: center;
    }
    .offers-listing .offer .offer-button {
        display: block;
    }
}

/***** icons and room description text *****/
.rooms-listing-1 .room-box .room-detail ul li {
    font-weight: 500;
}

.rooms-listing-wrapper .room-box .room-detail ul li span:where(.occupancies-ico, .size-ico, .distibution-ico) {
    width: auto;
    height: auto;
    background-image: none !important;
}

.rooms-listing-wrapper .room-box .room-detail ul li span:where(.occupancies-ico, .size-ico, .distibution-ico)::before {
    padding-right: 5px;
    font-family: 'fap-regular' !important;
    font-weight: normal;
    font-size: 25px;
    color: var(--e-global-color-secondary);
}

.rooms-listing-wrapper .room-box .room-detail ul li span.occupancies-ico::before {
    content: "\1f464";
}

.rooms-listing-wrapper .room-box .room-detail ul li span.size-ico::before {
    content: "\f05a";
}

.rooms-listing-wrapper .room-box .room-detail ul li span.distibution-ico::before {
    content: "\1f6cf";
}

.offers-listing-wrapper.no-offers {
    padding: 50px 24px;
    text-align: center;
}

/********** TEMPLATES ROOMS **********/

/* ROOM TEMPLATE 1 */
.rooms-listing-1 .room-box .room-detail ul {
    margin: 0;
    padding: var(--mft-space-m) 0;
    text-align: left;
    background: transparent !important;
}

.rooms-listing-1 .room-box .room-detail ul li {
    width: auto !important;
    padding-right: var(--mft-space-s);
}

.rooms-listing-1 .room-box .room-content .room-price {
    border-top: none;
}

.rooms-listing-1 .room-box .room-content .room-price .box-from .box-price,
.rooms-listing-1 .room-box .room-content .room-price .box-from .price-description {
    color: var(--e-global-color-text);
}

.rooms-listing-1 .room-box .room-content .room-price .box-from .box-price {
    font-weight: bold;
}

.rooms-listing-1 .room-box .room-content .room-price .box-from .box-price span {
    font-size: 16px;
}

@media (min-width:1025px) {
    .rooms-listing-1 .room-box .room-detail {
        padding: 0 var(--mft-space-m) !important;
    }
    .rooms-listing-1 .room-box .room-content {
        padding: 0 var(--mft-space-m) var(--mft-space-m) !important;
    }
}

/********** TEMPLATE OFFERS **********/

/* OFFER TEMPLATE 4 */
.offers-listing-4 .offer-text {
	padding: 10px 63px 10px 10px;
}

.offers-listing-4 .offer-text::after {
	content: "\f054";
	font-family: 'fap-regular' !important;
	position: absolute;
	right: 0;
	top:50%;
	transform: translateY(-50%);
	color: var(--e-global-color-secondary);
	border: 1px solid;
	border-radius: 50%;
	padding: 7.32px 13.4px;
	margin-right: 10px;
	transition: all .5s ease;
}

.offers-listing-4 .offer .offer-box:hover .offer-text::after {
	color: var(--e-global-color-47eea86e);
	background-color: var(--e-global-color-secondary);
	border: 1px solid var(--e-global-color-secondary);
}

.offers-listing-4 .offer .offer-box {
	min-height: 400px;
	transition: .3s ease-in-out;
}

.offers-listing-4 .offer .offer-box img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.offers-listing-4 .offer .offer-box:hover {
	box-shadow: 0px 0px 9px #00000047;
}

/***** ROOM DETAILS *****/
.calendar-wrapper.calendar-type1 {
    border-top: 0;
}

.rooms-detail-wrapper .room-box-services h3,
.rooms-detail-wrapper h3 {
    margin-bottom: 40px;
}

.rooms-detail-wrapper h4 {
    font-family: var(--e-global-typography-962030d-font-family), Sans-serif;
    font-size: var(--e-global-typography-962030d-font-size);
    font-weight: var(--e-global-typography-962030d-font-weight);
    line-height: var(--e-global-typography-962030d-line-height);
}

.rooms-detail-wrapper h2 {
    padding-bottom: var(--mft-space-s);
}

.rooms-detail-wrapper .room-box-detail,
.rooms-detail-wrapper .room-box-price {
    background-color: var(--e-global-color-15b9b07) !important;
}

.rooms-detail-wrapper .room-box-services,
.rooms-detail-wrapper .room-box-common-services {
    padding: 15px 0px;
}

.rooms-detail-5 .offers-listing-1 {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.rooms-detail-5 .offers-listing-1 .offer {
    width: 48%;
}

.rooms-detail-5 .room-box-offers .elementor-container .offer-list-wrapper {
    background: transparent;
}

/***** OFFER DETAILS *****/
.offers-detail-wrapper.offer-detail-1 .offer-features-wrapper .offer-boxes-wrapper .offer-box span, 
.offers-detail-wrapper.offer-detail-1 .offer-features-wrapper .offer-boxes-wrapper .offer-box meta {
    font-family: var(--e-global-typography-fcce242-font-family);
}

.offers-detail-wrapper.offer-detail-1 .offer-photo {
    width: 230px;
}

.offers-detail-wrapper .offer-photo {
    width: auto;
}

.offers-detail-wrapper.offer-detail-2 .offer-wrapper {
    float: none;
}

.offers-detail-wrapper.offer-detail-2 .offer {
    margin: 55px auto;
}

.offer-detail-5 .offer-wrapper .offer-title i.eci {
    display: inline;
    margin: 0 15px 0 0;
    font-size: 25px;
}

/********************************/

/********* CUSTOM CSS **********/

/*******************************/

/***** LOGO INDIVIDUAL HOTEL *****/
.mft-logo-hotel {
    width: fit-content;
}

/***** STYLE HOTEL CARD *****/
.mft-slider-modal-card .mft-modal-card .mft-hotel-card-info,
.mft-slider-modal-card .mft-modal-card .mft-hotel-card-info .mft-hotel-card-info-title {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    gap: var(--mft-space-2xs)
}

.mft-slider-modal-card .mft-modal-card .mft-hotel-card-info .mft-modal-card-services {
     justify-content: flex-start;
}

.mft-slider-modal-card .mft-modal-card .mft-hotel-card-info .mft-hotel-card-description {
    display: none;
}

/***** HEADER & INDIVIDUAL MENU *****/
/* header transition animation when there is a submenu */
body:not(:is(.cat-corporate, .cat-room-detail, .cat-offer-detail)):has(.mft-wrapper-menu-individual.elementor-sticky--effects) .mft-header {
    transition: transform .3s ease-in-out;
}

/* The header disappears when scrolling down and reappears when scrolling up */
body:not(:is(.cat-corporate, .cat-room-detail, .cat-offer-detail)):has(.mft-wrapper-menu-individual.elementor-sticky--effects) .mft-header[data-mft-toggle-scroll="false"].mft-offset-active {
    transform: translateY(-100%);
    transition: transform .2s ease-in-out;
}

/* submenu transition animation */
.mft-wrapper-menu-individual.elementor-sticky--effects {
    transition: .2s ease-in-out;
}

/* height of the submenu when the header is visible when scrolling up */
body:not(:is(.cat-corporate, .cat-room-detail, .cat-offer-detail)):has(.mft-header[data-mft-toggle-scroll="true"]) .mft-wrapper-menu-individual.elementor-sticky--effects {
    top: var(--mft-min-height-header) !important;
    transition: .3s ease-in-out;
}

/* height of the engine when you scroll up and the header and submenu are visible */
body:not(:is(.cat-corporate, .cat-room-detail, .cat-offer-detail)):has(.mft-header[data-mft-toggle-scroll="false"]):has(.mft-wrapper-menu-individual.elementor-sticky--effects) .mft-wrapper-finder-header.mft-offset-active .mft-finder-fixed-top {
    top: 74px;
    transition: .2s ease-in-out;
}

body:not(:is(.cat-corporate, .cat-room-detail, .cat-offer-detail)):has(.mft-header[data-mft-toggle-scroll="true"]):has(.mft-wrapper-menu-individual.elementor-sticky--effects) .mft-wrapper-finder-header.mft-offset-active .mft-finder-fixed-top {
    top: calc(var(--mft-min-height-header) + 74px);
    transition: .3s ease-in-out;
}

/* Horizontal Menu : WP Menu - Icon List (inline), widgets*/
.mft-horizontal-menu :where(.elementor-nav-menu, .elementor-inline-items) {
	display: flex !important; 
	flex-wrap: nowrap !important; 
	overflow: hidden;
	overflow-x: auto;
	width: 100%;
	user-select: none;
}

.mft-horizontal-menu :where(.elementor-nav-menu, .elementor-inline-items)::-webkit-scrollbar {
	width:0px;
	height:0px;
	background:transparent;
}

.mft-horizontal-menu :where(.elementor-nav-menu, .elementor-inline-items) li {
	white-space: pre;
}

.mft-horizontal-menu .elementor-nav-menu.dragging a,
.mft-wrapper-header a.elementor-item.has-submenu.highlighted {
    pointer-events: none;
}

.mft-horizontal-menu :where(.elementor-nav-menu, .elementor-inline-items) a{
     user-select: none;
    -webkit-user-drag: none;
}

/* Icon list widget */
.mft-horizontal-menu.elementor-widget-icon-list .elementor-icon-list-items.elementor-inline-items {
    margin-left: 0px;
    margin-right: 0px;
}

.mft-horizontal-menu.elementor-element .elementor-widget-container .elementor-inline-items li.elementor-inline-item:first-child {
    margin-left: 0px;
}

.mft-horizontal-menu.elementor-element .elementor-widget-container .elementor-inline-items li.elementor-inline-item:last-child {
    margin-right: 0px
}

.mft-horizontal-menu .elementor-icon-list-item a {
    padding-bottom: 5px;
}

.mft-horizontal-menu .elementor-inline-items a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    background: var(--e-global-color-text);
    transition: all .3s ease;
}

.mft-horizontal-menu .elementor-inline-items a:hover::after,
.mft-horizontal-menu .elementor-inline-items a.mft-filter-button-active::after {
    width: 100%;
}

/****** STYLE FOR CARD HOTEL LINK *****/
body.elementor-editor-active .mft-link-modal-card {
    position:  relative !important;
}

body:not(.elementor-editor-active) :is(.mft-link-modal-card, .mft-modal-card) {
	height: 100%;
}

.mft-link-modal-card,
.mft-modal-card,
.mft-rotate-img,
.mft-link-modal-card .mft-open-modal-icon .elementor-icon,
.mft-modal-card .mft-close-modal-icon i {
    transition: all 0.5s ease;
}

.mft-link-modal-card {
    z-index: 2;
}

body:not(.elementor-editor-active) .mft-link-modal-card.show {
    opacity: 0;
    z-index: 0;
}

.swiper-slide:has(.mft-open-modal-icon:hover) .mft-modal-card .mft-close-modal-icon .elementor-icon,
.elementor-widget-n-carousel:not(.mft-slider-modal-hidden-plus) .mft-link-modal-card:hover .mft-open-modal-icon .elementor-icon {
    background-color: var(--e-global-color-232445b) !important;
    color: var(--e-global-color-47eea86e) !important;
}

.mft-link-modal-card:hover .mft-rotate-img,
.mft-slider-modal-card:has(.mft-link-modal-card.show) .mft-modal-card .mft-close-modal-icon i {
    transform: rotate(45deg);
}

body:not(.elementor-editor-active) .mft-modal-card {
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

.mft-slider-modal-card:has(.mft-link-modal-card.show) .mft-modal-card {
    opacity: 1;
}

/* ONLY FOT SLIDER GASTRONOY */
/* Fix the height when the modal is hidden – for the food slider only */
body:not(.elementor-editor-active) .mft-slider-modal-hidden-plus .mft-modal-card {
    max-height: 100px;
    overflow: hidden;
}

.mft-slider-modal-hidden-plus:has(.mft-link-modal-card.show) .mft-modal-card {
    max-height: 1500px;
}

body:not(.elementor-editor-active) .mft-slider-modal-hidden-plus .e-con-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

body:not(.elementor-editor-active) .mft-slider-modal-hidden-plus .mft-modal-card,
body:not(.elementor-editor-active) .mft-slider-modal-hidden-plus .mft-link-modal-card {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.mft-slider-modal-card:has(.mft-link-modal-card.show) .mft-modal-card .mft-btn {
    pointer-events: all;
}

.mft-modal-card-services p {
    padding-block: clamp(8px, calc(8px + (12 - 8) * ((100vw - 1180px) / (1920 - 1180))), 12px); 
    padding-inline: clamp(12px, calc(12px + (16 - 12) * ((100vw - 1180px) / (1920 - 1180))), 16px);
}

@media (min-width: 768px) {
    .mft-filter-slider .mft-slider-only-item .swiper-slide.swiper-slide-next {
        width: 60vw !important;
    }
}

/***** SEPARATOR CARD EVENTS ROOM FILTER LOOP GRID *****/
.mft-loop-grid-events-rooms .e-loop-item:not(:last-child)::after {
    content:"";
    width: 100%;
    height: 1px;
    display: block;
    background: var(--e-global-color-485e56c);
    margin: clamp(32px, calc(32px + (48 - 32) * ((100vw - 1180px) / (1920 - 1180))), 48px) 0
} 

/***** MAP HEIGHT SHORTCODE *****/
.mft-maps-section :is(.elementor-widget-Mirai-Map, #map-wrapper) {
    height: 100% !important;
}

/* POSITION IMG MAPS */
body.cat-hotel-reina-petronila .map-static {
    background-position: left !important;
}

/***** SEE MORE / LESS *****/
.mft-see-more .mft-less-text,
.mft-see-more.see-more-active .mft-more-text {
    display: none;
}

.mft-see-more.see-more-active .mft-less-text {
    display: block;
}

.mft-see-more .elementor-button-icon i {
    transition: .5s ease-in-out;
}

.mft-see-more.see-more-active .elementor-button-icon i {
    transform: rotate(180deg);
}

body:not(.elementor-editor-active) .mft-see-more-content {
    max-height: 0;
    overflow: hidden;
    transition: 1s ease-in-out;
}

body:not(.elementor-editor-active) .mft-see-more-content.total-height {
    max-height: 1500px;
}

@media (min-width: 768px) {
    .mft-see-more-mb .mft-see-more {
        display: none !important; 
    }
    
    body:not(.elementor-editor-active) .mft-see-more-mb .mft-see-more-content {
        max-height: none;
        overflow: visible;
    }
}

/***** SLIDER NO SLIDER DK *****/
@media (min-width: 1025px) {
    .mft-no-swiper-dk .swiper-initialized {
        overflow: unset;
    }
    
    .mft-no-slider-dk .swiper-wrapper{
        transform: none !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
        
    .mft-no-slider-dk .swiper-slide {
        width: 100%;
    }

    .mft-no-slider-dk .elementor-swiper-button,
    .mft-no-slider-dk .swiper-pagination {
        display: none !important;
    }
}

/******************************************/

/************* GALLERY GRID *************/

/***************************************/

/* Gallery */
.mft-grid-gallery {
    height: 31vw;
}

/* Images fill the entire container without distortion */
.mft-grid-gallery .gallery-item {
    position: relative;
    max-width: unset !important;
    overflow: hidden;
}

.mft-grid-gallery .gallery-item a img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gallery container: defines the grid */
.mft-grid-gallery .elementor-image-gallery .gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 15.5vw 15.5vw;
    grid-template-areas: "item2 item2 item1 item1 item3 item4"
    "item5 item5 item1 item1 item6 item7";
    gap: 5px;
}

/* Assign grid areas by class (grid area) instead of :nth-child */
.mft-grid-gallery .gallery-item:nth-child(1) {
    grid-area: item1;
}

.mft-grid-gallery .gallery-item:nth-child(2) {
    grid-area: item2;
}

.mft-grid-gallery .gallery-item:nth-child(3) {
    grid-area: item3;
}

.mft-grid-gallery .gallery-item:nth-child(4) {
    grid-area: item4;
}

.mft-grid-gallery .gallery-item:nth-child(5) {
    grid-area: item5;
}

.mft-grid-gallery .gallery-item:nth-child(6) {
    grid-area: item6;
}

.mft-grid-gallery .gallery-item:nth-child(7) {
    grid-area: item7;
}

/* Hide additional elements (starting from the eighth) */
.mft-grid-gallery .gallery-item:nth-child(n + 8) {
    display: none;
}

@media (max-width: 768px) {
	.mft-grid-gallery {
	    height: 70vw;
	}
	
    .mft-grid-gallery .gallery-item:nth-child(n + 4) {
	    display: none;
	}

	.mft-grid-gallery .elementor-image-gallery .gallery {
	    grid-template-columns: repeat(2, 1fr);
	    grid-template-rows: 35vw 35vw;
	    grid-template-areas: "item2 item1"
	    "item3 item1";
	}
}

/* Gallery Lightbox */
.dialog-lightbox-widget[id^='elementor-lightbox-slideshow'] .dialog-widget-content.dialog-lightbox-widget-content {
    inset: 0 !important;
}

/* FIX CAROUSEL DOTS WHEN THERE IS A GRID GALLERY ON THE PAGE */
body:has(.mft-grid-gallery) .e-widget-swiper.elementor-element .swiper-pagination-bullets.swiper-pagination-horizontal {
    transform: none;
}

/***** ANIMATIONS *****/
/* .mft-delay | delay for animations */
body:not(.elementor-editor-active) .mft-animated.mft-delay {
    transition-delay: 0.22s !important;
}

/* delay desktop */
@media (min-width: 1025px) {
    body:not(.elementor-editor-active) .mft-animated.mft-delay-1 {
        transition-delay: .5s !important;
    }

    body:not(.elementor-editor-active) .mft-animated.mft-delay-2 {
        transition-delay: .8s !important;
    }

    body:not(.elementor-editor-active) .mft-animated.mft-delay-3 {
        transition-delay: 1.1s !important;
    }

    body:not(.elementor-editor-active) .mft-animated.mft-delay-4 {
        transition-delay: 1.4s !important;
    }
}

/* .mft-reveal-text | element appears as a hidden box */
body:not(.elementor-editor-active) .mft-reveal-text {
    opacity: 0;
    transform: translateY(50px);
    clip-path: inset(0% 0% 100% 0%);
    will-change: transform, opacity, clip-path;
    transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.elementor-editor-active) .mft-reveal-text.mft-animated {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0% 0% 0% 0%);
}

/* .mft-reveal-fadeup | the element fades in */
body:not(.elementor-editor-active) .mft-reveal-fadeup {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
    transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.elementor-editor-active) .mft-reveal-fadeup-card {
    opacity: 0;
    transform: translateY(70px);
    will-change: transform, opacity;
    transition: transform 2s cubic-bezier(0,.97,1,1), opacity 1.3s cubic-bezier(0,.97,1,1);
}

body:not(.elementor-editor-active) .mft-reveal-fadeup-card.mft-animated,
body:not(.elementor-editor-active) .mft-reveal-fadeup.mft-animated {
    opacity: 1;
    transform: translateY(0);
}

body:not(.elementor-editor-active) .mft-reveal-fadeup.mft-animated {
    transition-delay: 0.2s;
}

/* .mft-grow-image | the element grows from top to bottom */
body:not(.elementor-editor-active) .mft-grow-image {
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%);
    will-change: clip-path;
}

body:not(.elementor-editor-active) .mft-grow-image.mft-animated {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
    transition: clip-path 1.6s cubic-bezier(.72, .02, .44, .98);
}

/* .mft-transition-up-down | smooth transition scroll up / down for elementor scroll animation */
body:not(.elementor-editor-active) .mft-transition-up-down {
    transition: transform .5s ease;
}

/* mft-rotate-right & mft-rotate-left | rotation of the plates to the right or left */
.mft-rotate-right img,
.mft-rotate-left img {
    transition: all 0.5s ease;
}

.mft-wrapper-rotate:hover .mft-rotate-right img {
    transform: rotate(90deg);
}

.mft-wrapper-rotate:hover .mft-rotate-left img{
    transform: rotate(-90deg);
}

/* list services home hotel */
@media (min-width: 768px) {
    .mft-wrapper-services .elementor-widget-icon-box {
        width: calc(20% - var(--mft-space-l));
    }
}

/***** HIDE BUTTONS ROOMS EVENTS *****/
body:not(.elementor-editor-active) :is(.mft-event-room-hotel-palafox, .mft-event-room-hotel-petronila, .mft-event-room-hotel-alfonso, .mft-event-room-hotel-hiberus, .mft-event-room-hotel-victoria) .mft-btn.mft-btn-2 {
	display: none;
}
