/*
 Theme Name:   Moonlit Child
 Theme URI:    https://reactheme.com/products/wordpress/moonlit
 Description:  Moonlit Child
 Author:       ReacThemes
 Author URI:   http://reactheme.com
 Template:     moonlit
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

body.single-post #content { padding-top:100px; padding-bottom:50px; }
body.single-post .reactheme-blog-details .news-details-inner { border:1px solid #0a0a0a12; padding:30px; border-radius:6px; margin-right:23px; }
body.single-post div.bs-img { margin-bottom:25px; }
body.single-post h1.bs-title { margin-top:15px; font-size:32px; }
body.single-post div.bs-category a { font-size:18px; text-decoration:none; }
body.single-post .reactheme-blog-details .type-post .single-content-full .bs-desc { padding-top:0px; }

body.home header.sticky-header .menu.desktop-menu .menu-text > span { transition:0.2s ease all; color:white; }
body.home header.sticky-header .menu.desktop-menu .menu-link:hover .menu-text > span { color:var(--e-global-color-primary); }

body #gallery-hotel { max-height:12.5dvw; overflow:hidden; }
@media screen and (max-width:1024px) {
	body #gallery-hotel { max-height:20dvw; overflow:hidden; }
	body #gallery-hotel figure.gallery-item { max-width:20%; }
}
@media screen and (max-width:768px) {
	body #gallery-hotel { max-height:50dvw; overflow:hidden; }
	body #gallery-hotel figure.gallery-item { max-width:50%; }
	body #gallery-hotel figure.gallery-item img { min-width:100%; max-width:inherit; min-height:100%; max-height:inherit; margin:0; }
}
@media screen and (max-width:500px) {
	body #gallery-hotel { max-height:100dvw; overflow:hidden; }
	body #gallery-hotel figure.gallery-item { max-width:100%; }
}

body.single-eshb_accomodation .accomodation-gallery::before { pointer-events:none; }

.eshb-archive-wrapper.eshb-container {
    padding: 0 !important;
}
.hfe-site-logo img {
	aspect-ratio:1/1;
}
.blog__item__meta__list, .rt-user-meta-infos, .rt-user-meta-info {
	display: none;
}
#eshb-contents .basic-information-list {
    margin-bottom: 15px !important;

}
.eshb-details-page .eshb-container {
    padding-top: 90px;
    padding-bottom: 50px;
}

.button-widget a {
	width: 100% !important;
    text-align: center;
    margin-top: 20px;
}

.elementor-lightbox .elementor-swiper-button-next, .elementor-lightbox .elementor-swiper-button-prev {
	position:absolute;
	top:0;
	z-index:3;
}
.elementor-lightbox .elementor-swiper-button-next:hover, .elementor-lightbox .elementor-swiper-button-prev:hover {
	cursor:pointer;
}

body .rt-grid--style2 .room__card .room__card__top .room__card__image > a { display:inline-block; width:100%; height:100%; }

body.page-id-52 #content > .elementor > .elementor-element:first-child .jarallax-container > div { margin-top:0 !important; }

body.home .elementor-image-gallery .gallery-item img,
body.page-id-12785 .elementor-image-gallery .gallery-item img,
body.page-id-12753 .elementor-image-gallery .gallery-item img,
body.page-id-46 .elementor-image-gallery .gallery-item img { aspect-ratio:1/1; object-fit:cover; object-position:center; }
@media screen and (max-width:767.9px) {
	body.home .elementor-image-gallery .gallery-item:not(:first-child),
	body.page-id-46 .elementor-image-gallery .gallery-item:not(:first-child) { display:none; }
}

@media screen and (max-width:1024.5px) {
	body .rtmega-menu-area .mobile-menu-area .rtmega-menu-mobile-sidebar { transform: translateX(100dvw); }
	body .rtmega-menu-area .mobile-menu-area.opened .rtmega-menu-mobile-sidebar { transform: translateX(calc(100dvw - 100%)); }
}

body header .wpml-ls-link img { display:none !important; }
body header .wpml-ls-link[lang="it"]:before { content:'IT'; }
body header .wpml-ls-link[lang="en"]:before { content:'EN'; }
body header .wpml-ls-link[lang="de"]:before { content:'DE'; }

body .post-grid-no-posts { text-align:center; font-size:20px; color:#8A6F66; }

/* Bottoni Base */
div.elementor-widget-rt-room-grid .theme-btn,
section.widget_custom_html .theme-btn { color:var(--e-global-color-secondary); border:1px solid var(--e-global-color-secondary); }
div.elementor-widget-rt-room-grid .theme-btn:hover,
section.widget_custom_html .theme-btn:hover { color:white; border:1px solid var(--e-global-color-secondary); }
div.elementor-widget-rt-room-grid .btn-style::after,
div.elementor-widget-rt-room-grid .btn-style::before,
section.widget_custom_html .btn-style::after,
section.widget_custom_html .btn-style::before { background:var(--e-global-color-secondary); }

/* Bottoni "Fill" */
div.elementor-widget-rt-room-grid .theme-btn.fill,
div.elementor-widget-slider_revolution .theme-btn.fill,
section.widget_custom_html .theme-btn.fill { background:var(--e-global-color-secondary); color:white; border:1px solid var(--e-global-color-secondary); }
div.elementor-widget-rt-room-grid .theme-btn.fill:hover,
div.elementor-widget-slider_revolution .theme-btn.fill:hover,
section.widget_custom_html .theme-btn.fill:hover { color:var(--e-global-color-secondary); border:1px solid var(--e-global-color-secondary); }
div.elementor-widget-rt-room-grid .theme-btn.fill::after,
div.elementor-widget-rt-room-grid .theme-btn.fill::before,
div.elementor-widget-slider_revolution .theme-btn.fill::after,
div.elementor-widget-slider_revolution .theme-btn.fill::before,
section.widget_custom_html .btn-style.fill::after,
section.widget_custom_html .btn-style.fill::before { background:#F9F9F9; }

/* Fix Menu */
body:not(.home) div#page { padding-top:120px; }
@media screen and (max-width:1099.9px) and (min-width:767.9px) { body:not(.home) div#page { padding-top:85px; } }
body:not(.home) div#page header#reactheme-header { background:var(--e-global-color-primary); }
body #reactheme-header.sticky-header-on:not(.fixed-header) { background:var( --e-global-color-primary ); }
body header #menu-main-menu:not(.vertical-submenu-expand-mode-) > .main-menu-item .menu-text > span { color:white !important; }
body header #menu-main-menu ul.sub-menu .sub-menu-item:hover .menu-text > span,
body header #menu-main-menu > .main-menu-item > .main-menu-link:hover .menu-text > span,
body header #menu-main-menu > .main-menu-item.current_page_item > .main-menu-link .menu-text > span { color:var( --e-global-color-secondary ) !important; }

body .wpml-ls-legacy-list-horizontal { padding-top:0; padding-bottom:0; }
body .wpml-ls-legacy-list-horizontal a { padding-top:0; padding-bottom:0; }

body header .wpml-ls-legacy-list-horizontal > ul,
body header .elementor-widget-rt-button .elementor-widget-container { display:flex; }

body div#page header#reactheme-header #header-bottom { margin-top:-40px; transition:.3s ease margin-top; }
body div#page header#reactheme-header #header-bottom .hfe-site-logo img { transition:.3s ease width; }
body div#page header#reactheme-header.sticky-headers #header-bottom { margin-top:10px; }
body div#page header#reactheme-header.sticky-headers #header-bottom .hfe-site-logo img { width:75px; }

/* Forms */

body .wpcf7-list-item { margin-left:0; }
body .wpcf7-list-item .wpcf7-list-item-label { font-weight:400; }
body form.wpcf7-form input[type="checkbox"] { margin:0; }

body form.wpcf7-form textarea,
body form.wpcf7-form input:not([type="checkbox"]) {
	color: rgb(0, 0, 0);
	font-size: 16px;
	font-family: Jost, sans-serif;
    font-weight: 400;
	border-style: solid;
    border-width: 1px;
    border-color: rgba(8, 7, 7, 0.16);
	padding: 14px 20px;
    border-radius: 6px;
	width:100%;
}
body form.wpcf7-form span.wpcf7-form-control-wrap {
	display:inline-block;
	width:100%;
	margin-bottom:20px;
}
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-arrivo"],
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-partenza"],
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="adulti"],
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="bambini"] {
	width:calc(50% - 10px);
	position:relative;
}
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-arrivo"],
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="adulti"] { float:left; margin-right:10px; }
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-arrivo"] + br,
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="adulti"] + br { display:none; }
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-partenza"],
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="bambini"] { clear:both; margin-left:10px; }

body .wpcf7[lang="it-IT"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-arrivo"]:before { content:'Data Arrivo'; }
body .wpcf7[lang="it-IT"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-partenza"]:before { content:'Data Partenza'; }
body .wpcf7[lang="it-IT"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="adulti"]:before { content:'Adulti'; }
body .wpcf7[lang="it-IT"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="bambini"]:before { content:'Bambini'; }

body .wpcf7[lang="en-US"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-arrivo"]:before { content:'Arrival date'; }
body .wpcf7[lang="en-US"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-partenza"]:before { content:'Departure date'; }
body .wpcf7[lang="en-US"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="adulti"]:before { content:'Adults'; }
body .wpcf7[lang="en-US"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="bambini"]:before { content:'Children'; }

body .wpcf7[lang="de-DE"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-arrivo"]:before { content:'Ankunftsdatum'; }
body .wpcf7[lang="de-DE"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-partenza"]:before { content:'Abreisedatum'; }
body .wpcf7[lang="de-DE"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="adulti"]:before { content:'Erwachsene'; }
body .wpcf7[lang="de-DE"] form.wpcf7-form span.wpcf7-form-control-wrap[data-name="bambini"]:before { content:'Kinder'; }

body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-arrivo"]:before,
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="data-partenza"]:before,
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="adulti"]:before,
body form.wpcf7-form span.wpcf7-form-control-wrap[data-name="bambini"]:before {
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	left:2px;
	background:white;
	width:calc(100% - 40px);
	padding:0 20px;
	pointer-events:none;
}

body form.wpcf7-form span.wpcf7-form-control-wrap.changed[data-name="data-arrivo"]:before,
body form.wpcf7-form span.wpcf7-form-control-wrap.changed[data-name="data-partenza"]:before,
body form.wpcf7-form span.wpcf7-form-control-wrap.changed[data-name="adulti"]:before,
body form.wpcf7-form span.wpcf7-form-control-wrap.changed[data-name="bambini"]:before { opacity:0; }

body form.wpcf7-form input[type="submit"] {
	border-color:#8A6F66;
	background-color:#8A6F66;
	color:white;
	transition:0.3s ease all;
}
body form.wpcf7-form input[type="submit"]:hover { background-color:#B92514; border-color:#B92514; }