/* @import url(//fonts.googleapis.com/earlyaccess/notosanstc.css); */

html, body {
    /* font-family: 'Noto Sans TC', sans-serif; */
    font-family: "MHeiHK", "Helvetica", "Arial", "LiHei Pro", "黑體-繁", "微軟正黑體", sans-serif !important;
    font-size: 1rem;
    height: 100%;
}

.pagebody {
    position: relative;
    min-height: 100%;
}

.brand-logo img {
    margin-top: 6px;
    height: 48px;
}

.nav-bg-color {
    background-color: #2669B1 !important;
}

.footer-bg-color {
    background-color: #ea7a14 !important;
}

.header {
    position: relative;
}

.header-image {
    /* position: absolute;
    top: 0;
    left: 0;
    right: 0; */
    height: 260px;
    background-image: url(/static/image/banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-bottom: 4px solid #F8B713;
    z-index: -1;
}

.header-content {
    width: fit-content;
    height: 100%;
    /* margin: 0 auto; */
    /* text-align: center; */
    padding: 4rem 0;
}

.header-title {
    /* background-color: #00B1EB; */
    font-size: 3rem;
    letter-spacing: 0.5rem;
    padding: 8px;
    font-family: "MHeiHKB", "Helvetica", "Arial", "LiHei Pro", "黑體-繁", "微軟正黑體", sans-serif !important;
}

.header-text {
    /* background-color: #00B1EB; */
    font-size: 1.8rem;
    padding: 0 8px;
    font-family: "MHeiHKB", "Helvetica", "Arial", "LiHei Pro", "黑體-繁", "微軟正黑體", sans-serif !important;
    width: fit-content;
}

.header-title, .header-text {
    /* position: relative; */
}

.header-title::after {
    content: '';
    position: absolute;
    height: 0px;
    width: 100px;
    margin-left: -50px;
    left: 50%;
    bottom: -0.5rem;
    background: #D4D5D9;
}

.week-item .image, .article-item .image {
    height: 160px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.article-item .image {
    height: 200px;
}

.article-item .card-title {
    padding: 10px !important;
    width: 100%;
    /* background-color: rgba(1, 1, 1, 0.4); */
    /* box-shadow: 0 -10px 10px -10px #000; */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0) 100%);
}

/* .article-item .card-title:before {
    
} */

.week-item h5 {
    margin: 0;
    padding: 0.5rem;
}

.post-content {
    padding: 1rem 0;
    text-align: justify;
}

.post-content p {
    font-weight: 300;
    font-size: 1.3rem;
}

.share-margin {
    margin-right: 0.5rem;
}

.share-icon {
    height: 32px;
    margin: 0 0.4rem;
}

.section-before-footer {
    padding-bottom: 4rem;
}

.page-footer {
    position: absolute;
    min-height: 32px;
    padding: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.page-footer .footer-copyright {
    display: inline;
}

.footer-inner {
    padding: 7px 2rem;
    font-size: 0.8rem;
}

.mb {
    margin-bottom: 2rem;
}

.btn, .btn-large, .btn-small {
    background-color: #2669B1;
}

.btn:hover, .btn-large:hover, .btn-small:hover {
    background-color: #ea7a14;
}

/* Shared */

.loginBtn {
    box-sizing: border-box;
    position: relative;
    width: 12rem;
    margin: 0.2em;
    padding: 0 15px 0 46px;
    border: none;
    text-align: left;
    line-height: 34px;
    white-space: nowrap;
    border-radius: 0.2em;
    font-size: 16px;
    color: #FFF;
}

.loginBtn:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 100%;
}

.loginBtn:focus {
    outline: none;
}

.loginBtn:active {
    box-shadow: inset 0 0 0 32px rgba(0, 0, 0, 0.1);
}

/* Facebook */

.loginBtn--facebook {
    background-color: #4C69BA;
    background-image: linear-gradient(#4C69BA, #3B55A0);
    /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
    text-shadow: 0 -1px 0 #354C8C;
}

.loginBtn--facebook:before {
    border-right: #364e92 1px solid;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_facebook.png') 6px 6px no-repeat;
}

.loginBtn--facebook:hover, .loginBtn--facebook:focus {
    background-color: #5B7BD5;
    background-image: linear-gradient(#5B7BD5, #4864B1);
}

/* Google */

.loginBtn--google {
    /*font-family: "Roboto", Roboto, arial, sans-serif;*/
    background: #DD4B39;
}

.loginBtn--google:before {
    border-right: #BB3F30 1px solid;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_google.png') 6px 6px no-repeat;
}

.loginBtn--google:hover, .loginBtn--google:focus {
    background: #E74B37;
}

@media only screen and (max-width: 600px) {
    .header-title {
        font-size: 2.8rem;
        letter-spacing: 0.2rem;
        padding: 4px;
    }

    .header-text {
        font-size: 1.6rem;
        padding: 0 4px;
    }
}

/* @media only screen and (min-width: 992px) {
    .header-title {
        background-color: #00B1EB;
    }

    .header-text {
        background-color: #00B1EB;
    }
} */
