.hidden {
    display: none !important;
}

.btn.btn-danger {
    background: #d72f07;
    color: #fff;
}

.btn.btn-warning {
    background: #eba133;
    color: #fff;
}

.main-line .dream-comments-icon {
    display: inline-block;
    top: -2px;
    position: relative;
}

.main-line .comments {
    display: inline-block;
}

.main-line .dream-comments {
    font-size: 24px;
    color: #999;
    margin-right: 10px;
}

.dream-comment-textarea-length-checker {
    display: block;
    text-align: right;
}

#dream-comments-box {
    padding: 0 10px;
}

#dream-comments-box hr {
    margin: 30px 0;
}

#dream-comments-add-form {
    margin-bottom: 30px;
}

#dream-comments-add-form .form-group {
    margin-bottom: 0 !important;
}

.dream-comments-add-form-submit-row,
.dream-comments-add-reply-form-submit-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dream-comments-add-form-submit-row button[type="button"] {
    margin-left: auto !important;
    padding: 0 !important;
}

.dream-comments-add-form-submit-row button[type="button"]:disabled {
    background-color: transparent !important;
}

.dream-comments-add-form-submit-row button[type="button"] span.btn-action,
.dream-comments-add-reply-form-submit-row button[type="button"] span.btn-action {
    padding: 0 5px !important;
}

.dream-comments-add-reply-form-submit-row .add-reaction-to-textarea-button {
    margin-left: auto !important;
    padding: 0;
}

#dream-comments-box .dream-comment-reply-box {
    margin-top: 25px;
}

#dream-comments-box .dream-comment-expand-replies i {
    margin-right: 10px;
}

#dream-comments-box .dream-comment-expand-replies {
    display: block;
    font-size: 12px;
    padding-left: 0;
    padding-bottom: 0;
    margin-top: 10px;
}

#dream-comments-box .dream-comment-expand-replies:hover,
#dream-comments-box .dream-comment-expand-replies:focus,
#dream-comments-box .dream-comment-expand-replies:active {
    background-color: transparent !important;
}

#dream-comments-box .dream-comment-expand-replies:focus,
#dream-comments-box .dream-comment-expand-replies:active {
    text-decoration: none;
}

#dream-comments-box .dream-comments-load-more-comments {
    display: block;
    margin: 20px auto;
}

#dream-comments-box .spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

.dream-comment-replies .dream-comment {
    margin-bottom: 30px;
}

#dream-comments-box .dream-comment .dream-reply-info a.user-box img {
    height: 30px !important;
}

#dream-comments-box .dream-comment .dream-comment-info {
    text-align: left;
    margin-bottom: 5px;
}

#dream-comments-box .dream-comment .dream-comment-info a.user-box img {
    border: 3px #eee solid;
    border-radius: 100%;
    height: 40px;
}

#dream-comments-box .dream-comment .dream-comment-info a.user-box span.name {
    margin-left: 4px;
    font-size: 1.125em;
}

#dream-comments-box .dream-comment .dream-comment-content {
    padding-left: 3.445em;
}

#dream-comments-box .dream-comment .dream-comment-content p {
    text-align: left;
    white-space: pre-wrap;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions {
    display: inline-flex;
    gap: 5px;
    vertical-align: middle;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .popover a,
#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .popover a:hover,
#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .popover a:focus,
#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .popover a:active {
    color: #eba133;
}
#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions-reply {
    background-color: transparent;
    color: #999;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions-reply:hover {
    color: #777;
}

#dream-comments-box .dream-comment .dream-comment-reactions-box {
    text-align: left !important;
    display: inline-flex;
    flex-wrap: wrap !important;
    gap: 8px;
}

#dream-comments-box .dream-comment .dream-comment-reactions-box .dream-comments-reactions-span {
    cursor: pointer;
    color: #838383;
    padding: 7px 14px;
    border-radius: 10px;
    border: 1px #eee solid;
    background-color: transparent;
}

#dream-comments-box .dream-comment .dream-comment-reactions-box .dream-comments-reactions-reply-span {
    padding: 6px 8px !important;
    font-size: 12px !important;
}

#dream-comments-box .dream-comment .dream-comment-reactions-box .dream-comments-reactions-reply-span img {
    max-width: 18px !important;
}

#dream-comments-box .dream-comment .dream-comment-reactions-box .dream-comments-reactions-span.participating {
    font-weight: bold;
    border-color: rgba(235, 161, 51, 0.3) !important;
    background-color: rgba(235, 161, 51, 0.04) !important;
    color: rgba(235, 161, 51, 0.9);
}

.dropdown-emoji-menu {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    min-width: 500px !important;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-more {
    margin-right: 20px;
}

#dream-comments-box > .dream-comment > .dream-comment-content > .dream-comment-actions > button {
    padding: 8px 14px;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reaction .reactions-box {
    display: flex;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reaction .reactions-box .reactions-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 3px;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reaction .reactions-box .reactions-icon svg,
#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reaction .reactions-box .reactions-icon img {
    max-width: 20px;
    max-height: 20px;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reaction.btn-reply-group .reactions-box  .reactions-icon img {
    max-width: 16px !important;
    max-height: 16px !important;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reaction .reactions-box .reaction-count {
    font-size: 12px !important
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-action,
#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reaction,
#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reply,
#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-more {
    padding: 8px 14px;
    border: 1px #eee solid;
    border-radius: 10px;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reply-on-reply {
    padding: 6px 14px !important;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reaction,
#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-more {
    background-color: transparent !important;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .btn-group {
    padding: 0 !important;
}

#dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .btn-group .btn-action {
    padding: 0 10px !important;
    font-size: 22px;
}

#dream-comments-box .dream-comment .popover-content {
    min-width: auto !important;
    min-height: auto !important;
}

.dream-comment-content-paragraph,
.dream-reply-content-paragraph {
    word-break: break-word;
    padding: 10px 0 15px 0;
}

.dream-comment-content-paragraph {
    padding: 10px 0 15px 0;
}

.dream-reply-content-paragraph {
    padding: 5px 0 10px 0;
}

#dream-comments-box .btn-link {
    color: #eba133;
}
#dream-comments-box .dream-comment .dream-comment-content-paragraph img.emoji,
#dream-comments-box .dream-comment .dream-reply-content-paragraph img.emoji {
    margin-left: 3px;
    margin-right: 3px;
}

#dream-comments-box .dream-comments-add-reply-form textarea {
    min-height: 135px;
}

#dream-comments-box .dream-comments-load-more-replies-box {
    display: block;
    margin: 15px 0;
}

#dream-comments-box .dream-comments-load-more-replies {
    color: #eba133;
    font-size: 13px !important;
}

.dropdown-menu .picmo__picker .picmo__emojiArea {
    overflow-x: hidden;
}

.dropdown-menu .picmo__picker .picmo__categoryButtons .picmo__categoryTab button {
    font-size: 18px !important;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

@media screen and (max-width: 1024px) {

    #dream-comments-add {
        padding: 0 15px;
    }

    #dream-comments-add, .dream-comment-actions, .dream-comments-add-reply-form {
        text-align: left !important;
    }

    #dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions {
        display: block !important;
    }

    .dream-comments-add-reply-form textarea {
        min-height: 70px;
    }

    .dream-comment-reactions-box:empty {
        display: none;
    }

    .dream-comment-reactions-box:not(:empty) {
        margin-top: 15px;
    }

    .dream-comment-reactions-box .dream-comments-reactions-span {
        margin-top: 5px;
    }

    #dream-comments-box .dream-comment .dream-comment-content .dream-comment-actions .dream-comment-actions-reaction .reactions-box {
        padding: 6px 10px !important;
    }

    #dream-comments-box .dream-comment .dream-comment-reactions-box {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #dream-comments-box hr {
        margin: 20px 0;
    }
}

@media screen and (max-width: 490px) {
    #dream-comments-box .dream-comment-content .dropdown-emoji-menu {
        left: -140px;
    }

    #dream-comments-box .dream-comment-content .btn-reply-group .dropdown-emoji-menu {
        left: -90px !important;
    }

    #dream-comments-box .textarea-dropdown-emoji-menu  {
        left: -300px !important;
    }

    #dream-comments-add .textarea-dropdown-emoji-menu {
        left: -295px !important;
    }
}