@import url('comment-new-ui.css');
pre {
    display: block;
    padding: 15px;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-wrap;
    background-color: transparent;
    border: 0px;
    border-radius: 4px;
}

.comment {
    padding: 3em 1em 0em 1em;
    margin: 0 0 1em 0;
    position: relative;
    width: 90%;
    border: solid 1px rgba(160, 160, 160, 0.3);
}

.comment-title {
    margin: 0;
    padding: 5px 10px;
    color: white;
    text-align: left;
}

.comment-write {
    padding: 0em 0 0em 0;
    margin: 0 0 1em 0;
    position: relative;
    width: 100%;
    border: solid 1px rgba(160, 160, 160, 0.3);
    border-top: 0;
}

.comment-write>header {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    /* border-bottom: solid 1px rgba(160, 160, 160, 0.3); */
    margin: 0em 0 0 0;
    position: relative;
    width: 100%;
}

.comment-write>header .title {
    /* -moz-flex-grow: 1;
    -webkit-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
    -ms-flex: 1;
    padding: 0em 2em 0em 2em;
    white-space: pre-wrap;
    text-align: left; */
    display: block;
    width: auto;
    flex: 1;
    min-width: 0;
    padding: 0;
}

.comment-write>header .title textarea {
    resize: none;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
}

.comment-write>header .title> :last-child {
    margin-bottom: 0;
}

.comment-write>header .meta {
    padding-top: 0;
    border-left: none;
    min-width: auto;
    width: auto;
    flex-shrink: 0;
}

.comment-write>header .meta .author {
    -moz-flex-direction: column-reverse;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -moz-justify-content: -moz-center;
    -webkit-justify-content: -webkit-center;
    -ms-justify-content: -ms-center;
    justify-content: center;

}

.comment-write textarea {
    font-family: initial !important;
}

.write-btn-box .more-btn {
    width: auto !important;
    min-width: auto !important;
    height: auto !important;
    line-height: normal !important;
    border: none !important;
    font-size: 13px;
}

.comment-write>header .meta {
    min-width: auto !important;
    width: auto !important;
    border-left: none !important;
    padding-top: 0 !important;
}

.meta .author {
    font-size: 16px;
}

.comment-write>header .meta .author img {
    margin-top: 10px;
    width: 8em;
}

.comment-write>header .meta .author .name {
    width: 100%;
    max-width: 100% !important;
    padding: 15px;
}

.comment>header .meta .author .name {
    width: 100%;
    max-width: 100% !important;
    padding: 15px;
}

.comment-write>header .meta .social {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -moz-justify-content: -moz-center;
    -webkit-justify-content: -webkit-center;
    -ms-justify-content: -ms-center;
    justify-content: center;
    border-bottom: 0;
    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 0.6em;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 30px;
}

.comment-write>header .meta .social .social-btn {
    width: 35px;
    margin-left: 10px;
    padding-left: 0;
}

.comment-write>header .meta .social .social-btn a,
.comment-write>header .meta .social .social-btn a:hover,
.comment-write>header .meta .social .social-btn a:focus {
    text-decoration: none;
    border-bottom: none;
}

.comment-write>header .meta .social .social-btn:first-child {
    width: 35px;
    margin-left: 0px;
    padding-left: 0;
}

.comment-write>header .meta img:first:child {
    width: 40px;
    margin-left: 0px;
    padding-left: 0;
}

.comment>header {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    /* border-bottom: solid 1px rgba(160, 160, 160, 0.3); */
    left: -1em;
    margin: -3em 0 0 0;
    position: relative;
    width: calc(100% + 4em);
}

.comment>header .title {
    -moz-flex-grow: 1;
    -webkit-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
    -ms-flex: 1;
    padding: 1.5em 1em 1em 1.5em;
    word-break: break-word;
    text-align: left;
}

.comment>header .title pre {

    border: none;
    line-height: 2em;
    padding: 0px;
}

.comment>header .title> :last-child {
    margin-bottom: 0;
}

.comment>header .meta {
    padding: 1em 3em 0.5em 3em;
    border-left: solid 1px rgba(160, 160, 160, 0.3);
    min-width: 17em;
    text-align: right;
    width: 17em;
}

.comment>header .meta .published {
    display: block;
    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 0.7em;
    font-weight: 800;
    letter-spacing: 0.25em;
    margin-top: 0.5em;
    text-transform: uppercase;
    white-space: nowrap;
}

.comment>header .meta> :last-child {
    margin-bottom: 0;
}

.comment>header .meta>* {
    margin: 0 0 1em 0;
}



@media screen and (max-width: 980px) {
    .comment {
        left: 0;
        width: 90%;
    }

    .comment.reply {
        margin-left: 10%;
    }

    .comment-write {
        border-left: 0;
        border-right: 0;
        width: 100%;
    }

    .comment-write>header {

        display: block;
        /* border-bottom: solid 1px rgba(160, 160, 160, 0.3); */
        position: relative;
        /*  -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column; */

    }

    .comment-write>header .meta {
        -moz-align-items: center;
        -webkit-align-items: center;
        -ms-align-items: center;
        align-items: center;
        display: -moz-flex;
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        -moz-justify-content: center;
        -webkit-justify-content: center;
        -ms-justify-content: center;
        justify-content: center;
        border-left: 0;
        margin: 0 0 2em 0;
        padding-top: 0;
        padding: 0;
        text-align: left;
        width: 100%;
    }

    .comment-write>header .meta .author {
        -moz-flex-direction: row-reverse;
        -webkit-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
        margin-bottom: 0;
    }

    .comment-write>header .meta> :first-child {
        border-left: 0;
        margin-left: 0;
        padding-left: 0;
    }

    .comment-write>header .meta>* {
        border-left: solid 1px rgba(160, 160, 160, 0.3);
        margin-left: 2em;
        padding-left: 2em;
    }

    .comment-write>header .meta .author .name {
        margin: 0 0 0 1.5em;
    }

    .comment-write>header .meta .social {

        margin-bottom: 0px;
    }


}

@media screen and (min-width: 980px) {
    .comment.reply {
        margin-left: 10%;

    }

    .comment-write .author {
        margin-top: 70px;
    }
}

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

    .comment>header .meta .published {
        margin-bottom: 0;
        margin-top: 0;
    }
}

@media screen and (max-width: 980px) {
    .comment>header .meta> :first-child {
        border-left: 0;
        margin-left: 0;
        padding-left: 0;
        position: absolute;
        width: 100%;
        left: 0;
    }

    .comment>header .meta .published {
        display: block;
        font-family: "Raleway", Helvetica, sans-serif;
        font-size: 0.7em;
        font-weight: 800;
        letter-spacing: 0.25em;
        margin-top: 0.5em;
        text-transform: uppercase;
        white-space: nowrap;
    }
}

@media screen and (max-width: 980px) {
    .comment>header .meta>* {
        border-left: solid 1px rgba(160, 160, 160, 0.3);
        margin-left: 2em;
        padding-left: 2em;
    }
}

@media screen and (max-width: 980px) {
    .comment>header {
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 3.75em 3em 1.25em 1.5em;
        border-left: 0;
    }
}

@media screen and (max-width: 980px) {
    .comment>header .title {
        -ms-flex: 0 1 auto;
        margin: 0px 5px;
        padding: 0;
        word-break: break-word;
        text-align: left;
    }
}


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

    .comment>header .meta {
        -moz-align-items: center;
        -webkit-align-items: center;
        -ms-align-items: center;
        align-items: center;
        display: -moz-flex;
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        -moz-justify-content: center;
        -webkit-justify-content: center;
        -ms-justify-content: center;
        justify-content: center;
        border-left: 0;
        margin: 0 0 2em 0;
        padding-top: 0;
        padding: 0;
        text-align: left;
        width: 100%;
        position: absolute;
        top: 40px;
    }
}

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

    .comment>header .meta .author {
        -moz-flex-direction: row-reverse;
        -webkit-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
        margin-bottom: 0;
        font-size: 0.7em !important;
        float: left;
        margin-top: 9px;
    }
}

@media screen and (max-width: 980px) {
    .comment>header .meta .author img {
        width: 3.5em;
    }
}

@media screen and (max-width: 980px) {
    .comment>header .meta .author .name {
        margin: 0 0 0 1.5em;
    }

    .comment>header .meta .writer-area .img-circle {
        width: 45px;
        height: 45px;
        float: left;
        margin-right: 15px;
    }

    .comment>header .meta .writer-area .wname {
        float: left;
    }

    .comment>header .meta .writer-area .published {
        float: left;
    }

    .comment-write .meta {
        display: none !important;
    }
}

@media screen and (max-width: 736px) {
    .comment {
        width: 100%;
        margin-top: 10px;
    }

    .comment.reply {
        margin: 0;
        width: 100% !important;
        padding: 21px 16px 0px 21px;
    }

    .comment-write {
        padding: 10px;
        margin: 0;
        width: 100%;
    }
}

@media screen and (max-width: 736px) {
    .comment>header {
        padding: 3em 1.5em 0.5em 1.5em;
        left: -1.5em;
        margin: -1.5em 0 0 0;
        width: calc(100% + 3em);
    }

    .comment-write>header .title {
        padding: 0px;
    }

    .comment-write>header .title textarea {
        height: 100px;
    }

    .comment>header .title pre {

        border: none;
        line-height: 2em;
        padding: 0px;
        width: 100%;
    }

    .comment-rating {
        margin-top: 30px;
    }
}

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

    .comment>header .meta {
        -moz-align-items: flex-end;
        -webkit-align-items: flex-end;
        -ms-align-items: flex-end;
        align-items: flex-end;
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        position: absolute;
        top: 40px;
    }

    .comment-write>header .meta {
        -moz-align-items: center;
        -webkit-align-items: center;
        -ms-align-items: center;
        align-items: center;
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .comment-write>header .title textarea {
        height: 100px;
    }
}

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

    .comment>header .meta>*,
    .comment-write>header .meta>* {
        border-left: 0;
        margin: 1em 0 0 0;
        padding-left: 0;
    }

    .comment>header .meta .writer-area .img-circle {
        width: 45px;
        height: 45px;
        float: left;
        margin-right: 15px;
    }

    .comment>header .meta .writer-area .wname {
        float: left;
    }

    .comment>header .meta .writer-area .published {
        float: left;
    }
}

.mgt20 {
    margin-top: 20px;
}

@media screen and (min-width: 981px) {
    .title.select {
        max-width: 25em;
        flex-grow: initial;
    }
}

.write-btn-box {
    text-align: right;
    display: inline-block;
    width: 100%;
}

.pad50 {
    padding: 50px;
}

.login-btn {
    border-radius: 0px;
    border: none;
    width: 100%;
    margin-top: 10px;
    height: 45px;
    line-height: 30px;
    background-color: #757575;
    color: #fff;
}

.naver-btn {
    border-radius: 0px;
    border: none;
    width: 100%;
    margin-top: 10px;
    height: 45px;
    line-height: 30px;
    background-color: #1EC800;
    color: #FFFFFF;
}

.kakao-btn {
    border-radius: 0px;
    border: none;
    width: 100%;
    margin-top: 10px;
    height: 45px;
    line-height: 30px;
    background-color: #ffef3f;
    color: #333;
}

.facebook-btn {
    border-radius: 0px;
    border: none;
    width: 100%;
    margin-top: 10px;
    height: 45px;
    line-height: 30px;
    background-color: #4080ff;
    color: #FFFFFF;
}

.naver-btn:hover,
.facebook-btn:hover,
.login-btn:hover {
    color: white;
}

.kakao-btn:hover {
    color: #333;
}

.center {
    text-align: center;
}

hr.dot {
    border-bottom: 1px dotted #acacac;
    margin: 1em 0;
}

#err1,
#err2,
#err3,
#dup1,
#dup2 {
    display: none;
    color: red;
}

.red {
    color: red;
}

.mgt2em {
    margin-top: 2em !important;
}

.right {
    float: right;
}

.left {
    float: left;
}

.comment-reply-write {
    margin-top: 7px;
    padding: 20px 0;
    display: none;
}

.comment-reply-write .write-btn-box {
    margin-top: 20px;
}

.comment-reply-write textarea,
.comment-modify {
    resize: none;
    width: 100%;
    padding: 10px;
}

.comment-reply-write textarea {
    font-family: initial !important;
}

.comment-modify {
    display: none;
    margin-top: 20px;
    margin-bottom: 10px;
}

.comment-save {
    display: none;
}

.comment.reply {
    left: 0em;
    width: 90%;
}

.comment.reply>header .title pre {
    border: none;
    line-height: 2em;
    padding: 20px 0px;
}

.comment-invoice {
    width: 100%;
    height: 40px;
    border: 1px solid #cecece;
    border-radius: 5px;

    margin-bottom: 10px;
}