.level1 {
    margin-left: 30px
}

.level2 {
    margin-left: 60px
}

.level3 {
    margin-left: 90px
}

.level4 {
    margin-left: 120px
}

.level5 {
    margin-left: 150px
}

.level6 {
    margin-left: 180px
}

.comments-wrap {
    padding-top: 15px;
}

#comments {
    margin: 20px 0
}

#comments ul, #comments ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 16px;
}

.comment.unpublished {
    background: rgb(255 255 0 / 10%);
}

.comment.deleted {
    background: rgb(255 0 0 / 10%);
}

.comment-wrap {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.comment.active .comment-wrap {
    border: 1px solid #9013fe;
}

/*Head*/

.comment__header {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-bottom: 1px solid #ccc
}

.comment__label {
    margin-right: 8px;
    fill: #00a046
}

@media (min-width: 768px) {
    .comment__label {
        margin-right: 16px
    }
}

.comment__author {
    display: flex;
    flex-direction: column;
    flex: 1;
    font-size: 16px;
    font-weight: 700
}

@media (min-width: 1024px) {
    .comment__author {
        flex-direction: row;
        align-items: center
    }
}

.comment__date {
    font-size: 12px;
    font-weight: 400;
    color: #a6a5a5
}

@media (min-width: 1024px) {
    .comment__date {
        margin-left: auto
    }
}

.comment__actions {
    position: absolute;
    right: 8px;
    top: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

@media (min-width: 1024px) {
    .comment__actions {
        position: static
    }
}

.comment__action {
    margin-left: 16px
}

.comment__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    text-decoration: none;
}

@media (min-width: 1024px) {
    .comment__link {
        width: auto;
        height: auto
    }
}

.comment__link i {
    width: 16px;
    height: 16px;
    fill: #3e77aa
}

@media (hover: hover) {
    .comment__link:hover i {
        fill: #ff7878
    }
}

.comment__link:active i {
    fill: #ff7878
}


.comment__body {
    padding-left: 16px;
    padding-right: 16px;
    word-break: break-word;
}

.comment__text {
    margin-bottom: 16px;
    font-size: 14px;
}


/*@media (min-width: 768px) {*/
/*    .comment__photos-body {*/
/*        flex-grow: 1;*/
/*        display: flex;*/
/*        align-items: center;*/
/*        column-gap: 8px;*/
/*    }*/
/*}*/

.comment__photos-body {
    /*padding: 16px;*/
    position: relative;
    margin: 16px;
    overflow-x: auto;
    height: 100px;
}


/*@media (min-width: 768px) {*/
/*    .comment__photos-list {*/
/*        display: flex;*/
/*        height: 100px;*/
/*        flex-grow: 1;*/
/*        margin-right: 0;*/
/*        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));*/
/*        grid-column-gap: 8px;*/
/*        column-gap: 8px;*/
/*    }*/
/*}*/

.comment__photos-list {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment__photos-item {
    position: relative;
    margin-right: 9px;
    height: 100px;
}

.comment__photos-item img {
    /*width: 100%;*/
    height: 100%;
    /*object-fit: cover;*/
    /*object-position: center;*/
    cursor: pointer;
}

.comment__moderation {
    display: flex;
    flex-wrap: wrap;
}

.comment .comment__moderation .comment-undelete,
.comment.published .comment__moderation .comment-publish,
.comment.unpublished .comment__moderation .comment-unpublish,
.comment.deleted .comment__moderation .comment-delete {
    display: none;
}

.comment.deleted .comment__moderation .comment-undelete {
    display: inline-block;
}

.comment__footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 4px 0;
}

@media (min-width: 1024px) {
    .comment__footer {
        flex-wrap: nowrap;
        padding: 4px 16px;
    }
}


@media (min-width: 1024px) {
    .comment__votes {
        order: 3;
        margin-right: 0;
    }
}

.comment__votes {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: auto;
    order: 2;
    margin-right: 16px;
}

.comment__button {
    border: none;
    background: none;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin-left: 16px;
    font-size: 12px;
    height: 40px;
    padding: 0;
    cursor: pointer;
}

.comment__button i {
    margin-right: 9px;
}

.comment__button.dislike i {
    transform: rotate(-180deg);
}

.comment__button:hover {
    color: #fb6e2d;
}

.comment__button:hover i {
    fill: currentColor;
}

.comment__reply {
    order: 1;
    margin-left: 16px;
}

@media (min-width: 1024px) {
    .comment__reply {
        margin-left: 0;
    }
}

.comment__reply i {
    transform: rotate(180deg);
}

/*--------------------------------------------------*/

.comments-count-wrap {
    font-size: 18px;
    text-align: center;
    margin: 20px 0
}

.comment-reply-cancel, #comments .comment-update {
    display: none;
}

#comments .comment-reply-cancel {
    display: inline-block;
}

.comment-form-wrap h5 {
    font-size: 24px;
    text-align: center;
    margin: 0 0 20px
}

.comment-parent {
    color: #979797;
}

div.comments-form-wrap {
    padding: 15px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.comments-form-wrap .h4 {
    margin-top: 0;
}

div.comments-form-wrap form.disabled:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, .4);
}

.comment div.comments-form-wrap {
    margin-left: 15px;
}

@media all and (max-width: 500px) {
    .level1 {
        margin-left: 20px
    }

    .level2 {
        margin-left: 40px
    }

    .level3 {
        margin-left: 60px
    }

    .level4 {
        margin-left: 80px
    }

    .level5 {
        margin-left: 100px
    }

    .level6 {
        margin-left: 120px
    }
}


/*----------------------------Add Photos----------------------------*/
.attachments {
    padding: 9px 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}

.attachments.dnd {
    border: 1px solid #393939;
}

.attachments__form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.attachments__label {
    display: flex;
    flex-direction: row;
    margin-bottom: 16px;
}

.attachments__form i {
    flex-shrink: 0;
    margin-right: 13px;
    /*fill: #a6a5a5;*/
    font-size: 30px;
}

.attachments__heading {
    margin-bottom: 4px;
    font-size: 14px;
    margin-top: 0;
    font-weight: 700;
}

.attachments__caption {
    font-size: 12px;
    color: #797878;
    margin: 0;
}

.attachments__input {
    width: 100%;
    flex-shrink: 0;
    white-space: nowrap;
}

.attachments__input .button {
    width: 100%;
}

.attachments__input input[type=file] {
    display: none;
}

/*----------------------------Uploaded----------------------------*/

.attachments__scroll {
    position: relative;
    margin-top: 16px;
    overflow-x: auto;
    height: 132px;
}

.attachments__list {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

.attachments__list-item {
    position: relative;
    margin-right: 9px;
}

.attachments__progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 134px;
    width: 100%;
    background-color: rgb(0 0 0 / 50%);
    z-index: 1;
    display: none;
    justify-content: center;
    align-items: center;
}

/*.attachments__progress-bar {*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0;*/
/*    height: 100%;*/
/*    background-color: #00a046;*/
/*}*/

.attachments__progress-bar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /*display: inline-block;*/
    border-top: 3px solid #FFF;
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.attachments__list-image {
    position: relative;
    /*width: 98px;*/
    height: 100px;
    /*overflow: hidden;*/
    border: 1px solid #ccc;
}

.attachments__list-image img {
    /*position: absolute;*/
    /*left: 50%;*/
    /*top: 50%;*/
    /*transform: translate(-50%, -50%);*/
    /*width: auto;*/
    /*height: 100%;*/
}

.attachments__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.attachments__actions .button {
    border: none;
    flex: 1;
    padding: 0;
    background-color: hsla(0, 0%, 100%, .9);
    color: #221f1f;
    font-size: 14px;
    height: 32px;
    line-height: normal;
    cursor: pointer;
}

.attachments__actions .button i {
    color: #797878;
    transition-duration: .2s;
    transition-property: fill;
    transition-timing-function: ease-in-out;
}

.attachments__actions .button:hover i {
    color: #393939;
}

@media (min-width: 1024px) {
    .attachments__form {
        flex-wrap: nowrap;
    }

    .attachments__label {
        margin-bottom: 0;
    }

    .attachments__input {
        width: auto;
    }
}
