/* ---------------------- */
/* ------ PAGE HOME ----- */
/* ---------------------- */

#marque {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ---------------------- */
/* -PAGE ACCES CATALOGUE- */
/* ---------------------- */

#proAccess #formAndLinks {
    display: grid;
    grid-template-columns: repeat(2,minmax(350px,550px));
    column-gap: 20px;
    justify-content: space-between;
}

#proAccess #formAndLinks > form > ul {
    padding: 15px;
}

#proAccess #links {
    padding: 15px;
    background-color: #F5F5F5;
}

#proAccess #links h3 {
    margin: 0;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #DFDFDF;
}

#proAccess #links p {
    font-weight: normal;
}

@media (max-width: 992px) {
    #proAccess #formAndLinks {
        display: block;
    }
}

/* ---------------------- */
/* -----PAGE CONTACT----- */
/* ---------------------- */

#contactMethod {
    display: grid;
    grid-template-columns: 300px 450px;
    justify-items: center;
    column-gap: 40px;
    margin-top: 20px;
    justify-content: space-around;
}

#contactMethod form {
    width: 100%;
}

#instructionsForm {
    text-align: center;
    font-size: 12px;
}

#contactMethod #phoneAndHome {
    height: fit-content;
    width: 100%;
}

#contactMethod #phoneAndHome > div {
    height: 265px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    -webkit-box-shadow: 4px 4px 10px -3px gray;
    box-shadow: 4px 4px 10px -3px gray;
    margin-bottom: 25px;
    border-radius: 3px;
}

#contactMethod #phoneAndHome i {
    font-size: 65px;
    color: rgba(0,21,46,0.66);
}

#contactMethod #phoneAndHome #titleAddress {
    color: #b5b5b5;
    font-size: 15px;
}

#contactMethod #phoneAndHome #titleSection {
    margin: 5px 0;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #777;
}

#contactMethod #phoneAndHome #contactInfos,
#contactMethod #phoneAndHome #contactInfos > *{
    color: rgba(0,21,46,0.66);
    text-decoration: none;
    font-weight: bold;
}

#contactMethod #phoneAndHome #contactInfos p {
    margin: 0;
    margin-top: 10px;
}

#contactMethod form ul {
    padding: 0;
}

#mapContact {
    width: 100%;
    height: 350px;
}

@media (max-width: 992px) {
    #contactMethod {
        display: block;
    }
}

/* ---------------------- */
/* -------PAGE FAQ------- */
/* ---------------------- */

#faq > div h3 {
    margin-bottom: 10px;
}

#faq > div h3:first-child {
    margin-top: 0;
}

#faq > div p {
    padding-left: 25px;
    margin-top: 0;
}

#faq #contactUs {
    margin: 0;
    margin-top: 35px;
    padding: 0;
}

@media (max-width: 768px) {
    #faq > div p {
        padding-left: 0;
        margin-top: 0;
    }
}

/* ---------------------- */
/* ---PAGE recruitment--- */
/* ---------------------- */

#spontaneous {
    margin-top: 30px;
}

#recruitment form {
    padding: 15px;
} 

#recruitment #offer {
    margin-bottom: 10px;
    background-color: #F5F5F5;
    padding: 20px;
    display: flex;
    align-items: center;
}

#recruitment #offer #description {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#recruitment #offer #description p {
    margin: 0;
    margin-bottom: 5px;
    font-size: 13px;
}

#recruitment #postulateOffer {
    padding: 7px 30px;
    width: fit-content;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    align-self: flex-end;
}

#recruitment #ourOffers {
    margin: 15px;
}

#recruitment #ourOffers #titleOffer {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-right: 15px;
    max-width: 200px;
}

#recruitment #ourOffers #titleOffer img{
    background-color: #000B20;
    padding: 10px;
    border-radius: 10px;
}

#recruitment #ourOffers #titleOffer > * {
    margin-bottom: 0;
    word-break: break-word;
}

@media (max-width: 768px) {
    #recruitment #ourOffers {
        margin: 15px 0;
    }

    #recruitment #offer {
        flex-direction: column;
        width: fit-content;
    }

    #recruitment #postulateOffer {
        width: 100%;
    }

    #recruitment #ourOffers #titleOffer {
        max-width: initial;
        width: 100%;
    }
}

/* ---------------------- */
/* PAGE DEVENIR FRANCHISE */
/* ---------------------- */

#franchise #images {
    display: flex;
    justify-content: center;
    pointer-events: none;
}

#franchise #images > div {
    /* width: 100%; */
    /* max-width: 240px; */
    height: auto;
}

#franchise #images > div > img {
    width: 85%;
    height: auto;
    max-height: 200px; /* Set a max height to ensure consistency */
    object-fit: cover;
}

#franchise #images > div:not(:last-child) {
    margin-right: 10px;
}

#franchise #link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

/* ---------------------- */
/* - PAGE FORM FRANCHISE  */
/* ---------------------- */

#franchiseForm > form {
    padding: 15px;
}

/* ---------------------- */
/* PAGE REGISTER CATALOG  */
/* ---------------------- */

#catalogRegister #catalogButtons {
    display: grid;
    grid-template-columns: auto auto;
    margin-top: 25px;
}

#catalogRegister #catalogButtons > div {
    padding: 25px;
    background-color: #F5F5F5;
    margin-right: 25px;
}

#catalogRegister #catalogButtons > div:last-child {
    margin-right: 0;
}

#catalogRegister #catalogButtons > div > h2 {
    text-align: center;
}

#catalogRegister #catalogButtons > div > button {
    width: 100%;
}

.buttonClicked {
    background-color: #b9b9b9;
    border: 1px solid #b9b9b9;
    pointer-events: none;
}

.buttonClicked i {
    color: black;
}

@media (max-width: 768px) {

    #catalogRegister #catalogButtons {
        display: block;
    }
    
    #catalogRegister #catalogButtons > div {
        max-width: none;
        margin-bottom: 30px;
        margin-right: 0;
    }

    #catalogRegister #catalogButtons > div:last-child {
        margin-bottom: 0;
    }

}

/* NEW USER */

#newCatalogUser #warningMSG {
    margin: 0;
    text-align: center;
    padding: 8px 20px;
    background-color: orange;
    border-radius: 10px;
    margin-bottom: 15px;
}

#newCatalogUser #cgdvMsg {
    background-color: #82151e;
    color: #FFF;
    border-radius: 10px;
    padding: 15px;
    font-weight: lighter;
}

#newCatalogUser #cgdvMsg > *,
#newCatalogUser #cgdvMsg u {
    color: #FFF;
}

#newCatalogUser #cgdvMsg > a {
    margin-top: 15px;
}

#newCatalogUser #cgdvMsg div {
    margin-bottom: 20px;
}

/* ---------------------- */
/* -- PAGE PROMO MOIS --  */
/* ---------------------- */

#monthPromos #no-promo i:first-child{
    margin-right: 10px;
}

#monthPromos #no-promo i:last-child{
    margin-left: 10px;
}

#monthPromos .swiper-pagination {
    bottom: 0;
    left: 0;
    width: fit-content;
    padding: 5px;
    background-color: #FFF;
}

#monthPromos #descPage {
    margin: 0;
    padding: 16px;
    background-color: #F5F5F5;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    #monthPromos {
      margin: 0;
      width: auto;
    }
}

/* ---------------------- */
/* ---- PAGE QUALITY ---- */
/* ---------------------- */

#qualityCommitement > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#qualityCommitement > div > p {
    background-color: #F5F5F5;
    margin: 0;
    margin-bottom: 20px;
    padding: 16px;
}

#qualityCommitement > div > img {
    width: 70%;
}

/* ---------------------- */
/* --- PAGE OUR OFFER --- */
/* ---------------------- */

#ourOffer #video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

#ourOffer #video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


#ourOffer > div > p {
    background-color: #F5F5F5;
    margin: 0;
    padding: 16px;
    margin-bottom: 20px;
}

/* ---------------------- */
/* ------ PAGE WCC ------ */
/* ---------------------- */

#wcc img {
    width:100%;
}

/* ---------------------- */
/* --- PAGE ACTIVITY ---- */
/* ---------------------- */

#activity #resume {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 30px;
}

#activity #resume > div p:first-child,
#activity #passion h3 {
    margin-top: 0;
}

#activity #resume img {
    width: 100%;
}

#activity #passion {
    padding: 15px 0;
}

#activity #passion h3 i {
    margin-right: 5px;
    color: red;
}

#activity #stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 15px 0;
}

#activity #stats > div {
    display: grid;
}

#activity #stats > div p {
    text-align: center;
    margin: 0;
}

#activity #stats > div p.counter {
    font-size: 70px;
    color: red;
}

#activity #stats > div i {
    justify-self: center;
    font-size: 70px;
    margin-top: 20px;
    color: red;
}

@media (max-width: 992px) {
    #activity {
      margin: 0;
      width: auto;
    }

    #activity #resume {
        grid-template-columns: auto;
    }

    #activity #resume img {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    #activity #stats {
        display: block;
    }

    #activity #stats > div:not(:last-child) {
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid #F5F5F5;
    }
}

/* ---------------------- */
/* --- PAGE AGENCIES ---- */
/* ---------------------- */

#agencies > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#agencies > div > a {
    display: flex;
    justify-content: center;
}

#agencies > div #mapAgencies {
    width: 60%;
}

#agencies #typesAgencies {
    width: 100%;
    display: grid;
    align-items: center;
    row-gap: 45px;
    margin-top: 15px;
}

#agencies #generalInfos {
    width: 100%;
    display: grid;
    align-items: center;
    margin-top: 15px;
}

#agencies #typesAgencies > div > p,
#agencies #generalInfos > p {
    margin: 0;
    padding: 15px;
    background-color: #F5F5F5;
    text-align: center;
    border-radius: 15px;
    text-transform: uppercase;
}

#agencies #typesAgencies #agenciesList,
#agencies #generalInfos > #infos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    justify-content: space-around;
    column-gap: 15px;
    row-gap: 15px;
}

#agencies #typesAgencies #agenciesList > div > p,
#agencies #generalInfos #infos > div > p {
    margin: 10px 0;
}

#agencies #typesAgencies #agenciesList > div > p:not(:first-child),
#agencies #generalInfos #infos > div > p:not(:first-child) {
    margin: 0;
}

#agencies #typesAgencies #agenciesList > div > p:last-child,
#agencies #generalInfos #infos > div > p:last-child {
    margin-bottom: 0;
}

#agencies #typesAgencies #agenciesList > div > p#country {
    margin: 0;
    margin-bottom: 11px;
}

/* ---------------------- */
/* ---- PAGE HISTORY ---- */
/* ---------------------- */

#history > div > p {
    margin: 0;
    padding: 16px;
    background-color: #F5F5F5;
    margin-bottom: 30px;
}

#history #timeline {
    display: grid;
    grid-template-columns: auto auto;
    gap: 40px;
}

#history ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
}

#history ul li:not(:last-child) {
    margin-bottom: 20px;
}

#history ul p {
    margin: 0;
}

#history ul #title {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

#history ul #description {
    padding-left: 22px;
    border-left: 1px solid #000B20;
    margin-left: 12px;
}

#history ul #title i {
    font-size: 22px;
    margin-right: 10px;
    color: red;
}

@media (max-width: 768px) {
    
    #history #timeline {
        display: block;
    }

    #history ul:first-child {
        margin-bottom: 20px;
    }
}