.btnConseil {
    background: #4540E1 !important;
    color: white !important;
    padding: 1em 2em !important;
    border-radius: 1em !important;
    font-weight: bold !important;
}

#conseilCards {

    width: fit-content;
    margin: 4em auto auto auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 3em;
    grid-row-gap: 6em;


    h2 {
        font-size: 1.75em !important;
        margin-bottom: 1em !important;
        margin-top: 1em !important;
    }

    p {
        font-size: 1em !important;
    }
}

#conseilCards > div {
    width: 25%;
    background: white;
}


#conseilCards > div > img{
    width: 100%;
}


.text-blue {
    color: #4540E1 !important;
}



#ImgHead {
    text-align: center;

    div {
        background-position: center;
        background-size: cover;
        height: 478px;
    }

    h1 {
        margin-top: 0 !important;
        width: 100% !important;
        font-size: 60px
    }

    p {
        font-size: 20px;

    }

    img {
        border-radius: 2em;
        max-height: 75%;
        max-width: 75%;
        margin: auto;
    }
}

#content {
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: auto;
    column-gap: 100px;

    > #description {
        max-width: 60% !important;
    }
}

.descriptionElement {
    font-size: 1em !important;

    h2 {
        font-size: 42px !important;
        margin-bottom: .5em !important;
    }

    h3 {
        font-size: 1.25em !important;
        margin-top: 2em !important;
    }

    li + li {
        margin-top: .75em !important;
    }

    + .descriptionElement {
        margin-top: 2.5em;
    }

    span {
        font-weight: bold;
    }

}


#sidePanelContents {
    background: #ECEBFC;
    padding: 2em;
    border-radius: 1em;

    h2 {
        font-size: 2em !important;
        color: #4540E1;
        margin-bottom: .5em !important;
        padding-bottom: .25em !important;
        border-bottom: 1px solid #4540E1;
    }

    .sideElement + .sideElement {
        margin-top: 3em !important;
    }
}

p.text-white {
    margin-top: 1em;
}

h1.text-white {
    margin-top: 1em;
}

h3, h4 {
    color: #0B034F;
}

p, ul, ol {
    color: #585880 !important;
}

.text-blue {
    color: #4540E1;
}

.btnFiche {
    background: #4540E1 !important;
    color: white !important;
    padding: 1em 2em !important;
    border-radius: 1em !important;
    font-weight: bold !important;
}

.btnBonCommande {
    background: white !important;
    color: #4540E1 !important;
    padding: 1em 2em !important;
    border: solid #4540E1 2px !important;
    border-radius: 1em !important;
    font-weight: bold !important;
}

ul > li::marker {
    font-weight: bold !important;
}

/*#RedirectToContact {*/
/*    background-color: #EEEEFD !important;*/
/*}*/


h2 {
    color: #0B034F;
}

.formulaire {
    input {
        width: 100%;
    }
}


@media screen and (min-device-width: 1200px) and (max-device-width: 1919px) {

    #content {
        column-gap: 30px;
    }
}

@media screen and (min-device-width: 992px) and (max-device-width: 1199px) {

    #content {
        column-gap: 30px;
    }

    #conseilCards > div {
        width: 45%;
        background: white;
    }


}

@media screen and (min-device-width: 768px) and (max-device-width: 991px) {
    #ImgHead {

        & div {
            height: 360px;
        }

        h1 {
            font-size: 40px;
        }

        p {
            font-size: 17px;
        }

    }
    #conseilCards > div {
        width: 45%;
        background: white;
    }



    #content {
        width: 90%;
        column-gap: 30px;
    }


    #RedirectToContact {
        h2 {
            font-size: 2.5em !important;
        }
    }


}

@media screen and (min-device-width: 576px) and (max-device-width: 767px) {


    #conseilCards > div {
        width: 45%;
        background: white;
    }


    #ImgHead {

        & div {
            height: 430px;
        }

        h1 {
            font-size: 35px;
        }

        p {
            font-size: 15px;
        }

    }


    #content {
        width: 90%;
        flex-direction: column;
        column-gap: 30px;

        > #description {
            width: 100% !important;
            max-width: 100% !important;
        }
    }


    #RedirectToContact > div {
        > div {
            width: 80% !important;
        }

        flex-direction: column;
    }
}


@media screen and (min-device-width: 400px) and (max-device-width: 575px) {
    #ImgHead {

        & div {
            height: 360px;
        }

        h1 {
            font-size: 35px;
        }

        p {
            font-size: 17px;
        }

    }

    #conseilCards > div {
        display: block !important;
        width: 80%;
        background: white;
    }

    #content {
        width: 90%;
        flex-direction: column;
        column-gap: 30px;

        > #description {
            width: 100% !important;
            max-width: 100% !important;
        }
    }


    #otherFormations > h2 {
        width : 80%;
        margin: auto;
        padding-top : 1em !important;
        padding-left : 0 !important;
        padding-right : 0 !important;
        text-align: center;
        font-size : 28px !important;
    }

    #RedirectToContact > div {
        div {
            width: 80% !important;
            margin-bottom : 1em !important;
        }

        h2 {
            font-size: 2em !important;
        }

        flex-direction: column;
    }


}

@media screen and (max-device-width: 399px) {


    #RedirectToContact > div {
        div {
            width: 80% !important;
            margin-bottom : 1em !important;
        }

        h2 {
            font-size: 2em !important;
        }

        flex-direction: column;
    }


    #otherFormations > h2 {
        width : 80%;
        margin: auto;
        padding-top : 1em !important;
        padding-left : 0 !important;
        padding-right : 0 !important;
        text-align: center;
        font-size : 28px !important;
    }

    #conseilCards > div {

        width: 80%;
        background: white;
    }


    #ImgHead {

        & div {
            height: 360px;
        }

        h1 {
            font-size: 35px;
        }

        p {
            font-size: 17px;
        }

    }

    #content {
        width: 90%;
        flex-direction: column;
        column-gap: 30px;

        > #description {
            width: 100% !important;
            max-width: 100% !important;
        }
    }

}




