.project_banner {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 520px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    background-position: calc(100%);
    background-size: cover;
    color:#fff;
}
.project_banner.b2c {
    background-image: url('../images/banner-b2c.jpg');
}
.project_banner.b2b {
    background-image: url('../images/banner-b2b.jpg');
}
.project_banner.fuorisalone {
    background-image: url('../images/fuorisalone/banner_fuorisalone.jpg');
}
.project_banner.home_banner > div {
    padding:0 20px;
}
.fuorisalone .project_banner_logo {
    max-width: 300px;
}
.fuorisalone .project_banner_sublogo {
    max-width: 80%;
}
.preventivo {
    position: fixed;
    bottom: 50%;
    right: 10%;
    padding:20px 20px;
    margin-right: 50px;
}
.container-project {
    width:100%;
    min-height:800px;
    background-color:#fff;
    padding:50px 0px 0px 150px;
    display:flex;
    flex-direction: row;
    justify-content: center;
}
.container-project.small {
    min-height: 650px;
}
.container-project  > div {
    width:55%;
    position: relative;
    z-index:1;
}
.description-info {
    padding-top:100px;
    padding-right:0px;
}
h3{
    color: #443e3e; font-family: 'Lato'; font-weight: 500; font-size: 24px;
}
h4{
    color: #443e3e; font-family: 'Lato'; font-weight: 500; font-size: 14px; text-transform: uppercase;
}
a.banner_btn{
    text-decoration: none;
}
.description-info > div {
    border-top:1px solid #ddd;padding-right:100px;padding-top:20px;margin-top:20px;
    
}
.text-area{
    font-family: 'Lato Light'; color: #777373; font-size: 18px; line-height: 24px;
}
.text-area.no-title {
    border: 0;
    padding-top: 0;
    margin: 0;
}
.right-box-line{
    width:100%;margin:20px 0 0;height:2px;background-color:#ddd;
}
.color-box {
    width:60%;
    height:50px;
    background-color:#f0f0f0;
    z-index:-1;
    position: absolute;
    top:-50px;
    right:0;
    overflow:hidden;
    display: block;
}
.box-image {
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    z-index:1;
    overflow: visible;
    position:relative;
}
.box-image.b2c {
    background-image:url('../images/b2c-1.jpg');
}
.box-image.b2b {
    background-image:url('../images/b2b-1.jpg');
}
.box-image-2{
    /* background-image:url('../images/video_b2b_b2c.mp4'); */
    background-size: contain;
    min-height: 400px;
    z-index:1;
    overflow: visible;
    position:relative;
}
.box-image-1 {
    background-position: center;
    background-size: cover;
    min-height: 400px;
    z-index:1;
    position: relative;
}
.box-image-1.b2c {
    background-image:url('../images/b2c-2.jpg');
}
.box-image-1.b2b {
    background-image:url('../images/b2b-2.jpg');
}
.box-image-3 {
    background-image:url('../images/Designers.png');
    background-size: contain;
    min-height: 400px;
    z-index:1;
    position: relative;
}
.box-description-1 {
    background-color:#f0f0f0;
    color: #777373;
    padding:100px 0px;
    width:48%;
}
.right-box-padding{
    padding-right: 100px; padding-left:100px;
}
.box-container {
    width:100%;
    min-height: 520px;
    margin-top:-100px;
    padding-left:150px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color:#777373;
    z-index:4;
    position: relative;
}
.box-container > div:first-child {
    width:50%;
    
}

.box-description-1 h4 {
    padding-top:30px;
    font-size:14px;
    color:#000;
}
.container-services {
    width:100%;
    background-color:#f0f0f0;
    margin-top:0px;
    min-height:400px;
}
.content-services {
    width:100%;
    display:flex;
    flex-direction: row;
    padding:0px 150px;
    justify-content: space-between;
}
.container-services .banner_btn {
    text-transform: uppercase;
    font-size:12px;
    color:#777373;
}
.text-services {
    padding-top:50px;
    padding-right:100px;
    width:35%;
}

.header-services {
    width:100%;
    background-color:#fff;
    padding:80px 150px;
}
.header-services h3 {
    border-bottom:1px solid #ddd;
    width:50%;
    padding:20px 0 30px 0;
}
.img-box {
    margin-top:-140px; height: 548px;
    background: url('../images/proj2.jpg') center center no-repeat; background-size: cover;
}
.img-box img{
    width: 100%;
}
.first-part, .second-part {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.icon-box {
    width:65%;
}
.icons {
    width:100%;
    margin:30px auto;
    display: flex; flex-wrap: wrap; justify-content: space-around;
    max-width:800px;
    margin:0 auto;
    padding:20px 0;
}
.icon-text{
    color: #161414; font-size: 16px; font-family: 'Lato Light';
    margin: 30px 0px;
    width: 190px;
    display: flex;
    flex-direction: column;
    text-align:center;
}
.icon-text img {
    /* width:65px; */
    width:100%;
    margin:0 auto;
    height:50px;
}
.icon-text span {
    padding-top: 10px;
}
.icon-text span .text-micro{
    font-size: 12px; color: #161414; font-style: italic;
}

/*#p-1{background-image:url('../images/icon-mano.png');background-repeat:no-repeat;}
#p-2{background-image:url('../images/icon-azeroback.png');background-repeat:no-repeat;}
#p-3{background-image:url('../images/icon-box.png');background-repeat:no-repeat;}
#p-4{background-image:url('../images/icon-freccia.png');background-repeat:no-repeat;}
#p-5{background-image:url('../images/icon-fogli.png');background-repeat:no-repeat;}
#p-6{background-image:url('../images/icon-scatola.png');background-repeat:no-repeat;}
#p-7{background-image:url('../images/icon-like.png');background-repeat:no-repeat;}
#p-8{background-image:url('../images/icon-check.png');background-repeat:no-repeat;}*/

    #preventivo.super {
        z-index: 999;
    }

.brown-button {
    width: 60%;
    background-color: #a18f7a;
    color: #fff;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.75px;
    padding: 15px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
}
.brown-button.send_button {
    width: auto;
}
.brown-button a {
    text-decoration: none;
}
#preventivo-form{
    background-color:#a18f7a;
    color:#fff;
    font-size:12px;
    display: flex;
    flex-flow: column;
    padding:10px;
}
.textfield_content {
    text-align:left;
    margin-bottom:30px;
    color:#777373;
}
.textfield_content .textfield {
    background-color:#a18f7a;
    color:#CFCAC3;
    font-family:'Lato Light';
}
#preventivo-form .line {
    background-color:#fff;
}
#preventivo-form .checkbox {
    border:2px #fff solid;
}
#preventivo-form .spaced_label{
    font-size:15px;
}
.preventivo-info {
    color:#CFCAC3;
    margin-bottom:20px;
    font-family:'Lato Light';
    font-size:20px;
}
#preventivo-form .spaced_label > a {
    color:#CFCAC3;
}

#preventivo-form .spaced_label > a:hover {
    color:#fff;
}
#preventivo .send_button_container {
    margin:10px 0;
}
#preventivo .send_button label {
    color:#CFCAC3;
}

#navigator.projects-navigator {
    width:100%;
    padding:30px 150px;
    margin-bottom:50px; margin-top: 100px;
}

.box_projects{
    margin-top:100px;
}

.filter_unselected{
    font-family: 'Lato'; font-weight: 500; color: #cfcac3; font-size: 12px; text-transform: uppercase; padding-right: 22px; padding-left: 22px; cursor: pointer;
    outline: none;
}
.filter_selected{
    font-family: 'Lato'; font-weight: 500; color: #a18f7a; font-size: 12px; text-transform: uppercase; padding-right: 22px; padding-left: 22px; cursor: pointer;
    outline: none;
}

#projects-navigator #filters div.flex {
    text-transform: uppercase;
}
.thankyou-page-content .banner_title2 {
    color:#a18f7a;
    text-shadow:none;
    font-weight:bold;
    font-size: 40px;
}
.thankyou-page-content .banner_title3.latoblack {
    color:#777373;
    font-weight:bold;
    text-shadow: none;
}
#thankyou {
    text-align:center; background-color:rgba(255, 255, 255, .9) ;color:#000;padding:60px 20px; width:100%;position:absolute;top:40%;
}

#rptProjects {
    display:grid;
    grid-template-columns: repeat(auto-fill, 32%);
   /* grid-template-rows: 80px auto 80px; */
    column-gap: 2%;
    row-gap: 15px;
}
#rptProjects .material_card {
   width:100%;
}

.project_name {
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
}
.project_name_title{
    color: #cfcac3;
}

.project_img{
    height: 280px;
}
.project_img_mobile{
    height: 280px; display: none;
}

.projects #gallery_full_cont {
    background-color: rgba(255,255,255,0.6);
    z-index: 997;
}

.projects #gallery_full_header {
    height: 100px;
}

.projects .gallery_full_close {
    left: 16%;
}

.projects #gallery_full_image_cont {
    height: calc(100% - 229px);
    top: 0;
}

.projects #gallery_full_footer {
    height: min-content;
    min-height: 229px;
    padding: 18px 24px 50px 15%;
    display: flex;
    justify-content: space-between;
    top: calc(100vh - 329px);
    background-color: #FFFFFF;
}

.projects #gallery_full_footer > div{
    display: flex;
    flex-flow: column;
}

.projects #gallery_full_footer > :first-child{
    width: 26%;
    padding: 24px 0;
}

.projects #gallery_full_footer > :last-child {
    width: 70%;
}

.projects .title {
    color: #443E3E;
    font-size: 24px;
    line-height: 34px;
}

.projects .subtitle {
    color: #777373;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.projects .description {
    margin-top: 10px;
    color: #777373;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 1px;
}

.projects .infobox {
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.projects .infobox_onlymobile {
    display: none;
}

.projects .container {
    height: calc(100% - 100px);
    margin-top: 100px;
    position: relative;
    overflow: scroll;
}

.projects .links_container {
    display: flex;
    flex-wrap: wrap;
}

.projects .material_name {
    text-decoration: none;
}

.projects .links_container a,
.projects .links_container div {
    margin: 20px 120px 20px 0;
}

.project_name {
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
}
.project_name_title{
    color: #cfcac3;
}

.mobile_filter{
    display: flex; flex-wrap: wrap; flex-direction: row;
}

.b2b-b2c-subtitle {
    /* width: 60%; */
    margin-bottom: 20px;
    color: #161414;
    font-family: 'Lato';
    font-size: 19px;
    line-height: 20px;
    font-weight: 500;
}
video {
    width: 100%;
    height: 100%;
    background-color: white;
}

.contact_panel .text-area.fuorisalone {
    padding: 0 10%;
    margin-bottom: 0;
    font-size: 20px;
    line-height: 28px;
}

.container-project.fuorisalone {
    padding-top: 0;
    min-height: 600px;
    background-color: #090808;
    color: #ffffff;
}

.container-project.fuorisalone h3 {
    color: #ffffff;
}

.container-project.fuorisalone .text-area {
    color: #ffffff;
}

.box-container.fuorisalone {
    min-height: 600px;
    margin-top: -50px;
}

.box-image.fuorisalone-img1 {
    background-image:url('../images/fuorisalone/amd_01.gif');
    background-size: cover;
    background-position: right;
}

.box-image.fuorisalone-img2 {
    background-image:url('../images/fuorisalone/about-antolini.jpg');
    background-size: cover;
}

.box-image.fuorisalone-img3 {
    background-image:url('../images/fuorisalone/amd_02.gif');
    background-size: cover;
    background-position: bottom;
}

.box-image.fuorisalone-img4 {
    background-image:url('../images/fuorisalone/pietro_terzini.jpg');
    background-size: cover;
    background-position: top right;
}

.box-image.fuorisalone-slider {
    position: relative;
}

.fuorisalone-slider-image {
    width: 100%;
    padding-top: 56.25%;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}

.contactus_form.contact_panel.fuorisalone {
    padding: 50px 12% 80px;
}

.contact_panel.fuorisalone h3 {
    font-weight: bold;
    font-size: 42px;
}

@media screen and (max-width: 1300px) {
    #rptProjects {
        grid-template-columns: repeat(auto-fill, 47%);
        /* grid-template-rows: 80px auto 80px; */
        column-gap: 3%;
    }

    .brown-button {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    #navigator.projects-navigator {
        margin-bottom:20px;
    }
    .project_banner {
        height: 100%;
        min-height: unset;
        max-height: unset;
    }

    .container-project {
        padding: 20px 20px;
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    .container-project > div {
        width:100%;
    }
    .description-info {
        padding:0 0;
        margin-bottom:10px;
    }
    .description-info > div {
        border-top:1px solid #ddd;padding:10px 0;
    }
    .color-box{
        display:none;
    }
    .box-image, .box-image-1, .box-image-2, .box-image-3 {
        background-size:cover;
        height: 240px;
        min-height: 240px;
        width: 100%;
        padding:0 0;
        margin: 0 auto;
        position: relative;
        background-position: center center;
    }
    .container-project > div {
        z-index:999;
    }
    .box-image.fuorisalone-slider {
        height: 65vw;
        max-height: 600px;
    }
    .fuorisalone-slider-image {
        width: 100%;
        height: 100%;
        padding: 0;
        background-position: center;
    }
    .box-container {
        padding: 0 20px 40px 20px;
        flex-direction: column-reverse;
        background-color: #f0f0f0;
        margin-top:-160px;
    }
    .box-container > div:last-child {
        width: 100%;
    }
    .box-description-1, .box-container > div:last-child {
        padding: 150px 0 0 0;
        position: relative;
        z-index:-99;
        margin-bottom:10px;
    }
    .box-container > div:first-child {
        width:100%;
    }
    .container-services {
        margin-top:10px;
    }
    .header-services {
        padding:20px;
    }
    .content-services{
        flex-direction: column;
        padding:0 0;
    }
    .header-services h3 {
        width:100%;
        padding:20px 0;
    }
    .text-services {
        width:100%;
        background-color:#fff;
        padding:20px 20px;
    }
    .img-box {
        margin: 20px; padding: 0px; height: 240px; overflow: hidden;
    }
    .container-services .banner_btn {
        text-transform: uppercase;
        font-size:12px;
        color:#777373;
    }
    .icon-box {
        width:100%;
    }
    .icons {
    
        grid-template-columns: repeat(auto-fill, 9em);
    }
    #thankyou {
        top:20%;
    }

    .right-box-padding{
        padding-right: 0px; padding-left:0px;
    }

    #rptProjects {
        grid-template-columns: 100%;
        /* grid-template-rows: 80px auto 80px; */
        column-gap: 3%;
    }

    #navigator.projects-navigator{
        padding: 30px 10px;
    }

    .projects #gallery_full_cont {
        background-color: #FFFFFF;
    }
    
    .projects .gallery_full_close {
        right: 5%;
        left: unset;
    }

    .projects #gallery_full_header {
        height: 100px;
        display: flex;
        padding: 5%;
    }

    .projects #gallery_full_image_cont {
        height: calc(100% - 200px);
        top: 0;
    }

    .projects #gallery_full_footer {
        height: 200px;
        padding: 5%;
    }

    .projects #gallery_full_footer > :last-child {
        width: 100%;
        flex-flow: column-reverse;
        justify-content: flex-end;
    }

    .projects #gallery_full_footer .infobox {
        margin-top: 10px;
    }

    .projects .infobox_onlymobile {
        display: flex;
        flex-flow: column;
        justify-content: center;
    }    

    .projects .progressbar {
        width: calc(90% - 112px);
    }

    .filter_unselected, .filter_selected{
        padding-bottom: 10px; padding-left: 0px; padding-right: 20px;
    }

    .box-image-3{
        margin-bottom: -100px;
    }

    .project_img{
        display: none;
    }
    .project_img_mobile{
        display: block;
    }

    .fuorisalone .project_banner_sublogo {
        max-width: 100%;
    }

    .contact_panel .text-area.fuorisalone {
        padding: 0;
    }

    .container-project.fuorisalone {
        min-height: unset;
    }

    .box-image.fuorisalone-img1 {
        height: auto;
        padding: 30%;
    }
    
    .box-image.fuorisalone-img2 {
        height: auto;
        padding: 30%;
    }
    
    .box-image.fuorisalone-img3 {
        height: auto;
        padding: 30%;
    }
    
    .box-image.fuorisalone-img4 {
        height: auto;
        padding: 30%;
    }
    
    .box-container.fuorisalone {
        margin-top: -160px;
    }

    .container-project.fuorisalone {
        padding-top: 20px;
    }
}

@media screen and (max-width: 700px){
    .thankyou-page-content .banner_title2 {
        font-size: 20px; line-height: 35px;
    }

    .box-image.fuorisalone-img4 {
        min-height: 450px;
    }
}

@media screen and (max-width: 530px){
    .contact_panel .text-area {
        padding: 0;
    }
}

@media screen and (max-width: 400px){
    .icon-text{
        width: 160px;
    }
    .icon-text span{
        padding-right: 5px; padding-left: 5px;
    }
}




/*Popup Gallery*/
#popupGallery {
    z-index:20000;
}
#popupGallery .popupPrivacyContent{
    padding: 0 0 0px 0;
    width:80%;
    height:80%;
}
.content-slide {
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    margin-top:50px;
    padding:0 20px;
}.img-container {
    width:100%;
    margin:0 auto;

}
.content-slide > div {
    width:50%;
    text-align:left;
}
.mySlides {display: none}
img {
    vertical-align: middle;
}
.indicator {
    position:absolute;
    bottom:15%;
    right:10%;
    width:60%;
    display:flex;
    justify-content: space-between;
}
.indicator > div:first-child {
    width:80%;
    text-align:right;
}
.indicator > div:last-child {
    width: 20%;
}
/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}
.popupPrivacyContent > div {
    flex-direction:column;
    justify-content: space-between;
}
.img-container {
    text-align:center;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    border: 1px solid #ddd;
    padding: 27px 18px;
    margin-top: -22px;
    color: #717171;
    font-weight: bold;
    width: 70px;
    height: 70px;
    transition: 0.6s ease;
    border-radius: 50px 50px;
    font-size: 11px;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 50px 50px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
 text-decoration: underline;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 2px;
  width: 50px;
  margin: 0 2px;
  background-color: #bbb;
 
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
