.comment-main-card {
    background-color: white;
    width: 53%;
    height: fit-content;
    margin-left: 20%;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 2%;
    padding-left: 5%;
    border-radius: 20px;
    margin-bottom: 40px;
    -webkit-box-shadow: 0px 10px 45px 0px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0px 10px 45px 0px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 10px 45px 0px rgba(0, 0, 0, 0.06);
}

.comment-main-card .comment-top-container {
    font-family: "Tajawal", sans-serif;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 40px;
}

.comment-main-card .comment-top-container .left svg {
    display: none;
    /* REMOVE THIS LINE TO SHOW THE HIDE BUTTON  */
    color: rgb(114, 114, 114);
    background-color: #eff1f2;
    border-radius: 100%;
    padding: 7.5px;
    cursor: pointer;
    transition: 0.2s;
}

.comment-main-card .comment-top-container .left svg:hover {
    background-color: #dfdfdf;
}

.comment-main-card .comment-top-container .right {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.comment-main-card .comment-top-container .right .subject{
    color: #727272;
    background-color: #eff1f2;
    height: 18px;
    padding: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    line-height: 24px;
    border-radius: 6px;
}

.comment-main-card .comment-top-container .right .comment-grade{
    height: 18px;
    padding: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    line-height: 24px;
    border-radius: 6px;
    margin-right: 10px;
    color: white;
}
.comment-main-card .comment-mid-container {
    width: 100%;
    height: fit-content;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    color: #727272;
    font-family: "Tajawal", sans-serif;
}

.comment-main-card .comment-mid-container .right {
    width: 9%;
    display: flex;
    display: block;
    /* REMOVE THIS LINE TO SHOW THE VOTE SYSTEM */
    flex-direction: column;
    height: 100%;
    /* background-color: rgba(126, 252, 0, 0.507); */
}

.comment-main-card .comment-mid-container .right .vote-up {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    color: #727272;
    cursor: pointer;
    /* background-color: rgba(255, 105, 180, 0.452); */
    border: none;
    background-color: transparent;
}

.comment-main-card .comment-mid-container .right .vote {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    line-height: 16px;
    vertical-align: middle;
    font-size: 16px;
    color: #afafaf;
    height: 20px;
    /* background-color: rgba(105, 188, 255, 0.555); */
}

.comment-main-card .comment-mid-container .right svg {
    transition: 0.2s;
}

.comment-main-card .comment-mid-container .right .active {
    color: #98e8e2 !important;
}



.comment-main-card .comment-mid-container .right svg:hover {
    color: #98e8e2;
}

.comment-main-card .comment-mid-container .right .vote p {
    margin: 0px;
    margin-top: 5px;
    text-align: center;
}

.comment-main-card .comment-mid-container .right .vote-down {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    color: #727272;
    cursor: pointer;
    /* background-color: rgba(135, 255, 105, 0.555); */
    border: none;
    background-color: transparent;
}

.comment-main-card .comment-mid-container .left {
    width: 91%;
    /* background-color: rgba(255, 0, 0, 0.295); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comment-main-card .comment-mid-container .left .top {
    /* padding-top: 7px; */
    /* min-height: 68px; */
    direction: rtl;
    font-size: 16px;
    /* line-height: 25px; */
    word-wrap: break-word;
}

.comment-main-card .comment-mid-container .left .bottom {
    margin-top: 15px;
    direction: rtl;
    color: #afafaf;
    margin-bottom: 3px;
    font-size: 16px;
    border-top: 0.1px solid rgb(194, 194, 194);
    padding-top: 20px;
}

.comment-main-card .comment-bottom-container {
    width: 91%;
    height: 60px;
    margin-right: 9%;
    display: flex;
    /* display: none; */
    flex-direction: row;
    margin-top: 30px;
}

.comment-main-card .comment-bottom-container .comment-date {
    width: 30%;
    height: 100%;
    font-family: "Tajawal", sans-serif;
    color: #afafaf;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comment-main-card .comment-bottom-container .rate-container {
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.comment-main-card .comment-bottom-container .rate-container .progress-bar {
    width: 24%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.comment-main-card .comment-bottom-container .rate-container .progress-bar progress {
    -webkit-appearance: none;
    width: 100%;
    height: 17px;
    border-radius: 15px;
    direction: rtl;
}

/* .comment-main-card
  .comment-bottom-container
  .rate-container
  .progress-bar
  progress:before {
    content: attr(data-label);
    position: absolute;
    vertical-align: center;
    text-align: center;

  } */

.comment-main-card .comment-bottom-container .rate-container .progress-bar span {
    position: absolute;
    font-family: "Tajawal", sans-serif;
    color: #727272;
    font-size: 13px;
    text-align: center;
    left: 0;
    right: 0;
    margin-top: 4px;
}

.comment-main-card .comment-bottom-container .rate-container .progress-bar progress::-webkit-progress-bar {
    background: #eff1f2;
    border-radius: 5px;
}

.comment-main-card .comment-bottom-container .rate-container .progress-bar progress::-moz-progress-bar{
    background: #eff1f2;
    border-radius: 5px;
}

.comment-main-card .comment-bottom-container .rate-container .progress-bar progress::-webkit-progress-value {
    border-radius: 5px;
}

.comment-main-card .comment-bottom-container .rate-container .progress-bar progress::-moz-progress-value{
    border-radius: 5px;
}



.nocomment {
    color: #afafaf !important;
}

.nosubject {
    min-width: 40px !important;
    color: #d4d4d4 !important;
}

.no_comments {
    position: relative;
    width: 55%;
    height: 300px;
    margin-left: 20%;
    font-family: "Tajawal", sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #afafaf;
    font-size: 30px;
}

.comment_with_tags {
    padding: 40px 0px;
    direction: rtl;
    font-size: 16px;
    overflow-wrap: break-word;
}

@media (max-width: 1400px) {
    .comment-main-card {
        width: 83%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .no_comments {
        width: 83%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .comment-main-card .comment-bottom-container .rate-container .progress-bar progress {
        -webkit-appearance: none;
        height: 20px;
    }


    .comment-main-card .comment-bottom-container .rate-container .progress-bar span {
        font-size: 12px;
        margin-top: 1.5px;
    }

    .comment-main-card .comment-bottom-container {

        flex-direction: column-reverse;
    }

    .comment-main-card .comment-bottom-container .comment-date {
        width: 100%;
        font-size: 14px;
        margin-top: 8px;
        text-align: left;
    }

    .comment-main-card .comment-bottom-container .rate-container {
        width: 100%;

    }

    .comment-main-card .comment-mid-container .left .bottom {
        font-size: 14px;
        margin-bottom: 8px;
    }


}
