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


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


.h2-title {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
.h2-title:after {
    content: '';
    display: block;
    width: 180px;
    height: 3px;
    background-color: #eb2d41;
    margin: 10px auto;
}




/*========================================================
                      	 服務項目
=========================================================*/


.service-wrap img {
    width: 100%;
    vertical-align: bottom;
}
.service-wrap .col-xl-3 {
    background: url("../img/index/service-bg.jpg") no-repeat center top;
    background-size: cover;
    position: relative;
}
.service-title {
    padding: 40px;
}
.service-title h2 {
    font-size: 2.2rem;
    font-weight: normal;
    color: #f9a845;
}
.service-title h2+p {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}
.service-title p {
    color: #fff;
}



.service-item {
    position: relative;
}
.service-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
}
.service-item-info {
    text-align: left;
}
.service-item-title {
    color: #141414;
    text-align: left;
    font-weight: bold;
    font-size: 1.3rem;
    margin-top: 40px;
    padding-left: 35px;
}
.service-item-btn {

}
.service-item-btn a {
    color: #ce1a1a;
    display: inline-block;
    margin-top: 20px;
    position: relative;
    padding-left: 35px;
    transition: all .3s;
}
.service-item-btn a:before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: #ce1a1a;
	position : absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: 9;
    transition: all .3s;
}
.service-item-btn a:hover {
    padding-left: 45px;
}
.service-item-btn a:hover:before {
    width: 40px;
}

@media (max-width: 1199px) {
    .service-wrap {	
        margin-bottom: 40px;
    }
    .service-item {
        border: 1px solid #bebebe;
        margin-top: 40px;
        padding-bottom: 20px;
    }
    .service-item-title {
        margin-top: 20px;
    }
    .service-item-btn a {
        margin-top: 0px;
    }
}
@media (max-width: 1199px) {
    .service-wrap .col-xl-3 {
        margin-top: 40px;
    }
}

@media (min-width: 1200px) {
    .service-title {
        position : absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 9;
        width: 90%;
    }
    .service-item {
        border-left: 1px solid #bebebe;
        border-right: 1px solid #bebebe;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
@media (min-width: 1600px) {
    .service-title {
        width: 70%;
    }
}



/*========================================================
                      	 產品系列
=========================================================*/

.product-wrap {	
    background: url("../img/index/product-bg2.jpg") no-repeat center top;
    background-size: auto 250%;
	padding-top: 80px;
    padding-bottom: 60px;
    padding-left: 5%;
    padding-right: 5%;
}

.product-wrap h2 {
    font-size: 2.2rem;
    font-weight: normal;
    text-align: center;
    position: relative;
    color: #fff;
}
.product-wrap h2+p {
    font-size: 2rem;
    font-weight: bold;
    color: #01b7a0;
}
.product-wrap p {
    text-align: center;
    color: #fff;
}
.product-wrap img {
    width: 100%;
    vertical-align: bottom;
}
.product-item {
    position: relative;
}
.product-item-img {
    background-color: #fff;
    padding: 10px;
}
.product-item-title {
    color: #000;
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 20px;
}
.product-item-info {
    text-align: left;
    margin-bottom: 40px;
}
.product-item-btn {
    text-align: center;
}
.product-item-btn a {
    color: #fff;
    display: inline-block;
    padding: 5px 40px;
    background-color: #01b7a0;
    margin-top: 20px;
}
.product-item-btn a:hover {
    background-color: #fff;
    color: #01b7a0;
}

@media (min-width: 992px) {
    .product-wrap {	
        background: url("../img/index/product-bg.jpg") no-repeat center top;
        background-size: cover;
    }   
/*
    .product-wrap [class*="col-"]:nth-child(2n) {
        margin-top: 100px;
    }
*/
}
@media (min-width: 1200px) {
    .product-item {
        margin: 20px;
    }    
}

/*========================================================
                         訊息中心
=========================================================*/

.news-wrap {
	padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 5%;
    padding-right: 5%;
}

.news-wrap img {
    width: 100%;
    vertical-align: bottom;
}
.news-item {
    position: relative;
    padding: 20px;
}
.news-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background-color: #f0f4f8;
    overflow: hidden;
    border: 6px solid #fff;
    transition: all .3s
}
.news-item-img:hover {
    color: #fff;
    border-color: #d21916;
}
.news-item-img:hover .news-item-mask {
    opacity: 1;
    visibility: visible
}
.news-item-img:hover .news-item-mask::after {
    height: 100%
}
.news-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.news-item-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: .625rem 1rem;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    font-size: 1rem;
    font-weight: 700;
    transition: all .3s
}
.news-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(0, 0, 0, .3);
    transform: translateY(-50%);
    transition: all .3s
}
.news-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    padding: 5px 30px;
}
.news-item-info {
    position: relative;
    top: -50px;
    z-index: 4;
    background-color: #fff;
    width: 86%;
    text-align: left;
    padding: 20px 30px;
}
.news-item-info h3 {
    color: #0d375e;
    font-weight: bold;
    font-size: 1.3rem;
}
.news-item-info p {
    color: #4e4e4e;
    font-size: 0.8rem;
    line-height: 24px;
}
.news-item-btn {
    margin-top: 10px;
}
.news-item-btn a {
    display: inline-block;
    color: #111;
    border: 1px solid #111;
    padding: 2px 25px 2px 25px;
}
.news-item-btn a:hover {
    color: #fff;
    background-color: #d21916;
    border-color: #d21916;
}

.news-btn {
    text-align: center;
}
.news-btn a {
    color: #111;
    display: inline-block;
    font-weight: bold;
    padding: 3px 15px;
    border-bottom: 1px solid #111;
}
.news-btn a:hover {
    color: #d21916;
    border-bottom: 1px solid #d21916;
}



@media (min-width: 992px) {
    .news {
        padding-bottom: 0;
        position: relative;
        top: -140px;
        z-index: 10;
    }
    .news > div {
        padding: 50px 50px 0 50px;
    }
}


/*========================================================
                         關於我們
=========================================================*/

.about-wrap {	
    background: url("../img/index/about-bg.jpg") no-repeat center bottom;
    background-size: cover;
	padding-top: 80px;
    padding-bottom: 80px;
    color: #000;
}
.about-wrap h2 {
    font-size: 2.2rem;
    font-weight: normal;
    text-align: center;
    position: relative;
}
.about-wrap h2+p {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
}
.about-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-btn {
    text-align: left;
}
.about-btn a {
    color: #fff;
    display: inline-block;
    padding: 5px 40px;
    background-color: #01b7a0;
    margin-top: 40px;
}
.about-btn a:hover {
    background-color: #fff;
    color: #01b7a0;
}

@media (min-width: 1200px) {
    .about-wrap {	
        padding-top: 120px;
        padding-bottom: 120px;
        font-size: 1.1rem;
    }
}



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

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);
}

