/* Hdie elements of learndash group plus start */

.groups_plus_report_list {
    display: none !important;
}
.groups_plus_report_list + .div_export_section {
    display: none !important;
}

/* Hide elements of learndash group plus end */

/* user management dashboard start */

.wn-portal-dashboard-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.wn-portal-dashboard-title {
    text-align: center;
    font-size: 2em;
    padding: 20px;
    background: #8e1a1c;
    color: #fff;
    width: 100%;
    margin: 0;
}

.wn-portal-dashboard-main {
    display: flex;
}

.wn-portal-dashboard-sidebar {
    width: 25%;
    background: #f4f4f4;
}

.wn-portal-dashboard-menu {
    list-style-type: none;
    padding: 0;
}
.wn-portal-dashboard-sidebar ul.wn-portal-dashboard-menu {
    list-style-type: none;
    margin: 0;
    border-top: 1px solid #f4f4f4;
}
.wn-portal-dashboard-sidebar ul.wn-portal-dashboard-menu li {
    list-style-type: none;
}
.wn-portal-dashboard-sidebar ul.wn-portal-dashboard-menu li a.wn-active {
    background: #8e1a1c;
    color: #fff;
}

.wn-portal-dashboard-menu a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    padding: 10px 20px;
    border-bottom: 1px solid #d7d7d7;
    display: block;
}

.wn-portal-dashboard-content {
    width: 75%;
    padding: 20px 20px 20px 40px;
    background: #fff;
}

.wn-portal-dashboard-content #wn-portal-dashboard-content-container {
    padding: 20px 0;
}

/* 18 November 2024 */
.btn_groups_plus {
    background-color: #8e1a1c !important;
    font-family: Signika, sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin-left: 5px !important;
    margin-bottom: 5px !important;
    position: relative;
}
.btn_groups_plus:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e05c4d;
    width: 100%;
    height: 4px;
}
.groups_plus_table th:first-child {
    width: 35%;
    padding-left: 15px;
}
.groups_plus_table th:nth-child(2) {
    width: 20%;
    text-align: center;
}
.groups_plus_table th:nth-child(3) {
    width: 45%;
    text-align: center;
}
.groups_plus_table th:nth-child(4) {
    text-align: center;
}

.groups_plus_table td:first-child {
    padding-left: 15px;
}
.groups_plus_container .groups_user_table tbody tr td:first-child h5 {
    font-size: 20px !important;
    margin: 0;
}

.groups_plus_table.team_member_list_table th:first-child {
    width: 30%;
}
.groups_plus_table.team_member_list_table th:nth-child(2) {
    width: 20%;
    text-align: center;
}
.groups_plus_table.team_member_list_table th:nth-child(3) {
    width: 5%;
    text-align: center;
}
.groups_plus_table.team_member_list_table th:nth-child(4) {
    width: 45%;
}
.manage-buttons {
    text-align: center;
}
.manage-buttons a:first-child {
    margin-left: 0;
}

/* portal dashboard end */

/* user course enrollment start */

.wn-portal-course-listbox-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wn-portal-course-listbox-container select {
    width: 100%;
    padding: 0;
    height: 200px;
}
.wn-portal-course-listbox-container > div {
    width: 48%;
}
.wn-portal-course-listbox-container > div.wn-portal-course-actions {
    width: 4%;
}

.wn-portal-course-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.wn-portal-save-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #8e1a1c;
    border: none;
    color: #fff;
    font-size: 14px;
    font-family: Signika, sans-serif;
    font-weight: 400;
}
.wn-portal-dashboard-content .wn-portal-course-listbox-container select option {
    font-size: 13px;
    border-bottom: 1px solid #eee;
    padding: 5px 10px;
}
.wn-portal-course-listbox-container > div input {
    font-size: 13px;
}
#wnPortalReportDatatable {
    display: block;
    overflow-x: auto;
    border: 1px solid #222;
}
#wnPortalReportDatatable th,
#wnPortalReportDatatable td {
    font-size: 13px;
    text-align: center;
    line-height: 1.4;
}
#wnPortalReportDatatable th {
    color: #fff;
    background-color: #8e1a1c;
    min-width: 120px;
}
#wnPortalReportDatatable th:first-child {
    min-width: inherit;
}
#wnPortalReportDatatable td span {
    display: block;
}
#wnPortalReportDatatable th:nth-child(2) {
    text-align: left;
}

.dt-buttons .dt-button {
    background-color: #101c8a !important;
    border: none !important;
    color: #fff;
    margin: 20px 0;
    transition: 0.3s;
}

.dt-buttons .dt-button:hover {
    opacity: 0.9;
}
#wnPortalReportDatatable_wrapper a.paginate_button.current {
    background: #8e1a1c;
    border: none;
    color: #fff !important;
    padding: 0;
}

/* user course enrollment end  */

/* alert msg css */

.wn-cs-msge-display h6 {
    padding: 10px;
    border-left: 5px solid green;
    background: #ffffff;
    box-shadow: 0 0 10px 0 #d7d7d7;
    font-size: 13px;
    font-weight: 400;
}
