@charset "UTF-8";
.slogan {
    position: absolute;
    opacity: 0;
}

.chapterBox {
    background-color: #f5f5f5 !important;
}

.waterfall {
    width: 100%;
    column-count: 3;
    column-gap: 10px;
}

.waterfall .item {
    display: block;
    padding: 10px;
    padding-bottom: 20px;
    break-inside: avoid;

}

.waterfall .item a {
    display: block;
}

.waterfall .item img {
    width: 100%;
}


.workTxt .title {
    font-family: 'Noto Serif TC', serif;

    display: flex;
    align-items: center;
    margin: 10px 0;
    padding-bottom: 20px;
    color: #333;
    border-bottom: 1px solid rgba(219, 219, 219, 0.534);

}

.workTxt .title small {
    border: 1px solid #999;
    font-size: 0.7rem;
    color: #999;
    padding: 3px;
    margin-right: 10px;
}


.waterfall .item:hover {
    background-color: #fff;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    transition: all 0.5s;
}

.waterfall .item.disabled {
    pointer-events: none;
    text-align: justify;
}

@media (min-width: 991px) {
    main {
        padding-top: calc(60px + 5%);
    }
}

@media (max-width:991px) {
    .waterfall {
        width: 100%;
        column-count: 2;
        column-gap: 10px;
        padding-top: 240px;
    }

    .waterfall .item.disabled {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
    }
}

.topArea {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    z-index: 1;
    background-color: #fff;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #f2f2f2;

}

.SearchBox {
    display: flex;
}

.SearchBox .form-control {
    border: none;
    border-left: 1px solid #f2f2f2;
    border-radius: 0;
    padding-left: 20px;
    height: 100%;
}


.SearchBox .form-control:focus {
    border-color: #f2f2f2;
    box-shadow: none;
}

.SearchBox .btnSearch {
    width: 60px;
    height: 100%;
    border: none;
    background: transparent;
}

.advancedSearch {
    padding: 20px 50px;
    padding-right: calc(50px + 60px);
    background-color: #17153E;
    color: #fff;
}


.advancedSearch::after {
    position: absolute;
    right: 0;
    top: 0;
    content: '';
    background-image: url(../images/icon-sliders.svg);
    width: 60px;
    height: 100%;
    background-color: #0c0a2b;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 27px 22px;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.ClassList {
    display: flex;
    margin-bottom: 3rem;
    justify-content: flex-end;
}

.ClassList a {
    padding: 0 10px 10px;
    font-size: 14px;
    letter-spacing: .05em;
    color: #333;
}

.ClassList a:hover,
.ClassList a.active {
    color: var(--light-color) !important;
    border-bottom: 2px solid var(--light-color);
}

.ClassList li:not(:last-child) a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 6px;
    width: 1px;
    height: 10px;
    background-color: #cfd0d1;
}



.fancybox-content {
    width: 100%;
    max-width: 820px;
    height: 85vh;

    padding-top: 10%;
}




.filterTopTitle {
    width: 100%;
    font-size: 20px;
    letter-spacing: .05em;
    color: #1a1a1a;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--light-color);
}

.form-check-input[type=radio] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
    cursor: pointer;
}

.form-check-input:checked[type=radio] {
    background: transparent;
    z-index: 10;
}


.form-check-input:checked,
.form-check-input:hover {
    background-color: transparent;
    border-color: var(--light-color);
}



.form-check-input:focus {
    box-shadow: none;
    border-color: var(--light-color);

}

.form-check-input:hover[type=radio]+label,
.form-check-input:checked[type=radio]+label,
.form-check-input:focus[type=radio]+label {
    color: var(--light-color);
}

.form-check-input+label {
    pointer-events: none;
}

.form-check {
    padding: 0;
    margin: 0;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    letter-spacing: .05em;
    color: #333;
    cursor: pointer;
}


.filterBox {
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f2f2f2;
}

.fancybox-button.fancybox-close-small {
    background-color: var(--light-color);
}


@media (max-width:991px) {
    .topArea {
        top: auto;
        bottom: 0;
        width: 100%;
    }

    .SearchBox .form-control {
        padding: 5px;
    }

    .advancedSearch {
        padding: 15px 20px;
        padding-right: calc(20px + 60px);
        white-space: nowrap;
    }

    .topArea {
        justify-content: space-between;
        border-top: 1px solid #eee;
    }

    .fancybox-content {
        min-height: 100vh;
    }

    .fancybox-button.fancybox-close-small {
        position: fixed;
        right: 0;
        top: 0;
        opacity: 1;
    }

    .fancybox-slide--html {
        padding: 0;
    }

    #workFilterBox .btn-primary {
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .workTxt .title {
        align-items: flex-start;
        flex-direction: column;
    }
    .workTxt .title small{
        font-size: 0.7rem;
    }
    .workTxt .title span{
        font-size: 1.1rem;
        line-height: 1.5;
    }
}