body {
    font-family: "微軟正黑體";
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 18px;
}

ul,
li {
    font-size: 18px;
}

html, body, form {
    height: 100%;
}

a, a:hover, a:visited, a:focus {
    text-decoration: none;
    color: white;
}


.noMargin {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.fontWhite {
    color: white !important;
}

.fontPink {
    color: #FF6666 !important;
}

.fontGreen {
    color: #CCCC00 !important;
}

.fontPurple {
    color: #00CCCC !important;
}

.fontOrange {
    color: #FF6633 !important;
}

.fontBlue {
    color: #00CCCC !important;
}

.fontDarkBlue {
    color: dodgerblue !important;
}

.fontRed {
    color: red !important;
}

.bgOrange {
    background-color: #FF6633 !important;
}

.bgBlue {
    background-color: #00CCCC !important;
}

.fontGray {
    color: #7F7F7F !important;
}

.fontPurple2 {
    color: #51308E;
    text-align: center;
}

.fontPurple22 {
    color: #51308E;
    text-align: left;
    font-weight: bold;
}

.btnMore {
    background-color: #CCCC00;
    color: white !important;
    font-size: 18px;
    margin: 10px auto 20px auto;
    border-radius: 5px;
    max-width: 240px;
    text-align: center;
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 5px;
}

/*BANNER*/
.banner {
    position: relative;
}

    .banner .arrow_left {
        position: absolute;
        top: 85%;
        left: 3%;
    }

    .banner .arrow_right {
        position: absolute;
        top: 85%;
        right: 3%;
    }

/*.banner .arrow_bottom{ 
    position:absolute;
    top:90%;
    left:50%;
}
*/

/*動態箭頭*/
.s-xguide-down {
    width: 70px;
    height: 70px;
    display: inline-block;
    position: absolute;
    bottom: 20px;
    left: 50%;
    background: url("../images/arrow1.png") no-repeat 0px 0px;
    _background: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../images/arrow2.png",enabled=true,sizingMethod="crop");
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
    opacity: .7;
    cursor: pointer;
}

@keyframes xguide_down {
    0%,100% {
        transform: scale(0.0);
        -moz-transform: scale(0.0);
        -o-transform: scale(0.0);
        -webkit-transform: scale(0.0);
        -ms-transform: scale(0.0);
        opacity: 0;
    }

    50% {
        transform: scale(1.0);
        -moz-transform: scale(1.0);
        -o-transform: scale(1.0);
        -webkit-transform: scale(1.0);
        -ms-transform: scale(1.0);
        opacity: 1;
    }
}

@-webkit-keyframes xguide_down {
    0%,100% {
        -webkit-transform: scale(0.0);
        -moz-transform: scale(0.0);
        -o-transform: scale(0.0);
        -ms-transform: scale(0.0);
        transform: scale(0.0);
        opacity: 0;
    }

    50% {
        -webkit-transform: scale(1.0);
        -moz-transform: scale(1.0);
        -o-transform: scale(1.0);
        -ms-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 1;
    }
}

@-moz-keyframes xguide_down {
    0%,100% {
        -moz-transform: scale(0.0);
        -o-transform: scale(0.0);
        -webkit-transform: scale(0.0);
        -ms-transform: scale(0.0);
        transform: scale(0.0);
        opacity: 0;
    }

    50% {
        -moz-transform: scale(1.0);
        -o-transform: scale(1.0);
        -webkit-transform: scale(1.0);
        -ms-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 1;
    }
}

@-o-keyframes xguide_down {
    0%,100% {
        -o-transform: scale(0.0);
        -moz-transform: scale(0.0);
        -webkit-transform: scale(0.0);
        -ms-transform: scale(0.0);
        transform: scale(0.0);
        opacity: 0;
    }

    50% {
        -o-transform: scale(1.0);
        -moz-transform: scale(1.0);
        -webkit-transform: scale(1.0);
        -ms-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 1;
    }
}

.s-xguide-down.trans {
    -webkit-animation: xguide_down 4.0s infinite ease-in-out;
    -moz-animation: xguide_down 4.0s infinite ease-in-out;
    -o-animation: xguide_down 4.0s infinite ease-in-out;
    animation: xguide_down 4.0s infinite ease-in-out;
}

.s-xguide-down.arrow-1 {
    animation-delay: -2.0s;
    -webkit-animation-delay: -2.0s;
    -moz-animation-delay: -2.0s;
    -o-animation-delay: -2.0s;
}

.fontlightGrey {
    color: #bfbfbf !important;
}

.pull-left {
    margin: 2px auto;
}

/* 表頭 */
#navbar .navbar-nav > li > a {
    color: #fff;
    font-size: 16px;
}

#navbar .nav > li > a {
    padding: 16px 14px;
}

#navbar .navbar-nav > li > a:hover {
    color: #fff;
    background-color: #428bca;
}

#navbar .navbar-nav > li > a:focus {
    color: #fff;
    background-color: #428bca;
}

#navbar .navbar-nav > .open > a, #navbar .navbar-nav > .open > a:hover, #navbar .navbar-nav > .open > a:focus {
    background-color: #428bca;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-toggle:hover, .navbar-toggle:focus {
    background-color: #428bca;
}

.navbar-toggle {
    border-color: #fff;
}

#navbar .dropdown-menu {
    position: absolute;
    line-height: 25px;
    left: -1px;
}

    #navbar .dropdown-menu > li > a {
        padding: 8px 20px;
    }

    #navbar .dropdown-menu li:hover .sub-menu {
        visibility: visible;
    }

#navbar .dropdown:hover .dropdown-menu {
    display: block;
}

/* 第1*/
.dropdown-large {
    position: absolute;
}

.dropdown-menu-large {
    padding: 20px 0px;
    background-color: rgba(255,255,255,0.90);
    border-bottom: solid 3px #428bca;
    overflow: hidden;
}

    .dropdown-menu-large ul {
        width: 470px;
    }

    .dropdown-menu-large .col-sm-3 {
        width: 25%;
    }

    .dropdown-menu-large > li > ul {
        padding: 0;
        margin: 0;
    }

        .dropdown-menu-large > li > ul > li {
            list-style: none;
        }

            .dropdown-menu-large > li > ul > li > a {
                display: block;
                padding: 3px 15px;
                clear: both;
                font-weight: normal;
                line-height: 25px;
                color: #333333;
                white-space: normal;
                font-size: 16px;
                margin: 0px 5px;
            }

    .dropdown-menu-large > li ul > li > a:hover,
    .dropdown-menu-large > li ul > li > a:focus {
        text-decoration: none;
        color: #428bca;
    }

    .dropdown-menu-large .dropdown-header {
        color: #428bca;
        font-size: 18px;
    }

/*mobile-nav*/

.affixMenubar {
    width: 100%;
    z-index: 888;
    margin: 0;
    padding: 0;
    display: block;
    /*position: relative;*/
}

#navbar .dropdown .dropdown-menu {
    margin-top: 1px;
}

#navbar .dropup .dropdown-menu {
    margin-bottom: 0;
}

#navbar2 {
    max-height: 340px;
}

    #navbar2 .navbar-nav > li > a:hover {
        color: #fff;
        background-color: #428bca;
    }

    #navbar2 .navbar-nav > li > a:focus {
        color: #fff;
        background-color: #428bca;
    }

    #navbar2 .navbar-nav > .open > a, #navbar .navbar-nav > .open > a:hover, #navbar .navbar-nav > .open > a:focus {
        background-color: #428bca;
    }

    #navbar2 .dropdown-menu > li > a {
        padding: 8px 20px;
        color: #fff;
    }

        #navbar2 .dropdown-menu > li > a:hover {
            background-color: transparent;
            color: gold;
            font-size: 20px;
        }

        #navbar2 .dropdown-menu > li > a:focus {
            background-color: transparent;
            color: gold;
        }

#navbar .dropdown .dropdown-menu-large {
    border-bottom: solid 3px #428bca;
    border-top: 0 none;
}

#navbar .dropup .dropdown-menu-large {
    border-top: solid 3px #428bca;
    border-bottom: 0 none;
}

@media (max-device-width: 480px) and (orientation: landscape) {
    #navbar2 {
        max-height: 200px;
    }
}



/*翻轉動畫1*/
.flip-container {
    transform-style: preserve-3d;
}

    .flip-container:hover .back {
        transform: rotateY(0deg);
    }

    .flip-container:hover .front {
        transform: rotateY(180deg);
    }

.flip-container, .front, .back {
    width: 100%;
    height: 400px;
}

.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
    height: 400px;
}

.front, .back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.6s;
    transform-style: preserve-3d;
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
    height: 100%;
}

.front .img-responsive {
    /*max-height:300px;*/
    width:100%;
    max-width:100%;
    display:inline-block;
}

.back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    text-align: left;
}

    .back .btnMore.linker {
        position: absolute;
        width: 200px;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

.texticon {
    font-size: 18px;
    font-weight: bold;
    color: white;
    position: absolute;
    top: 70%;
    width:100%;
    text-align:center;
    line-height:0;
}

.texticon img {
    padding-bottom:20px;
    margin-bottom: 5px; margin-left: auto; margin-right: auto;
}

.back .txtList {
    max-height: 250px;
    margin-top: 20px;
    overflow: hidden;
}

/*活動公告+大標*/
.panel {
    padding: 15px 15px;
    position: relative;
    border-radius: 5px;
    border: 1px solid #c9c9c9;
    background-color: rgba(255,255,255,0.80);
}

    .panel a {
        display: inline-block;
        width: 100%;
    }

.panelHeader {
    font-size: 28px;
    font-weight: bold;
    color: #434343;
    position: relative;
    margin-bottom: 20px;
}

.panelWrapper {
    padding: 10px 0;
    position: relative;
}

.panelItem {
    display: inline-block;
    padding: 0;
    position: relative;
}

.panelItemImg {
    max-width: 100%;
    display: inline-block;
    height: 170px;
    overflow: hidden;
}

    .panelItemImg img {
        max-width: 100%;
        width: 100%;
    }

/*頁尾*/
.footerSubtitle {
    border: 1px solid white;
    color: white;
    padding: 5px 0 5px 0;
    font-size: 18px;
    text-align: center;
    margin-bottom: 5px;
}

.footerContent {
    display: block;
    max-height: 400px;
    min-height: 180px;
    margin-bottom: 10px;
}

    .footerContent div {
        padding: 0;
    }

.footerTel {
    text-align: center;
}

.footerSubtitle .glyphicon {
    display: none;
}

.footerMenuWrapper a, .footerMenuWrapper a:visited, .footerMenuWrapper a:focus, .footerContent2 a, .footerContent2 a:visited, .footerContent2 a:focus {
    color: white;
}

    .footerMenuWrapper a:hover, .footerContent2 a:hover {
        color: #F0832C;
    }


/* ******************************************************************************************************************* */
@media screen and (max-width:768px) {



    .s-xguide-down {
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        bottom: 5px;
        left: 50%;
        background: url("../images/arrow2.png") no-repeat 0px 0px;
        _background: none;
        _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../images/arrow2.png",enabled=true,sizingMethod="crop");
    }

    .footerContent, .footerSpacer {
        display: none;
    }

        .footerContent a {
            padding-top: 10px;
            padding-bottom: 10px;
            text-align: center;
        }

    .footerSubtitle {
        margin-top: 5px;
        cursor: pointer;
    }

        .footerSubtitle:hover {
            color: #fff100;
        }

        .footerSubtitle .glyphicon {
            display: inline-block;
            margin-left: 20px;
        }

    .footerTel {
        text-align: left;
    }

    .footerMenuWrapper {
        border-right: 0 none;
    }

    .footerContent2Wrapper {
        border-left: 0 none;
        border-top: 1px solid black;
        margin: 30px 0 0 0;
        padding-top: 15px;
    }

    .footerContent2 {
        width: 230px;
        margin: 0 auto;
    }
}
