.news-item.item-list .cat {
    font-size: 1.5rem;
}


/* .news-item.item-list .cat.cat-2 {
    background-color: #FCEBD6;
}

.news-item.item-list .cat.cat-3 {
    background-color: #E1F9D7;
} */

.pagination-list {
    position: relative;
}

.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.wp-pagenavi a.page,
.wp-pagenavi span {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    font-size: 1.6rem;
    font-weight: 500;
    color: #7F7F7F;
    border: 1px solid #D8D8D8;
    background-color: #D8D8D8;
}

.wp-pagenavi span.current {
    color: white;
    background-color: #0B1959;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 103px;
    height: 103px;
    background-size: 100% 100%;
    background-color: rgba(0,0,0,0);
    background-image: url(../images/pagi-right.svg);
}
.wp-pagenavi a.nextpostslink:hover,
.wp-pagenavi a.previouspostslink:hover{
    background-color: rgba(0,0,0,0);
    background-image: url(../images/pagi-right.svg);
}
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.previouspostslink:hover{
    background-color: rgba(0,0,0,0);
    background-image: url(../images/pagi-left.svg);
}
a.next-btn,
a.pre-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.7rem;
    font-weight: bold;
    line-height: 50px;
    color: #0071B7;
    background-color: #fff;
}

a.pre-btn {
    left: 0;
    right: unset;
}

.wp-pagenavi a.previouspostslink {
    left: 0;
    right: unset;
}

.sidebar-item {
    display: flex;
    align-items: center;
}

.sidebar-item .label {
    padding-right: 20px;
}

.sidebar-item .select select.select-date {
    width: 150px;
}

.sidebar-item .select select {
    width: 265px;
    height: 58px;
    padding-left: 40px;
    border-radius: 30px;
    border: 1px solid #B1B1B1;
    background-image: url(../images/index/bg-select.svg);
    background-size: 22px 15px;
    background-repeat: no-repeat;
    background-position: center right 20px;
    font-size: 1.6rem;
    color: #7F7F7F;
    font-weight: 500;
}

.title-line {
    font-size: 1.6rem;
    font-weight: 600;
    position: relative;
    margin-bottom: 20px;
}

.post-content {
    border: 1px solid #C7C7C7;
    border-width: 0px 0 1px;
    padding-bottom: 70px;
}

.infor-line {
    display: flex;
    align-items: center;
}

.infor-line .date {
    padding-right: 20px;
}

.post-content .cat a {
    height: 39px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.post-content .cat a.cat-1 {
    background-color: #EAF5F9;
}

.post-content .cat a.cat-3 {
    background-color: #E1F9D7;
}

.post-content .cat a.cat-2 {
    background-color: #FCEBD6;
}

a.btn.btn-list-link {
    max-width: 900px;
    border: 1px solid #C7C7C7;
    height: 52px;
    border-radius: 10px;
    padding-left: 20px;
    justify-content: start;
    font-size: 1.5rem;
    margin: 0 auto 10px;
}

a.btn.btn-list-link::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url(../images/index/icon-list-link.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

a.btn.btn-list-link:hover {
    opacity: 0.6;
}

a.btn.btn-single-back {
    height: 66px;
    width: 218px;
    background-color: #fff;
    color: #4d4d4d;
    font-family: 'Zen Maru Gothic', sans-serif;
    border: 4px solid #29A6DD;
    border-radius: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

a.btn.btn-single-back::after {
    background-image: url(../images/index/icon-right-blue.svg);
    width: 9px;
    height: 14px;
    right: 20px;
}

.list-link-download {
    border-bottom: 1px solid #c7c7c7;
}

#hotnews::after {
    display: none;
}

.box-image-post img {
    border-radius: 8px;
}

.box-blog-post {
    padding: 0 5px;
    position: relative;
}

.box-blog-post .label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.box-blog-post .label span {
    font-size: 1.4rem;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 8px;
}

.box-blog-post .box-text .post-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.box-date {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    align-items: center;
}

.box-date .post-meta {
    font-size: 1.3rem;
    font-weight: 600;
}

.box-date .cat,
.box-cat .cat {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border-radius: 5px;
    background-color: #008CD6;
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
}


/* .cat.catid-1 {
    background-color: #008CD6;
}

.cat.catid-2 {
    background-color: #F28E1E;
}

.cat.catid-3 {
    background-color: #87C13F;
} */

.blog-archive .large-3 {
    margin-bottom: 80px;
}

.box-single-top {
    max-width: 1000px;
    margin: 0 auto;
}

.box-post-title {
    position: relative;
}


/* .box-post-title::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 8px;
    background-color: #c7c7c7;
    bottom: -20px;
    left: 0;
    border-radius: 5px;
} */

.post-content-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.post-content-inner .ava-post {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 50px;
}

section#page-navi {
    position: relative;
    background-color: #EFF1F9;
}


/* section#page-navi:after {
    content: "";
    position: absolute;
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: #BABABA;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
} */

@media(max-width:767px) {
    .main-menu li.nav-item:hover .mega-menu {
        display: none !important;
    }
    .sidebar-item {
        justify-content: space-between;
        padding: 0 40px !important;
    }
    .sidebar-item:not(:nth-last-child(1)) {
        margin-bottom: 25px;
    }
    .sidebar-item .label {
        padding-right: 10px;
    }
    .sidebar-item .select select {
        width: 180px;
        height: 45px;
        font-size: 1.4rem;
    }
    .news-item.item-list .cat {
        font-size: 1.3rem;
    }
    /* .wp-pagenavi a.nextpostslink,
    .wp-pagenavi a.previouspostslink {
        font-size: 1.2rem;
    } */
    /* .wp-pagenavi a.page,
    .wp-pagenavi span {
        width: 35px;
        height: 35px;
    } */
    a.btn.btn-single-back {
        height: 33px;
        width: 134px;
        font-size: 1.4rem;
        border: 2px solid #29A6DD;
    }
    a.btn.btn-single-back::after {
        width: 5px;
        height: 10px;
        right: 10px;
    }
    .title-line {
        font-size: 1.4rem;
    }
    .box-post-title::after {
        height: 4px;
    }
    .post-content {
        font-size: 1.4rem;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 40px;
    }
    .box-date {
        flex-direction: column;
        align-items: flex-start;
        padding: 5px 0;
    }
    .blog-archive .large-3 {
        margin-bottom: 40px;
    }
    .sidebar-item .select select,
    .sidebar-item .select select.select-date {
        width: 205px;
        padding-left: 30px;
    }
    .page-cms .top-title-wrap {
        height: 80px;
    }
    .box-blog-post .label span {
        font-size: 1.2rem;
        padding: 2px 5px;
    }
    .box-date .post-meta {
        font-size: 1.2rem;
    }
    .box-blog-post .box-text .post-title {
        font-size: 1.3rem;
        font-weight: 600;
    }
    .box-date .cat {
        min-height: 23px;
    }
    .post-content-inner .ava-post {
        margin-bottom: 20px;
    }
    a.next-btn,
    a.pre-btn {
        font-size: 1.4rem;
    }
    .box-date .cat,
    .box-cat .cat {
        width: 155px;
        min-height: 25px;
    }
    .cat-list {
        margin: 5px 0;
    }
    .wp-pagenavi a.page, .wp-pagenavi span{
        width: 23px;
        height: 23px;
        font-size: 1rem;
    }
    .wp-pagenavi a.nextpostslink, .wp-pagenavi a.previouspostslink{
        width: 51px;
        height: 51px;
    }
    .pagination ul{
        margin: auto !important;
        width: calc(100% - 100px);
    }
    .page-works-details .pagination ul{
        width: 100%;
    }
    .page-works-details .pagination ul li.center{
        width: 50%;
    }
    .page-works-details .pagination ul li:not(.center){
        width: 25%;
    }
}

@media(max-width: 1040px) and (min-width: 768px) {
    .sidebar-item .select select {
        width: 200px;
    }
}