
.products-gallery,
.products-detail {
    max-width: 1100px;
    width: 100%;
    margin: auto;
}
.products-list {
    position: relative;
    z-index: 2;
    margin: 0 -17px;
}
.products-list .item {
    width: calc(100% / 4);
    padding: 0 17px;
}
.products-list .item:nth-child(4n+1) {
    clear: left;
}
.products-list .box {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto 30px;
}
.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 .pic {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.products-list .box img {
    width: 100%;
}
.products-list .txt {
    position: relative;
    box-sizing: border-box;
    padding: 0;
    margin: -20px auto 25px;
    transition: all .5s ease;
    background: #fff;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.15);
    width: 90%;
    border-radius: 20px;
    padding: 20px;
    padding: 20px 20px 0;
}
.products-list .box:hover .txt{
    background: #F57F1A;
}
.products-list .name {
    color: #333333;
    font-size: 18px;
    font-weight: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0 auto 5px;
    height: 30px;
    line-height: 30px;
    transition: all .5s ease;
}
.products-list .box:hover .name{
    color: #fff;
}
.products-list .box:hover .description {
    color: #fff;
    opacity: 0.6;
}
.products-list .description {
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 45px;
    margin-bottom: 20px;
    transition: all .5s ease;
    color: #989898;
    font-size: 14px;
}
.products-list .more {
    position: relative;
    box-sizing: border-box;
    display: block;
    text-align: center;
    color: #333;
    font-size: 14px;
    color: #212121;
    font-weight: 600;
    font-family: 'Raleway', serif;
    width: 120px;
    margin: 0 auto;
    padding: 0 0 10px;
}
.products-list .box:hover .more{
    color: #fff;
}
.products-list .more::before {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #F57F1A;
    right: 0;
    transition: all 0.5s ease;
}
.products-list .box:hover .more:before {
    animation-name: line-ani;
    animation-duration: 1s;
    background-color: #fff;
}
@keyframes line-ani{
    0%{
        width: 100%;
    }
    35%{
        right: 0;
        width: 0;
    }
    65%{
        right: 0;
        width: 0;
        right: unset;
    }
    100%{
        left: 0;
        width: 100%;
    }
}
/* content */
.pd-intro {
    position: relative;
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto 30px;
    max-width: 900px;
}
.pd-intro h1 {
    color: #1F1F1F;
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 1px;
    margin: 0;
}
.products-gallery {
    background: #ffffff;
    padding: 0 0 30px;
}
.gallery {
    max-width: 910px;
    margin: 0 auto;
}
.gallery .slider {
    background: #fff;
    border-radius: 30px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.15);
    padding: 35px;
    margin: 0 auto 36px;
}
.gallery .slider img {
    border-radius: 20px;
}
.gallery .thumbnails ul {
    margin: 0 -5px;
}
.gallery .thumbnails li {
    width: 16.66%;
    padding: 0 5px 5px;
}
.gallery .thumbnails li a {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border-radius: 15px;
}
.gallery .thumbnails li a::before{
    transition: all 0.5s ease;
}
.gallery .thumbnails li a:hover:before,
.gallery .thumbnails li.active a:before {
    content: '';
    display: block;
    background: url(../../images/common/products/small_hover.png) 50% 50% no-repeat rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 0.5s ease;
}
.gallery-control {
    display: none;
}
.products-detail {
    position: relative;
    box-sizing: border-box;
    padding: 15px 20px 0;
}
.products-detail-txt {
    width: 100%;
    margin: auto;
    line-height: 1.8;
}
.products-detail+.btn-box {
    padding: 0;
    border: 0;
}
/* 編輯器 */
.products-detail .pd_item {
    position: relative;
    box-sizing: border-box;
    margin: 0 0 50px;
}
.products-detail .pd_item h2{
    position: relative;
    box-sizing: border-box;
    font-size: 22px;
    color: #333333;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin: 0 0 5px;
    padding: 0 0 0 50px;
}
.products-detail .pd_item p {
    margin: 0;
    color: #666;
}
.products-detail .pd_item h2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 32px;
    height: 4px;
    background: #F57F1A;
}
.products-detail .pd_item h2::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    width: 16px;
    height: 4px;
    background: #00A650;
}
/* 下載 */
.products-detail .download-list .item,
.products-detail .download-list .item:nth-child(2n) {
    background: transparent;
    border-bottom: 1px solid #ddd;
}
.products-detail .download-list .box {
    padding: 20px 0 15px;
}
.products-detail .download-list .more-box .more{
    box-shadow: none;
    width: 30px;
    height: 30px;
    border-radius: 0;
    background: url(../../images/common/download/d_arr.svg) no-repeat;
}
.products-detail .download-list .box:hover .more-box .more{
    background: url(../../images/common/download/d_arr_g.svg) no-repeat;
}
.products-detail .download-list .more-box .more::before{
    display: none;
}
.products-detail .download-list .name {
    margin: 0;
    line-height: 1;
    padding-right: 3%;
}
/*------------ sort_box ------------*/
.sort_box {
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
    padding: 0;
    margin-top: 0px;
}
.sort_box .control-label {
    float: left;
    margin-right: 10px;
    line-height: 30px;
}
.sort_box .control-box {
    float: left;
}
.sort_box .form-control {
    margin-bottom: 0px;
    background: #F0F0F0;
    color: #666;
    padding: 0 5px;
    border: 1px solid #ddd;
    transition: all 0.5s ease;
}
.sort_box .form-control:focus {
    outline: none;
    background: #fff;
    color: #666;
}
.sort_box .form-group {
    float: left;
    padding: 5px 0;
}
.sort_box .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: 2px 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 .form-control.sort-mobile{
    display:none;
}
.form-group select.form-control{
    height: 26px;
    margin: 0;
    font-weight: normal;
    border-radius: 0;
}
/*------------ rwd ------------*/
@media screen and (max-width: 1330px) {
    .products-list {
        margin: 0 -15px;
    }
    .products-list .item {
        padding: 0 15px;
    }
}
@media screen and (max-width: 1280px) {
    .products-list .item{
        width: calc(100% / 3);
    }
    .products-list .item:nth-child(n){
        clear: inherit;
    }
    .products-list .item:nth-child(3n+1){
        clear: left;
    }
}
@media screen and (max-width: 1200px) {
    .pd-intro h1{
        font-size: 18px;
    }
}
@media screen and (max-width: 1000px) {
    .products-list .name {
        font-size: 16px;
    }
}
@media screen and (max-width: 767px) {
    .products-list {
        margin: 0 -10px;
    }
    .products-list .item {
        padding: 0 10px;
    }
    .products-list .item{
        width: 50%;
    }
    .products-list .item:nth-child(n){
        clear: inherit;
    }
    .products-list .item:nth-child(2n+1){
        clear: left;
    }
    .sort_icon .ibtn.one {
        display: inline-block;
    }
    .sort_icon .ibtn.four {
        display: none;
    }
    .products-list .txt {
        padding: 15px 15px 0;
    }
    .gallery .slider {
        padding: 15px;
        margin-bottom: 30px;
    }
    .gallery .slider img {
        border-radius: 20px;
    }
    .gallery .thumbnails {
        width: 100%;
    }
    .gallery .thumbnails li {
        width: calc(100% / 3);
        padding: 0 5px 10px;
    }
    .products-detail {
        padding: 0 15px;
    }
    /* 編輯器 */
    .products-detail .pd_item h2 {
        font-size: 18px;
    }
    .products-detail .pd_item{
        margin: 0 0 30px;
    }
    /* 下載 */
    .products-detail .download-list .more-box .more {
        width: 25px;
        height: 30px;
    }
    .products-detail .download-list .box {
        padding: 15px 0 10px;
    }
}
@media screen and (max-width: 480px) {
    .products-list .item {
        width: 100%;
    }
    .products-list .item:nth-child(n) {
        clear: none;
    }
}
@media screen and (max-width: 400px) {
    .sort_box .control-box span {
        display: none;
    }
    .sort_box .form-control.sort-pc {
        display: none;
    }
    .sort_box .form-control.sort-mobile {
        display: block;
        width: 80px;
    }
}
/*product_column欄位*/
.products_column_one .item{
    width: 100%;
}
.products_column_two .item{
    width: 50%;
}
.products_column_two .item:nth-child(n){
    clear: inherit;
}
.products_column_two .item:nth-child(2n+1){
    clear: left;
}
/*!product_column欄位*/