﻿
.max-h-100 {
    max-height: 100vh;
    padding-bottom: 30px;
}
.tab-pane {
    padding-bottom:20px;
}
.brand-login-logo {
    height: 100px;
}

.field-validation-error {
    color:red !important;
    font-size:smaller;
}

.wipoz-brand {
    font-weight: bold;
}

    .wipoz-brand::before {
        content: "Wipoz";
        color: black;
    }

    .wipoz-brand::after {
        content: "!";
        color: #f6bf14;
        padding-left: 2px;
        font-style: italic;
    }

:root {
    /*--tl-background: #A8AAE5;
    --tl-ruler-color: white;*/
    --tl-background: white;
    --tl-ruler-color: gray;
    --tl-primary: #F6BF14;
    --tl-completed: #2E2F56;
    --tl-content-border: white;
    --tl-content-bg: white;
    --tl-content-color: black;
}

:root, [data-bs-theme=light] {
    --bs-primary : red;
    --bs-primary-rgb: 255, 0, 0;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--tl-background);
}

    .timeline * {
        box-sizing: border-box;
    }


    /* The actual timeline (the vertical ruler) */
    .timeline::after {
        content: '';
        position: absolute;
        width: 6px;
        background-color: var(--tl-ruler-color);
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -3px;
    }

/* Container around content */
.timeline-step {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    min-height: 300px;
}

    /* The circles on the timeline */
    .timeline-step::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 25px;
        right: -12px;
        background-color: var(--tl-ruler-color);
        border: 4px solid var(--tl-primary);
        top: 20px;
        border-radius: 50%;
        z-index: 1;
    }

/* The actual content */
.content {
    padding: 0 15px;
    border: 4px solid var(--tl-content-border);
    background-color: var(--tl-content-bg);
    color: var(--tl-content-color);
    position: relative;
    border-radius: 6px;
}


.timeline-step.active .content {
    border: 4px solid var(--tl-primary);
}

/* fill the circle with primary color */
.timeline-step.active::after {
    background-color: var(--tl-primary);
}

/* fill the circle with primary color */
.timeline-step.completed::after {
    background-color: var(--tl-completed);
    border-color: var(--tl-completed);
}


.timeline-step.active .content-title {
    color: var(--tl-primary);
}

/* Place the container to the left */
.timeline-step:nth-child(odd) {
    left: 0;
}

/* Place the container to the right */
.timeline-step:nth-child(even) {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.timeline-step:nth-child(odd)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 31px;
    border: medium solid var(--tl-ruler-color);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--tl-content-border);
}

/* Add arrows to the right container (pointing left) */
.timeline-step:nth-child(even)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 31px;
    border: medium solid var(--tl-content-bg);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--tl-content-border) transparent transparent;
}

.timeline-step.active::before {
    border-color: transparent var(--tl-primary) transparent transparent;
}

.float-right {
    display: block;
    text-align: end;
}

/* Fix the circle for containers on the right side */
.timeline-step:nth-child(even)::after {
    left: -13px;
}


/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 700px) {
    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .timeline-step {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

        /* Make sure that all arrows are pointing leftwards */
        .timeline-step:nth-child(odd)::before, .timeline-step:nth-child(even)::before {
            left: 61px !important;
            border-width: 10px 10px 10px 0 !important;
            border-color: transparent var(--tl-content-border) transparent transparent;
        }

        .timeline-step.active::before {
            border-color: transparent var(--tl-primary) transparent transparent;
        }

        /* Make sure all circles are at the same spot */
        .timeline-step:nth-child(odd)::after, .timeline-step:nth-child(even)::after {
            left: 19px;
        }

        /* Make all right containers behave like the left ones */
        .timeline-step:nth-child(even) {
            left: 0%;
        }
}

/* bootstrap customization for default */
body .btn-outline-primary {
    --bs-btn-color: #F6BF14;
    --bs-btn-border-color: #F6BF14;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #F6BF14;
    --bs-btn-hover-border-color: #F6BF14;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #F6BF14;
    --bs-btn-active-border-color: #F6BF14;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #F6BF14;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #F6BF14;
    --bs-gradient: none;
}

body .nav {
    --bs-nav-tabs-border-color: #F6BF14;
    --bs-nav-link-color: #F6BF14;
    --bs-nav-link-hover-color: #F6BF14;
}

body .nav-pills {
    --bs-nav-pills-link-active-color: white;
    --bs-nav-pills-link-active-bg: #F6BF14;
}

.brand-test {
    /* changer ici les différentes couleurs de la timeline
        --tl-background: gray;
        ...
    */
}

/* Customize bootstrap for cobranding

body.brand-test .nav {
    --bs-nav-tabs-border-color: green;
    --bs-nav-link-color: green;
    --bs-nav-link-hover-color: greenlight;
}

body.brand-test .nav-pills {
    --bs-nav-pills-link-active-color: white;
    --bs-nav-pills-link-active-bg: green;
}

*/
    
