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

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

        li.media {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            list-style: none;
            align-items: flex-start;
            padding: 0 10px;

            .media-thumb {
                vertical-align: top;
                margin-right: 9px;
            }

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

                form dl {
                    margin-bottom: 0;

                    dt {
                        strong {
                            color: #465e85;
                            font-size: 14px;
                        }

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

                        .dropdown-toggle {
                            padding: 0;
                            text-decoration: none;

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

                        .dropdown-menu {
                            min-width: auto;
                            margin-left: 20px;
                            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;
                                }
                            }
                        }
                    }
                }

                & div > form {
                    width: calc(100% - 1px);
                    margin-top: 10px;

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

    > nav ul {
        margin: 15px 0 20px 0;
    }
}

/* 댓글 작성 */
#commentWrite {
    padding: 5px 10px;

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