
.formations-wrapper {
    align-items: stretch;
}
.formation-nav-wrapper {
    border-radius: 7px;
    padding: 15px;
    margin: 0 10px;
}
.formation-nav-wrapper h3 {
    color: var(--main-color);
    position: relative;
    z-index: 2;
    font-size: 23px;
}
.formation-nav-wrapper h3::before {
    content: '';
    position: absolute;
    left: 0px;
    bottom: -3px;
    width: 300px;
    height: 2px;
    background:linear-gradient(90deg, rgb(255,166,0), rgba(255,166,0, 0));
    opacity: .7;
    border-radius: 10px;
}

.formation-nav-wrapper .formation-nav .link {
    border-bottom: 1px solid #eee;
}
.formation-nav-wrapper .formation-nav .link:last-of-type {
    border-bottom: 0;
}

.formation-nav-wrapper .formation-nav .link a {
    display: block;
    padding: 5px 5px 5px 20px;
    color: #555;
    font-weight: bold;
    position: relative;
}
.formation-nav-wrapper .formation-nav .link a::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translatey(-50%);
    width: 7px;
    height: 7px;
    background-color:orange;
    z-index: -1;
    transition: .2s ease-in-out;
}
.formation-nav-wrapper .formation-nav .link a:hover {
    color: white;
}
.formation-nav-wrapper .formation-nav .link a:hover::before {
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background-color:var(--main-color);
}

.formation-nav-wrapper .formation-nav .link.current a {
    color: white;
    background-color: #555;
    cursor: default;
}
.formation-nav-wrapper .formation-nav .link.current a:focus {
    text-decoration: none;
}
.formation-nav-wrapper .formation-nav .link.current a::before {
    content: none;
}

@media (max-width: 768px) {
    .formation-nav-wrapper {
        width: 100%;
        padding: 0;
        margin: 0 0 .5em 0;
    }
}
