/* 縮小失敗。正在傳回未縮小的內容。
(32,37): run-time error CSS1039: Token not allowed after unary operator: '-color1'
(167,36): run-time error CSS1039: Token not allowed after unary operator: '-main_color'
(240,32): run-time error CSS1039: Token not allowed after unary operator: '-main_color'
(248,36): run-time error CSS1039: Token not allowed after unary operator: '-main_color'
 */
/* KeyVisual */
#KeyVisual {
    border: 10px solid #fff;
    box-shadow: #00000033 0 0 3px;
    max-width: 1440px;
    margin: 60px auto;
    box-sizing: border-box;
}

    #KeyVisual > div {
    }

.index_slider_list a {
    display: block;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

    .index_slider_list a:hover, .index_slider_list a:focus {
        opacity: 0.8;
    }

        .index_slider_list a:focus::after {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 4px dashed var(--color1);
            box-sizing: border-box;
        }

.index_slider_list img {
    display: block;
    width: 100%;
    max-height: 540px;
}

/* owl-carousel */
.index_slider_list .owl-nav > div {
    position: absolute;
    top: 50%;
    border: 1px solid #0073ff;
    background-color: rgba(255,255,255,0.6);
    text-indent: -999px;
    z-index: 9999;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

    .index_slider_list .owl-nav > div:hover {
        background-color: #fff;
        box-shadow: 0 0 20px rgba(0,0,0,0.6);
    }

    .index_slider_list .owl-nav > div::after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        border-left: 2px solid #333;
        border-top: 2px solid #333;
    }

.index_slider_list .owl-nav .owl-prev::after {
    left: 50%;
    transform: rotate(-45deg);
}

.index_slider_list .owl-nav .owl-next::after {
    right: 50%;
    transform: rotate(135deg);
}

.index_slider_list .owl-nav > div:hover::after {
    border-color: #000;
}

.index_slider_list .owl-nav .disabled {
    display: none;
}

@media screen and (max-width: 767px) {
    .index_slider_list .owl-nav > div {
        margin-top: -18px;
        width: 36px;
        height: 36px;
    }

    .index_slider_list .owl-nav .owl-prev {
        left: 5px;
    }

    .index_slider_list .owl-nav .owl-next {
        right: 5px;
    }

    .index_slider_list .owl-nav > div::after {
        width: 10px;
        height: 10px;
        margin-top: -5px;
    }

    .index_slider_list .owl-nav .owl-prev::after {
        margin-left: -3px;
    }

    .index_slider_list .owl-nav .owl-next::after {
        margin-right: -3px;
    }
}

@media screen and (min-width: 768px) {
    .index_slider_list .owl-nav > div {
        margin-top: -24px;
        width: 48px;
        height: 48px;
    }

    .index_slider_list .owl-nav .owl-prev {
        left: 10px;
    }

    .index_slider_list .owl-nav .owl-next {
        right: 10px;
    }

    .index_slider_list .owl-nav > div::after {
        width: 12px;
        height: 12px;
        margin-top: -6px;
    }

    .index_slider_list .owl-nav .owl-prev::after {
        margin-left: -4px;
    }

    .index_slider_list .owl-nav .owl-next::after {
        margin-right: -4px;
    }
}

.index_slider_list .owl-dots {
    position: absolute;
    left: 0;
    bottom: -30px;
    width: 100%;
    text-align: center;
    line-height: 0;
}

    .index_slider_list .owl-dots .owl-dot {
        display: inline-block;
        background-color: #ccc;
        width: 12px;
        height: 12px;
        margin: 0 5px;
        border-radius: 50%;
    }

        .index_slider_list .owl-dots .owl-dot.active, .index_slider_list .owl-dots .owl-dot:hover {
            background-color: var(--main_color);
        }

/* noscript */
#KeyVisual.noscript {
    border: 0;
    box-shadow: none;
    max-width: none;
}

    #KeyVisual.noscript > div {
        max-width: 960px;
        margin: 0 auto;
    }

    #KeyVisual.noscript .index_slider_list li {
        margin: 10px 0;
    }

    #KeyVisual.noscript + .return_form_noscript {
        padding-bottom: 40px;
    }

.return_form_noscript {
    margin: 20px 0;
    text-align: center;
    position: relative;
}

    .return_form_noscript a {
        display: inline-block;
        background-color: #666;
        width: 180px;
        line-height: 58px;
        text-align: center;
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        position: relative;
    }

        .return_form_noscript a:hover, .return_form_noscript a:focus {
            background-color: #333;
            box-shadow: 0 0 20px rgba(0,0,0,0.3);
        }

.ToolBar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #555;
    padding: 5px 0;
    box-sizing: border-box;
    position: relative;
}

    .ToolBar a.sr-only {
        top: 0;
    }

    .ToolBar::after,
    .ToolBar .colm_left::after,
    .ToolBar dl.font_size::after,
    .ToolBar dl.share::after {
        content: "";
        display: block;
        width: 100%;
        clear: both;
    }

    .ToolBar .colm_left a, .ToolBar .colm_right a {
        display: block;
        background-color: #fff;
        border: 1px solid var(--main_color);
        border-radius: 150px;
        text-decoration: none;
        position: relative;
    }

        .ToolBar .colm_left a:hover, .ToolBar .colm_right a:hover,
        .ToolBar .colm_left a:focus, .ToolBar .colm_right a:focus {
            background-color: var(--main_color);
        }

.post_info.below span::before {
    display: none;
}
.BtnTop a:hover,
.BtnTop a:focus {
    background-color: #000;
    color: #fff;
}

.check_msg_notice {
    color: green;
}

.check_msg_warning {
    color: tomato;
}

.check_msg_err {
    color: red;
    font-weight: bold;
}

.display_none {
    left: -1000px;
    width: 0px;
    position: absolute;
    top: -1000px;
    height: 0px;
    display: none;
}

.dev-option-list div {
    float: left;
    padding-right: 18px;
}

/* 修正 slider 沒先縮起來的問題 */
ul.bxSlider_list {
    position: relative;
}
ul.bxSlider_list li {
    float: left; list-style: none; position: relative; display:none;
}
#KeyVisual.noscript .bxSlider_list li {
    display:block;
}
ul.bxSlider_list li:first-child {
    display: block;
}
div.bx-viewport ul.bxSlider_list li {
    display:block;
}

.theme_website ul {
    list-style-type: none !important;
    margin: 0 !important;
}
#Header .search_box .btn input[type="submit"] {
    opacity: 0;
    z-index: 99;
}
/* Color Button */
    .theme_website ul::after {
        display: block;
        content: '';
        clear: both;
    }

    .theme_website ul li {
        float: left;
        width: 20%;
        padding: 0 5px;
        min-width: 145px;
        min-height: 135px;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

        .theme_website ul li, .theme_website ul li a, .theme_website ul li a::after, .theme_website ul li span.title, .theme_website ul li span.icon {
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }

            .theme_website ul li a {
                display: block;
                width: 100%;
                height: 100%;
                background-color: #ccc;
                background-size: cover;
                background-position: center center;
                background-repeat: no-repeat;
                position: relative;
            }

            .theme_website ul li.item1 a {
                background-image: url("../images/theme_website1.jpg");
            }

            .theme_website ul li.item2 a {
                background-image: url("../images/theme_website2.jpg");
            }

            .theme_website ul li.item3 a {
                background-image: url("../images/theme_website3.jpg");
            }

            .theme_website ul li.item4 a {
                background-image: url("../images/theme_website4.jpg");
            }

            .theme_website ul li.item5 a {
                background-image: url("../images/theme_website5.jpg");
            }

.theme_website.customize ul li a {
    background-image: none;
}

.theme_website ul li a::after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    z-index: 1;
}

.theme_website.customize ul li a::after {
    display: none;
}

.theme_website ul li img {
    width: 100%;
}

.theme_website ul li span {
    display: block;
    position: absolute;
    z-index: 2;
}

    .theme_website ul li span.title {
        top: 50%;
        left: 0;
        width: 100%;
        height: 38px;
        margin-top: -19px;
        padding: 0 20px;
        box-sizing: border-box;
        font-family: "Noto Sans TC", sans-serif;
        color: #fff;
        text-align: center;
        line-height: 120%;
        font-weight: 500;
        letter-spacing: 1px;
        text-shadow: 0px 0px 5px rgba(0,0,0,1);
    }

.theme_website.customize ul li span.title {
    text-shadow: none;
}

.theme_website ul li span.icon {
    left: 50%;
    width: 30px;
    height: 30px;
    margin: 0 0 0 -15px;
    opacity: 0;
}

    .theme_website ul li span.icon::before {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 6px;
        width: 14px;
        height: 14px;
        border: 2px solid #fff;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
    }

    .theme_website ul li span.icon::after {
        content: '';
        display: block;
        position: absolute;
        top: 70%;
        left: 20px;
        width: 8px;
        height: 4px;
        background-color: #fff;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

.theme_website ul li:hover a {
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transform: scale(1.03);
}

    .theme_website ul li:hover a::after {
        background-color: rgba(0,0,0,0.4);
    }

.theme_website ul li:hover span.title {
    top: 60%;
}

.theme_website ul li:hover span.icon {
    opacity: 1;
}

@media screen and (max-width: 1023px) {
    .theme_website ul li span.title {
        font-size: 1.125rem;
    }
}

@media screen and (min-width: 1024px) {
    .theme_website ul li span.title {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 799px) {
    .theme_website ul li span.icon {
        top: 20%;
    }
}

@media screen and (min-width: 800px) and (max-width: 1023px) {
    .theme_website ul li span.icon {
        top: 25%;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .theme_website ul li span.icon {
        top: 27%;
    }
}

@media screen and (min-width: 1280px) {
    .theme_website ul li span.icon {
        top: 32%;
    }
}

.editable_content .imgcenter span { margin: auto 0;}
