#sp-header .container .logo {
  max-width:100%;
  height:auto;
}
.formControlLabel {
    transform: translateY(0px);
}
.sp-page-title {
  background-size: cover !important;
}
.layout-blog #sp-title {
  margin:0 0 140px
}
#sp-bottom .container .sp-module .sp-module-title {
  color:#fff
}
#sp-bottom .container #sp-bottom3 .sp-module .sp-module-title {
  color:#171717
}
#sp-footer .container, #sp-bottom .container {
  color: #a2a2a2
}
.lexyort-image-carousel .sppb-carousel-extended-item:before {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(0, 0, 0, 0.4);
}
.body-wrapper #sp-header .container {
    max-width:100%;
    padding:0 30px;
    height:90px
}
.body-wrapper #sp-header {
    background-image: url(/images/headers/Scarpi-HeaderPS.png) !important;
    background-size:cover;
    position:relative;
    top:0 !important;
}
.body-wrapper #sp-header:before {
    content:"";
    position:absolute;
    background-color:rgba(0,0,0,0.5);
    background-color:rgba(255,255,255,0.5);
    width:100%;
    bottom:0;
    top:0
}
.body-wrapper #sp-header .sppb-btn.header-btn {
    margin-left:20px !important;
}
.body-wrapper #sp-header #sp-logo .logo {
    position:absolute;
    left: calc(50% - 236px);
    top:40px;
    display:block;
    text-align:center;
}
#sp-header .logo a {
    display:block
}
.body-wrapper #sp-header #sp-logo .logo  #tagline {
    display:none;
}
@media (min-width:992px) {
    .body-wrapper #sp-header #sp-logo .logo  #tagline {
        display: block;
        clear: both;
        color: #FFF;
        font-size: 25px;
        text-transform: uppercase;
        letter-spacing: -0.5px;
        text-shadow: 0 0 2px rgb(0 0 0 / 50%);
        font-weight: 500;
    }
    .com-sparki .body-wrapper #sp-header #sp-logo .logo  #tagline {
        background-color:#ae9e98;
        text-shadow:none;
        padding:0 3px;
        letter-spacing:0;
        font-size:23px;
        font-weight:400
    }
    .com-sparki .body-wrapper #sp-header #sp-logo .logo {
        top:20px;
    }
}
body .sppb-btn.header-btn.sppb-btn-default, body .btn.header-btn.sppb-btn-default {
    background-color:#ae9e98;
    border-color:#ae9e98;
    margin-top:20px
}
body.ltr #offcanvas-toggler.offcanvas-toggler-right {
    background:#ae9e98;
    padding:12px 18px;
    font-size:22px;
    line-height:22px;
    height:auto;
    top:10px;
}
.offcanvas-menu {
    background-color: #1d447f !important;
    color: #ffffff;
}
.offcanvas-menu .offcanvas-inner .sp-module ul>li a, .offcanvas-menu .offcanvas-inner .sp-module ul>li span {
    font-size:1.4rem !important;
}
.offcanvas-menu .mod-languages ul li,
.offcanvas-menu .mod-languages ul li.lang-active {
    background:transparent !important
}
.offcanvas-menu .offcanvas-inner .sp-module .mod-languages .lang-inline {
    flex-direction: row;
}
.offcanvas-menu .sp-module-content .mod-languages ul.lang-inline li a {
    padding:5px !important;
    font-size: 1.2rem !important;
}
.offcanvas-menu .sp-module-content .mod-languages {
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.5);
    padding-top: 1rem;
}
.close-offcanvas {
    background:transparent !important;
    color: #FFF !important;
    font-size:20px !important;
    line-height:20px !important
}
.sp-page-title .sp-page-title-heading {
    margin-bottom:0
}
.com-sparki .body-wrapper #sp-header {
  height:210px;
}
.com-sparki .body-wrapper #sp-header:before {
    /*background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%)*/
}

@media (max-width: 1280px) {

    .com-sparki .body-wrapper #sp-header #sp-logo .logo {
        left: calc(50% - 208px);
        top: 50px;
    }
    .banner-text-custom .sppb-addon-title {
        font-size:30px !important;
    }
}
@media (max-width: 1199px) and (min-width: 992px) {
    #sppb-addon-wrapper-1620299499049 {
        margin: 0px 0px 0px 0 !important;
    }
}
@media (max-width: 1180px) {
    .banner-text-custom .sppb-addon-title {
        font-size:22px !important;
        top: -20px;
        position: relative;
    }
}
@media (max-width: 991px) {
    .body-wrapper #sp-header .sppb-btn.header-btn {
        padding:9px 24px
    }
    .layout-blog #sp-title {
        margin:0 0 100px
    }
    .logo-image {height:60px !important}
    .com-sparki .body-wrapper #sp-header {
        height:90px;
    }
    .body-wrapper #sp-header #sp-logo .logo,
    .com-sparki .body-wrapper #sp-header #sp-logo .logo,
    .body-wrapper #sp-header #sp-logo .logo-image-phone {
        left: 0;
        top: 7px;
        position:relative;
        height:60px !important
    }
     .banner-text-custom .sppb-addon-title {display:none !important}
}

@media (max-width: 767px) {
    .layout-blog #sp-title {
        margin:0 0 60px
    }
    .body-wrapper #sp-header #sp-logo .logo,
    .com-sparki .body-wrapper #sp-header #sp-logo .logo {
        height:auto !important;
        margin-top:10px;
        width: auto !important;
    }
    .body-wrapper #sp-header #sp-logo .logo-image-phone,
    .logo-image {
            height: 40px !important;
            width: auto !important;
    }
    #sp-title .sp-page-title {
        padding-top:50px
    }
}
@media (max-width: 5000px)  {
    body.ltr #offcanvas-toggler.offcanvas-toggler-right {
        display: inline-block;
    }
}
@media (min-width: 992px) {
    #offcanvas-toggler.d-lg-none {
        display: block!important;
    }
    .sp-megamenu-parent.d-none {
        display:none !important
    }

    #sp-title .sp-page-title {
        text-align:center;
        text-align: center;
        display: grid;
        align-content: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
    }
}
@media (max-width: 500px) {
    body .sppb-btn.header-btn, body .btn.header-btn {display:none;}
    body.ltr #offcanvas-toggler.offcanvas-toggler-right {
        background: #ae9e98;
        padding: 9px 12px;
        font-size: 18px;
        line-height: 18px;
        height: auto;
        top: 20px;
        right: -20px;
    }
    .body-wrapper #sp-header #sp-logo .logo-image-phone,
    .logo-image {
            height: auto !important;
            width: 115px;
    }
}

.floating-button {
    display: block;
    position: fixed;
    bottom: 15%;
    right: 0;
    z-index:999999;
    width:130px;
}

.floating-button a {
    padding: 0.5rem 1.5rem;
    display: block;
    background: #f5a623;
    text-transform: uppercase;
    color:#FFF;
    font-size:14px;
    font-weight:600
}
.floating-button.back {
    width:160px;
}
.floating-button.back a {
    background: #F40E01;
}
.floating-button a:hover,
.floating-button a:active,
.floating-button a:focus {
    color:#FFF;
    background:#252525
}
.floating-button.back {
    bottom: 15%;
    left: 0;
}
.rsfpmodal-container.rsfpopen {
    z-index: 999999;
}
.rsfpmodal-container.rsfpopen .rsfpmodal {
    width:90vw !important;
    max-width:800px !important;
    height:450px !important;
    max-height:90vh !important
}
body.view-properties #sp-main-body {
    padding-top:2rem;
}
@media (max-width:852px) {
    .rsfpmodal-container.rsfpopen .rsfpmodal {
        height:90vh !important;
    }
}
