* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.container {
    min-height: 100vh;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
}

.section-area {
    width: fit-content;
    margin-top: 150px;
    /* display: flex; */
    /* align-items: flex-start; */
}

.thread-cm{

    width: 1200px;
    margin: 0 auto;
}

.thread {
    color: #000000ad;
    width: 710px;
    flex: none;
    padding: 20px 0;
}

.thread-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.userinfo {
    display: flex;
    align-items: flex-start;
}

.image-section {
    width: 40px;
    flex: none;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-text {
    margin-left: 15px;
}

.info-text a {
    font-size: 13px;
    color: #000;
    margin-bottom: 2px;
    font-weight: 600;
    text-decoration: none;
}

.info-text p {
    font-size: 11px;
    font-weight: 600;
}

.comment-form-heading {
    margin-bottom: 10px;
}

.timestamp span {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
}

.timestamp span img {
    width: 12px;
    margin-right: 12px;
}

#thread-description-p {
    font-size: 13px;
    margin: 8px 0 20px;
    color: #00000099;
    line-height: 1.7;
    font-weight: 600;
}

.thread-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.thread-information button, .comment-text button {
    border: 0;
    outline: 0;
    color: #000000ad;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thread-information button i, .comment-text button i {
    font-size: 15px;
    opacity: 60%;
    margin-right: 8px;
}

.thread-information {
    display: flex;
    align-items: center;
}

.thread-information button:first-child {
    margin-right: 20px;
}

.discussion-parent {
    display: flex;
    color: #00000099;
    margin: 20px 0 15px;
    align-items: center;
    /* justify-content: flex-end; */
}

.thread-information button i {

    font-size: 16px;
    margin-right: 10px;
}

.discussion-parent h3 {
    font-size: 14px;
    color: #000;
    font-weight: 600;
}

.discussion-parent p {
    font-size: 12px;
    font-weight: 600;
    margin-left: 20px;
    /* display: none; */
}

.disccusion-list {
    display: flex;
    margin-left: 20px;
    align-items: center;
}

.disccusion-list .miniimage:first-child {
    margin: 0;
}

.miniimage {
    margin-left: -10px;
    border-radius: 50%;
    overflow: hidden;
    flex: none;
    width: 30px;
    padding: 2px;
    background-color: #fff;
    height: 30px;
}

.miniimage img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.commentsform {
    width: 100%;
    height: 145px;
    border-radius: 15px;
    border: 2px dashed #00000054;
}

.form-header {
    display: flex;
    align-items: center;
    padding: 10px 0px 10px 2px;
    border-bottom: 1px solid #00000054;
}


.form-header span {
    display: flex;
    padding: 2px 12px;
    border-right: 2px solid #00000054;
}

.form-header span img {
    width: 13px;
    opacity: 60%;
}

.form-header span:last-child {
    border: 0;
}

.w-100{

    height: 100%;
    width: 100% !important;
}

.w-100 textarea{

    height: 100%;
}

.border-dashed{

    border: 2px dashed #00000054 !important;
}

.section-area-post-thread{

    /* margin: 0px 0 0 0  !important; */
    justify-content: center;
}

.input-area textarea {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    background-color: transparent;
    color: #00000099;
    resize: none;
    padding: 12px 12px 0;
}


/* ------------left panel stared here  */
.right-panel {
    /* margin-left: 50px; */
    /* width: 400px; */
    /* height: 80vh; */
    width: 1200px;
    margin: 0 auto;
    padding: 15px 0px 20px 30px;
    /* box-shadow: 1px 2px 10px #00000017; */
    overflow: scroll;
    flex: none;
    /* border-left: 1px solid #00000054; */
    color: #00000099;
}

.right-panel::-webkit-scrollbar {
    display: none;
}

.comments-headings {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: space-between;
}

.comments-headings h3 {
    color: #000;
    font-size: 12px;
    font-weight: 600;
}

.comments-headings span {
    font-size: 10px;
    font-weight: 600;
}

/* .comments-container {
    display: none;
} */

.comments {
    padding: 15px 0;
    border-bottom: 1px solid #00000054;
}

.comments-container .comments:first-child {
    padding-top: 0;
}

.comments-image {
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 50%;
    flex: none;
}

.comments-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.commentsuserinfo {
    margin-left: 15px;
    flex: 1;
}

.timestamp-username {
    display: flex;
    margin-bottom: 3px;
    align-items: center;
    justify-content: space-between;
}

.timestamp-username a {
    color: #000;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.thread-title {

    display: block;
    color: #000000e0 !important;
    font-weight: 700;
    text-decoration: none;
    /* border-bottom: 1px solid #00000099; */
    font-size: 15px !important;
    display: inline-block !important;
    margin: 15px 0 0 0;
}

.timestamp-username span {
    font-size: 10px;
    font-weight: 600;
}

.timestamp span i {
    font-size: 16px;
    margin-right: 10px;
}

.comment-text p {
    line-height: 1.6;
    font-size: 11px;
    font-weight: 600;
}

.commentinformation {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.information-comment {
    align-items: center;
    display: flex;
}

.information-comment button:nth-child(2) {
    margin-left: 15px;
}

/* ----------------reply form */
.commentsreplyform {
    margin-top: 10px;
    padding: 0 8px;
    border-radius: 5px;
    display: flex;
    border: 1px solid #00000054;
    align-items: center;
    display: none;
}

.commentsreplyform input {
    border: 0;
    padding: 8px 0;
    outline: 0;
    font-size: 11px;
    font-weight: 600;
    color: #00000099;
    flex: 1;
}

.commentsreplyform button i {
    margin: 0;
}

/* --------replly area */
.replies-container {
    /* display: none; */
}

.reply {
    margin-bottom: 15px;
}

.replyinformation button {
    margin: 0;
}

.replies-container .reply:last-child {
    margin-bottom: 0px;
}

.replies-container .reply:first-child {
    margin-top: 20px;
}

/* ------------creating error for no comments found */
.error-noresults {
    width: 100%;
    padding: 110px 0;
    text-transform: capitalize;
    text-align: center;
    /* display: none; */
}

.error-noresults h3 {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 700;
}

.error-noresults p {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.error-noresults img {
    width: 140px;
}


/* extra stuff  */
.btn-parent {
    margin-bottom: 20px;
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

#btn-submit-comment {
    border: 0;
    outline: 0;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 12px;
    background-color: #000;
    color: #fff;
}

#btn-submit-comment i {
    margin-right: 10px;
}

/* responsive css design */
@media only screen and (max-width:1600px) {
    .thread {
        width: 650px;
    }
}

@media only screen and (max-width:1440px) {
    .thread {
        width: 600px;
    }
}

@media only screen and (max-width:1220px) {
    .thread {
        width: 550px;
    }

    .thread-cm{
        width: 90%;
    }

    .right-panel {
        width: 90%;
    }

}

@media only screen and (max-width:1020px) {
    .thread {
        width: 450px;
    }

}

@media only screen and (max-width:920px) {
    .section-area {
        display: flex;
        flex-direction: column;
        margin-top: 200px;
    }

    .thread {
        width: 600px;
    }
}

@media only screen and (max-width:720px) {
    .section-area {
        margin-top: 180px;
    }

    .thread {
        width: 500px;
    }
}

@media only screen and (max-width:620px) {
    .thread {
        width: 450px;
    }

}

@media only screen and (max-width:520px) {
    .thread {
        width: 400px;
    }
    .section-area{
        margin-top: 230px !important;
    }
}

@media only screen and (max-width:440px) {
    .thread {
        width: 100%;
        padding-bottom: 0;
    }

    /* thread adjustment */
    .image-section {
        width: 30px;
        height: 30px;
    }

    .thread-description p {
        font-size: 12px;
        margin: 14px 0 14px;
    }
    .section-area{
        margin-top: 250px !important;
    }
}

/* ended here  */