/*
 Theme Name:   Sébastien Sperano
 Theme URI:    https://plateforme-courtier.com/
 Description:  Plateforme Courtier /Sébastien Sperano
 Template:     plateforme-courtier
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  sperano
*/




/* Réduire l'espace sous le profil-holder */




.social-networks {
    justify-content: center !important; /* Change from justify-content-center to center the logos */
}


.nav-opener {
    position: absolute;
    display:block;
    box-sizing: border-box;
    background: #fff;
    width: 80px;
    padding: 18px 18px 14px;
    font-family: Asap,Arial,"Helvetica Neue",Helvetica,sans-serif;
    font-size: .9375rem;
    line-height: 1;
    border-top: none;
    top: 0;
    right: 5%;
    z-index: 10;
    letter-spacing: -.6px;
}

.header a {
    color: #000;
    font-weight: 200;
    font-family: 'Nunito', sans-serif;
}

.nav-opener span:after, .nav-opener span:before {
    content: none;
}

.nav-opener span {
    background-color: #090a11;
    height: 3px;
    margin-bottom: 9px;
    display: block;
}


/*.nav-holder {
    position: fixed;
    top: 0;
    left: calc(50vw - 610px);
    background-color: #8b2015;
    width: 350px;
    padding: 30px;
    padding-top: 100px;
    padding-bottom: 40px;
    z-index: 998;
    display: none;
}*/

.nav-holder a {
    display: block;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 0;
    font-size: 15px;
}

header .nav .nav-list li {
    margin-bottom: 1vh;
}



.nav-holder {
    position: absolute !important;
    top: 0;
    right: 9%;
    background-color: #090a11;
    width: 350px;
    min-height: 580px !important;
    padding: 30px;
    padding-top: 260px;
    padding-bottom: 40px;
    z-index: 1 !important;
    display: none;
}

.about-block h1 {
    line-height: 1.3;
    font-size: 3.25rem;
}

.header.header-absolute .holder, .header.header-absolute .text{
    display: block !important;
}


@media only screen and (max-width: 768px) {
    
    .about-block h1 {
        width: 50%;
        margin-bottom: 75%;
    }
    
    header .nav .nav-holder{
        right: -45px;
    }
    
    .nav-active header .nav .social-networks{
        margin-top: 10%;
    }
    
    #wrapper .about-block .img-holder{
        right: 0px !important;
    }

}


#wrapper .about-block .img-holder {
    position: absolute;
    right: 0;
    width: 100%;
    top: 32%;
    /* text-align: right; */
    left: unset;
    right: 25px;
}

.about-block .img-holder img {
    /* max-width: 100%; */
    height: auto;
    width: calc(100%);
}

.about-block .social-networks {
    /* font-size: 22px; */
    /* margin-left: -15px; */
    /* margin-right: -15px; */
    /* position: absolute; */
    /* bottom: -75px; */
    display: flex !important;
    /* margin: 0; */
    justify-content: center;
    /* align-self: center; */
    margin-top: 25px;
}

.banner .video {
display: unset;
}

@media screen and (max-width: 768px) {
.carousel-proprietes .titre-overlay h1 {
    font-size: 2.8rem;
    line-height: 45px;
}
	}


.bg{
	display: none;
} 

.courtier-block .col-image {
    position: relative; 
    border: 3px solid #111c5d!important; 
} 
.courtier-block .img-holder { 
    background-repeat: no-repeat; 
    background-position: 50% 0; 
    background-size: cover; 
    height: 280px; 
}
.courtier-block:hover .img-holder:before {
    content: '';
    width: calc(100% - 0px);
    height: calc(100% - 0px);
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 15px;
    transition: opacity .2s ease;
    transform: translate3d(-50%,-50%,0);
    background-image: linear-gradient(
90deg,#fecf2f,#fecf2f),linear-gradient(
180deg,#fecf2f,#fecf2f),linear-gradient(
90deg,#fecf2f,#fecf2f),linear-gradient(
180deg,#fecf2f,#fecf2f),linear-gradient(
90deg,transparent,transparent);
    background-position: 15px 15px,top 15px right 15px,bottom 15px left 15px,15px 15px,0 0;
    background-size: calc(100% - 32px) 1px,1px calc(100% - 96px),calc(100% - 226px) 1px,1px calc(100% - 30px),100% 100%;
    background-repeat: no-repeat;
} 
.courtier-block .btn-contact { 
    position: absolute; 
    bottom: 15px; 
    right: 15px;
} 

@media (max-width:  575px) {
    .courtier-blocks {
        max-width: 375px; 
        margin: 0 auto;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    .col-sm-6 { 
        flex: 0 0 50%;
        max-width: 50%; 
    }
} 

/*--------------------- Senza CSS --------------------------------------------------------------------*/


.courtier-bg {
    background-color: #efefef;
    padding: 30px 0;
}

.courtiers-card {
    border:  3px solid #111c5d;
    background-color: #111c5d;
    width: 250px;
    margin: 20px 12px;
}

.courtiers-card img {
    width: 100%;
    height:  280px;
    object-fit:  cover;
    object-position: top;
    background-color: #ffffff;
}

.courtier-content {
    background-color: #111c5d;
    padding: 16px;
    color:  #ffffff;
}

.courtier-name {
    font-size: 30px;
    margin-bottom: 10px;
    line-height: 2rem;
    font-weight: 300;
}

.courtier-position,
.courtier-tel {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.5rem;
    color: #ffffff;
}

.courtier-tel:hover {
    color:  #ffffff;
}

.all-coutiers-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 2rem;
}

.acs-1st {
    margin-bottom: 3rem;
}

.img-container {
    position: relative;
}

.contact-btn {
    background-color: #181818;
    border:  1px solid #ffffff;
    padding: 6px 20px;
    font-size: 20px;
    color: #ffffff;
    position: absolute;
    bottom: 5%;
    right: 5%;
}

.courtiers-card a {
    color:  #ffffff;
}

.courtiers-card a:hover {
    color:  #ffffff;
    text-decoration: none;
}

.contact-btn:hover {
    background-color: #dc1c2e;
}

.courtiers-card:hover .img-container::before {
    content: '';
    width: calc(100% - 0px);
    height: calc(100% - 0px);
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 15px;
    transition: opacity .2s ease;
    transform: translate3d(-50%,-50%,0);
    background-image: linear-gradient( 90deg,#fecf2f,#fecf2f),linear-gradient( 180deg,#fecf2f,#fecf2f),linear-gradient( 90deg,#fecf2f,#fecf2f),linear-gradient( 180deg,#fecf2f,#fecf2f),linear-gradient( 90deg,transparent,transparent);
    background-position: 15px 15px,top 15px right 15px,bottom 15px left 15px,15px 15px,0 0;
    background-size: calc(100% - 32px) 1px,1px calc(100% - 96px),calc(100% - 226px) 1px,1px calc(100% - 30px),100% 100%;
    background-repeat: no-repeat;
}

.head-roles{
    margin-left: 18px;
}

@media screen and (min-width: 426px) and (max-width: 767px) {
    .courtiers-card {
        margin: 0 auto;
    }
}

@media screen and (min-width: 321px) and (max-width: 425px) {
    .courtiers-card {
        margin: 0 auto;
    }
}

@media screen and (min-width: 0) and (max-width:  320px) {
    .courtiers-card {
        margin: 0 auto;
    }
}

.page-id-18367 main section.texte:nth-child(5) {
    display: none;
}

/* Mobile: hide the share button and its separator line */
@media (max-width: 767.98px) {
    /* hide the share button */
    #share-button { display: none !important; }
    /* hide the pseudo-element (the small horizontal line) for the third footer column */
    .footer-block .cols:nth-child(3):before { display: none !important; }
    .social-networks li { margin: 0 5px; }
    /* add 50px gap below the social icons on phone */
     .social-networks { margin-bottom: 5px; }

     /* Stronger overrides: target the footer column specifically and force the gap
         (useful if parent CSS or utility classes like .mb-0 override simple rules) */
     .footer-block .cols:nth-child(2) .social-networks { margin-bottom: 5px !important; }
     .footer-block .cols:nth-child(2) { padding-bottom: 5px !important; }

}