/*
* Timeline for qualification
*/

.Timeline {
    position: relative;
    width: 100%;
    padding: 30px 0
}

.Timeline .timeline-container {
    position: relative;
    width: 100%
}

.Timeline .timeline-end, .Timeline .timeline-year {
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 1
}

.Timeline .timeline-end p, .Timeline .timeline-year p {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 0;
    padding: 30px 0;
    text-align: center;
    background: #3d5c69;
    border-radius: 100px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .4);
    color: #fff;
    font-size: 14px;
    text-transform: uppercase
}

.Timeline .timeline-year {
    margin: 30px 0
}

.Timeline .timeline-continue {
    position: relative;
    width: 100%;
    padding: 0 0
}

.Timeline .timeline-continue::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    margin-left: -1px;
    background: #332a2b
}

.Timeline .timeline-future {
    position: relative;
    width: 100%;
    padding: 0 0
}

.Timeline .timeline-future::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 75%;
    top: 0;
    left: 50%;
    margin-left: -1px;
    background: #545252
}

.Timeline .row.timeline-left, .Timeline .row.timeline-right .timeline-date {
    text-align: right
}

.Timeline .row.timeline-left .timeline-date, .Timeline .row.timeline-right {
    text-align: left
}

.Timeline .row.timeline-left, .Timeline .row.timeline-right .timeline-date-future {
    text-align: right
}

.Timeline .row.timeline-left .timeline-date-future, .Timeline .row.timeline-right {
    text-align: left
}

.Timeline .timeline-date-future {
    font-size: 14px;
    font-weight: 600;
    margin: 41px 0 0 0
}

.Timeline .timeline-date-future::after {
    content: '';
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    top: 45px;
    background: #3b3a3a;
    box-shadow: 0 0 5px rgba(0, 0, 0, .4);
    border-radius: 15px;
    z-index: 1
}

.Timeline .timeline-date {
    font-size: 14px;
    font-weight: 600;
    margin: 41px 0 0 0
}

.Timeline .timeline-date::after {
    content: '';
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    top: 45px;
    background: #344d59;
    box-shadow: 0 0 5px rgba(0, 0, 0, .4);
    border-radius: 15px;
    z-index: 1
}

.Timeline .row.timeline-left .timeline-date::after {
    left: -7px
}

.Timeline .row.timeline-right .timeline-date::after {
    right: -7px
}

.Timeline .row.timeline-left .timeline-date-future::after {
    left: -7px
}

.Timeline .row.timeline-right .timeline-date-future::after {
    right: -7px
}

.Timeline .timeline-box {
    position: relative;
    margin: 15px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff
}

.Timeline .timeline-box::after, .Timeline .timeline-box::before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid
}

.Timeline .row.timeline-left .timeline-box::after, .Timeline .row.timeline-left .timeline-box::before {
    left: 100%
}

.Timeline .row.timeline-right .timeline-box::after, .Timeline .row.timeline-right .timeline-box::before {
    right: 100%
}

.Timeline .timeline-box::after {
    top: 26px;
    border-color: transparent transparent transparent #fff;
    border-width: 10px
}

.Timeline .timeline-box::before {
    top: 25px;
    border-color: transparent transparent transparent #ddd;
    border-width: 11px
}

.Timeline .row.timeline-right .timeline-box::after {
    border-color: transparent #fff transparent transparent
}

.Timeline .row.timeline-right .timeline-box::before {
    border-color: transparent #ddd transparent transparent
}

.Timeline .timeline-box .timeline-icon {
    position: relative;
    width: 40px;
    height: auto;
    float: left
}

.Timeline .timeline-icon i {
    font-size: 25px;
    color: #4f84c4
}

.Timeline .timeline-box .timeline-text {
    position: relative;
    width: calc(100% - 40px);
    float: left
}

.Timeline .timeline-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px
}

.Timeline .timeline-text p {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0
}

.DName, .DSpe, .job, .place {
    font-family: "Arial Black", Gadget, sans-serif;

    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.DName {
    font-size: 18px;
    font-family: "Arial Black", Gadget, sans-serif;
    color: #4c4a4a
}

.DSpe {
    font-family: "Arial Black", Gadget, sans-serif;
    color: #a71930;
    font-size: 12px;
    text-transform: uppercase;
}

.job {
    font-family: "Arial Black", Gadget, sans-serif;
    color: #332a2b;
    font-size: 9px;
    text-transform: uppercase;
}


.place {
    font-family: Arial, Helvetica, sans-serif;
    color: #9e9e9e;
    font-size: 10px;
}

.DNameLeft, .DSpeLeft, .jobLeft, .placeLeft {
    font-family: "Arial Black", Gadget, sans-serif;

    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.DNameLeft {
    font-size: 18px;
    margin-top: 0; /* ajusté */
    color: #4c4a4a;
}

.DSpeLeft {
    font-size: 12px;
    text-transform: uppercase;
    color: #a71930;
    margin-top: 0; /* ajusté */
}

.jobLeft {
    font-size: 9px;
    text-transform: uppercase;
    color: #332a2b;
    margin-top: 0; /* ajusté */
}

.placeLeft {
    font-size: 10px;
    color: #9e9e9e;
    position: relative; /* changé de absolute à relative */
    margin-top: 0; /* ajusté */
}


@media (max-width: 767px) {
    .DNameLeft, .DSpeLeft, .jobLeft, .placeLeft {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .Timeline .timeline-continue::after {
        left: 40px
    }

    .Timeline .timeline-future::after {
        left: 40px
    }

    .Timeline .row.timeline-left, .Timeline .row.timeline-left .timeline-date, .Timeline .row.timeline-left .timeline-date-future, .Timeline .row.timeline-right, .Timeline .row.timeline-right .timeline-date, .Timeline .row.timeline-right .timeline-date-future, .Timeline .timeline-end, .Timeline .timeline-year {
        text-align: left
    }

    .Timeline .row.timeline-left .timeline-date::after, .Timeline .row.timeline-right .timeline-date::after {
        left: 47px
    }

    .Timeline .row.timeline-left .timeline-date-future::after, .Timeline .row.timeline-right .timeline-date-future::after {
        left: 47px
    }

    .Timeline .row.timeline-left .timeline-date, .Timeline .row.timeline-right .timeline-date, .Timeline .timeline-box {
        margin-left: 55px
    }

    .Timeline .row.timeline-left .timeline-date-future, .Timeline .row.timeline-right .timeline-date-future, .Timeline .timeline-box {
        margin-left: 55px
    }

    .Timeline .row.timeline-left .timeline-box::after {
        left: -20px;
        border-color: transparent #fff transparent transparent
    }

    .Timeline .row.timeline-left .timeline-box::before {
        left: -22px;
        border-color: transparent #ddd transparent transparent
    }
}


/*
* Timeline for experiences
*/


.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eee;
    left: 50%;
    margin-left: -1.5px
}

.timeline > li {
    margin-bottom: 20px;
    position: relative
}

.timeline > li:after, .timeline > li:before {
    content: " ";
    display: table
}

.timeline > li:after {
    clear: both
}

.timeline > li:after, .timeline > li:before {
    content: " ";
    display: table
}

.timeline > li:after {
    clear: both
}

.timeline > li > .timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, .175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .175)
}

.timeline > li > .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " "
}

.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " "
}

.timeline > li > .timeline-badge {
    background-color: #3d5c69;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto
}

.timeline-title {
    margin-top: 0;
    color: inherit
}

.timeline-body > p, .timeline-body > ul {
    margin-bottom: 0
}

.timeline-body > p + p {
    margin-top: 5px
}

@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px)
    }

    ul.timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px
    }

    ul.timeline > li > .timeline-panel {
        float: right
    }

    ul.timeline > li > .timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto
    }

    ul.timeline > li > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto
    }
}