@charset "UTF-8";

/* https://github.com/twbs/bootstrap/issues/33757 */
:root {
    scroll-behavior: auto !important;
}

html {
    scroll-behavior: smooth;
    --bleu-gip: #008294;
    --bleu-hover-gip: #016370;
    --rose-gip: #b42342;
    --rose-hover-gip: #9b1d36;
}

a {
    text-decoration: none;
    color: #008294;
}

a:hover {
    color: #016370;
    text-decoration: underline;
}

select {
    padding: 10px 5px;
    border-radius: 6px;
}

.icon-info {
    color: #b42342;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding-bottom: 25px;
}

.card img {
    display: table;
    margin: auto;
    padding-top: 25px;
    width: 175px;
    height: 125px;
}

.card-title h5 {
    color: var(--rose-gip);
}

.card-title h6 {
    color: var(--bleu-gip);
}

.card-title .titre {
    text-transform: uppercase;
}

.card-title.card-container-parcours-nom {
    height: 31%;
}

.card-footer {
    background-color: transparent;
    border-top: 0;
    margin: auto;
}

.card-footer button {
    background-color: var(--bleu-gip);
    border-color: var(--bleu-gip);
}

.card-footer button:hover {
    background-color: white;
    border-color: var(--bleu-gip);
    color: var(--bleu-gip);
}

a.commencer, button.commencer {
    background-color: var(--bleu-gip);
    border-color: var(--bleu-gip);
    color: white;
    text-decoration: none;
}

a.commencer:hover, button.commencer:hover {
    background-color: white;
    border-color: var(--bleu-gip);
    color: var(--bleu-gip);
    text-decoration: none;
}

/** CONTAINER DU TITRE DU PARCOURS **/
.titre_service {
    text-align: center;
}

.titre_service div {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.titre_service h1 {
    color: #008294;
    font-size: 1.8em;
    font-weight: 600;
    display: inline-block;
    background-color: white;
}

.titre_service h2 {
    color: #b42342;
    font-size: 1.8em;
    font-weight: 600;
    display: inline-block;
    background-color: white;
}

.titre_service span {
    display: block;
    height: 1px;
    background-color: #d8d8d8;
    margin-top: -20px;
}

/** TITRE DU PARCOURS PAGE INDEX **/
.titre_service_index {
    text-align: center;
}

ul {
    list-style-position: inside;
}

.titre_service_index h1 {
    margin-top: 45px;
    color: #b42342;
    font-size: 1.8em;
    font-weight: 600;
    display: inline-block;
    background-color: #fff;
    padding: 0 20px;
}

.titre_service_index span {
    display: block;
    height: 1px;
    background-color: #d8d8d8;
    margin-top: -20px;
}

/*MAIN CONTENT*/
main {
    margin: 40px auto;
}

main h2 {
    text-align: center;
    font-size: 1.3em;
    color: var(--rose-gip);
}

.info-bulle {
    color: #b42342;
}

.hr {
    color: var(--rose-gip);
    opacity: 1;
    border: 1px solid var(--rose-gip);
}

.botui-app-main-container {
    display: flex;
    justify-content: center;
    background-color: #ecf5f7;
    z-index: 10;
}

.botui-app-main-container div.message {
    background-color: white;
    color: black;
    border-color: transparent;
    opacity: 1;
    display: inline-block;
    padding: 0.375em 0.75em;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    vertical-align: middle;
    border: var(--bs-border-width) solid transparent;
    border-radius: var(--bs-border-radius);
}

.botui-app-main-container div.message p:last-child {
    margin-bottom: 0;
}

.botui-app-main-container button.choix {
    background-color: var(--rose-gip);
    border-color: var(--rose-gip);
    color: white;
}

.botui-app-main-container button.choix p:last-child {
    margin-bottom: 0;
}

.botui-app-main-container button.choix:hover {
    background-color: white;
    border-color: var(--rose-gip);
    color: var(--rose-gip);
}

.botui-app-main-container button.selection {
    background-color: var(--bleu-gip);
    color: white;
    border-color: transparent;
    opacity: 1;
}

.botui-app-main-container button.selection p:last-child {
    margin-bottom: 0;
}

.botui-app-main-container button.lexique {
    background-color: var(--bleu-gip);
    border-color: var(--bleu-gip);
    color: white;
}

.botui-app-main-container button.lexique:hover {
    background-color: white;
    border-color: var(--bleu-gip);
    color: var(--bleu-gip);
}

.botui-app-main-container .container-choix, .botui-app-main-container .container-lexique-mots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.botui-app-main-container:before {
    content: '';
    display: block;
    width: 70px;
    height: 50px;
    border-left: 35px solid transparent;
    border-top: 20px solid white;
    border-right: 35px solid transparent;
    position: absolute;
    z-index: 20;
    left: 50%;
    transform: translate(-50%, 0);
}

.botui-app-main-container .question-reponse {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-bottom: 2rem;
}

.botui-app-main-container .question-reponse::-webkit-scrollbar {
    width: 10px;
    background-color: #e2ecee;
}

.botui-app-main-container .question-reponse::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.5, #20bbd0), color-stop(0.5, #20bbd0), color-stop(0.5, #20bbd0));
}

.botui-app-main-container .container {
    z-index: 30;
}

.modif-reponse-button button {
    width: 100%;
    font-size: 1em;
    padding: 1.1rem;
    color: #017989;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    border-color: transparent;
    border-top: 1px dashed #20bbd0;
    border-bottom: 1px dashed #20bbd0;
    transition: all .2s ease-in-out 0s;
}

.modif-reponse-button button:hover {
    font-size: 1.1em;
}

.lexique-titre, .lexique-soustitre {
    color: var(--rose-gip);
}

.modal-lexique-hr {
    color: var(--bleu-gip);
    opacity: 1;
    border: 1px solid var(--bleu-gip);
}

/*END MAIN CONTENT*/
