/****************************  ****************************/

.products-list {
    margin: 0 -16px -50px;
}

.products-list li:nth-child(4n+1) {
    clear: left;
}

.products-list .item {
    width: 25%;
    padding: 0 16px;
}

.products-list .item a {
    max-width: 260px;
    margin: 0 auto 65px;
    text-align: center;
}

.products-list .pic {
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.products-list a .pic:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: -100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,f1da36+100 */
    background: rgba(0, 0, 0, 0.7);
    /* Old browsers */
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='rgba(0, 0, 0, 0.7)', endColorstr='rgba(0, 0, 0, 0.9)', GradientType=0);
    /* IE6-9 */
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.products-list a .pic:before {
    content: "";
    display: block;
    position: absolute;
    width: 80px;
    height: 82px;
    top: 0%;
    left: 50%;
    margin: -41px 0 0 -40px;
    background: url('../images/products/cover.png');
    z-index: 100;
    opacity: 0;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.products-list a:hover .pic:after,
.products-list a:hover .pic:before {
    bottom: 0;
    opacity: 1;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.products-list a:hover .pic:before {
    top: 50%;
}

.products-list .name {
    display: block;
    color: #CCCCCC;
    font-size: 17px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border: 1px solid rgba(221, 221, 221, .3);
    width: 100%;
    text-align: center;
    padding: 6px 10px;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.products-list .name:before {
    content: "";
    width: 100%;
    height: 1px;
    background: url('../images/line-s.png');
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.products-list a:hover .name {
    color: #fff;
    background: url(../images/menu_bg.png);
}


/****************************  ****************************/

.intro-table {
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
    width: 100%;
    margin: 20px 0;
}

.intro-table tr {
    border-bottom: 1px solid #ddd;
}

.intro-table th {
    color: #FF732F;
    width: 70px;
    text-align: left;
}

.intro-table th,
.intro-table td {
    padding: 5px;
    vertical-align: top;
}


/****************************  ****************************/

.gallery {
    width: 100%;
}

.stage {
    max-width: 626px;
    margin: 0 auto;
}


/****************************  ****************************/

.product-detail {
    max-width: 625px;
    margin: 0 auto;
}

.product-detail .title {
    width: 100%;
    text-align: center;
    color: #CCCCCC;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.8;
    min-height: 40px;
    position: relative;
    margin: -15px 0 50px 0;
}

.product-detail .title:after {
    content: '';
    display: block;
    width: 100%;
    background: url('../images/line-m.png') center bottom no-repeat;
    height: 1px;
    position: absolute;
    bottom: 0;
}


/****************************  ****************************/

.thumbnails {
    float: right;
    width: 35%;
}

.thumbnails {
    margin-top: 3.8%;
    display: none;
}

.thumbnails ul {
    margin: -1% -0.5% 0;
}

.thumbnails ul li {
    width: 50%;
    padding: 1% 0.5% 0;
}

.thumbnails a {
    position: relative;
    opacity: .6;
}

.thumbnails a:hover,
.thumbnails li.active a {
    opacity: 1;
}


/****************************  ****************************/

.page-control {
    font-size: 25px;
    max-width: 530px;
    background: #222222;
    padding: 2px 0 3px;
    margin: 10px auto 50px;
    text-align: center;
    color: #878787;
}

.page-control .current {
    color: #CCCCCC;
}

.gallery-control {
    position: relative;
}

.gallery-control .btn {
    width: 45px;
    height: 45px;
    background: url(../images/products/gallery-control.png), #363636;
    display: block;
    position: absolute;
    top: 0;
}

.gallery-control .btn:hover {
    background: url(../images/products/gallery-control.png), #000;
}

.gallery-control .btn.prev {
    background-position: left;
    left: 0;
}

.gallery-control .btn.next {
    background-position: right;
    right: 0;
}


/****************************  ****************************/

.product-name {
    font-size: 28px;
    color: #7F594C;
    line-height: 1.2;
}

.detail-title {
    position: relative;
    line-height: 40px;
    color: #7FCAA5;
    font-family: "Times New Roman", Times, "微軟正黑體", "Microsoft JhengHei", "微软雅黑", "メイリオ", "맑은 고딕", serif;
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

.detail-title b {
    display: inline-block;
    vertical-align: middle;
    font-size: 40px;
    line-height: 40px;
}

.detail-title:after {
    content: "";
    border-top: 1px solid #80CAA5;
    position: absolute;
    top: 50%;
    right: 0;
    left: 230px;
}


/****************************  ****************************/

.search-results {
    font-size: 16px;
    color: #D93600;
    text-align: center;
    margin: -30px 0 60px;
}

.search-list .item {
    width: 20%;
}

.search-list li:nth-child(4n+1) {
    clear: none;
}

.search-list li:nth-child(5n+1) {
    clear: left;
}


/****************************  ****************************/

@media screen and (max-width: 1200px) {
    .products-list .item {
        width: 50%;
    }
    .products-list li:nth-child(4n+1) {
        clear: none;
    }
    .products-list li:nth-child(2n+1) {
        clear: left;
    }
}

@media screen and (max-width: 600px) {
    .products-list .item {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .stage,
    .thumbnails,
    .product-detail .title {
        float: none;
        width: auto;
    }
    .thumbnails ul {
        margin: -6px -3px 0;
    }
    .thumbnails ul li {
        width: 33.33%;
        padding: 6px 3px 0;
        text-align: center;
    }
}
