html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "Microsoft Jhenghei", "微軟正黑體", "Trebuchet MS", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

ol,
ul {
    list-style: none;
}

/* 隱藏滾動條 */
::-webkit-scrollbar {
    display: none;
}

.container_warp {
    flex-grow: 1;
    background-image: url(../../images/news/news_bg.png);
}

.container_warp .content {
    padding: 0 1.5rem;
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}

/* sidewrap */
.side_wrap {
    width: calc(40% - 5%);
    min-width: 200px;
    max-width: 300px;
    margin: 0 1.5rem;
}

.side_inner {
    background: white;
    box-shadow: 0 0 1rem rgb(0 0 0 / 15%);
}

.side_title {
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    height: 104px;
    padding: 1.5rem 2rem;
    line-height: 1.2;
    font-size: 1.66em;
    font-weight: bold;
}

.sidenav a {
    color: #333333;
    border-top: 1px dotted rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.sidenav a.active {
    color: white;
    background-color: #1e70df;
    background-image: linear-gradient(90deg, #1e70df 0%, #009DE7 100%);
}

.sidenav a.active:after {
    position: absolute;
    top: -2px;
    right: -1rem;
    display: block;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 33px 0 33px 1rem;
    border-color: transparent transparent transparent #009DE7;
}

.sideu1 {
    padding: 0;
}

.sideu1 a {
    position: relative;
    display: block;
    padding: 1.125rem 1rem 1.125rem 3.5rem;
    line-height: 1.5;
    font-size: 1.11em;
    word-wrap: break-word;
    word-break: break-all;
}

/* sidewrap */

/* main_wrap */
.main_wrap {
    position: relative;
    display: block;
    width: 100%;
    background-color: white;
    padding: 1.75rem 3.5rem 0rem;
    -webkit-box-shadow: 0 0 1rem rgb(0 0 0 / 15%);
    box-shadow: 0 0 1rem rgb(0 0 0 / 15%);
}

.main_title {
    color: #434449;
    font-size: 1.7em;
    font-weight: bold;
    padding: 0.5rem 1rem;
}

i.fas.fa-plane-departure {
    margin-right: 1rem;
}

/* breadcrumb */
.breadcrumbs_list {
    padding: 0.25rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.breadcrumbs_list li {
    display: inline;
    /* padding: 0 0.25rem; */
    margin: 0;
    /* font-size: 0.77em; */
    letter-spacing: .15rem;
}

.breadcrumbs_list li:before {
    color: rgba(0, 0, 0, 0.65);
    content: ">";
}

.breadcrumbs_list li a,
.breadcrumbs_list li span,
.breadcrumbs_list li:before {
    color: rgba(0, 0, 0, 0.65);
}

.breadcrumbs_list li:first-child:before {
    content: "";
}

.breadcrumbs_list li:last-child a {
    color: #d74000;
}

/* breadcrumb */

#back {
    padding: 0.5rem 1rem;
}

/* search */
.search {
    padding: 0.5rem 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* .search_select {
    padding: 0.5rem;
    display: flex;
} */

.search_inner input[type=submit] {
    float: right;
    width: 90px;
}

.is_top {
    width: 2rem;
    margin-left: 1rem;
}

#news_search_form {
    display: inline;
    font-size: 1em;
    border-radius: 8em;
    border: 1px solid #fff;
    padding: 0.3em;
    background: #fff;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

#news_search_block {
    /* transition: all 0.2s ease-out; */
    /* width: 100px; */
    width: 160px;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    padding: 0;
    margin: 0;
    border: 0;
    background-color: transparent;
}

/* #news_search_block:focus {
    width: 8em;
    opacity: 1;
} */

#news_search_form label {
    padding-left: 1px;
    display: inline-block;
    color: #009de7;
    cursor: pointer;
}

.news_search_btn {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    font-size: 0.9em;
    border: 1px solid #2c5ba6;
    color: white !important;
    background-color: #2c5ba6 !important;
    border-radius: 30px;
    /* display: none; */
}

.invisible {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.select_content {
    width: 100%;
    padding: 0.725rem 1.75rem 0.725rem 0.75rem;
    font-size: 0.88em;
    font-weight: normal;
    color: #6a6c75;
    border: 1px solid #91929b;
    outline: none;
    background: white;
    border-radius: 0.25rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.btn-c1 {
    color: white !important;
    background-color: #3973d0 !important;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.9em;
    cursor: pointer;
    border: none;
    border: 0.0625rem solid transparent;
    border-radius: 0.25rem;
    margin-left: 1rem;
}

/* search */

/* table */
.table_head {
    color: white;
    background-color: #1e70df;
    background-image: linear-gradient(-180deg, #1e70df 0%, #009DE7 100%);
    vertical-align: middle;
    border-color: inherit;
}

.table-hover tbody tr:hover {
    color: #212529;
    background-color: #e0ebf3;
}

.href {
    text-align: left;
}

.title_href {
    color: rgba(0, 0, 0, 0.85) !important;
    cursor: pointer;
}

.title_href:hover,
.title_href:focus {
    color: #1e70df !important;
    text-decoration: none !important;
}

.table_wrap {
    text-align: center;
}

.table_row {
    padding: 1rem;
}

.hot_icon {
    width: 1.5rem;
    margin-right: 0.5rem;
}

/* table */

/* pagination */
.simple-pagination ul {
    padding: unset;
}

.simple-pagination li {
    display: inline-block;
    /* margin-right: 10px; */
}

.simple-pagination li:focus {
    z-index: 2;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

.simple-pagination li a {
    color: black;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
    background-color: white;
}

.simple-pagination .current {
    padding: 5px 10px 5px 10px;
    background-color: #6c757d14;
    border: 1px solid #dee2e6;
}

.prev {
    border-radius: 5px 0px 0px 5px;
}

.next {
    border-radius: 0px 5px 5px 0px;
}

/* pagination */

/* page */
.page {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

/* page */

/* scrollToTop */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #01529C;
    color: white;
    cursor: pointer;
    padding: 15px 13px;
    opacity: 0.8;
    line-height: 1.2em;
}

.back-to-top:hover {
    background-color: #009DE7;
}

.back-to-top * {
    width: 100%;
}

.back-to-top i {
    transform: rotate(-90deg);
}

/* scrollToTop */


.link_content {
    padding: 1rem;
}

.link_title {
    position: relative;
    padding: 0.7rem 3rem 1rem 1rem;
    font-weight: bold;
    color: #434449;
    background-color: #e2f0fa;
    /* font-size: 1.2rem; */
}

.link_title:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent white transparent transparent;
}

.link_label {
    margin: 1rem 0;
    color: #545b62;
    font-size: 0.8rem;
    text-align: right;
}

/* .link_date:after {
    content: "|";
    margin-left: 1rem;
} */

.link_relate_item {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid #dcdcdc;
}

.link_relate_title {
    position: relative;
    font-weight: bold;
    color: #5a5a5a;
    margin-bottom: 0.5rem;
    padding: 2.5px 0 2.5px 15px;
}

.link_relate_ol {
    list-style: decimal;
    color: #6a6c75;
    margin-top: 1rem;
}

.link_relate_ol li {
    margin-bottom: 10px;
    list-style: decimal;
}

.link_relate_ol a {
    color: #6a6c75;
}

.link_relate_ol img {
    width: 10%;
}

.link_text {
    margin: 0rem 1rem;
}

.link_last_date {
    text-align: right;
    display: block;
    color: #8b99af;
    /* font-size: 0.88em; */
}

.img_path {
    text-align: center;
    width: 50%;
    margin: auto;
}

.img_path img {
    max-width: 100%;
}

.first_page input,
.first_page a {
    margin: 0 0.25rem;
    min-width: 100px;
}

.first_page {
    text-align: center;
}

.first_page_btn {
    display: inline-block;
    padding: 0.675rem 1.25rem;
    /* font-size: 0.88em; */
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: none;
    border: 0.0625rem solid transparent;
    border-radius: 0.25rem;
    color: #009DE7 !important;
    background-color: transparent;
    border-color: #009DE7;
}

.first_page_btn:hover {
    color: white !important;
    background-color: #009DE7;
}

.link_footer {
    padding: 1rem 0;
    border-top: 1px solid #edecf2;
}

/* .kf_det_gallery_col {
    float: left;
    margin: 0.25rem;
}

.kf_det_fig {
    position: relative;
    margin-bottom: 0.5rem;
    padding-bottom: 62.5%;
}

.kf_det_gallery_item {
    display: block;
    padding: 0.5rem;
    border: 1px solid #edecf2;
}

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

.kf_det_gallery_col {
    float: left;
    margin: 0.25rem;
} */

@media (max-width: 991.98px) {
    .link_last_date {
        font-size: 0.8rem;
    }
}

@media (min-width: 767.98px) {
    .content_inner {
        display: flex;
        margin: 0;
        /* padding: 4.5rem 0; */
        justify-content: center;
    }

    .main_wrap {
        width: 90%;
        margin: 0rem 0rem;
    }
}

@media (max-width: 767.99px) {
    .main_wrap {
        padding: 1.75rem 1.5rem .5rem;
    }

    .table_row,
    .link_text,
    .link_relate_ol a {
        font-size: 0.8rem;
    }

    .link_title {
        font-size: 1rem;
    }

    .main_title {
        font-size: 1.4em;
    }

    .back-to-top {
        padding: 10px 6px;
    }

    .pagination {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .table_content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem;
    }

    .table td {
        border-top: 0 !important;
        padding: 0.25rem !important;
    }

    .fa-calendar-day:before {
        margin-right: 0.25rem;
        color: #3973d0;
    }

    .search {
        flex-direction: column;
    }

    .page {
        font-size: 0.8rem;
    }

    .simple-pagination li a,
    .simple-pagination .current {
        padding: 0px 8px 0px 8px;
    }

    .hot_icon {
        width: 1.25rem;
    }
}

@media (min-width: 575.99px) {

    .table td,
    .table th {
        vertical-align: middle;
    }

    .category_name {
        width: 110px;
    }

    .date {
        width: 125px;
    }

    .ctr {
        width: 75px;
    }
}