﻿@charset "utf-8";

@import url(http://fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url(http://fonts.googleapis.com/earlyaccess/cwtexhei.css);
@import url("http://fonts.googleapis.com/css?family=Libre+Baskerville:400italic");
@import url("http://fonts.googleapis.com/css?family=Lato:400,700,400italic");

/*font-family: 'cwTeXHei','Noto Sans TC', sans-serif;*/

* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    font-family: Verdana, "Microsoft JhengHei", "微軟正黑體", "新細明體", "蘋果儷黑體", Arial, Helvetica, sans-serif;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #454545;
}

html,
body {
    height: 100%;
    color: #454545;
    font-size: 15px;
}

.clear:after {
    content: "";
    display: table;
    clear: both;
}

#wrapper-main {
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}


/*================== header ==================*/

ul#top-menu {
    float: right;
    font-size: 0.933rem;
    padding: 25px 0;
display: none;
}

ul#top-menu li {
    /*    display: inline-block;*/
    float: left;
}

ul#top-menu li:after {
    content: "｜";
    margin: 15px;
    color: #acacac;
}

ul#top-menu li:last-of-type:after {
    display: none;
}

ul#top-menu a:hover {
    color: #ff9648;
}


/*================== /header ==================*/


/*================ drawer ==================*/

#header {
    width: 100%;
    min-height: 75px;
    overflow: hidden
}

.drawer--navbarTopGutter {
    padding-top: 0;
}

.drawer-overlay {
    background-color: rgba(0, 0, 0, .4);
    z-index: 9999;
}

.drawer-navbar {
    z-index: 99999;
    padding: 0;
    background-color: transparent;
    border-bottom: 1px solid #ddd;
}

.drawer-header {
    width: 100%;
    padding: 1rem 0;
    background-color: #fff;
}

.drawer-navbar .drawer-nav {
    z-index: 9999;
    background-color: #fff;
    padding-top: 0;
}

.drawer-navbar .drawer-nav a {
    font-family: 'Noto Sans TC';
}

.drawer-navbar .drawer-navbar-header {
    border: none;
    height: auto;
    background-color: transparent;
    text-align: left;
    z-index: 9999;
}

.drawer-navbar .drawer-brand {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    padding: 0;
    line-height: 0;
}

.drawer-navbar .drawer-brand img {
    width: 100%;
    height: auto;
}

.drawer-hamburger {
    z-index: 999;
    padding: 20px 1rem 30px 5rem;
}

.drawer-nav .container {
    width: 100%;
    margin: 0;
}

.drawer-menu-item {
    color: #454545;
    font-size: 1.066666rem;
}

.drawer-menu-item:hover {
    text-decoration: none;
    color: #ff9648;
}


.right-auto {
    right: 0; /* 選單置右 */
}

.drawer-dropdown-menu-item {
    line-height: 1.5rem;
    display: block;
    padding: .75rem 1.5rem;
    text-decoration: none;
    border-bottom: solid 1px #dcdcdc;
}

.drawer-dropdown-menu-item:hover {
    text-decoration: none;
    color: #ff9648;
}

.drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
    right: 16.25rem;
}

@media (min-width: 64em) {
    .drawer--navbarTopGutter {
        padding-top: 0;
    }
    .drawer-navbar {
        height: auto;
        padding: 0;
        border: 0;
    }
    .drawer-nav .container {
        width: 90%;
        max-width: 1400px;
        margin: 0 auto;
    }
    .drawer-navbar .drawer-nav {
        z-index: 99;
        background-color: rgba(255, 255, 255, 0.9);
        padding-top: 0;
        margin-top: -1px;
        min-height: 5rem;
    }
    .drawer-navbar .drawer-menu-item {
        line-height: 5rem;
    }
    .drawer-navbar .drawer-dropdown-menu {
        margin-top: -1rem;
        width: 14rem;
        z-index: 1;
    }
}

@media (min-width: 768px) {
   .navbar-custom .open>.dropdown-menu {
    max-height: 500px;
    overflow-y: auto;
} 
}

/* 旅遊專區 */

#travle-menu {
    color: #eb6100;
}

#travle-menu:after {
    content: '\f178';
    content: '\f061';
    content: '\f101';
    content: '\f105';
    content: '\f054';
    content: '\f0a4';
    content: '\f0ac';
    font-family: FontAwesome;
}


/*================ /drawer ====================*/

ul#bottom-menu {
    width: 660px;
    overflow: hidden;
    margin: 0 auto;
}
ul#bottom-menu li {
    float: left;
}
ul#bottom-menu li:after {
    content: "｜";
    margin: 15px;
    color: #acacac;
}
ul#bottom-menu a {
    color: #acacac;
    transition: .5s;
}
/*==================== footer =====================*/

#footer-link {
    background: #5d5d5d;
    padding: 12px 0;
    line-height: 36px;
    margin-bottom: 40px;
}

footer {
    /*text-align: center;*/
    background: #474747;
    color: #a0a0a0;
}

#footer {
    width: 100%;
    overflow: hidden;
    min-height: 120px;
    line-height: 36px;
    word-break: break-all;
}
.footer-icon {
    width: 20%;
    float: left;
    text-align: center;
}

.footer-icon a {
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
    width: 40px;
    height: 40px;
    font-size: 1.33rem;
    text-align: center;
    margin: 10px;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.footer-icon a:hover {
    background-color: #fff;
    color: #2e3641;
}

.footer-icon a:first-of-type {
    padding-bottom: 2px;
}

.footer-info {
    width: 45%;
    float: left;
}

.footer-info a {
    color: #fff;
}

.footer-link {
    width: 35%;
    float: left;
}

.footer-link a {
    color: #fff;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.footer-link li:hover a,
.footer-link li:hover {
    color: #ff9648;
}

.footer-link li {
    width: 33.33%;
    float: left;
}

.footer-link li:before {
    content: '\f061';
    font-family: FontAwesome;
    margin-right: 10px;
}

#footer-copyright {
    width: 100%;
    padding: 20px 0;
    color: #fff;
    /*background-color: #282e3a;*/
    text-align: center;
}

#footer-copyright a {
    color: #a6aab1;
}


/*================== /footer ====================*/


/*================== Preloader ====================*/

.page-loader {
    background: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 100000;
}

.loader {
    background: #ddd;
    position: absolute;
    display: inline-block;
    height: 40px;
    width: 40px;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    text-indent: -9999em;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: ball-scale 1s 0s ease-in-out infinite;
    animation: ball-scale 1s 0s ease-in-out infinite;
}

@-webkit-keyframes ball-scale {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes ball-scale {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}


/*================== /Preloader ====================*/


/*================== Scroll to top ====================*/

.scroll-up {
    position: fixed;
    display: none;
    bottom: 10px;
    right: 10px;
    z-index: 999;
}

.scroll-up a {
    background: #fff;
    display: block;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 36px;
    font-size: 1.5rem;
    color: #000;
    opacity: 0.6;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 4px;
}

.scroll-up a:hover,
.scroll-up a:active {
    opacity: 1;
    color: #000;
}

.scroll-up .fa {
    padding: 10px 0;
}


/*================== /Scroll to top ====================*/

@media (max-width: 1200px) {
    .right-auto {
        right: inherit;
    }
}

@media (max-width: 1100px) {
    .drawer-nav .container {
        width: 96%;
        margin: 0 2%;
    }
}

@media (max-width: 1024px) {
    ul#top-menu {
        display: none;
    }
}

@media (max-width: 992px) {
    .footer-link li {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .container {
        width: 90%;
        margin: 0 5%;
    }
    /* footer */
    #footer {
        padding: 30px 0;
    }
    .footer-icon,
    .footer-link,
    .footer-info {
        width: 80%;
        margin: 0 10% 20px;
    }
}

@media (max-width: 500px) {
    /* drawer */
    .drawer-navbar .drawer-brand {
        width: 200px;
    }
    #footer-copyright {
        font-size: 0.867rem;
    }
}


/* -------------------------------------------------------------------
天地修改
------------------------------------------------------------------- */


/* 固定天地 */


#header .container,
#footer {
    /*display: none;*/
}

.drawer-header {
    padding: 0;
}

#header_iframe, 
#footer_iframe {
    width: 1400px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 1127px) {
    #header .container {
        display: block;
    }
    #header_iframe,
    #footer_iframe {
        display: none;
    }
    .drawer-header {
        padding: 1rem 0;
    }
}


/* rwd天地 */


/*
#header .container,
#footer {
    display: none;
}

.drawer-header {
    padding: 0;
}

@media (max-width: 1024px) {
    #header .container {
        display: block;
    }    
    .drawer-header {
        padding: 0;
    }
}

@media (max-width: 500px) {
    #header_iframe iframe {
        height: 150px; 
    }
    #footer_iframe iframe {
        height: 600px; 
    }
}
*/
