body {
    font-family: "roboto", noto sans tc, "蘋方-繁", 思源黑體 tc, 思源黑體 tw,
        思源黑體, 微軟正黑體, 繁黑體, microsoft jhenghei, lato, arial,
        segoe ui emoji, segoe ui symbol, 新細明體, sans-serif;
    background-color: #fff;
    font-size: 1rem;
    font-display: swap;
}

h1 {
    font-weight: bold;
}

h3 {
    font-weight: normal;
}

img {
    max-width: 100% !important;
    height: auto !important;
}

a,
a:hover,
a:active {
    text-decoration: none;
}

/* text-color */
.text-default {
    color: #911c2d !important;
}

.text-default1 {
    color: #f26f25 !important;
}

.text-night-blue {
    color: #171c60 !important;
}

.text-facebook {
    color: #0866ff !important;
}

.text-instagram {
    color: #d800ba !important;
}

.text-youtube {
    color: #ff0033 !important;
}

/* bg-color */

.bg-night-blue {
    background-color: #171c60 !important;
}

.bg-f1f1f1 {
    background-color: #f1f1f1 !important;
}

.bg-f6f6f6 {
    background-color: #f6f6f6 !important;
}

.bg-black {
    background-color: #000 !important;
}

.bg-999 {
    background-color: #999 !important;
}

/* nav */
.nav-item {
    margin-left: 15px;
    margin-right: 15px;
}

/* border */
.border-5px {
    border-width: 5px !important;
}

.border-eee {
    border-color: #eee !important;
}

/* color and bg for site */

.bg-default {
    background-color: #911c2d !important;
}

/* color and bg color for cat */

.header-with-bottom {
    height: 2px;
    background-color: #e1e1e1;
}

.header-with-bottom-brave-red {
    width: 110px;
    height: 3px;
    background-color: #c30d23;
}

.header-with-bottom-brave-yellow {
    width: 110px;
    height: 3px;
    background-color: #ffff00;
}

.header-with-bottom-brave-sky {
    width: 110px;
    height: 3px;
    background-color: #0099ff;
}

.header-with-bottom-brave-green {
    width: 110px;
    height: 3px;
    background-color: #00d100;
}

.header-with-bottom-brave-gold {
    width: 110px;
    height: 3px;
    background-color: #d1b000;
}

/* btn */
.btn-ncku {
    color: #fff;
    background-color: #911d2e;
    border-color: #911d2e
}

.btn-ncku:hover {
    color: #fff;
    background-color: #650d1a;
    border-color: #650d1a
}

.btn-ncku.focus,
.btn-ncku:focus {
    color: #fff;
    background-color: #650d1a;
    border-color: #650d1a;
    box-shadow: 0 0 0 .2rem rgba(38, 143, 255, .5)
}

.btn-ncku.disabled,
.btn-ncku:disabled {
    color: #fff;
    background-color: #911d2e;
    border-color: #911d2e
}

.btn-ncku:not(:disabled):not(.disabled).active,
.btn-ncku:not(:disabled):not(.disabled):active,
.show>.btn-ncku.dropdown-toggle {
    color: #fff;
    background-color: #650d1a;
    border-color: #650d1a
}

.btn-ncku:not(:disabled):not(.disabled).active:focus,
.btn-ncku:not(:disabled):not(.disabled):active:focus,
.show>.btn-ncku.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(38, 143, 255, .5)
}

.btn-outline-default {
    color: #911d2e !important;
    border-color: #911d2e !important;
}

.btn-outline-default:hover,
.btn-outline-default:active {
    color: #fff !important;
    background-color: #911d2e !important;
}

/* btn-purple */
.text-purple {
    color: #7266ba !important;
}

.border-purple {
    border: 1px solid #7266ba !important;
}

.btn-purple {
    background-color: #7266ba !important;
    border: 1px solid #7266ba !important;
    color: #ffffff !important;
}

.btn-purple.focus,
.btn-purple:focus {
    -webkit-box-shadow: 0 0 0 2px rgba(114, 102, 186, 0.5);
    box-shadow: 0 0 0 2px rgba(114, 102, 186, 0.5);
}

/* sticky */

#header-sticky {
    max-width: none !important;
}

#header-sticky .nav-link {
    opacity: 1;
}

#header-sticky.affix-top {
    position: fixed;
    z-index: 99;
    top: 0;
    background: #fff;
    display: block;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 5px;
}

#header-sticky.affix-top .nav-link {
    opacity: 0.7;
}

img.header-logo {
    margin-top: 10px;
}

#header-sticky.affix-top img.header-logo {
    margin-top: 4px;
    margin-bottom: 5px;
    width: 120px;
}

/*======================= SCROLL TO TOP =======================*/

#back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: none;
}

#back-top a {
    width: 50px;
    height: 50px;
    line-height: 47px;
    display: block;
    text-align: center;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: none;
    text-decoration: none;
    color: #464646;
    border-radius: 50%;
    border: 3px solid #e3e3e3;
    background: #fff;
    font-weight: bold;
    /* transition */
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: 0.2s;
}

#back-top a:hover {
    border: 3px solid #464646;
}

/* royalslider */

#full-width-slider {
    width: 100%;
    overflow: hidden;
}

.coloredBlock {}

.color-black-gradient {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 60%,
            rgba(0, 0, 0, 0.5) 80%,
            rgba(0, 0, 0, 0.8) 100%);
}

.infoBlock {
    position: absolute;
    z-index: 2;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    text-shadow: rgba(0, 0, 0, 0.8) 2px 1px 2px;
    padding: 20px 25px 30px 25px;
    overflow: hidden;
    font-family: "Microsoft YaHei", "roboto", "Open Sans Light", "Open Sans",
        sans-serif;
}

.infoBlockLeftBlack {
    color: #fff;
    background: none;
}

.infoBlock h4 {
    font-size: 46px;
    font-weight: bold;
    line-height: 135%;
    margin: 0;
    padding-bottom: 3px;
}

.infoBlock p {
    font-size: 28px;
    margin: 4px 0 0;
    line-height: 135%;
}

.infoBlock a {
    color: #fff;
    text-decoration: underline;
}

.photosBy {
    position: absolute;
    line-height: 24px;
    font-size: 12px;
    background: #fff;
    color: #000;
    padding: 0px 10px;
    position: absolute;
    left: 12px;
    bottom: 12px;
    top: auto;
    border-radius: 2px;
    z-index: 25;
}

.photosBy a {
    color: #000;
}

.fullWidth {
    margin: 0 auto 0 auto;
}

@media screen and (min-width: 960px) and (min-height: 660px) {
    #full-width-slider {
        /* height: 520px !important;  */
    }
}

@media screen and (min-width: 960px) and (min-height: 1000px) {
    #full-width-slider {
        height: 660px !important;
    }
}

/*
@media screen and (min-width: 0px) and (max-width: 800px) {
    #full-width-slider {
        height: 400px !important;
    }

    .infoBlock {
        padding: 10px;
        height: auto;
        max-height: 100%;
        min-width: 40%;
        right: 5px;
        bottom: 5px;
        left: auto;
        font-size: 12px;
    }

    .infoBlock h4 {
        font-size: 32px;
        font-weight: normal;
        letter-spacing: 0;
        line-height: 130%;
    }

    .infoBlock p {
        font-size: 20px;
    }

    .left-top,
    .left-bottom,
    .right-top,
    .right-bottom,
    .center {
        top: auto;
        bottom: 10px;
        left: 7px;
        right: 0;
    }
}
*/

@media screen and (max-width: 576px) {
    .infoBlock {
        padding: 10px;
        height: auto;
        max-height: 100%;
        min-width: 40%;
        right: 5px;
        bottom: 5px;
        left: auto;
        font-size: 16px;
    }

    .infoBlock h4 {
        font-size: 24px;
    }
}

.slider-prev,
.slider-next {
    position: absolute;
    z-index: 999;
    top: 50%;
    font-size: 40px;
    line-height: 40px;
    margin-top: -20px;
    color: #fff;
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

/* shadow */

.text-shadow-none {
    text-shadow: none;
}

/* font family */

.font-adobe-song-std {
    font-family: "Adobe Song Std";
}

.font-yahei {
    font-family: "Microsoft YaHei" !important;
}

/* pagination */

.page-link {
    margin-left: 5px;
    color: #171c60;
    border: 1px solid #ccc;
    font-weight: bold;
}

.page-item.active .page-link {
    background-color: #171c60;
    border-color: #171c60;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* content */

.content {
    font-size: 16px;
    line-height: 160%;
}

.content h2 {
    font-size: 28px;
    margin-bottom: 1.5rem;
}

.content h3 {
    font-size: 19px;
}

.content p {
    margin-bottom: 24px;
}

.content img {
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 2px;
}

@media (max-width: 576px) {

    .content img,
    .content iframe {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }
}

@media (min-width: 576px) {

    .content img,
    .content iframe {
        width: 100%;
    }
}

/* vert carousel */

.vert .carousel-item-next.carousel-item-left,
.vert .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.vert .carousel-item-next,
.vert .active.carousel-item-right {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100% 0);
}

.vert .carousel-item-prev,
.vert .active.carousel-item-left {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.form-group {
    margin-bottom: 15px;
}