/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/


body {font: regular 17px/1.65 Inter,Arial,sans-serif;}

h1, h2, h3 { line-height: 1.04; letter-spacing: -.05em; margin-bottom: 0.3em !important}

p {font-size: 20px}

h1 {font-size: clamp(56px,8.4vw,128px);}
h2 {font-size:clamp(36px,4.5vw,64px);}
h3 {font-size: clamp(28px,3vw,43px); line-height: 1.12; font-weight: 800 !important}


.contatti h1 {font-size: clamp(56px,8.4vw,100px);}
.hero h1 {font-size: clamp(40px,6.65vw,103px);line-height: 1;}
.hero-bottom p {max-width: 880px;font-size: clamp(18px,2vw,23px);line-height: 1.5;}

.story-copy p {font-size: clamp(18px,1.7vw,20px); margin-bottom: 26px;line-height: 1.5;}
.intro-story h2 {font-size: clamp(38px,4.3vw,64px) !important;}

strong {color: #30287e}

.titoletto p {font-size: 11px !important; letter-spacing: .14em !important; font-weight: 800; text-transform: uppercase; color: #686776;margin-bottom: 10px !important;}

.titoletto-bianco p {color: #bfc3ec;font-size: 11px !important; letter-spacing: .14em !important; font-weight: 800; text-transform: uppercase; margin-bottom: 10px !important;}

.bianco p, .bianco h3, .bianco h2,.bianco h1, .bianco strong {color: #fff !important}
  
.portfolio p {font-size: clamp(18px,1.7vw,23px)}
.portfolio h1 {font-size: clamp(56px,8.4vw,128px); }

html {background: #fff}
.absolute-footer {display: none; background: #fff}

.wp-singular .header-top .nav > li > a {color: #000 !important;}
.home .header-top .nav > li > a {color: #fff !important;}

.logo-tagline {font-size: 0.9em; font-style: normal;  line-height: 1; margin: .5em 0 0 0;}

.logo-left .logo {margin-top: 12px;}

.parallax-active {opacity: 1 !important}

/*Menu*/


.nav-dark .nav > li > a { color: hsla(0,0%,100%,1);}

.header-bg-color, .home .stuck .header-bg-color{background-color:rgba(255,255,255,.8)!important; backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }

.home .header-bg-color{background-color:rgba(255,255,255,0)!important; backdrop-filter:blur(0px); -webkit-backdrop-filter:blur(0px); }



#header{z-index:1050!important; }
a[data-open="#main-menu"]{position:relative; z-index:1051; cursor:pointer!important; }
a[data-open="#main-menu"] *{cursor:pointer!important; }

.off-canvas .sidebar-menu { margin-top: 40px;}
.mfp-bg.off-canvas-center:not(.dark) { opacity: 1;}

ul.menu > li > a { padding: 6px 6px !important; color: #000; font-size: 18px}

.has-transparent ul.menu > li > a { padding: 6px 6px; color: #fff; font-size: 18px}

.menu {display: flex; align-items: center; gap: 0; list-style: none; padding: 0; margin: 0;}
ul.header-nav.nav.nav-right {display: flex; align-items: center; gap: 4px;}
.header-nav-main {justify-content: center;}
ul.header-nav.nav.nav-right > li.header-block { display: flex; align-items: center;  flex: 0 0 auto;  width: auto !important;}
ul.menu > li + li {border-top: none !important;}
.widget {margin-bottom: 0em;}

.header-block-block-2 {width: 100%}


.off-canvas-center .mfp-content {max-width: none;padding-top: 0px; width: 100%;}

.sidebar-menu {text-align: left}
.sidebar-menu p {line-height: 4.2em !important}

.info-menu p {font-size: 18px; line-height: 1.8em !important}
.info-menu a {font-size: clamp(17px,2vw,25px); color: #30287e; font-weight: 800}

.header-wrapper .menu > li > a {transition:color .3s ease;}
.header-wrapper.stuck .menu > li > a {color:#000;}
.icon-menu::before {transition:filter .3s ease;}
.header-wrapper.stuck .icon-menu::before {filter:brightness(0);}

body.menu-overlay-open .icon-menu::before {content:none !important; background:none !important;}


.header-top {background-color: transparent !important; min-height: 20px; position: relative; z-index: 11; pointer-events: none; margin-bottom: -63px; margin-top: 33px}

.header-top .menu-item .nav-top-link {font-size:0;}
.header-top .menu-item .nav-top-link i {font-size:20px;}
.header-top .nav > li > a{color: #fff !important}
.header-top .flex-center  {pointer-events: auto}

 .stuck .header-top .nav > li > a{color: #000 !important}
 body.menu-overlay-open .header-top .nav > li > a{color: #000 !important}
 
.header-wrapper.stuck, .layout-shadow #wrapper { box-shadow: 1px 1px 10px rgba(0,0,0,0);}


/*Home*/

.nav-icon>a[data-open="#main-menu"]{display:inline-flex; align-items:center; gap:22px; padding:16px 0 16px 20px; color:#30287e; }
.nav-icon>a[data-open="#main-menu"] .menu-title{order:0; margin:0!important; font-size:13px; font-weight:600; line-height:1; text-transform:none; }
.nav-icon>a[data-open="#main-menu"] .icon-menu{order:1; position:relative; display:block; width:35px; height:22px; margin:0!important; font-size:0; background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat; transition:background-size .25s; }
.nav-icon>a[data-open="#main-menu"] .icon-menu::before, .nav-icon>a[data-open="#main-menu"] .icon-menu::after{content:""; position:absolute; left:0; top:10px; width:100%; height:2px; border-radius:2px; background:currentColor; transition:transform .25s; }
.nav-icon>a[data-open="#main-menu"] .icon-menu::before{transform:translateY(-8px); }
.nav-icon>a[data-open="#main-menu"] .icon-menu::after{transform:translateY(8px); }
.nav-icon>a[data-open="#main-menu"].kd-menu-open .icon-menu{background-size:0 2px; }
.nav-icon>a[data-open="#main-menu"].kd-menu-open .icon-menu::before{transform:rotate(45deg); }
.nav-icon>a[data-open="#main-menu"].kd-menu-open .icon-menu::after{transform:rotate(-45deg); }


.mfp-close {display: none}
.mfp-bg { background: #fff; top: 140px;}
.mfp-wrap.my-mfp-video,
.mfp-bg.my-mfp-video,
.mfp-iframe-holder .mfp-close {cursor:zoom-out!important;}

.voce a {font-size: clamp(42px,5.8vw,86px); font-weight: 800;  line-height: 1.2;letter-spacing: -.05em;  display: flex; align-items: center;  justify-content: space-between;  padding: 6px 0; color: #30287e; transition: color .35s cubic-bezier(.22,.61,.36,1),transform .35s cubic-bezier(.22,.61,.36,1);}

.voce p a:hover { transform: translateX(8px); color: #2ea9e8}

.voce p a span {font-size: 12px;letter-spacing: 0; color: #2ea9e8; font-weight: 500}

/* Archivio progetti */

.kd-projects-slider{position:relative;margin-top:-75px;}
.kd-project-controls{display:flex;justify-content:flex-end;gap:12px;margin-bottom:28px;}
.kd-project-controls button{display:flex;align-items:center;justify-content:center;width:52px;height:52px;min-height:0;margin:0;padding:0;border:1px solid #e8e8ee;border-radius:50%;background:#fff;box-shadow:none;color:#2ea9e8;}

.kd-project-controls button:hover{border-color:#2ea9e8;background:#fff;color:#2ea9e8;}
.kd-project-controls button:disabled{opacity:.3;cursor:default;}
.kd-project-controls button svg{display:block;width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;color:inherit;}
.kd-project-controls button.kd-project-prev svg{transform:rotate(180deg);}
.kd-project-controls button.kd-project-next svg{transform:none;}
.kd-project-controls button.kd-project-prev:hover svg{transform:rotate(180deg);}
.kd-project-controls button.kd-project-next:hover svg{transform:none;}

.kd-project-track{margin-bottom:0!important;}
.kd-project-track:not(.flickity-enabled){display:flex;overflow-x:auto;}
.kd-project-track .kd-project-card{width:calc((100% - 32px)/2);flex:0 0 calc((100% - 32px)/2);margin:0 32px 0 0;padding:0;}
.kd-projects-slider .kd-project-image,.kd-project-grid .kd-project-image{display:block;aspect-ratio:1.5;overflow:hidden;background:#f6f6f9;}
.kd-projects-slider .kd-project-image img,.kd-project-grid .kd-project-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s;}
.kd-projects-slider .kd-project-image:hover img,.kd-project-grid .kd-project-image:hover img{transform:scale(1.035);}
.kd-project-title{margin:23px 0 8px;color:#30287e;font-size:clamp(23px,2.3vw,32px);font-weight:650;line-height:1.15;letter-spacing:-.04em;text-transform:none;}
.kd-project-title a,.kd-project-title a:hover{color:#30287e;}
.kd-project-categories{margin:0;color:#686776;font-size:12px!important;line-height:1.6;}
.kd-project-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:36px;}
.kd-project-count{color:#686776;font-size:12px;white-space:nowrap;}
.kd-project-all{display:inline-flex;align-items:center;gap:24px;color:#2ea9e8;font-size:16px;font-weight:700;line-height:1.5;text-decoration:none;}
.kd-project-all:hover{color:#2ea9e8;}
.kd-project-all svg{display:block;width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s;}
.kd-project-all:hover svg{transform:translateX(5px);}
.kd-projects-slider a:focus-visible,.kd-project-controls button:focus-visible{outline:2px solid #30287e;outline-offset:5px;}

@media(max-width:549px){
.kd-project-track .kd-project-card{width:90%;flex-basis:90%;margin-right:20px;}
.kd-project-controls{gap:8px;margin-bottom:22px;}
.kd-project-controls button{width:38px;height:38px;}
.kd-project-title{margin-top:18px;font-size:24px;}
.kd-project-bottom{margin-top:28px;gap:16px;}
.kd-project-all{gap:16px;font-size:14px;}
}

@media(prefers-reduced-motion:reduce){
.kd-projects-slider .kd-project-image img,.kd-project-grid .kd-project-image img,.kd-project-all svg{transition:none;}
}


/* Filtri archivio */

.kd-project-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:32px;}
.kd-project-filters .kd-filter{min-height:0;margin:0;padding:12px 20px;border:1px solid #e8e8ee;border-radius:40px;background:#fff;box-shadow:none;color:#30287e;font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;letter-spacing:0;text-transform:none;cursor:pointer;transition:background .2s,color .2s,border-color .2s;}
.kd-project-filters .kd-filter:hover{border-color:#30287e;background:#fff;color:#30287e;}
.kd-project-filters .kd-filter.active{border-color:#30287e;background:#30287e;color:#fff;}
.kd-project-filters .kd-filter:focus-visible{outline:2px solid #2ea9e8;outline-offset:4px;}
.kd-archive-status{margin:0 0 30px;color:#686776;font-size:12px!important;line-height:1.6;}
.kd-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:65px 40px;}
.kd-project-grid .kd-project-card{min-width:0;width:auto;margin:0;padding:0;}
.kd-project-grid .kd-project-card[hidden],.kd-archive-empty[hidden]{display:none!important;}
.kd-project-grid a:focus-visible{outline:2px solid #30287e;outline-offset:5px;}
.kd-archive-empty{margin:30px 0;color:#686776;}

@media(max-width:549px){
.kd-project-filters{gap:8px;margin-bottom:24px;}
.kd-project-filters .kd-filter{padding:10px 14px;font-size:12px;}
.kd-project-grid{grid-template-columns:1fr;gap:42px;}
.kd-archive-status{margin-bottom:24px;}
}


/* Carica altri progetti */

.kd-archive-more{display:flex;justify-content:center;margin-top:100px;}
.kd-archive-more[hidden]{display:none!important;}
.kd-archive-more .kd-load-more{display:inline-flex;align-items:center;gap:20px;min-height:0;margin:0;padding:12px 0;border:0;background:transparent;box-shadow:none;color:#2ea9e8;font-family:inherit;font-size:16px;font-weight:700;line-height:1.5;letter-spacing:0;text-transform:none;cursor:pointer;}
.kd-load-more svg{width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;transform:rotate(90deg);transition:transform .2s;}
.kd-load-more:hover svg{transform:translateY(5px) rotate(90deg);}
.kd-load-more:focus-visible{outline:2px solid #30287e;outline-offset:5px;}


/* Elementi comuni */

.step p{font-size:16px;}
.step h3{font-size:24px;}
.num-azzurro{color:#2ea9e8;font-size:12px;margin-top:3px;}


/* Singolo progetto */

.kd-project-back .kd-project-link svg{display:none;}
.kd-project-back .kd-project-link::before{content:"";width:24px;height:24px;flex-shrink:0;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12H19M12 5L19 12L12 19' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12H19M12 5L19 12L12 19' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;transform:rotate(180deg);transition:transform .2s;}
.kd-project-back .kd-project-link:hover::before{transform:rotate(180deg) translateX(5px);}

.kd-project{color:#242329;}
.kd-project>.section>.section-content>.row>.col{padding-bottom:0;}
.kd-project-hero{padding:65px 0 45px 0px;}
.kd-project-back{margin-bottom:45px;}
.kd-project-eyebrow{display:block;margin-bottom:30px;color:#686776;font-size:11px;font-weight:600;line-height:1.5;letter-spacing:.14em;text-transform:uppercase;}
.kd-project-hero h1{max-width:1100px;margin:0;color:#30287e;font-size:clamp(40px,6.65vw,103px);font-weight:500;line-height:1.02;letter-spacing:-.05em;overflow-wrap:anywhere;}
.kd-project-sub{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-top:30px;}
.kd-project-sub p{margin:0;color:#686776;font-size:12px;line-height:1.6;}
.kd-project a.kd-project-link{display:inline-flex;align-items:center;gap:16px;color:#2ea9e8;font-size:16px;font-weight:700;line-height:1.5;text-decoration:none;}
.kd-project-link svg{width:30px;height:24px;flex-shrink:0;transition:transform .2s;}
.kd-project-link:hover svg{transform:translateX(6px);}
.kd-project-external:hover svg{transform:translate(4px,-4px);}
.kd-project-mockup{padding:0;}
.kd-project .kd-project-image{display:block;width:100%;height:auto;margin:0;background:#f6f6f9;}
.kd-project-story{padding:90px 0 0;}
.kd-project-aside{border-top:1px solid #e8e8ee;padding-top:20px;}
.kd-project-aside h2{margin:0 0 20px;color:#30287e;font-size:13px;font-weight:700;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;}
.kd-project-aside ul{list-style:none;padding:0;margin:0;color:#686776;font-size:14px;}
.kd-project-aside ul li{margin:8px 0;line-height:1.6;}
.kd-project-text{min-width:0;}
.kd-project-text h2{margin:0 0 28px;color:#30287e;font-size:clamp(36px,4.5vw,64px);font-weight:500;line-height:1.08;letter-spacing:-.045em;}
.kd-project-text h2:not(:first-child){margin-top:60px;}
.kd-project-text p{margin-bottom:26px;font-size:20px;line-height:1.65;}
.kd-project-text strong{color:#30287e;font-weight:700;}
.kd-project a:focus-visible{outline:2px solid #2ea9e8;outline-offset:6px;}

@media(min-width:850px){
.kd-project-story .large-9>.col-inner{padding-left:60px;}
}

@media(max-width:849px){
.kd-project-story{padding-top:60px;}
.kd-project-aside{margin-bottom:40px;}
.kd-project-aside ul{display:flex;flex-wrap:wrap;gap:0 20px;}
.kd-project-text p{font-size:18px;}
}

@media(max-width:549px){
.kd-project-hero{padding:45px 0 40px;}
.kd-project-back{margin-bottom:30px;}
.kd-project-sub{flex-direction:column;align-items:flex-start;gap:24px;}
}

@media(prefers-reduced-motion:reduce){
.kd-project-link svg{transition:none;}
}


.kd-project-slider-wrap{margin:0;}
.kd-project-slider{margin:0;background:#f6f6f9;}
.kd-project-slider .kd-project-slide{width:100%;margin:0;}
.kd-project-slider .kd-project-image{display:block;width:100%;height:auto;aspect-ratio:var(--kd-image-ratio);object-fit:contain;margin:0;}
.kd-project .kd-project-slider .flickity-prev-next-button{display:flex;align-items:center;justify-content:center;top:50%;bottom:auto;width:52px;height:52px;min-height:0;margin:0;padding:0;border:1px solid #e8e8ee;border-radius:50%;background:#fff;box-shadow:none;color:#2ea9e8;opacity:1!important;visibility:visible!important;transform:translateY(-50%)!important;}
.kd-project .kd-project-slider .flickity-prev-next-button.previous{left:16px;}
.kd-project .kd-project-slider .flickity-prev-next-button.next{right:16px;}
.kd-project .kd-project-slider .flickity-prev-next-button svg{position:static;width:32px;height:32px;margin:0;padding:0;flex-shrink:0;transform:none;}
.kd-project .kd-project-slider .flickity-prev-next-button .arrow{fill:none!important;stroke:currentColor;stroke-width:18.75;stroke-linecap:round;stroke-linejoin:round;}
.kd-project .kd-project-slider .flickity-prev-next-button:hover{background:#fff;border-color:#2ea9e8;color:#2ea9e8;box-shadow:none;}
.kd-project .kd-project-slider .flickity-prev-next-button:focus-visible{outline:2px solid #2ea9e8;outline-offset:4px;}
@media(max-width:549px){.kd-project .kd-project-slider .flickity-prev-next-button.previous{left:10px;}.kd-project .kd-project-slider .flickity-prev-next-button.next{right:10px;}}


/* Navigazione progetto successivo */

.kd-project .kd-project-next:not(button){background:#f6f6f9;padding:45px 0;margin-top:60px;}
.kd-project .kd-project-next:not(button) nav>a{display:flex;justify-content:space-between;align-items:center;gap:30px;border-top:0;padding-top:0;text-decoration:none;}
.kd-project .kd-project-next:not(button) .kd-project-eyebrow{margin-bottom:14px;}
.kd-project .kd-project-next:not(button) h2{margin:0;color:#30287e;font-size:clamp(28px,3.2vw,44px);font-weight:500;line-height:1.08;letter-spacing:-.045em;overflow-wrap:anywhere;}
.kd-project .kd-project-next:not(button) svg{width:32px;height:32px;flex-shrink:0;color:#2ea9e8;transition:transform .2s;}
.kd-project .kd-project-next:not(button) a:hover svg{transform:translateX(6px);}

@media(max-width:549px){
.kd-project .kd-project-next:not(button){padding:32px 0;margin-top:40px;}
.kd-project .kd-project-next:not(button) nav>a{gap:20px;}
.kd-project .kd-project-next:not(button) h2{font-size:28px;}
}

@media(prefers-reduced-motion:reduce){
.kd-project .kd-project-next:not(button) svg{transition:none;}
}

.mfp-close {mix-blend-mode:normal !important;}

.mfp-image-holder .mfp-close::before {content:""; display:block; width:76px; height:40px; background:url('/kd2026/wp-content/themes/flatsome-child/assets/img/burger-close.svg') no-repeat center center; background-size:contain;transform:translate(-45px, 10px); filter:brightness(1) invert(1);}

.progetto-back {display:inline-flex; align-items:center; gap:10px; color: #000; font-size: 14px; margin-bottom: 50px}
.progetto-back:hover {color: #000}

.progetto-back::before {content:""; width:20px; height:20px; background:url('/kd2026/wp-content/themes/flatsome-child/assets/img/freccia.svg') no-repeat center; background-size:contain; transform:rotate(180deg); transition:transform .3s ease;}

.progetto-back:hover::before {transform:rotate(180deg) translateX(4px);}

.progetto-category {text-align: right; text-transform: uppercase; font-size: 14px; margin-top: 80px}
.progetto-summary {font-size: 18px; line-height: 1.3em; margin-top: 76px}
.progetto-meta-wrap {display:grid; grid-template-columns:1fr 1fr; gap:76px;}

.progetto-meta {display:grid; row-gap:10px;}
.progetto-meta-item {display:grid; grid-template-columns:auto 1fr; column-gap:4px; align-items:baseline;}
.progetto-meta-label {font-weight: 500}
.progetto-meta-value {color:#000;}

.progetto-meta-item, .progetto-meta-label, .progetto-meta-value {line-height: 1.4em;}

.progetto-meta-wrap {align-items: start;}
.progetto-meta {align-content: start; height: auto;}



.progetto-pubblicazioni {display:flex; flex-direction:column; gap:8px;}
.progetto-pubblicazioni > .progetto-meta-label {color:#000;}



.progetto-head-top {margin-top: 50px}



/*Bottoni*/

a.button.primary{display:inline-flex; align-items:center; gap:20px; min-height:0; margin:0; padding:0; border:0; border-radius:0; background:transparent!important; box-shadow:none!important; color:#2ea9e8!important; font-size:16px; font-weight:700; line-height:1.5; letter-spacing:0; text-transform:none; text-decoration:none!important; }
a.button.primary::after{content:""; width:24px; height:24px; flex-shrink:0; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12H19M12 5L19 12L12 19' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12H19M12 5L19 12L12 19' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition:transform .2s; }
a.button.primary:hover::after{transform:translateX(5px); }
a.button.primary:focus-visible{outline:2px solid #30287e; outline-offset:6px; }

a.button.secondary{display:inline-flex; align-items:center; gap:20px; min-height:0; margin:0; padding:0; border:0; border-radius:0; background:transparent!important; box-shadow:none!important; color:#fff!important; font-size:16px; font-weight:700; line-height:1.5; letter-spacing:0; text-transform:none; text-decoration:none!important; }
a.button.secondary::after{content:""; width:24px; height:24px; flex-shrink:0; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12H19M12 5L19 12L12 19' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12H19M12 5L19 12L12 19' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition:transform .2s; }
a.button.secondary:hover::after{transform:translateX(5px); }
a.button.secondary:focus-visible{outline:2px solid #fff; outline-offset:6px; }


/*Footer*/


a.icon:not(.button) {color: #242329}

.page-id-11889 .cta-contatti {display: none}

.small p {font-size: 16px}

.contact-mail p a {font-size: clamp(20px,2.4vw,30px); display: inline-block; margin-top: 40px; color: #2ea9e8;  font-weight: 800;  letter-spacing: -.04em; line-height: 1.15em}

.spazio {margin-top: 0px; line-height: 1.2em}
.spazio p {margin: 10px 0px 20px 0px; line-height: 1.2em !important}
.spazio p a{margin-top: 0px; line-height: 1.2em}

.contact-mail p a:hover {color: #30287e !important; }

.footer h2 a{color: #30287e !important}


.cta-contatti h2{position:relative; min-height:100px; padding-right:0; }
.cta-contatti h2 a{display:block; color:inherit; text-decoration:none; }
.cta-contatti h2>a,.cta-contatti h2>strong>a{position:relative; padding-right:140px; cursor:pointer; }
.cta-contatti h2>a::before,.cta-contatti h2>strong>a::before{content:""; position:absolute; top:50%; right:0; width:100px; height:100px; border-radius:50%; background:#2ea9e8; transform:translateY(-50%); transition:background .2s; }
.cta-contatti h2>a::after,.cta-contatti h2>strong>a::after{content:""; position:absolute; top:50%; right:30px; width:40px; height:40px; background:#fff; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12H19M12 5L19 12L12 19' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12H19M12 5L19 12L12 19' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transform:translateY(-50%); }
.cta-contatti h2 a:hover::before{background:#30287e; }
.cta-contatti h2 a:focus-visible{outline:2px solid #30287e; outline-offset:6px; }
@media(max-width:549px){.cta-contatti h2{min-height:64px; } .cta-contatti h2>a,.cta-contatti h2>strong>a{padding-right:84px; } .cta-contatti h2 a::before{width:64px; height:64px; } .cta-contatti h2 a::after{right:18px; width:28px; height:28px; } }

.cta-contatti h2 a::before{transition:background .2s,transform .2s; }
.cta-contatti h2 a::after{transition:transform .2s; }
.cta-contatti h2 a:hover::before,.cta-contatti h2 a:hover::after{transform:translate(5px,-50%); }


.kd-contact-form{color:#30287e; }
.kd-contact-form .kd-form-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.kd-contact-form .kd-form-field{min-width:0; margin-bottom:26px; }
.kd-contact-form .kd-form-field label{display:block; margin:0 0 10px; color:#30287e; font-size:14px; font-weight:700; line-height:1.5; }
.kd-contact-form .kd-optional{margin-left:10px; color:#686776; font-size:12px; font-weight:400; }
.kd-contact-form .wpcf7-form-control-wrap{display:block; }
.kd-contact-form .kd-form-field input,.kd-contact-form .kd-form-field textarea{display:block; box-sizing:border-box; width:100%; margin:0; padding:16px 22px; border:1px solid #dcdbea; background:#f7f7fa; box-shadow:none; color:#30287e; font-family:inherit; font-size:16px; font-weight:400; line-height:1.5; transition:border-color .2s,background .2s; }
.kd-contact-form .kd-form-field input{height:56px; border-radius:40px; }
.kd-contact-form .kd-form-field textarea{height:176px; min-height:176px; border-radius:24px; resize:vertical; }
.kd-contact-form .kd-form-field input::placeholder,.kd-contact-form .kd-form-field textarea::placeholder{color:#686776; opacity:1; }
.kd-contact-form .kd-form-field input:focus,.kd-contact-form .kd-form-field textarea:focus{border-color:#30287e; background:#fff; outline:2px solid #30287e; outline-offset:3px; box-shadow:none; }
.kd-contact-form .kd-form-field>p,.kd-contact-form .kd-form-submit>p{margin:0; }
.kd-contact-form .kd-form-field>p>br,.kd-contact-form .kd-form-submit>p>br{display:none; }
.kd-contact-form .kd-form-note{margin:-8px 0 22px; color:#686776; font-size:12px; line-height:1.6; }
.kd-contact-form .kd-form-submit,.kd-contact-form .kd-form-submit>p{display:flex; align-items:center; gap:16px; }
.kd-contact-form button.kd-submit{display:inline-flex; align-items:center; gap:24px; min-height:0; margin:0; padding:8px 0; border:0; border-radius:0; background:transparent!important; box-shadow:none!important; color:#2ea9e8!important; font-family:inherit; font-size:16px; font-weight:700; line-height:1.5; letter-spacing:0; text-transform:none; cursor:pointer; }
.kd-contact-form button.kd-submit::after{content:""; width:24px; height:24px; flex-shrink:0; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12H19M12 5L19 12L12 19' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12H19M12 5L19 12L12 19' fill='none' stroke='black' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition:transform .2s; }
.kd-contact-form button.kd-submit:hover::after{transform:translateX(5px); }
.kd-contact-form button.kd-submit:focus-visible,.kd-contact-form .kd-form-privacy a:focus-visible{outline:2px solid #30287e; outline-offset:5px; }
.kd-contact-form button.kd-submit:disabled{opacity:.5; cursor:wait; }
.kd-contact-form .wpcf7-spinner{flex-shrink:0; margin:0; }
.kd-contact-form .kd-form-privacy{margin:22px 0 0; color:#686776; font-size:12px; line-height:1.7; }
.kd-contact-form .kd-form-privacy a{color:#30287e; text-decoration:underline; text-underline-offset:2px; }
.kd-contact-form .wpcf7-not-valid-tip{margin-top:8px; color:#b42318; font-size:13px; }
.kd-contact-form .kd-form-field .wpcf7-not-valid{border-color:#b42318; }
@media(max-width:549px){.kd-contact-form .kd-form-grid{grid-template-columns:1fr; gap:0; } .kd-contact-form .kd-form-field{margin-bottom:24px; } .kd-contact-form .kd-form-field input,.kd-contact-form .kd-form-field textarea{padding:16px 18px; } }
@media(prefers-reduced-motion:reduce){.kd-contact-form *,.kd-contact-form *::after{transition:none!important; } }


@media screen and (max-width: 1170px) {



}


@media screen and (max-width: 550px) {
#logo {width: 88px !important;}
html .stuck .header-main, .transparent .header-main {height: 120px !important;}
.mfp-bg { background: #fff; top: 120px;}
}


@media screen and (max-width: 850px) {

.kd-projects-slider{position:relative; margin-top: -50px }
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

.kd-projects-slider{position:relative; margin-top: -50px }

p {font-size: 18px}

.progetto-summary {margin-top: 0px}
.progetto-category {margin-top: 0px}
.progetto-back {margin-bottom: 20px}

.archivio-progetti-grid {grid-template-columns:1fr;}

.archivio-progetti-menu {display:none !important;} 
.progetti-filter-mobile-wrap {display:block;}
#filtro-progetti {scroll-margin-top:120px;}


}