/**
 * Theme Name:     Twenty Twenty Child
 * Author:         the WordPress team
 * Template:       twentytwenty
 * Text Domain:	   twenty-twenty-child
 * Description:    Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
 */

/* ========== FONTS ========== */
@font-face {
  font-family: 'Montserrat Alternates';
  src: url('assets/font/Montserrat_Alternates/MontserratAlternates-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('assets/font/Montserrat_Alternates/MontserratAlternates-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('assets/font/Montserrat_Alternates/MontserratAlternates-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('assets/font/Montserrat_Alternates/MontserratAlternates-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('assets/font/Montserrat_Alternates/MontserratAlternates-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('assets/font/Montserrat_Alternates/MontserratAlternates-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('assets/font/Montserrat_Alternates/MontserratAlternates-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('assets/font/Montserrat_Alternates/MontserratAlternates-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('assets/font/Montserrat_Alternates/MontserratAlternates-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* ========== TOKENS / BASE ========== */
:root {
  --bg: #f4f1ea;      /* beige */
  --blue: #1b2631;    /* deep blue */
  --brick: #B14946;   /* mattone */
  --terra: #5d4037;
  --muted: #546e7a;
  --border: #cfcec9;

  --max: 1300px;
  --pad: 24px;

  --radius-xl: 24px;
  --radius-cut: 18px;

  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

h1, h2, h3, h4 {
  margin: 0 !important;
}

ul li {
  margin: 0;
}

body {
  margin: 0;
  font-family: 'Montserrat Alternates', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--blue);
  background: var(--bg);
}

.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  width: 100%;
  max-width: 100%;
}

/* ========== BUTTONS (shared) ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-xl);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;

  border: 1px solid transparent;
  user-select: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    border-radius 0.25s ease,
    box-shadow 0.25s ease;
}

.btn__icon {
  font-size: 14px;
  line-height: 1;
}

.btn--primary {
  background: var(--brick);
  color: #fff;
  box-shadow: var(--shadow-sm);
  border-radius: 10px;
}

.btn--primary:hover {
  background: var(--bg);
  color: var(--blue);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: rgba(244, 241, 234, 0.95);
  border-color: rgba(244, 241, 234, 0.28);
}

.renew-nav.is-scrolled .btn--ghost {
  color: var(--blue);
  border-color: rgba(27, 38, 49, 0.2);
}

.btn--ghost:hover {
  color: var(--brick);
  border-color: rgba(140, 63, 53, 0.45);
  transform: translateY(-1px);
}

.btn--cta {
  background: rgba(244, 241, 234, 1);
  color: var(--blue);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

  border-top-left-radius: 18px;
  border-bottom-right-radius: 18px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.renew-nav.is-scrolled .btn--cta {
  background: var(--blue);
  color: var(--bg);
}

.btn--cta:hover {
  background: var(--brick);
  color: #fff;
  border-radius: 18px;
}

/* ========== STILI ORIGINALI ========== */

*, html {
	scroll-behavior: smooth !important;
}

.text-ow .elementor-115 .elementor-widget-container p {
    line-height: 33px !important;
}

.elementor-115 .elementor-element.elementor-element-9fd57bd .swiper-slide-inner, .elementor-650 .elementor-element.elementor-element-9fd57bd .swiper-slide-inner {
	max-width: 1300px;
}

.elementor-slides .swiper-slide-bg {
	background-position-y: 72% !important;
}

@media (min-width: 1920px) {
    .elementor-95 .elementor-element-2426975 {
        padding-left: 0px !important;
    }
}

/* FORM CATALOGO */
#mostra-form {
	cursor: pointer;
	transition: all .3s ease;
}

#mostra-form:hover {
	transform: scale(1.03);
}

.elementor-element.e-con-full.eke-from-container  {
	display: none ;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.elementor-element.eke-from-container.visible  {
	display: block;
    transform: translateY(0);
    opacity: 1;
}

#pdfForm .elementor-field-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.elementor-115 .elementor-element.elementor-element-7033a48 .elementor-field-group .elementor-field:not(.elementor-select-wrapper) {
	width: 15px !important;
	height: 15px !important;
}



/* CONTACT FORM */

#first-form-cat .elementor-element-6cd3adf {
	width: 80% !important;
}

#pdfForm input[type="text"],
#pdfForm input[type="email"],
#pdfForm input[type="tel"],
#pdfForm select {
	padding: 10px 18px;
}

#pdfForm input[type="checkbox"] {
	top: 6px !important;
}	

@media (min-width: 1920px){
.rw-form .elementor-widget-container .elementor-form .elementor-form-fields-wrapper .elementor-field-type-submit{
    left: 525px !important;
    }
}


@media (max-width: 768px) {
	
#first-form-cat .elementor-element-6cd3adf {
	width: 100% !important;		
}
	
.rw-form .elementor-widget-container .elementor-form .elementor-form-fields-wrapper .elementor-field-type-submit {
        bottom: 0px !important;
        left: 0px !important;
        width: 30%!important;
    }
}


.rw-form .elementor-widget-container .elementor-form .elementor-form-fields-wrapper .e-form__buttons .elementor-button {    
    aspect-ratio: 1;
}

.rw-form .elementor-widget-container .elementor-form .elementor-form-fields-wrapper .elementor-field-type-submit {
    bottom: 119px;
    left: 456px;
}
.rw-form .elementor-widget-container .elementor-form .elementor-form-fields-wrapper .elementor-field-type-textarea {
    margin-top: 50px;
}

.elementor-field-group .elementor-field-textual:focus {
	box-shadow:none !important;
	outline: none !important;
}

.rw-form .elementor-widget-container .elementor-form .elementor-form-fields-wrapper .elementor-field-type-textarea .elementor-field-textual {
    border-radius: 0px;
    border: 1px solid white !important;
}

.elementor-115 .elementor-element.elementor-element-8a7ae3a .elementor-field-group:not(.elementor-field-type-upload) .elementor-field:not(.elementor-select-wrapper)::placeholder {
    font-weight: 500;
    color: white !important;
    opacity: 1;
}

.rw-form .elementor-widget-container .elementor-form .elementor-form-fields-wrapper .elementor-field-type-acceptance .elementor-field-subgroup #form-field-field_91068e2 {
    border-radius: 100%;
}

@media (min-width: 1920px){
    selector .elementor-field-type-submit{
    left: 525px !important;
    }
}


@media (max-width: 768px) {
selector .elementor-field-type-submit {
        bottom: 0px !important;
        left: 0px !important;
        width: 30%!important;
    }
}

.rw-form .elementor-widget-container .elementor-form .elementor-message {
	position: relative;
    top: -101px;
    font-family: 'Montserrat Alternates';
    color: white;
}

.renew-ftr__list a {
	color: white;
	text-decoration: none;
	font-size: 13px;
}