.front-legal-modal .modal-content-blue {
    overflow: hidden;
    color: #536273;
}

.front-legal-modal .modal-header,
.front-legal-modal .modal-footer {
    color: #fff;
    background: rgba(10, 60, 130, .96);
}

.front-legal-modal .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: .85;
}

.front-legal-modal .modal-body {
    padding: 1rem;
    background: rgba(10, 60, 130, .78);
}

.front-legal-modal .modal-body .card {
    color: inherit;
    background: transparent;
    border: 0 !important;
    box-shadow: none;
}

.front-legal-modal .timeline {
    width: 100% !important;
    padding: 0;
    margin: 0 auto !important;
}

.front-legal-modal .timeline > h1 {
    color: #fff;
}

.front-legal-modal .timeline > li {
    position: relative;
    min-height: 64px;
    clear: both;
    list-style: none;
}

.front-legal-modal .timeline .block {
    min-height: 58px;
    padding: 14px 18px;
    margin: 0 0 12px 106px;
    overflow: visible;
    background: #fff;
    border-left: 3px solid #dce5ee;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 6px 16px rgba(1, 29, 64, .14);
}

.front-legal-modal .timeline .tags {
    position: absolute;
    top: 15px;
    left: 0;
    z-index: 2;
    width: 84px;
}

.front-legal-modal .timeline .tag {
    position: relative;
    display: block;
    width: 100%;
    height: 30px;
    padding: 8px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1;
    color: #fff !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #477cc4 !important;
}

.front-legal-modal .timeline .tag::after {
    position: absolute;
    top: 0;
    left: 100%;
    width: 0;
    height: 30px;
    margin: 0;
    pointer-events: none;
    content: "";
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 11px solid #477cc4;
}

.front-legal-modal .timeline h2.title {
    position: relative;
    margin: 0;
    color: #253554;
    font-size: 16px;
}

.front-legal-modal .timeline h2.title::before {
    position: absolute;
    top: 3px;
    left: -27px;
    display: block;
    width: 14px;
    height: 14px;
    content: "";
    background: #fff;
    border: 3px solid #9cb4ca;
    border-radius: 50%;
}

@media (max-width: 575.98px) {
    .front-legal-modal .modal-body {
        padding: .65rem;
    }

    .front-legal-modal .timeline .block {
        padding: 54px 14px 14px;
        margin-left: 0;
        border-left: 0;
        border-radius: 10px;
    }

    .front-legal-modal .timeline .tags {
        top: 12px;
        left: 12px;
        width: min(78%, 240px);
    }

    .front-legal-modal .timeline .tag {
        width: auto;
        padding-right: 12px;
    }

    .front-legal-modal .timeline h2.title::before {
        display: none;
    }
}
