/*
Theme Name: Amatucci Village
Theme URI: http://www.villaggioamatucci.it/
Template: blossom-travel
Author: Marco '89
Author URI: http://localhost
Version: 1.1.48
Updated: 2025-02-16 09:22:31

*/

.header-one .main-navigation ul li:hover > a, .header-one .main-navigation ul li a:hover, .header-one .main-navigation ul li.current-menu-item > a, .header-one .main-navigation ul li.current_page_item > a, .header-one .main-navigation ul li.current-menu-ancestor > a, .header-one .main-navigation ul li.current_page_ancestor > a {
	color: #000;
}
.header-one .header-search .search-toggle, .header-one .main-navigation ul li a, .header-one .submenu-toggle, .header-one .site-title a, .header-one .header-social .social-list li a {
	color: #fff;
}
.header-one .header-search .search-toggle, .header-one .main-navigation ul li a, .header-one .submenu-toggle, .header-one .site-title a, .header-one .header-social .social-list li a {
	color: #02adec;
}
.header-one .header-search .search-toggle .search-title {
	color: rgba(0,0,0,0.5);
}
section.explore-destination-section {
	background-color: inherit !important;
}
/*
body.page-template-default div#page.site header#masthead.site-header{
	background-color: rgba(180, 180, 180, 0.7);
}
*/
body.home.page-template-default div#page.site header#masthead.site-header{
	background-color: inherit;
}
.admin-bar .site-header.header-one {
	margin-top: 32px;
}
.header-one .container {
	padding: 15px 25px;
}
.banner-caption {
	background: inherit;
}
.banner .banner-caption .entry-title a {
	color: #000;
	text-shadow: 0 0 3px #FFF;
}
.banner .banner-caption .container h3.entry-title
{
	font-size: 4em;
}
.banner .banner-caption .entry-title a:hover {
	color: #000 !important;
}
.nascosto {
	display: none;
}
.btn-primary {
	color: #fff !important;
	background-color: #02adec;
	border-color: #2e6da4;
	text-decoration: inherit !important;
}
.single-appartamento {
	min-height: inherit !important;
}
.single-appartamento::before {
	background-color: inherit !important;
}
.site-content > .single-appartamento .container {
	padding-top: 0px;
	padding-bottom: 0px;
}
.site-content > .single-appartamento .container .page-title {
	display: none;
}
.container-appartamento {
	margin-top: inherit !important;
	margin-bottom: inherit !important;
}

.appartamento h2, .beb h2 {
	text-align: center;
}
#masthead .container {
	width: inherit;
}
.form-horizontal label {
	font-size: 14px;
}
.message-price {
	display: block;
	text-align: center;
	font-style: italic;
	font-size: small;
}
.page .site .site-header .container, .single .site .site-header .container {
	background-color: #FFF;
}
.single .site .site-content .page-header {
	background-image: none;
	background-color: #FFF;
}
.header-one .header-search .search-toggle, .header-one .main-navigation ul li a, .header-one .submenu-toggle, .header-one .site-title a, .header-one .header-social .social-list li a {
	color: #02adec;
	font-weight: bold;
}

#card-appartamento {
	min-height: 690px;
}

#riassunto .imposteservizi {
	font-size: small;
}

#riassunto h4 {
	text-align: center;
}
@media screen and (max-width: 1024px) {
	button.toggle-btn {
		color: #FFF;
		background: #00acec;
	}
}

body.single-promozioni #primary {
	max-width: 840px;
	margin-left: auto;
	margin-right: auto;
}

body.single-promozioni #primary, body.page-template-lista-promozioni #primary {
	margin-top: 0px;
	margin-bottom: 0px;
}

div.lista-appartamenti-beb {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}

.lista-appartamenti-beb h2 {
	font-size: 36px;
}

@media screen and (max-width: 767px) {
	.wp-custom-header img {
		height: inherit !important;
		object-fit: inherit !important;
		padding-top: 90px;
	}
}

.site-content > .page-header {
	background-size: inherit !important;
	position: relative;
	z-index: 1;
	text-align: center;
	background-repeat: no-repeat;
	background-size: 100% !important;
	background-position: bottom;
}
.entry-content .page-contatti {
	font-size: larger;
}

div#card-appartamento .thumbnail p.text-muted {
	font-size: small;
}
div#pricebox {
	background: rgba(0, 172, 236, 0.25);
	margin: 0px 15px 30px 15px;
}
#pricebox a {
	color: #111;
	text-decoration: none;
}
div.price-row {
	margin: 5px 0px;
}

#primary, #secondary {
	margin-top: 30px;
	margin-bottom: 80px;
}

span#aprices {
	cursor: pointer;
}

.sidebar-anchor {
	position: fixed;
	top: 20px;
	right: 20px;
	background: #fff;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 5px;
	z-index: 1000;
	width: 200px;
}

.sidebar-anchor h4 {
	margin-top: 0;
	font-size: 16px;
	color: #333;
}

.sidebar-anchor ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-anchor li {
	margin: 10px 0;
}

.sidebar-anchor a {
	color: #0073aa;
	text-decoration: none;
	font-weight: bold;
}

.sidebar-anchor a:hover {
	text-decoration: underline;
}
/* Frame con gradiente blu per ogni scheda */
.scheda-alloggio {
	background: linear-gradient(to bottom, #b3e5fc40 0%, #b3e5fc 100%);
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	padding: 20px;
	margin-bottom: 30px;
	position: relative;
	overflow: hidden;
}

/* Titolo scheda */
.scheda-titolo {
	text-align: center;
	color: #2c3e50;
	margin: 20px 0 10px;
	font-size: 30px;
	font-weight: bold;
	position: relative;
	z-index: 2;
}

/* Sottotitolo */
.scheda-sottotitolo {
	text-align: center;
	color: #327097;
	margin-bottom: 20px;
	font-style: italic;
	position: relative;
	z-index: 2;
}

/* Immagine copertina (con crop 1130x585px) */
.scheda-copertina {
	margin-bottom: 20px;
	text-align: center;
	cursor: pointer;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.copertina-img {
	width: 100%;
	max-width: 1130px;
	height: 585px;
	object-fit: cover;
	object-position: center;
	border-radius: 4px;
	transition: transform 0.3s ease;
}

.copertina-img:hover {
	transform: scale(1.02);
}

/* Contenuto scheda */
.scheda-contenuto h4 {
	font-size: 18px;
	margin: 15px 0 10px;
	color: #327097;
	border-bottom: 1px solid rgba(255, 255, 255, 0.8);
	padding-bottom: 5px;
	position: relative;
	z-index: 2;
}

/* Dotazioni con frecce */
.elenco-dotazioni {
	list-style: none;
	padding-left: 0;
}
.elenco-dotazioni li::before {
	content: "→ ";
	color: #327097;
	font-weight: bold;
	margin-right: 5px;
}

/* Separatore tra schede */
.divider-alloggio {
	border: 0;
	margin: 30px 0;
}

/* Titoli sezione */
.section-title {
	text-align: center;
	margin: 40px 0 20px;
	color: #2c3e50;
	font-size: 28px;
	position: relative;
	z-index: 2;
}

h2#section-alloggi::after, h2#section-bb::after {
	content: "";
	background-image: url( 'data:image/svg+xml; utf-8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 86.268 7.604"><path fill="%2300acec" d="M55.162,0h0a9.129,9.129,0,0,1,6.8,3.073A7,7,0,0,0,67.17,5.44a7,7,0,0,0,5.208-2.367A9.129,9.129,0,0,1,79.182,0h0a9.133,9.133,0,0,1,6.8,3.073,1.082,1.082,0,1,1-1.6,1.455,6.98,6.98,0,0,0-5.2-2.368h0a7.007,7.007,0,0,0-5.208,2.368A9.139,9.139,0,0,1,67.169,7.6a9.14,9.14,0,0,1-6.805-3.075,6.989,6.989,0,0,0-5.2-2.368h-.005a7,7,0,0,0-5.21,2.368A9.142,9.142,0,0,1,43.144,7.6a9.14,9.14,0,0,1-6.805-3.075,7.069,7.069,0,0,0-10.42,0A9.149,9.149,0,0,1,19.109,7.6h0A9.145,9.145,0,0,1,12.3,4.528,6.984,6.984,0,0,0,7.092,2.16h0A7,7,0,0,0,1.882,4.528a1.081,1.081,0,1,1-1.6-1.455A9.137,9.137,0,0,1,7.09,0h0A9.145,9.145,0,0,1,13.9,3.073a6.985,6.985,0,0,0,5.2,2.367h0a7.012,7.012,0,0,0,5.213-2.367,9.275,9.275,0,0,1,13.612,0,7.01,7.01,0,0,0,5.21,2.367,7,7,0,0,0,5.21-2.367A9.146,9.146,0,0,1,55.162,0"></path></svg>' ) !important;
	background-repeat: no-repeat;
	width: 85px;
	height: 10px;
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
	margin: 0 auto;
}

/* Crop CSS per immagini nel carousel */
.scheda-carousel .carousel-inner img {
	width: 100%;
	height: 380px !important;
	object-fit: cover;
	object-position: center;
	background-color: #fff;
	border-radius: 4px;
}

.scheda-contenuto .descrizione, .scheda-contenuto .dotazioni {
	padding-top: 20px;
	padding-left: 0px;
	padding-right: 0px;
}

.scheda-contenuto .descrizione > div {
	border-radius: 10px;
	background-color: rgba(255, 255,255, 0.3);
	margin-right: 10px;
	padding: 5px 20px;
}

.scheda-contenuto .dotazioni > div {
	border-radius: 10px;
	background-color: rgba(255, 255,255, 0.3);
	margin-left: 10px;
	padding: 5px 20px;
}

/* Per dispositivi mobili: riduci l'altezza */
@media (max-width: 768px) {
	.scheda-carousel .carousel-inner img {
		height: 280px;
	}
}

@media (max-width: 992px) {
	.scheda-contenuto .descrizione > div {
		border-radius: 10px;
		background-color: rgba(255, 255,255, 0.3);
		margin-right: 0px;
		padding: 5px 20px;
	}

	.scheda-contenuto .dotazioni > div {
		border-radius: 10px;
		background-color: rgba(255, 255,255, 0.3);
		margin-left: 0px;
		padding: 5px 20px;
	}

	.scheda-contenuto .dotazioni .elenco-dotazioni {
		margin-left: 1em;
	}
}

/* === Form Sticky - Finale === */
.form-trigger-btn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #02adec;
	color: white;
	border: none;
	border-radius: 30px;
	padding: 10px 16px;
	font-weight: bold;
	z-index: 9990;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(2, 173, 236, 0.3);
	font-size: 14px;
}
.form-trigger-btn.hidden {
	opacity: 0;
	pointer-events: none;
}
.form-trigger-btn:hover {
	background: #0296c8;
}

.form-sticky-container {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 9989;
	background: white;
	border-top: 1px solid #eee;
	box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.15);
	max-height: 90vh;
	overflow-y: auto;
	padding: 12px 0;
	transition: opacity 0.4s ease, transform 0.4s ease;
	opacity: 0;
	transform: translateY(100%);
	visibility: hidden;
}
.form-sticky-container.visible {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.form-close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	background: none;
	border: none;
	font-size: 24px;
	color: #999;
	cursor: pointer;
	z-index: 9991;
}
.form-close-btn:hover {
	color: #fff;
}

.form-sticky-content {
	padding: 0 12px;
}

/* Label sopra i campi */
.form-sticky-content .control-label {
	font-size: 11px;
	font-weight: bold;
	color: #555;
	margin-bottom: 4px;
	display: block;
	text-align: left;
}

/* Campi principali più stretti */
.form-sticky-content .container-fluid {
	padding-left: 8px;
	padding-right: 8px;
}
.form-sticky-content .row {
	margin-bottom: 8px;
}
.form-sticky-content .col-xs-12,
.form-sticky-content .col-xs-6,
.form-sticky-content .col-sm-4,
.form-sticky-content .col-sm-6,
.form-sticky-content .col-md-2,
.form-sticky-content .col-md-3 {
	padding-left: 4px;
	padding-right: 4px;
}

/* Input compatti */
.form-sticky-content .form-control {
	height: 32px;
	font-size: 13px;
	padding: 4px 8px;
}
.form-sticky-content .toggle {
	padding: 0 !important;
	width: 52px !important;
	height: 26px !important;
	font-size: 10px !important;
}
.form-sticky-content .toggle .toggle-handle {
	width: 22px !important;
	height: 22px !important;
}
.form-sticky-content .toggle-group .btn {
	padding: 0 3px !important;
	font-size: 9px !important;
	line-height: 1.1 !important;
}

/* Servizi inline */
.servizi-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 12px 0;
}
.servizio-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	white-space: nowrap;
}
.servizio-item input[type="checkbox"] {
	margin: 0;
}

/* Pulsanti */
.btn-expand-services {
	color: #02adec;
	font-weight: bold;
	text-decoration: none;
	padding: 4px 0;
	display: block;
	text-align: center;
	font-size: 13px;
}
.btn-calcola-sempre .btn-primary,
#servizi-aggiuntivi .btn-primary {
	padding: 6px 16px;
	font-size: 14px;
}

/* Mobile */
@media (max-width: 767px) {
	.form-trigger-btn {
		bottom: 15px;
		right: 15px;
		padding: 8px 14px;
		font-size: 13px;
	}
	.servizi-inline {
		flex-direction: column;
		gap: 8px;
	}
	.servizio-item {
		white-space: normal;
	}
}

/* === Form Sticky - Step 3: Servizi aggiuntivi === */
#servizi-aggiuntivi h3 {
	font-size: 18px;
	color: #333;
}
#servizi-aggiuntivi .col-md-6,
#servizi-aggiuntivi .col-sm-6,
#servizi-aggiuntivi .col-xs-12 {
	margin-bottom: 15px;
}
.btn-expand-services {
	color: #02adec;
	font-weight: bold;
	text-decoration: none;
	padding: 0;
}
.btn-expand-services:hover {
	text-decoration: underline;
}

/* Fix per altezza su mobile quando è aperto */
@media (max-width: 767px) {
	.form-sticky-container.visible {
		max-height: 800px; /* Adatto per form completo */
	}
}
/* === Form Sticky - Campi compatti === */
.form-sticky-content .form-control,
.form-sticky-content .toggle {
	height: 34px; /* Standard Bootstrap 3, ma coerente */
	font-size: 13px;
}
.form-sticky-content .container-fluid {
	padding-left: 10px;
	padding-right: 10px;
}
.form-sticky-content .row {
	margin-bottom: 8px;
}
.form-sticky-content .col-md-3,
.form-sticky-content .col-md-2,
.form-sticky-content .col-sm-6,
.form-sticky-content .col-sm-4,
.form-sticky-content .col-xs-12,
.form-sticky-content .col-xs-6 {
	padding-left: 5px;
	padding-right: 5px;
}

/* === Toggle personalizzati per form sticky === */
#form-sticky-container .toggle {
	width: 100% !important;       /* Larghezza compatta */
	height: 28px !important;      /* Altezza coerente con input */
	min-width: 75px !important;
	border-radius: 14px !important;
	margin-top: 4px;
}

#form-sticky-container .toggle .toggle-on {
	color: white !important;
	background: #02adec !important; /* Blu del brand */
	border-color: #02adec !important;
	font-size: 10px !important;
	padding: 0 4px !important;
	line-height: 2 !important;
}

#form-sticky-container .toggle .toggle-off {
	color: #666 !important;
	background: #eee !important;
	border-color: #ddd !important;
	font-size: 10px !important;
	padding: 0 4px !important;
	line-height: 2 !important;
}

#form-sticky-container .toggle .toggle-handle {
	width: 24px !important;
	height: 24px !important;
	border-radius: 50% !important;
	top: 2px !important;
	left: 2px !important;
}

/* Pulsante Calcola - sempre visibile */
.btn-calcola-sempre {
	margin-top: 12px;
	text-align: center;
}

/* Centra orizzontalmente il contenuto del form sticky */
#form-sticky-container .form-sticky-content .row {
	flex-wrap: wrap;
	width: 100%;
	max-width: 800px; /* Imposta una larghezza massima per evitare dispersione su schermi ultra-larghi */
}
/* Wrapper centrato per il form sticky */
.form-sticky-wrapper {
	max-width: 800px;       /* larghezza massima desiderata */
	margin: 0 auto;         /* centra orizzontalmente */
	padding: 0 12px;        /* spazio laterale su mobile */
}


/* Solo colore personalizzato - niente flex, niente width fissa */
#form-sticky-container .toggle .toggle-on {
	background-color: #02adec !important;
	border-color: #02adec !important;
}

/* Opzionale: testi più piccoli (ma non troppo) */
#form-sticky-container .toggle .toggle-on,
#form-sticky-container .toggle .toggle-off {
	font-size: 12px !important;
	padding-left: 6px !important;
	padding-right: 6px !important;
}

/* Opzionale: altezza leggermente ridotta (solo se necessario) */
#form-sticky-container .toggle {
	min-height: 30px !important;
}

@font-face {
	font-family: 'OptimusPrinceps';
	src: url('./fonts/hinted-OptimusPrinceps.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'OptimusPrincepsSemiBold';
	src: url('./fonts/hinted-OptimusPrincepsSemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'OptimusPrincepsSemiBold';
}

.datepicker-dropdown {
	z-index: 9999 !important;
}