﻿body {
    font-family: 'Microsoft JhengHei', sans-serif;
}

h1, h2, h3, h4, h5, h6, .navbar .navbar-nav {
    font-family: 'Lato', 'Microsoft JhengHei', sans-serif;
    text-transform: none;
}

form {
    margin: 0px;
}

/* Common */
.text-gray {
    color: #aaaaaa;
}

.text-blue {
    color: #0033CC;
}

.text-red {
    color: #ff0000;
}

.text-green {
    color: #006600;
}

.text-orange {
    color: #E86F00;
}

p img {
    display: inline-block;
}

/* Style of Scroll To Top */
.scrollToTop {
    background-color: rgba(153, 153, 153, 0.6);
    width: 48px;
    height: 48px;
    padding: 3px;
    bottom: 5px;
}

    .scrollToTop:hover {
        background-color: rgba(153, 153, 153, 1);
    }

        .scrollToTop:hover i {
            color: #ffffff;
            -webkit-transition: all 0.2s ease-in-out;
            -o-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
        }

    .scrollToTop i {
        line-height: 40px;
        font-size: 20px;
    }

.fix-feature .line {
    background-image: url(/Images/line-logo.svg);
    background-size: 60%;
    background-color: #00B900;
}

.fix-feature .facebook {
    background-image: url(/Images/facebook-logo.svg);
    background-color: #1877f2;
    background-size: contain;
}

/* Buttons */
a {
    color: inherit;
    -o-transition: all .3s linear;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
}

    a:hover {
        color: inherit;
        cursor: pointer;
        text-decoration: none;
    }

    a:focus,
    a:active {
        text-decoration: none;
    }

.btn-default {
    background-color: #00558e;
    border-color: #00558e;
    color: #ffffff;
}

    .btn-default:hover,
    .btn-default:focus {
        background-color: #011c2f;
        border-color: #010f19;
        color: #ffffff;
    }

/* Header */
.header-container {
    padding-bottom: 56px;
    margin-bottom: 0;
}

header {
    position: fixed;
    width: 100%;
    background-color: #00558e;
    z-index: 1;
}

    header .navbar-brand img {
        height: 30px;
    }

    header .navbar-brand {
        display: none;
    }

    header .navbar-nav .nav-link:hover,
    header .navbar-nav .nav-link:focus,
    header .navbar-nav .nav-link.active,
    .header-second .navbar-nav .nav-item.show > .nav-link,
    .header-second .navbar-nav .dropdown-menu .nav-link:hover,
    .header-second .navbar-nav .dropdown-menu .nav-link:focus,
    .header-second .navbar-nav .dropdown-menu .nav-link.active {
        color: #ffffff;
        background-color: #003d66;
    }

.header-first .navbar-nav .nav-link {
    color: #ffffff;
    border: 0;
    background-color: #00558e;
    white-space: nowrap;
}


.header-second .navbar-nav .nav-link {
    color: #03273f;
    border: 0;
    padding-right: 1.0rem;
    padding-left: 1.0rem;
}

    .header-second .navbar-nav .nav-link:hover,
    .header-second .navbar-nav .dropdown-menu .nav-link {
        color: #ffffff;
        background-color: #00558e;
    }

header .navbar-nav .dropdown-menu {
    border: 0;
}

    header .navbar-nav .dropdown-menu.search {
        background-color: #00558e;
        padding: 15px;
    }

        header .navbar-nav .dropdown-menu.search .search-keyword input {
            min-width: 150px;
        }

        header .navbar-nav .dropdown-menu.search .search-keyword button {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }

header .dropdown-toggle::after {
    display: none;
}

/* Header fixed */
.fixed-header-on header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1006;
    animation: headerDown 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    box-shadow: 0px 2px 5px rgba(0,0,0,0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

    .fixed-header-on header .navbar-brand:not(.home-only) {
        display: block;
        margin-top: 15px;
    }

    .fixed-header-on header .header-first .navbar-nav .nav-link {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }

    .fixed-header-on header .header-second .navbar {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

@keyframes headerDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0%);
    }
}

/* Banner */
.section-banner .slick-arrow {
    position: absolute;
    top: calc(50% - 26px);
    left: 0;
    font-size: 50px;
    line-height: 1.0;
    padding: 0 15px;
    color: #ffffff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
    opacity: 0.8;
}

.section-banner .slick-prev:before {
    font-family: 'FontAwesome';
    content: "\f104";
}

.section-banner .slick-next {
    left: auto;
    right: 0;
}

    .section-banner .slick-next:before {
        font-family: 'FontAwesome';
        content: "\f105";
    }

.section-banner .slick-dots {
    padding-left: 0;
    list-style: none;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 0;
}

    .section-banner .slick-dots li {
        display: inline-block;
    }

        .section-banner .slick-dots li + li {
            margin-left: 15px;
        }

        .section-banner .slick-dots li button {
            font-size: 0px;
            line-height: 0;
            width: 12px;
            height: 12px;
            border: 0;
            border-radius: 100%;
            outline: none;
            background-color: #666666;
            opacity: 0.8;
        }

            .section-banner .slick-dots li button:hover,
            .section-banner .slick-dots li button:focus {
                opacity: 1;
            }

        .section-banner .slick-dots li.slick-active button {
            background-color: #00558e;
            opacity: 1;
        }

/* Shopcart */
.cart-count {
    top: -5px;
    left: calc(100% - 5px);
    background-color: #001f33;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
    background-color: transparent;
}

.breadcrumb-item + .breadcrumb-item::before {
    font-family: 'FontAwesome';
    font-weight: normal;
    content: "\f105";
}

.breadcrumb-item:last-child {
    font-weight: bold;
}

/* Section */
.title-underline {
    border-bottom: 1px solid #7e7e7e;
}

.title-underline-en {
    letter-spacing: 0.1em;
}

/* 專品理念 */
#list-row-45 .list-item {
    position: relative;
    color: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

    #list-row-45 .list-item .card-img-overlay {
        font-size: 12px;
        top: calc(100% - 12em);
        padding-left: 8%;
        padding-right: 8%;
    }

/* 公司願景 */
#list-row-18 {
    font-size: 18px;
    line-height: 2;
}

#list-row-19 {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.7;
}

    #list-row-19 .year {
        color: #145c93;
        text-align: right;
    }

        #list-row-19 .year:before {
            content: '';
            position: absolute;
            top: 1em;
            right: 0;
            display: block;
            width: 3px;
            height: 100%;
            background-color: #145c93;
        }

        #list-row-19 .year:after {
            content: '';
            position: absolute;
            top: 5px;
            right: -8px;
            display: block;
            width: 20px;
            height: 20px;
            border: 3px solid #145c93;
            border-radius: 100%;
            background-color: #ffffff;
        }

    #list-row-19 .timeline:last-child .year:before {
        height: 0;
    }

/* 服務項目 */
#list-row-22 {
    line-height: 2;
}

/* 吉祥物介紹 */
#list-row-25 {
    line-height: 2;
}

/* Product */
.list-row-productpush .slick-slider {
    padding: 0 15px;
}

    .list-row-productpush .slick-slider .slick-slide {
        margin: 0 30px;
    }

.list-row-productpush .slick-arrow {
    position: absolute;
    top: calc(50% - 30px);
    left: 0;
    font-size: 40px;
    color: #333333;
    z-index: 2;
}

.list-row-productpush .slick-next {
    left: auto;
    right: 0;
}

.list-row-productpush .price-box {
    font-weight: bold;
}

    .list-row-productpush .price-box > span:before {
        content: 'NT$';
    }

.list-row-productpush .price {
    color: #ff0000;
    margin-right: 0.25em;
}

.list-row-productpush .oprice {
    color: #a6a6a6;
    font-size: 0.8em;
    text-decoration: line-through;
}

#list-row-28 .list-item h4 {
    font-weight: bold;
    margin-top: 10px;
}

#list-row-53 .bg-gray {
    padding: 5vh 15px;
    background-color: #eee;
    border-radius: 15px;
}


/* Footer */
#footer {
    border-top: 1px solid #000000;
    background-color: #ecf5fc;
}

    #footer h4 {
        color: #272727;
        font-weight: bold;
        padding-bottom: 8px;
        margin-bottom: 15px;
        border-bottom: 1px solid #272727;
    }

    #footer ul {
        color: #272727;
        list-style: none;
        padding-left: 0;
    }

        #footer ul > li {
            margin: 5px 0;
        }

            #footer ul > li > a {
                color: #272727;
            }

        #footer ul.social-links > li > a {
            display: block;
            color: #ffffff;
            text-align: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }

        #footer ul.social-links > li.line > a {
            background-image: url(/Images/line-logo.svg);
            background-color: #00B900;
            background-position: center;
            background-repeat: no-repeat;
            background-size: 24px;
        }

        #footer ul.social-links > li.facebook > a {
            background: rgb(0,98,224);
            background: -moz-linear-gradient(0deg, rgba(0,98,224,1) 0%, rgba(25,175,255,1) 100%);
            background: -webkit-linear-gradient(0deg, rgba(0,98,224,1) 0%, rgba(25,175,255,1) 100%);
            background: linear-gradient(0deg, rgba(0,98,224,1) 0%, rgba(25,175,255,1) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0062e0",endColorstr="#19afff",GradientType=1);
            font-size: 36px;
            line-height: 48px;
            overflow: hidden;
        }

    #footer .subfooter {
        color: #ffffff;
        background-color: #00558e;
    }

/* Mobile Navbar 手機版選單(滑出版) */
.navbar-toggle {
    padding: 15px;
}

    .navbar-toggle .icon-bar {
        background-color: #ffffff;
    }

#nav-mobile.feature-panel .wrapper {
    width: 100%;
}

#nav-mobile.feature-panel {
    background-color: #ffffff;
    color: #333;
    border-right: 0;
    width: 270px;
}

    #nav-mobile.feature-panel .bg {
        background-color: rgba(0, 0, 0, 0.5);
    }

    #nav-mobile.feature-panel .header {
        display: block;
        height: 104px;
        background-color: #00558e;
        padding: 0 15px;
    }

        #nav-mobile.feature-panel .header > * {
            width: auto;
            height: auto;
        }

    #nav-mobile.feature-panel .exit {
        position: relative;
        width: 20px;
        height: 20px;
    }

        #nav-mobile.feature-panel .exit:hover {
            opacity: 0.85;
            cursor: pointer;
        }

        #nav-mobile.feature-panel .exit:before,
        #nav-mobile.feature-panel .exit:after {
            position: absolute;
            left: 8px;
            content: ' ';
            height: 20px;
            width: 2px;
            background-color: #ffffff;
        }

        #nav-mobile.feature-panel .exit:before {
            transform: rotate(45deg);
        }

        #nav-mobile.feature-panel .exit:after {
            transform: rotate(-45deg);
        }

    #nav-mobile.feature-panel .logo {
        margin-right: 35px;
    }

        #nav-mobile.feature-panel .logo img {
            height: 30px;
        }

    #nav-mobile.feature-panel .search-keyword button {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    #nav-mobile.feature-panel .body {
        background-color: #ffffff;
        padding: 15px;
    }

        #nav-mobile.feature-panel .body a {
            position: relative;
            display: block;
            padding: 8px 0;
            color: #102D4D;
            border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        }

        #nav-mobile.feature-panel .body ul {
            list-style: none;
            padding-left: 0;
        }

        #nav-mobile.feature-panel .body > ul > li > ul > li > a {
            padding-right: 10px;
            padding-left: 1.5em;
        }

        #nav-mobile.feature-panel .body > ul > li > ul > li a:before {
            font-family: 'FontAwesome';
            content: "\f105";
            color: #00558e;
            position: absolute;
            left: 0.5em;
        }

        #nav-mobile.feature-panel .body > ul > li > ul > li > ul > li > a {
            padding-right: 10px;
            padding-left: 2.5em;
        }

            #nav-mobile.feature-panel .body > ul > li > ul > li > ul > li > a:before {
                left: 1.5em;
            }

        #nav-mobile.feature-panel .body > ul > li > ul {
            display: none;
        }

        #nav-mobile.feature-panel .body > ul > li.active ul,
        #nav-mobile.feature-panel .body > ul > li.open ul {
            display: block;
        }

        #nav-mobile.feature-panel .body li.active > a {
            color: #007bcd;
        }

    #nav-mobile.feature-panel .feature {
        background: #001f33;
        border-top: 1px solid rgba(0,0,0,0.2);
        height: 50px;
        color: #ffffff;
        font-size: 20px;
    }

        #nav-mobile.feature-panel .feature a.line {
            background-image: url('/Images/line-logo.svg');
            background-position: center;
            background-repeat: no-repeat;
            background-size: contain;
            width: 20px;
            height: 20px;
        }



@media (min-width: 576px) {

    /* Header */
    .header-first .navbar-nav .nav-link {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    /* 專品理念 */
    #list-row-45 .list-item .card-img-overlay {
        font-size: 14px;
        top: calc(100% - 11em);
    }
}

@media (min-width: 768px) {

    /* Header */
    .header-first .navbar-nav .nav-link {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    /* Banner */
    .section-banner .slick-slider .contents h1 {
        font-size: 4vh;
    }

    .section-banner .slick-slider .contents p {
        font-size: 18px;
    }

    /* 專品理念 */
    #list-row-45 .list-item .card-img-overlay {
        font-size: 16px;
        top: calc(100% - 12em);
    }
}

@media (min-width: 992px) {

    /* Header */
    .header-container {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    header {
        position: relative;
        background-color: transparent;
    }

        header .navbar-brand:not(.home-only) {
            display: inline-block;
            margin-top: 45px;
        }

        header .navbar-brand img {
            height: 50px;
        }

        header .navbar-brand.home-only img {
            height: 200px;
        }

    .header-first .navbar-nav .nav-link {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    /* 專品理念 */
    #list-row-45 .list-item .card-img-overlay {
        font-size: 12px;
        top: calc(100% - 12em);
    }
}

@media (min-width: 1200px) {

    /* Header */
    .header-second .navbar-nav .nav-link {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    /* Product */
    .list-row-productpush .slick-slider .slick-slide {
        margin: 0 60px;
    }

    /* 專品理念 */
    #list-row-45 .list-item .card-img-overlay {
        font-size: 16px;
        top: calc(100% - 11em);
    }
}

/* Special Size */
@media (min-width: 1600px) {

    .container-fluid {
        padding-left: 160px;
        padding-right: 160px;
    }
}
