/*
 * Appartements Lena – additions of the new theme. Loaded last.
 */

/* ---- Values that used to come from the theme options page ---- */
body { background-color:#f1f1e6; font-weight:normal; }
h1 { font:normal 45px/55px "Open Sans", sans-serif; color:#584a3e; }
h2 { font:normal 45px/55px "Open Sans", sans-serif; color:#584a3e; }
h3 { font:normal 45px/55px "Open Sans", sans-serif; color:#584a3e; }
h4 { font:normal 28px/30px "Open Sans", sans-serif; color:#5d5d52; }
h5 { font:normal 30px/30px "Open Sans", sans-serif; color:#d2c970; }
h6 { font:normal 16px/24px "Open Sans", sans-serif; color:#a19677; }
.logo_h__txt, .logo_link { font:normal 60px/70px Puritan, sans-serif; color:#6b5f53; }
.sf-menu > li > a { font:normal 18px/24px "Open Sans", sans-serif; color:#746e5d; }
.nav.footer-nav a { font:normal 14px/26px "Open Sans", sans-serif; color:#6b5f53; }

/* ---- Dropdown menu on desktop (replaces the Superfish script) ---- */
@media (min-width: 768px) {
	.sf-menu li:hover > ul,
	.sf-menu li.sfHover > ul {
		display:block;
		animation:lena-menu-in .3s ease;
	}
}
@keyframes lena-menu-in {
	from { opacity:0; }
	to { opacity:1; }
}
.lena-menu-toggle,
.lena-submenu-toggle { display:none; }

/* ---- Mobile menu: toggle button with accordion ---- */
@media (max-width: 767px) {
	.header .nav__primary { padding:0; text-align:left; }

	.lena-menu-toggle {
		display:flex;
		align-items:center;
		justify-content:space-between;
		width:100%;
		min-height:52px;
		margin:0;
		padding:0 18px;
		border:1px solid #dcd8c6;
		border-radius:4px;
		background:#f7f7f0;
		font:600 17px/1 "Open Sans", sans-serif;
		letter-spacing:.02em;
		color:#584a3e;
		cursor:pointer;
		-webkit-tap-highlight-color:transparent;
		transition:background-color .2s, border-color .2s;
	}
	.lena-menu-toggle:hover,
	.lena-menu-toggle:focus-visible { background:#f1f1e6; border-color:#bce623; }
	.lena-menu-toggle:focus-visible,
	.lena-submenu-toggle:focus-visible { outline:2px solid #9fcb00; outline-offset:2px; }
	.nav__primary.is-open .lena-menu-toggle { border-color:#bce623; border-radius:4px 4px 0 0; }

	/* Hamburger icon that turns into a cross */
	.lena-menu-toggle_icon { position:relative; width:24px; height:18px; flex:none; }
	.lena-menu-toggle_icon:before,
	.lena-menu-toggle_icon:after,
	.lena-menu-toggle_icon span {
		position:absolute;
		left:0;
		width:100%;
		height:2px;
		border-radius:2px;
		background:#584a3e;
		content:'';
		transition:transform .25s ease, opacity .2s ease, top .25s ease;
	}
	.lena-menu-toggle_icon:before { top:0; }
	.lena-menu-toggle_icon span { top:8px; }
	.lena-menu-toggle_icon:after { top:16px; }
	.nav__primary.is-open .lena-menu-toggle_icon:before { top:8px; transform:rotate(45deg); }
	.nav__primary.is-open .lena-menu-toggle_icon span { opacity:0; }
	.nav__primary.is-open .lena-menu-toggle_icon:after { top:8px; transform:rotate(-45deg); }

	/* Panel */
	.header .header_block .nav__primary .sf-menu {
		display:block;
		float:none;
		margin:0;
		padding:0;
		border:1px solid #bce623;
		border-top:0;
		border-radius:0 0 4px 4px;
		background:#fff;
		font-size:16px;
		line-height:1.4;
		overflow:hidden;
	}
	.header .header_block .nav__primary.lena-nav--js .sf-menu { display:none; }
	.header .header_block .nav__primary.lena-nav--js.is-open .sf-menu {
		display:block;
		animation:lena-panel-in .25s ease;
	}
	@keyframes lena-panel-in {
		from { opacity:0; transform:translateY(-6px); }
		to { opacity:1; transform:none; }
	}

	.header .header_block .nav__primary .sf-menu li {
		position:relative;
		display:block;
		float:none;
		width:auto;
		margin:0;
		background:none;
		border-top:1px solid #ecebdf;
		text-align:left;
	}
	.header .header_block .nav__primary .sf-menu > li:first-child { border-top:0; }
	.header .header_block .nav__primary .sf-menu li a {
		display:block;
		padding:14px 18px;
		font:400 16px/22px "Open Sans", sans-serif;
		color:#584a3e;
		text-decoration:none;
		transition:background-color .15s, color .15s;
	}
	.header .header_block .nav__primary .sf-menu li.has-submenu > a { padding-right:64px; }
	.header .header_block .nav__primary .sf-menu li a:hover,
	.header .header_block .nav__primary .sf-menu li a:focus-visible { background:#f7f7f0; color:#584a3e; }
	.header .header_block .nav__primary .sf-menu li.current-menu-item > a,
	.header .header_block .nav__primary .sf-menu li.current_page_item > a {
		color:#7fa300;
		font-weight:600;
		box-shadow:inset 3px 0 0 #bce623;
	}

	/* Submenus */
	.header .header_block .nav__primary .sf-menu li ul,
	.header .header_block .nav__primary .sf-menu li:hover ul,
	.header .header_block .nav__primary .sf-menu li.sfHover ul {
		position:static;
		display:block;
		top:auto;
		left:auto;
		width:auto;
		margin:0;
		padding:0;
		background:#f7f7f0;
		visibility:visible;
	}
	.header .header_block .nav__primary .sf-menu li ul:before { display:none; }
	.header .header_block .nav__primary.lena-nav--js .sf-menu li ul { display:none; }
	.header .header_block .nav__primary.lena-nav--js .sf-menu li.is-open > ul {
		display:block;
		animation:lena-panel-in .2s ease;
	}
	.header .header_block .nav__primary .sf-menu li li a { padding-left:34px; font-size:15px; }
	.header .header_block .nav__primary .sf-menu li li li a { padding-left:50px; }

	.lena-submenu-toggle {
		position:absolute;
		top:0;
		right:0;
		display:block;
		width:56px;
		height:50px;
		margin:0;
		padding:0;
		border:0;
		border-left:1px solid #ecebdf;
		background:none;
		cursor:pointer;
		-webkit-tap-highlight-color:transparent;
	}
	.lena-submenu-toggle:before {
		position:absolute;
		top:50%;
		left:50%;
		width:9px;
		height:9px;
		margin:-7px 0 0 -5px;
		border-right:2px solid #746e5d;
		border-bottom:2px solid #746e5d;
		transform:rotate(45deg);
		content:'';
		transition:transform .2s ease, margin .2s ease;
	}
	.sf-menu li.is-open > .lena-submenu-toggle:before { margin-top:-2px; transform:rotate(-135deg); }
	.sf-menu li.is-open > .lena-submenu-toggle { background:#f1f1e6; }
}
@media (prefers-reduced-motion: reduce) {
	.sf-menu, .sf-menu ul, .lena-menu-toggle_icon:before, .lena-menu-toggle_icon:after, .lena-menu-toggle_icon span { animation:none !important; transition:none !important; }
}

/* ---- Slider (replaces the Camera slider) ---- */
.lena-slider {
	position:relative;
	display:block;
	margin:0;
}
.lena-slider_slides {
	position:relative;
	overflow:hidden;
	min-height:100px;
	aspect-ratio:1170 / 491;
	background:#fff;
}
.lena-slider_slide {
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	opacity:0;
	visibility:hidden;
	transition:opacity var(--lena-slider-speed, 1500ms) ease, visibility 0s linear var(--lena-slider-speed, 1500ms);
}
.lena-slider_slide.is-active {
	opacity:1;
	visibility:visible;
	z-index:1;
	transition:opacity var(--lena-slider-speed, 1500ms) ease, visibility 0s;
}
.lena-slider_slide a { display:block; height:100%; }
.lena-slider_slide img {
	display:block;
	width:100%;
	height:100%;
	max-width:none;
	object-fit:cover;
}
.lena-slider .camera_prev,
.lena-slider .camera_next {
	position:absolute;
	z-index:5;
	cursor:pointer;
}

/* ---- Parallax boxes (replaces the Cherry Parallax plugin) ---- */
body .main-holder { overflow:hidden; position:static; }
.parallax-box { position:relative; }
.parallax-content { position:relative; z-index:2; }
.parallax-bg {
	position:absolute;
	overflow:hidden;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
.parallax-bg-inner {
	position:relative;
	width:100%;
	height:100%;
	max-width:none;
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	will-change:transform;
}

/* ---- Back to top ---- */
#back-top {
	display:block;
	opacity:0;
	visibility:hidden;
	transition:opacity .4s, visibility .4s;
}
#back-top.is-visible {
	opacity:1;
	visibility:visible;
}

/* ---- Icons that used to need the Font Awesome web font ---- */
#back-top-wrapper p#back-top a:before {
	content:'';
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 14.5 12 9l5.5 5.5'/%3E%3C/svg%3E") no-repeat 50% 50%;
	background-size:20px 20px;
}
#sidebar .widget_categories ul li:before,
#sidebar .widget_archive ul li:before,
#sidebar .widget_nav_menu ul li:before,
#sidebar .widget_meta ul li:before,
#sidebar .widget_pages ul li:before,
#sidebar .widget_recent_comments ul li:before,
#sidebar .widget_recent_entries ul li:before,
.list.ok-sign-list ul li:before {
	content:'';
	top:5px;
	width:16px;
	height:16px;
	margin:0;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23a8d700' d='M6.2 13.6 1 8.4l2.1-2.1 3.1 3.1L12.9 2.6 15 4.7z'/%3E%3C/svg%3E") no-repeat 50% 50%;
	background-size:16px 16px;
}

/* ---- Pagination ---- */
.pagination__posts .page-numbers.current { cursor:default; }

/* ---- Accessibility helper (WordPress core class) ---- */
.screen-reader-text {
	border:0;
	clip:rect(1px, 1px, 1px, 1px);
	clip-path:inset(50%);
	height:1px;
	margin:-1px;
	overflow:hidden;
	padding:0;
	position:absolute;
	width:1px;
	word-wrap:normal !important;
}

/* ---- Layout of the former MotoPress Content Editor (rows, columns, galleries) ---- */
.mp-row-fluid { width:100%; box-sizing:border-box; }
.mp-row-fluid:before, .mp-row-fluid:after { display:table; content:""; line-height:0; }
.mp-row-fluid:after { clear:both; }
.mp-row-fluid [class*="mp-span"] {
	display:block;
	float:left;
	width:100%;
	min-height:30px;
	margin-left:2.127659574468085%;
	box-sizing:border-box;
}
.mp-row-fluid [class*="mp-span"]:first-child { margin-left:0; }
.mp-row-fluid .mp-span12 { width:100%; }
.mp-row-fluid .mp-span11 { width:91.48936170212765%; }
.mp-row-fluid .mp-span10 { width:82.97872340425532%; }
.mp-row-fluid .mp-span9 { width:74.46808510638297%; }
.mp-row-fluid .mp-span8 { width:65.95744680851064%; }
.mp-row-fluid .mp-span7 { width:57.44680851063829%; }
.mp-row-fluid .mp-span6 { width:48.93617021276595%; }
.mp-row-fluid .mp-span5 { width:40.42553191489362%; }
.mp-row-fluid .mp-span4 { width:31.914893617021278%; }
.mp-row-fluid .mp-span3 { width:23.404255319148934%; }
.mp-row-fluid .mp-span2 { width:14.893617021276595%; }
.mp-row-fluid .mp-span1 { width:6.382978723404255%; }
@media (max-width: 767px) {
	.mp-row-fluid [class*="mp-span"] { float:none; width:100%; margin-left:0; }
	.mp-hidden-phone { display:none !important; }
}
.motopress-row .motopress-clmn.motopress-space { min-height:10px; }
.motopress-image-obj .motopress-image-obj-basic { max-width:100% !important; height:auto; margin:0 !important; padding:0 !important; border:0; }
.motopress-text-align-left { text-align:left; }
.motopress-text-align-center { text-align:center; }
.motopress-text-align-right { text-align:right; }
.motopress-grid-gallery-obj { text-align:center; }
.motopress-grid-gallery-obj img { max-width:100%; height:auto; }
.motopress-grid-gallery-obj .mp-row-fluid + .mp-row-fluid { margin-top:2.127659574468085%; }
.motopress-grid-gallery-obj .motopress-image-caption { text-align:center; }
.motopress-hide-script { display:none; }
.motopress-margin-top-0 { margin-top:0px !important; }
.motopress-margin-bottom-0 { margin-bottom:0px !important; }
.motopress-margin-left-0 { margin-left:0px !important; }
.motopress-margin-right-0 { margin-right:0px !important; }
.motopress-margin-top-5 { margin-top:5px !important; }
.motopress-margin-bottom-5 { margin-bottom:5px !important; }
.motopress-margin-left-5 { margin-left:5px !important; }
.motopress-margin-right-5 { margin-right:5px !important; }
.motopress-margin-top-10 { margin-top:10px !important; }
.motopress-margin-bottom-10 { margin-bottom:10px !important; }
.motopress-margin-left-10 { margin-left:10px !important; }
.motopress-margin-right-10 { margin-right:10px !important; }
.motopress-margin-top-15 { margin-top:15px !important; }
.motopress-margin-bottom-15 { margin-bottom:15px !important; }
.motopress-margin-left-15 { margin-left:15px !important; }
.motopress-margin-right-15 { margin-right:15px !important; }
.motopress-margin-top-20 { margin-top:20px !important; }
.motopress-margin-bottom-20 { margin-bottom:20px !important; }
.motopress-margin-left-20 { margin-left:20px !important; }
.motopress-margin-right-20 { margin-right:20px !important; }
.motopress-margin-top-25 { margin-top:25px !important; }
.motopress-margin-bottom-25 { margin-bottom:25px !important; }
.motopress-margin-left-25 { margin-left:25px !important; }
.motopress-margin-right-25 { margin-right:25px !important; }
.motopress-margin-top-30 { margin-top:30px !important; }
.motopress-margin-bottom-30 { margin-bottom:30px !important; }
.motopress-margin-left-30 { margin-left:30px !important; }
.motopress-margin-right-30 { margin-right:30px !important; }
.motopress-margin-top-40 { margin-top:40px !important; }
.motopress-margin-bottom-40 { margin-bottom:40px !important; }
.motopress-margin-left-40 { margin-left:40px !important; }
.motopress-margin-right-40 { margin-right:40px !important; }
.motopress-margin-top-50 { margin-top:50px !important; }
.motopress-margin-bottom-50 { margin-bottom:50px !important; }
.motopress-margin-left-50 { margin-left:50px !important; }
.motopress-margin-right-50 { margin-right:50px !important; }
.motopress-margin-top-75 { margin-top:75px !important; }
.motopress-margin-bottom-75 { margin-bottom:75px !important; }
.motopress-margin-left-75 { margin-left:75px !important; }
.motopress-margin-right-75 { margin-right:75px !important; }
.motopress-margin-top-100 { margin-top:100px !important; }
.motopress-margin-bottom-100 { margin-bottom:100px !important; }
.motopress-margin-left-100 { margin-left:100px !important; }
.motopress-margin-right-100 { margin-right:100px !important; }
.motopress-margin-top-125 { margin-top:125px !important; }
.motopress-margin-bottom-125 { margin-bottom:125px !important; }
.motopress-margin-left-125 { margin-left:125px !important; }
.motopress-margin-right-125 { margin-right:125px !important; }
.motopress-margin-top-150 { margin-top:150px !important; }
.motopress-margin-bottom-150 { margin-bottom:150px !important; }
.motopress-margin-left-150 { margin-left:150px !important; }
.motopress-margin-right-150 { margin-right:150px !important; }
.motopress-margin-top-175 { margin-top:175px !important; }
.motopress-margin-bottom-175 { margin-bottom:175px !important; }
.motopress-margin-left-175 { margin-left:175px !important; }
.motopress-margin-right-175 { margin-right:175px !important; }
.motopress-margin-top-200 { margin-top:200px !important; }
.motopress-margin-bottom-200 { margin-bottom:200px !important; }
.motopress-margin-left-200 { margin-left:200px !important; }
.motopress-margin-right-200 { margin-right:200px !important; }
@media (max-width: 767px) {
	.motopress-margin-top-5 { margin-top:2.5px !important; }
	.motopress-margin-bottom-5 { margin-bottom:2.5px !important; }
	.motopress-margin-left-5 { margin-left:2.5px !important; }
	.motopress-margin-right-5 { margin-right:2.5px !important; }
	.motopress-margin-top-10 { margin-top:5px !important; }
	.motopress-margin-bottom-10 { margin-bottom:5px !important; }
	.motopress-margin-left-10 { margin-left:5px !important; }
	.motopress-margin-right-10 { margin-right:5px !important; }
	.motopress-margin-top-15 { margin-top:7.5px !important; }
	.motopress-margin-bottom-15 { margin-bottom:7.5px !important; }
	.motopress-margin-left-15 { margin-left:7.5px !important; }
	.motopress-margin-right-15 { margin-right:7.5px !important; }
	.motopress-margin-top-20 { margin-top:10px !important; }
	.motopress-margin-bottom-20 { margin-bottom:10px !important; }
	.motopress-margin-left-20 { margin-left:10px !important; }
	.motopress-margin-right-20 { margin-right:10px !important; }
	.motopress-margin-top-25 { margin-top:12.5px !important; }
	.motopress-margin-bottom-25 { margin-bottom:12.5px !important; }
	.motopress-margin-left-25 { margin-left:12.5px !important; }
	.motopress-margin-right-25 { margin-right:12.5px !important; }
	.motopress-margin-top-30 { margin-top:15px !important; }
	.motopress-margin-bottom-30 { margin-bottom:15px !important; }
	.motopress-margin-left-30 { margin-left:15px !important; }
	.motopress-margin-right-30 { margin-right:15px !important; }
	.motopress-margin-top-40 { margin-top:20px !important; }
	.motopress-margin-bottom-40 { margin-bottom:20px !important; }
	.motopress-margin-left-40 { margin-left:20px !important; }
	.motopress-margin-right-40 { margin-right:20px !important; }
	.motopress-margin-top-50 { margin-top:25px !important; }
	.motopress-margin-bottom-50 { margin-bottom:25px !important; }
	.motopress-margin-left-50 { margin-left:25px !important; }
	.motopress-margin-right-50 { margin-right:25px !important; }
	.motopress-margin-top-75 { margin-top:37.5px !important; }
	.motopress-margin-bottom-75 { margin-bottom:37.5px !important; }
	.motopress-margin-left-75 { margin-left:37.5px !important; }
	.motopress-margin-right-75 { margin-right:37.5px !important; }
	.motopress-margin-top-100 { margin-top:50px !important; }
	.motopress-margin-bottom-100 { margin-bottom:50px !important; }
	.motopress-margin-left-100 { margin-left:50px !important; }
	.motopress-margin-right-100 { margin-right:50px !important; }
	.motopress-margin-top-125 { margin-top:62.5px !important; }
	.motopress-margin-bottom-125 { margin-bottom:62.5px !important; }
	.motopress-margin-left-125 { margin-left:62.5px !important; }
	.motopress-margin-right-125 { margin-right:62.5px !important; }
	.motopress-margin-top-150 { margin-top:75px !important; }
	.motopress-margin-bottom-150 { margin-bottom:75px !important; }
	.motopress-margin-left-150 { margin-left:75px !important; }
	.motopress-margin-right-150 { margin-right:75px !important; }
	.motopress-margin-top-175 { margin-top:87.5px !important; }
	.motopress-margin-bottom-175 { margin-bottom:87.5px !important; }
	.motopress-margin-left-175 { margin-left:87.5px !important; }
	.motopress-margin-right-175 { margin-right:87.5px !important; }
	.motopress-margin-top-200 { margin-top:100px !important; }
	.motopress-margin-bottom-200 { margin-bottom:100px !important; }
	.motopress-margin-left-200 { margin-left:100px !important; }
	.motopress-margin-right-200 { margin-right:100px !important; }
}
@media (max-width: 480px) {
	.motopress-margin-top-5 { margin-top:1.25px !important; }
	.motopress-margin-bottom-5 { margin-bottom:1.25px !important; }
	.motopress-margin-left-5 { margin-left:1.25px !important; }
	.motopress-margin-right-5 { margin-right:1.25px !important; }
	.motopress-margin-top-10 { margin-top:2.5px !important; }
	.motopress-margin-bottom-10 { margin-bottom:2.5px !important; }
	.motopress-margin-left-10 { margin-left:2.5px !important; }
	.motopress-margin-right-10 { margin-right:2.5px !important; }
	.motopress-margin-top-15 { margin-top:3.75px !important; }
	.motopress-margin-bottom-15 { margin-bottom:3.75px !important; }
	.motopress-margin-left-15 { margin-left:3.75px !important; }
	.motopress-margin-right-15 { margin-right:3.75px !important; }
	.motopress-margin-top-20 { margin-top:5px !important; }
	.motopress-margin-bottom-20 { margin-bottom:5px !important; }
	.motopress-margin-left-20 { margin-left:5px !important; }
	.motopress-margin-right-20 { margin-right:5px !important; }
	.motopress-margin-top-25 { margin-top:6.25px !important; }
	.motopress-margin-bottom-25 { margin-bottom:6.25px !important; }
	.motopress-margin-left-25 { margin-left:6.25px !important; }
	.motopress-margin-right-25 { margin-right:6.25px !important; }
	.motopress-margin-top-30 { margin-top:7.5px !important; }
	.motopress-margin-bottom-30 { margin-bottom:7.5px !important; }
	.motopress-margin-left-30 { margin-left:7.5px !important; }
	.motopress-margin-right-30 { margin-right:7.5px !important; }
	.motopress-margin-top-40 { margin-top:10px !important; }
	.motopress-margin-bottom-40 { margin-bottom:10px !important; }
	.motopress-margin-left-40 { margin-left:10px !important; }
	.motopress-margin-right-40 { margin-right:10px !important; }
	.motopress-margin-top-50 { margin-top:12.5px !important; }
	.motopress-margin-bottom-50 { margin-bottom:12.5px !important; }
	.motopress-margin-left-50 { margin-left:12.5px !important; }
	.motopress-margin-right-50 { margin-right:12.5px !important; }
	.motopress-margin-top-75 { margin-top:18.75px !important; }
	.motopress-margin-bottom-75 { margin-bottom:18.75px !important; }
	.motopress-margin-left-75 { margin-left:18.75px !important; }
	.motopress-margin-right-75 { margin-right:18.75px !important; }
	.motopress-margin-top-100 { margin-top:25px !important; }
	.motopress-margin-bottom-100 { margin-bottom:25px !important; }
	.motopress-margin-left-100 { margin-left:25px !important; }
	.motopress-margin-right-100 { margin-right:25px !important; }
	.motopress-margin-top-125 { margin-top:31.25px !important; }
	.motopress-margin-bottom-125 { margin-bottom:31.25px !important; }
	.motopress-margin-left-125 { margin-left:31.25px !important; }
	.motopress-margin-right-125 { margin-right:31.25px !important; }
	.motopress-margin-top-150 { margin-top:37.5px !important; }
	.motopress-margin-bottom-150 { margin-bottom:37.5px !important; }
	.motopress-margin-left-150 { margin-left:37.5px !important; }
	.motopress-margin-right-150 { margin-right:37.5px !important; }
	.motopress-margin-top-175 { margin-top:43.75px !important; }
	.motopress-margin-bottom-175 { margin-bottom:43.75px !important; }
	.motopress-margin-left-175 { margin-left:43.75px !important; }
	.motopress-margin-right-175 { margin-right:43.75px !important; }
	.motopress-margin-top-200 { margin-top:50px !important; }
	.motopress-margin-bottom-200 { margin-bottom:50px !important; }
	.motopress-margin-left-200 { margin-left:50px !important; }
	.motopress-margin-right-200 { margin-right:50px !important; }
}
