
@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");


/*========================================================
                      	 標題設定
=========================================================*/

.h2-title {
    text-align: center;
    font-weight: bold;
}
.h2-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: #e30a14;
    margin: 6px auto 40px;
}


/*========================================================
                     最新消息 & 影片介紹
=========================================================*/

.section-1 {
    background: url("../img/index/bg.jpg") repeat left top;
    padding: 60px 5% 40px;
    color: #fff;
}
.section-1 h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: #e30a14;
    margin-top: 6px;
    margin-bottom: 20px;
}
.section-1 [class*="col-"] {
    margin-bottom: 60px;
}

.news-info time {
    display: block;
    border-bottom: 1px dashed #fff;
    padding: 10px 0;
    margin-bottom: 10px;
}
.news-info h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.news-info .more a {
    display: inline-block;
    background-color: #e30a14;
    color: #fff;
    padding: 7px 30px;
}
.news-info .more a:hover {
    background-color: #b92e35;
}


.service-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.service-wrap ul li {
    background: url("../img/index/service-icon.png") no-repeat left 26px;
    padding: 20px 0px 20px 34px;
    font-size: 1rem;
    border-bottom: 1px solid #fff;
    word-wrap: break-word;
    word-break: break-all;    
}

@media (min-width: 768px) {
    .section-1 {
        padding: 80px 8% 60px;
    }
    .service-wrap ul li {
        background: url("../img/index/service-icon.png") no-repeat left 36px;
        padding: 30px 10px 30px 40px;
        font-size: 1.2rem;   
    }
}

@media (min-width: 1200px) {
    .news-wrap {
        padding-right: 4rem;
    }
    .service-wrap {
        padding-left: 6rem;
        border-left: 2px dashed #fff;
    }
}



/*========================================================
                        產品目錄
=========================================================*/

.products-wrap {
    background: url("../img/index/products-bg.jpg") no-repeat center top / cover;
    padding-top: 60px;
    padding-bottom: 60px;
}

.product-item {
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 60px;
}
.product-item img {
    width: 100%;
    vertical-align: bottom;
}
.product-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background-color: #fff;
    border-radius: 0 0 15px 15px; 
    border-top: 10px solid #e30a14;
    overflow: hidden;
}
.product-item-info {
    text-align: left;
}
.product-item-title {
    background-color: #0c3862;
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0;
    padding: 15px;
    color: #fff;
    border-bottom: 2px solid #fff;
    border-radius: 15px 15px 0 0;
}
.product-item:hover .product-item-title {
    background-color: #2a6ec1;
}

.products-more {
    text-align: center;
}
.products-more a {
    display: inline-block;
    border: 1px solid #111;
    color: #111;
    padding: 5px 30px;
}
.products-more a:hover {
    border: 1px solid #e30a14;
    background-color: #e30a14;
    color: #fff;
}





/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
	}
a.figure:before,a.figure:after {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 10;
    content: '';
    display: inline-block;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s; 
}
a.figure:before {
    background: #fff;
}
a.figure:after {
    background: url(../images/magnifier.png) no-repeat center center;
}
a.figure:hover:before, a.figure:hover:after {
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:hover:before {
    opacity: 0.15;
}
a.figure:hover:after {
    opacity: 1;
}


.picture-effect {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.picture-effect img {
	transform: scale(1);
	transition: .3s ease-out all;
}
.picture-effect a {
	display: block;
	position: relative;
}
.picture-effect a:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(12, 56, 98, 0.4);
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
}
.picture-effect a:hover:before {
	opacity: 1;
}
.picture-effect a:hover img {
	transform: scale(1.1);
}

