/*------------sort_box------------*/


/*------------產品列表頁排序功能，下拉選單跟變換列表尺寸的小圖------------*/

.sort_box {
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
    padding: 0;
    margin-top: 0px;
}

.control-label {
    float: left;
    margin-right: 10px;
    line-height: 30px;
}

.control-box {
    float: left;
}

.sort_box .form-control {
    margin-bottom: 0px;
    background: #fff;
    color: #666;
    padding: 0 5px;
    border: 1px solid #ddd;
    height: 36px;
    line-height: 36px;
}

.sort_box .form-control:focus {
    outline: none;
    background: #efefef;
}

.form-group {
    float: left;
    padding: 5px 0;
}

.form-group:after {
    content: '';
    display: block;
    float: left;
    z-index: 10;
    height: 22px;
    left: 0;
    top: 0;
    margin: 4px 4px;
}

.sort_icon {
    float: left;
    line-height: 30px;
    padding: 5px 0;
}

.sort_icon .ibtn.one {
    background-image: url(../../images/common/products/sort_pic3.png);
    width: 24px;
    height: 24px;
    display: none;
}

.sort_icon .ibtn.two {
    background-image: url(../../images/common/products/sort_pic1.png);
    width: 24px;
    height: 24px;
}

.sort_icon .ibtn.four {
    background-image: url(../../images/common/products/sort_pic2.png);
    width: 24px;
    height: 24px;
}

.sort_icon .ibtn.active {
    background-position: 0 100%;
}


/*------------sort_box------------*/


/*------------nonenav------------*/

.products-list .nonenav {
    width: 25%;
    padding: 0 6px;
}

.products-list .box_nonenav {
    max-width: 350px;
    margin: 0 auto 50px;
    position: relative;
}


/*------------nonenav------------*/


/*------------ product-list ------------*/

.products-list {
    margin: 0 -6px;
}

.products-list .item {
    width: 25%;
    padding: 0 6px;
}

.products-list .item:nth-child(4n+1) {
    clear: left;
}

.products-list .box {
    margin: 0 auto 50px;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .2s;
    transition: all .2s;
    position: relative;
}

.products-list .box .cover{
    font-size: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index:30;
}
.products-list .box.new:before {
    content: '';
    display: block;
    background: url('../../images/common/products/new_tag.png') no-repeat;
    width: 60px;
    height: 60px;
    position: absolute;
    z-index: 10;
    top: 25px;
    left: 15px;
    pointer-events: none;
}

.products-list .box-wrap {
    overflow: hidden;
    display: block;
    position: relative;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.products-list .pic-box {
    overflow: hidden;
    display: block;
    position: relative;
    -webkit-transition: all .2s;
    transition: all .2s;
    border-radius: 5px 5px 0 0;
}

.products-list .pic {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 8;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.products-list .box:hover .pic {
    -webkit-transform: translate(0, -75px);
    transform: translate(0, -75px);
}

.products-list .txt {
    padding: 10px 0 0;
    text-align: center;
    font-size: 18px;
}

.products-list .txt:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 14px 16px 14px;
    border-color: transparent transparent #fff transparent;
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -14px;
    display: none;
}

.products-list .more .ic {
    font-size: 20px;
    vertical-align: text-bottom;
    margin: 0 0 -2px 6px;
}

.products-list .name {
    color: #17171F;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 25px;
    margin: 10px 10px;
    z-index: 8;
    font-size: 16px;
    position: relative;
    letter-spacing: 0.05em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.products-list .box:hover .name  {
    -webkit-transform: translate(0, -80px);
    transform: translate(0, -80px);
    color: #009FE8;
    margin-top: 20px;
    margin-bottom: 0px;
}

.products-list .more {
    width: 95%;
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
    -webkit-transform: translate(0, 115px);
    transform: translate(0, 115px);
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    z-index: 9;
}

.products-list .box:hover .more {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.products-list .box:hover .more {
    opacity: 1;
}

.products-list .description  {
    font-size: 14px;
    color: #000;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 80px;
    padding: 5px 0px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
    margin: auto;
    position: relative;
}

.products-list .box {
    padding-bottom: 5px;
}


/*------------ detail ------------*/

.products-intro {
    margin-bottom: 10px;
}

.gallery {
    float: left;
    width: 628px;
    max-width: 628px;
    margin: 0 auto 15px;
    overflow: hidden;
}

.gallery .slider {
    float: right;
    width: 85.03%;
}

.thumbnails {
    float: left;
    width: 13.38%;
}

.thumbnails ul {
    margin: -4.7% 0;
}

.thumbnails li {
    padding: 4.7% 0;
}

.thumbnails li a {
    max-width: 120px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.thumbnails li a:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.5);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.thumbnails li a:hover:before,
.thumbnails li.active a:before {
    background: transparent;
    border: 3px solid #37A0DB;
}

.pd-intro {
    float: right;
    width: calc(100% - 650px);
    background: #fdfdfd;
    padding: 15px;
    border: 3px solid #89d3f5;
    box-sizing: border-box;
}

.no-pic .pd-intro {
    float: none;
    width: 100%;
}

.products-intro .pd-intro-title {
    color: #009FE8;
    /* font-family: Times New Roman, sans-serif; */
    font-size: 13px;
    line-height: 22px;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding: 0 0 5px 28px;
}

.products-intro .pd-intro-title .ic {
    color: #009FE8;
    font-size: 18px;
    position: absolute;
    left: 10px;
}

.products-intro .pd-name {
    font-size: 18px;
    font-weight: bold;
}

.product-text {
    padding: 0px 2px 4px;
    font-size: 14px;
    color: #868686;
}

.products-detail {
    padding-bottom: 40px;
}

.products-detail .btn-box {
    padding-top: 30px;
    text-align: left;
}

.pd-intro .btn-box {
    text-align: left;
}

.products-detail .title {
    color: #595757;
    padding: 5px 10px 5px 0;
    font-size: 15px;
    margin: 0 0 20px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}


/*------------products_view_two------------*/

.products-list .item_two {
    width: 50%;
    padding: 0 6px;
}

.products-list .item_two:nth-child(4n+1) {
    clear: none;
}

.products-list .item_two:nth-child(3n+1) {
    clear: none;
}

.products-list .item_two:nth-child(2n+1) {
    clear: left;
}


/*------------products_view_two------------*/


/*------------products_view_one------------*/

.products-list .item_one {
    width: 100%;
    padding: 0 6px;
}

.products-list .box {
    max-width: 600px;
}


/*------------products_view_one------------*/

@media screen and (max-width: 1200px) {
    .gallery {
        width: 50%;
    }
    .pd-intro {
        width: 47%;
    }
}

@media screen and (max-width: 1000px) {
    .products-list {
        margin: 0 auto;
    }
    .gallery,
    .pd-intro {
        float: none;
        width: auto;
    }
    .products-list .item {
        width: 50%;
        padding: 0 6px;
    }
    .product-list li.item:nth-child(4n+1) {
        clear: none;
    }

    .product-list li.item:nth-child(3n+1) {
        clear: none;
    }

    .product-list li.item:nth-child(2n+1) {
        clear: left;
    }
    .sort_icon .ibtn.one {
        display: inline-block;
    }
    .sort_icon .ibtn.four {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .products-list {
        margin: 0 -6px;
    }
    .products-list .box {
        margin-bottom: 30px;
    }
    .products-list .txt {
        font-size: 16px;
    }
    .products-list .txt {
        padding: 0px;
    }

    /*-- 產品效果 --*/
    .products-list a .name {
        -webkit-transform: translate(0, -80px);
        transform: translate(0, -80px);
        margin-top: 20px;
        margin-bottom: 0px;
    }
    .products-list a .more {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    .products-list .box .more {
        opacity: 1;
    }

    .products-list .description {
        font-size: 14px;
        color: #000;
        line-height: 1.75;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 80px;
        padding: 5px 0px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        text-align: left;
        margin: auto;
    }
    .products-list a .pic {
        -webkit-transform: translate(0, -75px);
        transform: translate(0, -75px);
    }
}

@media screen and (max-width: 500px) {

    .gallery .slider,
    .thumbnails {
        float: none;
        width: auto;
    }
    .thumbnails {
        padding-top: 6px;
    }
    .thumbnails ul {
        margin: 0 -3px;
    }
    .thumbnails li {
        width: 16.66%;
        padding: 0 3px;
    }
    .products-list .item {
        width: 100%;
        padding: 0 6px;
    }
    .products-list .box {
        max-width: 600px;
    }
}