@charset "UTF-8";

body {
    font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
    line-height: 1.5;
    letter-spacing: 1px;
}

*:focus {
    box-shadow: none !important;
    outline: none !important;
}

@media (max-width: 991px) {
    body.mfp-zoom-out-cur {
        height: 100vh;
        overflow: hidden;
    }
}

.row .column,
.row .block {
    line-height: 1.85;
}

.row .block {
    margin-bottom: 1rem;
}

.row .block.image-block img {
    width: 100%;
}

/*
.row .block table,
.row .column table {
    border-collapse: separate;
    border-spacing: 5px;
    border: 0;
}

@media (min-width: 1025px) {

    .row .block table,
    .row .column table {
        max-width: 100%;
    }
}

.row .block table tr td,
.row .block table tr th,
.row .column table tr td,
.row .column table tr th {
    padding: 5px;
    border: 0;
}

.row .block table tr th,
.row .column table tr th {
    color: #fff;
    font-weight: bold;
    background-color: #00479D;
}

.row .block table tr td,
.row .column table tr td {
    background-color: #f3f3f3;
}

.row .block table tr td:first-child,
.row .column table tr td:first-child {
    color: #063671;
    background-color: #E9F3FF;
}
    */

.row img {
    max-width: 100% !important;
    height: auto !important;
}

.mobile-navbar-overlay {
    z-index: 1;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.4);
}

.no-scroll {
    overflow-y: hidden;
}

/* Page Loading */
.page-loading {
    position: fixed;
    z-index: 1099;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 81px;
    height: 72px;
}

/* Transparent Overlay */
.page-loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.page-loading:not(:required) {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.page-loading:not(:required):after {
    content: '';
    display: block;
    font-size: 20px;
    width: 80px;
    height: 80px;
    margin-top: -0.5em;
    border: 6px solid #001372;
    border-radius: 100%;
    border-bottom-color: transparent;
    -webkit-animation: spinner 1s linear 0s infinite;
    animation: spinner 1s linear 0s infinite;
}

/* Loading Animation */
@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.mob-show {
    display: none;
}

@media (max-width: 991px) {
    .mob-show {
        display: block !important;
    }

    .mob-hidden {
        display: none !important;
    }
}

.content-toc {
    display: inline-block;
    background: #f9f9f9;
    border: 1px solid #aaa;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 1rem;
    
}
.content-toc .toc-header {
    display: flex;
    justify-content: space-between;
}

.content-toc .toc-title {
    font-weight: bold;
    font-size: 20px;
}

.content-toc .toc-toggle {
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20%3F%3E%3Csvg%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20width%3D%2248%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6%2018h28v-4h-28v4zm0%208h28v-4h-28v4zm0%208h28v-4h-28v4zm32%200h4v-4h-4v4zm0-20v4h4v-4h-4zm0%2012h4v-4h-4v4z%22%2F%3E%3Cpath%20d%3D%22M0%200h48v48h-48z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E') no-repeat center center;
    background-size: cover;
    border: solid 1px #d0d0d0;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

.content-toc > ul {
    transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    overflow: hidden;
    margin-top: 10px;
}

.content-toc > ul.hide {
    width: 0 !important;
    height: 0 !important;
    margin: 0;
}

.content-toc ul {
    list-style: none none;
    padding: 0;
    counter-reset: item;
}

.content-toc ul li a {
    color: #585858;
}

.content-toc ul li a::before {
    content: counters(item, ".") ". ";
    display: inline-block;
    counter-increment: item;
    margin-right: .2em;
}

.content-toc ul ul {
    margin-left: 1.5em;
}

.privacy-div {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    display: none;
}

.layui-layer.privacy {
    background: rgba(0, 0, 0, 0);
}

@media (min-width: 1200px) {
    .privacy-div .container {
        max-width: 1140px;
    }
}