.home .chi-siamo .frase strong {
  font-weight: 700;
  box-shadow: inset 0 -0.45em 0 var(--yellow);
}

/*
Theme Name: K Theme
Theme URI: https://skriba.cloud/themes/k-theme
Author: Skriba
Author URI: https://skriba.cloud
Description: Custom starter theme used by Skriba for tailored WordPress builds.
Version: 2.4.5
Text Domain: k_theme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --yellow: #FFCA00;
  --gray: #464646;
  --lightgray: #EFEFEF;
}

@font-face {
  font-family: "Titillium Web";
  src: url(./fonts/Inter-VariableFont_opsz\,wght.ttf) format("truetype");
}

html {
  margin: 0;
  padding: 0;
  font-size: 18px;
  background-color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  font-size: 1rem;
  font-family: 'Titillium Web', sans-serif;
  background-color: white;
  position: relative;
  color: black;
}

body p:empty:before {
  content: none;
}

body p:empty {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: 700;
}

h1 {
  font-weight: 600;
  font-size: 3rem;
  text-transform: uppercase;
}

h2 {
  font-size: 2.4rem;
}

h3 {}

h4 {
  text-align: center;
  text-transform: uppercase;
}

a {
  color: var(--yellow);
  text-decoration: none;

}

a:hover {
  color: var(--yellow);
}

a:focus,
a:hover {
  text-decoration: none;
}

span.wpcf7-list-item {
  margin: 0;
}

div.wpcf7 {
  text-align: center;
}

.preloader {
  background-color: var(--yellow);
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 1000000;
  bottom: 0;
  left: 0;
}

.preloader.out {
  height: 0;
  width: 0;
  -webkit-transition: height cubic-bezier(.29, .78, .31, .95) .5s, bottom ease-in 0.3s;
  -o-transition: height cubic-bezier(.29, .78, .31, .95) 0.5s, bottom ease-in 0.3s;
  transition: height cubic-bezier(.29, .78, .31, .95) 0.5s, bottom ease-in 0.3s;
}

.standard .content {
  padding-top: 50px;
  padding-bottom: 80px;
}

.standard .content h2,
.standard .content h3,
.standard .content h4 {
  text-align: inherit;
  text-transform: inherit;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* buttòn */

button {}


/* form */

label {
  font-family: 'Titillium Web', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: black;
  width: 100%;
  text-align: left;
}

label.accetta {
  font-family: 'Titillium Web';
  font-weight: 400;
  color: black;
  font-size: 0.8rem;
}

label.accetta a {
  color: var(--yellow);
}

label.accetta a:hover {}

input:focus,
textarea:focus {
  outline-offset: 0;
  outline: 0;
}

input {
  max-width: 100%;
  font-size: 0.9rem;
  font-family: 'Titillium Web';
  margin-top: 10px;
  border: 1px solid var(--yellow);
  padding: 10px;
  background-color: transparent;
  color: black;
  width: 100%;
}

textarea {
  width: 100%;
  border: 1px solid var(--yellow);
  font-size: 0.9rem;
  font-family: 'Titillium Web';
  padding: 20px;
  margin-top: 10px;
  background-color: transparent;
  color: black;
}

input[type=checkbox] {
  width: auto;
}

input[type=submit] {
  background-color: var(--yellow);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  float: right;
  padding: 8px 15px;
  margin-top: 0;
  font-family: 'Titillium Web', sans-serif;
  width: fit-content;
}

.flexslider {
  border: 0;
}

/* colours */

.white {
  background-color: white;
  color: black;
}

.black {
  background-color: black;
}

a:focus {
  outline: none;
}

a:hover {
  text-decoration: none;
}

.flex-baseline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
}

.flex-end {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.flex-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-height {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

.cover {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contain {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.evidenza {
  width: 100%;
  height: 30vw;
}

.clearfix {
  clear: both;
}

.no-padding {
  padding-left: 0;
  padding-right: 0;
}

.no-padding-left {
  padding-left: 0 !important;
}

.no-padding-right {
  padding-right: 0 !important;
}

.no-padding-top {
  padding-top: 0 !important;
}

.relative {
  position: relative;
}

.main {
  padding-top: 125px;
}

.loop {
  margin-top: 100px;
  margin-bottom: 100px;
}

/* Menu icon css */

#nav-icon1 {
  width: 35px;
  height: 25px;
  position: relative;
  margin-left: auto;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  top: 6px;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: var(--yellow);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  right: 20px;
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 10px;
}

#nav-icon1 span:nth-child(3) {
  top: 20px;
}

#nav-icon1.open span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}



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

/* header */

.top {
  background-color: white;
  position: fixed;
  width: 100%;
  z-index: 999;
}

.top.scroll {
  background-color: white;
}

.logo-top-head {
  max-width: 240px;
}

.header-container {
  padding-top: 35px;
  padding-bottom: 35px;
}

.top .main-menu a:hover {
  color: var(--yellow);
}

/* menu */

.main-menu a {
  color: black;
  font-size: 1rem;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 500;
}

.main-menu .current-menu-item a {
  border-bottom: 3px solid var(--yellow);
}

.top.scroll .main-menu a {
  color: black;
}

.menu {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}

.menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-end;
  list-style-type: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  margin-block-start: 0;
}

.menu li:not(:last-child) {
  margin-right: 40px;
}

.menu-mobile {
  display: none;
}

/* home */

.home.main {
  padding-top: 0;
}

.home .top {
  background-color: rgb(70 70 70 / 55%);
}

.home .top.scroll {
  background-color: white;
}

.home .top .main-menu a {
  color: white;
}

.logo-top-head .st5 {
  fill: black;
}

.home .logo-top-head .st0,
.home .logo-top-head .st1,
.home .logo-top-head .st2,
.home .logo-top-head .st3,
.home .logo-top-head .st5 {
  fill: white;
}


.home .scroll .logo-top-head .st0,
.home .scroll .logo-top-head .st1,
.home .scroll .logo-top-head .st5 {
  fill: black;
}

.home .scroll .logo-top-head .st2,
.home .scroll .logo-top-head .st3 {
  fill: #cac8c8;
}

.home .slide-wrap,
.home .slide-caption .container,
.home .flexslider .slides,
.home .flex-viewport,
.home .slide-wrap .slide {
  height: 50vw;
  position: relative;
  min-height: 500px;
}

.home .slide-wrap .flex-direction-nav {
  position: absolute;
  width: 200px;
  bottom: 050px;
  background-color: transparent;
  height: 80px;
  z-index: 10;
  left: 80%;
}

.home .slide-wrap .flex-direction-nav a {
  display: block;
  opacity: 1;
  text-shadow: none;
  margin: -20px 10px 0;
  text-shadow: none;
  width: 60px;
  height: 60px;
}

.home .slide-wrap .flex-direction-nav a:before {
  content: '';
  background-image: url(./images/svg/freccia-bianca.svg);
  height: 60px;
  width: 60px;
  border: 1px solid white;
  padding: 10px;
}

.home .slide-wrap .flex-direction-nav .flex-prev:before {
  transform: rotate(180deg);
}

.home .flexslider:hover .flex-direction-nav .flex-next {
  opacity: 1;
  right: 0;
}

.home .flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 1;
  left: 0;
}

.home .chi-siamo {
  background-color: var(--lightgray);
  padding: 80px 0;
}

.studio .frase-studio,
.home .chi-siamo .frase {
  font-weight: 600;
  font-size: calc(1.4rem + 1vw);
  max-width: 80%;
  margin: 0 auto 150px;
}

.studio .frase-studio strong,
.home .chi-siamo .frase strong {
  font-weight: 600;
  box-shadow: inset 0 -0.45em 0 var(--yellow);
}

.home .progetti-evidenza {
  background-color: var(--darkgray);
  padding: 80px 0;
}

.home .cosa-facciamo {
  padding: 80px 0;
}

.home .chi-siamo,
.home .cosa-facciamo {
  overflow: hidden;
}

.home .cosa-facciamo .thumb-facciamo {
  width: 100%;
  height: 350px;
}

.home .chi-siamo .thumb-siamo {
  width: 100%;
  height: 350px;
}

.home .chi-siamo h3,
.home .cosa-facciamo h3 {
  color: black;
  font-size: calc(1.6rem + 1vw);
  font-weight: 500;
  margin-bottom: 30px;
}

.home .cosa-facciamo h3 {
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 10px;
}

.home .testo-chisiamo {
  position: relative;
  z-index: 1;
  padding-top: 40px;
}

.home .testo-chisiamo:before {
  content: '';
  display: block;
  width: calc(100% + 50px);
  height: 100%;
  position: absolute;
  top: 0;
  left: -50px;
  border-top: 1px solid black;
  border-left: 1px solid black;
}

.home .progetti-evidenza {
  background-color: var(--gray);
}

.home .ultime-news .title,
.home .progetti-evidenza .title {
  position: relative;
  color: white;
  font-weight: 500;
  font-size: calc(1.5rem + 1vw);
  padding-top: 15px;
  border-top: 1px solid var(--yellow);
  margin-bottom: 50px;
}

.home .ultime-news .title button,
.home .ultime-news .title {
  color: black;
}

.home .ultime-news .title a,
.home .progetti-evidenza .title a {
  font-size: 1rem;
  position: absolute;
  width: fit-content;
  right: 25px;
}

.home .progetti-evidenza .post .thumbnail {
  width: 100%;
  height: 450px;
  position: relative;
  overflow: hidden;
}

.home .progetti-evidenza .post .thumbnail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  transition: filter 0.3s ease, transform 0.3s ease;
  z-index: 0;
}

.home .progetti-evidenza .post:hover .thumbnail::before {
  filter: grayscale(1) blur(2px);
}

.home .progetti-evidenza .post .thumbnail .blog-excerpt {
  display: none;
  position: absolute;
  inset: 0;
  background-color: rgb(255 202 0 / 70%);
  color: white;
  z-index: 2;
}

.home .progetti-evidenza .post:hover .thumbnail .blog-excerpt {
  align-items: center;
  justify-content: center;
  display: flex;
  font-weight: 500;
  flex-direction: column;
}

.home .progetti-evidenza .post:hover .thumbnail .blog-excerpt h4 {
  font-weight: 500;
  margin: 0 0 1px;
}

.home .progetti-evidenza .post:hover .thumbnail .blog-excerpt span {
  display: block;
}

/* chi siamo */

.studio .heading {
  min-height: 600px;
  height: 55vh;
  width: 100%;
  margin-bottom: 60px;
}

.studio .desc {
  margin-bottom: 200px;
}

.studio .thumb-studio {
  width: 100%;
  height: 400px;
  z-index: 2;
  position: relative;
}

.studio .testo-studio {
  position: relative;
  z-index: 1;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 80px;
  color: white;
}

.studio .testo-studio:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -25%;
  z-index: -1;
  background-color: var(--gray);
  height: 100%;
  width: 200%;
}

.studio .team {
  background-color: var(--gray);
  padding-top: 50px;
  padding-bottom: 50px;
  color: white;
}

.studio .team h2 {
  font-weight: 500;
}

.studio .team .row {
  border-bottom: 1px solid var(--yellow);
  padding-top: 50px;
}

.studio .team .box-team {
  margin-bottom: 80px;
}

.studio .team .box-team h3 {
  color: var(--yellow);
  font-size: calc(1rem + 0.6vw);
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

/* blog */

.blog,
.ultime-news {
  background-color: var(--lightgray);
}

.ultime-news {
  padding-top: 80px;
  padding-bottom: 50px;
  margin-bottom: 80px;
}

.blog h1,
.contatti h1,
.ultime-news h1,
.ultime-news h2.section-title {
  text-align: center;
  text-transform: inherit;
  font-size: calc(2rem + 1vw);
  font-weight: 500;
  padding-bottom: 20px;
  border-bottom: 1px solid black;
  margin-bottom: 50px;
}

.blog .post-image,
.ultime-news .post-image {
  height: 280px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog .post-info,
.ultime-news .post-info {
  padding-bottom: 10px;
  border-bottom: 1px solid black;
  margin-bottom: 50px;
  position: relative;
}

.blog .post-info .post-cta,
.ultime-news .post-info .post-cta {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 30px;
  height: 30px;
  text-decoration: none;
}

.blog .post-info .post-cta::before,
.ultime-news .post-info .post-cta::before {
  content: '\f345';
  font-family: 'Dashicons';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--yellow);
  color: black;
  font-size: 20px;
  line-height: 1;
}

.blog .post-info .meta,
.ultime-news .post-info .meta {
  margin-top: 20px;
  margin-bottom: 2px;
  color: var(--yellow);
  font-size: 0.9rem;
}

.blog .post-info h2,
.ultime-news .post-info h2 {
  font-size: 1rem;
  font-weight: 500;
  padding-right: 45px;
}

.blog .post-info h2 a,
.ultime-news .post-info h2 a {
  color: black;
  text-decoration: none;
}

.blog .post-info h2 a:hover,
.ultime-news .post-info h2 a:hover {
  text-decoration: none;
}

.article .heading {
  margin-bottom: 50px;
}

.article .heading h1 {
  font-size: calc(2rem + 1.5vw);
  font-weight: 500;
  padding-bottom: 30px;
  border-bottom: 1px solid black;
  margin-bottom: 15px;
  text-transform: inherit;
  text-align: center;
}

.article .heading .meta {
  color: var(--yellow);
  font-size: 0.9rem;
  text-align: center;
}

.article .content {
  margin-bottom: 100px;
}

.article .content .image-post {
  width: 100%;
  height: 550px;
  margin-bottom: 50px;
}

.article .content h2 {
  color: black;
  font-size: calc(1rem + 1vw);
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 30px;
  text-transform: inherit;
}

.article .content h3 {
  color: var(--yellow);
  font-size: calc(1rem + 0.5vw);
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 20px;
  text-transform: inherit;
}

/* portfolio */

.loop-widget.row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  margin-top: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.portfolio .loop-widget.row a {
  color: black;
  text-transform: uppercase;
}

.portfolio .loop-widget.row .active a {
  color: var(--yellow);
}

.portfolio .loop .post {
  margin-bottom: 50px;
}

.portfolio .loop .post .thumbnail {
  width: 100%;
  height: 280px;
  filter: grayscale(1);
  transition: all 0.3s ease;
}

.portfolio .loop .post:hover .thumbnail {
  filter: grayscale(0);
  transition: all 0.3s ease-out;
}

.portfolio .loop .post .blog-excerpt {
  margin-top: 10px;
}

.portfolio .loop .post .blog-excerpt h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 5px;
  color: black;
  text-align: left;
  text-transform: inherit;
}

.single.portfolio .heading {
  height: 44vw;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}

.single.portfolio .title {
  margin-bottom: 20px;
}

.single.portfolio .dettagli {
  padding-top: 50px;
  padding-bottom: 100px;
  background-color: var(--gray);
  color: white;
}

.single.portfolio .title span {
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
  font-size: 0.9rem;
}

.single.portfolio .title h1 {
  color: var(--yellow);
  text-transform: inherit;
  font-size: calc(1.2rem + 1.2vw);
}

.single.portfolio .details {
  border-top: 1px solid var(--yellow);
}

.single.portfolio .details-right {
  border-left: 1px solid var(--yellow);
  padding-top: 30px;
  padding-left: 20px;
}

.single.portfolio .details-right i {
  color: var(--yellow);
  font-style: normal;
  display: block;
}

.single.portfolio .details .content {
  padding-right: 15%;
  padding-top: 30px;
}

.single.portfolio .galleria {
  padding-top: 80px;
  padding-bottom: 80px;
}

.single.portfolio .galleria .the-gallery {
  row-gap: 30px;
}

.single.portfolio .galleria .gallery-item {
  margin-bottom: 0;
}

.single.portfolio .galleria .gallery_image {
  display: block;
  width: 100%;
  text-decoration: none;
}

.single.portfolio .galleria .image-progetto {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Prime due immagini */
.single.portfolio .galleria .gallery-item--large-left .image-progetto,
.single.portfolio .galleria .gallery-item--small-right .image-progetto {
  height: 500px;
}

/* Immagine full width centrale */
.single.portfolio .galleria .gallery-item--full .image-progetto {
  height: 600px;
}

/* Ultime due immagini */
.single.portfolio .galleria .gallery-item--small-left .image-progetto,
.single.portfolio .galleria .gallery-item--large-right .image-progetto {
  height: 500px;
}

.single.portfolio .galleria .video {
  margin-top: 50px;
}

.single.portfolio .galleria .video button:before {
  display: none;
}

/* servizi */

.servizi .heading h1 {
  font-size: calc(2rem + 1.5vw);
  font-weight: 500;
  padding-bottom: 30px;
  border-bottom: 1px solid black;
  margin-bottom: 15px;
  text-transform: inherit;
  text-align: center;
}

.servizi .testo-servizi {
  font-size: calc(1rem + 0.2vw);
  color: black;
  padding-right: 40px;
}

.servizi div#animazione-servizi {
  padding-bottom: 80px;
  padding-top: 40px;
}

.servizi .servizi-divider {
  background-color: var(--lightgray);
  padding-top: 80px;
  padding-bottom: 60px;
}

.servizi .servizi-divider .servizi-divider-box {
  background-color: var(--gray);
  color: white;
  padding: 30px;
}

.servizi .servizi-divider .servizi-divider-item a {
  margin-top: 18px;
  display: table;
  margin-left: auto;
  position: relative;
  padding: 8px 20px;
  background-color: transparent;
  color: black;
  font-weight: 600;
  text-decoration: none;
}

.servizi .servizi-divider .servizi-divider-item a:before {
  content: '\f345';
  font-family: 'Dashicons';
  position: absolute;
  top: 50%;
  left: -18px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--yellow);
  color: #000;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
}

.servizi .servizi-divider .servizi-divider-box h3 {
  color: var(--yellow);
  font-weight: 600;
  font-size: calc(1rem + 0.2vw);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.servizi .servizi-loop {
  background-color: var(--gray);
}

.servizi .processo-steps {
  padding: 80px 0 40px;
}

.servizi .processo-step {
  margin-bottom: 90px;
}

.servizi .processo-step-inner {
  gap: 30px;
}

.servizi .processo-step-number {
  flex: 0 0 70px;
  font-size: 72px;
  line-height: 1;
  font-weight: 700;
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 35px;
}

.servizi .processo-step-content-wrap {
  flex: 1;
}

.servizi .processo-step-box {
  border: 1px solid var(--lightgray);
  padding: 32px 34px;
  min-height: 170px;
  display: flex;
  align-items: center;
}

.servizi .processo-step-box-inner {
  gap: 28px;
  width: 100%;
}

.servizi .processo-step-icon {
  flex: 0 0 90px;
  max-width: 90px;
}

.servizi .processo-step-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.servizi .processo-step-text {
  flex: 1;
}

.servizi .processo-step-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  color: #f5c400;
}

.servizi .processo-step-excerpt {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.7;
}

.servizi .processo-step-excerpt p:last-child {
  margin-bottom: 0;
}

.servizi .processo-step-link {
  margin-top: 18px;
  display: table;
  margin-left: auto;
  position: relative;
  padding: 8px 20px;
  background-color: transparent;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.servizi .processo-step-link::before {
  content: '\f345';
  font-family: 'Dashicons';
  position: absolute;
  top: 50%;
  left: -18px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--yellow);
  color: #000;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
}

.servizi .processo-step-link:hover,
.servizi .processo-step-link:focus {
  color: #fff;
  text-decoration: none;
}

.servizio .thumbnail {
  width: 100%;
  height: 400px;
  z-index: 2;
  position: relative;
}

.servizio .titolo {
  margin-top: 50px;
  padding-bottom: 20px;
  margin-bottom: 50px;
  border-bottom: 1px solid black;
  z-index: 2;
}

.servizio .titolo h1 {
  font-size: calc(2rem + 1vw);
  font-weight: 500;
  text-transform: inherit;
}

.servizio .titolo .icon {
  height: 100px;
  width: 100px;
  margin-right: 20px;
}

.servizio .testo {
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
  padding: 50px 0px 50px 100px;
}

.servizio .testo:before {
  content: '';
  display: block;
  position: absolute;
  bottom: -170px;
  left: 0;
  z-index: -1;
  background-color: var(--lightgray);
  height: 100vh;
  width: 200%;
}

.servizio #anim-servizio {
  padding-left: 15%;
  padding-right: 15%;
  margin-bottom: 50px;
}

/* contatti */

.contatti .mappa {
  margin-bottom: 80px;
}

.contatti .contatti-info {
  margin-top: 50px;
  padding-right: 50px;
}

.contatti .contatti-info h4 {
  font-weight: 600;
  color: var(--yellow);
  text-align: inherit;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 15px;
}

.contatti .contatti-info strong {
  font-weight: 600;
  color: var(--yellow);
}

.contatti .contatti-info a {
  color: black;
  text-decoration: underline;
}

.contatti .contatti-form {
  border-top: 1px solid black;
  border-left: 1px solid black;
  padding: 45px;
  color: black;
}

.contatti .contatti-form h3 {
  color: var(--yellow);
  font-weight: 600;
  text-align: inherit;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--yellow);
  margin-bottom: 30px;
}

.contatti .info {
  margin-bottom: 100px;
}

/* footer */

footer {
  background-color: white;
  color: black;
  z-index: 2;
  position: relative;
}

.footer {
  border-top: 1px solid black;
}

.footer p {
  margin-bottom: 0;
}

.footer .footer-dati {
  padding-top: 15px;
  padding-bottom: 15px;
  color: black;
}

.footer a {
  color: black;
  text-decoration: underline;
}

.footer .logo-footer {
  max-width: 240px;
}

.footer .logo-footer .log1,
.footer .logo-footer .log2,
.footer .logo-footer .log3,
.footer .logo-footer .log4 {
  fill: white;
}

.footer .footer-bottom {
  background-color: var(--yellow);
  padding: 10px 0;
}

.footer .footer-bottom p {
  color: black;
  text-align: center;
  font-size: 0.8rem;
}

.footer .footer-bottom a {
  color: white;
  text-decoration: underline;
}

.footer .footer-social {
  display: flex;
  justify-content: flex-end;
}

.footer .footer-social .social {
  margin-right: 10px;
}

.footer .footer-social .social .icon {
  height: 24px;
  width: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* boxed */

.boxed {
  padding-top: 20px;
}

.boxed .box {
  color: white;
  padding: 40px 120px;
  display: inline-flex;
  width: 100%;
  margin-bottom: 80px;
  align-items: center;
  justify-content: space-between;
  background-color: var(--gray);
}

button {
  margin-top: 0;
  background-color: transparent;
  color: white;
  font-weight: 600;
  border: 0;
  padding: 8px 20px;
  position: relative;
}

button:before {
  content: '\f345';
  font-family: 'Dashicons';
  display: block;
  background-color: var(--yellow);
  position: absolute;
  height: 30px;
  width: 30px;
  bottom: 3px;
  left: -18px;
  color: black;
  font-weight: 300;
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boxed .box h5 {
  font-size: calc(1.3rem + 0.5vw);
  max-width: 65%;
  min-width: 0;
  font-weight: 600;
}

.boxed .box a {
  display: block;
}

/* notfound */

.notfound {
  background-color: var(--gray);
  text-align: center;
  padding-bottom: 10vw;
  position: relative;
  z-index: 1;
}

.notfound:before {
  content: '';
  display: block;
  height: 10vw;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(/img/svg/pattern-225.svg);
  background-size: cover;
  background-position: center;
  background-repeat: repeat-x;
  z-index: -1;
}

.notfound h2 {
  padding-bottom: 30px;
  border-bottom: 2px solid var(--yellow);
  padding-top: 5vw;
  font-size: 3.1rem;
  text-transform: uppercase;
  max-width: 70%;
  color: white;
  margin: 0 auto;
  font-weight: 500;
}

.notfound h1 {
  color: var(--yellow);
  text-transform: uppercase;
  font-size: calc(2rem + 1.5vw);
  margin-top: 3vw;
  font-weight: 500;
  margin-bottom: 60px;
}

.notfound h1 span {
  font-size: calc(9.5rem + 2.5vw);
  text-transform: uppercase;
  font-weight: 500;
}

/* media queries incasinate */

/* ---------- <= 1199.98px ---------- */
@media (max-width: 1199.98px) {
  .main {
    padding-top: 105px;
  }

  .header-container {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .logo-top-head,
  .footer .logo-footer {
    max-width: 190px;
  }

  .menu-mobile {
    top: 0;
    right: 0;
    padding-top: 120px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .menu-mobile .menu-contain {
    width: 100%;
    padding: 0 24px 40px;
  }

  .menu-mobile .menu-contain>ul>li>a {
    width: 100%;
    padding: 12px 0;
    font-size: 2rem;
    line-height: 1.2;
  }

  .menu .sub-menu {
    width: 100%;
    padding: 10px 0;
  }

  .menu-contain .main-menu .sub-menu li a {
    font-size: 1rem;
    line-height: 1.4;
    padding: 8px 0;
  }

  .home .slide-wrap,
  .home .slide-caption .container,
  .home .flexslider .slides,
  .home .flex-viewport,
  .home .slide-wrap .slide {
    height: 62vw;
    min-height: 420px;
  }

  .home .slide-wrap .flex-direction-nav {
    left: auto;
    right: 30px;
    bottom: 30px;
    width: 150px;
    height: 60px;
  }

  .home .slide-wrap .flex-direction-nav a,
  .home .slide-wrap .flex-direction-nav a:before {
    width: 48px;
    height: 48px;
  }

  .home .chi-siamo .frase {
    max-width: 100%;
    margin-bottom: 90px;
  }

  .home .chi-siamo,
  .home .cosa-facciamo,
  .home .progetti-evidenza,
  .ultime-news {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .home .chi-siamo .thumb-siamo,
  .home .cosa-facciamo .thumb-facciamo {
    height: 320px;
  }

  .home .testo-chisiamo:before {
    width: 100%;
    left: 0;
  }

  .home .progetti-evidenza .post .thumbnail {
    height: 360px;
  }

  .home .ultime-news .title,
  .home .progetti-evidenza .title {
    padding-right: 180px;
  }

  .boxed .box {
    padding: 32px 40px;
  }

  .boxed .box h5 {
    max-width: 62%;
  }

  .article .content .image-post {
    height: 420px;
  }

  .single.portfolio .heading {
    min-height: 420px;
  }

  .servizio .thumbnail {
    height: 320px;
  }

  .servizio .testo {
    padding: 40px 0 40px 40px;
  }

  .servizio #anim-servizio {
    padding-left: 5%;
    padding-right: 5%;
  }

  .contatti .contatti-info {
    padding-right: 0;
  }

  .footer .footer-dati {
    row-gap: 20px;
  }
}


/* ---------- <= 991.98px ---------- */
@media (max-width: 991.98px) {
  html {
    font-size: 17px;
  }

  .main {
    padding-top: 92px;
  }

  .loop {
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .header-container {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .logo-top-head,
  .footer .logo-footer {
    max-width: 250px;
  }

  #nav-icon1 {
    width: 32px;
    height: 22px;
    top: 2px;
  }

  #nav-icon1 span {
    height: 3px;
  }

  #nav-icon1 span:nth-child(2) {
    top: 9px;
  }

  #nav-icon1 span:nth-child(3) {
    top: 18px;
  }

  #nav-icon1.open span:nth-child(1),
  #nav-icon1.open span:nth-child(3) {
    top: 9px;
  }

  .home .slide-wrap,
  .home .slide-caption .container,
  .home .flexslider .slides,
  .home .flex-viewport,
  .home .slide-wrap .slide {
    height: 72vw;
    min-height: 340px;
  }

  .home .slide-wrap .flex-direction-nav {
    right: 20px;
    bottom: 20px;
    width: 120px;
    height: 48px;
  }

  .home .slide-wrap .flex-direction-nav a,
  .home .slide-wrap .flex-direction-nav a:before {
    width: 42px;
    height: 42px;
  }

  .home .chi-siamo,
  .home .cosa-facciamo,
  .home .progetti-evidenza,
  .ultime-news {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .home .chi-siamo .frase {
    font-size: calc(1.15rem + 1vw);
    margin-bottom: 60px;
  }

  .home .chi-siamo h3,
  .home .cosa-facciamo h3 {
    font-size: calc(1.25rem + 1vw);
    margin-bottom: 20px;
  }

  .home .chi-siamo .thumb-siamo,
  .home .cosa-facciamo .thumb-facciamo {
    height: 280px;
    margin-bottom: 30px;
  }

  .home .testo-chisiamo {
    padding-top: 10px;
  }

  .home .testo-chisiamo:before {
    border-left: 0;
    border-top: 1px solid black;
    height: calc(100% + 15px);
  }

  .home .ultime-news .title,
  .home .progetti-evidenza .title {
    font-size: calc(1.25rem + 1vw);
    padding-right: 0;
    display: block;
  }

  .home .ultime-news .title a,
  .home .progetti-evidenza .title a {
    position: static;
    display: inline-block;
    margin-top: 14px;
    right: auto;
  }

  .home .progetti-evidenza .post .thumbnail {
    height: 320px;
  }

  .home .progetti-evidenza .post {
    margin-bottom: 50px;
  }

  .blog h1,
  .contatti h1,
  .ultime-news h1,
  .ultime-news h2.section-title,
  .article .heading h1,
  .servizio .titolo h1,
  .servizi .heading h1 {
    font-size: calc(1.5rem + 1vw);
  }

  .blog .post-image,
  .ultime-news .post-image,
  .portfolio .loop .post .thumbnail {
    height: 240px;
  }

  .article .content .image-post {
    height: 340px;
    margin-bottom: 30px;
  }

  .article .content {
    margin-bottom: 70px;
  }

  .single.portfolio .heading {
    height: 56vw;
    min-height: 320px;
  }

  .loop-widget.row {
    row-gap: 10px;
    margin-top: 30px;
  }

  .servizio .thumbnail {
    height: 280px;
  }

  .servizio .titolo {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .servizio .testo {
    padding: 30px 0;
    margin-bottom: 30px;
  }

  .servizio .testo:before {
    bottom: -60px;
    height: calc(100% + 60px);
    width: 100%;
  }

  .contatti .mappa {
    margin-bottom: 50px;
  }

  .contatti .contatti-info,
  .contatti .contatti-form {
    margin-top: 0;
  }

  .contatti .contatti-form {
    padding: 30px 24px;
  }

  .contatti .info {
    margin-bottom: 70px;
  }

  .boxed .box {
    padding: 28px 28px;
    margin-bottom: 60px;
    gap: 25px;
  }

  .boxed .box h5 {
    max-width: 100%;
    font-size: calc(1.1rem + 0.5vw);
  }

  .footer .footer-dati {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .footer .footer-social {
    justify-content: flex-start;
  }

  .menu-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--yellow);
    z-index: 9998;
    padding-top: 95px;
    padding-bottom: 30px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .menu-mobile.menu-ham {
    display: block;
  }

  .menu-mobile .menu-contain {
    width: 100%;
    padding: 0 22px;
  }

  .menu-mobile .menu-contain>ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
  }

  .menu-mobile .menu-contain>ul>li {
    margin: 30px;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  .menu-mobile .menu-contain>ul>li>a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 1.8rem;
    line-height: 1.15;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
  }

  .menu-mobile .menu-contain>ul>li>a:hover,
  .menu-mobile .menu-contain>ul>li>a:focus {
    color: #000;
    text-decoration: none;
  }

  .menu-mobile .menu-contain .sub-menu {
    margin: 0 0 14px 0;
    padding: 0;
    list-style: none;
  }

  .menu-mobile .menu-contain .sub-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .menu-mobile .menu-contain .sub-menu li a {
    display: block;
    padding: 6px 0 6px 14px;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    opacity: 0.9;
  }

  .menu-mobile .menu-contain .sub-menu li a:hover,
  .menu-mobile .menu-contain .sub-menu li a:focus {
    color: #000;
    text-decoration: none;
    opacity: 1;
  }

  #nav-icon1 {
    position: relative;
    z-index: 9999;
  }

  .home .top,
  .top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10001;
    background-color: black;
  }

  .logo-top-head .st0,
  .logo-top-head .st1,
  .logo-top-head .st2,
  .logo-top-head .st3,
  .logo-top-head .st5 {
    fill: white;
  }

  .header-container {
    position: relative;
    z-index: 10002;
  }

  .menu-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--yellow);
    z-index: 9998;
    padding-top: 95px;
    padding-bottom: 30px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .menu-mobile.menu-ham {
    display: block;
  }

  .logo-top-head,
  #nav-icon1 {
    position: relative;
    z-index: 10003;
  }

}


/* ---------- <= 767.98px ---------- */
@media (max-width: 767.98px) {
  html {
    font-size: 16px;
  }

  .main {
    padding-top: 84px;
  }

  .no-padding {
    padding-left: 15px;
    padding-right: 15px;
  }

  .loop {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .header-container {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .logo-top-head,
  .footer .logo-footer {
    max-width: 145px;
  }

  .menu-mobile {
    padding-top: 95px;
  }

  .menu-mobile .menu-contain>ul>li>a {
    font-size: 1.5rem;
    padding: 10px 0;
  }

  .home .slide-wrap,
  .home .slide-caption .container,
  .home .flexslider .slides,
  .home .flex-viewport,
  .home .slide-wrap .slide {
    height: 88vw;
    min-height: 280px;
  }

  .home .slide-wrap .flex-direction-nav {
    right: 16px;
    bottom: 16px;
    width: 104px;
    height: 42px;
  }

  .home .slide-wrap .flex-direction-nav a,
  .home .slide-wrap .flex-direction-nav a:before {
    width: 36px;
    height: 36px;
  }

  .home .chi-siamo,
  .home .cosa-facciamo,
  .home .progetti-evidenza,
  .ultime-news {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .home .chi-siamo .frase {
    font-size: 1.8rem;
    line-height: 1.35;
  }

  .home .chi-siamo h3,
  .home .cosa-facciamo h3 {
    font-size: 1.6rem;
  }

  .home .chi-siamo .thumb-siamo,
  .home .cosa-facciamo .thumb-facciamo,
  .home .progetti-evidenza .post .thumbnail {
    height: 240px;
  }

  .home .ultime-news .title,
  .home .progetti-evidenza .title {
    margin-bottom: 30px;
  }

  .home .progetti-evidenza .post:hover .thumbnail .blog-excerpt {
    padding: 16px;
    text-align: center;
  }

  .home .progetti-evidenza .post:hover .thumbnail .blog-excerpt h4 {
    font-size: 1rem;
  }

  .blog h1,
  .contatti h1,
  .ultime-news h1,
  .ultime-news h2.section-title,
  .article .heading h1,
  .servizio .titolo h1,
  .servizi .heading h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 30px;
    padding-bottom: 15px;
  }

  .blog .post-image,
  .ultime-news .post-image,
  .portfolio .loop .post .thumbnail {
    height: 220px;
  }

  .blog .post-info,
  .ultime-news .post-info {
    margin-bottom: 35px;
  }

  .blog .post-info h2,
  .ultime-news .post-info h2 {
    padding-right: 42px;
  }

  .article .heading {
    margin-bottom: 30px;
  }

  .article .content .image-post {
    height: 240px;
  }

  .article .content h2 {
    font-size: 1.5rem;
  }

  .article .content h3 {
    font-size: 1.2rem;
  }

  .loop-widget.row {
    display: block;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .loop-widget.row>div,
  .loop-widget.row>a {
    width: 100%;
    margin-bottom: 10px;
  }

  .single.portfolio .heading {
    height: 75vw;
    min-height: 260px;
  }

  .single.portfolio .galleria {
    margin-bottom: 40px;
  }

  .servizio .thumbnail {
    height: 220px;
  }

  .servizio .titolo {
    display: block !important;
    padding-bottom: 15px;
  }

  .servizio .titolo .icon {
    width: 72px;
    height: 72px;
    margin-right: 0;
    margin-bottom: 16px;
  }

  .servizio .testo {
    padding: 20px 0;
  }

  .servizio #anim-servizio {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 30px;
  }

  .contatti .contatti-info h4,
  .contatti .contatti-form h3 {
    padding-bottom: 12px;
    margin-bottom: 18px;
  }

  .contatti .contatti-form {
    padding: 24px 18px;
  }

  .footer .footer-dati {
    display: block !important;
  }

  .footer .footer-dati>div {
    width: 100%;
    max-width: 100%;
    margin-bottom: 18px;
  }

  .footer .footer-social {
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
  }

  .footer .footer-social .social {
    margin-right: 14px;
    margin-bottom: 10px;
  }

  .boxed {
    padding-top: 0;
  }

  .boxed .box {
    display: block;
    padding: 24px 20px;
    margin-bottom: 40px;
  }

  .boxed .box h5 {
    margin-bottom: 20px;
    font-size: 1.35rem;
    line-height: 1.35;
  }

  .boxed .box a {
    display: inline-block;
  }

  .notfound {
    padding-bottom: 60px;
  }

  .notfound h2 {
    max-width: 100%;
    font-size: 2rem;
  }

  .notfound h1 {
    font-size: 1.7rem;
    margin-bottom: 30px;
  }

  .notfound h1 span {
    font-size: 5rem;
  }
}


/* ---------- <= 575.98px ---------- */
@media (max-width: 575.98px) {
  .main {
    padding-top: 64px;
  }

  .header-container {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .logo-top-head,
  .footer .logo-footer {
    max-width: 210px;
  }

  .heading {
    padding-top: 50px;
  }

  #nav-icon1 {
    width: 28px;
    height: 20px;
  }

  #nav-icon1 span:nth-child(2) {
    top: 8px;
  }

  #nav-icon1 span:nth-child(3) {
    top: 16px;
  }

  #nav-icon1.open span:nth-child(1),
  #nav-icon1.open span:nth-child(3) {
    top: 8px;
  }

  .menu-mobile {
    padding-top: 82px;
  }

  .menu-mobile .menu-contain {
    padding-left: 16px;
    padding-right: 16px;
  }

  .menu-mobile .menu-contain>ul>li>a {
    font-size: 1.25rem;
  }

  .home .slide-wrap,
  .home .slide-caption .container,
  .home .flexslider .slides,
  .home .flex-viewport,
  .home .slide-wrap .slide {
    height: 100vw;
    min-height: 240px;
  }

  .home .slide-wrap .flex-direction-nav {
    width: 90px;
    right: 12px;
    bottom: 12px;
  }

  .home .slide-wrap .flex-direction-nav a,
  .home .slide-wrap .flex-direction-nav a:before {
    width: 30px;
    height: 30px;
  }

  .home .chi-siamo,
  .home .cosa-facciamo,
  .home .progetti-evidenza,
  .ultime-news {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .home .chi-siamo .frase {
    font-size: 1.45rem;
  }

  .home .chi-siamo h3,
  .home .cosa-facciamo h3 {
    font-size: 1.35rem;
  }

  .home .chi-siamo .thumb-siamo,
  .home .cosa-facciamo .thumb-facciamo,
  .home .progetti-evidenza .post .thumbnail,
  .blog .post-image,
  .ultime-news .post-image,
  .portfolio .loop .post .thumbnail,
  .single.portfolio .galleria .gallery-item--large-left .image-progetto,
  .single.portfolio .galleria .gallery-item--small-right .image-progetto,
  .single.portfolio .galleria .gallery-item--full .image-progetto,
  .single.portfolio .galleria .gallery-item--small-left .image-progetto,
  .single.portfolio .galleria .gallery-item--large-right .image-progetto {
    height: 200px;
  }

  .home .ultime-news .title,
  .home .progetti-evidenza .title {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .home .ultime-news .title a,
  .home .progetti-evidenza .title a {
    font-size: 0.95rem;
  }

  .blog h1,
  .contatti h1,
  .ultime-news h1,
  .ultime-news h2.section-title,
  .article .heading h1,
  .servizio .titolo h1,
  .servizi .heading h1 {
    font-size: 1.7rem;
  }

  .blog .post-info .meta,
  .ultime-news .post-info .meta,
  .article .heading .meta {
    font-size: 0.8rem;
  }

  .blog .post-info h2,
  .ultime-news .post-info h2 {
    font-size: 0.95rem;
  }

  .article .content .image-post {
    height: 200px;
  }

  .article .content {
    margin-bottom: 50px;
  }

  .single.portfolio .heading {
    height: 90vw;
    min-height: 220px;
  }

  .servizio .thumbnail {
    height: 190px;
  }

  .servizio .titolo .icon {
    width: 60px;
    height: 60px;
  }

  .contatti .mappa {
    margin-bottom: 35px;
  }

  .contatti .contatti-form {
    padding: 20px 14px;
  }

  input,
  textarea {
    font-size: 0.95rem;
  }

  input[type=submit] {
    width: 100%;
    float: none;
  }

  .boxed .box {
    padding: 20px 16px;
  }

  .boxed .box h5 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  button {
    padding: 8px 16px;
  }

  button:before {
    width: 28px;
    height: 28px;
    left: -16px;
    bottom: 2px;
    font-size: 18px;
  }

  .footer .footer-bottom p,
  .footer .footer-bottom .iva {
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
  }

  .notfound h2 {
    font-size: 1.6rem;
  }

  .notfound h1 {
    font-size: 1.35rem;
  }

  .notfound h1 span {
    font-size: 4rem;
  }
}