/* --Start menu--------------- */
.section-menu {
    background: #fff;
    padding: 30px 0 10px;
}

.section-menu .category-link-item {
    text-align: center;
}

.section-menu .category-link-item .line-item {
    border: 1px solid #ffffff33;

}

    .section-menu .category-link-item a {
        font-size: 14px;
        padding: 10px 0px;
        height: 100%;
        background: transparent;
        color: #717071;
        border: 1px solid #717071;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        text-transform: capitalize;
        transition: all 0.2s ease-in-out;
    }

.section-menu .category-link-item a.active {
    color: #fff;
    background: #717071;
}

.section-menu .category-link-item a:hover {
    color: #fff;
    background: #717071a2;
}

@media (min-width: 992px) {

    .section-menu .category-link-item a {
        padding: 10px 0px;
        font-size: 16px;
    }

    .section-menu .category-link-item a+a {
        border-left: none;
    }
}


/* --End menu--------------- */
/* Start news ------------------------------ */
.section-news {
    padding: 60px 0;
    background: #fff;
}

.section-news .item {
    height: 100%;
    display: block;
    position: relative;
}

.section-news .text-item {
    left: 0px;
    border: 1px solid #717071;
    position: relative;
    height: 100%;
    top: 0px;
    padding: 20px 40px 20px;
}

@media (min-width: 992px) {
    .section-news .text-item {
        top: 30px;

        left: -20px;

    }
}

.section-news .text-item span {
    background-color: #e70012;
    display: inline-block;
    padding: 5px 5px;
    color: #fff;
    border-radius: 3px;
    font-size: 15px;
}

.section-news .text-item h2 {
    font-size: 18px;
    color: #004989;
    font-family: 'Microsoft JhengHei';
    transition: all 0.2s ease-in-out;
    padding: 20px 0 0px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

@media (min-width: 992px) {
    .section-news .text-item h2 {
        font-size: 20px;
    }
}

.section-news .text-item p {
    font-size: 16px;
    color: #717071;
    font-family: 'Microsoft JhengHei';
    transition: all 0.2s ease-in-out;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


.section-news .item .pic-item {
    position: relative;
    width: 100%;
    padding-bottom: 70%;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.section-news .item .pic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.2s ease-in-out;
}

.section-news .item:hover .pic-item img {
    transform: scale(1.05);
}

.section-news .item .btn-more {
    position: static;
    background-color: #004989;
    color: #fff;
    display: block;
    transition: all 0.2s ease-in-out;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 14px;
    outline: none;
    border: 1px solid #004989;
    border-radius: 0;
    text-align: left;
    bottom: 30px;
}

@media (min-width: 992px) {

    .section-news .item .btn-more {
        position: absolute;

    }
}

.section-news .item .btn-more i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.section-news .item .btn-more:hover {
    border: 1px solid #bf2a26;
    background-color: #bf2a26;
    color: #fff;

}

.section-news-content .title-item {
    position: relative;
    display: block;
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 30px;
}

    .section-news-content .title-item h2 {
        font-family: 'Noto Sans TC';
        font-weight: 500;
        color: #2B3066;
        font-size: 24px;
        text-shadow: 0 0.1rem 1rem rgba(255, 255, 255, 0.205);
        letter-spacing: 2px;
        margin-bottom: 10px;
        position: relative;
    }
.creator-item {
    border-top: 1px solid #dee2e6;
    padding-top: 30px;
    margin-top: 50px;
}

    .creator-item .creator-icon-item .title {
        margin-left: 20px;
        transition: all 0.2s ease-in-out;
    }

    .creator-item .creator-icon-item a {
        color: #787878;
        font-weight: bolder;
        margin-left: 20px;
        transition: all 0.2s ease-in-out;
    }

        .creator-item .creator-icon-item a:hover .title {
            color: #004989;
        }

    .creator-item .pic-item {
        position: relative;
        width: 90px;
        padding-bottom: 90px;
        overflow: hidden;
        border-radius: 100%;
    }

        .creator-item .pic-item img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(2);
        }

    .creator-item .creator-icon-item a {
        position: relative;
    }

        .creator-item .creator-icon-item a + a {
            margin-left: 10px;
        }


    .creator-item .creator-icon-item img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        transition: all 0.2s ease-in-out;
    }

        .creator-item .creator-icon-item img:nth-of-type(2) {
            visibility: hidden;
            opacity: 0;
        }

        .creator-item .creator-icon-item img:nth-of-type(1) {
            visibility: visible;
            opacity: 1;
        }

    .creator-item .creator-icon-item a:hover {
        color: #E0002E;
    }

        .creator-item .creator-icon-item a:hover img:nth-of-type(2) {
            visibility: visible;
            opacity: 1;
        }

        .creator-item .creator-icon-item a:hover img:nth-of-type(1) {
            visibility: hidden;
            opacity: 0;
        }

    .creator-item .text-item {
        padding: 10px 0;
        background: transparent;
    }

        .creator-item .text-item .content {
            padding: 15px 0;
        }

        .creator-item .text-item p {
            font-size: 15px;
            color: #666;
        }

/* --End content--------------- */
.ck-content .media {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

    .ck-content .media iframe,
    .ck-content .media object,
    .ck-content .media embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .ck-content .image.image_resized {
    display: inline-block;
}
/* --End content--------------- */
.ck-content img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

@media (min-width: 992px) {
    .ck-content img {
        width: auto;
    }
}
/* End news ------------------------------ */