/*------------ banner ------------*/

.banner {
    margin: 30px 0;
}


.banner .slick-prev,
.banner .slick-next {
    white-space: nowrap;
    text-indent: 101%;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: url('../../images/common/index/banner_arrow.png') no-repeat;
    width: 56px;
    height: 96px;
    margin-top: -30px;
    position: absolute;
    z-index: 10;
    top: 50%;
    cursor: pointer;
    text-align: left;
}

.banner .slick-prev {
    background-position: 0 0;
    left: 20px;
}

.banner .slick-next {
    background-position: 100% 0;
    right: 20px;
}

.banner .slick-prev:hover {
    background-position: 0 100%;
}

.banner .slick-next:hover {
    background-position: 100% 100%;
}

/*------------ activity ------------*/

.activity-list {
    margin: 0 -26px 40px;
}

.activity-list li {
    width: calc((100% / 3) - 0.1px);
    padding: 0 26px;
    position: relative;
}

.activity-list li + li {
    border-left: 1px dotted #C9C9C9;
}

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

.activity-list li a {
    max-width: 444px;
    margin: 0 auto;
}

.activity-list li .pic {
    position: relative;
    height: auto;
}

.activity-list li .activity-type{
    font-size: 15px;
    color: #4ac410;
    display: inline-block;
    position: relative;
    font-weight: bold;
    display: none;
}

.activity-list li .activity-type:before{
    content: '';
    display: block;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    width: 0%;
    border-bottom: 1px solid #79d24f;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
}

.activity-list li:hover .activity-type:before{
    width: 100%;
    opacity: 1;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.activity-list li .activity-word {
    border: solid 1px #eee;
    padding: 20px;
    margin-top: 0px;
    color: #8B8B8B;
}

.activity-list li .activity-word p {
    line-height: 1.45;
    margin: 0px 0 10px;
    color: #aaa;
    height: 37px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-list li .activity-word .activity-name {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 10px;
}

.activity-list li .activity-date {
    color: #ffffff;
    font-size: 12px;
    background: #ffd444;
    border-radius: 15px;
    display: inline-block;
    padding: 1px 7px;
}

.activity-list li:hover .activity-name {
    text-decoration: underline;
}

.activity-list .pic:before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 10;
    background: no-repeat 50% 50% rgba(0, 0, 0, 0);
}



.activity-list li .pic:before,
.activity-list li .pic:after {
    content: '';
    position: absolute;
    opacity: 0;
    transition: all .2s ease-in-out;
}

.activity-list li:hover .pic:after {
    top: 50%;
}

.activity-list li:hover .pic:before,
.activity-list li:hover .pic:after {
    opacity: 1;
    transition: all .2s ease-in-out;
}


/*------------ about ------------*/

.about-sect {
    padding: 50px 0 70px;
    text-align: center;
    background: url('../../images/common/index/about_bg.jpg') no-repeat center;
    -webkit-background-size: cover;
    background-size: cover;
    border-bottom: 8px solid #E3E09F;
}

.about-sect .title {
    background: url('../../images/common/index/about_title.png')no-repeat top center;
    padding: 140px 0 20px 0;
    color: #A0D10E;
    font-size: 28px;
}

.about-sect .btn.more {
    color: #ffffff;
    border: 1px solid #a0d10e;
    background: rgb(4, 130, 67);
    padding: 0px 16px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    line-height: 1.7;
    letter-spacing: 1px;
    margin: 30px 0 0;
}
.about-sect .btn.more:hover {
    border: 1px solid #0f322f;
    background: rgba(227, 224, 159, 0.9);
    color: #048243;
}

.about-sect .editor {
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
    font-size: 16px;
}


/*------------ product ------------*/

.products-sect {
    padding: 100px 0 70px 0;
    background: url('../../images/common/index/products_bg.jpg');
}

.product-list {
    margin: 0 -16px;
}

.product-list li {
    width: 25%;
    padding: 0 16px 80px;
}

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

.product-list > li > a {
    margin: 0 auto;
    display: inline-block;
}

.product-list .pic {
    position: relative;
    border-radius: 5px;
    border: solid #DAD0AD 5px;
    box-sizing: border-box;
}

.product-list .pic img {
    max-width: 324px;
    width: 100%;
    border: solid #fff 1px;
}

.product-list .pic:before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 10;
    background: no-repeat 50% 50% rgba(0, 0, 0, .6);
}

.product-list .pic:after {
    width: 50px;
    height: 50px;
    top: 0;
    z-index: 15;
    left: 50%;
    margin: -25px 0 0 -25px;
    background: url('../../images/common/products/icon_hover.png');
}

.product-list li .pic:before,
.product-list li .pic:after {
    content: '';
    position: absolute;
    opacity: 0;
    transition: all .2s ease-in-out;
}

.product-list .pic:hover:after {
    top: 50%;
}

.product-list .pic:hover:before,
.product-list .pic:hover:after {
    opacity: 1;
    transition: all .2s ease-in-out;
}

.product-list .product-name {
    padding: 10px 10px 2px;
    text-align: center;
    font-size: 20px;
    color: #333;
    position: relative;
    max-width: 335px;
    margin: 0 auto;
    box-sizing: border-box;
}

.product-list .product-name .name {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-list li .offers {
    padding: 0px 80px 0px 10px;
    box-sizing: border-box;
    color: #CC0000;
    font-size: 15px;
    margin-bottom: 70px;
    text-align: center;
}

.product-list li .offers a {
    color: #CC0000;
    font-size: 15px;
    font-weight: bold;
}


/*------------ service ------------*/

.service-box {
    padding: 75px 0 125px;
    background: url('../../images/common/index/service_bg.jpg');
    border-bottom: solid 10px #E2DBCD;
}

.service-box .title {
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 70px;
    font-size: 37px;
    font-weight: bold;
    line-height: 1;
    color: #840000;
}

.service-box .col {
    float: left;
    width: 50%;
    padding: 0 4%;
    position: relative;
}

.service-box .col + .col:before {
    content: "";
    border-left: 1px solid #B69C40;
    position: absolute;
    right: 100%;
    top: 0;
    bottom: 0;
}

.service-box .item {
    display: table;
    width: 100%;
}

.service-box .btn.more {
    color: #B69B3F;
    font-size: 13px;
    text-align: center;
    line-height: 20px;
    padding: 0 15px;
    border: solid #B69B3F 1px;
    letter-spacing: 1px;
    margin: 60px auto 0;
    display: block;
    width: 63px;
}

.service-box .btn.more:hover {
    border-color: #840000;
    color: #840000;
}


/*------------ album-fancybox ------------*/

body .fancybox-nav span {
    visibility: visible;
    background: url('../../images/common/album/lightbox_arrow.png') no-repeat;
    width: 40px;
    height: 40px;
}

body .fancybox-prev span {
    background-position: 0 0;
    left: -60px;
}

body .fancybox-next span {
    background-position: 100% 0;
    right: -60px;
}

body .fancybox-image {
    border-radius: 20px;
    overflow: hidden;
}

body .fancybox-title .photo-pager {
    float: right;
    margin: 5px 4px 0 0;
    color: #999;
}

body .fancybox-title .photo-pager b {
    color: #71BD13;
}

body .fancybox-title .photo-title {
    font-family: Arial, "微軟正黑體", sans-serif;
    font-size: 18px;
    margin: 5px;
}

body .fancybox-title p {
    color: #666;
    margin: 15px 5px 9px;
    font-family: Arial, "微軟正黑體", sans-serif;
    font-size: 14px;
}


/*------------ album ------------*/

.album-box {
    position: relative;
    /*background: url('../../images/common/index/products_bg.jpg');*/
    padding: 10px 0;
}

.album-box:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-width: 1440px;
    margin: 0 auto;
    border-bottom: 1px solid #FF7430;
    box-sizing: border-box;
}

.activity-sect .title,
.album-box .title {
    text-align: center;
    font-size: 24px;
    color: #000;
    display: block;
    /*background: url(../../images/common/index/album_title.png)no-repeat top center;*/
    margin: 0 auto 15px;
    padding: 10px;
    max-width: 295px;
    line-height: 33px;
    position: relative;
}

.album-list {
    margin: 20px -26px 0;
    padding: 0 0 20px;
}

.album-list li {
    width: 25%;
    padding: 0 26px 55px;
}

.album-list li a + a {
    display: none;
}

.album-list .pic {
    position: relative;
    max-width: 324px;
    margin: 0 auto;
    border: 1px solid #EEEEEE;
    box-sizing: border-box;
}

.album-list a .pic:before,
.album-list a .pic:after,
.album-list a:hover .pic:before,
.album-list a:hover .pic:after {
    transition: all .2s;
}

.album-list a:hover .pic:before,
.album-list a:hover .pic:after {
    opacity: 1;
}

.album-list a:hover .pic:after {
    top: 50%;
}

.album-list a .pic:before {
    content: " ";
    background: rgba(0, 0, 0, .7);
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 5;
    opacity: 0;
}

.album-list a .pic:after {
    content: '';
    position: absolute;
    opacity: 0;
    transition: all .2s ease-in-out;
    width: 73px;
    height: 67px;
    top: 0;
    z-index: 15;
    left: 50%;
    margin: -25px 0 0 -35px;
    background: url(../../images/common/album/icon_hover.png);
}

.album-list .album-name {
    color: #333;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    display: block;
    padding: 15px 15px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-list a:hover .album-name {
    text-decoration: underline;
}

/*------------ links ------------*/

.links-box {
    background: url('../../images/common/index/products_bg.jpg');
    padding: 55px 0 115px 0;
}

.link-list {
    margin: 0 -15px;
}

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

.link-list li {
    width: calc(100% / 6);
    padding: 0 15px;
    margin-bottom: 50px;
}

.link-list li a {
    margin-bottom: 20px;
    max-width: 260px;
    margin: 0 auto;
}

.link-list .pic {
    height: 100%;
    position: relative;
    margin-bottom: 8px;
    width: 100%;
    border: solid #eee 1px;
    transition: all .2s;
}

.link-list a:hover .pic {
    opacity: .65;
    transition: all .2s;
}

.link-list .link-name {
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    line-height: 1.2;
    transition: all .2s;
    margin: 0 0 5px;
}

.link-list a:hover .link-name {
    color: #FF7430;
    transition: all .2s;
}


/*------------ rwd ------------*/

@media screen and (max-width: 1440px) {
    .banner {
        margin: 0 0 30px;
    }
    .album-box:after {
        margin: 0 15px;
    }
}

@media screen and (max-width: 1024px) {
    .product-list li {
        width: calc((100% / 3) - 0.1px);
        text-align: center;
    }
    .product-list li:nth-child(4n+1) {
        clear: none;
    }
    .product-list li:nth-child(3n+1) {
        clear: left;
    }
    .album-list {
        margin: 0 -15px;
    }
    .album-list li {
        padding: 0 15px 55px;
    }
    .link-list li {
        width: calc(100% / 3);
    }
}

@media screen and (max-width: 960px) {
    .activity-list {
        margin: 0 -10px 60px;
    }
    .activity-list li + li {
        border: 0;
    }
    .activity-list li {
        padding: 0 10px;
    }
    .activity-list li .activity-word {
        padding: 10px 15px;
    }
    .service-box .title {
        margin-bottom: 30px;
    }
    .service-box .col {
        float: none;
        width: 100%;
        padding: 0;
        position: relative;
    }
    .service-box .col + .col {
        margin-top: 30px;
    }
    .service-box .col + .col:before {
        display: none;
    }
    .service-box .btn.more {
        margin: 30px auto 0;
    }
    .album-list li {
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .activity-list {
        margin: 0 0 60px;
    }
    .activity-list li {
        width: 100%;
        padding: 0;
    }
    .activity-list li + li {
        margin-top: 50px;
    }
    .product-list li {
        width: 50%;
    }
    .product-list li:nth-child(3n+1) {
        clear: none;
    }
    .album-box .title {
        padding-top: 50px;
        background-size: 130px;
    }
    .album-list li {
        padding: 0 15px 20px;
    }
    .link-list li {
        width: 50%;
    }
    body .fancybox-next span {
        right: 0px;
    }
    body .fancybox-prev span {
        background-position: 0 0;
        left: 0px;
    }
    body .fancybox-title .photo-pager {
        float: none;
        margin: 5px 0 10px 5px;
    }
}

@media screen and (max-width: 600px) {
    .product-list {
        margin: 0;
    }
    .product-list li {
        width: 100%;
        padding: 0 0 50px;
    }
}

@media screen and (max-width: 480px) {
    .album-list,
    .link-list {
        margin: 0;
    }
    .album-list li {
        width: 100%;
        padding: 0 0px 10px;
    }
    .link-list li {
        width: 100%;
        padding: 0;
    }
}
