/*!
Theme Name: UiCore Pro Child
Theme URI: https://uicore.co
Description: One framework for all your website needs.
Author: UiCore
Author URI: https://uicore.co
Template: uicore-pro
Version: 1.0.0
Text Domain: uicore-pro
*/

:root {
	/**
	 * Fluid Spacing
	 * @link https://utopia.fyi/space/calculator?c=360,16,1.125,1540,20,1.2,5,2,&s=0.775|0.5,1.5|2|3|4|5,s-l&g=s,l,xl,12
     */
	--2xs: clamp(8px, 7.3898px + 0.1695vw, 10px);
	--xs: clamp(12px, 10.7797px + 0.339vw, 16px);
	--s: clamp(16px, 14.7797px + 0.339vw, 20px);
	--m: clamp(24px, 22.1695px + 0.5085vw, 30px);
	--l: clamp(32px, 29.5593px + 0.678vw, 40px);
	--xl: clamp(48px, 44.339px + 1.0169vw, 60px);
	--2xl: clamp(64px, 59.1186px + 1.3559vw, 80px);
	--3xl: clamp(80px, 73.8983px + 1.6949vw, 100px);

	/* One-up pairs */
	--2xs-xs: clamp(8px, 5.5593px + 0.678vw, 16px);
	--xs-s: clamp(12px, 9.5593px + 0.678vw, 20px);
	--s-m: clamp(16px, 11.7288px + 1.1864vw, 30px);
	--m-l: clamp(24px, 19.1186px + 1.3559vw, 40px);
	--l-xl: clamp(32px, 23.4576px + 2.3729vw, 60px);
	--xl-2xl: clamp(48px, 38.2373px + 2.7119vw, 80px);
	--2xl-3xl: clamp(64px, 53.0169px + 3.0508vw, 100px);

	/* Custom pairs */
	--space-s-l: clamp(16px, 8.678px + 2.0339vw, 40px);
  
	/**
	 * Fluid Typography
	 * @link https://utopia.fyi/type/calculator?c=360,16,1.125,1540,20,1.2,5,2,&s=0.775|0.5,1.5|2|3|4|5,s-l&g=s,l,xl,12
	 */
	--step--2: clamp(0.7901rem, 0.7663rem + 0.1057vw, 0.8681rem);
	--step--1: clamp(0.8889rem, 0.8423rem + 0.2072vw, 1.0417rem);
	--step-0: clamp(1rem, 0.9237rem + 0.339vw, 1.25rem);
	--step-1: clamp(1.125rem, 1.0106rem + 0.5085vw, 1.5rem);
	--step-2: clamp(1.2656rem, 1.1026rem + 0.7246vw, 1.8rem);
	--step-3: clamp(1.4238rem, 1.1992rem + 0.9982vw, 2.16rem);
	--step-4: clamp(1.6018rem, 1.2997rem + 1.3426vw, 2.592rem);
	--step-5: clamp(1.802rem, 1.4029rem + 1.7741vw, 3.1104rem);
	
	--align__wide_offset: calc(-50vw + 50%);
}

/* Body Overflow fix for all Elementor's parent containers' markup */
.elementor-element.e-con.e-parent {
	overflow-x: clip;
}
.uicore-section,
.elementor-section,
.ui-sortable>.e-con,
.elementor>.e-con {
  --container-max-width: min( 91vw, min(calc(100% - 2.5rem), 1540px) ) !important;
}
@media (min-width: 768px) {
	#wrapper-navbar nav.uicore-container {
		padding-inline: 0 !important;
	}
}
.uicore-mobile-menu-wrapper .uicore-container {
	padding-inline: 0 !important;
}

/**
 * ALIGN ELEMENT TO SCREEN EDGE(S)
 * Utility classes for every device
 */
.align_wide {
	margin-left: var(--align__wide_offset);
	margin-right: var(--align__wide_offset);
	max-width: 100vw !important;
}
.align_wide__right {
	margin-right: var(--align__wide_offset);
}
.align_wide__left {
	margin-left: var(--align__wide_offset);
}

/* Utility classes for laptop and up */
@media (min-width: 1025px) {
	.lap_and_up__align_wide {
		margin-left: var(--align__wide_offset);
		margin-right: var(--align__wide_offset);
		max-width: 100vw !important;
	}
	.lap_and_up__align_wide__right {
		margin-right: var(--align__wide_offset);
	}
	.lap_and_up__align_wide__left {
		margin-left: var(--align__wide_offset);
	}
}

/* Utility classes up to tablet size */
@media (max-width: 1024px) {
	.tablet__align_wide {
		margin-left: var(--align__wide_offset);
		margin-right: var(--align__wide_offset);
		max-width: 100vw !important;
	}
	.tablet__align_wide__right {
		margin-right: var(--align__wide_offset)
	}
	.tablet__align_wide__left {
		margin-left: var(--align__wide_offset);
	}
}

/* Utility classes up to mobile size */
@media (max-width: 767px) {
	.mobile__align_wide {
		margin-left: var(--align__wide_offset);
		margin-right: var(--align__wide_offset);
		max-width: 100vw !important;
	}
	.mobile__align_wide__right {
		margin-right: var(--align__wide_offset);
	}
	.mobile__align_wide__left {
		margin-left: var(--align__wide_offset);
	}
}

/* Scroll Down Indicator */
@keyframes nudgeMouse{0%{transform:translateY(0)}45%{transform:translateY(8px)}100%,65%{transform:translateY(0)}}@keyframes trackBallSlide{0%{opacity:1;transform:scaleY(1) translateY(-10px)}45%{opacity:0;transform:scaleY(.5) translateY(13px)}46%{opacity:0;transform:scaleY(1) translateY(-10px)}100%,65%{opacity:1;transform:scaleY(1) translateY(-10px)}}@keyframes mouse-scroll-btn-roll-over{0%{stroke-dashoffset:120}100%{stroke-dashoffset:0}}@keyframes mouse-scroll-btn-roll-out{0%{stroke-dashoffset:0}100%{stroke-dashoffset:-120}}.next-section-wrap.mouse-wheel .next-section{display:block;position:relative;width:auto;height:auto;text-align:center;line-height:1rem;font-size:0;transition:opacity .4s ease;-webkit-animation:nudgeMouse 2.4s cubic-bezier(.25,.46,.45,.94) infinite;animation:nudgeMouse 2.4s cubic-bezier(.25,.46,.45,.94) infinite}.next-section-wrap.mouse-wheel .next-section::before{position:absolute;content:"";display:block;left:50%;margin-left:-1px;top:22px;background-color:var(--indicator-color);width:2px;height:6px;border-radius:10px;transition:background-color .55s cubic-bezier(.5,.1,.07,1);animation:trackBallSlide 2.4s cubic-bezier(0,0,.725,1) infinite}.next-section-wrap.mouse-wheel .next-section::after{content:"";position:absolute;top:0;left:50%;display:block;width:30px;height:45px;margin-left:-15px;border:2px solid var(--indicator-color);border-radius:30px;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:62}.next-section:hover .scroll-icon-path{stroke-dashoffset:0;animation:mouse-scroll-btn-roll-over .55s cubic-bezier(.5,.1,.07,1)}.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!important;width:1px;word-wrap:normal!important}.scroll-icon{width:30px;height:45px;text-align:center;cursor:pointer;position:relative;z-index:100}.scroll-icon-path{fill:transparent;stroke-width:2px;stroke-dashoffset:120;stroke-dasharray:120;animation:mouse-scroll-btn-roll-out .55s cubic-bezier(.5,.1,.07,1)}img.looped-animation-rotate{animation:looped_rotate 12s forwards infinite linear}img.looped-animation-rotate.inverse{filter:invert()}@media (max-width:767px){img.looped-animation-rotate{max-width:clamp(150px,30vw,175px)}}@keyframes looped_rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}

/* Header CTA color fix */
.uicore-transparent:not(.uicore-scrolled) #cerca-auto-cta-mobile i {
    color: var(--e-global-color-uicore_white, #fff) !important;
}
.uicore-transparent.uicore-scrolled #cerca-auto-cta-mobile i {
    color: var(--e-global-color-uicore_headline, #000) !important;
}
#cerca-auto-cta-mobile .elementor-icon {
    vertical-align: middle;
}
.uicore-transparent #cerca-auto-cta-desktop i {
    color: var(--e-global-color-uicore_white, #fff) !important;
}
.uicore-custom-area .uicore-hca i {
	color: inherit !important;
}
/* Header Fix for Veicoli Archive */
body.post-type-archive-veicolo .uicore-mobile-head-left,
body.tax-categoria_noleggio .uicore-mobile-head-left {
	 display: none !important;
}
@media (max-width: 1025px) {
	body.post-type-archive-veicolo .uicore-header-wrapper > nav,
	body.tax-categoria_noleggio .uicore-header-wrapper > nav {
		grid-template-columns: auto 1fr !important;
	}
}