﻿body {
    font-size: 16px;
    font-family: Microsoft JhengHei;
}

h1, h2, h3, h4, h5, h6, .navbar .navbar-nav {
    font-family: 'Raleway', 'Microsoft JhengHei', sans-serif;
}

form {
    margin: 0px;
}

.transparent-header header.header.transparent-header-on {
    border: none;
}

#logo {
    background-color:#f1f1f1;
}

#logo img {
    margin: 0 auto;
}

.header {
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    background-color: #fff;
}

.fixed-header-on .header .logo img {
    max-height: 50px;
}

.fixed-header-on .header.fixed-customer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1006;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
}

.nav-pills > li > a {
    font-size: 14px;
}

.border-top {
    border-top: 1px solid #f3f3f3;
}

ul.pagination li > a,
.pagination > li:first-child > a,
.pagination > li:last-child > a,
ul.pager li > a {
    width: auto;
    height: auto;
    border-radius: 5px;
    padding: 0 5px;
}

    ul.pager li > a:hover,
    ul.pager li > a:focus {
        color: #000000;
    }

.section-list.dark-green-bg {
    background-color: #BAA132;
    color: #ffffff;
    padding: 20px 0;
    border: none;
}

    .section-list.dark-green-bg .btn-gray-transparent {
        border-color: #ffffff;
        color: #ffffff;
    }

        .section-list.dark-green-bg .btn-gray-transparent:hover {
            border-color: #ffffff;
            color: #777777;
            background-color: #ffffff;
        }


.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1006;
    background: #FFFFFF;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

    .nav-mobile .container {
        margin-top: 50px;
        padding: 0 50px;
    }

.fixed-header-on .nav-mobile .container {
    margin-top: 12px;
}

.nav-mobile .menu a {
    /*color: #B60005;*/
    border-bottom: solid 1px #ffffff;
    text-decoration: none;
}

    .nav-mobile .menu a:hover {
        background-color: #809398;
        color: #FFFFFF;
    }

.nav-mobile .dropdown-menu:before {
    background-image: none;
}

.nav-mobile .dropdown-menu {
    margin-left: 0px;
}

.nav-mobile .dropdown .dropdown > a:before {
    display: none;
}

.nav-mobile .search {
    margin-top: 20px;
}


@media (max-width:767px) {

    .logo {
        padding: 0 60px;
    }

        .logo img {
            height: 70px;
        }

    .fixed-header-on .header .logo img {
        max-height: 40px;
    }

    .header {
        border: none;
        background-color: #ffffff;
    }

    .navbar-toggle {
        left: 5px;
        top: 10px;
        border: none;
        z-index: 1007;
        position: fixed;
        background-color: transparent;
        transition: all ease .5s;
    }

    .fixed-header-on .navbar-default .navbar-toggle {
        margin-top: -47px;
    }

    .navbar-toggle {
        background-color: transparent;
    }

    .fixed-header-on .navbar-toggle {
        top: 10px;
    }

    .navbar-toggle .icon-bar {
        background-color: #000000;
        -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        transform: matrix(1, 0, 0, 1, 0, 0);
    }

        .navbar-toggle .icon-bar:nth-child(2) {
            -webkit-transition: all .8s cubic-bezier(.19, 1, .22, 1);
            transition: all .8s cubic-bezier(.19, 1, .22, 1);
            -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
            transform: matrix(1, 0, 0, 1, 0, 0);
        }

        .navbar-toggle .icon-bar:nth-child(3) {
            -webkit-transition: all .8s cubic-bezier(.19, 1, .22, 1);
            transition: all .8s cubic-bezier(.19, 1, .22, 1);
        }

        .navbar-toggle .icon-bar:nth-child(4) {
            transition: all .8s cubic-bezier(.19, 1, .22, 1);
            -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
            transform: matrix(1, 0, 0, 1, 0, 0);
        }

    .navbar-toggle.open .icon-bar:nth-child(2) {
        transition: all .8s cubic-bezier(.19, 1, .22, 1);
        -webkit-transform: matrix(.8, -.8, .8, .8, 0, 6);
        transform: matrix(.8, -.8, .8, .8, 0, 6);
    }

    .navbar-toggle.open .icon-bar:nth-child(3) {
        -webkit-transition: all .8s cubic-bezier(.19, 1, .22, 1);
        transition: all .8s cubic-bezier(.19, 1, .22, 1);
        -webkit-transform: translateX(-60px);
        opacity: 0;
    }

    .navbar-toggle.open .icon-bar:nth-child(4) {
        -webkit-transition: all .8s cubic-bezier(.19, 1, .22, 1);
        transition: all .8s cubic-bezier(.19, 1, .22, 1);
        -webkit-transform: matrix(.8, .8, -.8, .8, 0, -6);
        transform: matrix(.8, .8, -.8, .8, 0, -6);
    }

    .navbar {
        min-height: 0px;
    }

    .navbar-nav {
        margin: 0px -15px;
    }

    .navbar.navbar-default {
        background-color: rgba(0, 0, 0, 0);
        border-width: 0px;
        margin: 1px;
    }

    .header .navbar-default .navbar-nav > li > a, .header .navbar-default .navbar-nav > .open a {
        color: #FFFFFF;
    }

        .header .navbar-default .navbar-nav > li > a:hover {
            color: #657935;
        }

    .fixed-header-on .header-dropdown-buttons {
        margin-top: -48px;
    }

    .header-dropdown-buttons {
        position: absolute;
        right: 5px;
        margin-top: -50px;
    }

        .header-dropdown-buttons .btn-group > .btn {
            border: none;
            background-color: transparent;
            color: #B60005;
        }

        .header-dropdown-buttons .btn-group.open > .btn {
            border: 1px solid #FFFFFF;
            box-shadow: none;
        }

        .header-dropdown-buttons .btn-group .dropdown-menu {
            margin-top: 10px;
        }

        .header-dropdown-buttons .btn-group .cart.dropdown-menu {
            margin-right: -21px;
        }

        .header-dropdown-buttons .btn-group .search.dropdown-menu {
            margin-right: -65px;
        }

    body:not(.fixed-header-on) .header:not(.dark) .main-navigation .navbar-nav > .open > a,
    body:not(.fixed-header-on) .header:not(.dark) .main-navigation .navbar-nav > .open > a:hover,
    body:not(.fixed-header-on) .header:not(.dark) .main-navigation .navbar-nav > .open > a:focus,
    body:not(.fixed-header-on) .header:not(.dark) .main-navigation .navbar-nav > .dropdown > a:focus {
        color: #657935;
        background-color: #FFFFFF;
    }
}
