/* header */

* {
    font-family: "Microsoft JhengHei", "Microsoft YaHei", Tohoma, Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a:hover {
    text-decoration: none;
}

.container {
    width: 1280px;
}

.header-inner {
    position: relative;
}

.btn-map-box {
    position: absolute;
    left: 15.5%;
    top: 50%;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.btn-active-box {
    position: absolute;
    right: 17%;
    top: 50%;
}

.btn-map-hover,
.btn-active-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.btn-map-box:hover .btn-map-hover,
.btn-map-box:focus .btn-map-hover,
.btn-map-box:hover .btn-hover-decorate,
.btn-map-box:focus .btn-hover-decorate,
.btn-active-box:hover .btn-active-hover,
.btn-active-box:focus .btn-active-hover,
.btn-active-box:hover .btn-hover-decorate,
.btn-active-box:focus .btn-hover-decorate {
    opacity: 1;
}

.btn-map-box:hover .btn-map,
.btn-map-box:focus .btn-map,
.btn-active-box:hover .btn-active,
.btn-active-box:focus .btn-active {
    opacity: 0;
}

.btn-hover-decorate {
    position: absolute;
    top: -55%;
    left: 45%;
    opacity: 0;
}


/* banner */

.banner .owl-carousel {
    background: url(../pic/banner-bg.png) 0 0 no-repeat;
    background-size: 100% 100%;
    padding-bottom: 3.7%;
}

.banner .owl-stage-outer {
    width: 71%;
    margin: 0 auto;
}

.banner .owl-carousel .owl-item img {
    width: 69.5%!important;
    height: auto;
    margin-top: 1.2%;
}


/* dots */

.owl-carousel .owl-controls,
.owl-dots {
    text-align: center;
    margin-top: 2%;
    position: absolute;
    width: 100%;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
    margin: 0 2px;
}

.owl-controls .owl-nav div,
.owl-controls .owl-dot {
    cursor: pointer;
    cursor: hand;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.owl-carousel .owl-dots .owl-dot span {
    -webkit-backface-visibility: visible;
    display: block;
    filter: Alpha(Opacity=50);
    opacity: 0.5;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    transition-property: opacity;
    transition-duration: 200ms;
    transition-timing-function: ease;
    width: 6px;
    height: 6px;
    margin: 2px;
    background: #b5b5b6;
    opacity: .5;
}

.owl-carousel .owl-dots .owl-dot.active {
    border: 1px solid #2880c3;
    border-radius: 50%;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: #2880c3;
    opacity: 1;
}


/* arrow */

.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
    color: #FFF;
    display: inline-block;
    width: 35px;
    height: 55px;
    font-size: 12px;
    text-indent: -9999px;
    overflow: hidden;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -30px;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.owl-carousel .owl-nav .owl-prev {
    background-image: url(../pic/arrow-left.png);
    left: 15%;
}

.owl-carousel .owl-nav .owl-next {
    background-image: url(../pic/arrow-right.png);
    background-color: transparent;
    right: 16.5%;
}


/* home-product */

.home-product-inner {
    position: relative;
}

.home-product-bg {
    padding: 3% 0 0;
}

.home-product-item-box {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2% 11%;
}

.home-product-item {
    width: 33%;
    float: left;
    position: relative;
    height: 380px;
}

.home-product-pic {
    width: 83%;
}

.blue-text-box {
    position: absolute;
    top: 0;
    left: 8%;
    width: 100%;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.blue-text-bg,
.blue-text-bg-hover {
    position: absolute;
    top: 0;
    left: 0;
}

.blue-text-bg-hover {
    opacity: 0;
}

.blue-text-box:hover .blue-text-bg,
.blue-text-box:focus .blue-text-bg {
    opacity: 0;
}

.blue-text-box:hover .blue-text-bg-hover,
.blue-text-box:focus .blue-text-bg-hover {
    opacity: 1;
}

.blue-text {
    margin-top: 46%;
    margin-left: -15%;
    position: relative;
    z-index: 5;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.blue-text-box:hover .blue-text,
.blue-text-box:focus .blue-text {
    margin-top: 35%;
}

.blue-text p {
    text-align: center;
    color: #fff;
    font-size: 17px;
    margin-bottom: 5px;
}

.gray-line {
    width: 75%;
    height: 2px;
    background: #ccc;
    margin: 3% auto;
}

.home-product-text p {
    color: #000;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 0;
}


/* footer */

.footer-text {
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    margin-top: -2%;
}

.footer-text a {
    color: #000;
}

.footer-text a:hover {
    color: #999;
}

#cboxClose {
    top: 0;
    z-index: 10;
}

#cboxTitle {
    top: 4px;
    color: #000;
    height: 20px;
    z-index: 1;
}

#cboxTitle:hover {
    color: #999;
    cursor: pointer;
}
#cboxCurrent {
    display: block!important;
    left: 0;
}


/* 內頁 */

.fix-btn {
    position: fixed;
    top: 0;
    left: 21%;
    width: 40px;
}

.fix-btn img:hover {
    opacity: .6;
}

.page-inner-product {
    margin: 3% auto 0;
}

.page-inner-product ul {
    list-style: none;
    padding: 0;
    width: 950px;
    margin: 0 auto;
    position: relative;
    display: flex;
}

.page-inner-product li {
    float: left;
    width: 16.6667%;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.page-inner-product li:hover {
    margin-top: -3%;
}

.page-inner-product li>img {
    width: 100%;
    margin-bottom: 14%;
    display: block;
}

.page-inner-decorate01 {
    position: absolute;
    top: -5%;
    left: -1%;
    z-index: -1;
}

.page-inner-decorate02 {
    position: absolute;
    bottom: 24%;
    right: -1%;
    z-index: -1;
}


/* page-inner-main */

.page-inner-main>.container {
    background: url(../pic/page-inner-body-bg.png);
    background-repeat: repeat-y;
    padding: 2% 0;
}

.page-inner-main-inner {
    width: 950px;
    margin: 0 auto;
    padding: 4% 8%;
    background: rgba(40, 128, 195, .3);
    position: relative;
}

.page-inner-main-inner:after {
    content: url(../pic/page-inner-body-bg-decorate.png);
    display: block;
    position: absolute;
    top: 0;
    right: -13%;
}

.main-pic-around {
    float: left;
    padding: 1%;
}

.main-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #22507e;
    border-bottom: 2px solid;
    padding-bottom: 15px;
    line-height: 28px;
    margin: 5% 0;
}

.page-inner-main-inner p,
.page-inner-main-inner a {
    color: #22507e;
    font-size: 15px;
    line-height: 28px;
    margin-bottom: 0;
    font-weight: bold;
}

.page-inner-main-inner a:hover {
    color: #999;
}

.main-pic {
    margin: 3% 0;
}

.read-more {
    margin: 5% 6%;
}

.read-more ul {
    padding-left: 20px;
    color: #33507e;
    margin-bottom: 5%;
}

.read-more li {
    margin: 1.5% 0;
    font-size: 12px;
    font-weight: bold;
}

@media screen and (max-width: 1680px) {
    .fix-btn {
        left: 16%;
    }
}

@media screen and (max-width: 1440px) {
    .fix-btn {
        left: 9%;
    }
}

@media screen and (max-width: 1366px) {
    .fix-btn {
        left: 7%;
    }
}

@media screen and (max-width: 1280px) {
    .fix-btn {
        left: 5%;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        width: 100%;
        padding: 0;
    }
    .btn-map,
    .btn-map-hover,
    .btn-hover-decorate,
    .btn-active,
    .btn-active-hover {
        width: 85%;
        margin-left: 0;
    }
    .btn-hover-decorate {
        width: 11%;
        left: 38%;
        top: -58%;
    }
    .banner .owl-carousel .owl-item img {
        width: 68.5%!important;
    }
    .owl-carousel .owl-nav .owl-next,
    .owl-carousel .owl-nav .owl-prev {
        width: 30px;
        height: 45px;
    }
    .home-product-pic {
        width: 85%;
    }
    .blue-text-bg,
    .blue-text-bg-hover {
        width: 86%;
        left: -1%;
    }
    .blue-text p {
        font-size: 15px;
    }
    .home-product-item {
        height: 320px;
    }
    /* 內頁 */
    .fix-btn {
        left: 3%;
    }
    .page-inner-product ul,
    .page-inner-main-inner {
        width: 780px;
    }
    #page-inner .home-product-text p {
        font-size: 12px;
    }
}
