.pagemain {
    margin: 33px 45px;
}
.title-ka {
    display: none;
}
.pagehead {
    display: flex;
    align-items: center;
    margin-bottom: 15px;

    .pageback {
        color: #786eab;
        margin-right: 10px;
    }

    .pagelable {
        margin: 0;
        color: #d8789e;
        font-size: 22px;

        span {
            color: #958cdd;
        }
    }
}

.pagesection {
    display: flex;
    flex-wrap: wrap;

    .knowledge-box {
        border: 1px solid #1c214b;
        border-radius: 10px;
        background: #0f1535;
        margin: 1% 0.8%;
        width: 31.5%;
        max-width: 395px;

        .box-que {
            padding: 22px 35px !important;
            border-bottom: 1px solid #1d2242;
            min-height: 44px;

            p {
                color: #988fe0;
                font-size: 16px !important;
                margin: 0;
                font-weight: 600;

                span {
                    color: #c97ca0;
                }
            }
        }

        .box-detail {
            padding: 27px 34px !important;

            .date-progess {
                display: flex;
                margin-bottom: 40px;

                .datesec {
                    font-size: 13px;
                    color: #7576a4;
                    width: 46%;
                    border-right: 1px dashed #292e4c;
                    margin-right: 21px;

                    p {
                        margin: 0;
                        font-weight: 600;

                        &.lable {
                            font-size: 13px;
                        }

                        &.value {
                            display: flex;
                            font-size: 13px;

                            span {
                                margin-right: 5px;

                                svg {
                                    fill: #c2b8ff;
                                    width: 16px;
                                    height: 19px;
                                }
                            }
                        }
                    }
                }

                .progress {
                    display: flex;
                    width: 62%;
                    justify-content: space-between;

                    .prog {
                        margin-right: 13px;
                        width: 50%;

                        p {
                            margin: 0;

                            &.lable {
                                color: #e76b8d;
                                font-size: 13px;
                                margin-bottom: 10px;
                            }
                        }

                        .fillermain {
                            background: #1f2755;
                            height: 8px;
                            width: 100%;
                            border-radius: 15px;

                            .fill {
                                background: #e76b8d;
                                height: 100%;
                                border-radius: 15px;
                            }
                        }
                    }

                    .pervalue {
                        padding: 7px 10px;
                        background: #372849;
                        border-radius: 5px;
                        font-size: 20px;
                        color: #d67598;
                        width: 52px;
                        height: 27px;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        span {
                            font-size: 15px;
                        }
                    }

                    &.completed {
                        .prog {
                            p {
                                &.lable {
                                    color: #b25bff;
                                }
                            }

                            .fillermain {
                                .fill {
                                    background: #b25bff;
                                }
                            }
                        }

                        .pervalue {
                            color: #b25bff;
                            background: #30225b;
                        }
                    }
                }
            }

            .totalvalue-sec {
                display: flex;
                margin-bottom: 35px;
                justify-content: space-between;

                .total-que {
                    padding: 0 40px 0 10px;
                    border-right: 1px dashed #292e4c;

                    p {
                        margin: 0;
                        color: #9f99d5;
                        line-height: 100%;

                        &.val {
                            font-size: 28px;
                            font-weight: 500;
                            margin-bottom: 5px;
                        }

                        &.lable {
                            white-space: nowrap;
                            font-size: 13px;
                        }
                    }

                    &:first-child {
                        min-width: 25%;
                        padding-left: 0;
                    }

                    &:last-child {
                        margin-right: 0;
                        padding-right: 0;
                        border: 0;
                    }
                }
            }
            .take-test {
                .btncissp {
                    width: 100%;
                    padding: 13px 10px;
                    border-radius: 20px;
                    border: 0;
                    box-shadow: none;
                    font-size: 14px;
                    letter-spacing: 0.3px;
                    color: #fff;
                    background: linear-gradient(to right, #ed4b80, #ed8452);
                    cursor: pointer;

                    &:hover {
                        background: linear-gradient(to right, #ed5b73, #ed7162);
                    }

                    &:disabled {
                        cursor: not-allowed;
                    }
                }
            }

            .view-results {
                display: flex;
                align-items: center;
                justify-content: space-between;

                button {
                    width: 85%;
                    padding: 12px 10px;
                    border-radius: 20px;
                    border: 1px solid #373463;
                    box-shadow: none;
                    color: #7972b3;
                    background: #111336;
                    cursor: pointer;
                    font-size: 14px;
                    letter-spacing: 0.3px;

                    &:last-child {
                        width: 40px;
                        height: 40px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        padding: 0;

                        svg {
                            width: 17px;
                            height: 17px;
                        }
                    }
                }
            }
        }
        &:hover {
            border-color: #d96c42;
            background: #0c122f;

            .box-detail {
                .date-progess {
                    .datesec {
                        p {
                            &.value {
                                span {
                                    svg {
                                        fill: #dc6e43;
                                    }
                                }
                            }
                        }
                    }

                    .progress {
                        .prog {
                            p {
                                &.lable {
                                    color: #dc6e43;
                                }
                            }

                            .fillermain {
                                .fill {
                                    background: #dc6e43;
                                }
                            }
                        }

                        .pervalue {
                            background: rgb(227, 120, 77, 0.2);
                            color: #dc6e43;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 1024px) {
    .pagesection {
        .knowledge-box {
            width: 47%;
            margin: 1%;

            .box-detail {
                .date-progess {
                    .datesec {
                        display: flex;
                        margin-bottom: 20px;
                        flex-direction: column;
                        width: 50%;
                    }
                }
            }
        }
    }
    .knowledgebox {
        padding: 15px 10px !important;
        .left-flex {
            width: 100% !important;

            h3 {
                margin: 0;
                line-height: 20px;
                color: #958cdd;

                span {
                    color: #ed4b80;
                }
            }
        }
    }
}

@media (max-width: 767px) {
    .main-empty {
        .courner-img {
            height: calc(100vh - 340px);
            img {
                width: 100vw;
                object-fit: cover;
                display: none;
            }
        }
    }
    .pagesection {
        .knowledge-box {
            width: 100%;
            margin: 10px 0;
            max-width: 100%;

            .box-detail {
                padding: 10px !important;

                .totalvalue-sec {
                    .total-que {
                        p.val {
                            font-size: 24px;
                        }
                    }
                }

                .date-progess {
                    .progress {
                        .pervalue {
                            min-width: auto;
                        }
                    }
                }
            }
        }
    }

    .mindmap-modal {
        .midal-contain {
            .modal-body {
                padding: 10px;
                display: block;

                .points {
                    width: 100%;
                    padding: 0;

                    &::after {
                        display: none;
                    }
                }

                .points-png {
                    padding: 0;
                    width: 100%;
                }
            }
        }
    }
}

@media (max-width: 467px) {
    .pagesection {
        .knowledge-box {
            .box-detail {
                .date-progess {
                    margin-bottom: 10px;

                    .progress {
                        .prog {
                            .fillermain {
                                width: 93px;
                            }
                        }
                    }

                    .datesec {
                        p {
                            &.value {
                                font-size: 9px;

                                span {
                                    font-size: 12px;
                                    padding-top: 4px;
                                }
                            }
                        }
                    }
                }

                .totalvalue-sec {
                    .total-que {
                        padding-right: 10px;
                        margin-right: 10px;
                        border-right: 1px dashed #292e4c;
                    }
                }
            }
        }
    }

    .mindmap-modal {
        .midal-contain {
            width: 100%;
            transform: translate(-50%, -50%);
        }
    }
}

.reset-result {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #04082196;
    z-index: 111111111;

    .result-body {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 270px;
        padding: 15px 20px;
        border: 1px solid #353c7d;
        background: #1b1f48;
        border-radius: 10px;
        height: 200px;

        h4 {
            color: #998ce5;
            font-size: 16px;
            font-weight: 500;

            span {
                color: #d7779b;
            }
        }

        p {
            color: #6d69a8;
            font-size: 15px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .reset-btns {
            display: flex;
            align-items: center;
            justify-content: space-between;

            button {
                border: 1px solid #595590;
                padding: 10px 40px;
                border-radius: 30px;
                font-size: 14px;
                cursor: pointer;
                min-width: 100px;
                font-weight: 600;

                &:first-child {
                    background: none;
                    color: #595590;
                }

                &:last-child {
                    background: linear-gradient(94deg, rgba(238, 77, 126, 1) 0%, rgba(238, 131, 80, 1) 100%);
                    border-color: transparent;
                    color: #fff;
                }

                &:hover {
                    opacity: 0.8;
                }
            }
        }
    }
}

.noFounknow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9489d7;
}

.Dis-op {
    opacity: 0.6;
    cursor: not-allowed;
}

.main-empty {
    .empty-course {
        width: 100%;
        text-align: center;
        margin: 100px auto 0px;
        .empty-contain {
            img {
                width: 80px;
            }

            h3 {
                color: #fff;
                margin: 10px 0;
                font-size: 22px;
            }

            span {
                color: #b6b6be;
                display: block;
                font-size: 20px;
                max-width: 350px;
                text-align: center;
                margin: 10px auto;
                line-height: 1.2;

                a {
                    color: #a954f4;
                    display: inline;
                    text-decoration: underline;
                }
            }
        }
    }

    .courner-img {
        width: 100vw;
        background-image: url(../../../assets/emptypng.png);
        height: calc(100vh - 340px);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        img {
            width: 100vw;
            object-fit: cover;
            display: none;
        }
    }
}

.Completelabel {
    color: #c97ca0;
}

.markcrd {
    position: relative;

    .ribbon {
        position: absolute;
        left: -2px;
        top: -3px;
        height: 45px;
        width: 45px;
        overflow: hidden;
        display: block;

        .band {
            width: 71px;
            height: 12px;
            background: #d96c42;
            box-shadow: 0 0 11px 0 #d96c42;
            transform: rotate(-45deg);
            margin-left: -21px;
            margin-top: 16px;
        }
    }
}

// knowledge assessment
.margin {
    margin-bottom: 12px;
}

.knowledgebox {
    width: 100%;
    background-color: #1c214b;
    border: 2px solid transparent;
    padding: 15px 29px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    box-sizing: border-box;

    &:hover {
        border: 2px solid #d2469ced;
        box-shadow: 0 0 10px 2px #63215a;
    }

    .left-flex {
        width: 18%;

        h3 {
            margin: 0;
            line-height: 20px;
            color: #958cdd;

            span {
                color: #d7779b;
                font-weight: 500;
            }
        }
    }

    .left-flex2 {
        padding-right: 97px;
    }

    .center-flex1 {
        display: flex;
        align-items: center;

        .progress-boxed {
            display: flex;
            align-items: center;
            width: 37%;
            .circle-progress {
                width: 60px;
                height: 60px;

                circle {
                    r: 15.9;
                    cx: 20;
                    cy: 20;
                    fill: transparent;
                    stroke: #202954;
                    stroke-width: 2.5;
                    stroke-dashoffset: 25;
                    stroke-linecap: round;
                }

                circle:last-child {
                    stroke: #c9459f;
                    z-index: 1;
                }
            }

            .circle-text {
                h1 {
                    color: #c9459f;
                    line-height: 20px;
                    margin-top: 5px;
                    margin-bottom: 0;

                    span {
                        font-size: 14px;
                        margin: 0;
                    }
                }

                p {
                    color: #7576a4;
                    line-height: 20px;
                    margin: 0;
                }
            }

            h5 {
                margin-bottom: 3px;
                color: #ed4b80;
            }

            .inpro {
                color: #d96c42;
            }
            .progresive {
                background: linear-gradient(270deg, #968bdb 0%, #afa4f4 100%);
                mix-blend-mode: normal;
                opacity: 0.9;
                border-radius: 5px;
                height: 9px;
                display: flex;
                overflow: hidden;

                .progress-bar {
                    position: relative;
                    z-index: 1;
                }

                .progress-bar:before {
                    position: absolute;
                    left: 0;
                    top: 0;
                    bottom: 0;
                    right: 0;
                    content: "";
                    background: #e76b8a;
                    border-radius: 16px;
                }
            }

            h3 {
                margin-left: 5px;
                color: #ed4b80;
                font-size: 15px;
                position: relative;
                top: 20px;

                span {
                    font-size: 15px;
                }
            }

            .h3-clr {
                color: #d96c42;
            }
        }

        .due-box {
            border-left: 1px dotted #6d69a8;
            border-right: 1px dotted #6d69a8;
            padding: 0 20px;
            margin-left: 35px;
            width: 125px;

            p {
                margin: 0;
                display: flex;
                align-items: center;
                font-size: 13px;
                color: #7576a4;
                font-weight: 600;

                svg {
                    width: 13px;
                    margin: 0;
                    fill: #7576a4;
                    margin-right: 3px;
                }
            }

            .duein {
                color: #e283ad;
                font-size: 12px;
                margin: 0;
            }
        }

        .due-box2 {
            border-left: none;
        }
    }

    .center-flex2 {
        width: 28%;

        .total {
            display: flex;
            align-items: center;
            width: 100%;

            .total-sub {
                padding-right: 30px;

                h1 {
                    margin: 0;
                    color: #958cdd;
                    font-size: 30px;
                }

                p {
                    margin: 0;
                    color: #7576a4;
                }
            }
        }
    }

    .right-flex {
        width: 25%;
        display: flex;
        align-items: center;

        mat-icon {
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #7972b3;
            cursor: pointer;
        }

        button {
            width: 100%;
            background-image: linear-gradient(to right, #ed4b80, #d96c42);
            color: #fff;
            outline: none;
            border: none;
            border-radius: 40px;
            padding: 10px 0;
            cursor: pointer;
        }

        .sum-btn {
            width: 100%;
            background-color: transparent;
            border: 1px solid #7576a4;
            background-image: none;
            color: #958cdd;
            padding: 11px 0;
            cursor: pointer;
            min-width: 135px;
        }

        .relate_title {
            position: relative;
            border-radius: 100%;
            margin-left: 10px;

            .history-btn {
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 100%;
                background-color: transparent;
                border: 1px solid #7576a4;
                background-image: none;
                color: #958cdd;
                cursor: pointer;

                &:hover {
                    background-color: #2d316e;
                }

                .mat-color {
                    width: 16px;
                    height: 16px;
                }
                span {
                    display: none;
                }
            }

            .history-btn:hover svg {
                fill: #9b54e3 !important;
            }

            .view_title {
                border: 1px solid #796cdb;
                background-color: #2d316e;
                border-radius: 5px;
                text-align: center;
                width: 150px;
                display: none;
                position: absolute;
                left: -136%;
                bottom: 110%;
                box-shadow: 0 1px 12px -2px #9b54e3;
                h1 {
                    margin: 0 !important;
                    color: #988ee9;
                    font-size: 13px !important;
                    text-align: center !important;
                }
            }
        }

        .relate_title:hover .view_title {
            display: block;
        }

    }
}

.completeBorder {
    border-color: #7d41c0;
}

.overduedate {
    border-color: #dc6e43;
    background: #080d21;

    .center-flex1 {
        .progress-boxed {
            .progress-flex {
                h5 {
                    color: #dc6e43;
                }
            }

            h3 {
                color: #dc6e43;
            }

            .progresive {
                .progress-bar:before {
                    position: absolute;
                    left: 0;
                    top: 0;
                    bottom: 0;
                    right: 0;
                    content: "";
                    background: #dc6e43;
                    border-radius: 16px;
                }
            }
        }

        .due-box {
            .textcolor {
                color: #988fe0;
            }

            p {
                color: #dc6e43;

                svg {
                    fill: #de6d43;
                }
            }
        }
    }

    .progress-correct:before {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        content: "";
        background: #dc6e43;
        border-radius: 16px;
    }

    .Progress-Flex {
        color: #dc6e43;
    }

    .centerper {
        color: #dc6e43;
    }

    .mw-45 {
        .date-progess {
            .datesec {
                p {
                    &.value {
                        span {
                            svg {
                                fill: #dc6e43;
                            }
                        }

                        .color-days {
                            color: #dc6e43;
                        }
                    }
                }
            }

            .progress {
                .prog {
                    p {
                        &.lable {
                            color: #de6d43;
                        }
                    }

                    .fillermain {
                        .fill {
                            background: #de6d43;
                        }
                    }
                }

                .pervalue {
                    background: #312028;
                    color: #e06d41;
                }
            }
        }
    }
}

.knowledgebox1 {
    padding: 25px 16px;
}

.knowledgebox4 {
    padding: 25px 16px;
}

@media screen and(min-width:0) and (max-width: 1320px) {
    .knowledgebox {
        .center-flex1 {
            margin-top: 20px !important;
        }

        .center-flex2 {
            margin-top: 20px !important;
        }

        .right-flex {
            margin-top: 20px !important;
        }
    }
}

.opacityClass {
    opacity: 0;
}

.hiddenClass {
    display: none;
}

.mindmap-modal {
    .midal-contain {
        box-shadow: 2px 2px 300px #19113d;

        .modal-header {
            border-bottom: 0 !important;

            .main-head2 {
                display: flex;
                align-items: center;
                padding-top: 10px;

                mat-icon {
                    color: #998ce5;
                    font-size: 20px;
                    margin-top: 2px;
                }

                h3 {
                    color: #998ce5;
                    font-size: 22px;
                    margin: 0;
                    padding-left: 2px;

                    h3 {
                        color: #c06c91;
                        margin: 0;
                    }
                }

                mat-icon {
                    font-size: 20px;
                }
            }
        }

        .modal-body {
            padding: 0 10px 30px 10px !important;

            tbody {
                display: block;
                height: calc(100vh - 347px);
                overflow: auto;
                scrollbar-width: thin;
                scrollbar-color: #645c95db #00041a;
            }

            thead,
            tbody tr {
                display: table;
                width: 100%;
                table-layout: fixed;
                /* even columns width , fix width of table too*/
            }

            table {
                width: 100%;
                border-spacing: 0 5px !important;

                thead {
                    tr {
                        background-color: #2b2b5d;

                        td {
                            border-top: 1px solid #292e5e;
                            border-bottom: 1px solid #292e5e;
                            padding: 5px 0;

                            &:first-child {
                                border-left: 1px solid #292e5e;
                                border-top-left-radius: 5px;
                                border-bottom-left-radius: 5px;
                                padding-left: 20px;
                                width: 60%;
                            }

                            &:last-child {
                                border-right: 1px solid #292e5e;
                                border-top-right-radius: 5px;
                                border-bottom-right-radius: 5px;
                                padding-right: 10px;
                            }

                            h3 {
                                margin: 0;
                                font-size: 15px;
                                color: #7e79b6;
                            }
                        }
                    }
                }

                tbody {
                    tr {
                        td {
                            border-top: 1px solid #292e5e;
                            border-bottom: 1px solid #292e5e;
                            padding: 5px 0;

                            &:first-child {
                                border-left: 1px solid #292e5e;
                                border-top-left-radius: 5px;
                                border-bottom-left-radius: 5px;
                                padding-left: 20px;
                                width: 60%;
                            }

                            &:last-child {
                                border-right: 1px solid #292e5e;
                                border-top-right-radius: 5px;
                                border-bottom-right-radius: 5px;
                                padding-right: 10px;
                            }

                            h3 {
                                margin: 0;
                                color: #7e79b6;
                                font-size: 14px;

                                a {
                                    color: #7e79b6;
                                    text-decoration: underline;
                                    margin: 0;
                                    display: inline-block;
                                    cursor: pointer;
                                }
                            }

                            h2 {
                                margin: 0;
                                color: #b44995;
                                font-size: 16px;

                                span {
                                    margin: 0;
                                    color: #b44995;
                                    font-size: 13px;
                                }
                            }

                            p {
                                margin: 0;
                                color: #7e79b6;
                                text-align: center;
                                padding: 5px 0;
                            }
                        }
                    }
                }
            }
        }
    }
}

.mindmap-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #00000057;
    z-index: 1111;

    .midal-contain {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-47%, -50%);
        margin: auto;
        background: #0f1535;
        border: 1px solid #1e2352;
        border-radius: 5px;
        max-width: 80%;
        width: 60%;

        .modal-header {
            position: relative;
            border-bottom: 1px solid #1e2352;
            padding: 15px 30px;

            span,
            h3 {
                display: inline;
                color: #766daa;
                margin: 0;
            }

            h3 {
                font-size: 18px;
            }

            span {
                position: absolute;
                right: 10px;
                top: 10px;
                cursor: pointer;
            }
        }

        .modal-body {
            padding: 30px;
            display: flex;
            align-items: center;

            .points,
            .points-png {
                width: 50%;
            }

            .points {
                padding-right: 35px;
                position: relative;

                &::after {
                    content: "";
                    position: absolute;
                    width: 2px;
                    height: 140px;
                    background: #ffffff78;
                    right: 0;
                    top: 0;
                }
            }

            .points-png {
                padding-left: 35px;

                img {
                    width: 100%;
                }
            }

            ul {
                padding: 0;
                list-style: none;
                margin: 0;

                li {
                    color: #eae7ff;
                    letter-spacing: 0.5px;
                    font-size: 15px;
                    padding: 5px 0;
                }
            }

            .container {
                display: block;
                position: relative;
                padding-left: 24px;
                margin-bottom: 12px;
                cursor: pointer;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
                color: #b7b7c0;
                line-height: 1.5;
                letter-spacing: 0.5px;
                font-size: 15px;
            }

            /* 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: 6px;
                left: 0;
                height: 19px;
                width: 19px;
                border-radius: 100%;
                background: #2c2d54;
            }

            /* When the checkbox is checked, add a blue background */
            .container input:checked ~ .checkmark {
                background: #2c2d54;
                border-radius: 100%;
            }

            /* 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: 7px;
                top: 3px;
                width: 3px;
                height: 8px;
                border: solid #7e73bc;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }
        }

        .modal-footer {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            flex-wrap: wrap;
            border-top: 1px solid #1e2352;
            padding: 15px 30px;

            button {
                padding: 10px 10px;
                border-radius: 20px;
                border: 0;
                box-shadow: none;
                color: #fff;
                background: linear-gradient(to right, #ed4b80, #ed8452);
                cursor: pointer;
                min-width: 130px;
                margin-left: 10px;
                transition: all 0.4s;
                font-size: 15px;

                &:hover {
                    transform: scale(0.9);
                }
            }
        }

        .main-container {
            min-height: auto;
        }
    }
}

// KNOWLEDGE BOX RESULT STRAT
.konw_assest {
    border-radius: 10px;
    background-image: linear-gradient(to top right, #c4498e, #322e8f, #c2705e);
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;

    .center_set {
        .svg_icon {
            display: flex;
            align-items: center;

            svg {
                width: 30px;
            }

            h1 {
                color: #fff;
                font-size: 30px;
                margin: 0 0 0 20px;
            }
        }

        h4 {
            margin: 30px 0 15px 0;
            color: #ff71c5;
        }

        .know_brdr {
            display: flex;
            align-items: center;

            .know1 {
                border: 1px solid #817cdb;
                border-radius: 8px;
                width: 310px;
                height: 170px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                margin-right: 20px;

                h1 {
                    color: #ff71c5;
                    font-size: 75px;
                    margin: 20px 0 0 0;
                }

                h3 {
                    color: #cac4f8;
                    font-size: 17px;
                    margin: 20px 0 0 0;
                }
            }
        }

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

            button {
                background-image: linear-gradient(to right, #f13e74, #ee8351);
                border: none;
                outline: none;
                color: #fff;
                padding: 10px 35px 8px 35px;
                border-radius: 30px;
                font-size: 17px;
                display: flex;
                justify-content: center;
                cursor: pointer;
                font-family: "mulish-light";
                margin-top: 35px;

                .loc_opn {
                    width: 24px;
                    font-size: 20px;
                    padding-right: 5px;
                }
            }
        }
    }
}

// KNOWLEDGE BOX RESULT END

@media only screen and (max-width: 500px) {
    .mindmap-modal {
        .midal-contain {
            max-width: 91% !important;
            width: 91% !important;
            transform: translate(-50%, -50%) !important;
            .modal-header {
                position: relative;
                border-bottom: 1px solid #1e2352;
                padding: 15px 15px;
                .main-head2 {
                    align-items: flex-start !important;
                    h3 {
                        font-size: 16px !important;
                    }
                }
            }
            .modal-body {
                thead,
                tbody tr {
                    display: table;
                    width: 100%;
                    table-layout: fixed;
                    /* even columns width , fix width of table too*/
                }

                table {
                    width: 100%;
                    border-spacing: 0 5px !important;

                    thead {
                        tr {
                            td {
                                h3 {
                                    font-size: 11px;
                                }
                            }
                        }
                    }

                    tbody {
                        tr {
                            td {
                                h3 {
                                    font-size: 11px;
                                }

                                h2 {
                                    font-size: 14px;

                                    span {
                                        font-size: 11px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .knowledgebox {
        align-items: inherit;
        flex-direction: column;
        .center-flex1 {
            .progress-boxed {
                width: 125px;
                border-right: 1px dotted #6d69a8;
                justify-content: center;
            }
            .due-box {
                border: none !important;
                margin-left: 0;
            }
        }

        .center-flex2 {
            width: 100%;
            .total {
                .total-sub {
                    padding-right: 15px !important;
                    padding-left: 15px;
                    &:nth-child(2) {
                        border-left: 1px dotted #6d69a8;
                        border-right: 1px dotted #6d69a8;
                    }
                }
            }
        }
        .left-flex {
            width: 100%;
        }
        .right-flex {
            width: 100%;
            flex-direction: column;
            .relate_title {
                margin-left: 0 !important;
                width: 100%;
                .history-btn {
                    margin-top: 10px;
                    width: 100% !important;
                    border-radius: 50px !important;
                    span {
                        display: flex !important;
                        padding: 0px 10px;
                    }
                }
            }
        }
    }
    td:first-child {
        width: 48%;
    }
    .title-ka {
        display: block;
        margin: 10px 15px;
        color: #958cdd;
        font-weight: 600;
    }
    .opacityClass {
        opacity: 0;
        display: none !important;
    }
}
@media only screen and (min-width: 500px) and (max-width: 768px) {
    .title-ka {
        display: block;
        margin: 10px 15px;
        color: #958cdd;
        font-weight: 600;
    }
    .knowledgebox {
        align-items: inherit;
        .center-flex2 {
            width: 50%;
            margin-top: 35px !important;
        }
    }
    .left-flex {
        width: 100% !important;
    }
    .right-flex {
        width: 50% !important;
    }
    .midal-contain {
        max-width: 91% !important;
        width: 91% !important;
    }
    td:first-child {
        width: 48%;
    }
    .modal-header {
        position: relative;
        border-bottom: 1px solid #1e2352;
        padding: 15px 15px;
    }
    .opacityClass {
        opacity: 0;
        display: none !important;
    }
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .knowledgebox {
        .center-flex2 {
            width: 50% !important;
        }
        .right-flex {
            width: 50% !important;
        }
    }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .knowledgebox {
        .center-flex1 {
            .due-box {
                padding: 0 10px;
                margin-left: 10px;
            }
        }
        .center-flex2 {
            width: 30%;
            .total {
                .total-sub {
                    padding-right: 9px;
                }
            }
        }
        .right-flex {
            width: 36%;
        }
    }
}
