@charset "utf-8";

body {
    font-family: 'Noto Sans TC', sans-serif;
    overflow-x: hidden;
}

.container {
    max-width: 1600px !important;
    margin: 0 auto;
}

.container2 {
    max-width: 1200px;
    margin: 0 auto;
}

.wrap {
    /* margin-top: 75px; */
    background-color: #ffffff;
}

.text-3a3a3a {
    color: #3a3a3a;
}

.bg-3a3a3a {
    background-color: #3a3a3a;
}

.border-3a3a3a {
    border-color: #3a3a3a;
}

.text-efefef {
    color: #efefef;
}

.bg-efefef {
    background-color: #efefef;
}

.border-efefef {
    border-color: #efefef;
}

.text-afafaf {
    color: #afafaf;
}

.bg-afafaf {
    background-color: #afafaf;
}

.border-afafaf {
    border-color: #afafaf;
}

.text-7a7a7a {
    color: #7a7a7a;
}

.bg-7a7a7a {
    background-color: #7a7a7a;
}

.border-7a7a7a {
    border-color: #7a7a7a;
}

ul:after,
section:after,
div:after,
li:after {
    content: '';
    display: block;
    clear: both;
}

/*headroom*/
.headerbox {
    background-color: #ffffff88;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 10;
}

.headroom--unpinned,
.headroom--pinned {
    background-color: #ffffff;
    box-shadow: 0 3px 10px 1px rgb(0 0 0 / 0.2);
}

.headroom--top {
    background-color: #ffffff88;
}

.headroom--unpinned .dropdown-content,
.headroom--pinned .dropdown-content {
    background-color: #ffffff;
}

.headroom--top .dropdown-content {
    background-color: #ffffff;
}

.menu {
    display: flex;
}

.menubtn {
    display: none;
}

.rwdmenu {
    display: none;
}

.rwdmenulist {
    display: none;
}

.menu li {
    position: relative;

    padding: 5px 0;
    /* width: 6rem;
    height: 2rem; */
}

.menu a,
.menu .menuwrd {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu > li > a {
    border-color: transparent;
    border-radius: 25px;
    border-width: 2px;
}

.rwdmenulist li {
    position: relative;
    /* width: 16.4rem;
    padding-left: 10px; */
}

.rwdmenubtn {
    display: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    width: 100px;
    top: 28px;
    left: -20px;
    /* margin: 4px 0px; */
    padding: 10px 0;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    /* left: calc((100% - 100px) / 2); */
}

.dropdown-content a {
    color: #020202;
    padding: 8px 0px;
    text-decoration: none;
    display: block;
    /* font-size: 14px; */
}

/* .dropdown-content a:hover::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    border-bottom-width: 1px;
    border-color: #a8a8a8;
} */

.dropdown:hover .dropdown-content {
    display: block;
}

.wrdwidth {
    letter-spacing: 0.3rem;
}

.menu li {
    position: relative;
}

.menu li:hover::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 22%;
    background-color: #7a7a7a;
}

.menu li.active::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 22%;
    background-color: #7a7a7a;
}

/*index*/

.newstitle {
    overflow: hidden;
    /* height: 35px; */
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* .newsul:hover .datewrd {
    font-weight: 600;
} */

.newsul li:hover .newstitle {
    font-weight: 600;
}

.newsul li:hover .readbtn {
    background-color: #7a7a7a;
    color: #ffffff;
}

.logobox li {
    position: relative;
}

.logobox li:hover img {
    transform: scale(1.1);
}

/*致詞*/
.hotsplide .splide__pagination {
    position: absolute;
    /* bottom: -8%; */
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    z-index: 9;
    /* transform: translate3d(27%, 0, 0); */
}

.hotsplide .splide__pagination .splide__pagination__page {
    background: #8f8f8f75;
    width: 12px;
    height: 12px;
    border-radius: 25px;
}

.hotsplide .splide__pagination li {
    /* width: 100%; */
    padding: 4px;
    outline: none;
}

.hotsplide .splide__pagination button {
    outline: none;
}

.hotsplide .splide__pagination button.is-active {
    background: #0d73b5;
}

/*news*/
.back2 {
    display: none;
}

.backbtn:hover .back1 {
    display: none;
}

.backbtn:hover .back2 {
    display: block;
}

.toptitle {
    overflow: hidden;
    /* height: 35px; */
    width: 100px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/*form*/
:hover.sendbtn {
    background-color: #7a7a7a;
    color: #ffffff;
    border-color: #7a7a7a;
}

/*photo*/
.sideleft {
    float: left;
    width: 20%;
}

.sideright {
    float: right;
    width: 80%;
}

:hover.sidebtn {
    color: #fff;
    background-color: #3a3a3a;
}

.sidebtn.active {
    color: #fff;
    background-color: #3a3a3a;
}

.masonry {
    column-count: 4;
    column-gap: 0;
}

.item {
    padding: 2px;
    position: relative;
    /* counter-increment: item-counter; */
}

.item img {
    display: block;
    width: 100%;
    height: auto;
}

/*footer*/

.gotop button {
    outline: none;
}

.gotop {
    position: fixed;
    bottom: 35px;
    right: 10px;
}

.gotop {
    display: none;
    position: fixed;
}

.gotop.active {
    display: block;
    z-index: 999;
}

/** 
* articlebox
*/
.articlebox {
    word-break: break-word;
}

.articlebox iframe {
    max-width: 100%;
}

.articlebox img {
    max-width: 100%;
    display: inline-block;
}

.articlebox .youtube-embed-wrapper {
    padding-top: 0 !important;
}

.articlebox iframe,
.articlebox object,
.articlebox embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.articlebox ul{
    list-style: disc;
}

/** 
* parsley
*/
input.parsley-error,
select.parsley-error,
textarea.parsley-error {
    border: 1px solid #b94a48;
}

.parsley-errors-list {
    /* position: absolute; */
    margin: 2px 0 3px;
    list-style-type: none;
    font-size: 0.9em;
    line-height: 0.9em;
    opacity: 0;
    color: #b94a48;
    transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
}

.parsley-errors-list.filled {
    opacity: 1;
}

/** 
* magnific-popup
*/
.white-popup {
    position: relative;
    background: #fff;
    padding: 40px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    /* border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0; */
}

/* .mfp-bg {
    background: #fff;
} */

/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

/* vue */
[v-cloak] {
    display: none;
}

/* toast */
#toast {
    opacity: 0;
    position: fixed;
    visibility: hidden;
    top: 10px;
    left: 50%;
    min-width: 300px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    transition: all 0.3s ease;
    z-index: -1000;
}

#toast.show {
    visibility: visible;
    top: 30px;
    opacity: 1;
    z-index: 1000;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
}

@media screen and (max-width: 1920px) {
}

@media screen and (max-width: 1440px) {
}

@media screen and (max-width: 1366px) {
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 820px) {
    /*header*/
    .rwdmenubtn {
        display: block;
    }

    .menubtn {
        display: block;
        float: right;
        z-index: 999;
    }

    .menu {
        display: none;
    }

    .rwdmenulist {
        display: block;
    }

    .rwdmenu {
        display: block;
        background-color: #ffffff;
        top: 0;
        left: 0;
        position: fixed;
        width: 220px;
        height: 100%;
        z-index: 990;
        transform: translate(-150%, 0%);
        transition: all 0.8s ease;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
            0 4px 6px -4px rgb(0 0 0 / 0.1);
    }

    .rwdmenu.active {
        transform: translate(0%, 0%);
    }

    .menubtn.active .close {
        display: block;
    }

    .menubtn.active .open {
        display: none;
    }

    .headerbox {
        background-color: #ffffff;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        z-index: 10;
    }

    .headroom--unpinned,
    .headroom--pinned {
        background-color: #ffffff;
        box-shadow: 0 3px 10px 1px rgb(0 0 0 / 0.2);
    }

    .headroom--top {
        background-color: #ffffff;
    }

    .wrap {
        margin-top: 75px;
    }
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 430px) {
    /*photo*/
    .sideleft {
        float: none;
        width: 100%;
    }

    .sideright {
        float: none;
        width: 100%;
    }

    .masonry {
        column-count: 1;
    }
}

@media screen and (max-width: 425px) {
}

@media screen and (max-width: 414px) {
}

@media screen and (max-width: 390px) {
}

@media screen and (max-width: 375px) {
}

@media screen and (max-width: 320px) {
}
