/*
 * Le Jardin Romain - personalizzazioni della versione JSP
 * (banner cookie, video su richiesta, piccoli adattamenti al template)
 * YouECom - www.youecom.com
 */
:root {
	--ljr-accent: #d2bd7f;
	--ljr-dark: #222222;
	--ljr-text: #3a3a3a;
	--ljr-light: #ffffff;
}

/* ---------------------------------------------- adattamenti template */
.ravis-title-t-1 h1.title,
.ravis-title h1.title,
.room-title-box h1.title {
	margin: 0;
}
#main-footer .copy-right .company-data {
	display: inline-block;
	margin-top: 6px;
	font-size: 0.85em;
	line-height: 1.6;
	opacity: 0.85;
}
#main-footer .copy-right a,
#main-footer .contact-info a {
	color: inherit;
}
.privacy-policy .text_block h4 {
	margin-top: 30px;
	scroll-margin-top: 110px;
}
.privacy-policy .privacy-toc a {
	white-space: nowrap;
}
.privacy-policy .privacy-table {
	width: 100%;
	margin: 15px 0 20px;
	border-collapse: collapse;
	font-size: 0.95em;
}
.privacy-policy .privacy-table th,
.privacy-policy .privacy-table td {
	padding: 8px 10px;
	border: 1px solid #e3e3e3;
	vertical-align: top;
	text-align: left;
}
.privacy-policy .privacy-table th {
	background: #f6f3ee;
}

/* ------------------------------------------------- video su richiesta */
.ljr-video {
	position: relative;
	width: 100%;
	min-height: 315px;
	background: #1b1b1b url("../img/luxury-rooms/1.jpg") center / cover no-repeat;
	color: var(--ljr-light);
}
.ljr-video.is-loaded {
	background: #000;
}
.ljr-video-btn {
	position: absolute;
	inset: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 20px 20px 45px;
	border: 0;
	background: rgba(0, 0, 0, 0.55);
	color: inherit;
	cursor: pointer;
	text-align: center;
	font: inherit;
}
.ljr-video-btn:hover,
.ljr-video-btn:focus-visible {
	background: rgba(0, 0, 0, 0.7);
}
.ljr-video-play {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--ljr-accent);
	position: relative;
}
.ljr-video-play::after {
	content: "";
	position: absolute;
	left: 27px;
	top: 21px;
	border-style: solid;
	border-width: 13px 0 13px 21px;
	border-color: transparent transparent transparent #fff;
}
.ljr-video-label {
	font-family: "Playfair Display", serif;
	font-size: 22px;
}
.ljr-video-notice {
	max-width: 380px;
	font-size: 12px;
	line-height: 1.5;
	opacity: 0.9;
}
.ljr-video-policy {
	position: absolute;
	bottom: 12px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 12px;
	color: #fff !important;
	text-decoration: underline;
	z-index: 2;
}
.ljr-video.is-loaded .ljr-video-policy {
	display: none;
}
.ljr-video iframe {
	display: block;
}

/* -------------------------------------------------------- banner cookie */
.ljr-cc [hidden] {
	display: none !important;
}
.ljr-cc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	padding: 12px;
	font-family: "Open Sans", Arial, sans-serif;
	pointer-events: none;
}
.ljr-cc-box {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
	padding: 22px 26px 20px;
	background: var(--ljr-light);
	color: var(--ljr-text);
	border-top: 4px solid var(--ljr-accent);
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
	pointer-events: auto;
	max-height: calc(100vh - 24px);
	overflow-y: auto;
	outline: none;
}
.ljr-cc-close {
	position: absolute;
	top: 6px;
	right: 10px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #666;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.ljr-cc-close:hover,
.ljr-cc-close:focus-visible {
	color: var(--ljr-dark);
}
.ljr-cc-title {
	margin: 0 30px 8px 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 20px;
	color: var(--ljr-dark);
}
.ljr-cc-text {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.6;
}
.ljr-cc-text a {
	color: var(--ljr-dark);
	text-decoration: underline;
}
.ljr-cc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
	align-items: center;
}
.ljr-cc-btn {
	min-width: 140px;
	padding: 10px 18px;
	border: 2px solid var(--ljr-dark);
	background: var(--ljr-dark);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	cursor: pointer;
}
.ljr-cc-btn:hover,
.ljr-cc-btn:focus-visible {
	background: var(--ljr-accent);
	border-color: var(--ljr-accent);
	color: var(--ljr-dark);
}
.ljr-cc-btn-link {
	min-width: 0;
	margin-right: auto;
	background: transparent;
	border-color: transparent;
	color: var(--ljr-dark);
	text-decoration: underline;
	text-transform: none;
}
.ljr-cc-btn-link:hover,
.ljr-cc-btn-link:focus-visible {
	background: transparent;
	border-color: transparent;
	color: #8a7340;
}
.ljr-cc-prefs {
	margin: 0 0 16px;
	border-top: 1px solid #eee;
}
.ljr-cc-cat {
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}
.ljr-cc-cat p {
	margin: 4px 0 0 52px;
	font-size: 12px;
	line-height: 1.5;
	color: #666;
}
.ljr-cc-cat-fixed p {
	margin-left: 0;
}
.ljr-cc-switch {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	cursor: pointer;
	font-weight: 700;
	color: var(--ljr-dark);
}
.ljr-cc-cat-fixed .ljr-cc-switch {
	cursor: default;
	justify-content: space-between;
}
.ljr-cc-always {
	font-size: 12px;
	font-weight: 400;
	color: #2e7d32;
}
.ljr-cc-switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.ljr-cc-slider {
	position: relative;
	flex: 0 0 40px;
	width: 40px;
	height: 22px;
	border-radius: 22px;
	background: #bbb;
	transition: background 0.2s;
}
.ljr-cc-slider::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s;
}
.ljr-cc-switch input:checked + .ljr-cc-slider {
	background: var(--ljr-accent);
}
.ljr-cc-switch input:checked + .ljr-cc-slider::after {
	transform: translateX(18px);
}
.ljr-cc-switch input:focus-visible + .ljr-cc-slider {
	outline: 2px solid var(--ljr-dark);
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.ljr-cc {
		padding: 0;
	}
	.ljr-cc-box {
		padding: 18px 16px 16px;
		max-height: 85vh;
	}
	.ljr-cc-actions .ljr-cc-btn {
		flex: 1 1 45%;
		min-width: 0;
	}
	.ljr-cc-btn-link {
		flex-basis: 100% !important;
		order: 3;
	}
}

/* ------------------------------------------- icone social nell'header */
/* Gruppo a destra dell'header: Facebook, WhatsApp, (menu mobile), Verifica Disponibilita' */
#header-actions {
	position: absolute;
	right: 0;
	top: 44px;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: top 0.3s ease;
}
#main-header.sticky #header-actions {
	top: 29px;
}
#header-actions #header-book-bow,
#header-actions #main-menu-handle,
#main-header.sticky #header-actions #header-book-bow,
#main-header.sticky #header-actions #main-menu-handle {
	position: relative; /* le cornici decorative restano attaccate al proprio pulsante */
	top: auto;
	right: auto;
	white-space: nowrap;
}
.header-social {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border: 1px solid rgba(210, 189, 127, 0.7);
	color: #ffffff;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.header-social:hover,
.header-social:focus-visible {
	background: #d2bd7f;
	border-color: #d2bd7f;
	color: #222222;
}
.header-social svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}
/* voci social dentro il menu: solo nel menu mobile su schermi piccoli */
#main-menu .menu-social {
	display: none;
}
@media (max-width: 767px) {
	.header-social {
		display: none;
	}
	#mobile-menu-container #main-menu .menu-social {
		display: block;
	}
}

/* ------------------------------------------ footer: strutture Terra e Turismo */
#main-footer .footer-strutture ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
#main-footer .footer-strutture li {
	margin: 0;
	padding: 0;
}
@media (max-width: 767px) {
	#main-footer .footer-strutture ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 479px) {
	#main-footer .footer-strutture ul {
		grid-template-columns: 1fr;
	}
}
@media (min-width: 768px) and (max-width: 1199px) {
	/* tablet: la colonna strutture va a tutta larghezza sotto le altre */
	#main-footer .widget-strutture {
		clear: both;
		margin-top: 10px;
	}
}
#main-footer .footer-strutture a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
}
#main-footer .footer-strutture img {
	flex: 0 0 56px;
	width: 56px;
	height: 38px;
	object-fit: cover;
	border: 1px solid rgba(210, 189, 127, 0.35);
	transition: border-color 0.3s ease, opacity 0.3s ease;
	opacity: 0.85;
}
#main-footer .footer-strutture .st-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	min-width: 0;
}
#main-footer .footer-strutture .st-name {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 13px;
	color: #ffffff;
	transition: color 0.3s ease;
}
#main-footer .footer-strutture .st-place {
	font-size: 11px;
	color: #969696;
}
#main-footer .footer-strutture a:hover img,
#main-footer .footer-strutture a:focus-visible img,
#main-footer .footer-strutture li.current img {
	border-color: #d2bd7f;
	opacity: 1;
}
#main-footer .footer-strutture a:hover .st-name,
#main-footer .footer-strutture a:focus-visible .st-name,
#main-footer .footer-strutture li.current .st-name {
	color: #d2bd7f;
}

/* ---------------------------------------------------- pagine legali */
.privacy-policy .legal-nav {
	margin: 0 0 30px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(210, 189, 127, 0.3);
}
.privacy-policy .legal-nav ul {
	margin: 0;
}
.privacy-policy .legal-nav li {
	padding: 0 18px 0 0;
}
.privacy-policy .legal-nav a {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 16px;
}
.privacy-policy .legal-nav li.current a {
	color: #d2bd7f;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.privacy-policy .text_block ul {
	margin: 0 0 15px 20px;
	list-style: disc;
}
.privacy-policy .text_block ul li {
	margin-bottom: 6px;
}
.privacy-policy .legal-update {
	margin-top: 30px;
	opacity: 0.8;
}
.privacy-policy .t-sec .content,
.privacy-policy .text_block {
	text-align: left;
}
.privacy-policy .text_block {
	max-width: 920px;
	margin: 0 auto;
}
.privacy-policy .text_block p,
.privacy-policy .text_block li {
	line-height: 1.75;
}

/* ------------------------------------------------ logo Terra e Turismo */
#main-footer .footer-brand {
	clear: both;
	padding: 25px 0 5px;
	text-align: center;
}
#main-footer .footer-brand a {
	display: inline-block;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}
#main-footer .footer-brand a:hover,
#main-footer .footer-brand a:focus-visible {
	opacity: 1;
}
#main-footer .footer-brand img {
	display: block;
	width: 130px;
	height: auto;
}
@media (max-width: 479px) {
	#main-footer .footer-brand img {
		width: 110px;
	}
}

/* ------------------------------------------- fondo pagina centrato */
#main-footer .b-sec {
	text-align: center;
}
#main-footer .b-sec .copy-right,
#main-footer .b-sec .social-icons {
	float: none;
	width: 100%;
	text-align: center;
}
#main-footer .b-sec .social-icons {
	margin: 12px 0 0;
	padding: 0;
}
