@charset "utf-8";

/* ***********************
fattori CSS
+++++++++++++++++++++++++ */


html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: #414042;
    font-size: 15px;
    color: var(--maincolor);
    overflow-x: hidden;
}

body p {
    color: var(--maincolor);
    font-weight: 300;
    font-size: 18px;
    line-height: 150%;
}

a {
    text-decoration: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

a:hover {
    text-decoration: inherit;
    color: inherit;
}


p {
    padding: 0;
    margin: 0;
    color: gray;
}


button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
}


/* CONTAINERS */

div {
  scroll-margin-top: 100px;
}

section {
    width: 100%;
    height: auto;
    position: relative;
    scroll-margin-top: 100px;
}

.container-100 {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.container-80 {
    width: 80%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.container-60 {
    width: 60%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* DEFAULT SECTIONS PADDING */

.padding-5 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.padding-15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.padding-30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.padding-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.padding-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.padding-120 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.padding--vh {
    padding: 10vh 0;
}

.padding-top--vh {
    padding-top: 10vh;
}

.padding-bottom--vh {
    padding-bottom: 10vh;
}

.padding-top-azienda {
    padding-top: 18vh;
}

.padding-mid--vh {
    padding: 5vh 0;
}

.padding--hero {
    padding: 15vh 0;
}

.margin-top--vh {
  margin-top: 5vh;
}

.text-align-center {
  text-align: center;
}

.text-align-left {
  text-align: left;
}

.text-align-right {
  text-align: right;
}

.only-mobile {
  display: none;
}

@media screen and (max-width:990px) {
  .only-mobile {
    display: block !important;
  }

  .entry-page div:nth-child(1) {
    flex-direction: column;
}

p.only-mobile {
    color: var(--secondcolor);
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    z-index: 9;
}



}


/* ANIMAZIONI CSS */

.animazione--appare--up {
    animation: animazione--appare--up 1.75s ease;
    z-index: 1;
}

@keyframes animazione--appare--up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    20% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

.animazione--appare {
    animation: animazione--appare 1.75s ease;
}

@keyframes animazione--appare {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

}

.animazione--appare--slide {
    animation: animazione--appare--slide 1.75s ease;
}

@keyframes animazione--appare--slide {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    20% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }

}


h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 6vh;
    line-height: 150%;
}

h2 {
font-family: "Poppins", sans-serif;
}

h3 {
  font-family: "Poppins", sans-serif;
}

h4 {
font-family: "Poppins", sans-serif;
}

h5 {
font-family: "Poppins", sans-serif;
}

h6 {
font-family: "Poppins", sans-serif;
}

@media screen and (max-width:768px) {
  h1 {
  font-size: 4vh;
  line-height: 150%;
  margin-bottom: 20px;
}
}


.current-menu-item a {}

.current-menu-item a:before {}


.colore {
    color: var(--maincolor);
}


.padding-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.padding-50--px {
  padding: 50px;
}

.no-padding {
    padding-top: 0px;
    padding-bottom: 0px;
}

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

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

.bottom-10 {
    margin-bottom: 15px;
}

.bottom-15 {
    margin-bottom: 15px;
}

b, strong {
    font-weight: 600;
}

/* MAIN COLORS */


:root {
    --maincolor: #12283D;
    --secondcolor: #ffffff;
    --thirdcolor: #58B1E2;
    --fourthcolor: #ececec;
}

.double-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
}

.cta {
  background-color: transparent;
  width: 230px;
  padding: 10px 15px;
  border-radius: 30px;
  border: 2px solid var(--secondcolor);
  font-weight: 400;
  font-size: 16px;
  color: var(--secondcolor);
  transition: all 0.3s ease;
}

.cta:hover {
  background-color: var(--thirdcolor);
  border: 2px solid var(--thirdcolor);
  transition: all 0.3s ease;
}

.hover-underline-animation {
  position: relative;
  color: var(--secondcolor);
  padding-bottom: 20px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--thirdcolor);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/*============================
CTA PAGE
============================= */

.cta-page {
  padding: 10px 30px;
  border-radius: 30px;
  color: var(--secondcolor) !important;
  background-color: var(--thirdcolor);
  border: 2px solid var(--thirdcolor);
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cta-page:hover {
  background-color: transparent;
  border: 2px solid var(--thirdcolor);
  color: var(--thirdcolor) !important;
  transition: all 0.3s ease;
}

.carousel .cta-page:before {
  display: none;
}


/*============================
BOTTONE
============================= */

.cta-page-button {
    text-align: center;
    margin-top: 50px;
}

.cta-page-button .cta {
    background-color: var(--thirdcolor);
    padding: 1.1em 1.8em;
    border: 1px solid var(--thirdcolor);
    cursor: pointer;
    transition: 0.5s all ease;
}

.cta-page-button .cta:hover {
    background-color: var(--secondcolor);
    padding: 1.1em 1.8em;
    border: 1px solid var(--thirdcolor);
    transition: 0.5s all ease;
}

.cta-page-button .cta:hover .hover-underline-animation {
    color: var(--thirdcolor);
}

.cta-page-button .cta:hover .hover-underline-animation:after {
  transform: scaleX(0);
}

.cta-page-button .cta:hover #Tracciato_44 {
  stroke: var(--thirdcolor) !important;
  transition: 0.5s all ease;
}

.cta-page-button .cta:hover #Linea_3 {
  stroke: var(--thirdcolor) !important;
  transition: 0.2s all ease;
}

.navigazione .cta-page-button {
    text-align: center;
    margin-top: 0px;
    width: 25%;
}

.navigazione .cta-page-button .cta {
  padding: 0.65rem 1.2rem;
}

.navigazione .cta span {
    font-size: 1rem;
}

.page-template-progetti .cta-page {
    margin-top: 5vh;
}

/*============================
MENU DI NAVIGAZIONE
============================= */

.navigazione {
  height: 90px;
  width: 95%;
  position: fixed;
  top: 3.5%;
  left: 2.5%;
  z-index: 9995;
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -ms-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 5%;
  padding-right: 5%;
  border: 4px solid var(--secondcolor);
  border-radius: 100px;
  color: white;
  -webkit-transition: all 0.55s ease;
  transition: all 0.55s ease;
  background-color: hsl(201.3deg 70.41% 61.57% / 32%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navigazione-logo {
    position: relative;
    height: auto;
    text-align: center;
}

.navigazione-logo img {
  height: 55px;
  width: auto;
  transition: all 0.5s linear;
}

.navigazione--scroll {
  height: 80px;
  border-bottom: 4px solid hsl(0deg 0% 100% / 33%);
}


.navigazione--scroll .navigazione__menu ul li a {
  transition: all 0.5s linear;
}

.navigazione--scroll .navigazione-logo img {
    height: 55px;
    transition: all 0.5s linear;
}


/* hamburger */

#menu-wrapper {
    overflow: hidden;
    max-width: 100%;
    cursor: pointer;
    padding: 0px;
    border-radius: 25%;
    left: auto;
    right: 5%;
    position: absolute;
    z-index: 9999999;
}

#menu-wrapper .hamburger_icon {
  position: relative;
  background-color: transparent;
  width: 30px;
  height: 15px;
  padding: 12px;
  z-index: 9999;
}

#menu-wrapper .hamburger_icon span {
    opacity: 1;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    color: var(--secondcolor);
    background-color: var(--secondcolor);
    position: absolute;
    transform: rotate(0deg);
    transition: .4s ease-in-out;
}

#menu-wrapper .hamburger_icon span:nth-child(1) {
    top: 0;
}
#menu-wrapper .hamburger_icon span:nth-child(2) {
    top: 0px;
}
#menu-wrapper .hamburger_icon span:nth-child(3) {
    top: 10px;
}


#menu-wrapper .hamburger_icon.navigazione__menu-mobile--show span:nth-child(1) {
    transform: translateY(9px) rotate(135deg);
    background-color: var(--maincolor);
}
#menu-wrapper .hamburger_icon.navigazione__menu-mobile--show span:nth-child(2) {
    opacity: 0;
    transform: translateX(-60px);
    background-color: var(--maincolor);
}
#menu-wrapper .hamburger_icon.navigazione__menu-mobile--show span:nth-child(3) {
    transform: translateY(-1px) rotate(-135deg);
    background-color: var(--maincolor);
}

.menu-full {
    position: fixed;
    left: -100%;
    height: 0;
    width: 0;
    visibility: hidden;
    z-index: 15;
}


@media screen and (min-width:990px) {
    #menu-wrapper {
        display: none;
        z-index: 9999;
    }

    .navigazione__menu-mobile {
        display: none;
        z-index: 9999;
    }

    .mobile_socials {
        display: none !important;
        z-index: 9999;
    }

}


.mobile_socials {
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.mobile_socials img {
    height: 30px;
    margin: 0 5px;
}

/* VOCI DI NAVIGAZIONE */

.navigazione__menu {
    position: relative;
    z-index: 100;
    width: 80%;
}

.navigazione__menu ul {
    margin: 0;
    padding: 0;
}

.navigazione__menu ul li {
    display: inline;
    margin: auto 15px;
    position: relative;
}

.navigazione__menu ul li a {
    font-weight: 500;
    font-size: 1rem;
    line-height: 17px;
    text-align: center;
    letter-spacing: 0.02em;
    color: var(--secondcolor);
    font-family: "Poppins", sans-serif;
    padding: 5px 15px;
    border-radius: 30px;
    transition: all 0.7s cubic-bezier(0.17, 0.67, 0.32, 0.87) 0.1s;
}

.navigazione__menu ul li a:hover {
  color: var(--secondcolor);
  background-color: var(--maincolor);
  border-radius: 30px;
  transition: all 0.5s ease;
}

.navigazione--scroll .navigazione__menu ul li a:hover {
  color: var(--thirdcolor) !important;
  transition: all 0.5s ease;
}

.navigazione__menu--appear {
    visibility: visible;
    opacity: 1;
}

.ancora_bianca {
    color: white !important;
    fill: white !important;
}

.navigazione__menu li a {
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
}


.navigazione__menu .menu-item-has-children .sub-menu {
    position: absolute;
    background-color: var(--thirdcolor);
    width: 100%;
    min-width: 230px;
    padding: 0px;
    left: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    margin-top: 10px;
    top: 20px;
    z-index: -1;
    box-shadow: 0px 2px 5px var(--maincolor);
}

.navigazione__menu .menu-item-has-children:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    padding-bottom: 2px;
}


.navigazione__menu .menu-item-has-children .sub-menu li {
    display: block;
    margin-bottom: 5px;
    padding: 15px;
}

.navigazione__menu .menu-item-has-children .sub-menu li a {
    font-size: 15px;
    font-weight: 600;
    color: var(--thirdcolor);
    font-family: "Poppins", sans-serif;
    padding: 15px;
    transition: all 0.7s cubic-bezier(0.17, 0.67, 0.32, 0.87) 0.1s;
}

.navigazione__menu .menu-item-has-children .sub-menu li a:hover {
      color: var(--fifthcolor);
      transition: all 0.53s cubic-bezier(0.17, 0.67, 0.32, 0.87);
}

.navigazione__menu .menu-item-has-children .sub-menu li:last-child {
    margin-bottom: 15px;
}

.navigazione__menu .menu-item-has-children .sub-menu li:first-child {
    margin-top: 15px;
}


.navigazione__menu .menu-item-has-children .sub-menu li:last-child {
    margin-right: 0;
}

.navigazione__menu li.menu-item-has-children ul li {
    text-align: left;
    display: inline;
}


.menu-item-has-children:after {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--fifthcolor);
    border-bottom: 2px solid var(--fifthcolor);
    position: absolute;
    right: -10px;
    content: " ";
    top: 0px;
    transform: rotate(45deg);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.navigazione-logo-mobile {
  display: none;
}

/*
///////////////////////////////
IMPOSTAZIONI NAVIGAZIONE MOBILE
///////////////////////////////
*/

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

    .hamburger {
        display: inherit;
    }

    .navigazione {
      height: 50px;
      position: fixed;
      top: 10px;
      z-index: 9995;
      -webkit-transition: opacity 0.3s ease-in;
      -moz-transition: opacity 0.3s ease-in;
      -ms-transition: opacity 0.3s ease-in;
      -o-transition: opacity 0.3s ease-in;
      transition: opacity 0.3s ease-in;
  }

    .navigazione-logo {
      position: relative;
      top: 0px;
      left: 0;
      z-index: 9999;
    }

    .navigazione-logo img {
      height: 35px;
        width: auto;
        margin-top: 0;
    }

    .navigazione__menu {
        visibility: hidden;
        opacity: 0;
        width: 0 !important;
    }

    .navigazione__menu-mobile {
        display: none;
    }

    .navigazione__menu-mobile--show {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80vh;
        background: rgb(255,255,255);
        background: -moz-linear-gradient(180deg, rgba(255,255,255,0.9472382703081232) 40%, rgba(88,177,226,1) 100%);
        background: -webkit-linear-gradient(180deg, rgba(255,255,255,0.9472382703081232) 40%, rgba(88,177,226,1) 100%);
        background: linear-gradient(180deg, rgba(255,255,255,0.9472382703081232) 40%, rgba(88,177,226,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#58b1e2",GradientType=1);
        opacity: 1;
        visibility: visible;
        animation: border-anim 0.5s 1 ease normal;
        overflow: scroll;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 99999;
        border-radius: 20px;
    }

@-webkit-keyframes border-anim {
 0% {
   transform: translateX(-100%);
 }
 100% {
   transform: translateX(0);
 }
}
@-webkit-keyframes menu-anim {
 0% {
   left: 0;
   bottom: -99%;
   width: 100%;
 }
 33% {
   left: -99.5%;
   bottom: -99%;
   width: 100%;
 }
 66% {
   left: -99.5%;
   bottom: 0;
   width: 100%;
 }
 100% {
   bottom: 0;
   left: 0;
   width: 25%;
 }
}

.navigazione__menu-mobile ul.menu {
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative;
}

.navigazione__menu-mobile ul.menu li {
    display: block;
    margin-right: 0;
    position: relative;
    padding-bottom: 20px;
        padding-left: 20px;
    margin-bottom: 30px;
    margin-left: 0;
    left: 0;
    transition: all 0.7s cubic-bezier(0.17, 0.67, 0.32, 0.87);
    animation: border-anim 0.7s 1 ease normal;
    border-bottom: 2px solid var(--maincolor);
}

.navigazione__menu-mobile ul.menu li:last-child {
  border-bottom: 0px solid var(--maincolor);
}

.navigazione__menu-mobile ul li a {
    font-size: 18px;
    color: var(--maincolor);
    transition: all 0.53s cubic-bezier(0.17, 0.67, 0.32, 0.87);
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}


.navigazione__menu-mobile ul li a:hover:after {
    opacity: 0;
}

.navigazione__menu-mobile ul li a:hover:before {
    content: url(/wp/wp-content/themes/fattori/img/svg/freccia_rossa.svg);
    left: 0;
    margin-right: 15px;
    opacity: 1 !important;
    transition: all 0.7s cubic-bezier(0.17, 0.67, 0.32, 0.87) 0.1s;
}

.navigazione__menu-mobile .menu-item-has-children .sub-menu {
    position: relative;
    min-width: auto;
    padding: 0;
    padding-left: 0px;
    visibility: visible;
    opacity: 1;
    display: none;
    margin-bottom: 10px;
    left: 0px;
    background-color: transparent;
    box-shadow: none;
    margin-top: 0px;
    top: 0;
    transition: all 0.3s linear
}
.sub-menu--show {
    display: block !important;
}


.navigazione__menu-mobile .menu-item-has-children:hover .sub-menu {
    visibility: visible;
    opacity: 1;
}

.navigazione__menu-mobile .menu-item-has-children .sub-menu li {
    display: block;
    margin-bottom: 5px;
    position: relative;
}

.navigazione__menu-mobile .menu-item-has-children .sub-menu li a {
    font-size: 14px;
}

.menu-item-has-children:after {
    width: 10px;
    height: 10px;
    position: absolute;
    right: 0px;
    content: " ";
    top: 5px;
    transform: rotate(45deg);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.navigazione__menu-mobile ul li a:hover {
    transition: all 0.53s cubic-bezier(0.17, 0.67, 0.32, 0.87);
}

.navigazione-logo-mobile--show {
    position: relative;
    display: block !important;
    top: 0px;
    left: 0;
    opacity: 1;
    visibility: visible;
    z-index: 99999;
}

.navigazione-logo-mobile--show img {
    height: 50px;
    padding-top: 10px;
    width: auto;
    margin-top: 0;
}

.mobile-menu {
    position: absolute;
}

.navigazione__menu-mobile .menu_ul {
    margin-top: 140px;
    width: 100%;
    overflow-x: hidden;
}

body p {
    font-size: 2vh;
}


}


/* ====== FINE IMPOSTAZIONI NAVIGAZIONE MOBILE ======== */



.navbar a:after {
    position: absolute;
    bottom: -3px;
    left: 0;
    display: block;
    height: 1px;
    width: 0;
    background: white;
    content: "";
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.navbar a:hover:after {
    width: 100%;
}


.navbar-toggler {
    border: none;
}

.nav-item {
    font-weight: 500;
    font-size: 15px;
    margin: 0;
    padding: 0;
}

/* COLORE MENU ATTIVO NAV */

.active {
    position: relative;
}

.navbar-brand svg {
    height: 65px;
    width: auto;
    margin-top: 5px;
}

dropdown-item {
    background-color: gray !important;
}

.socials--header {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
}

.socials--header svg {
    height: 18px;
    width: auto;
    margin-top: 5px;
    fill: var(--thirdcolor);
}

.socials--header a {
    z-index: 1;
    margin: 0px 10px;
}


.menu_ul img {
    height: 35px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    margin: 0 5px;
}

.social ul li {
  display: inline;
}

/* ==================================
Hero
=====================================
*/

.hero {
  height: 100vh;
  min-height: 100vh;
  color: white;
  position: relative;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero__visual {
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero__content {
  height: 100%;
  width: 100%;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(0 0 0 / 50%) 100%);
}

.hero-testo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  height: 100%;
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

.hero__image {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
}

.testo {
  position: relative;
  width: 80%;
  text-align: center;
  margin: 0 auto;
  bottom: 5vh;
}

.testo-news {
  position: relative;
  width: 80%;
  text-align: center;
  margin: 0 auto;
  bottom: 5vh;
}

.sotto-testo {
  width: 50%;
  padding: 20px;
  text-align: left;
}

.testo-news h1 {
  font-weight: 300;
  font-size: 5vh;
  line-height: 150%;
  margin-bottom: 0;
}

.testo h1 {
  font-weight: 300;
  font-size: 20px;
  line-height: 150%;
  margin-bottom: 5vh;
}

.testo span img {
    height: auto;
    width: 22vw;
    margin-bottom: 3vh;
}

.line-red {
  position: absolute;
  height: 60%;
  width: 5px;
  background-color: var(--thirdcolor);
  bottom: 0;
  left: 5%;
  z-index: 2;
}

.hero-single {
  color: white;
  position: relative;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-single .hero__image {
  position: relative;
  width: 80%;
  height: 100vh;
  top: 0;
  left: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
}

/* ==================================
Hero PAGINA
=====================================
*/

.hero--page {
  position: relative;
  width: 100%;
  height: 80vh;
  margin-bottom: 15vh;
  border-radius: 0 0px 20px 20px;
  box-shadow: 0px 0px 50px var(--maincolor);
}
.hero--page-content {
  position: relative;
}

.hero--page-content h2,
.hero--page-content h1 {
  color: #fff;
}

.hero--page-content h2 {
  text-transform: uppercase;
  font-size: 1.2rem;
}

.hero--page-testo {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero--page-testo .front-p {
    background: linear-gradient(90deg, rgba(255,255,255,0) 5%, rgba(255,255,255,0.5634628851540616) 80%);
}

.hero--page-image {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  position: absolute;
  border-radius: 0 0px 20px 20px;
}

.about {
  position: relative;
  height: 80vh;
  margin-bottom: 15vh;
  margin-top: 15vh;
}

.about video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(18 40 61 / 80%) 100%);  
  border-radius: 0 0px 20px 20px;
}

.arrow-down {
  width: 100%;
  position: absolute;
  bottom: 50px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-30px);
  }
  60% {
      transform: translateY(-15px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}

/* ==================================
ABOUT
=====================================
*/

.box-numbered {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    align-content: flex-start;
    width: 40%;
}

.number {
    color: transparent;
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: var(--thirdcolor);
    font-size: 20vh;
    opacity: 0.5;
    font-weight: 800;
}

.box-numbered-text {
    position: relative;
    top: -5vh;
    left: 5%;
}

.box-numbered-text h3 {
    margin-bottom: 5vh;
}

.backgroud_grey_section svg {
    width: 35vw;
    height: auto;
    position: absolute;
    bottom: -10%;
    right: 0;
}


.news-content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  width: 80%;
  height: 100%;
  background-color: #f1f1f1;
  color: var(--secondcolor);
}

/* ==================================
Sezioni
=====================================
*/

.flex-centrale {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
}

.flex-align-start {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: flex-start;
}

.flex-justify-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.flex-nowrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  gap: 30px;
}

.flex-align-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  align-content: flex-start;
}

.flex-direction-column {
  display: flex;
  flex-direction: column;
}

.contatti_sezione {
    background: rgba(236,236,236,1);
}

.flex-items {
    width: 50%;
}

.map {
    height: 65vh;
}

.contatti_sezione_blocco {
    padding: 0px 50px;
}

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
}

.service {
  position: relative;
  padding: 5%;
  width: 50%;
  height: 60vh;
  background-color: var(--thirdcolor);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.revisioni {
  position: relative;
  padding: 5%;
  width: 50%;
  height: 60vh;
  background-color: var(--maincolor);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service img, .revisioni img {
  position: absolute;
  right: 0;
  height: 50vh;
  bottom: 0;
  width: auto;
}

.service h2, .revisioni h2 {
  color: var(--secondcolor) !important;
  font-weight: 800 !important;
  font-size: clamp(60px, 2vw, 4rem) !important;
}

.service a, 
.revisioni a {
  color: var(--secondcolor) !important;
  font-weight: 800 !important;
  width: 150px;
  transition: all 0.3s ease;
}

.service a:hover, 
.revisioni a:hover {
  color: var(--maincolor) !important;
  background-color: var(--secondcolor);
  width: 150px;
  font-weight: 800 !important;
  transition: all 0.3s ease;
}

.reveal_show {
  visibility: hidden;
  position: relative;
  width: 80%;
  height: 80%;
  max-width: 100%;
  overflow: hidden;
}

.reveal_image {
  visibility: hidden;
  position: relative;
  width: 80%;
  height: 80%;
  max-width: 100%;
  overflow: hidden;
}

.linepage {
    height: 2px;
    background-color: var(--thirdcolor);
    max-width: 15%;
    width: 0%;
    position: relative;
    transition: 1s all ease;
}

.linepage.active {
  width: 15%;
}

.column-1 {
  width: 48%;
}

.column-2 {
  width: 48%;
}

.column-2 img {
  width: 100%;
  height: auto;
}

.background_image {
  background-image: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1) 150%), url(/wp/wp-content/uploads/2023/02/Gruppo-di-maschere-5.jpg);
  background-size: 100%, cover;
  background-repeat: no-repeat, no-repeat;
  height: 100%;
  display: flex;
    justify-content: flex-start;
    align-items: center;
}

.box-white {
  position: relative;
  width: 50%;
  background-color: #ffffffa3;
  padding: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo_in_thebox {
  position: absolute;
  top: -7%;
  right: 5%;
  background-color: var(--maincolor);
}

.logo_in_thebox img {
  width: auto;
  height: 15vh;
  padding: 20px;
}

.box-icon {
  width: 23%;
  margin-bottom: 5vh;
}

.box-icon img {
    width: auto;
    height: 10vh;
    margin-bottom: 3vh;
}

.box-icon h3 {
    font-size: 1.2em !important;
    margin-bottom: 2vh;
}

.box-icon p {
    font-size: 1.1em !important;
}

.backgroud_grey {
  background: rgb(255,255,255);
  background: -moz-linear-gradient(90deg, rgba(255,255,255,0) 5%, rgba(236,236,236,1) 5%);
  background: -webkit-linear-gradient(90deg, rgba(255,255,255,0) 5%, rgba(236,236,236,1) 5%);
  background: linear-gradient(90deg, rgba(255,255,255,0) 5%, rgba(236,236,236,1) 5%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ececec",GradientType=1);
}

.backgroud_grey_section {
  position: relative;
  background-color: var(--fourthcolor);
}

.project-gallery {
  width: 60%;
}

.project-gallery img {
  width: 100%;
  height: auto;
}

.project-information {
    width: 35%;
    position: relative;
    bottom: 10vh;
    z-index: 2;
}

.lineredproject {
    position: absolute;
    height: 3px;
    background-color: var(--thirdcolor);
    width: 0%;
    max-width: 85%;
    left: -30%;
    transition: 1s all ease;
}

.lineredproject.active {
  width: 85%;
}

/* ==================================
SWIPER
=====================================
*/

.carousel {
    padding-bottom: 50px;
    padding-left: 8%;
    padding-right: 8%;
}

.carousel .swiper-slide img {
    width: 100%;
    object-fit: cover;
    height: 35vh;
    margin-bottom: 3vh;
}

.carousel .swiper-slide h4 {
    margin-bottom: 30px;
    font-size: 1.5em;
}

.carousel .cta-page {
  width: 100%;
  display: block;
  text-align: center;
  color: white;
}

.cta-page:before {
  display: none !important;
}

.carousel .swiper-slide p {
    margin-bottom: 3.5vh;
}

.carousel .swiper-button-next {
    position: absolute;
    top: 15vh;
    right: 2%;
    background-color: #d7d7d7ad;
    z-index: 9;
    padding: 15px;
    border-radius: 100%;
    cursor: pointer;
}

.carousel .swiper-button-next img {
    width: 20px;
    height: 20px;
}

.carousel .swiper-button-prev {
    position: absolute;
    top: 15vh;
    left: 2%;
    background-color: #d7d7d7ad;
    z-index: 9;
    padding: 15px;
    border-radius: 100%;
    cursor: pointer;
}

.carousel .swiper-button-prev img {
    width: 20px;
    height: 20px;
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0,0,0);
    z-index: 10;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom,8px);
    top: var(--swiper-pagination-top,auto);
    left: 0;
    width: 100%;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--thirdcolor) !important;
    transition: 0.5s all ease;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    background: var(--maincolor);
    opacity: 0.2;
}

.project .swiper-slide {
  background-size: cover;
  background-repeat: no-repeat;
  height: 70vh;
  width: 100%;
}

.project .swiper-pagination-bullet {
    background: var(--secondcolor);
    opacity: 0.8;
}

.display-reverse {
  display: flex;
  flex-direction: column;
}

.display-reverse .flex-align-end:nth-child(even){
  flex-direction: row-reverse;
}

.display-reverse .flex-align-end:nth-child(even) .project-information {
  text-align: right;
}

.display-reverse .flex-align-end:nth-child(even) .project-information .lineredproject {
    right: -30%;
    left: auto;
}

.about .swiper {
    width: 35vw;
    height: auto;
    position: relative;
    margin: -10% auto;
    padding: 0;
}

.about .swiper-wrapper {
    align-items: center;
}

.about .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent !important;
    opacity: 1;
    padding: 10vw;
  }

    .about .swiper-slide img {
      width: 100%;
      height: auto;
      background-color: transparent !important;
      opacity: 1;
    }

    .about .swiper-3d .swiper-slide-shadow {
    background: transparent !important;
}

.about .swiper-button-next {
    width: 35vw;
    height: 35vw;
    background-color: transparent;
    position: absolute;
    top: 20%;
    left: 12%;
    z-index: 9999999;
    cursor: pointer;
}

/* ==================================
Testi CUSTOM
=====================================
*/

.front-p {
  padding: 5vh 0;
  background-color: var(--maincolor);
}

.front-p p {
  color: var(--secondcolor) !important;
}

.paragrafo h1 {
    text-transform: uppercase;
    color: var(--thirdcolor);
    font-size: 3vh;
    line-height: 150%;
    font-weight: 600;
}

.paragrafo h2 {
  color: var(--maincolor);
  font-size: clamp(35px, 1vw, 3rem);
  line-height: 150%;
  font-weight: 600;
  margin-bottom: 30px;
}

.front-p h2 {
  color: var(--maincolor);
  font-size: clamp(30px, 1vw, 3rem);
  line-height: 150%;
  font-weight: 300;
  margin-bottom: 30px;
}

.paragrafo p {
  font-weight: 300;
  color: var(--maincolor);
  font-size: 16px;
  line-height: 180%;
  margin-bottom: 2.5vh;
}

.paragrafo a {
  color: var(--thirdcolor);
  font-weight: 500;
  position: relative;
}

.paragrafo a:before {
  content: '';
  bottom: 0;
  left: 0;
  position: absolute;
  height: 2px;
  background-color: var(--thirdcolor);
  width: 0;
  transition: all 0.3s ease;
}

.paragrafo a:hover:before {
  width: 100%;
  transition: all 0.3s ease;
}

.paragrafo h3 {
  color: var(--thirdcolor);
  font-size: clamp(30px, 1vw, 3rem);
  line-height: 150%;
  font-weight: 600;
}

.paragrafo strong {
    font-weight: 600;
}

.paragrafo b {
    font-weight: 600;
}

.paragrafo h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 2.2vh;
  line-height: 120%;
  text-transform: capitalize;
  font-weight: 600;
}




/* ==================================
Contatti
=====================================
*/
.wpcf7::placeholder { /* WebKit browsers */
    color: #fff !important;
    opacity: 1;
}


.wpcf7 label {
  text-align: left;
}

.wpcf7 input[type="text"] {
    outline: none !important;
    border: 1px solid var(--thirdcolor);
    border-bottom: 1px solid var(--thirdcolor);
    height: 30px;
    width: 100%;
    font-size: 14px;
    padding: 20px 15px;
    background-color: white;
    color: var(--thirdcolor);
    text-align: left;
    margin-bottom: 20px;
}

.wpcf7 input[type="email"] {
  outline: none !important;
  border: 1px solid var(--thirdcolor);
  border-bottom: 1px solid var(--thirdcolor);
  height: 30px;
  width: 100%;
  font-size: 14px;
  padding: 20px 15px;
  background-color: white;
  color: var(--thirdcolor);
  text-align: left;
  margin-bottom: 20px;
}

.wpcf7 input[type="tel"] {
  outline: none !important;
  border: 1px solid var(--thirdcolor);
  border-bottom: 1px solid var(--thirdcolor);
  height: 30px;
  width: 100%;
  font-size: 14px;
  padding: 20px 15px;
  background-color: white;
  color: var(--thirdcolor);
  text-align: left;
  margin-bottom: 20px;
}

.wpcf7 input[type="file"] {
  outline: none !important;
  border: 0px solid var(--secondcolor);
  border-bottom: 1px solid var(--secondcolor);
  height: 30px;
  width: 100%;
  font-size: 14px;
  padding: 2px 0px;
  background-color: transparent;
  color: var(--thirdcolor);
  text-align: left;
  margin-bottom: 20px;
}

.wpcf7 input[type="submit"] {
  outline: none;
  background: transparent;
  border: 0px solid var(--secondcolor);
  box-sizing: border-box;
  color: var(--thirdcolor);
  font-weight: 600;
  text-align: center;
  position: relative;
  cursor: pointer;
  font-size: 20px;
  width: 100%;
}

.wpcf7 input[type=checkbox] {
  margin-top: 30px;
}


.wpcf7 textarea {
  outline: none !important;
  border: 1px solid var(--thirdcolor);
    border-bottom: 1px solid var(--thirdcolor);
  height: 80px;
  width: 100%;
  font-size: 14px;
  padding: 10px 15px;
  background-color: white;
  color: var(--thirdcolor);
  text-align: left;
  margin-bottom: 20px;
  overflow: hidden;
}

.wpcf7-list-item {
    line-height: 120%;
    font-size: 13px;
    color: var(--secondcolor);
    margin: 0 0 0 0em;
}


.wpcf7-spinner {
    display: flex;
}

.wpcf7 .flex-centrale div {
  width: 45%;
}

.textareadiv {
  width: 100%;
}

.textareadiv label {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

.wpcf7 .flex-centrale div {
  width: 45%;
}

.wpcf7-form label.x-50-1 {
  width: 49%;
  float: left;
}

.wpcf7-form label.x-50-2 {
  width: 50%;
  float: right;
}


.wpcf7-form label.x-100 {
  width: 100%;
}

.wpcf7 label {
    text-align: left;
    height: 3.5rem;
    color: var(--thirdcolor);
    font-weight: 600;
}


.gallery {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
}

.gallery div {
  width: 48%;
}

.gallery a {
    width: 100%;
    margin-bottom: 8%;
}

.gallery-page .link-section a {
  font-weight: 400;
    font-size: 1.8vh;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gallery img {
  width: 100%;
  height: auto;
    margin-bottom: 8%;
}

.gallery-load {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
}

.gallery-load a {
    width: 48%;
}

.gallery-load img {
  width: 100%;
  height: auto;
    margin-bottom: 8%;
}

.noContent {
  color: #000 !important;
  background-color: transparent !important;
  pointer-events: none;
}

.content {
  display: none;
}

.paragrafo-page h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--fifthcolor);
  line-height: 120%;
  margin-bottom: 10px;
}

.paragrafo-page h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--thirdcolor);
  line-height: 120%;
  margin-bottom: 50px;
}

.paragrafo-page h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--thirdcolor);
    line-height: 120%;
    margin-bottom: 50px;
}

.hero__content-page h1 {
  font-family: "Poppins", sans-serif;
  font-size: 4rem;
}

.hero__content-page h2 {
    font-family: "Poppins", sans-serif;
    font-size: 3rem;
        font-weight: 400;
}


.paragrafo ul li {
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 15px;
    margin-left: 15px;
    list-style-image: url(icon_point.svg);
}

ol ol, ol ul, ul ol, ul ul {
  margin-top: 15px;
}

.restaurant a {
    font-weight: 400;
    font-size: 1.8vh;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* =================== Popup =================== */

.mfp-with-zoom .mfp-title, .touch .gallery-image figcaption, html:not(.touch) .gallery-image figcaption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: rgba(255, 255, 255, 0);
  padding: 1em;
  transition: all 0.2s ease;
  font-weight: 600;
  max-width: calc(100% - 9em);
  line-height: 1.25;
  text-align: center;
  box-sizing: border-box;
}
.mfp-with-zoom .mfp-title:before, .touch .gallery-image figcaption:before, html:not(.touch) .gallery-image figcaption:before, .mfp-with-zoom .mfp-title:after, .touch .gallery-image figcaption:after, html:not(.touch) .gallery-image figcaption:after {
  content: "";
  position: absolute;
  background: var(--thirdcolor);
  width: 100%;
  height: 100%;
  padding: 1em;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  z-index: -1;
}
.mfp-with-zoom .mfp-title:before, .touch .gallery-image figcaption:before, html:not(.touch) .gallery-image figcaption:before, .mfp-with-zoom .mfp-title:after, .touch .gallery-image figcaption:after, html:not(.touch) .gallery-image figcaption:after {
  right: 100%;
  bottom: 100%;
}
.mfp-with-zoom .mfp-title:after, .touch .gallery-image figcaption:after, html:not(.touch) .gallery-image figcaption:after {
  left: 100%;
  top: 100%;
}

.mfp-with-zoom.mfp-ready .mfp-title, .touch .gallery-image figcaption, html:not(.touch) .gallery-image:hover figcaption {
  color: white;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease 0.3s;
}
.mfp-with-zoom.mfp-ready .mfp-title:before, .touch .gallery-image figcaption:before, html:not(.touch) .gallery-image:hover figcaption:before, .mfp-with-zoom.mfp-ready .mfp-title:after, .touch .gallery-image figcaption:after, html:not(.touch) .gallery-image:hover figcaption:after {
  opacity: 1;
}
.mfp-with-zoom.mfp-ready .mfp-title:before, .touch .gallery-image figcaption:before, html:not(.touch) .gallery-image:hover figcaption:before {
  right: -1.5em;
    bottom: -0.5em;
}
.mfp-with-zoom.mfp-ready .mfp-title:after, .touch .gallery-image figcaption:after, html:not(.touch) .gallery-image:hover figcaption:after {
  left: -1.5em;
top: -0.5em;
}


.touch .gallery-image figcaption {
  top: auto;
  bottom: 2em;
}


.mfp-with-zoom .mfp-container, .mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transition: all 0.3s ease-out;
}
.mfp-with-zoom.mfp-bg {
  background-color: rgba(0, 0, 0, 0.9);
}
.mfp-with-zoom.mfp-ready .mfp-container {
  opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
  opacity: 1;
}
.mfp-with-zoom.mfp-removing .mfp-container, .mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}
.mfp-with-zoom img.mfp-img {
  padding: 0;
}
.mfp-with-zoom .mfp-figure:after {
  top: 0;
  bottom: 0;
}
.mfp-with-zoom .mfp-container {
  padding: 0;
}
.mfp-with-zoom .mfp-content {
  overflow: hidden;
}
.mfp-with-zoom .mfp-bottom-bar {
  top: auto;
  bottom: 0;
  margin-top: 0;
}
.mfp-with-zoom .mfp-title {
  top: auto;
  bottom: 2em;
}
.mfp-arrow {
  opacity: 1;
  margin-top: 0 !important;
  width: 20%;
  height: 30%;
  transform: translateY(-50%);
}
.mfp-arrow:before, .mfp-arrow:after {
  margin: 0;
  border: none;
  width: 2rem;
  height: 2rem;
  transform: rotate(-45deg) translate(-50%, -100%);
  opacity: 1;
  top: 50%;
  left: 50%;
  transition: all 0.15s;
}
.mfp-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.mfp-arrow-left {
  left: 0;
}
.mfp-arrow-left:before {
  border-top: 2px solid white;
  border-left: 2px solid white;
}

.mfp-arrow-left:hover:before, .mfp-arrow-left:active:before {
  margin-left: 2rem;
}

.mfp-arrow-right {
  right: 0;
}
.mfp-arrow-right:after {
  border-right: 2px solid white;
  border-bottom: 2px solid white;
}
.mfp-arrow-right:after {
  margin-left: 2rem;
}

.mfp-arrow-right:hover:after {
  margin-left: 0;
}

button.mfp-close {
  opacity: 1;
  margin-top: 0 !important;
  width: 0% !important;
  height: 0%;
  font: 0/0 serif;
  text-shadow: none;
  color: transparent;
}
button.mfp-close:before, button.mfp-close:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  border: none;
  width: 1rem;
  height: 1rem;
  opacity: 1;
  transition: all 0.15s;
  transform-origin: 0 0;
  border-top: 2px solid white;
  border-left: 2px solid white;
}
button.mfp-close:before {
  transform: rotate(-45deg);
}
button.mfp-close:after {
  transform: rotate(135deg);
}
button.mfp-close:hover:before {
  transform: rotate(135deg);
}
button.mfp-close:hover:after {
  transform: rotate(315deg);
}
button.mfp-close:active {
  transform: scale(0.95);
}


/*
------------------------------------------
WORDPRESS
------------------------------------------*/

.wp-block-image img {
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
  width: 100%;
}
.wp-block-separator {
    border-top: 1px solid;
    border-bottom: 1px solid;
    width: 10%;
    position: absolute;
}


/*
------------------------------------------
FOOTER
------------------------------------------*/


footer {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 0 auto;
  padding: 5% 0% 5% 5%;
  background-color: var(--maincolor);
}

.camiona {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
}

.footer-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}

.footer-1 img {
  width: 35vw;
  height: auto;
}

.footer-1 p {
  color: var(--secondcolor);
  font-size: 20px;
}

.footer-1 ul {
  margin: 0;
  padding: 0;
}

.footer-1 ul li {
  list-style: none;
  color: var(--secondcolor);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
}

/* search form */

/* search cerca desktop */

.desktop_search {
    position: fixed;
    top: 70px;
    right: 5%;
    z-index: 10;
    background-color: #F5F5F5;
    padding: 12px 20px;
    border-radius: 20px;
    border: 1px solid var(--secondcolor);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.desktop_search--show {
    visibility: visible;
    opacity: 1;
    top: 140px;
}

.desktop_search .search_row {
    display: flex;
}

.desktop_search .search-field {
    border: none;
    min-width: 280px;
    background-color: transparent;
    border-bottom: 2px solid var(--thirdcolor);
    color: black;
    font-size: 21px;
    padding: 0;
    margin: 0;
}

.search input placeholder {
    color: var(--maincolor) !important;
    font-size: 21px;
}

.desktop_search .cerca_lente {
    background-color: var(--secondcolor);
    border: none;
    margin-left: 10px;
}

.desktop_search .cerca_lente:hover {
    cursor: pointer;
}

.contacts-info {
  width: 30%;
}

.contacts-content {
  width: 60%;
}

.contacts-info h2 {
    font-size: 2rem;
    font-style: normal;
}

.contacts-content h2 {
    font-size: 2rem;
    font-style: normal;
}

.contacts-info h3 {
    margin-top: 5vh;
    font-size: 2rem;
}

.contacts-info h5 {
    margin-top: 5vh;
    margin-bottom: 5vh;
    font-weight: 400;
    font-size: 1.25rem;
}

.contacts-info p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.25rem;
}

.contacts-info a {
    font-weight: 600;
    text-decoration: underline;
}

.contacts-content .wpcf7 input[type="text"] {
    border: 0px solid var(--maincolor);
    border-bottom: 1px solid var(--maincolor);
}

.contacts-content .wpcf7 input[type="email"] {
  border: 0px solid var(--maincolor);
  border-bottom: 1px solid var(--maincolor);
}

.contacts-content .wpcf7 input[type="tel"] {
  border: 0px solid var(--maincolor);
    border-bottom: 1px solid var(--maincolor);
}

.contacts-content .wpcf7 input[type="file"] {
  border: 0px solid var(--maincolor);
  border-bottom: 1px solid var(--maincolor);
}

.contacts-content .wpcf7 input[type="submit"] {
    border: 0px solid var(--maincolor);
    color: var(--maincolor);
}


.contacts-content .wpcf7 textarea {
  border: 0px solid var(--maincolor);
    border-bottom: 1px solid var(--maincolor);
}

.contacts-content .wpcf7-list-item {
    color: var(--maincolor);
    font-weight: 400;
}

.social-contact {
  margin-top: 2.5vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: flex-start;
  gap: 10px;
}

.social-contact img {
  height: 30px;
  width: auto
}

.social-contact svg {
  height: 20px;
  width: auto
}

.menu-app {
  display: none;
}

@media (max-width:990px) {

  .hero-single .hero__image {
    position: relative;
    width: 100%;
    height: 83vh;
}

  .line-red {
      width: 2px;
      left: 10%;
      z-index: 2;
  }
    .seach-icon {
        display: none;
    }

    .entry-page {
        flex-direction: column;
    }

    .entry-page a {
      width: 100%;
  }

  .testo {
      text-align: center;
      width: 80%;
  }

  .testo h2 {
      font-weight: 400;
      font-size: 40px;
      line-height: 150%;
      font-style: italic;
  }

  .hero-testo {
      align-items: center;
      bottom: 0vh;
  }

  .container-60 {
    width: 90%;
}

.flex-alternate {
    flex-direction: column;
    align-content: center;
}

.flex-alternate div img {
    margin-top: 0vh;
}

.background-image {
    width: 70vw;
}

.flex-centrale {
    flex-direction: column;
    gap: 5vh;
}

.section-front-corporate {
    margin-bottom: 0;
}

.img-flex-centrale {
    width: 100%;
}

.text-flex-centrale {
    width: 100%;
}

.section-front-heading {
    margin-bottom: 0vh;
}

.column-reverse {
  flex-direction: column-reverse!important;
}

.only-desktop {
  display: none !important;
}

.flex-align-start {
    flex-direction: column;
}

.column-1 {
    width: 100%;
}

.column-2 {
    width: 100%;
}

.box-white {
  position: relative;
  width: 90vw;
  margin-top: -10vh;
}

.page-template-contatti .hero--page {
  height: 80vh;
}

.hero--page-testo .front-p {
    background: linear-gradient(90deg, rgb(255 255 255 / 0%) 5%, rgb(255 255 255 / 80%) 15%);
}

.about .swiper {
    width: 80vw;
    height: auto;
    position: relative;
    margin: -10% auto;
    padding: 0;
}

.box-numbered {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    align-content: flex-start;
    width: 100%;
}

.footer-1, .footer-2 {
    width: 100%;
    margin-top: 3.5vh;
}

.footer-3 {
    width: 100%;
    margin-top: 0vh;
}

.footer-1 img {
    width: auto;
    height: 10vh;
    margin-bottom: 3vh;
}

.footer-3 div {
    width: 80%;
    margin: 0 auto;
}


.linefooter {
    height: 2px;
    width: 50%;
    background-color: var(--thirdcolor);
    margin: 0 auto;
}

.footer-1 h5, .footer-2 h5 {
    color: var(--maincolor);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 180%;
}

.footer-3 h5 {
    margin: 0;
    font-size: 0.8em;
    color: var(--secondcolor);
    line-height: 180%;
}


.sticky-design {
  position: sticky;
  top: 35vh;
}

.wpcf7 input[type="submit"] {
    font-size: 15px;
}

.section-front-heading h2 {
    font-size: 4vh;
}

.inside-page .flex-alternate .img-inside-page {
    width: 100%;
}

.inside-page .flex-alternate .text-inside-page {
    width: 100%;
    margin-top: 30px;
}

.hero__content-page h1 {
    font-family: "Poppins", sans-serif;
    font-size: 3rem;
    position: relative;
    bottom: 10vh;
}

.inside-page .flex-alternate:nth-of-type(odd) {
    row-gap: 5vh;
}

.inside-page .flex-alternate:last-child {
    flex-direction: column-reverse;
    gap: 5vh;
    margin-top: 0vh;
}

.contacts-info {
  width: 100%;
}

.contacts-content {
  width: 100%;
}

.contacts-info h2 {
    font-size: 3vh;
}

.contacts-info h5 {
    font-size: 2.5vh;
}

.contacts-info p {
    font-size: 2.5vh;
}

.contacts-info h3 {
    font-size: 3vh;
}

.contacts-content h2 {
    font-size: 3vh;
    font-style: normal;
    margin-top: 5vh;
}

.social-contact img {
    height: 25px;
    width: auto;
}

.testo span img {
  height: auto;
  width: 100%;
  margin-bottom: 3vh;
}

.about video {
  position: relative;
}

.about {
  position: relative;
  height: auto;
  margin-bottom: 0vh;
  margin-top: 15vh;
}

.revisioni {
  width: 100%;
}

.service {
  width: 100%;
}

.service h2, .revisioni h2 {
  color: var(--secondcolor) !important;
  font-weight: 800 !important;
  font-size: clamp(35px, 2vw, 4rem) !important;
}

.camiona {
  z-index: 0;
  opacity: 0.3;
}

.footer-1, .footer-2 {
  width: 95%;
  margin-top: 3.5vh;
  z-index: 10;
  position: relative;
}

.footer-1 ul li {
  font-size: 16px;
}

.service a, .revisioni a {
  z-index: 2;
}

.menu-app {
  display: block !important;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999999;
}

.munu-app-div {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: nowrap;
  align-items: center;
  align-content: center;
  gap: 30px;
  background-color: #fff;
  height: auto;
  padding-top: 10px;
  padding-bottom: 5px;
  border-radius: 15px 15px 0px 0px;
  box-shadow: 0px 0px 15px #12283d45;
}

.munu-app-div a {
  width: 33.33%;
  text-align: center;
}


.munu-app-div div {
  display: flex;
  flex-direction: column;
}

.munu-app-div img {
  width: auto;
  height: 3.5vh;
  margin-bottom: 5px;
  object-fit: contain;
}

.munu-app-div div span {
  color: var(--maincolor);
  font-size: 0.7rem;
}

}

/* mobile search */

@media (min-width:990px) {
    .mobile_search {
        display: none;
    }
}

.search_row {
    display: flex;
    justify-content: flex-end;
}

.cerca_lente {
    height: 100%;
    width: 30px;
    padding-bottom: 30px;
    border: none;
    border-bottom: 2px solid var(--maincolor);
    display: flex;
    flex-direction: column;
    margin-top: auto;
}


@media screen and (min-width:767px) and (max-width: 1023px){


::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: white;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: white;
}

}


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

  .navigazione-logo img {
    height: 35px;
      width: auto;
      margin-top: 0;
  }

  .navigazione--scroll .navigazione-logo img {
    height: 35px;
    transition: all 0.5s linear;
}

.navigazione__menu-mobile ul.menu {
    margin: 0;
    padding: 0;
    text-align: left;
    position: relative;
}

  .navigazione .cta-page-button {
      display: none;
  }

  .testo h2 {
    font-weight: 400;
    font-size: 25px;
    line-height: 150%;
    font-style: normal;
}

  .testo span svg {
    height: auto;
    width: 60vw;
    margin-bottom: 3vh;
}

.testo h2 {
    font-weight: 400;
    font-size: 25px;
    line-height: 150%;
    font-style: normal;
}

.hero-testo {
    align-items: flex-end;
    bottom: 15vh;
}
.gallery {
    flex-direction: column;
}

.gallery div {
    width: 100%;
}

.paragrafo h3 {
    font-size: 3vh;
}

.paragrafo h2 {
      font-size: 3vh;
      margin-bottom: 3.5vh;
}

.paragrafo p {
    font-size: 1.1em;
    margin-bottom: 1.5vh;
}

.carousel {
    padding-bottom: 90px;
}

.cta-page-button .cta {
    background-color: var(--thirdcolor);
    padding: 1em 1.5em;
    border: 1px solid var(--thirdcolor);
    transition: 0.5s all ease;
}

.cta span {
    padding-bottom: 0.3em;
    letter-spacing: 0;
    font-size: 1.1em;
    padding-right: 1.5em;
    font-weight: 400;
}

.background_image {
    background-image: linear-gradient(180deg, rgb(0 0 0 / 0%) -50%, rgb(255 255 255 / 0%) 208%), url(http://siti-vetrina.local/wp-content/uploads/2023/02/Gruppo-di-maschere-5.jpg);
    background-size: 100%, contain;
    background-repeat: no-repeat, no-repeat;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo_in_thebox img {
    width: auto;
    height: 10vh;
}

.logo_in_thebox {
    position: absolute;
    top: -8%;
    right: 0%;
}

.box-icon {
    width: 100%;
    margin-bottom: 3vh;
}

.backgroud_grey {
    background: rgb(255,255,255);
    background: -moz-linear-gradient(90deg, rgba(255,255,255,0) -100%, rgba(236,236,236,1) 0%);
    background: -webkit-linear-gradient(90deg, rgba(255,255,255,0) -100%, rgba(236,236,236,1) 0%);
    background: linear-gradient(90deg, rgba(255,255,255,0) -100%, rgba(236,236,236,1) 0%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ececec",GradientType=1);
}

.project .swiper-slide {
    background-size: cover;
    background-repeat: no-repeat;
    height: 40vh;
    width: 100%;
}

.project-gallery {
    width: 100%;
}

.project-information {
    width: 100%;
    position: relative;
    bottom: 0vh;
    padding: 20px;
    z-index: 2;
}

.lineredproject {
    position: absolute;
    height: 2px;
    background-color: var(--thirdcolor);
    width: 0%;
    max-width: 100%;
    left: -30%;
    transition: 1s all ease;
}

.lineredproject.active {
    width: 100%;
}

.flex-container {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
}

.flex-items {
    width: 100%;
}

.contatti_sezione_blocco {
    padding: 50px 10%;
}

.map {
    height: 35vh;
}

}



/*
------------------------------------------
ACCESSORIE
------------------------------------------*/


.grecaptcha-badge {
	display: none;
}

.paginazione_post {
    text-align: center;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    margin-top: 100px;
}

.page-numbers {
  border: 2px solid var(--secondcolor);
  border-radius: 50%;
  color: var(--secondcolor);
  padding: 10px 20px;
  margin: 0px 2px;
}

.current {
  border: 2px solid var(--secondcolor);
  border-radius: 50%;
  background-color: var(--secondcolor);
  color: white;
}

/*
------------------------------------------
ANIMAZIONI
------------------------------------------*/

.reveal {
  position: relative;
  transform: translateY(40px);
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

.immagine {
  position: relative;
  transform: translateX(100%);
  opacity: 0;
  transition: 1s all ease;
}

.immagine.active {
  transform: translateX(0);
  opacity: 1;
}

.linea-footer svg {
    width: 20px;
    height: 20px;
    position: absolute;
    top: -10px;
    fill: var(--thirdcolor);
}

/* #Progress
================================================== */



.progress-wrap {
    position: fixed;
    left: 50px;
    bottom: 50px;
    height: 60px;
    width: 60px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgb(255 255 255 / 20%);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    background-color: var(--thirdcolor);
}
.progress-wrap.active-progress {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.progress-wrap::after {
	position: absolute;
  font-family: 'Material Icons';
	content: '\e5cc';
	text-align: center;
	line-height: 46px;
	font-size: 24px;
	color: var(--thirdcolor);
	left: 0;
	top: 0;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	z-index: 1;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap:hover::after {
	opacity: 0;
}
.progress-wrap::before {
    position: absolute;
    font-family: 'Material Icons';
    content: '\e5cc';
    text-align: center;
    line-height: 60px;
    font-size: 35px;
    opacity: 1;
    background-image: linear-gradient(298deg, var(--thirdcolor), var(--secondcolor));
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--maincolor);
    left: 0;
    top: 0;
    height: 60px;
    width: 60px;
    cursor: pointer;
    display: block;
    z-index: 2;
    transform: rotate(270deg);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap:hover::before {
	opacity: 1;
}
.progress-wrap svg path {
	fill: none;
}
.progress-wrap svg.progress-circle path {
	stroke: var(--secondcolor);
	stroke-width: 4;
	box-sizing:border-box;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}


@-webkit-keyframes border-transform{
    0%,100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
	14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; }
	28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; }
	42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; }
	56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; }
	70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; }
	84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; }
}
@keyframes border-transform{
    0%,100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
	14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; }
	28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; }
	42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; }
	56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; }
	70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; }
	84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; }
}

.menu-app {
  display: none;
}

.scroll-down {
  bottom: 0;
  height: 100px;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  text-align: center;
  z-index: 1;
}
.scroll-down-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
justify-content: center;
flex-direction: column;
gap: 35px;
position: relative;
bottom: 70px;
}
.scroll-down-bar {
  background: #d8d8d8;
  bottom: 0;
  display: inline-block;
  height: 65px;
  left: 0;
  margin: 0 auto;
  overflow: hidden;
  position: absolute;
  right: 0;
  width: 2px;
}
.scroll-down-bar::before {
  animation: scrollDown 1.5s infinite;
  background: #ab987a;
  content: '';
  display: inline-block;
  height: 35px;
  left: 0;
  position: absolute;
  top: 0;
  width: 2px;
  z-index: 1;
}
@-moz-keyframes scrollDown {
  0% {
    transform: translate3d(0, -32px, 0);
  }
  50% {
    animation-timing-function: ease-out;
    transform: translate3d(0, 0, 0);
  }
  100% {
    animation-timing-function: ease-in;
    transform: translate3d(0, 65px, 0);
  }
}
@-webkit-keyframes scrollDown {
  0% {
    transform: translate3d(0, -32px, 0);
  }
  50% {
    animation-timing-function: ease-out;
    transform: translate3d(0, 0, 0);
  }
  100% {
    animation-timing-function: ease-in;
    transform: translate3d(0, 65px, 0);
  }
}
@-o-keyframes scrollDown {
  0% {
    transform: translate3d(0, -32px, 0);
  }
  50% {
    animation-timing-function: ease-out;
    transform: translate3d(0, 0, 0);
  }
  100% {
    animation-timing-function: ease-in;
    transform: translate3d(0, 65px, 0);
  }
}
@keyframes scrollDown {
  0% {
    transform: translate3d(0, -32px, 0);
  }
  50% {
    animation-timing-function: ease-out;
    transform: translate3d(0, 0, 0);
  }
  100% {
    animation-timing-function: ease-in;
    transform: translate3d(0, 65px, 0);
  }
}
