/*
 * Author: Luca Arzilli, ALSolutions
 *
 * Project Name: Tenuta Di Vaira
 *
 */

/* FONT */
 

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
  	background-color: #FFF;
	font-family: "Cormorant Infant", serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 27px;
    color: #808081;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    
}

section {
	padding: 130px 0px;
}

::selection {background:#b49759;color:#FFF;}
::-moz-selection {background:#b49759;color:#FFF;}


.m-amicidelpaleo {
	margin-top:-12px;
	max-height:50px;
}

/* Titles */

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
    color: #791712;
    margin-bottom:30px;
    letter-spacing: 4px;
    text-transform: uppercase;
	text-align:center;
}

h1 {
	font-size: clamp(16px, 1.6vw, 22px);
}

h2 {
	font-size: clamp(13px, 1.2vw, 18px);
}
h3, h4, h5, h6 {
	font-size: clamp(11px, 1vw, 16px);
}

p {
	font-size: clamp(14px, 1.3vw, 17px);
	line-height: 1.4;
	font-weight: 600;
    font-style: normal;
	color: #000;
	margin:0px !important;
	text-align:center;
}

a {
	color: #791712;
	text-decoration:none;
}

a:hover, a:focus {
	color: #894947;
	text-decoration:none;
}

hr {
    width: 50px;
    background-color: #791712;
    margin-bottom:30px;
}


.active {
	color: #b49759 !important;
}	

img:hove, img:focus {
	outline:0 !important;
} 

input, select, textarea, .btn-select {
	width: 100%;
	border: 1px solid #791712;
	margin-top:30px;
	height: 40px;
	padding:10px;
	color: #000;
	border-radius: 25px;
	text-align: center;
	background-color: #FFF;
}

.form-control {
	width: 100%;
	border: 1px solid #791712 !important;
	margin-top:30px;
	height: 40px;
	padding:10px !important;
	color: #000 !important;
	border-radius: 25px 0px 0px 25px !important;
	text-align: center;
	background-color: #FFF !important;
}
.input-group-text {
	border-radius: 0px 25px 25px 0px !important;
	border: 1px solid #791712 !important;
	background-color: #FFF !important;
	height: 40px !important;
	margin-top:30px;
}

.filter-option-inner-inner {
		color: #791712;
	  text-transform: uppercase;
	  font-size: clamp(9px, 0.8vw, 12px);
	  font-family: "Helvetica";
	  font-weight: bold;
	  letter-spacing: 2px;
	  text-align:center;
	  padding-top:2px;
}


input::-webkit-input-placeholder, textarea::-webkit-input-placeholder, .form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #791712;
  text-transform: uppercase;
  font-size: clamp(9px, 0.8vw, 12px);
  font-family: "Helvetica";
  font-weight: bold;
  letter-spacing: 2px;
  opacity: 1 !important;
}
input::-moz-placeholder, textarea::-moz-placeholder, .form-control::-moz-placeholder { /* Firefox 19+ */
  color: #791712;
  text-transform: uppercase;
  font-size: clamp(9px, 0.8vw, 12px);
  font-family: "Helvetica";
  font-weight: bold;
  letter-spacing: 2px;
  opacity: 1 !important;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder, .form-control:-ms-input-placeholder { /* IE 10+ */
  color: #791712;
  text-transform: uppercase;
  font-size: clamp(9px, 0.8vw, 12px);
  font-family: "Helvetica";
  font-weight: bold;
  letter-spacing: 2px;
  opacity: 1 !important;
}
input:-moz-placeholder, textarea:-moz-placeholder, .form-control:-moz-placeholder { /* Firefox 18- */
  color: #791712;
  text-transform: uppercase;
  font-size: clamp(9px, 0.8vw, 12px);
  font-family: "Helvetica";
  font-weight: bold;
  letter-spacing: 2px;
  opacity: 1 !important;
}

label {
	color:#000;
	text-transform: uppercase;
	margin-bottom:0px !important;
	font-size: clamp(13px, 1.2vw, 18px);
	margin-top:50px;
	letter-spacing: 2px;
}

label.error {
	margin-top:5px !important;
	font-size: clamp(11px, 1vw, 15px) !important;
	letter-spacing: 0px !important;
}



.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.mt-20 {
	margin-top: 20px !important;
  }

/* —— Fixed bar: globo sinistra | logo centro | toggle destra —— */
.tdv-fixedbar {
	--tdv-fixedbar-fg: #fff;
	--tdv-fixedbar-bg: transparent;
	z-index: 1030;
	background-color: var(--tdv-fixedbar-bg);
	pointer-events: none;
	top: 0;
	margin: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	--bs-navbar-padding-y: 0;
	transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.tdv-fixedbar.tdv-fixedbar--scrolled {
	--tdv-fixedbar-fg: #791712;
	--tdv-fixedbar-bg: #fff;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.navbar.tdv-fixedbar > .container-fluid.tdv-fixedbar__inner {
	display: grid !important;
	justify-content: initial !important;
	flex-wrap: unset !important;
	width: 100%;
}

.tdv-fixedbar__inner {
	pointer-events: auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 72px;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 40px !important;
	padding-right: 40px !important;
	column-gap: 0.75rem;
}

.tdv-fixedbar__lang-dropdown {
	grid-column: 1;
	justify-self: start;
}

.tdv-fixedbar__icon-btn--globe {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tdv-fixedbar-fg);
	font-size: 1.3rem;
	cursor: pointer;
	transition: color 0.4s ease;
}

.tdv-fixedbar__icon-btn--globe::after {
	display: none;
}

.tdv-fixedbar__icon-btn--globe:hover,
.tdv-fixedbar__icon-btn--globe:focus-visible {
	color: var(--tdv-fixedbar-fg);
	opacity: 0.88;
	background: transparent;
	outline: none;
	box-shadow: none;
}

.tdv-fixedbar.tdv-fixedbar--scrolled .tdv-fixedbar__icon-btn--globe:hover,
.tdv-fixedbar.tdv-fixedbar--scrolled .tdv-fixedbar__icon-btn--globe:focus-visible {
	opacity: 1;
	color: #894947;
}

.tdv-fixedbar__lang-dropdown .dropdown-menu {
	border: 1px solid rgba(121, 23, 18, 0.18);
	border-radius: 0;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tdv-fixedbar__lang-dropdown .dropdown-item {
	color: #791712;
}

.tdv-fixedbar__lang-dropdown .dropdown-item:hover,
.tdv-fixedbar__lang-dropdown .dropdown-item:focus {
	background-color: rgba(121, 23, 18, 0.06);
	color: #791712;
}

.tdv-fixedbar__brand {
	grid-column: 2;
	justify-self: center;
	margin: 0 !important;
	padding: 0.35rem 0;
	line-height: 0;
	position: relative;
	z-index: 1;
	width: 140px;
	min-height: 42px;
}

.tdv-fixedbar__logo {
	display: block;
	height: auto;
	width: 140px;
	max-width: 100%;
	object-fit: contain;
	transition: opacity 0.4s ease;
}

.tdv-fixedbar__logo--dark {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	pointer-events: none;
}

.tdv-fixedbar.tdv-fixedbar--scrolled .tdv-fixedbar__logo--light {
	opacity: 0;
	pointer-events: none;
}

.tdv-fixedbar.tdv-fixedbar--scrolled .tdv-fixedbar__logo--dark {
	opacity: 1;
	pointer-events: auto;
}

.tdv-fixedbar__toggler {
	grid-column: 3;
	justify-self: end;
	margin: 0 !important;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	background: transparent;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	gap: 7px;
	cursor: pointer;
}

.tdv-fixedbar__toggler-line {
	display: block;
	height: 2.5px;
	background-color: var(--tdv-fixedbar-fg);
	border-radius: 999px;
	transition: width 0.22s ease, background-color 0.4s ease;
}

.tdv-fixedbar__toggler-line:nth-child(1) {
	width: 20px;
}

.tdv-fixedbar__toggler-line:nth-child(2) {
	width: 27px;
}

.tdv-fixedbar__toggler-line:nth-child(3) {
	width: 16px;
}

.tdv-fixedbar__toggler:hover .tdv-fixedbar__toggler-line,
.tdv-fixedbar__toggler:focus-visible .tdv-fixedbar__toggler-line {
	width: 30px;
}

.tdv-fixedbar__toggler:focus-visible {
	outline: none;
}

/* Menu full screen */
.tdv-menu {
	position: fixed;
	inset: 0;
	z-index: 10050;
	background-color: #fff;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tdv-menu.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.tdv-menu__close {
	position: fixed;
	top: clamp(12px, 2.5vw, 24px);
	right: clamp(6px, 1.5vw, 16px);
	z-index: 10051;
	width: clamp(60px, 14vw, 80px);
	height: clamp(60px, 14vw, 80px);
	padding: 0;
	border: 0;
	background: transparent;
	color: #791712;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.tdv-menu__close:hover,
.tdv-menu__close:focus-visible {
	opacity: 0.75;
	outline: none;
}

.tdv-menu__close-icon {
	font-family: "Montserrat", sans-serif;
	font-size: clamp(52px, 11vw, 76px);
	font-weight: 300;
	line-height: 1;
}

.tdv-menu__scroll {
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(56px, 9vw, 88px) clamp(20px, 4vw, 40px);
	box-sizing: border-box;
}

.tdv-menu__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	gap: clamp(14px, 2.2vw, 24px);
	transform: translate3d(0, 16px, 0);
	opacity: 0;
	transition: opacity 0.45s ease 0.1s, transform 0.45s ease 0.1s;
}

.tdv-menu.is-open .tdv-menu__inner {
	transform: translate3d(0, 0, 0);
	opacity: 1;
}

.tdv-menu__logo {
	display: block;
	width: clamp(140px, 38vw, 200px);
	height: auto;
}

.tdv-menu__hr {
	width: 100px;
	margin: 0;
	border: 0;
	border-top: 1px solid rgba(121, 23, 18, 0.45);
}

.tdv-menu__social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: clamp(18px, 3vw, 28px);
	margin: 0 !important;
}

.tdv-menu__social-link {
	color: #791712;
	font-size: clamp(22px, 4vw, 28px);
	line-height: 1;
	transition: opacity 0.2s ease;
}

.tdv-menu__social-link:hover,
.tdv-menu__social-link:focus-visible {
	opacity: 0.72;
	outline: none;
}

.tdv-menu__address {
	margin: 0 !important;
	font-family: "Cormorant Infant", serif;
	font-size: clamp(12px, 1.1vw, 15px);
	line-height: 1.45;
	color: #4a4a4a;
}

.tdv-menu__address a {
	color: #791712;
	text-decoration: none;
}

.tdv-menu__address a:hover,
.tdv-menu__address a:focus {
	text-decoration: underline;
}

.tdv-menu__list {
	list-style: none;
	margin: 20px 0;
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(6px, 1.1vw, 12px);
}

.tdv-menu__item--subtree {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	width: 100%;
}

.tdv-menu__sublist {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(4px, 0.85vw, 8px);
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.38s ease, opacity 0.3s ease, margin 0.38s ease;
}

.tdv-menu__item--subtree.is-open .tdv-menu__sublist {
	max-height: 12rem;
	opacity: 1;
	margin-top: clamp(6px, 1vw, 10px);
}

.tdv-menu__toggle {
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
	text-align: center;
}

.tdv-menu__link {
	display: inline-block;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(13px, 1.35vw, 16px);
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #791712 !important;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}

.tdv-menu__link:hover,
.tdv-menu__link:focus-visible {
	opacity: 0.7;
	outline: none;
}

.tdv-menu__link--sub {
	font-size: clamp(11px, 1.15vw, 14px);
	letter-spacing: 0.14em;
	opacity: 0.92;
}

@media (prefers-reduced-motion: reduce) {
	.tdv-menu {
		transition-duration: 0.15s;
	}

	.tdv-menu__inner {
		transition-duration: 0.15s;
		transition-delay: 0s !important;
	}

	.tdv-menu__sublist {
		transition-duration: 0.12s;
	}
}

/* Footer */
.tdv-footer {
	position: relative;
	width: 100vw;
	max-width: 100%;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
	border-style: solid;
	border-color: #fff;
	border-width: 20px;
	background-color: #791712;
	color: #fff;
	padding: 72px 24px 48px;
	text-align: center;
}

.tdv-footer__inner {
	max-width: 640px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
}

.tdv-footer__logo {
	display: block;
	width: min(100%, 240px);
	height: auto;
	margin: 0;
	object-fit: contain;
}

.tdv-footer__title {
	margin: 30px 0 0 !important;
	padding: 0;
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
	font-size: clamp(16px, 2vw, 24px);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff !important;
	text-align: center;
}

.tdv-footer__text {
	margin: 0 !important;
	padding: 0;
	max-width: 36em;
	font-family: "Cormorant Infant", serif;
	font-size: clamp(15px, 1.35vw, 18px);
	line-height: 1.55;
	color: #fff !important;
	text-align: center;
}

.tdv-footer__text a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tdv-footer__text a:hover,
.tdv-footer__text a:focus {
	color: rgba(255, 255, 255, 0.92);
}

.tdv-footer__social {
	margin: 0 !important;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.25rem;
}

.tdv-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff;
	font-size: 1.15rem;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tdv-footer__social-link:hover,
.tdv-footer__social-link:focus {
	color: #791712;
	background-color: #fff;
	border-color: #fff;
	outline: none;
}

.tdv-footer__credit {
	margin: 1.5rem 0 0 !important;
	padding: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.72) !important;
	text-align: center;
}

.tdv-footer__credit a {
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tdv-footer__credit a:hover,
.tdv-footer__credit a:focus {
	color: rgba(255, 255, 255, 0.9) !important;
}
