﻿/* 產品分類選單 */
.product-class ul {
    list-style: none;
    padding-left: 0;
}

.product-class > ul > li > ul {
    display: none;
    padding-left: 30px;
}

.product-class > ul > li.active ul,
.product-class > ul > li.open ul {
    display: block;
}

.product-class li a {
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    font-size: 16px;
    color: #333333;
    border-bottom: 1px solid #eee;
    position: relative;
}

.product-class > ul > li.active > a,
.product-class > ul > li > a:hover,
.product-class > ul > li > ul > li > a:hover,
.product-class > ul > li > ul > li.active > a {
    background-color: #f4f4f4;
    color: #003d6c;
}

.product-class li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 3px;
    height: 1em;
    background: #003d6c;
}

/* 產品篩選 */
#filter .filter-container {
    position: relative;
    background-color: #f4f4f4;
}

/* feature-panel */
.feature-panel {
    width: 280px;
    background-color: rgba(255,255,255,1);
    z-index: 1008;
}

    .feature-panel.left {
        width: -280px;
    }

    .feature-panel .bg {
        background-color: rgba(0,0,0,0.5);
    }

    .feature-panel .product-class {
        position: relative;
        background-color: #ffffff;
    }

    .feature-panel.open .product-class {
        min-height: 100vh;
        padding: 10px 10px 0 10px;
    }

#filter.feature-panel.right.open .filter-container {
    min-height: 100vh;
    padding: 20px 0 0 0;
    border-radius: 0;
}

    #filter.feature-panel.right.open .filter-container .row {
        margin: 0;
    }

/* feature-panel's trigger */
.triggers a {
    position: relative;
    width: 50%;
    padding: 10px 30px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

    .triggers a + a {
        margin-left: 10px;
    }

a.trigger-class:after {
    font-family: FontAwesome;
    content: "\f0c9";
    position: absolute;
    right: 10px;
}

a.trigger-filter:after {
    font-family: FontAwesome;
    content: "\f0b0";
    position: absolute;
    right: 10px;
}

/* Layout */
.section-product {
    background-image: url('/IMG/product-bg.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: calc(100vh - 148px);
}

/* 產品列表 */
.listing-item .overlay-container {
    box-shadow: 1.089px 1.677px 7.47px 1.53px rgba(0, 61, 108, 0.41);
}

.listing-item .body h3 {
    background-color: rgba(255,255,255,0.5);
}

@media (max-width:767px) {

    /* 產品列表 */
    .listing-item h4 {
        font-size: 12px;
    }
}

@media (min-width:768px) {
}

@media (min-width:992px) {

    /* 產品分類選單(套用feature-panel後修正CSS) */
    #class.feature-panel.left {
        position: relative;
        width: auto;
        left: auto;
        border-right: 0;
    }

    .feature-panel.open {
        box-shadow: none;
    }

        .feature-panel.open .bg {
            display: none;
        }

    #filter.feature-panel.right {
        position: relative;
        width: auto;
        right: auto;
        border-left: 0;
    }

        #filter.feature-panel.right .filter-container,
        #filter.feature-panel.right.open .filter-container {
            border-radius: 3px;
            padding: 20px;
        }

        #filter.feature-panel.right.open .filter-container {
            min-height: 0;
        }

            #filter.feature-panel.right.open .filter-container .row {
                margin-right: -15px;
                margin-left: -15px;
            }
}

@media (min-width:1200px) {
}
