
/*
SOMMAIRE
00- générale
01- Accueil
02- Contact
03- page carrefour


*/


/*------------------
--- 00- générale ---
--------------------*/


/*-----------------
--- 01- accueil ---
-------------------*/

.title-line {
    height: max-content;
    color: var(--color-primary-dark);
    font-size: 45px;
    font-weight: 300;
    line-height: 52px;
    letter-spacing: 4px;
    text-transform: uppercase;
    border-left: 8px solid var(--color-primary-light);
    padding-left:24px;
}

.title-home {
    position: relative;
    font-size: 36px;
    font-weight: 300;
    line-height: 44px;
    color: var(--color-primary-dark);
}
.title-home::before {
    content:"";
    position: absolute;
    left: -80px;
    top:8px;
    width: 61px;
    height: 32px;
    background: var(--color-degrad-primary);
    border-radius: 15px;
    transition: 0.8s all;
}

/*En tête*/

.slider-home .slick-slide {
    padding: 0!important;
}
.slider-home .slick-slide > div {
    width: 100%!important;
}
.slider-home .sectionHomePage img {
    height: 372px;
}

/* Bloc : en un clic */
.linkHomepage {
    padding: 76px 0;
}
.linkHomepage .navigation-homepage-single-item:hover .navigation-homepage-link {
    color: var(--color-primary)!important;
}
.linkHomepage .navigation-homepage-single-item img {
    transition: transform 0.3s ease; /* Animation douce */
}
.linkHomepage .navigation-homepage-single-item:hover img {
    transform: scale(1.1); /* Zoom léger */
}
.linkHomepage a[target="_blank"].navigation-homepage-single-item .navigation-homepage-link{
    background-image: url(/wp-content/themes/mediapilote/img/charte/menu-extern.svg);
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 18px;
}

/* Bloc : alerte info */
.information-homepage-item {
    padding: 24px 70px;
    box-shadow: 0px 0px 14px -1px rgba(0, 0, 0, 0.10);
    border-radius: 99px;
    gap:40px;
    margin-bottom: -50px!important;
    z-index: 1;
}
.information-homepage .information-homepage-title {
    padding-right: 12px;
    font-size: 28px;
    border-right: 4px solid #F5AFAE;
}
.information-homepage .information-homepage-title span:first-child {
    font-weight: 300;
}
.information-homepage .information-homepage-text p {
    margin-bottom: 0!important;
}

/* Bloc : actualités */

#actualitiesHomepage::before {
    content:"";
    background-image: url(/wp-content/themes/mediapilote/img/charte/img-ellipse1.png);
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left:0;
    width: 513px;
    height: 591px;
}
#actualitiesHomepage::after {
    content:"";
    background-image: url(/wp-content/themes/mediapilote/img/charte/img-ellipse2.png);
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right:0;
    width: 160px;
    height: 180px;
}
.actualitiesHomepageContainer {
    padding: 136px 0 72px 0;
    /* height: 750px; */
}


/* bloc : agenda */

#agendaHomepage .agendaHomepage-container {
    padding:48px 0 160px;
    background-image: url(/wp-content/themes/mediapilote/img/charte/img-ellipse3.png);
    background-repeat: no-repeat;
    background-position: center top;
}
#agendaHomepage .agendaHomepage-container::before {
    content:"";
    background-image: url(/wp-content/themes/mediapilote/img/charte/bg-agenda-home.png);
    position: absolute;
    bottom: 0;
    left:125px;
    width: 519px;
    height: 302px;
}


/*bloc : Le kiosque */

#focusHomepage {
    padding: 72px 0;
}
.publication-home-title > span:first-child {
    padding-left: 45px;
}
.publication-home-title.title-home::before {
    width: 32px;
    height: 32px;
    border-radius: 99px;
    left:0;
}

.blocInfoWidget.document-useful {
    padding:32px!important;
    width: 529px;
    position: absolute;
    right: 0;
    top: -65px;
}
.document-useful .title-line {
    font-size:36px;
}


/* bloc : contact */

.contactHomepage .contact-bloc-info {
    flex:1;
    border-radius: 24px;
    padding:24px;
}
.contactHomepage .newsletter-home {
    background-image: url(/wp-content/themes/mediapilote/img/charte/icon-envelop.svg);
    background-position: top right;
    background-repeat: no-repeat;
}
.contactHomepage .btn-primary-light-medium.contact-bloc-link {
    padding: 12px 24px 12px 16px
}


/* bloc : galerie */
.galery-home-img .fixed-size-img {
    width:980px;
}
/* .galery-home-img .slick-slide {
    width:995px!important;
} */


/* Style the tab */
.tab {
    overflow: hidden;
}
  

  
  .tabcontent {
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
  }
  
  /* Go from zero to full opacity */
  @keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }


/*-----------------
--- 02- Contact ---
------------------- */

.page-template-page-contact #contents {
    padding: 0;
    margin-bottom: -10px;
}
.contact-form-text-inner{
    border-bottom: 1px solid var(--color-secondary-grey);
}

/*------------------------
--- 03- page carrefour ---
--------------------------*/

/* Réalisations */

.widget-sticky{
    position: sticky;
    top: 0;
}

.realisations_homepage--item,
.category-realisation{
    color: #009ABD !important;
}
.realisations_homepage--item .category-realisation{
    font-weight: 600;
    letter-spacing: 0.2;
    text-transform: uppercase;

}
.realisations_homepage--item-img{
    position: relative;
    border-radius: 5px 5px 0 0;
}
.realisations_homepage--item-img::before{
    content: "";
    display: block;
    width: 100%;
    padding-top: 100%;
}
.realisations_homepage--item-img img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.realisations_homepage--item-text{
    padding: 1.5rem;
    /* border-radius: 5px; */
    /* position: absolute;
    left: 30px;
    right: 30px;
    bottom: 15px; */
}

.realisations_homepage .row > div{
    padding: 15px;
}
.realisations_homepage--item .realisations_homepage--item-text.bg-white{
    transition: 0.2s;
}
.realisations_homepage--item-text .like-h3{
    max-width: calc(100% - 80px);
    text-transform: initial;
}
.link-arrow{
    width: 56px;
    height: 56px;
    /* background-color: #009abd17;
    opacity: 0.1; */
    position: absolute;
    bottom: 30px;
    right: 15px;
    background: #009abd17 url(/wp-content/themes/mediapilote/img/charte/arrow-right-light-blue.svg);
    background-repeat: no-repeat;
    background-position: center;

}

.realisations_homepage--item-img:hover .link-arrow{
    background: #0b2f1300 url(/wp-content/themes/mediapilote/img/charte/arrow-right-white.svg);
}

.card-img{
	width: fit-content;
    margin: 0 auto;
}


.card-img svg{
    position: absolute;
    bottom: -70px;
    right: -25px;
}


.stapes_homepage--listing-items > .stapes_homepage--item:not(:last-of-type)::after{
    content: '';
    background-image: url('/wp-content/themes/mediapilote/img/charte/line-arrow.svg');
    background-repeat: no-repeat;
    display: inline-block;
    width: 300px;
    height: 100px;
    position: absolute;
    right: -150px;
    background-size: auto;
    top: 50px;
    background-position: center;
}

.share-actu{
    border-top: 1px solid var(--color-secondary-grey);
}

@media (max-width: 1480px){
    .stapes_homepage--listing-items > .stapes_homepage--item:not(:last-of-type)::after{
        background-size: contain;
        right: -80px;
        width: 160px;
    height: 45px;
    }
}

@media (max-width: 1200px){
    .stapes_homepage--listing-items > .stapes_homepage--item:not(:last-of-type)::after{
        display: none;
    }
    .actu-inte{
        max-width: 100%;
    }
    .realisations-posts-listing{
        margin-top: 20px !important;
    }
    .filter-listing-realisations{
        margin-bottom: 20px;
    }
    .filter-listing-realisations ul{
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (max-width:1000px) {
    .contact-info .item-contact-info-phone::before,
    .contact-info .item-contact-info-address::before {
        content:none;
    }
    .contact-info .item-contact-info-address p {
        margin-bottom: 0;
    }
    #agendaHomepage .agendaHomepage-container::before {
        left: 0;
    }
}


@media (max-width: 980px){

    .stapes_homepage--listing-items{
        padding-left:15px;
        padding-right:15px;
    }
    .stapes_homepage--item{
        padding:  15px;
    }
    .stapes_homepage .number{
        font-size: 4.5rem;
    }

    .home .experiences{
        position: relative !important;
    }


    
    .widget-sticky{
        position: relative !important;
        top: 0;
    }
}


/*----------------------------------------
--------------- RESPONSIVE ---------------
-----------------------------------------*/

@media screen and (max-width: 1512px) {
    .title-home::before {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
    }
}

@media screen and (max-width: 1250px) {
    .blocInfoWidget.document-useful {
        right: -33px;
    }
}

@media screen and (max-width: 1200px) {
    .blocInfoWidget.document-useful {
        position: relative;
        top:inherit;
        right: inherit;
        width: 100%;
    }
}

@media screen and (max-width:880px) {
    .contactHomepage .contact-bloc-info {
        flex:auto;
    }
    #agendaHomepage .agendaHomepage-container::before {
        content:none;
    }
    #agendaHomepage .agendaHomepage-container {
        padding: 48px 0 30px;
    }
}
