@font-face {
    font-family: 'Satoshi-medium';
    src: url('/wp-content/themes/pianob/assets/font/Satoshi-Medium.woff2') format('woff2'),
         url('/wp-content/themes/pianob/assets/font/Satoshi-Medium.woff') format('woff'),
         url('/wp-content/themes/pianob/assets/font/Satoshi-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
  }
@font-face {
    font-family: 'Satoshi-regular';
    src: url('/wp-content/themes/pianob/assets/font/Satoshi-Regular.woff2') format('woff2'),
         url('/wp-content/themes/pianob/assets/font/Satoshi-Regular.woff') format('woff'),
         url('/wp-content/themes/pianob/assets/font/Satoshi-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
  }

  :root {
    --red: #d4481c;
    --latte: #fefee9;
  }
  body{
    background-color: var(--latte);
  }
h1,h2,h3,h4,h5,h6{
    font-family: 'Satoshi-medium'!important;
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}
p,span,button{
    font-family: 'Satoshi-regular';
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}
.bg-red{
    background-color:var(--red);
}
.bg-latte{
    background-color:var(--latte);
}
.bg-white{
    background-color:#ffffff;
}
.color-black{
    color:#000;
}
.color-white{
    color:#fff;
}
.color-red{
    color:var(--red);
}
.border-y {
    border-top: 1px solid;
    border-bottom: 1px solid;
}
.border-y-top {
    border-top: 1px solid;
}
.border-y-bottom {
    border-bottom: 1px solid;
}
.divide-start{
    border-left:1px solid!important;
}
.divide-end{
    border-right:1px solid!important;
}

.border-black{
    border-color:#000000;

}
.font-12{
    font-size:12px;
}
.w-1_3{
    width:33.333333%;
}
.w-1_6{
    width:16.66667%;
}
.safe-padding {
    margin-bottom: 51px;
}
p{
    font-family: 'Satoshi-regular';
    font-size: 16px !important;
    font-weight: 400;
    line-height: 21.34px;
}
section{
    padding:15px;
}
.section_video{
    padding:0px 0px;
}
.main-header{
    position:fixed;
    z-index:50;
    width:100%;
    background:transparent;
    font-family: 'Satoshi-regular';
}
button p{
    margin-bottom:0px;
}

.main-header button,.main-header a {
    background: transparent;
    border: none;
    text-align: left;
    padding: 5px 10px;
    font-family: 'Satoshi-regular';
}
.selectLang a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration:none;
    color: #000;
    font-family: 'Satoshi-regular';
}

.selectLang a.active,.selectLang a:hover {
    background: var(--red);
    font-weight: 800;
}

.main-header .bg-white{
    background: var(--latte)!important;
}
.logo img {
    width: 140px;
}
.wrapper_menu:hover{
    background:var(--red);
}
.sub-menu{
    display:flex;
    flex-direction: column;
    height: 100%;
    margin-left: auto;
    border-left: 1px solid;
    border-top: 1px solid;
    background:transparent;
}
.sub-menu ul{
   margin:0px;
   padding:0px;
   list-style:none;
   background:var(--latte);
}
.sub-menu li{
    border-bottom:1px solid;
    padding:10px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: start;
}
.sub-menu li a{
    margin:0px;
    padding:0px;
    color: #000;
    text-decoration:none;
    width:100%;
}
.sub-menu li:hover{
    background:var(--red);
}
.sub-menu li:last-child{
    border-bottom:0px solid;
}
.wrapper_contact a{
    font-family: 'Satoshi-regular';
    font-size: 16px !important;
    font-weight: 400;
    line-height: 21.34px;
    text-decoration: none;
    color: #000;
}
.text-title h1{
    font-size: 95px;
    font-style: normal;
    font-weight: 700;
    line-height: 90%;
    text-transform: uppercase;
    font-family: 'Satoshi-medium'!important;
}
.bg-red .text-title h1{
   color: #000000;
}
.text-title h2{
    font-size: 35px;
    font-style: normal;
    font-weight: 700;
    line-height: 90%;
    text-transform: uppercase;
    font-family: 'Satoshi-medium'!important;
    margin-bottom:0px;
}
.text-title h3{
    font-size: 95px;
    font-style: normal;
    font-weight: 700;
    line-height: 90%;
    text-transform: uppercase;
    font-family: 'Satoshi-medium'!important;
}
.section_video{
    width:100%;
    height: 100vh;
}
.section_video video{
    width:100%;
    height:100%;
    object-fit: cover;
}

.text-para p {
    font-size: 18px !important;
    line-height: 25px;
}
.text-para.text-p {
    text-align: justify;
}
.grid{
    display:grid;
}
.grid-3{
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
}
.item_portfolio img{
    width:100%;
    height:100%;
    object-fit: cover;

}

.lista_clienti .item_clients {
    box-sizing: border-box;
    height: 150px;
    overflow: hidden;
    padding: 20px;
}
.lista_clienti .item_clients img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
}
.scroll-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.scroll-text {
    -webkit-animation: scroll 20s linear infinite;
    -moz-animation: scroll 20s linear infinite;
    -o-animation: scroll 20s linear infinite;
    animation: scroll 20s linear infinite;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    font-family: 'Satoshi-medium'!important;
    padding: 10px 5px;
}

form {
    padding: 20px;
    border-top:1px solid;
    border-bottom:1px solid;
}
.form-control, .form-control:focus, .form-select, .form-select:focus {
    border: 2px solid #d4481c;
    border-radius: 0px;
    background: var(--latte);
    color: #d4481c;
}
.form-control:focus,.form-select:focus {
    box-shadow: 0 0 0 .25rem rgba(212, 72, 28, .25);
}

.form-label {
    margin-bottom:3px;
    font-weight: 800;
}
.wpcf7-form p{
    margin-bottom: 0px;
}
textarea.form-control {
    height: 200px !important;
    resize: none;
}
.wpcf7-list-item{
    margin-left:0px;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: var(--red);
    border: 1px solid var(--red);;
    padding: 5px 20px;
    font-weight: 800;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background: var(--latte);
    border: 1px solid var(--red);
    color:var(--red);
}

footer .wrapper_widget ul{
    margin:0px;
    padding:0px;
    list-style: none;
}
ul.socialFooter {
    position: relative;
    left: -4px;
}
ul.socialFooter li {
    display: inline;
    margin-right:10px;
}

ul.socialFooter li a {
   text-decoration: none;
   font-size: 25px;
   color: var(--red);
}
ul.socialFooter li a:hover {
   color: #000000;
}
.wrapper_widget a {
    color: #000;
}
li.telFooter a {
    display: block;
    margin-left: 30px;
}
li.telFooter a.primo {
    display:inline; margin-left:5px;
}
footer .wrapper_widget h4{
    margin-bottom:10px;
}
footer .wrapper_widget ul li img{
    width: 200px;
}

/*SLIDER **/
.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 85vh;
    object-fit: cover;
  }

  .swiper-button-next,.swiper-button-prev {
    background:var(--latte);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 40px;
    opacity: .87;
}
.swiper-button-next:after, .swiper-button-prev:after{
    color: var(--red)!important;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.bottomFooter {
    display:flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0px 10px;
}
.bottomFooter .copy p {
    margin: 0px;
    padding-left: 10px;
}
.bottomFooter h4{
  margin-bottom: 2px;
  padding-bottom:0px;
  font-size:18px;
}
.bottomFooter img {
    width: auto;
    height: 40px;
    position: relative;
    left: -25px;
}

.bottomFooter h4 span {
    font-size: 14px;
    color: var(--red);
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    color: #000;
}
/*============================== Hamburger Menu ============================*/
.containerMenuMobile {
    padding-left: 10px;
    color: #000;
  }
  .bar2{
margin-bottom: 0px;
padding-bottom: 0px;
  }
  /* Fade out the second bar */
  .change .bar2 {
    opacity:1;
  }

  /* Rotate last bar */
  .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
    transform: rotate(45deg) translate(-8px, -8px) ;
  }
  /*========= Mobile Menu ==================*/
  #mobile-menu{
    position: fixed;
    text-align: center;
    list-style: none;
    background: var(--latte);
    width: 100%;
    color: #000;
    margin: 0px;
    padding: 20px 0px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .0), 0 6px 6px rgba(0, 0, 0, 0.1);
    top:50px;
  }
  #mobile-menu ul{
    margin: none !important;

  }
  #mobile-menu li{
    margin: none !important;
  }
  #mobile-menu li a{
    border-style: solid;
    border-top: 1px solid #000;
    border-left-style: none;
    border-bottom: none;
    display:inline-block;
    padding-top: 1em;
    padding-bottom: 1em;
    width: 100%;
    color:#000;
    transition: background-color 0.6s ease;
    text-decoration:none;
    font-size: 12px;
    text-transform: uppercase;

  }
  #mobile-menu li a:hover{
    transition: background-color 0.6s ease;
    background: #D9391C;

  }
  .menu-hidden{
    margin-top:-100%!important;
  }

@media (min-width: 992px) and (max-width: 1198.98px) {
    .text-title h1 {
        font-size: 55px;
    }
    .text-title h2 {
        font-size: 40px;
        margin-bottom: 0px;
    }
    .section_video {
        width: 100%;
        height: 80vh;
    }
    .swiper-slide img {
        height: 50vh;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 40px;
        height: 40px;
        padding: 20px;
    }
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 20px;
    }
    .grid-3 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

}
@media (min-width: 768px) and (max-width: 991.98px) {
    .text-title h1 {
        font-size: 45px;
    }
    .text-title h2 {
        font-size: 30px;
        margin-bottom: 0px;
    }
    .section_video {
        width: 100%;
        height: 50vh;
    }
    .swiper-slide img {
        height: 50vh;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 40px;
        height: 40px;
        padding: 20px;
    }
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 20px;
    }
    .grid-3 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }
    .bottomFooter {
        flex-direction: column-reverse;
        width:100%;
        align-items: start;
    }
    .copy {
        margin-top: 20px;
    }
}
@media (min-width: 768px) {
    .main-header {
        bottom: 0px;
    }

}
@media (max-width: 767.98px) {
    .safe-padding {
        margin-bottom:0px;
    }
    .main-header {
        position: fixed;
        top: 0px;
    }
    section#home {
        margin-top: 50px;
    }
    .text-title h1 {
        font-size: 30px;
    }
    .text-para p {
        font-size: 16px !important;
        line-height: 25px;
    }
    .section_video {
        width: 100%;
        height:300px;
    }
    .text-title h2 {
        font-size: 25px;
        margin-bottom: 0px;
    }
    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }
    .scroll-text{
        font-size:20px;
    }
    .swiper-slide img {
        height: 300px;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 30px;
        height: 30px;
        padding: 20px;
    }
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 20px;
    }
    .bottomFooter {
        flex-direction: column-reverse;
        width:100%;
        align-items: start;
    }
    .bottomFooter img {
        width: 100%;
        height: auto;
        position: relative;
        left:0px;
    }
    .copy {
        margin-top: 20px;
    }
}