* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --btn-background: #CDCDCD;
    --btn-cancel: #F5F5F5;
    --text1: #7D7D7D;
    --blue: #8854C0;
    --card: #FDFEFE;
    --border: #E8E8E8;
    --icon: #05c46b;
    --card1: #CFC7C7;
}

#room-leftSide {
    width: 60%;
    margin-bottom: 30px;
}

#room-rightSide {
    width: 30%;
}

#room-all-side {
    margin-top: 3%;
}

#text-editor {
    margin-top: 5%;
    border-radius: 5px;
    width: 98%;
    background-color: var(--card);
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    padding: 10px 0px;
}

#text-editor-cancel {
    padding: 3px 20px;
    font-size: 14px;
    background-color: var(--btn-cancel);
    color: #3b3b3b;
    border: none;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
}

#add-room-post-quiz li p {
    cursor: pointer;
}

#add-room-post-quiz li p:active {
    background-color: var(--blue);
}

#text-editor-cancel:focus {
    box-shadow: none;
}

#room-post-description h5 {
    font-size: 18px;
}

#text-editor-post {
    padding: 3px 20px;
    font-size: 14px;
    background-color: var(--blue);
    border: none;
    color: white;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
}

#text-editor-post:focus {
    box-shadow: none;
}

#room-cover {
    width: 100%;
    height: 120px;
    background-size: cover;
    border-radius: 5px;
    pointer-events: none;
}

#room-add-btn {
    padding: 2px 20px 2px 2px;
    background-color: rgba(136, 84, 192, 0.5);
    border: none;
    border-radius: 45px;
    display: flex;
    justify-content: space-between;
}

#room-sort-btn {
    padding: 2px 20px 2px 2px;
    background-color: rgba(136, 84, 192, 0.5);
    border: none;
    border-radius: 45px;
    display: flex;
    justify-content: space-between;
}

#room-add-btn:focus {
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
}

#room-add ul {
    background-color: #F8F9F9;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
}

#room-add ul li {
    font-size: 15px;
    padding: 0;
}

#select {
    width: 50%;
}

#select select {
    margin-left: 5%;
    cursor: pointer;
    width: 60%;
}

#select select:focus {
    box-shadow: none;
}

#select label {
    font-size: 13px;
    width: 40%;
}

#about-course {
    background-color: var(--card);
    border: 0.5px solid var(--border);
    padding: 17px 10px;
    border-radius: 5px;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
}

#room-about-header i {
    font-size: 1.1rem;
    color: var(--icon);
}

#room-about-header h6 {
    font-size: 0.95rem;
    font-weight: 600;
}

#course-details {
    margin-top: 5%;
}

#copy-to-clip {
    cursor: pointer;
    font-size: 1rem;
    color: var(--icon);
}

#course-details p {
    font-size: 13px;
}

.about-mini-title {
    font-size: 13px;
    font-weight: 600;
}

#course-description {
    margin-top: 5%;
}

#course-description p {
    font-size: 13px;
}

#course-progress {
    background-color: var(--card);
    border: 0.5px solid var(--border);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
    padding: 10px 5px;
    margin-top: 7%;
    border-radius: 5px;
}

#course-progress i:first-child {
    color: #ffa801;
}

#course-progress i:last-child {
    position: absolute;
    right: 5%;
    top: 15%;
    cursor: pointer;
    color: #ffa801;
}

#course-progress .arrow-right-room {
    position: absolute;
    right: 5%;
    top: 15%;
    cursor: pointer;
}

#course-tasks {
    background-color: var(--card);
    border: 0.5px solid var(--border);
    border-radius: 5px;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
    margin-top: 7%;
    padding: 20px 15px;
}

#tasks-header i {
    color: #3c40c6;
}

#tasks-header h6 {
    font-size: 1rem;
    font-weight: 600;
}

#task-edit i {
    cursor: pointer;
}

#all-tasks {
    margin-top: 6%;
}

#all-tasks .check {
    cursor: pointer;
    font-size: 14px;
}

#all-tasks .check i {
    color: red;
}

#completed-tasks {
    background-color: var(--card);
    border: 0.5px solid var(--border);
    border-radius: 5px;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
    margin-top: 7%;
    padding: 20px 15px;
    margin-bottom: 50px;
}

#completed-tasks .title-check {
    color: #44bd32;
}

#all-completed-tasks i {
    color: #05c46b;
}

#completed-tasks-header h6 {
    font-size: 0.95rem;
    font-weight: 600;
}

#all-completed-tasks .check {
    font-size: 14px;
}

#room-post-cards {
    margin-top: 7%;
}

#room-post-cards:last-child {
    margin-bottom: 5%;
}

#text-editor-post-title {
    margin-left: 2%;
}

#text-editor-post-title label {
    font-size: 13px;
}

#text-editor-post-title input {
    width: 95%;
    font-size: 13px;
}

#text-editor-post-title input:focus {
    box-shadow: none;
    border: 1px solid var(--blue);
}

#text-editor-post-description {
    font-size: 13px;
}

#room-post-single-card {
    background-color: var(--card);
    border: 0.5px solid var(--card1);
    padding: 20px 1rem;
    border-radius: 5px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    position: relative;
}

#room-post-single-card .delete-menu {
    position: absolute;
    right: 4%;
    top: 17%;
    padding: 7px 30px;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.4s ease;
}

#room-post-single-card .delete-menu:hover {
    background-color: #ff5252;
    color: white;
}

#room-post-single-card .delete-menu:active {
    transform: scale(0.9);
}

#room-post-single-card .delete-menu-show {
    display: block;
}

#room-post-single-card .delete-menu-hidden {
    display: none;
}

#room-user-info p:first-child {
    font-size: 14px;
    font-weight: 500;
}

#room-post-single-card .delete-option {
    cursor: pointer;
}

#room-user-info p:last-child {
    font-size: 12px;
    color: var(--text1);
}

#room-post-description {
    margin-top: 4%;
}

#room-post-description p {
    font-size: 15px;
    font-weight: 400;
}

#room-see-more {
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    margin-top: 2% !important;
}

#trash-icon {
    color: red !important;
    cursor: pointer;
}

#text-editor-body .filelabel .img-icon {
    font-size: 35px;
    cursor: pointer;
    color: var(--blue);
}


#room-post-cards .home-post-card {
    width: 80%;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.4rem;
    position: relative;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    border: 1px solid #d0b3eedd;
    /* margin-left: 5% !important; */
}

#room-post-cards .home-post-card .del-icon {
    cursor: pointer;
}

#room-post-cards .home-post-card .post-image {
    height: 300px;
    width: 100%;
    margin: auto;
    display: block;
}

#room-post-cards .home-post-card .card-upper .post-avatar {
    width: 30px;
    height: 30px;
    outline: 2px solid var(--blue);
    border-radius: 50%;
}

#room-post-cards .home-post-card .card-content {
    font-size: 14px;
}

#room-post-cards .home-post-card .all-comments .single-comment img {
    height: 28px;
    width: 28px;
    outline: 2px solid var(--blue);
    border-radius: 50%;
}

#room-post-cards .home-post-card .all-comments {
    width: 90%;
}

#room-post-cards .home-post-card .all-comments .single-comment {
    border-radius: 5px;
}

#room-post-cards .home-post-card .all-comments .content-comment .user-name-comment {
    font-weight: 500;
    font-size: 14px;
}

#room-post-cards .home-post-card .all-comments .content-comment .user-comment {
    font-size: 13px;
}

/* #room-post-cards .home-post-card .line-post{
    width: 100%;
    background-color: #e5e7eb;
    height: 1px;
    margin-top: 20px !important;
} */
#room-post-cards .home-post-card .comment-section {
    padding: 0px 20px 0px 20px;
    width: 95%;
    margin-left: 0;
}

#room-post-cards .home-post-card .comment-section input {
    border-radius: 20px;
    border: 1.58px solid var(--blue);
    font-size: 14px;
}

#room-post-cards .home-post-card .comment-section input:focus {
    box-shadow: none;
}

#room-post-cards .home-post-card .comment-section .post-button {
    position: absolute;
    right: 4%;
    top: 7%;
    font-size: 13px;
    background-color: var(--blue);
    border-radius: 20px;
    color: white;
    padding: 5px 20px;
}


@media only screen and (max-width: 992px) {
    #room-all-side {
        display: flex;
        flex-direction: column;
    }

    #room-leftSide {
        width: 90%;
    }

    #room-rightSide {
        width: 80%;
        margin-top: 5%;
    }

    #course-progress {
        margin-top: 3%;
    }

    #course-tasks {
        margin-top: 3%;
    }

    #completed-tasks {
        margin-top: 3%;
        margin-bottom: 8%;
    }
}

@media only screen and (max-width: 769px) {
    #room-all-side {
        display: flex;
        flex-direction: column;
    }

    #room-leftSide {
        width: 100%;
    }

    #room-rightSide {
        width: 100%;
        margin-top: 5%;
    }
}

@media only screen and (max-width: 769px) {
    #full-room {
        width: 100%;
        padding: 0 !important;
    }

    #select {
        width: 100%;
    }
}