news-marquee/*------------ banner ------------*/

.banner {
    margin-bottom: 130px;
}

.banner .slick-arrow {
    transition: all .2s;
    border: 0;
    color: transparent;
    background: rgba(0, 0, 0, .7);
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    position: absolute;
    z-index: 50;
    cursor: pointer;
}

.banner .slick-arrow:hover {
    transition: all .2s;
    background: rgb(121, 121, 106);
}

.banner .slick-arrow:before {
    content: "";
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 50px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #CACACA;
    font-size: 30px;
}

.banner .slick-prev {
    left: 0;
    bottom: 50px;
}

.banner .slick-prev:before {
    content: "\e100e";
}

.banner .slick-next {
    bottom: 0;
    left: 50px;
}

.banner .slick-next:before {
    content: "\e1020";
}

.btn-scroll {
    display: block;
    width: 70px;
    height: 87px;
    left: 50%;
    bottom: -50px;
    margin: 0 0 0 -35px;
    z-index: 50;
    position: absolute;
    background: url('../../images/common/index/scroll.png');
}


/*------------ more ------------*/

section .more {
    color: #fff;
    line-height: 42px;
    max-width: 165px;
    margin: 60px auto 0;
    display: block;
    text-align: center;
    background: #ff7c27;
    letter-spacing: 1px;
    transition: all .2s;
}

section .more:hover {
    background: #4d4948;
    transition: all .2s;
}


/*------------ sect1 ------------*/

.sect1 {
    max-width: 1820px;
    margin: 0 auto;
    background: url('../../images/common/index/about-bg.jpg') no-repeat center top;
    -webkit-background-size: cover;
    background-size: cover;
    padding: 0px 0 93px;
}


/*----- news ----*/

.news-box {
    position: relative;
    top: -20px;
    margin: 0 0 20px;
    border: solid 1px #ffc6a1;
}

.news-box .title {
    background: #ff7c27;
    color: #fff;
    width: 155px;
    line-height: 50px;
    font-family: "Microsoft JhengHei";
    text-align: center;
    font-size: 20px;
    letter-spacing: 4px;
    float: left;
}

.news-box .news-marquee {
    background: #fff;
    padding: 15px;
    height: 50px;
    float: right;
    width: calc(100% - 155px);
    box-sizing: border-box;
    letter-spacing: 1px;
    line-height: 1.2;
}
/*ios */
.news-marquee a{
    display: inline-block;
    line-height: 1;
    white-space:nowrap;
}
/*/ios*/
.news-marquee .date {
    display: inline-block;
    color: #ff7c27;
    padding-right: 15px;
    margin-right: -5px;
}

.news-marquee .name {
    display: inline-block;
}
.news-marquee a:hover .date{
    border-bottom: 1px solid #ff7c27; 
}
.news-marquee a:hover .name{
    border-bottom: 1px solid #000000;
}
/*----- about ----*/

.about-box {
    position: relative;
}

.about-box .pic {
    position: absolute;
    top: 0;
    max-width: 740px;
}

.about-box .text {
    padding: 45px 70px 27px;
    background: #ECECEC;
    border: 5px solid #FFFFFF;
    max-width: 840px;
    margin: 40px 0 0 0;
    box-sizing: border-box;
    float: right;
    position: relative;
    z-index: 15;
}

.about-box .text .title {
    font-family: "Microsoft JhengHei";
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 20px;
    font-weight: 300;
}
.about-box .text .title span,.products-sect .title span,.sect3 .title span{
     font-size: 20px;
    color: #7B5A42;
    display: block;   
    padding-bottom: 30px;
}

.products-sect .title span:after,.sect3 .title span:after{
    content: '';
    display: block;
    height: 1px;
    width: 80px;
    background: #4d4948;
    margin: 50px auto ;
}
/*------------ products ------------*/

.products-sect {
    padding:60px 0 120px 0;
}

.products-sect .title {
    font-size: 45px;
    color: #000000;
    font-family: "Microsoft JhengHei";
    text-align: center;
    margin: 0 0 10px;
    position: relative;
    font-weight: 300;
}

.products-arrow {
    position: absolute;
    top: 10px;
    right: 0;
    width: 65px;
}

.products-arrow:before {
    content: "";
    display: block;
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 50%;
    right: 50%;
    margin: 24px 0 0 0;
}

.products-arrow button {
    border: 0;
    color: transparent;
    background: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
        width: 40px;
    height: 80px;
    overflow: hidden;
}

.products-arrow .slick-prev {
    right: 50px;
}

.products-arrow .slick-next {
    right: 0px;
}

.products-arrow .slick-arrow:before {
    color: #CEBCA1;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 40px;
}

.products-arrow .slick-arrow:hover:before {
    color: #ff7c27;
}

.products-arrow .slick-prev:before {
    content: "\e100e";
}

.products-arrow .slick-next:before {
    content: "\e1020";
}

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

.product-list li {
    width: 20%;
    padding: 0 17px;
}

.product-list li a {
    margin: 0 auto;
    max-width: 260px;
    display: block;
    box-sizing: border-box;
}

.product-list .pic {
    position: relative;
    box-sizing: border-box;
    transition: all .2s;
    border: 1px solid #fff;
    margin: 0 auto 3px;
    max-width: 260px;
}

.product-list .pic:before,
.product-list .pic:after {
    position: absolute;
    display: block;
    transition: all .2s;
    opacity: 0;
}

.product-list .pic:before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .4);
    z-index: 50;
}

.product-list .pic:after {
    content: "MORE";
    display: block;
    border: 1px solid #000000;
    width: 120px;
    height: 56px;
    line-height: 56px;
    color: #000000;
    box-sizing: border-box;
    top: 0;
    left: 50%;
    z-index: 50;
    margin: -28px 0 0 -60px;
    background: rgba(255,255,255,0.8);
}

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

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

.product-list .text {
    text-align: center;
    max-width: 260px;
    margin: 0 auto;
    box-sizing: border-box;
    background: rgba(255,255,255,.5);
    padding: 8px 10px;
    position: relative;
    transition: all .2s;
}

.product-list li .text:hover {
    background: #F0F0E1;
    transition: all .2s;
}

.product-list .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000000;
}


/*------------ sect3 ------------*/

.sect3 {
    padding: 60px 0 120px;
    background: #efefef;
}

.sect3 .title {
    font-family: "Microsoft JhengHei";
    font-size: 45px;
    text-align: center;
    font-weight: 300;
}

.sect3 .albums-box {
    width: 54%;
    float: left;
}

.sect3 .service-box {
    float: right;
    width: 46%;
    position: relative;
    padding: 90px 0 0 0;
}

.service-box .title {
    color: #fff;
    position: absolute;
    text-align: center;
    width: 100%;
    margin: 20px 0 0 0;
}

.sect3 .more {
    margin: 60px auto 0;
}


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

.album-list {
    width: 100%;
    box-sizing: border-box;
}

.album-list li {
    /*width: calc((100% / 3) - 0.1px);*/
    width: calc(100% / 5);
    padding: 0;
}

.album-list li .pic {
    overflow: hidden;
    position: relative;
    max-width: 260px;
    margin: 0 auto;
    border: 1px solid #fff;
    box-sizing: border-box;
}
.album-list  li .pic img{
    min-width: 100%;
}
/*.album-list li:nth-child(3n+1) {
    clear: left;
}*/

.album-list li .pic:before,
.album-list li .pic:after,
.album-fancybox .slider-nav .pic:before,
.album-fancybox .slider-nav .pic:after {
    content: "";
    position: absolute;
    transition: all .2s;
    opacity: 0;
}

/*.album-list li .pic:before,
.album-fancybox .slider-nav .pic:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 120, 48, 0.8);
}*/

.album-list li .pic:after,
.album-fancybox .slider-nav .pic:after {
    content: "\e100d";
    font-size: 30px;
    color: #FFFFFF;
    z-index: 100;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -15px;
}

.album-list a:hover .pic:before,
.album-list a:hover .pic:after,
.album-fancybox .slider-nav .item:hover .pic:before,
.album-fancybox .slider-nav .item:hover .pic:after,
.album-fancybox .slick-current .pic:before,
.album-fancybox .slick-current .pic:after {
    transition: all .2s;
    opacity: 1;
}

.album-list li .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    color: #FFFFFF;
    text-align: left;
    padding: 9px 20px;
    box-sizing: border-box;
    transition: all .2s;
}

.album-list li .name i {
    font-size: 18px;
    color: #BDBDAE;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 0;
}

.album-list a:hover .name {
    transition: all .5s;
    text-decoration: underline;
    background: rgba(231, 120, 48, 0.8);
    padding-top: 100%;
}


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

.album-fancybox {
    position: relative;
}

.gallery-btn {
    max-width: 620px;
    margin: 0 auto;
    text-align: right;
}

.album-fancybox .close {
    background: none;
    width: auto;
    height: auto;
    color: #FFFFFF;
    z-index: 150;
}

.album-fancybox .slick-arrow {
    background: transparent;
    border: 0;
    color: transparent;
}

.album-fancybox .close:after {
    content: "\e1019";
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 7px 5px;
    font-size: 35px;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.album-fancybox .close:hover {
    color: #DCDDD5;
}

.album-fancybox .stage {
    background: #CECEBF;
    max-width: 620px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 10px 10px 20px;
}

.album-fancybox .slick-arrow {
    width: 39px;
    height: 55px;
    background: url('../../images/common/album/arrow.png');
    position: absolute;
    top: 50%;
    margin-top: -23px;
    background-position: 0 100%;
    cursor: pointer;
}

.album-fancybox .slick-arrow:hover {
    background-position: 0 0;
}

.album-fancybox .slick-prev {
    left: -60px;
}

.album-fancybox .slick-next {
    right: -60px;
    transform: rotate(180deg);
}

.album-fancybox .title-box {
    margin: 3px 0 0 0;
    color: #2F2F2F;
}

.album-fancybox .title-box .title {
    margin: 0 0 10px 0;
    font-size: 14px;
    padding: 8px 10px;
    color: #FFFFFF;
    background: #1B1B1B;
    font-weight: normal;
}

.album-fancybox .title-box .title i {
    font-size: 18px;
    color: #BDBDAE;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 2px 0;
}

.album-fancybox .gallery-page {
    text-align: center;
    font-size: 13px;
    color: #FFFFFF;
    margin: 10px 0 50px;
}

.album-fancybox .gallery-page .current {
    font-weight: bold;
    color: #FFEEBF;
    display: inline-block;
    margin: 0 3px;
    text-decoration: underline;
}

.album-fancybox .thumbnails {
    padding: 15px;
    background: #CECEBF;
    max-width: 750px;
    box-sizing: border-box;
}

.album-fancybox .slider-nav {
    margin: 0 -15px;
}

.album-fancybox .slider-nav .item {
    padding: 0 15px;
    cursor: pointer;
    outline: 0;
}

.album-fancybox .slider-nav .pic {
    max-width: 158px;
    position: relative;
    margin: 0 auto;
}


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

.service-box .editor {
    background: url('../../images/common/index/service-bg.png');
    min-height: 515px;
    box-sizing: border-box;
    padding: 128px 60px 99px;
}


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

@media screen and (max-width: 1500px) {
    .sect3 .albums-box,
    .sect3 .service-box {
        width: auto;
        float: none;
        padding: 0;
    }
    .sect3 .albums-box {
        margin: 0 0 70px;
    }
    .album-list li:nth-child(6n+1) {
        clear: left;
    }
    .album-list li:nth-child(3n+1) {
        clear: none;
    }
}

@media screen and (max-width: 1280px) {
    .sect1 {
        padding: 0px 0 50px;
    }
    .about-box .text {
        max-width: 100%;
        float: none;
        margin: -20px 0 0 0;
    }
    .about-box .pic {
        position: static;
        margin: 15px auto 0;
    }
    .album-list {
        max-width: 780px;
        margin: 0 auto;
    }
    .album-list li:nth-child(3n+1) {
        clear: left;
    }
    .album-list li {
        width: calc((100% / 3) - 20px);
        margin: 10px;
    }
}
@media screen and (max-width: 1024px) {
    .banner {
        margin-bottom: 120px;
    }
    .products-sect {
        padding: 30px 0 30px 0;
    }
    .products-sect .title span:after, .sect3 .title span:after {
        margin: 20px auto;
    }
    .sect3 {
        padding: 30px 0 30px;
        background: #efefef;
    }
}
@media screen and (max-width: 767px) {
    .service-box .editor {
        padding: 128px 20px 99px;
    }
    .album-list {
        max-width: 520px;
        margin: 0 auto;
    }
    .album-list li:nth-child(3n+1) {
        clear: none;
    }
    .album-list li:nth-child(2n+1) {
        clear: left;
    }
    .album-list li {
        width: calc((100% / 2) - 20px);
    }
    .sect3 .more,section .more {
        margin: 0px auto 0;
    }
    .about-box .text .title, .products-sect .title, .sect3 .title{
        font-size: 28px;
    }
    .about-box .text .title span, .products-sect .title span, .sect3 .title span{
        font-size: 16px;
        padding-bottom: 0;
    }
    .products-arrow{
        display: none;
    }
    .product-list .pic:after{
        display: none;
    }
    .product-list li .text:hover{
        background: #fff;
    }
}

@media screen and (max-width: 600px) {
    .banner .slick-arrow {
        transform: scale(0.6);
    }
    .banner .slick-prev {
        left: -10px;
        bottom: 20px;
    }
    .banner .slick-next {
        bottom: -10px;
        left: 20px;
    }
    .news-box .title,
    .news-box .news-marquee {
        float: none;
        width: auto;
        height: 35px;
        line-height: 35px;
    }
    .news-box .news-marquee {
        padding: 0 10px;
    }
    .news-marquee .date,
    .news-marquee .name {
        line-height: 1.2;
    }
    .about-box .text {
        padding: 25px 15px;
    }
    .products-sect .title {
        padding-bottom: 0px;
    }
    .products-arrow {
       /* left: 50%;
        top: 55px;
        margin: 0 0 0 -32px;*/
        top: auto;
        bottom: 30%;
        left: auto;
    }
}

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