﻿@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);

body {
    /* 先套用 Noto Sans TC 這個 思源黑體 */
    font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
}

a:hover {
    text-decoration: none
}

@media (max-width: 1199px) {
    .desktop_xl_w {
        display: none
    }
}

@media (max-width: 991px) {
    .desktop_w {
        display: none
    }

    #logo {
        height: 2.5rem
    }

    #logo_text {
        font-size: 1.5rem
    }

    .content {
        padding-top: 94px !important
    }
}

@media (max-width: 768px) {
    .content {
        padding-top: 70px !important
    }

    #logo {
        height: 2.5rem
    }

    #logo_text {
        font-size: 1.5rem
    }

    #sidebar_button {
        height: 2rem
    }

    #search_button {
        height: 2rem
    }
}

@media (max-width: 576px) {
    .content {
        padding-top: 70px !important
    }

    #logo {
        height: 2rem
    }

    #logo_text {
        font-size: .9rem;
        align-self: center
    }
}

* {
    font-family: 'Noto Sans TC',sans-serif
}

body {
    padding: 0
}

.border-pd {
    border: 10px solid #fff
}

.border-pd-half {
    border: 5px solid #fff
}

.plyr--audio .plyr__controls {
    border: 1px solid #ccc;
    border-radius: 1rem
}

.plyr {
    max-width: fit-content
}

.carousel-a {
    background-color: rgba(247,229,226,.85)
}

.carousel-b {
    background-color: rgba(246,229,169,.85)
}

.carousel-t {
    color: #70441c
}

video {
    /*width: 100%*/
}

#gotop {
    position: fixed;
    z-index: 90;
    right: 30px;
    bottom: 90px;
    display: none;
    width: 50px;
    height: 50px;
    color: #fff;
    background: #33b5e5;
    line-height: 50px;
    border-radius: 50%;
    transition: all .5s;
    text-align: center;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)
}

#subscription {
    position: fixed;
    z-index: 90;
    right: 30px;
    bottom: 30px;
    display: none;
    width: 50px;
    height: 50px;
    color: #fff;
    background: #33b5e5;
    line-height: 50px;
    border-radius: 50%;
    transition: all .5s;
    text-align: center;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    content: url(/lib/Images/bell.png);
}

#gotop:hover {
    background: #09C
}

#subscription:hover {
    background: #09C
}

footer a {
    padding-left: .625em;
    padding-bottom: .3125em;
    color: #fff
}

    footer a:hover {
        color: #ddd
    }

footer {
    padding-top: 1rem
}

.content {
    padding-top: 56px
}

.img-fluid {
    width: 100%;
    height: auto
}

video::-webkit-media-controls-enclosure {
    overflow: hidden
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px)
}

.navbar {
    background-color: #0a7389;
    padding: 0
}

.swiper-pagination-bullet-active {
    background: #fff
}

.frostedglass {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    margin: .5rem
}

.linear-blue {
    background: -webkit-linear-gradient(90deg,rgba(3,91,207,.9),rgba(14,157,183,.8));
    background: -o-linear-gradient(90deg,rgba(3,91,207,.9),rgba(14,157,183,.8));
    background: -moz-linear-gradient(90deg,rgba(3,91,207,.9),rgba(14,157,183,.8));
    background: linear-gradient(90deg,rgba(3,91,207,.9),rgba(14,157,183,.8))
}

.linear-orange {
    background: -webkit-linear-gradient(116deg,rgba(230,17,95),rgba(245,93,93));
    background: -o-linear-gradient(116deg,rgba(230,17,95),rgba(245,93,93));
    background: -moz-linear-gradient(116deg,rgba(230,17,95),rgba(245,93,93));
    background: linear-gradient(116deg,rgba(230,17,95,1),rgba(245,93,93,1))
}

.linear-light-blue {
    background: -webkit-linear-gradient(126deg,#11ace6,#08a182);
    background: -o-linear-gradient(126deg,#11ace6,#08a182);
    background: -moz-linear-gradient(126deg,#11ace6,#08a182);
    background: linear-gradient(126deg,#11ace6,#08a182)
}

.linear-purple-E {
    background-color: #17a2b8;
    color: #4D4264;
    border-radius: 3px;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.linear-purple-E2 {
    background-color: #ffffff;
    color: #4D4264;
    border-radius: 50px;
    border-width: 5px;
    border-style: solid;
    border-color: #17a2b8;
    padding-top: 0.2rem !important;
    padding-bottom: 0.1rem !important;
}

.linear-purple-D {
    background-color: #6495ed;
    color: #4D4264;
    border-radius: 3px;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.linear-purple-D2 {
    background-color: #ffffff;
    color: #4D4264;
    border-radius: 50px;
    border-width: 5px;
    border-style: solid;
    border-color: #6495ed;
    padding-top: 0.2rem !important;
    padding-bottom: 0.1rem !important;
}

.linear-purple-F {
    background-color: #9370db;
    color: #4D4264;
    border-radius: 3px;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.linear-purple-F2 {
    background-color: #ffffff;
    color: #4D4264;
    border-radius: 50px;
    border-width: 5px;
    border-style: solid;
    border-color: #9370db;
    padding-top: 0.2rem !important;
    padding-bottom: 0.1rem !important;
}

.linear-purple-C {
    background-color: #ff7f50;
    color: #4D4264;
    border-radius: 3px;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.linear-purple-C2 {
    background-color: #ffffff;
    color: #4D4264;
    border-radius: 50px;
    border-width: 5px;
    border-style: solid;
    border-color: #ff7f50;
    padding-top: 0.2rem !important;
    padding-bottom: 0.1rem !important;
}

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0
}

.checkbox-container {
    position: relative;
    padding-left: 30px;
    margin: 0 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0
    }

.checkmark {
    position: absolute;
    top: 4px;
    left: 0;
    height: 20px;
    width: 20px;
    border: 2px solid #6B6262
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #a29494
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block
}

.row {
    margin: 0
}

#sidebar {
    width: 300px;
    position: fixed;
    top: 0;
    left: -300px;
    height: 100vh;
    z-index: 999;
    background: #0A7389;
    color: #fff;
    transition: all .3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.2)
}

    #sidebar > div > div > ul > li > ul > li:nth-child(odd) {
        background-color: #088ba7
    }

    #sidebar > div > div > ul > li > ul > li:nth-child(even) {
        background-color: #1a9bb5
    }

    #sidebar.active {
        left: 0
    }

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #075161;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}

    #dismiss:hover {
        background: #fff;
        color: #7386D5
    }

.overlay {
    display: none;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 998;
    opacity: 0;
    transition: all .5s ease-in-out
}

    .overlay.active {
        display: block;
        opacity: 1
    }

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc
}

#sidebar ul.components {
    padding: 20px 0
}

#sidebar ul p {
    color: #fff;
    padding: 10px
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #fff
}

    #sidebar ul li a:hover {
        color: #0a7389;
        background: #fff
    }

#sidebar ul li.active > a, #sidebar
a[aria-expanded="true"] {
    color: #0a7389;
    background: #fff
}

a[data-toggle="collapse"] {
    position: relative
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    content: unset
}

ul ul a {
    font-size: .9em !important;
    padding-left: 30px !important
}

ul.CTAs {
    padding: 20px
}

    ul.CTAs a {
        text-align: center;
        font-size: .9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px
    }

a.download {
    background: #fff;
    color: #7386D5
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important
}

#sidebar [data-toggle="collapse"]:after {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    font-size: .875em;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all linear .25s;
    transform: rotate(90deg);
    float: right
}

#sidebar [data-toggle="collapse"].collapsed:after {
    transform: rotate(0deg)
}

[name="accordion-link"] [data-toggle="collapse"]:after {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0da";
    font-size: .875em;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all linear .25s;
    transform: rotate(90deg);
    margin-left: .3em
}

[name="accordion-link"] [data-toggle="collapse"].collapsed:after {
    transform: rotate(0deg)
}

#accordion-index a {
    color: #6B5086;
    margin-top: .125em;
    padding-top: .3125em;
    padding-left: .3125em
}

#accordion-index li {
    color: #6B5086;
    padding-bottom: .625em;
    padding-left: .3125em
}

#index-link a {
    padding-left: .625em;
    padding-bottom: .625em;
    color: #6B5086
}

#index-link li {
    padding-bottom: .625em;
    color: #6B5086
}

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all .3s;
    position: absolute;
    top: 0;
    right: 0
}

.show > .dropdown-menu {
    display: block;
    position: relative;
    -webkit-animation: fadeIn .3s;
    animation: fadeIn .3s
}

@keyframes fadeIn {
    from {
        top: 1px;
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.modal-backdrop {
    opacity: .8 !important
}

.badge {
    font-weight: unset
}

a:focus {
    outline-width: 5px;
    outline-style: groove;
    outline-color: red;
}

/*a {
    display: block
}*/