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

.banner {
    position: relative;
}

.banner .slick-arrow {
    position: absolute;
    width: 65px;
    height: 65px;
    display: block;
    border: 0;
    top: 50%;
    margin: -32px 0 0 0;
    z-index: 100;
    cursor: pointer;
    background: url('../../images/common/index/arrow.png');
}

.banner .slick-prev {
    left: 35px;
}

.banner .slick-next {
    left: auto;
    right: 35px;
    transform: rotate(180deg);
}

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

    .banner .slick-dots {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 5px 0 0;
        padding: 0;
        list-style-type: none;
        text-align: center;
        z-index: 999;
    }
    .banner .slick-dots li {
        display: inline-block;
        vertical-align: middle;
    }
    .banner .slick-dots li button {
        white-space: nowrap;
        text-indent: 101%;
        overflow: hidden;
        padding: 0; 
        border: 0;
        width: 90px;
        height: 3px;
        margin-top: 10px;
        cursor: pointer;
        background:#CCC;
    }
    .banner .slick-dots li:nth-child(5n+2) button {
        background: #b3a377;
    }
/*------------ sect01 ------------*/

.sect01 {
    padding: 38px 0 40px;
    position: relative;
}

.sect01:before {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 100%;
    background: url(../../images/common/index_bg02.jpg) repeat;
    position: absolute;
    left: 0;
    top: 50%;
}

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

.service-box {
    float: left;
    width: 36%;
    position: relative;
    background-size: cover;
    margin-top: 20px;
}

.service-box .title {
    line-height: 1.2;
    text-align: center;
    font-size: 60px;
    font-weight: bold;
    color: #fff;
}

.service-box .title:after {
    content: "";
    width: 26px;
    height: 26px;
    display: block;
    margin: 15px auto;
    background: url('../../images/common/index/service-ic.png');
}

.service-box .editor {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 112px;
    margin: 0 0 30px;
    position: relative;
    z-index: 15;
}

.service-box .more {
    color: #FFFFFF;
    font-size: 13px;
    display: block;
    width: 75px;
    line-height: 21px;
    text-align: center;
    letter-spacing: 3px;
    margin: 0 auto;
}

.service-box .more:hover {
    transition: all .2s;
    background: #CAB386;
    color: #000;
    font-weight: bold;
}


/*------------ products ------------*/

.products-box {
    float: right;
    width: 61%;
    margin-top: 20px;
}

.sect01 .sect-title {
    text-align: left;
    line-height: 1.2;
    position: relative;
    padding: 10px 0 25px;
    margin-left: 20px;
}
.sect01 .sect-title b{
    display: block;
    font-weight: normal;
    font-family: Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "微软雅黑", "メイリオ", "맑은 고딕", sans-serif;
    margin-top: 5px;
    font-size: 15px;
    color: #777;
    position: absolute;
    letter-spacing: 2px;
    font-weight: normal;
}
.sect01 .sect-title:before {
    content: '';
    display: block;
    width: 1px;
    height: 80%;
    background: #C7B789;
    position: absolute;
    left: -20px;
    top: 22%;
}

.sect01 .sect-title span {
    font-family: 'Open sans';
    font-weight: normal;
    font-size: 15px;
    position: absolute;
    right: 0;
    top:35px;
    color: #222;
    cursor: pointer;
    border: 1px solid #DDD;
    text-decoration: none;
    vertical-align: middle;
    padding: 5px 50px 5px 15px;
    transition: all .6s ease;
    text-align: left;
    display: none;
}
.sect01 .sect-title span:before {
    content: '';
    display: block;
    background: url('../../images/common/more.png')no-repeat;
    width: 6px;
    height: 8px;
    position: absolute;
    right: 27%;
    top: 43%;
    transition: all .6s ease;
}

.sect01 .sect-title span:hover:before {
    right: 10%;
}

.hot-arrow,
.hot-arrow2 {
    position: absolute;
    top: 67px;
    right: 0;
    width: 80px;
}

.hot-arrow .slick-arrow,
.hot-arrow2 .slick-arrow {
    width: 40px;
    height: 40px;
    display: inline-block;
    z-index: 100;
    color: transparent;
    border: 0;
    position: absolute;
    cursor: pointer;
    background: url('../../images/common/index/arrow2.png');
    left: 0;
    -webkit-appearance: none;
    appearance: none;
    max-width: 40px;
    box-sizing: border-box;
    padding: 0;
    box-shadow: 0 0 0;
    background-repeat: no-repeat;

}

.hot-arrow .slick-next,
.hot-arrow2 .slick-next {
    transform: rotate(180deg);
    right: 0;
    left: auto;
}

.hot-arrow .slick-arrow:hover,
.hot-arrow2 .slick-arrow:hover {
    background-position: 0 100%;
}

.product-list,
.product-list2 {
    margin: 0 -11px;
}

.product-list li,
.product-list2 li {
    width: 25%;
    padding: 0 11px;
}

.product-list li > .box,
.product-list2 li > .box {
    max-width: 280px;
    margin: 0 auto;
    padding: 10px 10px 33px;
    background: #FFFFFF;
    box-sizing: border-box;
    transition: all .2s;
    display: block;
    position: relative;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    transition: all .8s ease;
}

.product-list .pic,
.product-list2 .pic {
    max-width: 260px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    z-index: 1;
    overflow: hidden;
}

.product-list .pic img {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.product-list li:hover .pic img {
    -moz-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -o-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}


.product-list .name,
.product-list2 .name {
    text-align: left;
    line-height: 1.2;
    color: #232323;
    font-size: 17px;
    height: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 25px 0 5px;
}

.product-list .offers,
.product-list2 .offers {
    color: #989898;
    font-size: 14px;
    text-align: left;
    letter-spacing:1px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow: hidden;
}

.product-list .text,
.product-list2 .text {
    max-width: 280px;
    margin: 0 auto;
}

.product-list .btn {
    background: #BBA788;
    color: #fff;
    display: block;
    padding: 16px 10px;
    font-size: 15px;
    letter-spacing: 2px;
    transition: all .2s;
    border-radius: 0;
    position: relative;
    transition: all .5s ease;
    text-align: left;
    text-transform: lowercase;
}

.product-list .btn:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #a08349;
  -webkit-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.product-list li:hover .btn:after {
  width: 100%;
}

.product-list li.top .cover,
.product-list2 li.top .cover {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 9px;
    z-index: 15;
    left: 20px;
    background: url(../../images/common/index/top.png) no-repeat;
}


/*------------ sect02 ------------*/

.sect02 {
    padding: 30px 0 0;
    position: relative;
}

.sect02:before {
    content: '';
    display: block;
    background: url(../../images/common/index_bg01.png) no-repeat;
    width: 1335px;
    height: 600px;
    position: absolute;
    right: 0;
    top: 45%;
}

.sect02 .row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

.sect-title {
    font-size: 40px;
    color: #212121;
    font-weight: bold;
    display: block;
    font-family: 'Lato';
    font-weight: bold;
}

.sect02 .sect-title {
    position: relative;
    margin-bottom: 20px;
    margin-left: 20px;
    text-align: left;
}
.sect02 .about-box .sect-title {
    display: inline-block;
}

.sect02 .sect-title:before {
    content: '';
    display: block;
    width: 1px;
    height: 80%;
    background: #C7B789;
    position: absolute;
    left: -20px;
    top: 30%;
}

.sect02 .news-box .sect-title:after {
    content: '新消息';
    display: block;
    font-size: 15px;
    font-family: '微軟正黑體';
    color: #777;
    position: absolute;
    left: 0px;
    top: 76%;
    letter-spacing: 2px;
    font-weight: normal;
}

.sect02 .about-box .sect-title:after {
    content: '關於林氏建材';
    display: block;
    font-size: 15px;
    font-family: '微軟正黑體';
    color: #777;
    position: absolute;
    left: 0px;
    top: 76%;
    letter-spacing: 2px;
    font-weight: normal;
}

.sect02 .sect-title span {
    font-family: 'Open sans';
    font-weight: normal;
    font-size: 15px;
    position: absolute;
    right: 0;
    top:35px;
    color: #222;
    cursor: pointer;
    border: 1px solid #DDD;
    text-decoration: none;
    vertical-align: middle;
    padding: 5px 50px 5px 15px;
    transition: all .6s ease;
    text-align: left;
}
.sect02 .sect-title span:before {
    content: '';
    display: block;
    background: url('../../images/common/more.png')no-repeat;
    width: 6px;
    height: 8px;
    position: absolute;
    right: 27%;
    top: 43%;
    transition: all .6s ease;
}

.sect02 .sect-title span:hover:before {
    right: 10%;
}

.sect02 .sect-title span:hover{
    border: 1px solid #888;
}

.sect03 .sect-title {
    position: relative;
    margin-bottom: 20px;
    margin-left: 20px;
    float: left;
    width: 225px;
}

.sect03 .sect-title:before {
    content: '';
    display: block;
    width: 1px;
    height: 80%;
    background: #C7B789;
    position: absolute;
    left: -20px;
    top: 30%;
}

.sect03 .sect-title:after {
    content: '產品系列';
    display: block;
    font-size: 15px;
    font-family: '微軟正黑體';
    color: #777;
    position: absolute;
    left: 0px;
    top: 76%;
    letter-spacing: 2px;
    font-weight: normal;
}

.album-box .more {
    font-family: 'Open sans';
    font-weight: normal;
    font-size: 15px;
    position: absolute;
    left: -20px;
    bottom: -65px;
    color: #222;
    cursor: pointer;
    border: 1px solid #DDD;
    text-decoration: none;
    vertical-align: middle;
    padding: 5px 50px 5px 15px;
    transition: all .6s ease;
    text-align: left;
}
.album-box .more:before {
    content: '';
    display: block;
    background: url('../../images/common/more.png')no-repeat;
    width: 6px;
    height: 8px;
    position: absolute;
    right: 27%;
    top: 43%;
    transition: all .6s ease;
}

.album-box .more:hover:before {
    right: 10%;
}

.album-box .more:hover{
    border: 1px solid #888;
}

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

.news-box {
    float: left;
    width: 44%;
}

.news-list {
    margin: 0 -10px;
}

.news-list li {
    width: 50%;
    padding: 0 10px;
}

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

.news-list li .box {
    transition: all .3s ease;
    background: #F6F6F6;
    padding: 12px;
    position: relative;
    max-width: 375px;
    margin: 0 auto;
    box-sizing: border-box;
}

.news-list li .box:hover {
    background: #E8E1CE;
    transition: all .3s ease;
}

.news-list li .pic {
    position: relative;
    box-sizing: border-box;
}

.news-list li .date,
.news-date {
    position: absolute;
    width: 42px;
    height: 67px;
    line-height: 20px;
    color:#c1c1c1;
    font-size: 12px;
    text-align: center;
    background: url('../../images/common/news/date.png');
    left: 25px;
    top: 0;
    z-index: 15;
    letter-spacing: 0.35px;
}

.news-list li .date b,
.news-date b {
    font-size: 25px;
    color: #FFF;
    display: block;
    font-family: 'Josefin Slab';
    transition: all .2s;
    margin: 25px 0 0 0;
}

.news-list li .name {
    font-size: 16px;
    line-height: 1.5;
    color: #232323;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 45px;
    margin: 15px 0 5px;
}

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

.about-box {
    width: 48%;
    position: relative;
    padding: 30px 35px 80px;
    margin-left: 25px;
    background: #FFF;
    box-shadow: 1px 1px 25px rgba(0,0,0,0.13);
}

.about-box:before {
    content: '';
    display: block;
    background: url('../../images/common/LINS.png') no-repeat;
    background-size: contain;
    width: 250px;
    height: 135px;
    position: absolute;
    top: -135px;
    right: 0;
}

.about-box .index-about-layout {
    width: 65%;
    float: right;
    text-align: justify;
    position: relative;
}

.about-box .more {
    font-family: 'Open sans';
    font-weight: normal;
    font-size: 15px;
    position: absolute;
    left: 0;
    bottom: -50px;
    color: #222;
    cursor: pointer;
    border: 1px solid #DDD;
    text-decoration: none;
    vertical-align: middle;
    padding: 5px 50px 5px 15px;
    transition: all .6s ease;
    text-align: left;
}
.about-box .more:before {
    content: '';
    display: block;
    background: url('../../images/common/more.png')no-repeat;
    width: 6px;
    height: 8px;
    position: absolute;
    right: 27%;
    top: 43%;
    transition: all .6s ease;
}

.about-box .more:hover:before {
    right: 10%;
}

.about-box .more:hover{
    border: 1px solid #888;
}

.about-bg {
    position: relative;
}

.about-box .title {
    font-size: 20px;
    color: #C7B789;
    letter-spacing: 1px;
    line-height: 1.4;
    margin: 18px 0 5px;
}


/*------------ sect03 ------------*/

.sect03 {
    padding:20px 0 60px;
    position: relative;
}

.sect03:before {
    content: '';
    display: block;
    width: 749px;
    height: 342px;
    background: url(../../images/common/index_bg03.png) no-repeat;
    position: absolute;
    left: 0;
    bottom: 0;
}

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

.album-box {

}

.album-list {
    display: inline-block;
    vertical-align: middle;
    margin: 0 -7px;
    width: calc(100% - 245px);
    float: right;
}

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

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

.album-list li .pic {
    overflow: hidden;
    position: relative;
    max-width: 390px;
    margin: 0 auto 15px;;
}

.album-list li .pic img {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.album-list .box:hover .pic img {
    -moz-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -o-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}

.album-list li .pic .open-album:before,
.album-list li .pic .open-album:after {
    content: "";
    position: absolute;
    transition: all .3s ease;
    opacity: 0;
}

.album-list li .pic > .open-album:before {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.68);
    z-index: 2;
    transition: all .3s ease;
}

.album-list li .pic > .open-album:after {
    content: "";
    width: 72px;
    height: 1px;
    background: #fff;
    display: block;
    position: absolute;
    left: 50%;
    margin: 0 0 0 -36px;
    top: 55%;
    z-index: 2;
    transition: all .3s ease;
}

.album-list .box:hover .pic >.open-album:before,
.album-list .box:hover .pic >.open-album:after {
    transition: all .3s ease;
    opacity: 1;
}

.album-list li .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    bottom: 0;
    left: 0;
    top: 50%;
    margin: -13px 0 0 0;
    width: 100%;
    padding: 0 40px;
    font-size: 15px;
    letter-spacing: 2px;
    line-height: 1.2;
    height: 26px;
    color: #fff;
    text-align: center;
    transition: all .2s;
    opacity: 0;
    box-sizing: border-box;
    z-index: 5;
}

.album-list .box:hover .name {
    transition: all .2s;
    opacity: 1;
}


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

.links-box {
    width: 16.6%;
    float: right;
}

.links-box .more {
    font-size: 13px;
    font-weight: bold;
    color: #000000;
    letter-spacing: 2px;
    text-align: center;
    display: block;
    transition: all .2s;
    margin: 10px 0 0 0;
}

.links-box .more i {
    width: 25px;
    height: 25px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 25px;
    color: #fff;
    text-align: center;
    line-height: 25px;
    font-size: 14px;
    background: #000;
    margin: 0 10px 0 0;
}

.links-box .more:hover {
    text-decoration: underline;
    transition: all .2s;
}

.link-list li {
    margin: 0 0 10px;
}

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

.link-list li .pic {
    position: relative;
}
.link-list li .pic > a{
    display: block;
    position: relative;
}
.link-list li .pic > a:before {
    content: "";
    position: absolute;
    display: block;
    transition: all .2s;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 100;
}

.link-list li .box:hover .pic>a:before {
    transition: all .2s;
    opacity: 1;
}


/*------------ rwd ------------*/
@media screen and (max-width: 1480px) {
    .about-box:before {
        content: '';
        display: block;
        background: url(../../images/common/LINS.png) no-repeat;
        background-size: contain;
        width: 150px;
        height: 75px;
        top: -85px;
    }
}
@media screen and (max-width: 1280px) {
    .service-box,
    .products-box,
    .news-box,
    .about-box,
    .album-box,
    .links-box {
        float: none;
        width: 100%;
    }
    .service-box {
        margin: 0 0 50px;
        padding: 30px 45px;
        display: none;
    }
    .service-box .title,
    .service-box .more {
        color: #666;
        position: relative;
        z-index: 10;
    }
    .news-box,
    .about-box {
        max-width: 800px;
        margin: 0 auto;
    }
    .about-box {
        margin-top: 55px;
    }
    .links-box {
        margin: 60px 0 0 0;
    }
    .link-list li {
        display: inline-block;
        float: none;
    }
    .about-box:before {
        display: none;
    }
    .sect01 .sect-title {
        margin-left: 40%;
    }
    .products-box {
        margin-top: 30px;
    }
    .sect03:before {
        width: 600px;
        height: 250px;
        background-size: contain;
    }
}

@media screen and (max-width: 1000px) {
    .sect-title {
        font-size: 30px;
    }
    .sect02 .sect-title span {
        top: 23px;
    }
    .sect02 {
        padding: 15px 0 0;
    }
    .site-footer {
        background: url(../../images/common/bg/bg02.jpg)center top no-repeat;
    }
    .site-main {
        padding-top: 21px;
    }
    .about-box {
        margin-top: 25px;
    }
    
}

@media screen and (max-width: 900px) {
    .album-box .more {
        margin: 0 auto 15px;
        display: block;
        left: auto;
        right: 20px;
        bottom: auto;
        top: 25px;
    }
    .album-list {
        width: auto;
    }
    .sect03 .sect-title {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .banner .slick-prev {
        left: 5px;
    }
    .banner .slick-next {
        left: auto;
        right: 5px;
    }
    .about-bg {
        padding: 0;
    }
    .service-box .title{
        font-size: 40px;
    }
}

@media screen and (max-width: 600px) {
    .service-box {
        padding: 30px 25px;
    }
    .sect01 .sect-title {
        margin-left: 6%;
        padding: 10px 0 50px;
    }
    .hot-arrow {
        position: relative;
        left: 90%;
        height: 40px;
        margin: -75px 0 13px -40px;
    }
    .products-box .title {
        margin: 10px 0 75px;
    }
    .news-list {
        margin: 0;
    }
    .news-list li {
        width: 100%;
        padding: 0 0 30px;
    }
    .sect02 .sect-title {
        margin-left: 6%;
        margin-right: 0%;
    }
    .sect02 .about-box .sect-title {
        margin-left: 0%;
        margin-right: 0%;
    }
    .sect03 .sect-title {
        width: 96%;
        margin-left: 7%;
    }
    .about-box .index-about-layout {
        width: 100%;
    }
    .site-footer{
        background: url(../../images/common/bg/bg02.jpg)right top no-repeat;
        background-size: cover;
    }
    .sect03 {
        padding: 0px 0 30px;
    }
}

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