/*------------ banner ------------*/

.banner {
    position: relative;
}

.banner .slick-arrow {
    position: absolute;
    width: 70px;
    height: 70px;
    display: block;
    border: 0;
    color: transparent;
    bottom: 0;
    left: 50%;
    z-index: 100;
    cursor: pointer;
    background: url('../../images/common/index/arrow.png');
}

.banner .slick-prev {
    margin-left: -70px;
}

.banner .slick-next {
    background-position: 100% 0;
    margin-right: -69px;
    border-left: #8A8A8A 1px solid;
}

.banner .slick-prev:hover {
    background-position: 0 100%;
}

.banner .slick-next:hover {
    background-position: 100% 100%;
}


/*------------ title ------------*/

.title{
    color: #000000;
    font-size: 23px;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1px;
    margin: 0 0 40px;
}

.title i{
   display: none;
}

/*------------ more ------------*/


/*------------ sect ------------*/


/*------------ about ------------*/

.about-sect {
    background: url('../../images/common/index/about_bg.jpg') no-repeat center center fixed;
    position: relative;
    padding: 90px 0;
}

.about-sect .row{
    padding: 0;
}

.about-sect .pic img{
    margin: 0;
}

.about-sect .col {
    float: left;
}

.about-sect .col.txt {
    width: 57.616%;
    float: right;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}
.about-sect .container{
    position: static;
}
.about-sect .col.pic {
    margin: 0px 0 0 0;
    width: 34.2095%;
    position: absolute;
    right: 50%;
    top: 0;
    height: 100%;
    text-align: right;
    display: none;
}
.about-sect .col.pic img{
    object-fit: cover;
    height: 100%!important;
    max-width: inherit;
}
.about-sect .title:before{
    content: 'COMPANY';
    font-family: 'Montserrat', sans-serif;
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: #0f6fb9;
}
.about-sect .title {
    color: #D7D7D7;
    font-size: 23px;
    margin: 0 0 20px;
    letter-spacing: 1px;
    z-index: 30;
    font-weight: normal;
    text-align: right;
    text-indent: 0px;

    line-height: 1.31;

}

.about-sect .more {
    display: block;
    font-size: 17px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-family: 'Barlow Condensed', sans-serif;
    color: #FFFFFF;
    text-align: center;
    background: #444444;
    letter-spacing: 2px;
    transition: all .2s;
    position: absolute;
    bottom: 0px;
    left: 265px;
}

.about-sect .more a {
    position: relative;
    display: block;
    z-index: 5;
}
.about-sect .more:after {
    content: '';
    display: block;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#B4D6EF+0,27A6E0+100 */
    background: rgb(37,207,115); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(180,214,239,1) 0%, rgba(19,136,202,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(180,214,239,1) 0%,rgba(19,136,202,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(180,214,239,1) 0%,rgba(19,136,202,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#B4D6EF', endColorstr='#27A6E0',GradientType=1 ); /* IE6-9 */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: all .3s ease;

}
.about-sect .more:hover{
    letter-spacing: 5px;
}
.about-sect .more:hover:after{
    opacity: 1;
}

.about-sect .txt-box {
    position: relative;
    background: rgba(0,0,0,0.85);
    
    padding: 70px 40px 125px;
    display: flex;
    /* margin-bottom: 11%; */
}
.about-sect .txt-box .editor{
    padding-top: 42px;
}
.about-sect .txt-box:after{
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    bottom:-45px;
    right: -45px;
    background: url(../../images/common/index/sh.png);
    background-size: 100% 100%;
    z-index: -1;
}


.about-sect .txt .pic {
    text-align: right;
    margin: 0px 0px 0 0;
    position: relative;
     padding: 14.78% 0 20px;
     display: none;
}
.about-sect .txt .pic img{
    display: none;
}
/*.about-sect .txt .pic:before {
    content: "新家裝潢，從這裡開始";
    color: #000000;
    font-size: 18px;
    letter-spacing: 23px;
    text-align: right;

}*/


/*------------ news ------------*/

.news-sect .title span{
    content: 'NEWS';
    font-family: 'Montserrat', sans-serif;
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: #1388CA;
    margin-bottom: 5px;
}
.news-sect{
    background: url('../../images/common/index/news_bg.jpg') no-repeat center top;
    padding: 75px 0 50px;
    background: #F6F6F6;
}

.news-list {
    margin: 0 -10px;
}

.news-list li {
    width: 25%;
    padding: 0 10px 40px;
}

.news-list li:nth-child(4n+1) {
    clear: left;
}

.news-list li .box {
    transition: all .2s;
    position: relative;
    max-width: 312px;
    margin: 0 auto;
    box-sizing: border-box;
    top: 0;
    border:solid 1px #D9D9D9;
    background: #F9F9F9;
}
.news-list li .box:hover{
    top: -10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.16)
}
.news-list li .pic {
    position: relative;
    box-sizing: border-box;
    transition: all .3s ease;
}
.news-list li .box .pic img{
    transition: all .3s ease;
}
.news-list li .box:hover .pic img{
    opacity: 0.7;
}

.news-list li .text{
    padding: 0 20px 20px 20px;
}
.news-list li .date small,
.news-date small{
    display: block;
    font-family: 'Arial';
    font-weight: bold;
    font-size: 13px;
}
.news-list li .date,
.news-date {
    letter-spacing: 0;
    padding-top: 5px;
    box-sizing: border-box;
    font-size: 30px;
    line-height: 1.2;
    display: block;
    text-align: center;
    color: #FFFFFF;
    margin: -25px 0 13px;
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    border-radius: 3px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    background: rgb(37,207,115); /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgba(180,214,239,1) 0%, rgba(19,136,202,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(180,214,239,1) 0%,rgba(19,136,202,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(180,214,239,1) 0%,rgba(19,136,202,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#B4D6EF', endColorstr='#27A6E0',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.news-list li .name a{
    font-size: 17px;
    line-height: 1.4;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 45px;
    transition: all .2s;
    margin: 0 0 10px;
    color: #333333;
    transition: all .3s ease;
   
}
.news-list li .box:hover .name a{
     color: #1388CA
}
.news-list li .description a{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    color: #8C8C8C;
    transition: all .3s ease;
    height: 62px;
    line-height: 1.5;
}
.news-list li .box:hover .description a{
    color: #464646;
}
/*------------ products ------------*/

.products-sect{
    position: relative;
    z-index: 10;
    padding-top: 80px;
}
.products-sect .container{
    background: #fff;
}
.products-sect >.container:before{
    position: absolute;bottom: 0;
    width: 100%;
    content: '';
    display: block;
    height: 5px;
    left: 0;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#B4D6EF+0,27A6E0+100 */
    background: rgb(37,207,115); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(180,214,239,1) 0%, rgba(19,136,202,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(180,214,239,1)) 0%,rgba(19,136,202,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(180,214,239,1) 0%,rgba(19,136,202,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#B4D6EF', endColorstr='#27A6E0',GradientType=1 ); /* IE6-9 */
}
.products-sect >.container:after{
    visibility: visible;
    display: block;
    width: 22px;
    height: 13px;
    margin: 0 auto;
    position: absolute;
    bottom:-10px;
    left: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 13px 11px 0 11px;
    border-color: #65b0dd transparent transparent transparent;
}
.products-sect .title:before{
    color: #1388CA;
    content: 'PRODUCTS';
    display: block;
    font-family: 'Roboto';
    font-size: 30px;
}
/*.products-sect .title:before{
    content: '';
    display: block;
    background: url(../../images/common/products_ic.png) no-repeat;
    width:50px;
    height:43px;
    margin:0 auto;
}*/
.products-sect .title {
    position: relative;
    /* top: -80px; */
    /* background: url(../../images/common/index/product_title.png) center no-repeat; */
    width: 100%;
    /*background: url(../../images/common/products_ic.png) center top no-repeat;*/
    /* height: 156px; */
    display: block;
    margin: auto;
    box-sizing: border-box;
    padding: 20px 0 60px;
    font-size: 21px;
}

.products-sect .title i{
    background: url(../../images/common/index/ic02.png);
}

.products-sect > .container{
    max-width: 1600px;
    padding-top: 25px;
}

.products-box {
    /* margin-top: -40px; */
    padding-bottom: 35px;
}
.product-list {
    margin: 0 -15px;
}

.product-list li {
    width: 25%;
    padding: 0 15px;
}

.product-list li:nth-child(4n+1) {
    clear: left;
}

.product-list > li > .box{
    max-width: 300px;
    margin: 0 auto 45px;
    box-sizing: border-box;
    transition: all .2s;
    padding: 0 5px;
    position: relative;
}

.product-list .pic {
    margin: 0 -5px;
    position: relative;
    box-sizing: border-box;
    z-index: 1;
    transition: all .2s;
    overflow: hidden;
}

.product-list .box:hover .pic{
}

.product-list .pic a:last-child:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, .2);
    transition: all .2s;
    opacity: 0;
}


.product-list li .box:hover .cover,
.product-list li .box:hover .pic a:last-child:before {
    opacity: 1;
}

.product-list .name a{
    text-align: -webkit-auto;
    line-height: 1.2;
    font-size: 16px;
    height: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    margin: 15px 0 5px;
    color: #9A9A99;
    transition:all .3s ease;
}
.product-list li .box:hover .name a{
    color:#1388CA;
}
.product-list .description a{
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
    margin: 5px 0 10px;
    color: #666;
}

.product-list .box.new:before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background: url(../../images/common/products/news_tag.png);
    position: absolute;
    top: -10px;
    left: 25px;
    z-index: 2;
}

.product-list .box img {
    display: block;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    width: 100%;
}

.product-list .box:hover img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

.product-list .box .pic a:last-child:before {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.65);
    -webkit-transform: translate(0, 50px);
    transform: translate(0, 50px);
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    z-index: 5;
}

.product-list .box .pic a:last-child:after {
    content: "";
    width: 0px;
    height: 1px;
    background: #DDDDDD;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 55%;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    z-index: 6;
}

.product-list .box:hover .pic a:last-child:before {
    opacity: 1;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.product-list .box:hover .pic a:last-child:after {
    opacity: 1;
    width: 72px;
}

.product-list .box .more {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 50%;
    margin: -13px 0 0 0;
    width: 100%;
    padding: 0 40px;
    line-height: 1.2;
    height: 26px;
    
    text-align: center;
    opacity: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;

    font-family: 'Roboto';
    font-size: 16px;
    color: #DDDDDD;
    letter-spacing: 3px;
}

.product-list .box:hover .more {
    -webkit-transition: all .2s;
    transition: all .2s;
    opacity: 1;
}

/*------------ service ------------*/

.service-sect{
    background: url('../../images/common/index/service_bg.jpg') no-repeat center center;
    -webkit-background-size: cover;
    background-size: cover;
    position: relative;
    color: #fff;
    padding-top: 200px;
    /*margin-top: -308px;*/
}


.service-sect .title{
   color: #1388CA;
   margin: 0 0 30px;
   text-indent: 5px;
   text-align:right;
   min-width: 168px;
   padding-right: 30px;
   padding:5px 30px 5px 0;
   position: relative;
}
.service-sect .title:after{
    content:'';
    display:block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 33px 29px 33px 0;
    border-color: transparent #fff transparent transparent;
    position:absolute;
    right:100%;
    margin-right:50px;
    top:0;

}
.service-sect .title:before{
    content: 'SERVICES';
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    display: block;
}
.service-sect .title i{
   display: none;
}
.service-sect .editor{
    padding-left: 30px;    
    padding-bottom: 10px;
    padding-top: 5px;
    border-left: solid 1px rgba(255,255,255,0.2);
}

.service-box{
    position: relative;
    
    padding-left: 50%;
    padding-bottom: 70px;
    text-align: left;
}
.service-box > .flex{
    display: flex;
    background: rgba(255,255,255,1);
    box-sizing:border-box;
    padding:50px;
    box-shadow:5px 5px 20px 5px rgba(0,0,0,.3);
}

.service-box >.flex > a{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}
.service-box:before,
.service-box:after{
    
}

.service-box:before{
    content: "";
    display: block;
    position: absolute;
    width: 594px;
    height: 160px;
    left: 0;
    background: url('../../images/common/index/service_pic1.png') no-repeat;
    -webkit-background-size: 100%;
    background-size: 100%;
    max-width: 50%;
    display:none;
}



/*------------ album ------------*/

.album-sect .container{
    max-width: 100%;
    padding: 0;
}

.album-list li {
    width: 16.66%;
    padding: 0;
}

.album-list li .box{
    max-width: 320px;
    margin: 0 auto;
}

.album-list li .pic {
    overflow: hidden;
    position: relative;
}

.album-list li .namebox {
    transition: all .2s;
    position: absolute;
    bottom: 0;
    opacity: 0;
    background: rgba(0,0,0,0.7);
    color: #DDDDDD;
    font-size: 16px;
    text-align: center;
    left: 0;
    right: 0;
    z-index: 10;
}
.album-list li .namebox .name{
    margin:10px 0;
}
.album-list li:hover .box .namebox{
    opacity: 1
}

.album-list li .pic> a:before {
    content: "";
    position: absolute;
    transition: all .2s;
    opacity: 0;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,.7);
    transition: all .3s ease;
}
.album-list.active li .pic >a:before {
    opacity: 1;
}

.album-list.active .box:hover .cover,
.album-list.active .box:hover .pic>a:before {
    opacity: 0;
}

/*----------- fancybox-index --------------*/

.fancybox-index .fancybox-close{
    margin-top: -65px;
}

/*------------ rwd ------------*/

@media screen and (max-width: 1440px) {
    .about-sect .col.pic{
        margin: 0px 0 0 0%;
    }
    .about-sect .txt .pic{
        padding: 5% 0 20px;
    }
    .about-sect .txt-box {
        padding: 30px 40px 90px;
    }
}

@media screen and (max-width: 1280px) {
    .about-sect{
        padding: 50px 0;
    }
    
   
    .service-box:before{
    }
    .service-box:after{
       
    }
}

@media screen and (max-width: 1100px) {
    .about-sect .col.txt,
    .about-sect .col.pic{
        float: none;
        width: 100%;
        text-align: center;

    }
     .about-sect .txt-box{
        padding: 25px 20px 70px;
    }
    .about-sect .txt .pic:before{
        left: 0;
        right: auto;
    }
    .news-list,
    .product-list{
        max-width: 700px;
        margin: 0 auto;
    }
    .news-list li,
    .product-list li{
        width: 50%;
    }
    .about-sect .txt-box{
        display: block;
    }
    .about-sect .txt-box .editor{
        padding: 0px 0 20px;
    }
    .index-about-editor:before{
        display: none;
    }
    .about-sect .col.pic{
        position: static;

    }
    .about-sect .title{
        width: 100%;
        text-align: center;
    }
    .about-sect .more{
        left: 50%;
        margin-left: -40px;
    }
    .news-sect .title span,.products-sect .title:before{
        font-size: 24px;
    }
    .title{
        margin-bottom: 20px;
        font-size: 20px;
    }
    .products-sect .title{
        background: none;
        font-size: 20px;
        height: auto;
        margin-top: 0;
        padding-top: 0;
        top: -60px
    }
    .about-sect .col.pic img{
        max-width: 100%;
        height: auto!important;
    }
    .news-sect{
        padding: 60px 0 0px;
    }
    .products-sect{
        padding-top: 95px;
        background: #fff;
    }
    .products-box{
        padding: 8px 0;
    }
    .service-box > .flex{
        display: block;
    }
    .service-sect .title{
        text-align: center;
        padding: 0;
        text-indent: 0;
    }
    .service-sect .title:after{
        display: none;
    }
    .service-sect .editor{
        border:none;
    }
    
    .banner .slick-arrow {
        transform: scale(0.5);
        margin-bottom: -18px;
    }

    .banner .slick-prev {
        margin-left: -36px;
    }

    .banner .slick-next {
        background-position: 100% 0;
        margin-right: -35px;
        border-left: #8A8A8A 1px solid;
    }
    .service-box{
        padding-left: 0;
    }
    .service-box:before{
        position: static;
        background-position: center;
        height: 140px;
        margin: 0 auto;
        max-width:450px;
        width: 95%;

    }
    .about-sect {
    background: url('../../images/common/index/about_bg.jpg') no-repeat center center ;
    }
}

@media screen and (max-width: 767px) {
    .service-sect{
        padding-top: 25px;
        margin-top: 0;
    }
    
    .about-sect{
        /*padding: 0;*/
    }
    .about-sect .txt-box{
        padding: 25px 20px 70px;
        margin-bottom: 20px;
    }
    .about-sect .title .more{
        float: none;
        display: block;
        margin: 0;
    }
    
    .about-sect .txt .pic:before{
        letter-spacing: 5px;
    }
    .about-sect .txt .pic {
        padding:20px 0 5px;
    }
}

@media screen and (max-width: 600px) {
.service-box > .flex{
    padding: 30px 15px;
}

}

@media screen and (max-width: 480px) {
    .news-list li,
    .product-list li{
        width: 100%;
        padding: 0 0 40px;
    }
    .product-list li{
        padding: 0;
    }
}