/* 댓글 목록  */
#commentList {
    box-sizing: content-box;

    ul {
        list-style: none;
        padding: 0;
        margin: 5px 0;

        .media {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            list-style: none;
            align-items: flex-start;

            .media-thumb {
                width: 100%;
                max-width: 38px;
                margin-right: 5px;
                vertical-align: top;
            }

            .media-body {
                box-sizing: content-box;
                margin-left: 8px;
                width: 100%;

                form {
                    dl {
                        margin-bottom: 0;

                        dt {
                            strong {
                                font-size: 0.813rem;
                                color: #56889a;
                            }

                            span {
                                font-size: 0.75rem;
                                margin-left: 8px;
                                font-weight: normal;
                            }

                            .dropdown-toggle {
                                padding: 0;
                            }

                            .dropdown-menu {
                                min-width: auto;
                                border-radius: 0;
                                border-color: #cfcfcf #999 #666 #999;
                                border-width: 1px 1px 1px 0;
                                border-style: solid;
                                box-shadow: 2px 0 2px rgb(0 0 0 / 10%), 0 4px 4px rgb(0 0 0 / 20%), -2px 2px 2px rgb(0 0 0 / 10%);
                                -moz-box-shadow: 2px 0 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.2), -2px 2px 2px rgba(0, 0, 0, 0.1);
                                -webkit-box-shadow: 2px 0 2px rgb(0 0 0 / 10%), 0 4px 4px rgb(0 0 0 / 20%), -2px 2px 2px rgb(0 0 0 / 10%);

                                .dropdown-item {
                                    line-height: initial;
                                    padding: 0.4rem 1.2rem;
                                    cursor: pointer;

                                    &:hover,
                                    &:focus,
                                    &:active {
                                        background: #eaeaea;
                                        color: #000;
                                    }
                                }
                            }
                        }

                        dd {
                            margin-bottom: 0;

                            p {
                                margin-top: 2px;
                                margin-bottom: 10px;

                                svg {
                                    color: #7e7e7e;
                                    margin-right: 6px;
                                }

                                input {
                                    padding: 0;
                                    display: inline-block;

                                    &:focus {
                                        outline: none;
                                    }
                                }
                            }

                            button {
                                padding: 0;
                                border: none;
                                background: none;
                                margin-right: 10px;
                                cursor: pointer;
                                color: #838383;

                                &:hover,
                                &:focus {
                                    text-decoration: none;
                                    color: #ad611b;
                                    outline: 0;
                                }

                                &:last-child {
                                    color: #6cbd02;

                                    &:hover,
                                    &:focus {
                                        text-decoration: underline;
                                    }
                                }
                            }
                        }
                    }
                }

                // TinyMCE 에디터
                & div > form {
                    margin-top: 10px;

                    textarea,
                    .mce-tinymce {
                        margin-bottom: 10px;
                    }
                }
            }
        }
    }

    // 페이지네이션
    > nav {
        ul {
            margin: 15px 0 20px 0;
        }
    }
}

/* 댓글 작성 */
#commentWrite {
    box-sizing: content-box;

    // TinyMCE 에디터
    textarea,
    .mce-tinymce {
        margin-bottom: 10px;
    }
}
