body {
    font-family: "Poppins", sans-serif;
    /*Police du projet*/
}

.police-fond-dark {
    color: #e6e6e6;
}

h3 {
    color: #9d1fba;
    font-size: 23px;
    font-weight: bold;
}

h4 {
    color: rgb(159, 32, 188);
    font-size: 18px;
    font-weight: bold;
}


/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - - - - BARRE MENU - - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.bg-light {
    background-color: #e6e6e6;
}

.nav-link:hover,
.active:hover,
.dropdown-item:hover {
    color: #9d1fba;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - - - - IMAGE HEADER - - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.banner {
    width: 100%;
    max-width: 1200px;
    margin: 0;
    position: relative;
    height: 230px;
}

@media (max-width: 750px) {
    .banner {
        height: 175px;
    }
}

@media (max-width: 500px) {
    .banner {
        height: 130px;
    }
}

.banner-image {
    width: 100vw;
    height: 100%;
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center center;
    /*background-image: url('../image/Bannière1.jpg');*/
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: #0000001a;
    /*petit voile*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 500%;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 1px #000000;
    /* ombre du texte */
    display: flex;
    flex-direction: column;
    /* pour centrer le texte verticalement */
    justify-content: center;
    /* pour centrer le texte verticalement */
}

@media (max-width : 750px){
    .banner-title{
        font-size: 350%;
    }
}

@media (max-width : 500px){
    .banner-title{
        font-size: 300%;
    }
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - - BOUTONS BOOSTRAAP - - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.btn-purple {
    background-color: #ffffff;
    color: #9d1fba;
    border-color: #9d1fba;
}

.btn-purple:hover {
    background-color: #7a1b96;
    border-color: #e6e6e6;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - FLECHE SCROLL TOP - - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#button-up {
    display: inline-block;
    background-color: #FAE92D;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#button-up::after {
    content: "↑";
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

#button-up:hover {
    cursor: pointer;
    background-color: #e6baf0;
}

#button-up:active {
    background-color: #e6baf0;
}

#button-up.show {
    opacity: 5;
    visibility: visible;
}

@media (min-width: 768px) {
    .scroll-to-top {
        right: 40px;
    }
}

@media (min-width: 992px) {
    .scroll-to-top {
        right: 60px;
    }
}

@media (min-width: 1200px) {
    .scroll-to-top {
        right: 80px;
    }
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - PAGE ACCUEIL- - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */

/*Cartes Horizontale*/
.light {
    background: none;
}

a,
a:hover {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

#pageHeaderTitle {
    margin: 2rem 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 2.5rem;
}

.carte-horizontale {
    flex-wrap: wrap;
    display: flex;
    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: #fff;
}

.carte-horizontale.light {
    background-color: #cacaca;
}

.carte-horizontale .texte {
    color: #18151f;
}

.carte-horizontale a {
    color: inherit;
}

.carte-horizontale h1 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.carte-horizontale .small {
    font-size: 80%;
}

.carte-horizontale .carte-horizontale__title {
    font-size: 1.75rem;
}

.carte-horizontale .carte-horizontale__img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.carte-horizontale .carte-horizontale__img_link {
    display: contents;
}

.carte-horizontale .carte-horizontale__bar {
    width: 50px;
    height: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #424242;
    transition: width 0.2s ease;
}

.carte-horizontale .carte-horizontale__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.carte-horizontale .carte-horizontale__preview-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    height: 100%;
}

.carte-horizontale .carte-horizontale__tagbox {
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    margin: 20px 0 0 0;
    padding: 0;
    justify-content: center;
}

.carte-horizontale .carte-horizontale__tagbox .tag__item {
    display: inline-block;
    background: rgba(83, 83, 83, 0.4);
    border-radius: 3px;
    padding: 2.5px 10px;
    margin: 0 5px 5px 0;
    cursor: default;
    user-select: none;
    transition: background-color 0.3s;
}

.carte-horizontale .carte-horizontale__tagbox .tag__item:hover {
    background: rgba(83, 83, 83, 0.8);
}

.carte-horizontale:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(-70deg, #424242, transparent 50%);
    opacity: 1;
    border-radius: 10px;
}

.carte-horizontale:hover .carte-horizontale__bar {
    width: 100px;
}

@media screen and (min-width: 769px) {
    .carte-horizontale {
        flex-wrap: inherit;
    }

    .carte-horizontale .carte-horizontale__title {
        font-size: 2rem;
    }

    .carte-horizontale .carte-horizontale__tagbox {
        justify-content: start;
    }

    .carte-horizontale .carte-horizontale__img {
        max-width: 300px;
        max-height: 100%;
        transition: transform 0.3s ease;
    }

    .carte-horizontale .carte-horizontale__text {
        padding: 3rem;
        width: 100%;
    }

    .carte-horizontale .media.carte-horizontale__text:before {
        content: "";
        position: absolute;
        display: block;
        background: #18151f;
        top: -20%;
        height: 130%;
        width: 55px;
    }

    .carte-horizontale:hover .carte-horizontale__img {
        transform: scale(1.1);
    }

    .carte-horizontale:nth-child(2n+1) {
        flex-direction: row;
    }

    .carte-horizontale:nth-child(2n+0) {
        flex-direction: row-reverse;
    }

    .carte-horizontale:nth-child(2n+1) .carte-horizontale__text::before {
        left: -12px !important;
        transform: rotate(4deg);
    }

    .carte-horizontale:nth-child(2n+0) .carte-horizontale__text::before {
        right: -12px !important;
        transform: rotate(-4deg);
    }
}

@media screen and (min-width: 1024px) {
    .carte-horizontale__text {
        padding: 2rem 3.5rem;
    }

    .carte-horizontale__text:before {
        content: "";
        position: absolute;
        display: block;
        top: -20%;
        height: 130%;
        width: 55px;
    }

    .carte-horizontale.dark .carte-horizontale__text:before {
        background: #18151f;
    }

    .carte-horizontale.light .carte-horizontale__text:before {
        background: #cacaca;
    }
}

/*Violet*/
.carte-horizontale .carte-horizontale__tagbox .purple.play:hover {
    background: #9d1fba;
}

.purple .carte-horizontale__title:hover {
    color: #9d1fba;
}

.purple .carte-horizontale__bar {
    background-color: #9d1fba;
}

.purple::before {
    background-image: linear-gradient(-30deg, rgba(157, 31, 186, 0.4), transparent 80%);
}

.purple:nth-child(2n)::before {
    background-image: linear-gradient(30deg, rgba(191, 19, 229, 0.4), transparent 20%);
}

@media screen and (min-width: 769px) {
    .purple::before {
        background-image: linear-gradient(-80deg, rgba(157, 31, 186, 0.4), transparent 50%);
    }

    .purple:nth-child(2n)::before {
        background-image: linear-gradient(80deg, rgba(157, 31, 186, 0.4), transparent 50%);
    }
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - PAGE COIN DEV - - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
.corps .text {
    margin-top: 20px;
    margin-bottom: 20px;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - - - PAGE EPI- - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
.corps_epi {
    margin: 20px;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - - PAGE COTATION- - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
.corps_cotation {
    margin: 20px;
}

.table-centered tbody td {
    vertical-align: middle;
}

.table-centered thead th, .table-centered tbody td {
    text-align: center;
    vertical-align: middle;
    border: 1px solid black;
    padding: 5px;
}

.cotation4 {
    background-color: #ffed9e; /* Jaune pastel vif */
}

.cotation5 {
    background-color: #ffc97e; /* Orange pastel vif */
}

.cotation6 {
    background-color: #ff9fa1; /* Rose pastel vif */
}

.cotation7 {
    background-color: #d69cff; /* Violet pastel vif */
}

.cotation8 {
    background-color: #a6d9ff; /* Bleu clair pastel vif */
}

.cotation9 {
    background-color: #b6e8b9; /* Vert clair pastel vif */
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - - PAGE CONTACT- - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
.corps_contact {
    margin: 20px;
}

/* Pour définir la couleur standard */
.btn-primary {
    background-color: #9d1fba;
    border-color: #9d1fba; 
    /* margin-top: 20px; */
    align-items: center;
}

/* Pour définir la couleur du survol */
.btn-primary:hover {
    background-color: #7f1a94;
    border-color: #7f1a94; 
    /* margin-top: 20px; */
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - PAGE LEXIQUE - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
.corps_lexique {
    margin: 0 20px 0 20px;
}

.container ul {
    text-align: center;
}

.list-inline li {
    display: inline;
    margin-right: 5px;

}

.list-inline li a {
    color: #000000;
}

dl dt {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
    color: #9d1fba;
}

dl dd {
    font-size: 15px;
    margin-left: 20px;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - PAGE PASSEPORTS - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
.corps_passeport {
    margin: 20px;
}

.corps_passeport .text {
    margin-top: 20px;
    margin-bottom: 20px;
}

.img-cotation {
    margin-bottom: 20px;
    margin-top: 10px;
}

.img-cotation img {
    height: auto;
    width: 20px;
}

.img-bloc,
.img-diff,
.img-eco {
    height: auto;
    width: 40px;
}

/*Quand l'accordéon s'ouvre*/
.accordion-button:not(.collapsed) {
    background-color: #e6baf0;
    color: #000000;
}

/*L'ombre qui peut y avoir autour de l'accordéon quand il s'ouvre*/
.accordion-button:focus {
    box-shadow: none;
}

.passeport-banc {
    color: #ffffff;
    -webkit-text-stroke: 1px #000000;
    /* Pour les navigateurs WebKit */
}

.passeport-jaune {
    color: #F3D00F;
    -webkit-text-stroke: 0.3px #000000;
    /* Pour les navigateurs WebKit */
    text-shadow: 2px 1px 2px #5d5d5d;
}

.passeport-orange {
    color: #F78C20;
    -webkit-text-stroke: 0.3px #000000;
    text-shadow: 2px 1px 2px #5d5d5d;
}

.passeport-vert {
    color: #AACF38;
    -webkit-text-stroke: 0.3px #000000;
    text-shadow: 2px 1px 2px #5d5d5d;
}

.passeport-bleu {
    color: #01ACD1;
    -webkit-text-stroke: 0.3px #000000;
    text-shadow: 2px 1px 2px #5d5d5d;
}

.passeport-violet {
    color: #9658d9;
    -webkit-text-stroke: 0.3px #000000;
    text-shadow: 2px 1px 2px #5d5d5d;
}

.passeport-rouge {
    color: #C72027;
    -webkit-text-stroke: 0.3px #000000;
    text-shadow: 2px 1px 2px #5d5d5d;
}

.passeport-noir {
    color: #000000;
    -webkit-text-stroke: 0.3px #000000;
    text-shadow: 2px 1px 2px #5d5d5d;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - - PAGE NOEUD - - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
.corps-noeud {
    margin: 20px;
}

.accordion-button:not(.collapsed) {
    background-color: #e6baf0;
    color: #000000;
}

.image_huit{
    height: 250px;
    width: auto;
}

.image_chaise{
    height: 300px;
    width: auto;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - PAGE CARTE- - - - - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
#mapid{
    height: 700px; 
    margin: 20px 20px 20px 20px;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - PAGE MENTION LEGALE- - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
.corps_mentionlegale {
    margin: 20px;
}

.corps_mentionlegale .image_ml{
    height: auto;
    width: 20px;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - PAGE CONSEILS TECHNIQUE- - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
.corps_conseil{
    margin: 20px;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- - - - - - - - - - - FOOTER - - - - - - - - - - - - - */
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - */
footer {
    background-color: #5a006e;
    color: #e6e6e6;
}

.copyright {
    background-color: #460156;
    padding: 5px;
}

.titre-footer {
    text-transform: uppercase;
}

/*Pour éviter le chevauchement des noms des pages (passeport et noeud)*/
.row {
    margin-right: calc(-1.4 * var(--bs-gutter-x));
    margin-left: calc(-1.4 * var(--bs-gutter-x));
}