.table-wrapper {
    border-top: 1px solid #E7E7EC;
    padding-top: 30px;
}

.table-title-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.table-tabs-wrapper {
    position: relative;
    margin-top: 30px;
    min-height: 50px;
}

.table-tab-list {
    display: inline-flex;
    padding-top: 10px;
}

.table-tab {
    color: #BDBDBD;
    cursor: pointer;
    font-size: 16px;
    margin: 0 20px;
    transition: color 0.2s;
}

.table-tab:hover {
    color: #a5bdd2;
}

.table-tab:first-child {
    margin-left: 0;
}

.table-tab:last-child {
    margin-right: 0;
}

.table-search-actions {
    position: absolute;
    right: 0;
    top: -22px;
    min-height: 70px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

.table-search-action-popup {
    position: absolute;
    right: 0;
    top: -10px;
}

.table-search-actions-popup {
    top: 30px;
    background: #ffffff;
    padding: 20px 35px;
    border-radius: 8px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(68, 68, 79, 0.1);
}

.table-tab-active {
    font-weight: bold;
    color: #2F80ED !important;
    margin-bottom: 0;
}

.table-tab:after {
    content: "";
    height: 4px;
    display: block;
    background: transparent;
    border-radius: 4px 4px 0 0;
    margin-top: 20px;
    transition: background 0.2s, font-weight 0.2s;
}

.table-tab-active:after {
    background: #2F80ED;
}

.table-title {
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.116667px;
}

.table-title a {
    font-size: 18px;
}

.table-subtitle {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.116667px;
    color: #828282;
    margin-top: 5px;
}

.table-title-actions {
    position: absolute;
    right: 0;
    top: 0;
}

.table-title-actions .btn {
    margin-right: 10px;
}

.table-title-actions .btn:last-child {
    margin-right: 0;
}

.table {
    max-width: 100%;
    min-width: 100%;
    display: table;
}

.table-content-wrapper {
    width: 100%;
    overflow-x: auto;
}

.table .table-row {
    display: table-row;
    /*width: auto;*/
    /*clear: both;*/
}

.table .th {
    color: #828282;
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-align: left;
}

.table .td, .table .th {
    padding: 16px;
    display: table-cell;
    vertical-align: middle;
}

.table.table-bordered .td, .table.table-bordered .th {
    border-right: 1px solid #E7E7EC !important;
    border-bottom: 1px solid #E7E7EC !important;
}

.table.table-bordered .td:last-child, .table.table-bordered .th:last-child {
    border-right: none !important;
}

.table.table-bordered .table-row:last-child .td, .table.table-bordered .table-row:last-child .th {
    border-bottom: none !important;
}

.table .td-actions {
    text-align: right;
}

.table > .table-body > .table-row > .td, .table > .table-body > .table-row > .th {
    background: #FFFFFF;
    color: #333333;
    font-size: 12px;
    position: relative;
}

.table > .table-body > .table-row > .th {
    text-align: center;
    padding-right: 0;
}

.table > .table-body > .table-row > div {
    border-bottom: 1px solid #E7E7EC;
}

.table > .table-body > .table-row:last-child > div {
    border: none;
}

.table .table-head {
    font-weight: bold;
    display: table-header-group;
}

.table.table-white-top .table-head {
    background: #ffffff;
}

.table.table-white-top .table-head .table-row .th {
    border-bottom: 1px solid #E7E7EC !important;
}

.table .table-body {
    display: table-footer-group;
}

/* top left radius*/
.table:not(.table-white-top) > .table-body > .table-row:first-child > div:first-child,
.table.table-white-top .table-head .table-row .th:first-child {
    -webkit-border-top-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    border-top-left-radius: 10px;
}

/* top right radius */
.table:not(.table-white-top) > .table-body > .table-row:first-child > div:last-child,
.table.table-white-top .table-head .table-row .th:last-child {
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    border-top-right-radius: 10px;
}

/* bottom left radius*/
.table > .table-body > .table-row:last-child > div:first-child {
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-left-radius: 10px;
}

/* bottom right radius */
.table > .table-body > .table-row:last-child > div:last-child {
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-right-radius: 10px;
}

.table-loader {
    /*display: block;*/
    display: none;
}

.table-loader-content, .empty-table {
    position: relative;
    height: 120px;
    background: white;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-dialog-messages-list .table-loader-content,
.chat-users-list .table-loader-content {
    background: transparent;
}

.table-loader-icon {
    position: absolute;
    background: url('/icons/reload-icon.svg') no-repeat;
    background-size: cover;
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
    width: 39px;
    height: 52px;
    z-index: 10;
    filter: blur(3px);
    opacity: 0.8;
}

.table-loader-text {
    font-size: 16px;
    z-index: 11;
}

.table-pagination-wrapper {
    margin-top: 18px;
    font-size: 12px;
    color: #333333;
    display: flex;
    justify-content: space-between;
}

.table-pagination-options {
    background: #FFFFFF;
    border-radius: 4px;
    padding-left: 16px;
    display: inline-flex;
    align-items: center;
    height: 28px;
    letter-spacing: 0.4px;
}

.table-pagination-options-showing-word {
    color: #828282;
}

.table-pagination-options-showing {
    margin: 0 5px;
    position: relative;
}

.table-pagination-options-showing-modal {
    position: absolute;
    background: #FFFFFF;
    border: 1px solid #F2F2F2;
    box-shadow: 0 5px 15px rgba(68, 68, 79, 0.1);
    border-radius: 8px;
    padding: 6px 0;
    top: -13px;
    left: -15px;
}

.table-pagination-options-showing-modal-item {
    padding: 6px 14px;
    cursor: pointer;
    white-space: nowrap;
}

.table-pagination-options-showing-modal-item:hover {
    background: rgba(224, 224, 224, 0.3);
}

.table-pagination-options-showing, .table-pagination-option-reload {
    cursor: pointer;
}

.table-pagination-option-reload {
    width: 22px;
    height: 22px;
    background-image: url('/icons/reload-icon.svg');
    background-color: #FFFFFF;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    margin-left: 5px;
    margin-right: 5px;
    transition: transform 0.2s linear, -webkit-transform 0.2s linear, -moz-transform 0.2s linear, -ms-transform 0.2s linear, -o-transform 0.2s linear;
}

.table-pagination-option-reload:hover, .table-pagination-option-reload:focus {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.table-pagination-option-reload:active {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

@-moz-keyframes flip {
    100% {
        -moz-transform: rotate(180deg);
    }
}

@-webkit-keyframes flip {
    100% {
        -webkit-transform: rotate(180deg);
    }
}

@keyframes flip {
    100% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
}

@-moz-keyframes rot90 {
    100% {
        -moz-transform: rotate(90deg);
    }
}

@-webkit-keyframes rot90 {
    100% {
        -webkit-transform: rotate(90deg);
    }
}

@keyframes rot90 {
    100% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@-webkit-keyframes rotating /* Safari and Chrome */
{
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.table-pagination-actions {
    display: flex;
}

.table-pagination-page-action {
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 4px;
    border-radius: 3px;
    transition: background-color 0.2s linear;
}

.table-pagination-page-action-disabled {
    cursor: not-allowed;
}

.table-pagination-page-action-disabled:hover {
    background-color: transparent;
}

.table-pagination-page-action-disabled:hover .table-pagination-page-action-button {
    background-color: #FFFFFF;
}

.table-pagination-page-action:hover {
    background-color: #E2E2EA;
}

.table-pagination-page-action:last-child {
    margin-right: 0;
}

.table-pagination-page-action-button {
    background-color: #FFFFFF;
}

.table-pagination-page-action-button:hover {
    background-color: #d7d6d6;
}

.table-pagination-page-action-button-forward {
    background-image: url('/icons/play-icon.svg');
    background-position: center;
    background-repeat: no-repeat;
}

.table-pagination-page-action-button-forward-fast {
    background-image: url('/icons/skip-next.svg');
    background-position: center;
    background-repeat: no-repeat;
}

.table-pagination-page-action-button-back {
    background-image: url('/icons/play-icon.svg');
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(180deg);
}

.table-pagination-page-action-button-back-fast {
    background-image: url('/icons/skip-next.svg');
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(180deg);
}

.table-pagination-page-action-active {
    background-color: #38A6DF !important;
    color: #FFFFFF;
}

/* ========= CUSTOM TABLES BASED BY DIV END ======== */

.table-ceil-course-title a {
    font-weight: 700;
}

.table-ceil-course-title a:hover {
    text-decoration: underline;
}

.table-ceil-course-group {
    display: flex;
    margin-top: 5px;
}

.table-ceil-course-group-title {
    color: #828282;
}

.table-ceil-course-group-count {
    margin-left: 3px;
}