.bt5-board a {
    text-decoration: none;
}

/* board header */
.board-header .nav .nav-item a {
    color: var(--scs-blue4) !important;
}

.board-header .nav .nav-link .text-bg-primary {
    background-color: var(--scs-blue4) !important;
    color: #fff !important;
}

@media (max-width: 991.98px) {}

/* board footer */
.board-footer {
    margin-top: 30px;
}

.board-footer .footer-search select,
.board-footer .footer-search input {
    border-color: var(--scs-gray6) !important;
}

/* footer-pagination */
.board-footer-pagination .page-item .page-link {
    color: var(--scs-blue4) !important;
}

.board-footer-pagination .page-item.active .page-link {
    background-color: var(--scs-blue4) !important;
    border-color: var(--scs-blue4) !important;
    color: #fff !important;
}

/* list default */
.board-list-default {
    margin-top: 20px;
}

.board-list-default .table {
    margin-bottom: 0;
}

.board-list-default .table tr:last-child td {
    border-bottom: 1px var(--scs-gray3) solid;
}

.board-list-default .table th {
    background-color: var(--scs-gray3);
}

.board-list-default .table a {
    color: #333;
}

.board-list-default .table tr:hover td {
    background-color: var(--scs-gray2);
}

.board-list-default .table .tr-notice td {
    background-color: var(--scs-gray2);
}

.board-list-default .title-area {
    position: relative;
    padding-right: 100px
}

.board-list-default .title-area .mobile-thumb {
    position: absolute;
    top: 0
}

.board-list-default .title-area .mobile-thumb img {
    border-radius: 5px
}

.board-list-default .title-area .comment-count {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    padding: 6px 8px 7px;
    background: #f1f2f3;
    border-radius: 5px
}

.board-list-default .title-area .comment-count p {
    margin: 0
}

.board-list-default .title-area .comment-count:hover {
    text-decoration: none
}

.board-list-default .title-area .title-link .title-info {
    margin-top: 5px;
    color: var(--scs-gray6) !important;
}

.board-list-default .title-area .title-link .title-info.existComment {
    padding-right: 36px;
}

.board-list-default .title-area .title-link .title-info span {
    position: relative;
    padding: 0 6px;
}

.board-list-default .title-area .title-link .title-info span:before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 55%;
    width: 1px;
    height: 8px;
    background: #5a5a5a;
    transform: translate(0, -50%)
}

.board-list-default .title-area .title-link .title-info span:first-child {
    padding-left: 0
}

.board-list-default .title-area .title-link .title-info span:last-child {
    padding-right: 0
}

.board-list-default .title-area .title-link .title-info span:last-child:before {
    display: none;
    content: '';
    width: 0;
    height: 0
}

@media (max-width: 767.98px) {
    .board-list-default .table a:hover {
        text-decoration: none !important;
    }

    .board-list-default .title-area {
        min-height: 50px
    }

    .board-list-default .title-area .title-info {
        display: block
    }

    .board-list-default .title-area .mobile-thumb {
        display: block
    }
}

@media (max-width: 991.98px) {
    .board-list-default {
        margin-top: 0;
    }

    .board-list-default .table tr:first-child td {
        border-top: 1px var(--scs-gray4) solid;
    }
}


/* list gallery */
.board-list-gallery .img-href {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden
}

.board-list-gallery .card {
    margin: 0;
    border: none;
    border-radius: 0
}

.board-list-gallery .card-img-top {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transition: all 0.5s ease-in-out;
    border-radius: 0
}

.board-list-gallery .card-img-top:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transition: all 0.5s ease-in-out
}

.board-list-gallery .card-body {
    padding: 15px 0
}

.board-list-gallery .card-title {
    margin: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    word-wrap: normal
}

.board-list-gallery .card-title a {
    color: #333;
    font-weight: 700
}

.board-list-gallery .breadcrumb {
    margin: 5px 0 0 0;
    padding: 0;
    background: none;
    font-size: 13px;
    color: #999;
    line-height: 1em
}

.board-list-gallery ul {
    margin: 0;
    padding: 0
}

.board-list-gallery ul li {
    float: left;
    position: relative;
    margin: 0;
    padding: 0 10px;
    list-style: none
}

.board-list-gallery ul li:first-child {
    padding-left: 0
}

.board-list-gallery ul li:last-child {
    padding-right: 0
}

.board-list-gallery ul li:before {
    content: '/';
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 12px !important
}

.board-list-gallery ul li:last-child:before {
    content: '';
    width: 0;
    height: 0
}

.board-list-gallery ul li a {
    color: #fff;
    text-decoration: none
}

/* liset webzine */
.board-list-webzine a {
    color: #333;
}

.board-list-webzine tr td {
    padding: 30px;
    border-bottom: 1px var(--scs-gray3) solid;
    transition: all 0.3s ease-in-out;
}

.board-list-webzine tr:first-child td {
    border-top: 1px var(--scs-gray5) solid;
}

.board-list-webzine tr:last-child td {
    border-bottom: 1px var(--scs-gray5) solid;
}

.board-list-webzine tr:hover td {
    background-color: var(--scs-gray2);
    transition: all 0.3s ease-in-out;
}

.board-list-webzine tr:hover td .webzine-title {
    color: var(--scs-blue4);
    transition: all 0.3s ease-in-out;
}

.board-list-webzine .webzine-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.board-list-webzine .webzine-info li {
    padding: 0 10px;
    position: relative;
    color: var(--scs-gray5);
}

.board-list-webzine .webzine-info li:first-child {
    padding-left: 0;
}

.board-list-webzine .webzine-info li:last-child {
    padding-right: 0;
}

.board-list-webzine .webzine-info li:after {
    content: '';
    display: block;
    width: 1px;
    height: 10px;
    background-color: var(--scs-gray5);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.board-list-webzine .webzine-info li:last-child:after {
    display: none;
}

@media (max-width: 991.98px) {
    .board-list-webzine tr td {
        padding: 20px 0;
    }

    .board-list-webzine .webzine-image img {
        max-width: 100px;
        height: auto;
    }
}

/* read */
.board-read {
    padding: 20px 0;
}

/* read header */
.board-read .read-header {
    border: 1px var(--scs-gray6) solid;
}

.board-read .read-header .read-header-title {
    background: var(--scs-gray6);
}

.board-read .read-header .read-header-title a {
    color: #fff;
}

/* read extra */
.board-read .read-extra {
    margin: 20px 0 0;
}

.board-read .read-extra table th {
    background-color: var(--scs-gray2);
}

/* read content */
.board-read .read-content {
    padding: 30px;
}

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

.board-read .read-file-list img {
    max-width: 50px;
    max-height: 50px
}

@media (max-width: 991.98px) {
    .board-read .read-content {
        padding: 30px 0;
    }
}

.read-comment .list-group-item {
    position: relative;
}

.read-comment .depth-1 {
    padding-left: 24px;
}

.read-comment .depth-1>i {
    position: absolute;
    left: 24px;
    top: 28px;
}

.read-comment .depth-2 {
    padding-left: calc(24px * 2);
}

.read-comment .depth-2>i {
    position: absolute;
    left: calc(24px * 2);
    top: 28px;
}

.read-comment .depth-3 {
    padding-left: calc(24px * 3);
}

.read-comment .depth-3>i {
    position: absolute;
    left: calc(24px * 3);
    top: 28px;
}

.read-comment .depth-4 {
    padding-left: calc(24px * 4);
}

.read-comment .depth-4>i {
    position: absolute;
    left: calc(24px * 4);
    top: 28px;
}

.read-comment .depth-5 {
    padding-left: calc(24px * 5);
}

.read-comment .depth-5>i {
    position: absolute;
    left: calc(24px * 5);
    top: 28px;
}