
.sub-top {
    background-image: url("../img/common/sub_bg_press.jpg");
}

.sub-content {
    padding: 4em 0 5rem;
}

.board-wrap {
    position: relative;
    padding-top: 1rem;
    padding-bottom: 3rem;
}


.board-wrap .list-head {
    margin-bottom: 60px;
}

.board-wrap .list-head .board-title {
    font-size: 45px;
    font-weight: 700;
    line-height: 68px;
    text-align: left;
    margin-bottom: 10px;
}

.board-wrap .list-head .board-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    text-align: left;
}

.sub-page .search-container {
    padding-bottom: 2.5rem;
    justify-content: start;
}

.search-inline {
    width: auto;
}

.search-box {
    border-radius: 8px;
    background: #fafafa;
    border: 1px solid #eee;
    align-items: center;
}

.search-box input {
    background: transparent;
    padding: 14px 20px;
    font-size: 15px;
    border: 0;
    width: 280px;
}

.search-box input:focus {
    border: none;
    box-shadow: none;
    background: transparent;
}

.search-box .submit-button {
    background: transparent;
    border: 0;
    padding: 14px 20px;
}

.board-list-item {
    position: relative;
    align-items: center;
    border-top: 1px solid #e5e5e5;
    display: flex;
    padding: 1.5rem 0.7rem 1.2rem 0;
    color: #514e4e;
}

.board-list-item .number {
    display: inline-block;
    text-align: center;
    width: 60px;
    color: #121212;
    font-size: 16px;
}

.board-list-item .number .new-icon {
    margin: 0;
}

.board-list-item .title {
    display: block;
    width: calc(100% - 160px);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #121212;
}

.board-list-item .date {
    position: absolute;
    right: 0.7rem;
    top: 1.5rem;
    color: #949494;
    font-size: 16px;
}

.board-list-item:last-child {
    border-bottom: 1px solid #e5e5e5;
}

.board-list-item:hover * {
    color: #f60;
}

.gallery-item {
    margin-bottom: 2.5rem;
}

.gallery-item a:hover {
    color: #c30;
}

.gallery-item .gallery-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 1rem;
}

.gallery-item .gallery-date {
    color: #949494;
    font-size: 15px;
    margin-top: 10px
}

.gallery-item a .img-container-fit {
    display: block;
    padding-bottom: 100%;
    position: relative;
    width: 100%
}

.gallery-item a .img-container-fit img {
    border: 2px solid #eee;
    border-radius: 20px;
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%
}

.board-wrap .article-head {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 2rem;
}

.board-wrap .article-head .article-title {
    font-size: 36px;
    font-weight: 600;
}

.board-wrap .article-head .article-date {
    color: #949494;
    margin-top: 1rem;
}

.board-wrap .article-content {
    font-size: 17px;
    line-height: 25px;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.board-wrap .article-content .board-image {
    text-align: center;
}

.board-wrap .article-content .board-image img:last-child {
    margin-bottom: 1rem;
}

.board-wrap .article-content .board-image img,
.board-wrap .article-content .board-detail img {
    max-width: 100%;
}

.board-wrap .article-content .board-detail {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 1.5rem;
}

.board-wrap .article-control {
    padding-top: 1rem;
    text-align: center;
}

.article-list-button {
    display: inline-block;
    background-color: #ffc701;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    line-height: 16px;
    padding: 14px 24px 13px;
    margin-top: 20px;
}

.article-list-button:hover {
    color: #fff;
}

.none-data {
    border-top: 1px solid #eee;
    color: #777;
    font-size: 18px;
    padding: 5rem 0;
}

/* Pagination */
.board-pager {
    margin-top: 2rem;
    text-align: center;
}

.board-pager li {
    display: inline-block;
    vertical-align: middle;
    padding: 0 5px;
}

.board-pager li a {
    display: block;
    width: 35px;
    height: 35px;
    font-size: 16px;
    font-weight: 400;
    line-height: 35px;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    border-radius: 50%;
    color: #333;
    margin: auto;
    text-align: center;
}

.board-pager li a:hover {
    background-color: #e5e5e5;
}

.board-pager li a i {
    color: #777;
}

.board-pager li a:hover i {
    color: #333;
}

.board-pager li.active a {
    width: 38px;
    height: 38px;
    line-height: 38px;
    background-color: #555;
    border-color: #555;
    color: #fff;
}

.board-pager li.disable * {
    color: #ccc;
    cursor: default;
}

.board-pager li.disable a:hover {
    background-color: #fff;
}

.board-pager li.disable a:hover i {
    color: #ccc;
}

@media (max-width: 992px) {
    .board-wrap {
        padding-top: 0;
        padding-bottom: 2.5rem;
    }

    .sub-page .search-container {
        padding-bottom: 2.5rem;
    }

    .search-inline {
        width: 100%;
    }

    .gallery-item {
        margin-bottom: 2.5rem;
    }

    .gallery-item:last-child {
        margin-bottom: 1.5rem;
    }

    .gallery-item .gallery-title {
        font-weight: 500;
    }

    .board-wrap .article-head {
        padding-bottom: 1.5rem;
    }

    .board-wrap .article-head .article-title {
        font-size: 25px;
    }

    .board-wrap .article-head .article-date {
        font-size: 15px;
    }

    .board-wrap .article-content {
        font-size: 16px;
        line-height: 23px;
        padding-top: 1.5rem;
        padding-bottom: 0.5rem;
    }

    .board-wrap .article-control {
        padding-top: 1rem;
        text-align: center;
    }

    .none-data {
        border-top: 0;
        padding: 3rem 0 5rem;
    }

    .board-pager li {
        padding: 0 3px;
    }

    .board-pager li a {
        width: 30px;
        height: 30px;
        font-size: 15px;
        line-height: 30px;
    }

    .board-pager li.active a {
        width: 33px;
        height: 33px;
        line-height: 33px;
    }
}

@media (max-width: 800px) {
    .board-list-item {
        display: block;
        padding: 1.2rem 0.7rem 1rem;
    }

    .board-list-item .title {
        width: 100% !important;
        font-size: 17px;
        line-height: 24px;
        overflow: auto;
        text-overflow: unset;
        white-space: normal;
    }

    .board-list-item .date {
        display: block;
        position: relative;
        top: unset;
        right: unset;
        margin-top: 0.3rem;
        color: #949494;
        font-size: 15px;
    }

    .board-list-item .number {
        display: none;
    }
}

.board-file,
.related-link {
    padding-top: 2rem;
}

.board-file h4,
.related-link h4 {
    margin-bottom: 0.5rem;
    padding: 0;
    font-size: 17px;
    font-weight: 400;
}

.board-file h4 i,
.related-link h4 i {
    margin-right: 0.5rem;
}

.board-file ul,
.board-file ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.board-file .file-btn {
    overflow: hidden;
}

.board-file .file-btn li {
    width: 100%;
}

.board-file .file-btn li a,
.related-link a {
    border-radius: 0.3rem;
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 0.6rem 0.8rem 0.4rem;
    margin: 0.6rem 0;
    font-size: 15px;
    color: #555 !important;
}

.board-file .file-btn li a:hover,
.board-file .file-btn li a:hover i,
.related-link a:hover {
    color: #f30 !important;
}

.board-file .file-btn li a i {
    color: #555;
    margin-right: 0.4rem;
}

@media (max-width: 1200px) {
    .ellipsis span {
        left: 0;
        right: 0;
    }
}


.hand,
.pointer {
    cursor: pointer;
}

.cut-text {
    display: block;
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipsis {
    position: relative;
    min-width: 300px;
}

.ellipsis span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: absolute;
    left: 10px;
    right: 10px;
}

.ellipsis:before {
    content: '';
    display: inline-block;
}

.img-containter-fit {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    display: block;
}

.img-containter-fit img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.new-icon {
    height: 18px;
    margin: 2px 3px 0 0;
    vertical-align: top;
}

.board-detail a {
    border-bottom: 1px dashed #c30;
}

.board-detail a:hover {
    color: #f60;
}
