/* 
Theme Name: Uovo in viaggio Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Typography */
/* For browsers that support clamp  */
@supports (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--fs-sm: clamp(0.83rem, 0.06vi + 0.82rem, 0.87rem);
		--fs-base: clamp(1rem, 0.23vi + 0.94rem, 1.13rem);
		--fs-md: clamp(1.2rem, 0.48vi + 1.08rem, 1.46rem);
		--fs-lg: clamp(1.44rem, 0.84vi + 1.23rem, 1.9rem);
		--fs-xl: clamp(1.73rem, 1.35vi + 1.39rem, 2.47rem);
		--fs-xxl: clamp(2.07rem, 2.07vi + 1.56rem, 3.21rem);
		--fs-xxxl: clamp(2.49rem, 3.07vi + 1.72rem, 4.18rem);
  }
}
/* For browsers that don't support clamp */
@supports not (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--fs-sm: 0.83rem;
		--fs-base: 1rem;
		--fs-md: 1.2rem;
		--fs-lg: 1.44rem;
		--fs-xl: 1.73rem;
		--fs-xxl: 2.07rem;
		--fs-xxxl: 2.49rem;
  }
  @media screen and (min-width: 1280px) {
    :root {
			--fs-sm: 0.87rem;
			--fs-base: 1.13rem;
			--fs-md: 1.46rem;
			--fs-lg: 1.9rem;
			--fs-xl: 2.47rem;
			--fs-xxl: 3.21rem;
			--fs-xxxl: 4.18rem;
    }
  }
}
body, h6 {
	font-size: var(--fs-base);
}

.body-xl {
    font-size: clamp(1.25rem, 1.136rem + 0.455vw, 1.5rem);
}

h1, .h1, .h1 > * {
	font-size: var(--fs-xxxl);
}
h2, .h2, .h2 > * {
	font-size: var(--fs-xxl);
}
h3, .h3, .h3 > *, .single-post h2 {
	font-size: var(--fs-xl);
}
h4, .h4, .h4 > *, .single-post h3 {
	font-size: var(--fs-lg);
}
h5, .h5, .h5 > *, .single-post h4 {
	font-size: var(--fs-md);
}

.fs-small {
    font-size: var(--fs-sm);
}

/* PADDING SEZIONI */

.ele-section-inline {
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-xs {
	padding-block: clamp(1rem, 0.833rem + 0.741vw, 1.5rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-s {
	padding-block: clamp(1.5rem, 1.5rem + 0vw, 1.5rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-m {
	padding-block: clamp(1.5rem, 1.167rem + 1.481vw, 2.5rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-d {
	padding-block: clamp(3rem, 2.333rem + 2.963vw, 5rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-l {
	padding-block: clamp(4.5rem, 3.5rem + 4.444vw, 7.5rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-xl {
	padding-block: clamp(6rem, 4.667rem + 5.926vw, 10rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

/* Utilities */

/* Text wrap */
h1,h2,h3,h4,h5,h6 .balance {
    text-wrap: balance;
}

ul,ol,dl,dt,dd,p,figure,blockquote, .pretty {
    text-wrap: pretty;
}

.no-margin > *, .no-margin p {
  margin-block-end: 0;
}

/* Custom shape dividers */

/* Top Shape Divider */
.wave-section { position: relative; overflow: visible; }

/* TOP */
.wave-section::before,
.wave-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%; /* forza lo stretch come gli shape divider di Elementor */
  pointer-events: none;
  z-index: 1;
}

/* Divider sopra */
.wave-secondary::before {
  top: 0;
  transform: translateY(-98%);
  height: clamp(30px, 10vw, 180px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='145' fill='none'%3E%3Cg fill='%23e8eddc' clip-path='url(%23a)'%3E%3Cpath d='M720 27.985C924.48 46.4 1440 139.2 1440 139.2v5.8H0V22.185c311.04-33.785 515.52-12.47 720 5.8' opacity='.3'/%3E%3Cpath d='M720 49.735C924.48 68.15 1440 139.2 1440 139.2v5.8H0V54.085c311.04-33.785 515.52-22.62 720-4.35' opacity='.5'/%3E%3Cpath d='M720 71.485C924.48 89.9 1440 139.2 1440 139.2v5.8H0V85.985c311.04-33.785 515.52-32.77 720-14.5'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M1440 145H0V0h1440z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

/* Divider sotto */
.wave-secondary::after {
  bottom: 0;
  transform: translateY(98%);
  height: clamp(30px, 10vw, 180px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='145' fill='none'%3E%3Cg fill='%23e8eddc' clip-path='url(%23a)'%3E%3Cpath d='M720 117.015C515.52 98.6 0 5.8 0 5.8V0h1440v122.815c-311.04 33.785-515.52 12.47-720-5.8' opacity='.3'/%3E%3Cpath d='M720 95.265C515.52 76.85 0 5.8 0 5.8V0h1440v90.915c-311.04 33.785-515.52 22.62-720 4.35' opacity='.5'/%3E%3Cpath d='M720 73.515C515.52 55.1 0 5.8 0 5.8V0h1440v59.015c-311.04 33.785-515.52 32.77-720 14.5'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h1440v145H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

/* Divider sopra */
.wave-primary::before, .wave-primary-nb::before {
  top: 0;
  transform: translateY(-98%);
  height: clamp(30px, 10vw, 180px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='145' fill='none'%3E%3Cg fill='%23ebd4d5' clip-path='url(%23a)'%3E%3Cpath d='M720 27.985C924.48 46.4 1440 139.2 1440 139.2v5.8H0V22.185c311.04-33.785 515.52-12.47 720 5.8' opacity='.3'/%3E%3Cpath d='M720 49.735C924.48 68.15 1440 139.2 1440 139.2v5.8H0V54.085c311.04-33.785 515.52-22.62 720-4.35' opacity='.5'/%3E%3Cpath d='M720 71.485C924.48 89.9 1440 139.2 1440 139.2v5.8H0V85.985c311.04-33.785 515.52-32.77 720-14.5'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M1440 145H0V0h1440z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

/* Divider sotto */
.wave-primary::after {
  bottom: 0;
  transform: translateY(98%);
  height: clamp(30px, 10vw, 180px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='145' fill='none'%3E%3Cg fill='%23ebd4d5' clip-path='url(%23a)'%3E%3Cpath d='M720 117.015C515.52 98.6 0 5.8 0 5.8V0h1440v122.815c-311.04 33.785-515.52 12.47-720-5.8' opacity='.3'/%3E%3Cpath d='M720 95.265C515.52 76.85 0 5.8 0 5.8V0h1440v90.915c-311.04 33.785-515.52 22.62-720 4.35' opacity='.5'/%3E%3Cpath d='M720 73.515C515.52 55.1 0 5.8 0 5.8V0h1440v59.015c-311.04 33.785-515.52 32.77-720 14.5'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h1440v145H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

/* Header */
.home .uiv-header {
    background-color: transparent !important;
}

/* Gravity Forms */
body .gform-theme--foundation .gform_fields {
    row-gap: 20px;
}

body .gform_wrapper textarea:focus, body .gform_wrapper select:focus, body .gform_wrapper input:focus {
  outline: 2px solid #000000;
}

body .gform_wrapper .gform-button--width-full {
	text-transform: uppercase !important;
	letter-spacing: 0.025em !important;
	font-weight: 700 !important;
	font-size: 1.125rem !important;
	line-height: 2em !important;
	min-height: 48px !important;
}
body .gform_wrapper .gform-button--width-full:hover {
    background-color: #F2D9A6 !important;
}

body .gform_wrapper .gform_confirmation_message {
	text-align: center;
	padding: 1rem;
	font-weight: bold;
	color: var( --e-global-color-accent );
	background-color: var( --e-global-color-a1325a1 );
	border: 1px solid var( --e-global-color-accent );
}

/* Block editor */

.single-post .entry-content :is(h2, h3, h4):not(:first-child) {
    margin-block-start: 1.5em;
    margin-block-end: .5em;
}


.wp-block-pullquote {
    padding: 3em 0;
    font-size: 1.25em;
}

.wp-block-pullquote cite {
    font-style: italic;
}