﻿/* en content style */

.en-content .body-content .middle-box .middle-box-title {
    font-size: 16px;
    line-height: 17px;
    padding: 5px !important;
    align-items: center;
    display: flex;
    width: 7.1rem;
}

.en-content .body-content .middle-box .middle-box-title span {
    text-align: center;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
	width: 100%;
}

.en-content .body-content .middle-box-item:hover .middle-box-title {
    display: inherit;
}

/* end of en content style */

﻿/* Landing Page */
.body-content {
    margin-bottom: 0px;
}

/* Main Body Content */
.body-content-wrapper {
    width: 75%;
    margin: 0 auto;
    max-width: 1280px;
}

.body-content-header {
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    color: #023761;
    padding: 1.5rem 0;
    padding-top: 60px;
}

.body-content-detail {
    font-size: 1.1rem;
    line-height: 2rem;
    text-align: justify;
}

.index-header-logo {
    height: 50px;
}

.body-content .middle-box .middle-box-item {
    height: auto;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.body-content .middle-box .middle-box-images {
    height: auto;
    width: 98%;
}

.body-content .middle-box .middle-box-title {
    position: absolute;
    width: 6.1rem;
    height: 6.1rem;
    word-break: break-word;
    padding: 1rem;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    line-height: 2rem;
    transition: .7s all;
    -moz-transition: .7s all;
    -webkit-transition: .7s all;
    -o-transition: .7s all;
}

    body.en .body-content .middle-box .middle-box-title {
        width: 11rem;
        height: 5rem;
        padding: 0.5rem;
    }

.body-content .middle-box .middle-box-item:hover .middle-box-title span {
    position: relative;
}

.body-content .middle-box .middle-box-title.single-line {
    line-height: 4rem;
}

.body-content .middle-box .middle-box-title.force-two-line {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

body.en .body-content .middle-box .middle-box-item:hover .middle-box-title.force-two-line {
    padding-left: 0rem;
    padding-right: 0rem;
}

.body-content .middle-box .middle-box-title.green {
    background-color: #3ac0be;
}

.body-content .middle-box .middle-box-title.orange {
    background-color: #fc6924;
}

.body-content .middle-box .middle-box-title.yellow {
    background-color: #f4be03;
}

.body-content .middle-box .middle-box-title.blue {
    background-color: #67b0d1;
}

.body-content .middle-box .middle-box-title.blue-1 {
    background-color: #008cc9;
}

.body-content .middle-box .middle-box-title.blue-2 {
    background-color: #008cc9;
}

.body-content .middle-box .middle-box-title.blue-3 {
    background-color: #70c4e9;
}

.body-content .middle-box .middle-box-title.blue-4 {
    background-color: #a3e3ff;
}

.body-content .middle-box .middle-box-item:hover .middle-box-title {
    width: 98%;
    height: 100%;
    line-height: 2rem;
    background-color: rgba(0,0,0,0.5);
    transition: .7s all, line-height 1ms;
    -moz-transition: .7s all, line-height 1ms;
    -webkit-transition: .7s all, line-height 1ms;
    -o-transition: .7s all, line-height 1ms;
}

    .body-content .middle-box .middle-box-item:hover .middle-box-title span {
        top: calc(50% - 1.1rem);
        font-size: 2.2rem;
        transition: .5s all;
        -moz-transition: .5s all;
        -webkit-transition: .5s all;
        -o-transition: .5s all;
        max-width: 200px;
        display: block;
        margin: auto;
    }

    .body-content .middle-box .middle-box-item:hover .middle-box-title.force-two-line span {
        top: calc(50% - 1.1rem);
        font-size: 2rem;
        transition: .5s all;
        -moz-transition: .5s all;
        -webkit-transition: .5s all;
        -o-transition: .5s all;
        max-width: 200px;
        display: block;
        margin: auto;
    }

    body.en .body-content .middle-box .middle-box-item:hover .middle-box-title.force-two-line span {
        top: calc(50% - 2.2rem);
    }

/* Pure CSS for multi-line ellipsis*/
.block-with-text {
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    max-height: 3.6em;
    text-align: justify;
    margin-right: -1em;
    padding-right: 1em;
}
    .block-with-text:before {
        content: '...';
        position: absolute;
        right: 0;
        bottom: 0;
    }
    .block-with-text:after {
        content: '';
        position: absolute;
        right: 0;
        width: 1em;
        height: 1em;
        margin-top: 0.2em;
        background: white;
    }

/* body lower content */
.body-lower-content {
    width: 100%;
    background: url('../image/box_bg.jpg') repeat center center;
    margin-top: 4rem;
}

.body-lower-content-wrapper {
    width: 80%;
    margin: 0 auto;
    padding: 2rem 0;
    max-width: 1280px;
}

.news-links-container {
    text-align: right;
}

    .news-links-container a, .news-links-container a:hover, .news-links-container a:visited {
        font-size: 1.1rem;
        font-weight: bold;
        /*color: #002664;*/
    }

.body-lower-content-wrapper .news-title {
    display: inline-block;
    text-align: center;
    width: 100%;
}

    .body-lower-content-wrapper .news-title ul {
        padding-left: 0px;
        margin-left: -40px;
    }

.body-lower-content-wrapper ul li.news-title-item {
    list-style: none;
    display: inline-block;
    font-size: 1.5rem;
}

    .body-lower-content-wrapper ul li.news-title-item a {
        font-weight: bold;
    }

    .body-lower-content-wrapper ul li.news-title-item:before {
        content: "|";
        padding: 0 2rem;
    }

.body-lower-content-wrapper ul li:first-child.news-title-item:before {
    content: "";
}

.body-lower-content-wrapper .news-item {
    padding: 2rem 0;
    vertical-align: text-top;
}

.body-lower-content-wrapper .news-date {
    background-color: #fc6924;
    text-align: center;
    padding: 0.9rem 0;
    width: 5rem;
    height: 5rem;
    color: #fff;
    margin: 0 auto;
    line-height: 1.5rem;
    margin-top: 5px;
}

    .body-lower-content-wrapper .news-date.green {
        background-color: #3ac0be;
    }

    .body-lower-content-wrapper .news-date .day {
        font-size: 2.5rem;
        line-height: 2rem;
        letter-spacing: 2px;
        text-align: center;
        text-indent: 2px;
    }

    .body-lower-content-wrapper .news-date .today-time {
        font-size: 1.6rem;
        line-height: 3rem;
        text-align: center;
    }

    .body-lower-content-wrapper .news-date .month {
        font-size: 1rem;
        font-weight: bold;
        padding-top: 3px;
    }

.body-lower-content-wrapper .news-header {
    font-size: 1.2rem;
    font-weight: bold;
    color: #002664;
    margin-bottom: 8px;
    letter-spacing: 2px;
    cursor:pointer;
}

    body.en .body-lower-content-wrapper .news-header {
        letter-spacing: 0px;
    }
    
    .body-lower-content-wrapper .news-header-no-link {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 8px;
        letter-spacing: 2px;
    }
    
    body.en .body-lower-content-wrapper .news-header-no-link {
        letter-spacing: 0px;
    }

.body-lower-content-wrapper .news-detail {
    font-size: 1rem;
    line-height: 1.5rem;
    max-height: 4.5rem;
    overflow: hidden;
}

.body-lower-content-wrapper .latest-news-slider .slick-prev:before, .body-lower-content-wrapper .latest-news-slider .slick-next:before {
    color: #002664;
}

.focus-news-container .slick-disabled, .latest-news-container .slick-disabled {
    display: none !important;
}

.focus-news-container .slick-prev, .focus-news-container .slick-next, .latest-news-container .slick-prev, .latest-news-container .slick-next {
    width: 60px;
    height: 60px;
}

.body-lower-content-wrapper .latest-news-slider .slick-prev {
    left: -50px;
}

.body-lower-content-wrapper .latest-news-slider .slick-next {
    right: -50px;
}

.body-lower-content-wrapper .focus-news-slider .slick-prev {
    left: -50px;
}

.body-lower-content-wrapper .focus-news-slider .slick-next {
    right: -50px;
}

.focus-news-container .slick-go-prev, .latest-news-container .slick-go-prev {
    position: absolute;
    top: 40%;
    font-size: 60px;
    left: -35px;
    cursor: pointer;
}

.focus-news-container .slick-go-next, .latest-news-container .slick-go-next {
    position: absolute;
    top: 40%;
    font-size: 60px;
    right: -35px;
    cursor: pointer;
}

.latest-news-sign, .focus-news-sign {
    padding-left: 8px;
    font-size: 26px;
}

.focus-news-trigger.active, .latest-news-trigger.active {
    color: #023864;
}

.latest-news {
    color: #023864;
    font-weight: bold;
}

.focus-news-container .slick-slide > div > div, .latest-news-container .slick-slide > div > div {
    vertical-align: top;
}

@media (max-width: 767px) {
    .body-lower-content-wrapper .news-date .month {
        font-size: 0.9rem;
    }

    .index-header-logo {
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 500px) {
    .body-lower-content-wrapper ul li.news-title-item {
        font-size: 1.3rem;
    }

    .latest-news-sign, .focus-news-sign {
        display: none;
    }

    .focus-news-trigger.active, .latest-news-trigger.active {
        text-decoration: underline;
    }
}

@media (max-width: 415px) {
    .body-lower-content-wrapper .news-date {
        width: 4.5rem;
        height: 4.5rem;
    }

        .body-lower-content-wrapper .news-date .day {
            font-size: 2.3rem;
            line-height: 1.5rem;
        }

        .body-lower-content-wrapper .news-date .month {
            font-size: 0.8rem;
        }

    .body-lower-content-wrapper .news-header, .body-lower-content-wrapper .news-detail {
        padding-left: 4px;
    }

    .body-lower-content-wrapper .news-title ul {
        margin-left: -25px;
    }

    .body-lower-content-wrapper ul li.news-title-item:before {
        padding: 0 1rem;
    }

    .focus-news-container .slick-go-prev, .latest-news-container .slick-go-prev {
        left: -25px;
    }

    .focus-news-container .slick-go-next, .latest-news-container .slick-go-next {
        right: -25px;
    }

}
/* End Landing Page */
