﻿body {
    font-size: 16px;
    font-family: 'Microsoft JhengHei', sans-serif;
    color: #333;
    background-image: url(/Images/bg_icon.png), url(/Images/bg.png);
    background-position-x: 66%, center;
    background-position-y: 30%, center;
    background-repeat: no-repeat;
    background-size: 92%, cover;
    background-attachment: scroll, fixed;
}

.cke_editable {
    background-image: none;
}


h1, h2, h3, h4, h5, h6, .navbar .navbar-nav {
    font-family: 'Lato', 'Microsoft JhengHei', sans-serif;
    text-transform: none;
}

h1, h2, h3 {
    color: #000000;
}

h1 {
    font-size: 36px;
}

    h1.with-bg {
        background-repeat: no-repeat;
        background-position: left top;
        width: calc(100% + 15px);
        font-size: 28px;
        font-weight: bold;
        height: 60px;
        padding-left: 80px;
        padding-top: 20px;
        letter-spacing: 5pt;
    }

        h1.with-bg.class-1 {
            background-image: url(/Images/h1_bg_1.png);
        }

        h1.with-bg.class-2 {
            background-image: url(/Images/h1_bg_2.png);
        }

        h1.with-bg.class-3 {
            background-image: url(/Images/h1_bg_3.png);
        }

        h1.with-bg.class-4 {
            background-image: url(/Images/h1_bg_4.png);
        }

h5 {
    font-size: 14px;
    margin: 0 0 10px 0;
}

a {
    color: #0068B7;
    transition: all .3s linear;
    text-decoration: none;
}

    a:hover {
        color: #008BF2;
        cursor: pointer;
        text-decoration: none;
    }

/* Button */
.btn-default {
    background-color: #0068B7;
    border-color: #008BF2;
    color: #fff;
}


/* Custom scrollToTop */
.fix-feature .scrollToTop {
    background-color: rgba(0, 0, 0, 0.4);
}

    .fix-feature .scrollToTop:hover {
        background-color: rgba(0, 0, 0, 0.6);
    }

.scrollToTop .circle {
    width: 40px;
    height: 40px;
}

/* Copyright's dot */
.copyright a {
    text-decoration: none;
    color: inherit;
}


section p {
    line-height: 1.5;
}

/* Header top */
.header-top:not(.section-banner) {
    background-color: #FFFFFF;
    padding: 6px 0;
    width: 100%;
    top: 0;
    border-bottom: 1px solid #ccc;
    z-index: 1001;
    position: fixed;
}

.header-top .logo a img {
    max-height: 35px;
}

.header-top .header-top-dropdown {
    position: fixed;
    right: 10px;
    top: 4px;
}

    .header-top .header-top-dropdown .dropdown-menu {
        margin-top: 3px;
    }

.header-top .btn-group {
    margin-right: 5px;
}

.header-top .header-top-dropdown .btn-group .btn {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    padding: 0;
    line-height: 38px;
    padding: 0;
    text-align: center;
}

    .header-top .header-top-dropdown .btn-group .btn:hover {
        background-color: #90c221;
        border-color: #90c221;
        color: #fff;
    }
/* Header */
.header-container {
    margin-bottom: 0;
    padding-bottom: 45px;
}

header .navbar {
    background-color: #fcfcfc;
    background-image: linear-gradient(#E9E9E9, #B1B1B1);
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #f1f1f1;
}


header .navbar-brand img {
    height: 40px;
}

header .navbar-nav .nav-item {
    margin: 0 0 0 10px;
    position: relative;
}

header .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 20px;
}

header .navbar-nav li > a:hover,
header .navbar-nav li > a.active,
header .navbar-nav li.show > a {
    color: #000;
    background-image: -webkit-linear-gradient(#B1B1B1, #E0E0E0);
    box-shadow: 0px 0px 5px #b7b7b7;
    border-color: transparent;
    border-bottom: 1px solid transparent;
}

header .navbar-nav li.nav-item > a.nav-link:after {
    font-family: 'FontAwesome';
    content: "\f107";
    position: absolute;
    border: unset;
    display: none;
    top: 18px;
    left: auto;
    font-size: 14px;
    margin-left: 0;
    right: 6px;
}

header .navbar-nav li.nav-item > a.nav-link:hover:after, header .navbar-nav li.nav-item > a.nav-link.active:after {
    display: inline-block;
}

header .navbar-nav li ul.dropdown-menu > li.nav-item > a.nav-link:hover:after, header .navbar-nav li.nav-item ul.dropdown-menu > li.nav-item > a.nav-link.active:after {
    display: none;
}

header .navbar-nav .dropdown-menu {
    border: 0;
    min-width: 200px;
    background-image: linear-gradient(#E9E9E9, #B1B1B1);
    box-shadow: 0px 0px 5px #b7b7b7;
    border: solid 1px #FFFFFF;
}

    header .navbar-nav .dropdown-menu:before {
        content: "\25B2";
        color: #E9E9E9;
        display: block;
        position: absolute;
        margin-top: -20px;
        left: 18.5%;
        font-size: 20px;
    }

    header .navbar-nav .dropdown-menu .nav-item {
        padding: 0 20px;
        margin-left: 0;
    }

    header .navbar-nav .dropdown-menu .nav-link {
        display: flex;
        justify-content: space-between;
        color: #4E4E4E;
        font-size: 14px;
        padding: 10px 20px;
        border-bottom: 1px solid #918E90;
        background-color: transparent;
        background-image: unset;
        box-shadow: unset;
        position: relative;
        white-space: nowrap;
    }

    header .navbar-nav .dropdown-menu .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    header .navbar-nav .dropdown-menu .nav-link:before {
        font-family: 'FontAwesome';
        content: "\f0da";
        left: 0.5em;
        top: calc(50% - 10px);
        margin-left: 0;
        color: #666;
        visibility: hidden;
        position: absolute;
    }


    header .navbar-nav .dropdown-menu .nav-link.active {
        color: #000;
    }

        header .navbar-nav .dropdown-menu .nav-link:hover:before, header .navbar-nav .dropdown-menu .nav-link.active:before {
            visibility: visible;
            color: #000;
        }

header .navbar-nav > li a {
    padding-top: 15px;
    padding-bottom: 15px;
    color: #333;
}


.fixed-header-on header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1010;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15);
}

.boxed .page-wrapper {
    margin-right: auto;
    margin-left: auto;
    position: relative;
    box-shadow: 20px 0px 10px -15px #888888, -20px 0px 10px -15px #888888;
    background-color: #fff;
    min-height: calc(100vh - 348px);
}


/* Breadcrumb */
.breadcrumb {
    font-size: 12px;
    background-color: transparent;
    margin-bottom: 0;
    padding-left: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    font-family: "FontAwesome";
    content: "\f101";
}

/* AdvBanner (arrows & dots) */
.section-banner .slick-slider:hover .slick-arrow {
    opacity: 1;
}

.section-banner .slick-slider .slick-arrow {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 5vh;
    top: calc(50% - 2.5vh);
    line-height: 1;
    padding: 0 15px;
    z-index: 1;
    opacity: 0;
    min-width: 50px;
    min-height: 50px;
}

.section-banner .slick-slider .slick-prev:before {
    font-family: FontAwesome;
    content: "\f104";
    line-height: 50px;
    position: relative;
    left: 3px;
}

.section-banner .slick-slider .slick-next {
    right: 0;
}

    .section-banner .slick-slider .slick-next:before {
        font-family: FontAwesome;
        content: "\f105";
        line-height: 50px;
        position: relative;
        left: 6px;
    }

.section-banner .slick-slider:hover .slick-arrow .slick-prev:after,
.section-banner .slick-slider:hover .slick-arrow .slick-next:after {
    right: 0;
    -webkit-transform-origin: 100% 50%;
}

.section-banner .slick-slider .slick-dots {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 15px;
}

    .section-banner .slick-slider .slick-dots li {
        display: inline-block;
    }

        .section-banner .slick-slider .slick-dots li + li {
            margin-left: 15px;
        }

        .section-banner .slick-slider .slick-dots li button {
            font-size: 0;
            line-height: 0;
            width: 12px;
            height: 12px;
            border: 0;
            border-radius: 100%;
            outline: none;
            background-color: #a48874;
            opacity: 0.8;
        }

            .section-banner .slick-slider .slick-dots li button:hover,
            .section-banner .slick-slider .slick-dots li button:focus {
                opacity: 1;
            }

    .section-banner .slick-slider .slick-dots .slick-active button {
        background-color: #5f4c3e;
        opacity: 1;
    }

.section-shopcart .cart-step .icon.default-bg {
    background-color: #B60005
}


/* Mobile Navbar 手機版選單 (feature-panel 由左滑出) */
.navbar-toggle {
    left: 5px;
    top: 2px;
    border: none;
    z-index: 1007;
    background-color: transparent;
    transition: all ease .5s;
    position: fixed;
}

    .navbar-toggle .icon-bar {
        background-color: #333333;
        -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        -moz-transform: matrix(1, 0, 0, 1, 0, 0);
        -ms-transform: matrix(1, 0, 0, 1, 0, 0);
        -o-transform: matrix(1, 0, 0, 1, 0, 0);
        transform: matrix(1, 0, 0, 1, 0, 0);
    }

        .navbar-toggle .icon-bar:nth-child(1) {
            transition: all .8s cubic-bezier(.19, 1, .22, 1);
            transform: matrix(1, 0, 0, 1, 0, 0);
        }

        .navbar-toggle .icon-bar:nth-child(2) {
            transition: all .8s cubic-bezier(.19, 1, .22, 1);
        }

        .navbar-toggle .icon-bar:nth-child(3) {
            transition: all .8s cubic-bezier(.19, 1, .22, 1);
            transform: matrix(1, 0, 0, 1, 0, 0)
        }

    .navbar-toggle.open .icon-bar:nth-child(1) {
        transition: all .8s cubic-bezier(.19, 1, .22, 1);
        transform: matrix(.8, -.8, .8, .8, 0, 6)
    }

    .navbar-toggle.open .icon-bar:nth-child(2) {
        transition: all .8s cubic-bezier(.19, 1, .22, 1);
        transform: translateX(-60px);
        opacity: 0;
    }

    .navbar-toggle.open .icon-bar:nth-child(3) {
        transition: all .8s cubic-bezier(.19, 1, .22, 1);
        transform: matrix(.8, .8, -.8, .8, 0, -6);
    }

#nav-mobile {
    width: 270px;
    background-color: #ffffff;
    color: #333333;
    border-right: 0;
}

    #nav-mobile .bg {
        background-color: rgba(0, 0, 0, 0.5);
    }

    #nav-mobile .wrapper {
        width: 250px;
    }

    #nav-mobile .header {
        padding: 10px 20px;
        flex-direction: row-reverse;
    }

        #nav-mobile .header > * {
            line-height: unset;
        }

    #nav-mobile .exit, #report-partial .exit {
        position: relative;
        width: 20px;
        height: 20px;
    }

        #nav-mobile .exit:hover, #report-partial .exit:hover {
            opacity: 0.85;
            cursor: pointer;
        }

        #nav-mobile .exit:before,
        #nav-mobile .exit:after, #report-partial .exit:before, #report-partial .exit:after {
            position: absolute;
            top: 0px;
            left: 9px;
            content: ' ';
            width: 2px;
            height: 20px;
            background-color: #666666;
        }

        #nav-mobile .exit:before, #report-partial .exit:before {
            transform: rotate(45deg);
        }

        #nav-mobile .exit:after, #report-partial .exit:after {
            transform: rotate(-45deg);
        }

    #nav-mobile .logo {
        flex-grow: 1;
        margin-left: 20px;
    }

    #nav-mobile .body {
        padding: 10px 0;
    }

        #nav-mobile .body a {
            position: relative;
            display: block;
            padding: 10px 20px;
        }

        #nav-mobile .body ul {
            list-style: none;
            padding-left: 0;
        }

            #nav-mobile .body ul:first-child > li {
                border-bottom: 1px solid rgba(0,0,0,0.2);
            }

            #nav-mobile .body ul > li.active > a {
                color: #0068B7;
            }

            #nav-mobile .body ul > li > ul > li > a {
                padding-left: 2.25em;
            }

            #nav-mobile .body ul > li > ul > li > ul > li > a {
                padding-right: 10px;
                padding-left: 2.5em;
            }

            #nav-mobile .body ul > li > ul {
                display: block;
            }

            #nav-mobile .body ul > li.active ul,
            #nav-mobile .body ul > li.open ul,
            #nav-mobile .body ul > li.show ul {
                display: block;
            }

    #nav-mobile .search {
        padding: 10px 20px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

        #nav-mobile .search input {
            padding-right: 42.5px;
        }

        #nav-mobile .search i {
            position: absolute;
            right: 15px;
            top: 10px;
        }

    #nav-mobile .feature {
        background-color: #990005;
        border-top: 1px solid rgba(0,0,0,0.1);
        height: 50px;
    }

        #nav-mobile .feature a {
            color: #ffffff;
            font-size: 18px;
        }

            #nav-mobile .feature a.line {
                background-image: url(/Images/line-logo.svg);
                background-position: center;
                background-repeat: no-repeat;
                background-size: contain;
                width: 20px;
                height: 20px;
            }

/* Pagination */
.page-link {
    color: #999999;
    border-radius: unset;
}

    .page-link:hover {
        color: #333333;
    }

.page-item.active .page-link {
    background-color: #0068B7;
    border-color: #0068B7;
    color: #fff;
}

.PagedList-ellipses {
    margin: 0 0.5em;
}

/* Footer */
.subfooter {
    background-color: #E6E6E6;
    border-top: 1px solid #959595;
    color: #6c6b69;
    padding: 25px 0;
    font-size: 14px;
}

    .subfooter ul > li {
        padding: 0 5px;
    }

    .subfooter ul li a {
        color: #6c6b69;
    }

    .subfooter .policy li a {
        color: #0068B7;
    }

.section-user .frame {
    background-color: #efdcaf;
    padding: 20px 70px 50px 70px;
    border-radius: 10px;
    position: relative;
}

.section-default {
    padding: 30px 0;
}

    .section-default .listing-item {
        margin-bottom: 30px;
        position: relative;
    }

    .section-default h3.title {
        font-size: 20px;
        line-height: 32px;
        margin: 5px 0;
        padding-left: 40px;
        font-weight: bold;
        background-repeat: no-repeat;
        background-position: left center;
    }

#course h3.title {
    background-image: url(/Images/default_course.png);
}

#news h3.title {
    background-image: url(/Images/default_news.png);
}

#album h3.title {
    background-image: url(/Images/default_online.png);
}

#album .slick-track {
    height: 200px;
}

#album .image-box .body {
    padding: 15px;
}

#share h3.title {
    background-image: url(/Images/default_share.png);
}

.more {
    display: block;
    border: 1px solid #cccccc;
    border-radius: 5px;
    color: #A0A0A0;
    padding: 0 5px;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 12px;
}

    .more:hover {
        border-color: #008BF2;
    }

/*side menu*/

.block {
    margin-bottom: 50px;
}

.sidebar nav ul {
    list-style: none;
    padding-left: 2em;
}

    .sidebar nav ul > li {
        padding: 5px 0;
    }

.sidebar nav > ul > li > a {
    padding: 0;
}

    .sidebar nav > ul > li > a:before {
        font-family: "FontAwesome";
        content: "\f10c";
        position: absolute;
        margin-left: -25px;
        font-size: 18px;
    }

    .sidebar nav > ul > li > a:hover:before, .sidebar nav > ul > li > a:focus:before, .sidebar nav > ul .active > a:before {
        content: "\f192"
    }

.sidebar nav > ul li.active > a {
    color: #C40E25;
}

.sidemenu-title {
    margin-top: 45px;
}

.section-default .listing-item .content {
    border-top: 1px solid #cccccc;
    margin-top: 8px;
    margin-left: 40px;
    padding: 0;
}

    .section-default .listing-item .content ul > li {
        border-bottom: dashed 1px #ccc;
        line-height: 1.5;
        padding: 5px 0;
    }

        .section-default .listing-item .content ul > li a {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }



#webcam video {
    width: 100% !important;
    height: 100% !important;
}

.feature-panel .bg {
    background-color: rgba(0,0,0,.6);
}

@media (min-width: 576px) {
}

@media (min-width:768px) {

    .boxed .page-wrapper {
        width: 750px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 15px 20px 15px 15px;
        border-bottom: 1px solid transparent;
    }

    .section-default .listing-item {
        margin: 0 30px;
    }
}

@media (min-width:992px) {

    .header-top:not(.section-banner) {
        padding: 20px 0;
        position: relative;
        width: auto;
        top: auto;
    }

    .header-top .logo a img {
        max-height: none;
    }

    .header-container {
        padding-bottom: 0;
    }

    .boxed .page-wrapper {
        width: 970px;
    }

    .feature-panel.center {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    header .navbar-expand-md .navbar-nav .nav-link {
        padding: 15px 20px 15px 10px;
        font-size: 15px;
    }
}

@media (min-width:1200px) {
    .boxed .page-wrapper {
        width: 1170px;
    }
}
