@charset "UTF-8";

body {
    font-family: '微軟正黑體', 'Malgun Gothic', Dotum, Tahoma, sans-serif;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
}

#gotop {
    display: block;
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

:focus {
    outline: none;
}

a:hover,
a:active,
a:focus {
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* css-doodle */
.canvas{
    z-index: 9 !important;
    position: fixed;
}
/* css-doodle */

.btn-on {
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.navbar-inverse .navbar-nav > li > a,
.navbtn > ul > li > a,
.sideBtn ul > li > a {
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

/*navbar*/
.navbar-inverse {
    background-color: #111;
    border-color: #08080800;
}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    font-weight: 400;
    font-size: 16px;
}

.navbar-inverse .navbar-nav > li > a.brandlogo {
    padding: 5px 0;
    margin-right: 20px;
}

.navbar-inverse .navbar-nav > li > a:focus {
    background-color: transparent;
    outline: none;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
    color: #fff;
    background-color: #f2d010;
    font-weight: 400;
    font-size: 16px;
}

.navbar-inverse .navbar-nav > li > a:hover {
    background-color: #333;
}

.navbar-inverse .navbar-toggle {
    border-color: #333;
}

.navbar {
    min-height: 50px;
    margin-bottom: 0px;
    border: 0px;
}

/* header */
#header {
    
    background: url(../image/penglai.jpg) no-repeat 50% 0;
    background-size: cover;
    height: 100vh;
    padding-top: 50px;
}

.title {
    position: absolute;
    bottom: 2%;
    left: 0;
    right: 0;
}

.titleBox {
    margin: -45px 0 0;
}

.sec1 {
    background: transparent url(../image/penglai_bg.jpg) no-repeat 50% 0;
    background-size: cover;
    text-align: center;
}
/* header */

/* 中間選單 */
.navbtn {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 9;
    bottom: 0%;
}

.navbtn ul {
    margin: 0;
    display: inline-flex;
    vertical-align: middle;
}

.navbtn ul > li {
    margin: 0px 40px;
    margin-top: 6%;
}

.navbtn ul > li > a {
    display: inline-block;
    width: 159px;
    height: 76px;
}

.navbtn ul > li:nth-child(1) > a {
    background: transparent url(../image/penglai_b1.png) no-repeat 50% 0;
    background-size: cover;
}

.navbtn ul > li:nth-child(2) > a {
    background: transparent url(../image/penglai_b2.png) no-repeat 50% 0;
    background-size: cover;
}

.navbtn ul > li:nth-child(3) > a {
    background: transparent url(../image/penglai_b3.png) no-repeat 50% 0;
    background-size: cover;
}

.navbtn ul > li:nth-child(4) > a {
    background: transparent url(../image/penglai_b4.png) no-repeat 50% 0;
    background-size: cover;
}

.navbtn ul > li:nth-child(5) > a {
    background: transparent url(../image/penglai_b5.png) no-repeat 50% 0;
    background-size: cover;
}

/* hover */
.navbtn ul > li:nth-child(1) > a:hover,
.navbtn ul > li:nth-child(1).active > a {
    background: transparent url(../image/penglai_b1_on.png) no-repeat 50% 0;
    background-size: cover;
}

.navbtn ul > li:nth-child(2) > a:hover,
.navbtn ul > li:nth-child(2).active > a {
    background: transparent url(../image/penglai_b2_on.png) no-repeat 50% 0;
    background-size: cover;
}

.navbtn ul > li:nth-child(3) > a:hover,
.navbtn ul > li:nth-child(3).active > a {
    background: transparent url(../image/penglai_b3_on.png) no-repeat 50% 0;
    background-size: cover;
}

.navbtn ul > li:nth-child(4) > a:hover,
.navbtn ul > li:nth-child(4).active > a {
    background: transparent url(../image/penglai_b4_on.png) no-repeat 50% 0;
    background-size: cover;
}

.navbtn ul > li:nth-child(5) > a:hover,
.navbtn ul > li:nth-child(5).active > a {
    background: transparent url(../image/penglai_b5_on.png) no-repeat 50% 0;
    background-size: cover;
}

.navbtn.fixed {
    background-size: contain;
    position: fixed;
    top: 0%;
    margin-top: 50px;
    max-height: 160px;
    background: linear-gradient(#ffffff 90%,#ffffff00)
}
/* 中間選單 */

/* sidebar */
.sideBtn {
    position: fixed;
    right: 50px;
    top: 100px;
    z-index: 999;
}

.sideBtn ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sideBtn ul > li {
    margin: 0 0 10px;
}

.sideBtn ul > li > a {
    display: block;
    width: 134px;
    height: 137px;
    padding: 0;
    text-align: center;
    text-decoration: none;
}

.sideBtn ul > li:first-child > a {
    background: url(../image/penglai_s1.png) no-repeat 50% 0;
    background-size: contain;
}

.sideBtn ul > li:last-child > a {
    background: url(../image/penglai_s2.png) no-repeat 50% 0;
    background-size: contain;
}

.sideBtn ul > li > a:hover {
    outline: none;
    filter: brightness(1.5);
}
/* sidebar */

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.navbar-inverse .navbar-brand {
    max-width: 190px;
    margin-left: -100% !important;
}

.navbar-inverse .navbar-brand:focus,
.navbar-inverse .navbar-brand:hover {
    background-color: transparent;
}

.goh_style {
    line-height: 0;
    text-align: center;
}

/* .footer */
footer {
    margin: 0;
    position: relative;
    z-index: 4;
    background: #23222b;
    padding: 30px 0;
}

.copyright {
    text-align: center;
}

.copyright ul {
    list-style: none;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.copyright ul li {
    float: left;
    margin: 0 30px;
    min-height: 40px;
    color: #c0c0c0;
    display: block;
}

.copyright ul li:first-child {
    margin-left: 0;
}

.copyright ul li:nth-child(2) {
    padding: 10px 0;
}

.copyright ul li:last-child {
    margin-right: 0;
}

.copyright .text {
    font-size: 12px;
    line-height: 1.6em;
    margin-top: 0px;
    text-align: center;
}

.copyright .rating {
    width: 40px;
    display: inline-block;
}

.copyright li span {
    vertical-align: top;
    display: inline-block;
    font-size: 12px;
    text-align: left;
    line-height: 1.1;
}

.copyright .cp {
    color: #c0c0c0;
    margin: 10px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid #4b4a58;
    text-align: center;
}

@media (max-width: 1440px) {
    .navbar-inverse .navbar-brand {
        margin-left: 0 !important;
    }

    .navbtn {
        background-size: contain;
    }

    .sideBtn {
        top: 30%;
    }
}

@media (max-width: 1024px) {

    .canvas{
        display: none;
    }
    .navbtn ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        margin: 0px auto;
    }
    .navbtn ul > li {
        float: none;
        margin: 0px;
        margin-top: 6%;
    }

    .navbar-inverse .navbar-brand {
        width: 130px;
    }
}

@media (max-width: 768px) {
    #header {
        height: 70vh;
    }

    .navbtn {
        bottom: 16%;
    }

    .navbtn ul > li > a {
        width: 130px;
        height: 60px;
    }

    .navbtn.fixed {
        max-height: 130px;
        top: 0%;
    }

    .sideBtn {
        right: 10px;
    }

    .sideBtn ul > li > a {
        width: 90px;
        height: 90px;
    }

    .title {
        bottom: 22%;
        left: 8%;
        width: 80%;}

    .titleBox {
        margin: 0;
    }

    .goh_style {
        text-align: left;
    }

    footer {
        margin: 0;
    }
}

@media (max-width: 600px) {
    .copyright {
        text-align: left;
    }

    .copyright ul li:last-child {
        margin: 0;
    }
}

@media (max-width: 480px) {

    #header {
        height: 50vh;
    }

    .title {
        bottom: 0%;
        top: 40%;
    }

    .sideBtn {
        right: 15px;
        top: 16%;
    }

    .sideBtn ul > li > a {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 14px;
    }

    .navbtn {
        top: 46%;
        bottom: 0%;
    }

    .navbtn ul {
        justify-content: space-around;
    }

    .navbtn ul > li {
        margin-top: 1%;
    }

    .navbtn ul > li > a {
        width: 80px;
        height: 38px;
    }

    .navbtn.fixed {
        max-height: 100px;
    }

    .navbar-inverse .navbar-brand {
        max-width: 100px;
        padding-top: 10px;
    }

    .copyright ul li {
        margin: 0 12px;
    }

    .copyright ul li:first-child {
        width: 150px;
    }

    .copyright ul li:nth-child(2) {
        width: 66px;
        padding: 5px 0 0;
    }

    .navbar-inverse .navbar-nav > li > a,
    label.btn span {
        font-size: 14px;
    }

    .copyright .cp {
        font-size: 12px;
    }

    .copyright .rating {
        width: 10%;
    }

    .copyright li span {
        width: 88%;
    }
}

@media (max-width: 425px) {
    .navbtn {
        top: 50%;
    }
}
    
@media (max-width: 375px) {
    .navbtn {
        top: 46%;
    }
}