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

body {
    padding-top: 166px;/*230px*/
    padding-bottom: 125px;
    /*background-image: url("/static/imgs/bg1.jpg");*/
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: right top;
    background-attachment: fixed;
    line-height: 2;
}

@media (min-width: 768px) {
    body {
        padding-top: 166px;
    }
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

body, input, button, select, textarea {
    font-family: "Noto Sans TC", "Helvetica Neue", Helvetica, Arial, "微軟正黑體", "微软雅黑", "メイリオ", "맑은 고딕", sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Noto Sans TC", "Helvetica Neue", Helvetica, Arial, "微軟正黑體", "微软雅黑", "メイリオ", "맑은 고딕", sans-serif;
}

a, .btn-link {
    color: #0056b3;
}

    a:hover, .btn-link:hover {
        color: #007bff;
        text-decoration: none;
    }

.disabled {
    background-color: #fff !important;
    border: none;
    color: #212529;
}

.bg-orange {
    background-color: #FF8400 !important;
}

.btn-orange {
    color: #fff;
    background-color: #FF8400;
    border-color: #FF8400;
}

    .btn-orange:hover {
        color: #fff;
        background-color: #f16100;
        border-color: #e45c00;
    }

    .btn-orange:focus, .btn-orange.focus {
        color: #fff;
        background-color: #f16100;
        border-color: #e45c00;
        -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 138, 59, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(255, 138, 59, 0.5);
    }

    .btn-orange.disabled, .btn-orange:disabled {
        color: #fff;
        background-color: #FF7518;
        border-color: #FF7518;
    }

    .btn-orange:not(:disabled):not(.disabled):active, .btn-orange:not(:disabled):not(.disabled).active,
    .show > .btn-orange.dropdown-toggle {
        color: #fff;
        background-color: #e45c00;
        border-color: #d75700;
    }

        .btn-orange:not(:disabled):not(.disabled):active:focus, .btn-orange:not(:disabled):not(.disabled).active:focus,
        .show > .btn-orange.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 138, 59, 0.5);
            box-shadow: 0 0 0 0.2rem rgba(255, 138, 59, 0.5);
        }

[contentEditable=true]:empty:not(:focus):before {
    content: attr(data-text)
}

.blog-title {
    background-color: #ffffff;
}

.cover-img-top {
    display: block;
    margin: 0 auto;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

.newarticle,
.newparagraph,
.newfeature,
.newstore {
    border: 2px dashed #DFDFDF;
    border-radius: 0.25rem;
    background-color: #fff;
    background-clip: border-box;
    color: #6C757D;
    text-align: center !important;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    padding-bottom: .5rem;
    cursor: pointer;
}

    .newarticle:hover,
    .newparagraph:hover,
    .newfeature:hover,
    .newstore:hover {
        border: 2px dashed #0B85A1;
    }

.newfeature {
    width: 50%;
    margin-left: 1.5rem;
    padding-top: .25rem;
    padding-bottom: 0;
}

.newstore {
    padding-top: .5rem;
    padding-bottom: 0;
}

.post {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
    padding-left: .25rem;
    padding-right: .25rem;
}

.post-header {
    position: relative;
    padding-top: .75rem;
    padding-bottom: .25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin-bottom: 0;
}

    .post-header:first-child {
        border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
    }

.post-title {
    padding: 0;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: .25rem;
    color: #343a40;
}

.post-header h6 {
    color: #e6a03c;
    padding: 0 1px;
}

.post-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
    padding-top: .25rem;
}

    .post-body .textarea {
        height: auto;
        min-height: 166px;
        outline: 0;
        overflow: auto;
    }

    .post-body button {
        position: absolute;
        right: 0;
    }

    .post-body div,
    .post-body p
    {
        text-align: justify;
        text-justify: inter-ideograph;
        /*margin-top: 1rem!important;*/
    }

.post-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

    .post-footer:last-child {
        border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
    }

.post-func {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    cursor: pointer;
}

    .post-func .fas {
        font-size: 1.5rem;
        padding-left: .5rem;
    }

.mask::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.25);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.mask::after {
    content: "";
    position: absolute;
    border-width: 3px;
    border-style: solid;
    border-color: transparent rgb(255, 255, 255) rgb(255, 255, 255);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    animation: 2s linear 0s normal none infinite running spin;
    filter: drop-shadow(0 0 2 rgba(0, 0, 0, 0.33));
    z-index: 99;
}

.article {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
    padding-left: .25rem;
    padding-right: .25rem;
}

    .article i.fa-tags {
        font-size: 1rem;
        cursor: pointer;
    }

.article-header {
    padding-top: .75rem;
    padding-bottom: .25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin-bottom: 0;
}

    .article-header:first-child {
        border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
    }

.article-title {
    padding: 0;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: .25rem;
    color: #343a40;
}

.article-header h6 {
    color: #e6a03c;
    padding: 0 1px;
}

.article-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding-top: .25rem;
    padding-bottom: 1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

    .article-body > * {
        margin-bottom: 1.25rem;
    }

    .article-body h5 {
        color: #8CCC0D;
    }

    .article-body div,
    .article-body p {
        text-align: justify;
        text-justify: inter-ideograph;
    }

    .article-body > div > div {
        /*margin-top: 1rem;*/
    }

.article-feature {
    /*font-size: .75rem;*/
}

    .article-feature input {
        display: inline-block;
        width: 50%;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #212529;
        margin-left: .75rem;
        margin-bottom: .25rem;
    }

    .article-feature i.fa-times {
        margin-left: 1rem;
        font-size: 1rem;
        cursor: pointer;
    }

.article-thumb {
    margin-bottom: 1.25rem;
}

.article-paragraph {
    position: relative;
    margin-bottom: 1.25rem;
}

    .article-paragraph input {
        font-size: 1.25rem;
        font-weight: 500;
        line-height: 1.5;
        margin-bottom: .25rem;
        width: 90%;
        color: #8CCC0D;
    }

    .article-paragraph .textarea {
        height: auto;
        min-height: 100px;
        outline: 0;
        overflow: auto;
    }

    .article-paragraph i.fa-times {
        position: absolute;
        top: 6px;
        right: 6px;
        font-size: 1.5rem;
        cursor: pointer;
    }

.article-store {
    position: relative;
    margin-bottom: .25rem;
}

    .article-store i.fa-times {
        font-size: 1.5rem;
        line-height: 1.5;
        cursor: pointer;
    }

.article-tags {
    margin-bottom: 1.25rem;
}

.article-footer {
    padding: 0.75rem 1.25rem;
}

    .article-footer:last-child {
        border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
    }

    .article-footer > * {
        margin-bottom: 1.25rem;
    }

.article a:hover {
    text-decoration: none;
}

.article-share {
    text-align: right
}

.article-tags > span {
    margin: 0.25rem;
    padding: 0.25rem 0.5rem;
    background-color: #DADADA;
    border-radius: 0.15rem;
    font-size: 0.75em;
    font-weight: 400;
    cursor: pointer;
    color: #343a40;
}

.page-link {
    color: #0056b3;
}

.ytsubscribe {
    
}

.counter {
    padding: 20px 0;
}

.count-title {
    font-size: 30px;
    font-weight: normal;
    margin: 0;
    text-align: center;
}

.count-text {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
    text-align: center;
}

.tags {
}

.tag {
    margin-bottom: .25rem;
}

    .tag input {
        display: inline-block;
        border: none;
    }

    .tag .fa-check {
        cursor: pointer;
        font-size: 1.5rem;
        color: #28a745;
        display: none;
    }

    .tag .fa-times {
        cursor: pointer;
        font-size: 1.5rem;
    }

/*Social Media ICON*/
.article-share i.fab {
    font-size: 1.5em;
    margin-right: 0.5em;
    cursor: pointer;
}

i.fa-comment-edit {
}

i.fa-toggle-on {
    color: #28a745;
}

i.fa-toggle-off {
    color: #dc3545;
}

i.fa-times-circle {
    color: #dc3545;
}

i.fa-times {
    color: #6c757d;
}

i.fa-facebook {
    color: #3A5795;
}

i.fa-line {
    color: #1CBD21;
}

i.fa-twitter-square {
    color: #00A6E8;
}

i.fa-instagram {
    color: transparent;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background-clip: text;
    -webkit-background-clip: text;
}

i.fa-user-circle {
    color: #CCCCCC;
}

#pagination {
    clear: both;
    /*margin: 5px 0 5px 225px;*/
    margin: 0px auto;
    text-align: center;
}

ul.pagination {
    margin: 4px 0;
    padding: 0px;
    height: 100%;
    overflow: hidden;
    font: 12px 'Arial';
    list-style-type: none;
    display: inline-block;
}

    ul.pagination li {
        float: left;
        margin: 0px;
        padding: 0px;
        margin-left: 5px;
    }

        ul.pagination li:first-child {
            margin-left: 0px;
        }

        ul.pagination li a {
            color: black;
            display: block;
            text-decoration: none;
            padding: 7px 10px 7px 10px;
        }

            ul.pagination li a img {
                border: none;
            }

/* C */
ul.paginationC li a {
    color: #707070;
    background: #FFFFFF;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border: solid 1px #DCDCDC;
    padding: 6px 9px 6px 9px;
}

ul.paginationC li {
    padding-bottom: 1px;
}

    ul.paginationC li a:hover,
    ul.paginationC li a.current {
        color: #FFFFFF;
        box-shadow: 0px 1px #EDEDED;
        -moz-box-shadow: 0px 1px #EDEDED;
        -webkit-box-shadow: 0px 1px #EDEDED;
    }

/* 02 */
ul.paginationC02 li a:hover,
ul.paginationC02 li a.current {
    text-shadow: 0px 1px #388DBE;
    border-color: #3390CA;
    background: #58B0E7;
    background: -moz-linear-gradient(top, #B4F6FF 1px, #63D0FE 1px, #58B0E7);
    background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0.02, #B4F6FF), color-stop(0.02, #63D0FE), color-stop(1, #58B0E7));
}


/* for Google AdSense */
ins.adbanner {
    display: inline-block;
    width: 460px;
    height: 60px
}

@media (min-width: 576px) {
    ins.adbanner {
        display: inline-block;
        width: 460px;
        height: 60px
    }
}

@media (min-width: 768px) {
    ins.adbanner {
        display: inline-block;
        width: 400px;
        height: 60px
    }
}

@media (min-width: 992px) {
    ins.adbanner {
        display: inline-block;
        width: 560px;
        height: 75px
    }
}

@media (min-width: 1200px) {
    ins.adbanner {
        display: inline-block;
        width: 680px;
        height: 90px
    }
}

ins.adblock {
    display: inline-block;
    width: 300px;
    height: 250px
}

@media (min-width: 576px) {
    ins.adblock {
        display: inline-block;
        width: 180px;
        height: 180px
    }
}

@media (min-width: 768px) {
    ins.adblock {
        display: inline-block;
        width: 200px;
        height: 200px
    }
}

@media (min-width: 992px) {
    ins.adblock {
        display: inline-block;
        width: 250px;
        height: 250px
    }
}

@media (min-width: 1200px) {
    ins.adblock {
        display: inline-block;
        width: 336px;
        height: 280px
    }
}

ins.adhead {
    display: inline-block;
    width: 328px;
    height: 60px;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    margin-top: 0.25rem
}

@media (min-width: 576px) {
    ins.adhead {
        display: inline-block;
        width: 328px;
        height: 60px;
    }
}

@media (min-width: 768px) {
    ins.adhead {
        display: inline-block;
        width: 208px;
        height: 90px
    }
}

@media (min-width: 992px) {
    ins.adhead {
        display: inline-block;
        width: 288px;
        height: 90px
    }
}

@media (min-width: 1200px) {
    ins.adhead {
        display: inline-block;
        width: 348px;
        height: 90px
    }
}
    
