/* CSS ADIM 2019 */
@import url('https://fonts.googleapis.com/css?family=Karla:400,700|Lato:400,400i&display=swap');
:root{
    --size-normal: 18px;
    --size-xbig: 54px;
    --size-title: 43px;
    --size-normal-plus: 22px;
    --size-medium: 28px;
    --size-medium-plus: 35px;
    --txt-color: #4A4A4A;
    --clr-red: #E91C71;
    --clr-blue: #1899CD;
    --black: #000;
    --light-gray: #f4f4f4;
    --bg-footer: var(--txt-color);
    --font-txt: 'Lato', sans-serif;
    --font-head: 'Karla', sans-serif;
}
body{
    font-family: var(--font-txt);
    font-size: var(--size-normal);
    color: var(--txt-color);
    background-color: var(--light-gray);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6{
    font-family: var(--font-head);
}
#header{
    background-color: var(--white);
}
.logo-img{
    max-width: auto;
}

.brand, .brand:hover{
    color: #000;
    text-decoration: none;
}
.brand{
    padding-right: 1rem;
}
.brand .logo-img{
    position: relative;
}
.lg-baseline{
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    display: inline-block;
    padding-top: 1rem;
}

.w-header{
    padding: .15rem 0;
    transition: all .5s;
    position: relative;
}
.w-header.ifloat{
    background-color: var(--white);
    z-index: 1000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: .5rem 0;
    box-shadow: 0 0 3px rgba(70, 70, 70, .8);
}
.navbar-nav{
    width: 100%;
    justify-content: flex-end;
}
.navbar-brand{
    display: none;
}
.navbar-nav > .nav-item > .nav-link{
    font-size: var(--size-normal);
    color: var(--txt-color);
    padding: .5rem .9rem !important;
    margin-bottom: -3px;
}
.navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active{
    color: var(--clr-red);
}
.dropdown-menu{
    border-radius: 0;
    border-top: 3px solid var(--clr-blue);
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}
.dropdown-menu > .dropdown-item{
    font-size: var(--size-normal) !important;
}
.dropdown-menu > .dropdown-item:hover{
    color: var(--white);
    background-color: var(--clr-red);
}
.bg-light{
    background-color: transparent !important;
}
.social-nav{
    display: inline-flex;
    flex-wrap: nowrap;
}
.social-nav > a{
    padding: 0 .5rem;
}
.social-nav > a:hover, .social-nav > a:focus{
    text-decoration: none;
    color: var(--clr-red) !important;
}
#home-slider{
    position: relative;
}

.social-feed{
    position: absolute;
    right: 500px;
    height: 500px;
}

.social-feed .card{
    opacity: 0.95;
}

.social-feed .card-body{
    padding: 0.35rem;
}

.social-feed .tab-pane{
    min-width: 340px;
}

.ci-caption{
    position: absolute;
    color: var(--white);
    left: 17%;
    top: 21%;
    max-width: 545px;
}
.slide-title{
    font-size: var(--size-xbig);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
}
.slide-txt{
    margin: 1.5rem 0 2rem;
    font-size: var(--size-normal);
}
.img-mask{
    position: relative;
}
.img-mask::after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--txt-color);
    opacity: .55;
}
.img-slide{
    height: 545px;
    object-fit: cover;
}
.home-left, .home-right{
    position: absolute;
    bottom: 2rem;
}
.home-left{
    left: 2rem;
}
.home-right{
    left: 7rem;
}
.arrow-down{
    color: var(--white);
    text-decoration: none;
    font-size: 2rem;
    position: absolute;
    left: 45%;
    bottom: 1.5rem;
}
.arrow-down:hover, .arrow-down:focus{
    text-decoration: none;
    color: var(--white);
}
.arr-left::before{
    content: url('../adimv2/img/arrow-left.png');
}
.arr-right::before{
    content: url('../adimv2/img/arrow-right.png');
}

.sl-img-thumb{
    width: 160px;
    height: 100px;
    position: absolute;
    left: 2.1rem;
    bottom: -.9rem;
    clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 80%);
    object-fit: cover;
}

#slideposts{
    position: absolute;
    bottom: -1px;
    right: 0;
    background:url('../adimv2/img/mask-slider-top.svg') no-repeat bottom right;
    background-size: contain;
    height: 520px;
    padding: 1rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}
.btn-rd{
    display: inline-block;
    color: var(--txt-color);
    font-weight: 400;
    font-size: var(--size-normal);
    text-align: left;
    padding: .5rem 5rem .5rem 2rem;
    background-color: var(--white);
    border-radius: 22.5px;
    height: 45px;
    position: relative;
    vertical-align: middle;
}
.btn-rd::after{
    content: url('../adimv2/img/arrow-white.svg');
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--clr-red);
    height: 45px;
    width: 45px;
    border-radius: 100%;
    position: absolute;
    top: 0;
    right: 0;
}
.btn-rd:hover, .btn-rd:focus{
    color: var(--txt-color);
    text-decoration: none;
}
.btn-rd.btn-gry{
    background-color: var(--light-gray);
}
.clr-red{
    color: var(--clr-red);
}

.arr-link, .arr-link:hover, .arr-link:focus{
    color: var(--txt-color);
}
.arr-link::after{
    content: url('../adimv2/img/arrow-red.svg');
    display: inline-block;
    padding-left: .5rem;
}
.plus-lnk{
    font-weight: 700;
    font-size: var(--size-normal-plus);
    font-family: var(--font-head);
    color: var(--black);
    text-decoration: none;
    align-self: flex-start;
}
.plus-lnk:hover, .plus-lnk:focus{
    text-decoration: underline;
    color: var(--black);
    display: inline-block;
}

.clred-bl{
    position: relative;
    /* border: 1px solid #E91C71; */
}
.clred-bl::before{
    content: url('../adimv2/img/title_picto.svg');
    display: inline-block;
    position: relative;
}
.clred-bl.p1::before{
    transform: rotate(90deg) translate(-1rem, -1rem) scale(0.7);
}
.clred-bl.p2::before{
    transform: rotate(0deg) scale(0.7);
}
.clred-bl.p3::before{
    transform: rotate(-90deg) translate(2rem, 1.25rem) scale(0.7);
}
.clred-bl.p4::before{
    transform: rotate(210deg) scale(0.7);
}
.clred-bl.p5::before{
    transform: rotate(180deg) translateY(-2rem) scale(0.7);
}

.clred-title{
    font-size: var(--size-title);
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    left: 10rem;
    bottom: 1rem;
}
.p-express{
    max-width: 595px;
    margin-left: 180px;
}
#home-services{
    padding-top: 7rem;
    padding-bottom: 3rem;
    background: url('../adimv2/img/bg-services.svg') no-repeat 0 10rem /contain, url('../adimv2/img/cercles-bg.svg') no-repeat 900px 0;
}
#home-services .grpe-t{
    padding-left: 5rem;
}

#home-posts{
    padding-top: 5rem;
    background: url('../adimv2/img/bg-actu.png') no-repeat 0 15rem /700px, url('../adimv2/img/cercles-bg.svg') no-repeat 1000px 0;
}
#home-posts .grpe-t{
    padding-left: 5rem;
    margin-bottom: 7rem;
}
#home-agenda{
    padding-top: 7rem;
    padding-bottom: 3rem;
    background: url('../adimv2/img/cercles-bg.svg') no-repeat -7rem 7rem /600px;
}
#home-agenda .grpe-t{
    padding-left: 20rem;
}
#chiffres{
    padding: 2rem 0;
}
#chiffres .grpe-t{
    padding-left: 3rem;
    margin-bottom: 4rem;
}
#projects{
    padding-top: 5rem;
    padding-bottom: 15rem;
    background: url('../adimv2/img/bg-projet.svg') no-repeat right 15rem, url('../adimv2/img/cercles-bg.svg') no-repeat 0 10rem;
}
#projects .grpe-t{
    padding-left: 25rem;
    margin-bottom: 12rem;
}
#parthners{
    padding-top: 7rem;
    background: url('../adimv2/img/bg-partenaires.svg') no-repeat top /cover;
}
#parthners .grpe-t{
    margin-bottom: 2rem;
}
.center-srvce{
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}
.center-srvce:first-child{
    margin-top: 5rem;
}
.bl-srvce{
    max-width: 335px;
    margin: 0 .7rem 3rem;
    position: relative;
    overflow: hidden;
}
.center-srvce:first-child .bl-srvce{
    border-top-left-radius: 32px;
}
.center-srvce:last-child .bl-srvce{
    border-bottom-right-radius: 32px;
}
.srvce-caption{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
    padding: 1rem;
    color: var(--white);
}
.srvce-ttl{
    font-size: var(--size-medium-plus);
    font-weight: 700;
    text-transform: uppercase;
}
.red-lnk{
    color: var(--clr-red);
}
.red-lnk:hover, .red-lnk:focus{
    color: var(--clr-red);
    text-decoration: underline;
}

.actu-item-in{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-left: 5rem;
    margin-bottom: 3rem;
}
.sl-img-actu{
    width: 60%;
}
.sl-actu-caption{
    width: 40%
}
.sl-actu-caption{
    padding-left: 1rem;
    justify-content: space-between;
}
.sl-actu-title a{
    color: var(--black);
    text-decoration: underline;
    font-weight: 700;
    font-size: var(--size-medium);
}
.arrow-left, .arrow-right{
    position: absolute;
    bottom: .25rem;
    color: var(--txt-color) !important;
    cursor: pointer;
    text-decoration: none;
    z-index: 50;
}
.arrow-left:hover, .arrow-right:hover, .arrow-left:focus, .arrow-right:focus{
    text-decoration: none;
}
.arrow-left{
    left: 42%;
}
.arrow-right{
    right: 42%;
}

.carousel-indicators{
    bottom: 0;
    margin: 0 auto;
}
.carousel-indicators li{
    height: 19px;
    width: 19px;
    border-radius: 100%;
    background-color: #E91C71;
    margin: 0 .25rem;
}
.ag-event-i{
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: .45rem;
}
.l-date{
    width: 18%;
    border-right: 1px solid #979797;
}
.r-details{
    width: 82%;
    padding-left: 2.5rem;
    position: relative;
}
.r-details::before{
    content: "";
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    background-color: var(--clr-red);
    position: absolute;
    border: 5px solid var(--light-gray);
    left: -.5rem;
    top: 0;
}
.ag-event-title{
    font-size: var(--size-normal-plus);
}
.ag-event-title a{
    color: var(--black);
    text-decoration: underline;
}

.chfr-bl{
    min-height: 300px;
    text-align: center;
}
.chfr-head{
    height: 145px;
    max-width: 250px;
    background: url('../adimv2/img/oval-porteur-projet.svg') no-repeat top left;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: auto;
    margin-bottom: 1rem;
}
.chfr-head.f2{
    background: url('../adimv2/img/oval-aide-economique.svg') no-repeat top right;
}
.chfr-head.f3{
    background: url('../adimv2/img/oval-formation-entreprises.svg') no-repeat top center;
}
.chfr-disp{
    font-size: var(--size-xbig);
    font-weight: 700;
    text-transform: uppercase;
}
.chfr-caption-1{
    font-size: var(--size-medium);
    font-weight: 700;
}
.chfr-caption-2{
    font-size: var(--size-normal);
}

.prj-item-in{
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}
.bquote{
    width: 35%;
    padding-top: 3rem;
    padding-right: 1rem;
}
.sl-img-prj{
    width: 30%;
}
.prj-item-in .sl-actu-caption{
    width: 35%;
}
.bquote::before{
    content: "\"";
    display: block;
    font-size: 7rem;
    font-family: serif;
    line-height: 0;
    color: var(--txt-color);
}
.bquote cite{
    font-style: normal;
}
#partnersLogo{
    margin-bottom: 1rem;
}
.parthn-it{
    text-align: center;
    height: 165px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer{
    padding: 3rem 0 1rem;
    background-color: var(--bg-footer);
    color: var(--white);
}
#footer a{
    color: var(--white);
    text-decoration: none;
}
.center-logo{
    display: flex;
    justify-content: center;
}
.center-logo a{
    display: inline-block;
    margin-bottom: -5rem;
}
.footer-sd-l{
    display: flex;
}
.footer-sd-r{
    display: flex;
    justify-content: flex-end;
}
.footer-sd-l > a, .footer-sd-r > a{
    padding-right: 2rem;
}

.copy{
    text-align: center;
    margin-top: 3rem;
}


/* Pages */
.breadcrumb-ct{
    background: rgba(61,115,163,0.25);
}
.breadcrumb{
    background-color: transparent;
}
.breadcrumb li{
    font-size: 20px;
}
.breadcrumb li > a{
    color: var(--txt-color);
}

.std-img{
    max-width: 1000px;
    margin: 1rem auto 2rem;
}
.std-img img{
    width: 100%;
}

.page-title-in, .content-in{
    max-width: 779px;
    margin: 0 auto 1rem;
}
.content-in{
    margin-bottom: 2rem;
}
.page-title{
    font-size: var(--size-medium-plus);
    font-weight: 700;
    margin-bottom: 1rem;
}
.post-card{
    margin-bottom: 2rem;
    background-color: #fff;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    transition: all .3s;
}
.post-card:hover{
    box-shadow: 0 2px 10px rgba(80, 80, 80, .25);
}
.post-card-img{
    height: 190px;
    width: 100%;
    background-color: #111;
    object-fit: cover;
}
.post-card-caption{
    padding: 1.5rem 1rem;
    height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--light-gray-bg);
}
.post-card-title{
    font-size: calc(var(--size-normal-plus) - 2px);
    font-weight: 700;
    color: var(--txt-color);
}
.pc-footer{
    width: 100%;
    text-align: right;
}
.art-data{
    display: flex;
    justify-content: space-between;
    font-size: calc(var(--size-normal) - 2px);
    margin-bottom: -1rem;
}
.social-share a, .social-share a:hover, .social-share a:focus{
    color: var(--txt-color);
    text-decoration: none;
}

.post-card.card-ag{
    position: relative;
}
.post-card.card-ag .post-card-caption{
    height: 185px;
}
.saved-date{
    font-size: calc(var(--size-normal) - 2px);
    font-weight: 700;
    background-color: var(--clr-red);
    color: var(--white);
    padding: .25rem 1rem;
    margin: 1rem auto;
    margin-top: -2.5rem;
    border-radius: 10px;
}

.social-widgets {
    display: none;
}


@media (min-width: 1800px) {
    .social-widgets {
      display: block;
    }
}

/*Media Queries*/
@media (min-width: 1200px) {
    .container.c-1000{
      max-width: 1000px;
    }
}

/* Large devices */
@media screen and (max-width: 1199px) {
    .ci-caption{
        left: 7%;
        top: 12%;
    }
    .post-card-caption{
        height: 175px;
    }
}

/* Medium devices */
@media screen and (max-width: 991px) {
    .navbar-toggler{
        border: none;
    }
    .navbar-brand{
        display: inline-block;
    }
    .logo-bl{
        display: none;
    }
    .center-logo{
        display: flex;
        justify-content: center;
    }
    .center-logo a{
        margin-bottom: 2rem;
    }
    #slideposts{
        display: none;
    }

    .home-left, .home-right{
        position: absolute;
        bottom: 2.2rem;
    }
    .home-left{
        left: unset;
        right: 7rem
    }
    .home-right{
        left: unset;
        right: 2rem;
    }
    .arrow-down{
        left: 50%;
    }

    .sl-img-thumb{
        left: unset;
        right: 2.1rem;
        bottom: -.5rem;
    }
    #home-posts{
        padding-top: 5rem;
        background: url('../adimv2/img/bg-actu.png') no-repeat -0 15rem /500px, url('../adimv2/img/cercles-bg.svg') no-repeat 500px 0;
    }
    #home-services{
        padding-top: 7rem;
        padding-bottom: 5rem;
        background: url('../adimv2/img/bg-services.svg') no-repeat 0 15rem /contain, url('../adimv2/img/cercles-bg.svg') no-repeat 500px 0;
    }

    .actu-item-in{
        margin-left: 0;
    }
    .sl-img-actu{
        width: 40%;
    }
    .sl-actu-caption{
        width: 60%
    }
    #home-agenda .grpe-t{
        padding-left: 0rem;
    }
    .ag-one{
        max-width: 500px;
        margin: auto;
        margin-bottom: 2rem;
    }

    #projects{
        padding-top: 5rem;
        padding-bottom: 8rem;
        background: url('../adimv2/img/bg-projet.svg') no-repeat right 25rem, url('../adimv2/img/cercles-bg.svg') no-repeat -7rem 10rem;
    }
    #projects .grpe-t{
        padding-left: 0rem;
        margin-bottom: 5rem;
    }
    .prj-item-in{
        justify-content: flex-start;
        margin-bottom: 3rem;
        flex-wrap: wrap;
    }
    .bquote{
        width: 60%;
        padding-top: 3rem;
        padding-right: 1rem;
    }
    .sl-img-prj{
        width: 50%;
    }
    .prj-item-in .sl-actu-caption{
        width: 50%;
    }
    .post-card-img{
        height: 160px;
    }
    .post-card-caption{
        height: 195px;
    }
    .post-card-title{
        font-size: calc(var(--size-normal-plus) - 4px);
    }
}

/* small devices */
@media screen and (max-width: 767px) {
    .clred-title{
        font-size: var(--size-medium);
        left: 7.5rem;
    }
    #home-posts{
        padding-top: 5rem;
        background: url('../adimv2/img/bg-actu.png') no-repeat left middle /100%, url('../adimv2/img/cercles-bg.svg') no-repeat 500px 0;
    }
    .actu-item-in{
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .sl-img-actu{
        width: 100%;
    }
    .sl-actu-caption{
        width: 100%
    }

    .arrow-left{
        left: 35%;
    }
    .arrow-right{
        right: 35%;
    }

    #projects{
        padding-top: 5rem;
        padding-bottom: 3rem;
        margin-bottom: 5rem;
        background: url('../adimv2/img/bg-projet.svg') no-repeat right bottom, url('../adimv2/img/cercles-bg.svg') no-repeat -7rem 10rem;
    }
    .bquote{
        width: 100%;
    }
    .sl-img-prj{
        width: 100%;
        margin-bottom: 2rem;
    }
    .prj-item-in .sl-actu-caption{
        width: 100%;
    }
    .l-date{
        width: 25%;
    }
    .r-details{
        width: 75%;
    }
    .chfr-disp{
        font-size: calc(var(--size-xbig) - 17px);
    }
    .footer-sd-l, .footer-sd-r{
        display: block;
    }
    .footer-sd-l a, .footer-sd-r a{
        display: block;
        width: 100%;
        padding: .5rem .35rem;
        text-align: center;
    }
    .footer-sd-r{
        display: block;
        text-align: center;
    }
    .grpe-t{
        padding-left: 0 !important;
    }
    .breadcrumb li{
        font-size: var(--size-normal);
    }
    .srvce-ttl{
        font-size: calc(var(--size-medium-plus) - 5px);
    }
    .post-card-caption{
        height: 175px;
    }
}
/*Extra small*/
@media screen and (max-width: 575px){
    :root{
        --size-xbig: 36px;
    }
    .arrow-down{
        left: 2rem;
    }
    .p-express{
        margin-left: 100px;
    }
    .center-srvce{
        flex-wrap: wrap;
    }
    .center-srvce:first-child{
        margin-top: 5rem;
    }
    .bl-srvce{
        max-width: 320px;
        margin: 0 auto;
        margin-bottom: 3rem;
        overflow: hidden;
        border-top-left-radius: 32px;
        border-bottom-right-radius: 32px;
    }
    .bl-srvce:last-child{
        transform: translateY(0em)
    }
    #home-services{
        padding-top: 7rem;
        padding-bottom: 5rem;
        background: url('../adimv2/img/cercles-bg.svg') no-repeat -150px 300px /200%;
    }
    .center-logo a img{
        max-width: 185px;
    }

    .arrow-left{
        left: 30;
    }
    .arrow-right{
        right: 30%;
    }
    .chfr-head{
        background-position: top center;
    }
    .chfr-disp{
        font-size: var(--size-xbig);
    }
    .breadcrumb li{
        font-size: calc(var(--size-normal) - 4px);
    }
    .post-card-img{
        height: auto;
    }
    .post-card-caption{
        min-height: 175px;
    }
    .post-card-title{
        font-size: calc(var(--size-normal-plus) - 2px);
    }
}

@media screen and (max-width: 480px){
    .p-express{
        margin-left: 15px;
    }
    .img-slide{
        height: 600px;
    }

    .clred-bl.p5::before{
        transform: rotate(180deg) translateY(-.5rem);
    }
    .logo-img{
        max-width: 150px;
    }
    .arrow-left{
        left: 25%;
    }
    .arrow-right{
        right: 25%;
    }
}

.widget-titre{
    padding-top: 7rem;
}