@import "../../../utils/theme/colorVariable.scss";
.search-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pagesection,
.page-footer {
    width: 100%;
}

.mat-button.mat-primary {
    background-color: #3f51b5 !important;
    color: #fff;
    margin-left: 15px;
}

.inputsearch {
    min-width: 200px;
}

mat-icon {
    cursor: pointer;
}

.mat-cell {
    a {
        color: #9a88ff !important;
    }
}

.w-100 {
    width: 100%;
}

.select-box {
    position: relative;

    select {
        width: 100%;
    }

    span {
        position: absolute;
        top: 18px;
        right: 15px;
        content: "";
        border-color: #000 #0000 #0000;
        border-style: solid;
        border-width: 5px 5px 2.5px;
    }
}

.modal-body {
    .students-list {
        .event-list {
            .rowevent {
                display: flex;
                background: #0e1336;
                border: 1px solid #262571;
                border-radius: 5px;
                margin-bottom: 5px;
                justify-content: space-between;
                &.header {
                    padding: 5px 15px 8px;
                    background: #1f204d;
                    .value {
                        font-weight: 600;
                    }
                }
                .value {
                    color: #7e7ab3;
                    font-size: 15px;
                    min-width: 100px;
                    font-family: "mulish-light";

                    &.first {
                        min-width: 200px;
                    }
                }
                .last {
                    text-align: right;
                }
                padding: 11px 15px 8px;
            }
        }
        .no-course {
            padding: 7px 0px 7px 10px;
            color: #a39bde;
            display: flex;
            background: #2b2b5d;
            border-radius: 5px;
            width: 100%;
            margin: 38px 0px;

            span {
                margin-right: 5px;
            }

            p {
                margin: 0px;
            }
        }
    }
    .course-name {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 30px 0;
        border-bottom: 1px solid #000;

        .course-input {
            width: 49%;

            label {
                display: block;
                margin-bottom: 10px;
                color: #67658d;
                font-size: 15px;
            }

            input {
                &::-webkit-input-placeholder {
                    /* Edge */
                    color: #4c5298;
                    font-size: 14px;
                }

                &:-ms-input-placeholder {
                    /* Internet Explorer 10-11 */
                    color: #4c5298;
                    font-size: 14px;
                }

                &::placeholder {
                    color: #4c5298;
                    font-size: 14px;
                }
            }

            input,
            select {
                display: block;
                width: 90%;
                border: 1px solid $popupBorder;
                border-radius: 5px;
                background: #090f2b;
                padding: 10px;
                color: $popupText;
                outline: none;
                font-size: 17px;
            }

            select {
                background: $popupBg;
                color: $popupText;
                padding: 10px;
            }

            .check-app {
                label {
                    font-weight: 600;
                    margin: 0;
                    color: $popupText;
                    margin-bottom: 25px;
                }
            }
        }
    }

    .select-timezone {
        margin-top: 10px;
    }

    .container {
        display: block;
        position: relative;
        padding-left: 24px;
        margin-bottom: 12px;
        cursor: pointer;
        font-size: 22px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /* Hide the browser's default checkbox */
    .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    /* Create a custom checkbox */
    .checkmark {
        position: absolute;
        top: 2px;
        left: 0;
        height: 15px;
        width: 15px;
        border: 1px solid #000;
        border-radius: 5px;
    }

    /* When the checkbox is checked, add a blue background */
    .container input:checked ~ .checkmark {
        background: $Pink;
        border: 1px solid transparent;
    }

    /* Create the checkmark/indicator (hidden when not checked) */
    .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    /* Show the checkmark when checked */
    .container input:checked ~ .checkmark:after {
        display: block;
    }

    /* Style the checkmark/indicator */
    .container .checkmark:after {
        left: 5px;
        top: 2px;
        width: 3px;
        height: 7px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }
}

.events {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;

    span {
        color: #9b94d2;
        font-size: 17px;
        letter-spacing: 0.5px;
    }

    button {
        color: #df5d6a;
        padding: 7px 15px;
        border: 1px solid #df5d6a;
        border-radius: 25px;
        background: none;
        font-size: 14px;
        cursor: pointer;
        transition: 0.3s;

        &:hover {
            background: #df5d6a;
            color: #fff;
        }
    }
}

.transcript-div {
    .main-transcript {
        display: block;
        padding: 10px;

        .all-event {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            width: 95%;

            input {
                background: #1a1e47;
                border: 1px solid #585690;
                border-radius: 4px;
                padding: 5px;
                width: calc(100% - 22px);
                color: #a099da;

                &::-webkit-inner-spin-button,
                &::-webkit-outer-spin-button {
                    -webkit-appearance: none;
                    margin: 0;
                }
            }

            .event-name {
                width: 40%;
            }

            .event-number {
                width: 30%;

                input {
                    text-align: center;
                }
            }

            .event-time {
                width: 20%;

                input {
                    text-align: center;
                }
            }

            .min {
                display: flex;
                align-items: center;
                justify-content: space-between;
                border: 1px solid #595690;
                border-radius: 4px;

                input {
                    border: none;
                }

                span {
                    padding: 7.5px 15px;
                    background: #2b2957;
                    color: #5b568c;
                }
            }
        }

        .transcript-delete {
            span {
                color: #6c689b;
            }
        }
    }
}

.formwrapper {
    .cohort-name {
        margin-top: 10px;

        .start_date {
            resize: none;
            height: 14px;
        }
    }
}

.formwrapper div input {
    width: calc(100% - 20px);
}

.mt-3 {
    margin-top: 10px;
}

.add-new-event {
    padding-bottom: 25px;
    border-bottom: 1px solid #000;
    margin-bottom: 25px;
}

.add-new-tests {
    border-bottom: 1px solid #000;
    margin-bottom: 25px;
}

.users-table {
    .student-filters {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .short-by {
            width: 32% !important;
            margin-right: 10px;
        }
    }

    .main-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: $popupText;
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 0.5px;
        display: block;

        span {
            color: $popupText;
            font-weight: 600;
            font-size: 16px;
            letter-spacing: 0.5px;
            display: block;
        }

        .short-by {
            width: 20%;

            select {
                background: $popupBg;
                border: 1px solid $popupBorder;
                padding: 10px;
                width: 100%;
                color: $popupText;
            }
        }

        .search-icon {
            position: relative;
            width: 65%;
            display: flex;
            input {
                background: $searchBg;
                border: 1px solid $searchBorder;
                padding: 10px 40px 10px 20px;
                // border-radius: 30px;
                margin: 10px 0;
                width: calc(100% - 59px);
                color: $searchText;
            }
            ::placeholder{
                color: $searchText;
            }
            select {
                background: $popupBg;
                border: 1px solid $popupBorder;
                padding: 10px 13px 10px 20px;
                // border-radius: 30px;
                margin: 10px 0;
                margin-right: 10px;
                color: $popupText;
            }

            span {
                position: absolute;
                right: 11px;
                top: 20px;
                color: $searchText;
            }
        }
    }
}

.none {
    input {
        width: 100%;
        background: none;
        border: none;
        color: $popupText;
        font-size: 15px;
    }
}

.knowledge-ass {
    margin-bottom: 30px;
    .course-input {
        margin-top: 15px;
        margin-bottom: 15px;
        &:last-child {
            margin-right: 0;
        }
        .main-title {
            color: $PopupLabel;
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
            margin-left: 4px;
            display: block;
        }
        label {
            display: block;
            margin-bottom: 10px;
            color: $PopupLabel;
            font-size: 14px;
        }
        input,
        select {
            display: block;
            border-radius: 8px;
            padding: 10px;
            font-size: 15px;
            outline: none;
            border: 1px solid $popupBorder;
        }
        input {
            width: calc(100% - 20px);
            background: none;
            color: $popupBorder;
            outline: none;
            &::-webkit-input-placeholder {
                /* Edge */
                color: #000;
                font-size: 14px;
            }
            &:-ms-input-placeholder {
                /* Internet Explorer 10-11 */
                color: #000;
                font-size: 14px;
            }
            &::placeholder {
                color: #000;
                font-size: 14px;
            }
        }
        select {
            background: $popupBg;
            color: $popupText;
            width: 100%;
        }
    }
    .title_filter {
        display: flex;
        justify-content: space-between;
        align-items: center;
        .main-title {
            color: $PopupLabel;
            font-weight: 600;
            font-size: 16px;
            letter-spacing: 0.5px;
            display: block;
        }
        .course-input {
            input,
            select {
                display: block;
                border-radius: 8px;
                padding: 10px;
                font-size: 15px;
                outline: none;
                border: 1px solid $popupBorder;
            }

            select {
                background: #171b41;
                color: #9793c6;
                width: 100%;
            }
        }
    }


    .cissp-days {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 15px;
        background: #1a1f47;
        border: 1px solid #303563;
        border-radius: 10px;
        margin: 10px 0;

        .cissp-assigned {
            position: relative;
            width: 48%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-right: 12px;
            border-right: 1px solid #262c61;
            margin-right: 12px;

            span {
                color: #8681bc;
                font-size: 15px;
            }

            .check-app {
                margin-bottom: 20px;

                label {
                    color: #8681bc;
                    font-size: 15px;
                    margin: 0;
                }

                .short-by {
                    width: 20%;

                    select {
                        background: #1a1e47;
                        border: 1px solid #595690;
                        border-radius: 7px;
                        padding: 10px;
                        width: 100%;
                        color: #a099da;
                    }
                }
            }

            .check-app2 {
                margin-bottom: 0;
                opacity: 0.3;
            }
            .opacity {
                opacity: 1;
            }
        }

        .overdue {
            display: flex;
            align-items: center;
            justify-content: flex-end;

            .over {
                &:last-child {
                    margin-bottom: 0;
                }
            }

            .due {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                margin: 0 0 10px 0;
                opacity: 0.3;

                label {
                    color: #7b77b2;
                    font-weight: 600;
                    width: 68px;
                    text-align: right;
                }

                input {
                    background: none;
                    border: 1px solid #2f2f5e;
                    padding: 5px;
                    border-radius: 5px;
                    font-size: 14px;
                    color: #7b77b2;
                    font-weight: 600;
                    width: 100px;
                    margin-left: 10px;
                }

                select {
                    background: #1a1e47;
                    border: 1px solid #595690;
                    border-radius: 4px;
                    padding: 8px;
                    color: #9b94d5;
                    width: calc(100% - 220px);
                    -moz-appearance: none;
                    -webkit-appearance: none;
                    appearance: none;
                    margin-left: 10px;
                }

                input::-webkit-outer-spin-button,
                input::-webkit-inner-spin-button {
                    -webkit-appearance: none;
                    margin: 0;
                }

                .date-w {
                    width: 155px;
                }
            }

            .due2 {
                margin-bottom: 0;
            }

            .opacity {
                opacity: 1;
            }
        }

        .noque {
            color: #d7779b61;
        }
    }
    .pricing {
        border-bottom: 1px solid #000;
        padding-bottom: 20px;
        margin: 30px 0;
        .pricing-title {
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 0.5px;
            color: $popupText;
            margin-bottom: 7px;
        }
        .select-pricing {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            select {
                display: block;
                border-radius: 8px;
                padding: 10px;
                font-size: 15px;
                outline: none;
                border: 1px solid #000;
                background: none;
                width: 80%;
                box-sizing: border-box;
                color: #000;
                option {
                    color: #000;
                }
            }
            button {
                background: none;
                border: 1px solid #DF166A;
                padding: 10px 25px;
                color: #DF166A;
                font-size: 14px;
                cursor: pointer;
            }
        }
    }
    .baselinedue {
        display: flex;
        align-items: center;
        select {
            appearance: none;
            width: calc(100% - 300px);
            background: #1a1e47;
            color: #8683b2;
            outline: none;
            padding-top: 20px;
            font-size: 14px;
            padding-bottom: 6px;
        }
        label {
            display: block;
            margin-bottom: 10px;
            color: #67658d;
            position: relative;
            left: 32px;
            font-size: 10px;
            padding-bottom: 10px;
            width: 38px;
            top: 0px;
            margin-left: -18px;
        }
        label.overdue-date-lable {
            position: relative;
            left: 50px !important;
        }
        input {
            width: calc(100% - 20px);
            background: none;
            color: #8683b2;
            outline: none;
            padding-top: 20px;
            font-size: 14px;
            padding-bottom: 6px;
        }
    }
}

.m-0 {
    margin: 0 !important;
}

.students-list {
    tr.mat-header-row {
        background: $matHeaderBg !important;
        height: 45px;
        // border: 1px solid #343b7c;
    }

    .mat-table tbody {
        // background: #21275f87;
    }

    tr td.mat-cell {
        background: #1b1f48 !important;
        color: #7e7ab3;
        font-size: 15px;
        font-weight: 400;
        border-top: 1px solid #303563;
        border-bottom: 1px solid #303563;
    }

    tr td.mat-cell:first-child {
        padding-left: 13px !important;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
        border-left: 1px solid #303563;
    }

    tr td.mat-cell:last-child {
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
        border-right: 1px solid #303563;
    }

    .mat-paginator {
        background: none;
    }
}

::ng-deep .mat-datepicker-content .mat-calendar {
    padding-bottom: 8px !important;
    box-shadow: 0px 10px 41px -14px #411f63;
}

::ng-deep .mat-datepicker-content {
    background: #121639 !important;
    border: 2px solid #1e2356 !important;
    color: #837bc4 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

::ng-deep .mat-calendar-body-selected {
    background-color: #f558b5;
    color: white !important;
}

::ng-deep .mat-calendar-body-cell {
    border: 1px solid #1c2041;
}

::ng-deep .mat-calendar-table-header th {
    padding: 8px 0 8px 0 !important;
    color: #635d9b !important;
    font-size: 15px !important;
}

::ng-deep .mat-calendar-table-header-divider::after {
    background: #1e2356 !important;
}

::ng-deep .mat-calendar-body-today.mat-calendar-body-selected {
    box-shadow: none !important;
    background-color: #f558b5;
    color: white !important;
}

::ng-deep .mat-calendar-body-today:not(.mat-calendar-body-selected) {
    border: solid 1px #f558b5;
}

::ng-deep .mat-calendar-body-label {
    color: #837bc4;
}

::ng-deep .mat-calendar-previous-button::after {
    color: #837bc4 !important;
}

::ng-deep .mat-calendar-next-button::after {
    color: #837bc4 !important;
}

::ng-deep .mat-calendar-arrow {
    border-top-color: #837bc4 !important;
}

::ng-deep .mat-calendar-header {
    color: #837bc4 !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    background-color: #151940;
}

::ng-deep .mat-calendar-body-cell-content {
    color: #837bc4;
}

::ng-deep .mat-calendar-controls {
    display: flex;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 0 5px 0;
}

::ng-deep .mat-calendar-spacer {
    flex: 0 !important;
}

::ng-deep .date-input .mat-form-field-suffix {
    top: 15px !important;
}

.date-input {

    .mat-form-field-appearance-fill .mat-form-field-underline::before {
        display: none !important;
    }
}

input:focus ~ .floating-label,
input:not(:focus):valid ~ .floating-label {
    top: 8px;
    bottom: 10px;
    left: 20px;
    font-size: 11px;
    opacity: 1;
    color: #68659d;
}

.inputText {
    height: 25px;
}

.floating-label {
    position: absolute;
    pointer-events: none;
    left: 20px;
    top: 18px;
    transition: 0.2s ease all;
    color: #68659d;
}
.showdata {
    display: none !important;
}
::ng-deep .mat-select-arrow.ng-tns-c146-9 {
    color: #fff;
}
@media screen and (max-width: 768px) {
    ::ng-deep .mat-table.cdk-table.mat-sort {
        display: block;
        overflow: auto;
        tr.mat-header-row th:first-child {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 33px;
            line-height: 40px;
        }
        tr.mat-header-row th:last-child {
            width: 90px;
            display: flex;
            align-items: center;
            line-height: 40px;
        }
    }
    ::ng-deep .mat-select-arrow.ng-tns-c146-9 {
        color: #fff;
        position: relative;
        left: -15px;
    }
    ::ng-deep .mat-sort-header-container {
        width: 140px;
    }
}
::ng-deep tr.mat-header-row th {
    &:first-child {
        min-width: 50px;
    }
    &:nth-child(2) {
        min-width: 160px;
    }
    &:nth-child(3) {
        min-width: 130px;
    }
    &:nth-child(4) {
        min-width: 220px;
    }
    &:nth-child(5) {
        min-width: 100px;
    }
    &:nth-child(6) {
        min-width: 110px;
    }
    &:last-child {
        min-width: 80px;
    }
}
::ng-deep tr td.mat-cell {
    &:first-child {
        min-width: 50px;
    }
    &:nth-child(2) {
        min-width: 160px;
    }
    &:nth-child(3) {
        min-width: 130px;
    }
    &:nth-child(4) {
        min-width: 220px;
    }
    &:nth-child(5) {
        min-width: 100px;
    }
    &:nth-child(6) {
        min-width: 110px;
    }
    &:last-child {
        min-width: 80px;
    }
}
::ng-deep .mat-paginator-container {
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    .mat-icon-button {
    background: $paginationBtnBg !important;
    border-radius: 5px !important;
    border: 1px solid $paginationBtnBorder !important;
    margin: 0 5px !important;
    cursor: pointer;
    color: $paginationBtnText !important;

        &:hover {
      border: 1px solid $PaginationBtnHover !important;
      color: $PaginationBtnHover !important;
    }
    }

    .mat-paginator-page-size-label {
    color: $paginationText !important;
    font-size: 14px !important;
  }

    .mat-paginator-range-label {
        color: $paginationNo;
        width: 140px;
        font-size: 14px !important;
    }
}
