.dashboard-wrapper {
    display: flex;
    margin: 0 auto;
    width: 1020px;
}

.dashboard-title {
    margin: 0 auto 25px auto;
    width: 800px;
}

.dashboard-intro {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin: 0 0 35px 0;
    padding: 0 0 20px 0;
    width: 100%;
}

.invoice-list {
    width: 100%;
}

.buttons {
    display: flex;
    gap: 8px;
    margin: 4px 0;
}

.btn-primary {
   border: 1px solid #2191f9ff;
   border-radius: 4px;
   padding: 6px;
}

.btn-primary:hover {
    background-color: #caeafd;
    transform: scale(1.05);
}

.dashboard-intro p > a {
    border-bottom: 1px solid #00a5cf;
    color: #00a5cf;
}

.dashboard-menu {
    margin-right: 20px;
    width: 200px;
}

.dashboard-menu .menu-item {
    color: #003d62;
    cursor: pointer;
    font-weight: 400;
    margin: 0 0 12px 0;
    opacity: 0.8;
    text-align: left;
    transition: all 0.1s ease-in-out;
}

.dashboard-menu .menu-item:hover {
    opacity: 1;
    font-weight: 600;
}

.dashboard-menu .menu-item.active {
    border-left: 3px solid #003d62;
    font-weight: 600;
    opacity: 1;
    padding: 0 0 0 8px;
}

.dashboard-results .menu-wrapper {
    display: none;
}

.dashboard-results .menu-wrapper.active {
    display: block;
}

.dashboard-menu a {
    color: #003d62;
    line-height: 2em;
}

.dashboard-menu a:hover {
    color: #195f9c;
    /*font-weight: bold;*/
}

.dashboard-results {
    display: block;
}

.dashboard-container {
    position: relative;
}

.dashboard-container h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
}

.dirty-ff-fix {
    height: 35px;
    margin: -25px 0 -35px 0;
    width: 100%;
}

.dirty-ff-fix div {
    background: #fff;
    height: 35px;
    margin: 0 0 -35px 0;
    position: absolute;
    width: 50px;
    z-index: 1;
}

.timeline-container {
    margin: 0 42px 25px 42px;
    padding: 0;
    position: relative;
    width: 100%;
}

.timeline-inner {
    border-left: 3px solid var(--accent-color);
    position: relative;
}

.timeline-dates {
    display: flex;
    padding: 35px 0 5px 0;
}

.timeline-line {
    background: var(--accent-color);
    border-radius: 100%;
    height: 20px;
    margin: 0 10px 0 -11px;
    width: 20px;
}

.timeline-date {
    font-size: 18px;
    font-weight: 600;
    margin: -5px 0 8px 0;
    width: 150px;
}

.timeline-date.empty {
    padding: 12px 0 0 0;
}

.timeline-courses {
    display: flex;
    padding: 0 0 0 6px;
    position: relative;
}

.timeline-cards:hover {
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.05);
}

.timeline-courses:before {
    content: "";
    background: #f9f9fb;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    height: 14px;
    margin: 25px -7px 0 0;
    transform: rotate(45deg);
    width: 16px;
    z-index: 1;
}

.timeline-courses:hover:before {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.timeline-cards {
    background: #f9f9fb;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 11px 15px;
    width: 100%;
    cursor: pointer;
}

.timeline-cards .timeline-course-name {
    font-weight: 600;
    padding: 0;
    width: calc(100% - 100px);
}

.timeline-cards .timeline-extra-info {
    font-size: 14px;
    width: calc(100% - 100px);
}

.timeline-course-status {
    margin: -12px 0 0 0;
    position: absolute;
    right: 105px;
    text-align: right;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
}

.timeline-course-status .status-label {
    background: #623466;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    padding: 3px 8px;
    position: absolute;
    text-align: right;
    width: auto;
}

.timeline-course-status .status-label.scheduled {
    background: #274b64;
}

.timeline-course-status .status-label.confirmed {
    background: #4d8242;
}

.timeline-course-status .status-label.canceled {
    background: #db2b39;
}

.dashboard-logout {
    background: #623466;
    border-radius: 3px;
    bottom: 5px;
    cursor: pointer;
    height: 25px;
    padding: 5px 15px;
    position: absolute;
    right: 0;
}

.dashboard-logout:hover {
    background: #ae2276;
    transition: 0.2s;
}

.dashboard-logout a {
    color: #fff;
}
.dashboard-name {
    width: 100%;
}

@media screen and (max-width: 1000px) {
    .dashboard-title {
        width: 100%;
    }
}
@media screen and (max-width: 760px) {
    .dashboard-logout {
        font-size: 14px;
        height: 22px;
        margin: 0 0 0 10px;
        padding: 3px 10px;
    }
    .dirty-ff-fix {
        position: relative;
        width: 100%;
    }
    .dirty-ff-fix div {
        height: 20px;
        width: 100%;
    }
    .dashboard-title {
        margin: 0 auto 15px auto;
    }
    .dashboard-intro {
        margin: 0 0 12px 0;
        padding: 0;
    }
    .dashboard-name {
        width: calc(100% - 70px);
    }
    .dashboard-name h2.colored-header {
        font-size: 18px;
    }
    .dashboard-intro h2.colored-header {
        color: #141414;
    }
    .timeline-container {
        margin: 0 0 15px 6px;
    }
    .timeline-dates {
        padding: 20px 0 0 0;
    }
    .timeline-cards .timeline-course-name {
        font-size: 14px;
        line-height: 1.2em;
        width: calc(100% - 58px);
    }
    .timeline-course-status {
        right: 65px;
        top: 21px;
    }
    .timeline-courses,
    .timeline-cards {
        position: relative;
    }
    .timeline-cards {
        padding: 8px 10px;
    }
    .timeline-course-status .status-label {
        font-size: 9px;
        padding: 2px 6px;
        position: absolute;
        text-align: right;
        width: auto;
    }
    .timeline-cards .timeline-extra-info {
        font-size: 12px;
        margin: 2px 0 0 0;
        width: 100%;
    }
    .timeline-cards .timeline-extra-info span {
        display: block;
    }
    .timeline-date {
        font-size: 15px;
    }
    .timeline-line {
        height: 11px;
        margin: 0 10px 0 -7px;
        width: 11px;
    }
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
