﻿body {
    font-family: Microsoft JhengHei;
}

.logo {
    margin-left: 1rem;
}

.note {
    color: #888;
    font-size: 13px;
}

header.navbar {
    background-color: #008800;
    border: none;
    z-index: 1035;
    box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #008800;
}

.page-wrapper {
    margin-top: 60px;
}

#footer {
    background-color: #008800;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0px -6px 6px rgba(0, 0, 0, 0.1);
}

    #footer a, #footer a:hover, #footer a.active {
        color: #fff;
    }

.navbar-toggle .icon-bar {
    background-color: #fff;
}

header .navbar-nav > li > a {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #fff;
    height: 60px;
}

header .navbar-nav li > a:hover,
header .navbar-nav li > a.active,
header .navbar-nav li.show > a {
    background-color: #00AA00;
    border-color: #008800;
    color: #fff;
}

.mega-menu .menu > li > a:hover, .mega-menu .menu > li > a:focus, .mega-menu li > a.active {
    background-color: transparent !important;
    color: #008800 !important;
    border-color: transparent !important;
}

/* Common */
a {
    -o-transition: all .3s linear;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
}

    a:hover {
        cursor: pointer;
        text-decoration: none;
    }

    a:focus,
    a:active {
        text-decoration: none;
    }

.btn i {
    margin-right: 5px;
}

.btn-gray {
    background-color: #fff;
    border-color: #eaeaea;
    color: #6a6c6f;
}

    .btn-gray:hover {
        background-color: #dcdddd;
    }

.btn-default {
    color: #ffffff;
    background-color: #008800;
}

    .btn-default:hover {
        color: #ffffff;
        background-color: #006600;
    }

/*立即撥打連結與qrcode*/
.call-phone-qrcode {
    background-color: #e77918;
    background-image: linear-gradient(-60deg, #ff5858 0%, #f09819 100%);
}

    .call-phone-qrcode .mobile {
        display: block;
        color: #ffffff;
        font-size: 24px;
        font-weight: bold;
        letter-spacing: 1px;
        text-align: center;
    }

    .call-phone-qrcode .qrcode-icon {
        display: flex;
        align-items: center;
        padding: 10px;
        line-height: 1.0;
    }

        .call-phone-qrcode .qrcode-icon > i {
            font-size: 24px;
            background-color: #ffffff;
            padding: 1px 3px;
        }

/* Breadcrumb */
.breadcrumb {
    font-size: 12px;
    background-color: transparent;
    margin-bottom: 0;
    padding-left: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    font-family: "FontAwesome";
    content: "\f101";
}

/*mega-dropdown*/
.mega-dropdown .dropdown-toggle {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background-color: #efefef;
}

    .mega-dropdown .dropdown-toggle:hover {
        background-color: #dcdddd;
    }

.mega-dropdown .dropdown a::after {
    transition: all ease .3s;
}

.mega-dropdown.dropdown.show a::after {
    transform: rotate(-180deg);
}

.mega-dropdown .dropdown-item {
    padding: 0.5rem 1.5rem;
}

    .mega-dropdown .dropdown-item + .dropdown-item {
        border-top: 1px solid #e9ecef;
    }

.mega-dropdown .dropdown-menu {
    margin-top: 5px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-height: calc(100vh - 350px);
    overflow-y: auto;
    overflow-x: hidden;
}

    .mega-dropdown .dropdown-menu .panel {
        background-color: #ffffff;
        border-top: 1px solid #dee2e6;
        padding: 10px;
        width: 600px;
    }

        .mega-dropdown .dropdown-menu .panel:first-child {
            border-top-left-radius: 0.25rem;
            border-top-right-radius: 0.25rem;
            border-top: none;
        }

        .mega-dropdown.dropdown-menu .panel:last-child {
            border-bottom-left-radius: 0.25rem;
            border-bottom-right-radius: 0.25rem;
        }

        .mega-dropdown .dropdown-menu .panel .title {
            color: #008800;
            padding: 5px 0;
        }

.dropdown-menu .bootstrap-datetimepicker-widget.dropdown-menu {
    left: auto !important;
}

/*option*/
.option ul.items > li {
    display: inline-block;
    margin-left: 2px;
    margin-bottom: 5px;
}

    .option ul.items > li > a {
        display: inline-block;
        background-color: #efefef;
        border-radius: 0.25rem;
        padding: 5px 8px;
        color: #777777;
    }

        .option ul.items > li > a:hover {
            color: #000000;
            background-color: #dcdddd;
        }

        .option ul.items > li.active > a,
        .option ul.items > li > a.active {
            color: #ffffff;
            background-color: #008800;
        }

/* Scrollspy */
.section-scrollspy {
    position: fixed;
    z-index: 1020;
    top: 0px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
    transition: all ease .5s;
}

    .section-scrollspy.show {
        top: 61px;
    }

.scrollspy nav a {
    padding: 0.5em 1em 0.5em 0;
}

.scrollspy a.active, .scrollspy a:hover {
    color: #008800;
}

/*pagination*/
.pagination {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.page-link {
    color: #008800;
}

    .page-link:hover {
        color: #005500;
    }

.page-item.active .page-link {
    background-color: #008800;
    border-color: #008800;
}

/* Footer */
footer .subfooter {
    color: #ffffff;
    background-color: #008800;
    padding: 15px 0;
}

    footer .subfooter ul > li {
        padding: 3px 0;
    }

    footer .subfooter ul.other > li {
        display: inline-block;
    }

        footer .subfooter ul.other > li + li {
            margin-left: 30px;
        }

footer .link ul {
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
}

    footer .link ul li {
        margin: 0 0.5em;
    }


footer .copyright, footer .design {
    margin: 3px 0;
}

body.nav-bottom footer {
    margin-bottom: 55px;
}

.main-menu > li > a.nav-link {
    width: 90px;
}

.main-menu .dropdown-menu {
    border-color: #008800;
}

    .main-menu .dropdown-menu a {
        color: #888;
    }

.member .dropdown-menu {
    border-color: #008800;
}

.section-shopcart .container {
    padding-top: 0px;
}

.section-shopcart .cart-step .icon.default-bg {
    background-color: #008800;
}

.section-shopcart .cart-step h5 {
    font-size: 1rem;
}


/*feature-panel樣式*/
.feature-panel, .feature-panel.center.open {
    top: 60px;
    bottom: 0px;
}

    .feature-panel .header {
        height: 40px;
        background-color: #f1f3f6;
        border-bottom: 1px solid #ddd;
    }

        .feature-panel .header i {
            margin-right: 5px;
        }

        .feature-panel .header > div {
            width: 40px;
        }

    .feature-panel .toggle-body.open {
        height: calc(100% - 40px)
    }

    .feature-panel .toggle-body.down {
        top: 40px;
    }

    .feature-panel .feature {
        border-top: 1px solid #ddd;
    }

/* search-mobile */
.search-mobile {
    border-left: 1px solid #ced4da;
    z-index: 1031;
}

    .search-mobile .keyword > i {
        position: absolute;
        top: 0;
        left: 15px;
        line-height: 38px;
    }

    .search-mobile .keyword > input {
        padding-left: 40px;
    }

    .search-mobile .option ul.items > li > a {
        font-size: 14px;
    }

    .search-mobile .accordion > .card {
        border-bottom: 1px solid rgba(0, 0, 0, 0.125);
        border-radius: 0.25rem;
        overflow: unset;
    }

        .search-mobile .accordion > .card > .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 6px 10px;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }

            .search-mobile .accordion > .card > .card-header:after {
                font-family: 'FontAwesome';
                content: '\f106';
                transition: all ease .3s;
            }

            .search-mobile .accordion > .card > .card-header.collapsed::after {
                transform: rotate(-180deg);
            }

        .search-mobile .accordion > .card .card-body {
            font-size: 14px;
            padding: 10px;
        }

            .search-mobile .accordion > .card .card-body + .card-body {
                border-top: 1px solid #dee2e6;
            }

        .search-mobile .accordion > .card .card-title {
            color: #008800;
        }

    .search-mobile .header {
        padding: 0 20px;
    }

        .search-mobile .header > * {
            width: auto;
            height: auto;
            line-height: 1.0;
        }

        .search-mobile .header > div {
            width: auto;
        }

    .search-mobile .tab-content {
        overflow-y: visible;
    }

/* Mobile Menu */
#nav-mobile {
    width: 270px;
    background-color: #ffffff;
    color: #333333;
    border-right: 0;
}

    #nav-mobile .wrapper {
        width: 270px;
    }

    #nav-mobile .bg {
        background-color: rgba(0, 0, 0, 0.5);
    }

    #nav-mobile .body {
        background-color: #f1f3f6;
        padding: 10px;
    }

        #nav-mobile .body .form-row.menu {
            padding-bottom: 10px;
        }

        #nav-mobile .body .menu a {
            position: relative;
            display: block;
            color: #333;
            text-align: center;
            line-height: 1;
            padding: 46px 5px 12px;
            background-position: center 12px;
            background-repeat: no-repeat;
            background-size: auto 25px;
            background-color: #e3e4e7;
            border-radius: 5px;
            border: 1px solid rgba(0, 0, 0, 0.125);
        }

            #nav-mobile .body .menu a:not(.collapsed),
            #nav-mobile .body .menu a:hover {
                color: #333;
                background-color: #fff;
            }

            #nav-mobile .body .menu a.auction {
                background-image: url('/Images/icon-auction.png');
            }

            #nav-mobile .body .menu a.sale {
                background-image: url('/Images/icon-sale.png');
            }

            #nav-mobile .body .menu a.price {
                background-image: url('/Images/icon-price.png');
            }

            #nav-mobile .body .menu a.land {
                background-image: url('/Images/icon-land.png');
            }

            #nav-mobile .body .menu a.work {
                background-image: url('/Images/icon-work.png');
            }

        #nav-mobile .body .collapse {
            margin-bottom: 10px;
        }

        #nav-mobile .body .list-group + .list-group {
            margin-top: 5px;
        }

        #nav-mobile .body .collapse a:hover,
        #nav-mobile .body .collapse a.active {
            background-color: #f9f9f9;
        }

    #nav-mobile .feature {
        justify-content: space-around;
        background-color: #2f4050;
        border-top: 1px solid rgba(0,0,0,0.2);
        height: 55px;
    }

/* 金屬反光特效 */
.shine {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

    .shine:after {
        content: "";
        top: 0;
        transform: translateX(100%) rotate(30deg);
        width: 300%;
        height: 300%;
        position: absolute;
        z-index: 1;
        -webkit-animation: shine 3s infinite ease-in;
        animation: shine 3s infinite ease-in;
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(128, 186, 232, 0) 99%, rgba(128, 186, 232, 0) 100%);
    }

/* Animation */
@-webkit-keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(30deg);
    }

    80% {
        transform: translateX(-100%) translateY(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(30deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(30deg);
    }

    80% {
        transform: translateX(-100%) translateY(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(30deg);
    }
}

@keyframes flash {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

@media (max-width:767px) {
    .logo {
        flex: 1;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    header .navbar-nav > li > a {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .feature-panel,
    .feature-panel .wrapper,
    .feature-panel .slider-container,
    .feature-panel .toggle-body {
        width: 100%;
    }

        .feature-panel.left.hold {
            left: -100%;
        }

        .feature-panel.left.open {
            left: 0px;
        }

    #nav-mobile {
        width: 270px;
    }

        #nav-mobile .wrapper {
            width: 270px;
        }
}

@media (min-width:768px) {
    /* Footer */
    .footer ul > li {
        display: inline-block;
    }

        .footer ul > li + li {
            margin-left: 65px;
        }
}
