﻿@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Prompt');

:root {
    --main-color: #2f2f2f;
    --limeGreen: #80b034;
    --cactusGreen: #387049;
    --darkGreen: #184f37;
    --dayGreen: #679e83;
    --dayGreenActive: #5eb448;
    --warningColor: #ff5959;
    --bgGreen: #eff5f1;
    --bgGreenRGBA: rgba(240, 246, 242, 0.4);
    --lineColor: #dbdbdb;
    --fontSet: Prompt, Verdana, Arial, 'Noto Sans TC', 'Microsoft JhengHei', PingFangTC, sans-serif;
    --fontSysSet: Verdana, Arial, 'Microsoft JhengHei', PingFangTC, sans-serif;
}

#tinymce table thead {
    --fontSet: Prompt, Verdana, Arial, 'Microsoft JhengHei', PingFangTC, sans-serif;
}


#tinymce {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fontSet);
    outline: none;
}



.imgBox {
    max-width: 760px;
}

    .imgBox img {
        border-radius: 8px;
    }

img.emoji {
    width: auto;
    max-width: 1.5em !important;
    height: 1.5em;
    display: inline-block;
    margin: auto 0.25em;
}

.cactusGreen {
    background: var(--cactusGreen);
}

.greenLine {
    width: 5em;
    height: 2px;
    margin: auto 0.5em;
    border-width: 0;
    color: gray;
    background: var(--limeGreen);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

#tinymce table {
    width: 100%;
    font-size: 16px;
    margin: 1em auto;
    border-radius: 2px;
    table-layout: fixed;
}

    #tinymce table thead td,
    #tinymce table th {
        text-align: center;
        padding: 1em 2px;
        background-color: var(--darkGreen);
        color: #FFFFFF;
    }

    #tinymce table td {
        padding: 0.5em 2px;
        word-break: break-all;
        white-space: normal;
    }

        #tinymce table td > div.alert-warning {
            font-size: 13px;
        }

    #tinymce table.table-bordered {
        border-collapse: collapse;
        border: 2px solid #b4b4b4;
    }

        #tinymce table.table-bordered th,
        #tinymce table.table-bordered thead td,
        #tinymce table.table-bordered td {
            border: 1px solid #b4b4b4;
        }

    #tinymce table.table-Borderless {
        border-collapse: separate;
        border: none;
        border-spacing: 3px;
    }


#tinymce article p {
    text-indent: 2.25em;
    text-align: justify;
}

#tinymce article .contVodIframe {
    max-width: 900px;
    margin: 2% auto;
    clear: both;
}

/*#region jumbotron */
.jumbotron {
    padding: 1em 3px;
    line-height: 1.5em;
    margin-bottom: 1em;
}

    .jumbotron .btnBox {
        width: 100%;
        max-width: 600px;
        margin: auto;
    }

    .jumbotron h3 {
        font-size: 1.25em;
        margin-bottom: 1.5em;
        color: var(--darkGreen);
        font-weight: 500;
    }

        .jumbotron h3::before {
            color: var(--limeGreen);
            content: "\2605";
            margin-right: 0.5em;
        }

    .jumbotron > ul,
    .jumbotron > p,
    .jumbotron .well {
        margin-bottom: 0.75em;
        background: var(--bgGreen);
        padding: 1em 0.5em;
        border-radius: 2px;
    }

    .jumbotron > div,
    .jumbotron .well {
        margin-bottom: 20px;
    }

    .jumbotron ul li {
        list-style-type: "\2027";
        margin-left: 0.5em;
        margin-right: 0.5em;
    }

/*#endregion */

/*#region dl.DropdownPanel */
dl.DropdownPanel {
    margin: 1em auto;
    overflow: hidden;
}

    dl.DropdownPanel dt {
        font-size: 1.25em;
        color: var(--darkGreen);
        font-weight: 500;
        margin-bottom: 1em;
        padding-bottom: 1em;
        border-bottom: 1px solid var(--lineColor);
        position: relative;
    }

        dl.DropdownPanel dt::before {
            color: var(--limeGreen);
            content: "\2605";
            margin-right: 0.5em;
        }

        dl.DropdownPanel dt > i {
            display: block;
            position: absolute;
            right: 1em;
            bottom: 20%;
        }

    dl.DropdownPanel dd {
        margin: 0.25em;
        display: none;
        animation-duration: .5s;
        animation-fill-mode: both;
        animation-name: fadeIn;
    }

    dl.DropdownPanel.active dd {
        display: block;
    }

/*#endregion */

/*#region 16:9 */
.img-container,
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

    .video-container iframe,
    .video-container object,
    .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .img-container img,
    .img-container picture {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .img-container.itemImg.square {
        padding-top: 30px;
    }

/*#endregion */

/*#region Button */
.circleBtn {
    display: inline-block;
}

    .circleBtn a {
        text-align: center;
        display: block;
        padding: 0.5em 1em;
        border-radius: 30px;
        border: solid 3px var(--limeGreen);
        color: var(--limeGreen);
    }

    .circleBtn > a::before,
    .circleBtn > a::after {
        display: inline-block;
        width: 1em;
        content: "";
    }

    .circleBtn > a:hover {
        border-color: var(--darkGreen);
        color: var(--darkGreen);
    }

        .circleBtn > a:hover::after {
            width: 0;
            margin-right: 0;
        }

        .circleBtn > a:hover::before {
            margin: auto 0.5em;
            content: "\279D";
        }

.defaultBtn {
    display: inline-block;
    color: #FFFFFF;
    background: var(--darkGreen);
    white-space: nowrap;
    margin: auto 0.25em;
    cursor: default;
    text-align: center;
    vertical-align: middle;
    line-height: 1.5em;
    border-radius: 3px;
    letter-spacing: 0;
}

    .defaultBtn > * {
        display: inline-block;
        vertical-align: middle;
    }

    .defaultBtn img {
        width: auto;
        height: 100%;
    }

    .defaultBtn i {
        display: inline-block;
        vertical-align: middle;
    }

.btn-xs {
    height: 1.5em;
    width: 1.5em;
}

.btn-md {
    padding: 0.125em 0.5em;
}

    .btn-md i {
        height: 50px;
        width: 50px;
        font-size: 20px;
        line-height: 50px;
    }

.btn-lg {
    letter-spacing: 2px;
    border-radius: 8px;
    padding: 0.25em 1.25em;
    font-size: 20px;
}

.playIcon {
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    width: 46px;
    height: 46px;
    line-height: 40px;
    font-size: 20px;
    text-align: center;
    color: #FFFFFF;
}

    .playIcon i {
        margin-left: 2px;
    }

cite a {
    display: inline-block;
    padding: 0.25em 1em;
    background: #5eb448;
    border-radius: 8px;
    color: #FFFFFF;
}

.more {
    margin: 0.5em 0;
    font-weight: 800;
    font-size: 16px;
}

    .more > a {
        color: var(--limeGreen);
    }

/*#endregion */

.alert-warning {
    color: var(--warningColor);
}

.alert-Info {
    color: var(--cactusGreen);
}

.alert-note {
    font-size: 0.875rem;
}
