/* ----------------------------------------------------------------

	Custom CSS



	Add all your Custom Styled CSS here for New Styles or

	Overwriting Default Theme Styles for Better Handling Updates

-----------------------------------------------------------------*/



/* ----------------------------------------------------------------
	Canvas: Wine
-----------------------------------------------------------------*/

:root {
    --cnvs-themecolor: #A03535;
	--cnvs-themecolor-rgb: 160, 53, 53;

	--cnvs-themecolor-2: #F3E2CE;
	--cnvs-themecolor-2-rgb: 243, 226, 206;
	
	--cnvs-themecolor-3: #D9B983;
	--cnvs-themecolor-3: 217, 185,131;

	--cnvs-themecolor-4: #59443F;
	--cnvs-themecolor-4: 89, 68,63;
	
	--cnvs-themecolor-5: #A3A64F;
	--cnvs-themecolor-5: 163, 166,79;
	
	--cnvs-themecolor-6: #607444;
	--cnvs-themecolor-6: 96, 116,68;
	
	--cnvs-heading-color: #59443F;
	
--bs-secondary-color: rgba(83, 89, 74, 0.75);
  --bs-secondary-color-rgb: 83, 89, 74;
	
	--bs-dark: #665A4D;
	
	--cnvs-primary-font: "Fraunces",serif;
	--cnvs-body-font: "Poppins",sans-serif;
	--cnvs-secondary-font: "Fraunces",serif;

	--cnvs-body-bg: #F3E2CE;

    --cnvs-slider-arrows-bg-color: transparent;
    --cnvs-slider-arrows-bg-hover-color: transparent;
	
	--cnvs-font-size-body: 15px;

}

body {
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	color: #59443F;
}

#content, .slider-element .container {
    background-image: url(https://testtmp.comunicandoti.com/caseificio/images/bg.png) !important;
}



.dark {
	--cnvs-heading-color: var(--cnvs-themecolor-2);
	    color: var(--cnvs-contrast-800);
    --cnvs-contrast-800: #59443F;

}

.color-cheese{color: #D1B284 !important; }

.text-dark{color: #665A4D !important;}


.color-2{
	color: var(--cnvs-themecolor-4) !important;
}

.color-green{
	color: #5E6652;
}


.bg-light { 
  background-color: #F4F1F0!important;
}

.bg-color{
	background-color: #D1B284 !important;
}


.bg-color-2,
.h-bg-color-2:hover {
	background-color: var(--cnvs-themecolor-2) !important;
}

#header {
	--cnvs-primary-menu-font-size: 0.95rem;
	--cnvs-primary-menu-tt: uppercase;
	--cnvs-primary-menu-ls: 1px;
	--cnvs-primary-menu-color: var(--cnvs-themecolor);
	--cnvs-primary-menu-submenu-hover-bg: var(--cnvs-themecolor);
	--cnvs-primary-menu-hover-color: var(--cnvs-themecolor-2);
}

.is-expanded-menu .style-3 .menu-container > .menu-item > .menu-link {
	background-color: #F3E2CE;
}

body:not(.is-expanded-menu) #header {
	--cnvs-primary-menu-color: var(--cnvs-themecolor-2);
}

.is-expanded-menu .style-3 .menu-container > .menu-item > .menu-link {
  --cnvs-primary-menu-padding-y: 11px;
  margin: 20px 0;
	border-radius: 4px;}


.style-3 .menu-container > .menu-item.current > .menu-link {
	--cnvs-primary-menu-active-color: var(--cnvs-themecolor-2);
}

.is-expanded-menu .menu-container > .menu-item:not(:first-child) {
    margin-left: 5px;
}

#logo > a {
	background-color: var(--cnvs-themecolor-2);
	padding-inline: 13px;
	border-radius: 0 0 12px 12px;
}

.card{
    --bs-card-bg: rgba(244, 241, 240, 0.4);
border-radius: 2rem;}

body.is-expanded-menu .button-header {
	border-color: var(--cnvs-themecolor);
	color: var(--cnvs-themecolor);
}

body:not(.is-expanded-menu) .button-header {
	border-color: var(--cnvs-themecolor-2);
	color: var(--cnvs-themecolor-2);
}

body:not(.is-expanded-menu) .button.button-border:not(.button-fill).button-header:hover {
	background-color: var(--cnvs-themecolor-2);
	color: var(--cnvs-themecolor);
}




.hero-wine-img,
.hero-bg {
	position: relative;
	z-index: 1;
	height: 100%;
}

.negative-text-margin {
	mix-blend-mode: difference;
}

@media (min-width: 991px) {
	.hero-wine-img {
		max-width: 60%;
		position: absolute;
		top: 0;
		right:0;
		z-index: auto;
	}

	.hero-bg {
		max-width: 47%;
		z-index: 1;
		height: 90%;
	}

	.negative-text-margin {
		margin-left: -120px;
	}

	.section-negative {
		margin-top: -60px;
	}
}




.swiper-slide {
	width: 33.3333%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-right: 1px solid rgba(var(--cnvs-contrast-rgb), .1);
	border-left: 0;
	padding: 40px;
}


@media (max-width: 1024px) {
.swiper-slide .display-3 .display-4 {font-size: 85%;
}
	.swiper-slide {
	padding: 5px !important;}

}





.swiper-slide:not(.d-none):hover {
	background-color: transparent;
}

.swiper_wrapper {
	border-top: 1px solid rgba(var(--cnvs-contrast-rgb), .1);
	border-bottom: 1px solid rgba(var(--cnvs-contrast-rgb), .1);
}

.slider-arrow-left,
.slider-arrow-right {
	--cnvs-slider-arrows-size: 50px;
	--cnvs-slider-arrows-offset: 30px;
    left: var(--cnvs-slider-arrows-offset);
    transform: translateY(-50%);
	border: 2px solid var(--cnvs-themecolor);
	border-radius: 50%;
	line-height: 42px;
	text-align: center;
}

.slider-arrow-left img,
.slider-arrow-right img {
	width: 24px;
	height: 24px;
	text-align: center;
}

.slider-arrow-left:hover,
.slider-arrow-right:hover {
	--cnvs-slider-arrows-bg-hover-color: #E6C48A;
}

.slider-arrow-right {
	left: auto;
	right: var(--cnvs-slider-arrows-offset);
}

.swiper-button-disabled {
	display: none;
}


.font-secondary {
    font-family:  "Fraunces",serif;
	font-weight: 700;
	font-style: italic;
}

.color-gold {color:#BEA473!important; }

#header-wrap #logo img {
    height: var(--cnvs-header-height-lg);
}



@-webkit-keyframes rotating /* Safari and Chrome */ {
	from {
		-webkit-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
  @keyframes rotating {
	from {
		-ms-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to {
		-ms-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
.rotating {
	-webkit-animation: rotating 20s linear infinite;
	-moz-animation: rotating 20s linear infinite;
	-ms-animation: rotating 20s linear infinite;
	-o-animation: rotating 20s linear infinite;
	animation: rotating 20s linear infinite;
}

.circular-text {
	display: inline-flex;
	width: 180px;
    height: 180px;
	border-radius: 50%;
    align-items: center;
    justify-content: center;
}



.hero-image-one {
	--cnvs-hero-img-w: 170px;
	--cnvs-hero-img-h: 64px;
	--cnvs-hero-img: url('images/hero-title.jpg');
	position: relative;
	display: inline-flex;
    justify-content: center;
    align-items: center;
	width: var(--cnvs-hero-img-w);
    height: var(--cnvs-hero-img-h);
    background-image: var(--cnvs-hero-img);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 40px;
}

.hero-image-one.size-sm {
	--cnvs-hero-img-w: 120px;
	--cnvs-hero-img: url('images/hero-title-2.jpg');
}

.hero-image-one.square {
	--cnvs-hero-img: url('images/hero-title-3.jpg');
}


.contact-arrow {
	display: none;
}

.device-up-md .contact-arrow {
	display: block;
	position: absolute;
   width: 160px;
  top: 30px;
    right: -130px;
    rotate: 80deg;
    opacity: .5;
}

.section-contact .fbox-icon {
    --cnvs-featured-box-icon: 2.5rem;
    --cnvs-featured-box-icon-size: 1rem;
}



		.block-tab-2 .nav-tabs {

			--bs-nav-tabs-border-width: 0px;

			--bs-nav-link-color: #59443F;

			--bs-nav-link-hover-color: #A03535;

		}



		.block-tab-2 .nav-tabs .nav-item .nav-link {

			position: relative;

			font-size: 16px;
			font-weight: 500;

			padding: 0 0 20px 0;

		}


		.block-tab-2 .nav-tabs .nav-item .nav-link.active {
color:#A03535;
  background-color: transparent!important;
			top: 0;

		}





		.block-tab-2 .nav-tabs .nav-item .nav-link.active::after {

			content: '';
			position: absolute;

			width: 6px;

			height: 6px;

			bottom: 0;

			left: 50%;

			margin-left: -3px;

			background-color: transparent!important;

		}




	.block-hero-21 {

			background-image: radial-gradient(circle at top left, #53906f15 0%, #53906f15 15%, #D1B284 15%);

		}




		/* .button-change */

		.button-change {

			--height: 2.375rem;

		    height: var(--height);

		    line-height: calc(var(--height) - 2px) !important;
			color: #A03535;

		    border: 2px solid #A03535 !important;

		    padding-top: 0;

		    padding-bottom: 0;

		    overflow: hidden;

		    display: inline-flex;

    		flex-direction: column-reverse;

		}

	.button-change:hover {background-color: #A03535;}

		.button-change.btn-sm { --height: 2rem; }

		.button-change.btn-lg { --height: 3rem; }



		.button-change span { position: relative;

			display: block;

		    transition: transform .35s ease;

		    transform: translate3d(0px, 0%, 0px);

			transform-style: preserve-3d;}



		.button-change:hover span {

		    transform: translate3d(0px, 100%, 0px);	}



		.button-change2 {

			--height: 2.375rem;

		    height: var(--height);

		    line-height: calc(var(--height) - 2px) !important;
			color: #F3E2CE;

		    border: 2px solid #F3E2CE !important;
			background-color: transparent;
		    padding-top: 0;

		    padding-bottom: 0;

		    overflow: hidden;

		    display: inline-flex;

    		flex-direction: column-reverse;

		}

	.button-change2:hover {background-color: #F3E2CE;}

		.button-change2.btn-sm { --height: 2rem; }

		.button-change2.btn-lg { --height: 3rem; }



		.button-change2 span { position: relative;

			display: block;

		    transition: transform .35s ease;

		    transform: translate3d(0px, 0%, 0px);

			transform-style: preserve-3d;}



		.button-change2:hover span {

		    transform: translate3d(0px, 100%, 0px);	}






#gotoTop {
	--cnvs-gotoTop-bg: rgba(230, 196,138, 0.8)}


.border-dark {
    border-color: #53594A !important;
}



.svg-underline::after {
	background-color: var(--cnvs-themecolor-light) !important;
}





/* -------- svg-underline -------- */
.svg-underline,
.svg-underline span {
	display: inline-block;
	position: relative;
	z-index: 1;
}

.svg-underline.not-animated,
.svg-underline[data-animate]:not(.animated) {
	opacity: 1;
}

.svg-underline::before {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	right: 0;
	height: 13px;
	background-image: url('http://testtmp.comunicandoti.com/caseificio/images/underline.svg');
	background-size: 100% 13px;
	background-position: bottom center;
	opacity: 0.7;
}

.svg-underline[data-animate]::after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 13px;
	background: #FFF;
	right: 0;
	bottom: 0;
	-webkit-transition: width 1s cubic-bezier(0.215, 0.61, 0.355, 1);
	-moz-transition: width 1s cubic-bezier(0.215, 0.61, 0.355, 1);
	-o-transition: width 1s cubic-bezier(0.215, 0.61, 0.355, 1);
	transition: width 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.dark .svg-underline::before {
	opacity: 1;
	background-image: url('http://testtmp.comunicandoti.com/caseificio/images/underline_dark.svg');
}

.custom-bg,
.custom-bg .svg-underline::after {
	background-color: var(--custom-bg);
}

.svg-underline.svg-underline-animated::after {
	width: 0;
}

.display-3 {
  line-height: 1;
}


#footer {border:none;}
