/*
Theme Name: Marinoni-Theme-Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;

}

/* Titoli H1-H6 */
h1, h2, h3, h4, h5, h6 {
  font-family: "ivypresto-display", serif;
  font-weight: 300; /* Light */
  font-style: normal;
}

.cursor-pointer {
    cursor: pointer;
}

.home-stack-row .col-inner{
    padding: calc(100vw / 51);
    padding-bottom: 3rem;
    padding-top: 3rem;
    height: 100%;
}

.home-stack-row.four-rows .row:nth-child(3) .col-inner{
    border-left:  1.2px solid white;
     border-right:  1.2px solid white;
     height: 100%;
}

.home-stack-row.four-rows .row:nth-child(2) .col-inner{
	border: 0;
    border-left:  1.2px solid white;
     height: 100%;
}

.home-stack-row .row:nth-child(2) .col-inner{
    border-left:  1.2px solid white;
     border-right:  1.2px solid white;
     height: 100%;
}

.home-stack-row .row .col-inner p{
    line-height: 130%;
}

.home-stack-row{
    background-color: #1f1f1f;
    border-radius: 25px;
}

.portfolio-element-wrapper:has(.portfolio-home) .nav li a{
    color: black;
    opacity: .6;
    font-size: .9rem;
}

.portfolio-element-wrapper:has(.portfolio-home) .nav li.active a{
    opacity: 1;
    color: black;
}
.portfolio-element-wrapper:has(.portfolio-home) .nav li:first-child{
   display: none;
}

.portfolio-element-wrapper:has(.portfolio-home) .portfolio-box h6{
   text-align: left !important;
   color: black;
}

.portfolio-element-wrapper:has(.portfolio-home)  .portfolio-clickable{
  background-color: red;
  height: 0 !important;
  display: none;
}
body.home .footer-form-section{
    display: none;
}
.footer-navigation span a{
    display: block;
        font-family: "ivypresto-display", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 2.4rem;
}

footer .footer-p{
      font-family: "ivypresto-display", serif;
    font-weight: 300;
    font-style: normal;
}
ul.header-nav li a{
    font-family: "ivypresto-display", serif;
    font-weight: 400;
    font-style: normal;
}
.back-to-top.button.icon{
    background-color: black !important;
    opacity: .9;
}

.back-to-top.button.icon:hover{
    opacity: 1 !important;
}
body:has(.custom-nav-portfolio) .portfolio-element-wrapper ul.nav.filter-nav{
 flex-wrap: nowrap;
}

body:has(.custom-nav-portfolio) .portfolio-element-wrapper ul.nav.filter-nav li a{
    color: #8f908c;
    opacity: .9;
    text-transform: capitalize;
    font-size: 1rem;
    font-weight: 200;
}
body:has(.custom-nav-portfolio) .portfolio-element-wrapper ul.nav.filter-nav li.active a{
    color: #808080 !important;
     font-weight: 800;
     opacity: 1;
text-shadow: 0 0 2px #ebebeb;
}
body:has(.custom-nav-portfolio) .portfolio-element-wrapper ul.nav.filter-nav li a::after{
   display: none;
}
.custom-nav-portfolio .portfolio-box-title{
    color: black;
    opacity: 1;
      font-family: "Yanone Kaffeesatz", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
	letter-spacing: 4px;
}
.custom-nav-portfolio .portfolio-clickable{
    color: black;
    opacity: 1;
      font-family: "Yanone Kaffeesatz", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.form-col-cstm form input,.form-col-cstm form textarea{
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid white;
    height: 50px;
    padding-left: 0;
    padding-bottom: rem;
    color: white !important;
    padding-bottom: 7%;
}
.form-col-cstm form input{
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid white;
    height: 50px;
    padding-left: 0;
    padding-bottom: rem;
    color: white !important;
    padding-bottom: 7%;
}
.form-col-cstm form input:focus,.form-col-cstm form textarea:focus{
   box-shadow: none !important;
   background-color: transparent !important;
}
.form-col-cstm form input::placeholder,.form-col-cstm form textarea::placeholder{
    padding: 0 !important;
    color: white;
    margin: 0;
    position: absolute;
    top: 0;
}

.form-col-cstm .form-privacy{
     height: auto;
}

.form-col-cstm .wpcf7-list-item:has(.form-privacy) label{
     display: flex;
    line-height: 100%;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    background-color: rgb(71 71 71 / 17%);
    color: white;
    border-color: #f5b335 !important;
}
.wpcf7 form.sent .wpcf7-response-output {
    background-color: rgb(0 0 0 / 0%);
    color: white;
    border-color: #3a8a42 !important;
}

.form-col-cstm .contact-form-custom-btn{
    background-color: #666666;
    width: 100%;
    border: 0;
    height: 30px;
    border-radius: 10px;
    font-weight: 200;
    padding: 0;
    margin-top: .5rem;
}

.footer-form-col form input,.footer-form-col form textarea{
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid black;
    height: 50px;
    padding-left: 0;
    padding-bottom: rem;
    color: black !important;
    padding-bottom: 7%;
    box-shadow: none;
}
.footer-form-col form input{
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid black;
    height: 50px;
    padding-left: 0;
    padding-bottom: rem;
    color: black !important;
    padding-bottom: 7%;
}
.footer-form-col form input:focus,.footer-form-col form textarea:focus{
   box-shadow: none !important;
   background-color: transparent !important;
}
.footer-form-col form input::placeholder,.footer-form-col form textarea::placeholder{
    padding: 0 !important;
    color: black;
    margin: 0;
    position: absolute;
    top: 0;
}

.footer-form-col .form-privacy{
     height: auto;
}

.footer-form-col .wpcf7-list-item:has(.form-privacy) label{
     display: flex;
    line-height: 100%;
}

.footer-form-col .contact-form-custom-btn{
    background-color: #666666;
    width: 100%;
    border: 0;
    height: 30px;
    border-radius: 10px;
    font-weight: 200;
    padding: 0;
    margin-top: .5rem;
    color: white !important;
}
body:has(.no-footer-form-page) .footer-form-section{
    display: none !important;
}

body:has(.contact-page-section) #footer{
    display: none;
}

body:has(.contact-page-section) #content{
    height: 80vh;
}

.button.secondary.is-link:hover{
    color: black !important;
}

@media only screen and (max-width: 550px) {
 .home-stack-row .col-inner {
    padding: calc(100vw / 51);
    padding-bottom: 2rem !important;
    padding-top: 2rem !important;
    height: 100%;
}
.home-stack-row .row:nth-child(2) .col-inner
 {
    border-left: 0px !important;
    border-right: 0px !important;
    border-top: 1.2px solid white;
    border-bottom: 1.2px solid white;
}
.home-stack-row.four-rows .row:nth-child(2) .col-inner
 {
    border-left: 0px !important;
    border-right: 0px !important;
    border-top: 1.2px solid white;
    border-bottom: 1.2px solid white;
}	
	.home-stack-row.four-rows .row:nth-child(3) .col-inner
 {
    border-left: 0px !important;
    border-right: 0px !important;
    border-top: 0px solid white;
    border-bottom: 1.2px solid white;
}
	
}

/*** LP ***/
/** LP-1 **/
.lp-1-elenco-stack .icon-box .uppercase{
    margin: 0;
    font-size: 1.5rem;
}
.footer-form-col.lp .wpcf7-acceptance .wpcf7-list-item-label{
    color: black !important;
    font-family: Lato;
font-weight: 400;
font-style: Regular;
font-size: 12px;
line-height: 100%;
letter-spacing: 0%;
vertical-align: middle;

}

.footer-form-col.lp .custom-contact-form .col{
 margin-block: .5rem !important;
 padding-bottom: 0;

}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    background-color: rgb(71 71 71 / 17%);
    color: #000000;
    border-color: #f5b335 !important;
	margin-top: 0px;
}
.wpcf7 form.sent .wpcf7-response-output {
    background-color: rgb(0 0 0 / 0%);
    color: #000000;
    border-color: #3a8a42 !important;
}
.footer-form-col input.contact-form-custom-btn:focus
 {
    box-shadow: none !important;
    background-color: #525252 !important;
}

/*** SLIDER COMMERCIALE ***/
.custom-commerciale-slider{
    position: relative;
    left: 0;
    right: 0;
}

.custom-commerciale-slider h2{
    font-size: 1.5rem;
}

.custom-commerciale-slider .slider-style-shadow .flickity-slider>:before

 {
  display: none !important;
}

.custom-commerciale-slider .row .banner{
    padding-top: 333px !important;
      transition: all .3s linear;
      width: 100%;
}

.custom-commerciale-slider .row.is-selected .banner{
    padding-top: 333px !important;
    margin-top: 50px;
    width: 100%;
    transition: all .3s linear;
}

.custom-commerciale-slider .row .banner{
    padding-top: 400px !important;
      transition: all .3s linear;
      width: 100%;
}

.custom-commerciale-slider .flickity-viewport{
    min-height: 600px;
}

.slider-style-shadow .flickity-slider>.row
 {
    transform: scale(1) !important;
}

.commericale-slider-controller{
    position: absolute;
    left: 25%;
    top: 50%;
    width: 14.8%;
    transform: translateY(-50%);
	z-index: 2;

}

.commericale-slider-controller h2{
   font-size: 1vw;
   text-align: left;
   padding-left: 2.5rem;

    }
    .commericale-slider-controller p{
   text-align: left;
   padding-left: 2.5rem;

    }
    .commericale-slider-controller .stack{
   justify-content: start;
   padding-left: 3rem;

    }
    
.commericale-slider-controller .img {
    width: 1.5rem !important;
    cursor: pointer;
}

@media screen and (max-width: 550px) {
  .custom-commerciale-slider .row.is-selected .banner{
    padding-top: 400px !important;
    width: 100%;
    transition: all .3s linear;
}
}

@media screen and (max-width: 850px) {
    .commericale-slider-controller{
    position: relative;
    left: 50%;
    top: 0;
    width: 100%;
    transform: translateX(-50%);
    z-index: 2;
    
}

.commericale-slider-controller h2{
   font-size: 4.5vw !important;
      text-align: center;
      padding: 0;
    }

    .commericale-slider-controller p{
   text-align: center;
padding: 0;

    }
        .commericale-slider-controller .stack{
   justify-content: center;
padding: 0;

    }
    
}
.custom-commerciale-slider h2 a:hover {
    color: black;
}

/**** Residenziale ****/
.lightbox-residenziale{
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.lightbox-residenziale .row .col:last-child .col-inner{
    background-color: rgba(0,0,0,0.88)
    !important;
    color: white;
    font-size: 14px !important;
    padding: 15px;
}

.mfp-bg{
    background-color: transparent !important;
}

.residenziale-img-hotspot .banner-bg img{
    opacity: 38%;
}

.residenziale-hotspot a{
    opacity: 1 !important;
       transition: all .5s ease-in-out;
}

.residenziale-hotspot a i{
    display: none;
}

.residenziale-hotspot a::before{
   content: "";
   height: calc(100% + 15px);
   width: calc(100% + 15px);
   background-color: rgba(255,255,255,.8);
   display: block;
   position: relative;
   z-index: -1;
   border-radius: 9999rem;
   opacity: 0;
   transition: all .5s ease-in-out;
   bottom: 7.5px;
   left: 2.5px;
}
.residenziale-hotspot div:has(a.hotspot):hover a::before{
   opacity: 1;
}

.residenziale-hotspot div:has(a.hotspot):hover a{
background-color: #ffd840 !important;
  transform: translate(10px, 10px);
	opacity: 0.8;
}
.residenziale-hotspot div:has(a.hotspot):hover a::before{

  transform: translateX(-10px);
}

.residenziale-close-btn{
    background-color: black;
    position: absolute;
    right: 0;
    top: -20px;
    height: 20px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.banner .banner-layers.container:has(a.fill) a.fill{
    width: 100% !important;
    position: absolute !important;
    right: 0;
    z-index: 1;
}
.banner .banner-layers.container:has(a.fill) {
  max-width: 100%;
    width: 100% !important;
margin: 0;
}
.wpcf7-not-valid-tip{
    position: absolute !important;
}

.wpcf7-spinner{
    position: absolute !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #3a8a42 !important;
    color: #ffffff;
	line-height: 105%;
    border-color: #3a8a42 !important;
	margin-top: 10px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    background-color: #f3a52f !important;
    color: #ffffff;
    border-color: #f3a52f !important;
	margin-top: 0px;
}

#footer .newsletter-footer-form input{
    background-color: #555555;
    border: 0;
    box-shadow: unset;
    color: white;
    padding: 1.7rem 1rem;
    font-size: 1.2rem;
        margin-bottom: 0;
border-radius: 30px;
}

#footer .newsletter-footer-form{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#footer .newsletter-footer-form .newsletter-btn-footer{
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#footer .newsletter-footer-form .newsletter-btn-footer span{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-image: url(/wp-content/uploads/2025/07/Right-Arrow.svg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 70%;
}
.portfolio-clickable{
    position: absolute;
}
.custom-nav-portfolio .box-text{
    height: 90px;
}

.footer-form-col label:has(.form_privacy)
 {
    display: flex !important;
    align-items: center;
}
.footer-form-col .wpcf7-acceptance .wpcf7-list-item-label {
    color: black !important;
    font-family: Lato;
    font-weight: 400;
    font-style: Regular;
    font-size: 13px !important;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.footer-form-img{
    height: 92%;
}
.lp-form-img{
    height: 93%;
}


#custom-lightbox {
    position: absolute;
    bottom: 7px;
    right: 7px;
    height: 35px;
    width: 35px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgY2xhc3M9Imx1Y2lkZSBsdWNpZGUtZXhwYW5kLWljb24gbHVjaWRlLWV4cGFuZCI+CiAgPHBhdGggZD0ibTE1IDE1IDYgNiIvPgogIDxwYXRoIGQ9Im0xNSA5IDYtNiIvPgogIDxwYXRoIGQ9Ik0yMSAxNnY1aC01Ii8+CiAgPHBhdGggZD0iTTIxIDhWM2gtNSIvPgogIDxwYXRoIGQ9Ik0zIDE2djVoNSIvPgogIDxwYXRoIGQ9Im0zIDIxIDYtNiIvPgogIDxwYXRoIGQ9Ik0zIDhWM2g1Ii8+CiAgPHBhdGggZD0iTTkgOSAzIDMiLz4KPC9zdmc+Cg==");
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition: all .5s ease-in-out;
    cursor: pointer;
    opacity: 0.7;
	filter: invert(47%) sepia(14%) saturate(466%) hue-rotate(344deg) brightness(92%) contrast(89%);
}
#custom-lightbox:hover {
opacity: 1;
    background-size: 80%;
}
body:has(#custom-lightbox) .mfp-bg{
    background-color: black !important;
}

body:has(#custom-lightbox) .lightbox-content{
    border-radius: 15px;
}


.wpcf7 form.invalid .wpcf7-response-output

label:has(.form_privacy){
    display: flex !important;
    align-items: top !important;
    line-height: 120%;
}

label:has(.form_privacy) span{
	color: white !important;
}

input.form_privacy{
max-height: 1.5rem !important;
    
}

label:has(.form_privacy) a{
   text-decoration: underline;
}
#footer label:has(.form_privacy){
    display: flex !important;
    align-items: top !important;
    line-height: 120%;
	color: white !important;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

