.board-container {
    position: relative;
    width: 100%;
}

.board-category {
    position: relative;
    margin-top: 25px;
    overflow: hidden;
}

.board-category > ul {
    display: flex;
    border-bottom: 1px solid #EFEFEF;
}

.board-category > ul > li {
    width: auto;
}

.board-category > ul > li > a {
    position: relative;
    display: block;
    padding: 7px 15px;
}

.board-category > ul > li > a.active {
    color: var(--colorred);
    font-weight: 600;
}

.board-category > ul > li > a.active:after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: currentColor;
}

.board-top {
    display: flex;
    margin-bottom: 7px;
    padding: 0 5px 0 0;
}

.board-top > div {
    align-self: center;
}

.board-top > .board-top-nav {
    display: flex;
}

.board-top > .board-top-nav > span {
    position: relative;
    display: inline-block;
    font-size: 14px;
    color: #b9b9b9;
}

.board-top > .board-top-nav > span + span {
    margin-left: 11px;
    padding-left: 5px;
}

.board-top > .board-top-nav > span + span:before {
    position: absolute;
    content: '/';
    left: -5px;
}

.board-top > .board-search {
    margin-left: auto;
}

.board-top > .board-search > .btn-search {
    position: relative;
}

@media(max-width: 768px) {
    .board-top {
        padding: 0 10px;
    }

    .board-top > div {
    }

    .board-top > .board-top-nav {
    }

    .board-top > .board-top-nav > span {
    }

    .board-top > .board-top-nav > span + span {
    }

    .board-top > .board-top-nav > span + span:before {
    }

    .board-top > .board-search {
    }

    .board-top > .board-search > .btn-search {
    }

    .board-top > .board-search > .btn-search svg {
        width: 17px;
        height: 17px;
        stroke: var(--darkgray);
    }
}

/* list */
.board-list-container {

}

.board-list-wrapper {

}

.board-list-row {
    position: relative;
    padding: 10px 0px;
    border-bottom: 1px solid #efefef;
}

.board-list-row.list-head {
    position: relative;
    background-color: #71717a;
    color: #fff;
}

.board-list-row > .list-row {
    position: relative;
    display: flex;
}

.board-list-row > .list-row > .list-col {
    position: relative;
    align-self: center;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-list-row > .list-row > .list-col.col-num {
    flex: 0 0 60px;
    max-width: 60px;
}

.board-list-row > .list-row > .list-col.col-thumb {
    flex: 0 0 30px;
    max-width: 30px;
    border-radius: 6px;
    overflow: hidden;
}

.board-list-row > .list-row > .list-col.col-thumb img {
    width: 100%;
    height: auto;
}

.board-list-row > .list-row > .list-col.col-writer {
    flex: 0 0 80px;
    max-width: 80px;
}

.board-list-row > .list-row > .list-col.col-hit {
    flex: 0 0 60px;
    max-width: 60px;
}

.board-list-row > .list-row > .list-col.col-subject {
    text-align: left;
}


.board-list-row.list-head {
    display: none;
}

.board-list-row.list-head + .list-body {
    border-top: 1px solid #e4e4e7;
}

.board-list-row > .list-row > .list-col.col-num,
.board-list-row > .list-row > .list-col.col-writer,
.board-list-row > .list-row > .list-col.col-hit {
    display: none;
}
.board-list-row > .list-row {
    padding: 0 10px;
}
.board-list-row > .list-row > .list-col.col-auto {
    flex: 1 1 100%;
    max-width: 100%;
}

.board-list-row > .list-row > .list-col > .list-article-info {
    position: relative;
    display: flex;
    font-size: 12px;
}

.board-list-row > .list-row > .list-col.col-thumb + .col-subject {
    margin-left: 10px;
}

.list-article-info > .list-item + .list-item {
    margin-left: 5px;
}

.board-list-container .board-button-group {
    padding: 0 10px;
}

#boardSearchModal .customModal-header > .header-title {
    font-size: 16px;
    font-weight: 600;
    align-self: center;
}

#boardSearchModal .customModal-header > .closex {
    width: 21px;
    height: 21px;
    align-self: center;
}

#boardSearchModal .customModal-dialog {
    max-width: 320px;
    height: auto;
}

#boardSearchModal .customModal-content {
    height: auto;
}

#boardSearchModal .board-search-form {

}

#boardSearchModal .board-search-form > .board-search-filter {
    display: flex;
    margin-bottom: 10px;
}

#boardSearchModal .board-search-form > .board-search-filter > .filter {
    position: relative;
    font-size: 14px;
    margin-right: 7px;
}

#boardSearchModal .board-search-form > .board-search-filter > .filter:last-child {
    margin-right: 0;
}

#boardSearchModal .board-search-form > .board-search-input {
    position: relative;
    width: 100%;
}

#boardSearchModal .board-search-form > .board-search-input > input[type="text"] {
    width: 100%;
    padding: .75rem;
}

#boardSearchModal .board-search-form > .board-search-input > .btn-search {
    position: absolute;
    top: 50%;
    right: 10px;
    padding: 0;
    transform: translateY(-50%);
}

#boardSearchModal .board-search-form > .board-search-input > .btn-search > svg {
    width: 21px;
    height: 21px;
    stroke: var(--darkgray);
}

/* view */
.board-content {
    position: relative;
    padding: 0 10px;
}

.board-content > .content-header {
    padding: 12px 10px;
    background-color: #f4f4f5;
    border-radius: .5rem;
}

.board-content > .content-header > h2 {
    font-size: 1.25rem;
}

.board-content > .content-header > .article-info {
    display: flex;
}

.board-content > .content-header > .article-info > .info-item {
    position: relative;
    display: inline-block;
    font-size: 12px;
    color: #a1a1aa;
}

.board-content > .content-header > .article-info > .info-item + .info-item {
    margin-left: 7px;
}

.board-content > .content-body {
    position: relative;
    padding: 15px 10px;
    background-color: #fafafa;
    margin-top: 15px;
    border-radius: .5rem;
}

@media(max-width: 768px) {
    .board-content > .content-body {
        font-size: 14px;
    }
}

.board-content > .content-body img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.board-content > .content-foot {
    margin: 15px 0;
}

.reaction-group {
    display: flex;
    justify-content: center;
}

.reaction-group .btn-reaction + .btn-reaction {
    margin-left: 5px;
}

.btn-reaction {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    padding: 5px 12px;
    background-color: #fafafa;
    border-radius: .5rem;
}

.btn-reaction > span {
    display: inline-block;
    align-self: center;
    line-height: 1;
}

.btn-reaction > .reaction-count {
    font-size: 12px;
}

.btn-reaction > span + span{
    margin-left: 3px;
}

.btn-reaction.like {
    color: var(--colorred);
}

.btn-reaction.dislike {
    color: var(--colorblue);
}

.comment-empty {
    text-align: center;
    padding: 35px;
}

.board-comment-form {
    position: relative;
    width: 100%;
    padding: 0;
}

@media(max-width: 768px) {
    .board-comment-form {
        padding: 0 10px;
    }
}

#comment-list-wrap {
    border-top: 1px solid #e4e4e7;
    padding: 0 10px;
}

.comment-list {
    position: relative;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #EFEFEF;
}
.comment-list:last-child {
    border-bottom: 1px solid transparent;
}

.comment-list-header {
}

.comment-list-header > .name {
    color: #b9b9b9;
    font-size: 13px;
}

.comment-list-header > .date {
    color: #b9b9b9;
    font-size: 13px;
}

.comment-content {
    position: relative;
    margin: 5px 0 12px 0;
    padding: 15px 10px;
    background-color: #fafafa;
    font-size: 14px;
    border-radius: .5rem;
}

@media(max-width: 768px) {
    .comment-content {
        font-size: 12px;
    }
}

.comment-content .parent-name {
    display: inline-block;
    margin-right: 7px;
    color: var(--colorblue);
    font-weight: 600;
}

.comment-list .board-comment-form {
    margin-top: 25px;
}

@media(max-width: 768px) {
    .comment-list .board-comment-form {
        padding: 0;
    }
}

.comment-footer {
}

.comment-footer > .reaction-group {
}

.comment-footer > .reaction-group > .btn-reaction {
    font-size: 12px;
}

.comment-footer > .reaction-group > .btn-reaction > .reaction-count {
    font-size: 11px;
}

.comment-footer > .comment-button-group {
    position: relative;
    display: flex;
    align-self: center;
}

.comment-footer > .comment-button-group > .btn {

}

.comment-footer > .comment-button-group > .btn + .btn {
    margin-left: 3px;
}

.comment-footer > .comment-button-group > .btn-ssm {
    font-size: 11px;
    line-height: 1.2;
    padding: 2px 8px;
}

/**
 * write
 */
.board-write-form {
    position: relative;
    width: 100%;
    padding: 0 10px;
}

.board-write-form > .board-row {
    position: relative;
}

.board-write-form > .board-row + .board-row {
    margin-top: 8px;
}

.board-write-form > .board-row > .form-input {
    position: relative;
}

.board-write-form > .board-row > .form-input > label {

}

.board-write-form > .board-row > .form-input > input[type="text"] {
    position: relative;
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #EFEFEF;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

.board-write-form > .board-row > .form-input > textarea {
    opacity: 0;
}

.board-write-form > .board-row > .form-input > input[type="text"]:focus {
    border-color: #131313;
}

.board-write-form > .board-row > .form-link {
    
}

.board-write-form > .board-row > .form-link > label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    z-index: 2;
}

.board-write-form > .board-row > .form-link > label > .link-content {
    display: none;
    font-size: 13px;
    color: #C0BCB6;
}

.board-write-form > .board-row > .form-link > input[type="text"] {
    border: 0;
    border-bottom: 1px solid #EFEFEF;
    padding: .375rem .75rem .375rem 25px;
}

.board-write-form > .board-row > .form-file {
    
}

.board-write-form > .board-row > .form-file > label {
    position: relative;
    width: 100%;
    display: flex;
    border-bottom: 1px solid #EFEFEF;
    padding: 8px 5px 5px 5px;
}

.board-write-form > .board-row > .form-file > label > .file-content {
    font-size: 13px;
    align-self: center;
    color: #b9b9b9;
}

.board-write-form > .board-row > .form-file > label > .file-icon {
    align-self: center;
    margin-left: auto;
}

.board-write-form > .board-row > .form-file > input[type="file"] {
    display: none;
}

/* button */
.board-button-group {
    display: flex;
    margin: 25px 0;
}

.board-button-group-sm {
    margin: 15px 0;
}

.board-button-group > .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .175rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}

@media(max-width: 768px) {
    .board-button-group > .btn {
        font-size: 12px;
    }
}

.board-button-group > .btn:not(:first-child) {
    margin-left: 5px;
}

.btn-board-list {
    border: 1px solid #3b82f6;
    background-color: #3b82f6;
    color: #fff;
}

.btn-board-write {
    border: 1px solid #0032a8;
    background-color: #0032a8;
    color: #fff;
}

.btn-board-submit {
    border: 1px solid #ef4444;
    background-color: #ef4444;
    color: #fff;
}

.btn-board-modify {
    border: 1px solid #6366f1;
    background-color: #6366f1;
    color: #fff;
}

.btn-board-delete {
    border: 1px solid #71717a;
    background-color: #71717a;
    color: #fff;
}

.btn-board-comment {
    border: 1px solid #d4d4d8;
    color: #71717a;
    border-radius: 4px;
}

.board-container .tox-tinymce {
    border: 1px solid #EFEFEF;
}

.board-container .editor-form {
    opacity: 0;
}

.board-container .tox:not(.tox-tinymce-inline) .tox-editor-header {
    border-bottom: 1px solid #EFEFEF;
}

.board-container .tox .tox-statusbar {
    border-top: 1px solid #EFEFEF;
}

.board-container .board-comment-form .tox .tox-statusbar {
    display: none;
}