.bg-img {
    background-image: linear-gradient(rgba(255, 255, 255, .97),rgba(255, 255, 255, .97) 100%),url('../img/S__52355105.jpg');
    background-size: cover;
    min-height: 1100px;
}

.text-size-20 {
    font-size: 20px !important;
}

.text-size-17 {
    font-size: 17px;
}

.backgroundImg {
    background-image: linear-gradient(rgba(204, 220, 181, 0),rgba(176, 220, 228, 0) 100%),url('../img/vackground-hDQ-dUjQN8E-unsplash copy.jpg');
    background-size: cover;
    background-position: center;
}

.border_left2px_solid2f2f2f {
    border-left: 2px solid #2f2f2f;
}
/*max pic*/
.heading {
    position: relative;
    width: 100%;
    padding: 75px;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.header-title {
    width: 100%;
    margin: 0 0 24px;
    font-size: 40px;
    font-weight: 250;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #fff;
    margin-top: 15px;
    text-align: center;
}
/*news body*/
.news-box {
    padding: 75px 0;
}
/*news sheet*/
.news-sheet {
    display: flex;
    flex-direction: column;
}

/*each news*/

.each-news {
    display: flex;
    flex-direction: row;
    padding: 40px 0;
    border-bottom: 1px solid #dee2e6;
}

.news-pic {
    display: flex;
    padding-left: 20px;
    width: 20%;
}

    .news-pic img {
        border-radius: 10px;
        width: 100%;
        align-items: center;
    }

.news-para {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
    padding: 0 20px;
}

.news-title{
    word-break:break-all;
}

.news-title a {
    color: black;
    font-weight: 300;
}

.news-subtitle {
    margin-top: 16px;
}

.news-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20%;
}

.date {
    font-size: 36px;
    color: #ffa101;
}

/*pre next btn*/
.pre-next-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-box {
    width: 5%;
}

.pre-next-btn-ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding-left: 0;
    margin-top: 16px;
}

a.btn-next, a.btn-pre {
    padding: 5px;
    border: #CCDCB5;
    border-radius: 10px;
}

    a.btn-next:hover, a.btn-pre:hover {
        border: 1px solid;
    }

.ellipsis2 {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2; /*行數*/
    -webkit-box-orient: vertical;
    white-space: normal;
}


/*databar*/
.datasets-bar .nav {
    justify-content: flex-start;
    margin-left: 24px;
}

.datasets-bar .nav-link.active {
    background-color: #fff;
}

.datasets-search {
    padding: 8px 24px;
}

.datasets-bar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.databar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 24px;
}

    .databar .databar-title {
        color: #000;
    }


/*datasets filter*/
.datasets-filter {
    padding: 20px 10px;
    margin-bottom: 3px;
    background-color: #fff;
    font-size: 14px;
}

.filter-apply-and-clearall {
    display: flex;
    justify-content: space-between;
}

    .filter-apply-and-clearall .clearAll a {
        color: #C372FD;
        text-decoration: underline !important;
    }

.filter-btn {
    display: flex;
    flex-wrap: wrap;
    padding-top: 5px;
}

.each-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px 10px;
    margin: 5px 5px 5px 0;
    border: 1px solid #C372FD;
    border-radius: 15px;
    background-color: #fff;
}

    .each-filter i {
        font-size: 12px;
        padding-left: 5px;
        color: #C372FD;
    }

.pr-lg-5 {
    font-size: 18px;
}

.text-size-large {
    font-size: 20px;
}

.text-size-small {
    font-size: 18px;
}

/*tablist*/
.nav-link {
    color: black;
}

.nav {
    justify-content: center !important;
}

.nav-tabs .nav-link.active {
    color: #9955FF;
    background-color: #fff;
}

.text-size-ylarge {
    font-size: 40px;
    font-weight: 700;
}

.btn-3 {
    width: 200px;
    height: 40px;
    line-height: 42px;
    padding: 0;
    border: none;
    border-radius: 50px;
}

    .btn-3 span {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        color: #FFFFFF;
    }

.box {
    font-family: Arial;
    font-size: 18px;
    line-height: 30px;
    font-weight: bold;
    padding: 20px;
    box-shadow: 00010px#009688;
    border: 10px solid #009688;
    outline: dashed 10px #DDDDDD;
    border-radius: 10px;
}

/*論壇*/
.news-para {
}

.text-size-small {
    font-size: 18px;
    text-align: right;
}

/*最新消息輪播*/
.carousel-box {
    display: flex;
    justify-content: center;
    /*background-color: #CCDCB5;*/
    min-height: 320px;
    flex-direction: column;
    align-items: center;
}

.card {
    max-width: 100% !important;
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 16px;
    margin-bottom: 16px;
    min-width: 90%;
    border-radius: 8px;
    /*max-width: 33.33333%;*/
    border: none;
}

.card-shadow {
    position: relative;
    width: 100%;
}

.card-transition {
    margin: -16px 16px 0px 16px !important;
    position: absolute;
}

.card .img-height {
    height: 300px;
}

.card-img-top {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card .info-link {
    position: relative;
    bottom: 5px;
    width: 94%;
}

.carousel-indicators {
    margin-top: 31px;
    margin-bottom: 31px;
    position: relative;
}

    .carousel-indicators .active {
        width: 30px;
        height: 3px;
        background-color: #ffa101 !important;
    }

    .carousel-indicators button {
        background-color: #68B2BE !important;
    }

.range {
    padding-bottom: 48px;
}

.carousel-control-prev {
    right: -5px;
}

.bi-chevron-left {
    background-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff;
    color: black;
    line-height: 48px;
    box-shadow: 3px 3px 6px 0 rgb(0 0 0 / 9%), -3px -3px 4px 0 rgb(0 0 0 / 3%);
}

.bi-chevron-right {
    background-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff;
    color: black;
    line-height: 48px;
    box-shadow: 3px 3px 6px 0 rgb(0 0 0 / 9%), -3px -3px 4px 0 rgb(0 0 0 / 3%);
}

.about-body {
    min-height: 600px;
}

/*Pagination*/
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 60px;
}

.light-theme .current {
    box-shadow: none;
}

.light-theme a, .light-theme span {
    font-size: 15px;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.DisplayFlexDate {
    display: flex;
    justify-content: space-between;
    width: 20%;
}

    .DisplayFlexDate .news-date {
        width: 50%;
    }

/*RWD*/
@media (min-width:768px) {
    .carousel-box {
        flex-direction: row;
        align-items: unset;
    }

    .card {
        margin-top: 0;
        margin-bottom: 0;
        min-width: 0;
        max-width: 33.33333%;
    }
    /*data Introduce */
    .col-lg-5 {
        width: 50%;
    }
    /*news down bar*/
    #down-bar-button {
        justify-content: center;
    }

    .down-bar {
        justify-content: center;
    }
}

@media (max-width:991px) {

    .container, .container-md, .container-sm {
        max-width: 100%;
    }
}

@media (max-width:767px) {
    .each-news {
        flex-direction: column;
    }

    .news-date {
        width: 100%;
        align-items: start;
        padding-left: 22px;
    }

    .DisplayFlexDate {
        width: 50%;
        margin-top:15px;
    }

    .news-para {
        width: 100%;
    }

    .RWD_date {
        display: flex;
    }
}

@media (max-width:575px) {

    .each-news {
        flex-direction: column;
    }

    .news-pic {
        margin-bottom: 20px;
        justify-content: center;
    }

        .news-pic img {
            width: 90%;
            height: 90%;
        }

    .text-size-ylarge {
        font-size: 33px;
    }

    .heading {
        padding: 75px 40px
    }
}
