body {
    /* font-family: var(--bs-font-sans-serif); */
    /* color: #273048; */
    background-color: #273048;
    color: white;
}

a {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

a:hover,
a.nav-link:focus,
a.nav-link:hover,
a.nav-link.active {
    color: #dfc371;
    /* color: #fdf4bd; */
}

.fond-c a {
    color: #3a508b;
}

.fond-c a:hover {
    color: #516db9;
}

.bg-bleu {
    background-color: #273048 !important;
    /* --bs-text-opacity: .5; */
}

.text-bleu {
    color: #273048 !important;
}

svg {
    fill: currentColor;
}

form,
.card,
.card a,
.pagination .page-link {
    color: #273048;
}

.nav-pills .nav-link {
    /* color: #273048; */
    color: hsl(224, 30%, 45%);

    /* background-color: rgb(240, 241, 242); */
    background-color: #f8f8f8;
    border-radius: 100px;
    /* border: 1px solid rgba(142, 142, 159, 0.2); */
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    /* color: #273048; */
    color: #dfc371 !important;
    background-color: #fff;
}

.nav-pills .nav-link:hover:not(.active) {
    color: #273048 !important;
    /* color: #dfc371 !important; */
    /* background-color: rgb(240, 241, 242); */
    background-color: #fff;
}

.card-footer a {
    border-radius: 100px;
    border: 1px solid rgba(142, 142, 159, 0.2);
}

/* .card a:hover { */
/* opacity: .5; */
/* color: #dfc371; */
/* } */

/* .card a:hover img{
    transform: scale(1.05);
    transition-duration: .65s;
} */

.text-or {
    color: #dfc371 !important;
    /* background-color: var(--bs-success-border-subtle); */
    /* background-color: #d1e7dd; */
}

.btn-outline-or {
    border: 1px solid #dfc371;
}

/* a.btn-outline-or:hover {
    border-color: #fff;
} */

header {
    img.logo {
        animation-duration: 1.5s;
        animation-name: logo;
        animation-iteration-count: 1;
    }

    img.logo-text {
        animation-duration: 1.2s;
        animation-name: logo-text;
        animation-iteration-count: 1;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
        font-weight: 600;
    }

    h1.premier {
        opacity: 0;
        animation-delay: 1.2s;
        animation-duration: 0.7s;
        animation-name: slogan;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }
}


@keyframes logo {
    0% {
        opacity: 0;
        margin-top: -30%;
        transform: rotate(-45deg);
        overflow: visible;
    }

    70%,
    100% {
        opacity: 1;
        margin-top: 0%;
        transform: rotate(0deg);
    }
}

@keyframes logo-text {

    0%,
    30% {
        opacity: 0;
        margin-left: 30%;
    }

    100% {
        opacity: 1;
        margin-left: 0%;
    }
}

@keyframes slogan {
    0% {
        opacity: 0;
        transform: translate(0px, 20px);
    }

    100% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
}

.fond-c {
    position: relative;
    display: flexbox;
    width: 100%;
    height: auto;
    background-color: #edeef0;
    background-image: url("data:image/svg+xml;charset=utf8,<svg version='1.2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 890' width='760' height='890'><style>.a{fill:%230f2a48;opacity:.03;}</style><path class='a' d='m5.7 755.4l0.2 0.2c171.2 171.7 448.9 171.6 620.1-0.1 171.2-171.6 171.3-449.9 0-621.6-171.2-171.7-448.8-171.7-620.1-0.1l136.2 137 0.2-0.2c95.9-96.1 251.4-96.1 347.3 0 95.9 96.1 95.9 252 0 348.2-95.9 96.1-251.4 96.1-347.3 0z'/></svg>"), url("data:image/svg+xml;charset=utf8,<svg version='1.2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 890 760' width='890' height='760'><style>.a{fill:%230f2a48;opacity:.03;}</style><path class='a' d='m134.6 754.3l-0.2-0.2c-171.7-171.2-171.6-448.9 0.1-620.1 171.6-171.2 449.9-171.3 621.6 0 171.7 171.2 171.7 448.8 0.1 620.1l-137-136.2 0.2-0.2c96.1-95.9 96.1-251.4 0-347.3-96.1-95.9-252-95.9-348.2 0-96.1 95.9-96.1 251.4 0 347.3z'/></svg>"), url("data:image/svg+xml;charset=utf8,<svg version='1.2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 890' width='760' height='890'><style>.a{fill:%230f2a48; opacity:.02;}</style><path class='a' d='m754.3 755.4l-0.2 0.2c-171.2 171.7-448.9 171.6-620.1-0.1-171.2-171.6-171.3-449.9 0-621.6 171.2-171.7 448.8-171.7 620.1-0.1l-136.2 137-0.2-0.2c-95.9-96.1-251.4-96.1-347.3 0-95.9 96.1-95.9 252 0 348.2 95.9 96.1 251.4 96.1 347.3 0z'/></svg>");
    background-position-x: left -20%, left 25%, right -5%;
    background-position-y: top 10%, top 120%, center;
    background-size: 30%, 65%, 40%;
    background-repeat: no-repeat;
    background-clip: border-box;
    background-origin: border-box;
    color: #273048;
    /* animation: animatedBackground 10s linear infinite alternate, animatedBackground 10s linear infinite alternate, animatedBackground 10s linear infinite alternate; */
}

@keyframes animatedBackground {
    from {
        /* background-position: 0 0; */
    }

    to {
        background-position: 100% 0;
    }
}

.blanc {
    background-color: white;
    border-radius: var(--bs-border-radius-xl);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 6px 0px !important;
    color: #273048;
}

.divider {
    width: 100%;
    min-height: 3rem;
    background: linear-gradient(90deg, #d8d5bb 0%, #fdf4bd 31%, #dfc371 81%, #ab8b44 100%);
    /* border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0; */
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
    color: #273048;
}

.divider p {
    text-align: justify;
}

.divider.anim {
    h2 {
        opacity: 0;
        animation-delay: 2.1s;
        animation-duration: 0.8s;
        animation-name: slogan;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

    p {
        opacity: 0;
        animation-delay: 2.4s;
        animation-duration: 0.8s;
        animation-name: slogan;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }
}

.separator {
    width: 100%;
    margin: 20px auto 15px;
    position: relative;
    height: 1px;
}

.separator:after {
    height: 1px;
    background: #e8e8e8;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 35%, rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    bottom: -1px;
    content: "";
    width: 100%;
    left: 0;
}

.banner {
    position: relative;
    background-color: rgb(39, 48, 72);
    /* min-height: 250px; */
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    overflow: hidden;
}

@media (min-width: 768px) {
    .banner:before {
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0.6;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .banner.banner-solution:before {
        background-image: url(/assets/images/Capture7.webp);
        background-position: 50% 0;
    }

    .banner.banner-societe:before {
        background-image: url(/assets/images/Capture7.webp);
        background-position: 50% 0;
    }

    .banner.banner-actualite:before {
        background-image: url(/assets/images/Capture7.webp);
        background-position: 50% 0;
    }
}

.banner>.container {
    position: relative;
}

.btn.anim {
    position: relative;
    /* padding: 0.5rem 1.4rem; */
    /* border-radius: 0.5rem; */
    /* font-size: 1.25rem; */
    /* letter-spacing: 0.15rem; */
    text-transform: uppercase;
    color: #fdf4bd;
    transition: all 0.3s;
    overflow: hidden;
    z-index: 1;
}

.btn.btn-lg.anim {
    padding: 0.5rem 1.4rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    letter-spacing: 0.15rem;

}

.btn.btn-sm.anim {
    padding: 0.25rem 0.7rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    letter-spacing: 0.1rem;

}

.btn.anim svg {
    font-size: 1.4em;
    position: absolute;
    top: .9rem;
    right: -1rem;
    opacity: 0;
    transition: all 0.3s linear;
}

.btn.btn-sm.anim svg {
    top: .55rem;
}

.btn.anim:hover svg {
    opacity: 1;
    /* transform: translateX(20px); */
}

.btn.btn-lg.anim:hover svg {
    right: 0.5rem;
}

.btn.btn-sm.anim:hover svg {
    right: 0.25rem;
}

.btn.anim:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #273048;
    z-index: -1;
}

.btn.btn-lg.anim:before {
    border-radius: 0.5rem;
}

.btn.btn-sm.anim:before {
    border-radius: 0.25rem;
}

.btn.anim:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    transition: all 0.5s;
    background-color: hsl(224, 30%, 52%);
    z-index: -1;
}

.btn.btn-lg.anim:after {
    border-radius: 0.5rem;
}

.btn.btn-sm.anim:after {
    border-radius: 0.25rem;
}

.btn.anim:hover {
    color: #fff;
}

.btn.anim:hover:after {
    width: 100%;
}

.btn.btn-lg.anim:hover {
    padding-right: 1.9rem;
    padding-left: 0.9rem;
}

.btn.btn-sm.anim:hover {
    padding-right: 0.95rem;
    padding-left: 0.45rem;
}

.btn.anim {
    background-color: #273048;
    /* background-color: transparent; */
    transition: all 400ms !important;
}

.btn.anim:hover {
    background-color: transparent;
}

.btn.anim::before,
.btn.anim::after {
    top: -100%;
    transition: all 400ms !important;
}

.btn.anim::before {
    /* opacity: 0.3; */
    background-color: hsl(224, 30%, 42%);

}

.btn.anim::after {
    width: 100% !important;
    transition-delay: 300ms !important;
    background-color: hsl(224, 30%, 52%) !important;
}

.btn.anim:hover::before,
.btn.anim:hover::after {
    top: 0;
}

/* .list-inline {
    padding-left: 0;
    list-style: none;
} */

/* .list-inline-item:not(:last-child) {
    margin-right: .5rem;
} */

/* .list-inline-item {
    display: inline-block;
} */
.list-group-flush>.list-group-item {
    border: 0 !important;
    background-color: transparent !important;
    color: white;
}

/* Scroll to top */
.scrollToTop {
    color: #fff;
    position: fixed;
    bottom: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    text-align: center;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1005;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    filter: alpha(opacity=0);
    /**/
    text-decoration: none;
    transform: rotate(-90deg);
}

.scrollToTop.fadeToTop {
    -webkit-animation-name: fadeToTop;
    animation-name: fadeToTop;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

@-webkit-keyframes fadeToTop {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}

@keyframes fadeToTop {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        -ms-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none
    }
}

.scrollToTop.fadeToBottom {
    -webkit-animation-name: fadeToBottom;
    animation-name: fadeToBottom;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

@-webkit-keyframes fadeToBottom {
    0% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }

    100% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }
}

@keyframes fadeToBottom {
    0% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }

    100% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        -ms-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }
}

.scrollToTop i {
    line-height: 50px;
    font-size: 24px
}

.scrollToTop:hover {
    background-color: rgba(0, 0, 0, 0.6)
}

@media (max-width: 767px) {
    .scrollToTop {
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.4)
    }

    .scrollToTop i {
        line-height: 40px;
        font-size: 20px
    }
}

/* ARTICLE */
article .card {
    border-radius: 0.3rem;
}

/* ANIMATION LOGO ACCUEIL */

.accueil-anim {
    .logo {
        position: relative;
        overflow: hidden;
        /* min-width: 10vw; */
        width: 30vw;
        max-width: 215px;
        height: auto;

        img.logo-cadre {
            position: relative;
            /* top: 0;
            left: 0; */
            width: 30vw;
            max-width: 215px;
            height: auto;
            z-index: 1;
            opacity: 0;
            animation-delay: 2s;
            animation-duration: 0.5s;
            animation-name: logo-cadre;
            animation-iteration-count: 1;
            animation-fill-mode: forwards;
            animation-timing-function: ease-in;
        }

        .logo-c {
            position: absolute;
            top: 0;
            left: 0;
            width: 30vw;
            max-width: 215px;
            height: auto;
            opacity: 0;
            /* transform-origin: top left; */
            /* transform: rotate(0deg) translate(0%, 0%); */
            animation-duration: 0.8s;
            animation-iteration-count: 1;
            animation-fill-mode: forwards;
            animation-timing-function: ease-in-out;

            &:nth-child(2) {
                animation-delay: 0s;
                animation-name: logo-c1;
                z-index: 5;
            }

            &:nth-child(3) {
                transform-origin: 69% 69%;
                animation-delay: 0.5s;
                animation-name: logo-c2;
                z-index: 4;
            }

            &:nth-child(4) {
                transform-origin: 31% 69%;
                animation-delay: 1s;
                animation-name: logo-c3;
                z-index: 3;
            }

            &:nth-child(5) {
                transform-origin: 31% 31%;
                animation-delay: 1.5s;
                animation-name: logo-c4;
                z-index: 2;
            }
        }
    }

    img.logo-text {
        width: 415px;
        /* width: 60vw; */
        height: auto;
        opacity: 0;
        animation-delay: 2.2s;
        animation-duration: 1.2s;
        animation-name: logo-text;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        animation-timing-function: ease-in-out;
    }
}


@keyframes logo-c1 {
    from {
        transform: translate(0%, -50%) rotate(0deg);
        opacity: 0;
    }

    to {
        transform: translate(0%, 0%) rotate(0deg);
        opacity: 1;
    }
}

@keyframes logo-c2 {
    from {
        transform: translate(0%, -30%) rotate(-90deg);
        opacity: 0;
    }

    to {
        transform: translate(0%, 0%) rotate(0deg);
        opacity: 1;
    }
}

@keyframes logo-c3 {
    from {
        transform: translate(30%, 0%) rotate(-90deg);
        opacity: 0;
    }

    to {
        transform: translate(0%, 0%) rotate(0deg);
        opacity: 1;
    }
}

@keyframes logo-c4 {
    from {
        transform: translate(0%, 30%) rotate(-90deg);
        opacity: 0;
    }

    to {
        transform: translate(0%, 0%) rotate(0deg);
        opacity: 1;
    }
}

@keyframes logo-cadre {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    70% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logo-text {
    0% {
        opacity: 0;
        margin-left: 30%;
    }

    100% {
        opacity: 1;
        margin-left: 0%;
    }
}

.fond {
    position: relative;
    overflow: hidden;
}

.fond .container {
    position: relative;
}

/* .fond:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background-image: url('/assets/images/Capture5.PNG');
    background-repeat: no-repeat;
    background-position: 50% 10%;
    background-size: cover;
    animation-name: fond-image;
    animation-delay: 0s;
    animation-duration: 30s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;

} */
.img-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    opacity: 0.6;
    animation-name: fond-image;
    animation-delay: 0s;
    animation-duration: 30s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

@keyframes fond-image {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

/* @keyframes img-scale-90 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.9);
    }
} */


.login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh/2);
}

.no-membre .membre-link {
    display: none;
}


@media (min-width: 992px) {
    .ms-lg-n6 {
        margin-left: -6rem !important;
    }
}

img.anim1 {
    opacity: 0.6;
    transform: scale(0.8);
}

img.anim1.animate {
    animation-name: anim1-animate;
    animation-delay: 0s;
    animation-duration: 0.8s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

@keyframes anim1-animate {
    0% {
        opacity: 0.6;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.actu {
    figure {
        overflow: hidden;
    }

    img.animate {
        opacity: 0.8;
        transform: scale(1.2);
        animation-name: actu-animate;
        animation-delay: 0s;
        animation-duration: 0.8s;
        animation-iteration-count: 1;
        /* animation-fill-mode: forwards; */
        animation-timing-function: ease-out;
    }

    &:nth-child(1) img.animate {
        animation-delay: 0s;
    }

    &:nth-child(2) img.animate {
        animation-delay: 0.3s;
    }

    &:nth-child(3) img.animate {
        animation-delay: 0.6s;
    }

    .card-body .img-link>img {
        display: block;
        opacity: 1;
        transform: scale(1);
        transition: all 0.3s ease-out;
    }

    .card-body:hover img {
        opacity: 0.95 !important;
        transform: scale(1.1) !important;
    }

    .card-body:hover .card-title {
        opacity: .5;
    }
}

@keyframes actu-animate {
    0% {
        opacity: 0.8;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.anim2>div {
    opacity: 0;
}

.anim2.animate>div {
    animation-name: anim2-animate;
    animation-duration: 0.8s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.anim2.animate>div:nth-child(1) {
    animation-delay: 0s;
    background-color: #d8d5bb;

}

.anim2.animate>div:nth-child(2) {
    animation-delay: 0.3s;
    background-color: #fdf4bd;

}

.anim2.animate>div:nth-child(3) {
    animation-delay: 0.6;
    background-color: #dfc371;

}

.anim2.animate>div:nth-child(4) {
    animation-delay: 0.9s;
    background-color: #ab8b44;

}

@keyframes anim2-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
