@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;
}
.title_box{
	padding-bottom:20px;
}
.title_box h2{
	line-height:2rem;
}


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


.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.8rem;
	letter-spacing:2px;
    font-weight: normal;
    text-align: center;
    position: relative;
    color: #fff;
	font-family: 'Merriweather Sans', sans-serif;
	font-family: 'Noto Sans SC', sans-serif;
	font-family: 'Outfit', sans-serif;
	/*text-shadow: 3px 3px 5px rgba(0,0,0,0.3), 14px 7px 29px rgba(255,255,255,0.3);*/
}
.product-wrap h2:first-letter{
	color:#045182;
	font-size: 4rem;
}

.product-wrap h2+p {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}
.product-wrap p {
    text-align: center;
    color: #fff;
}
.product-wrap img {
    width: 100%;
    vertical-align: bottom;
}
.product-item {
    position: relative;
	
}
.product-item-img {
    padding: 10px;
	position: relative;
}

/*.responsive-product .product-item:hover:before{
    opacity: 0.6;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.responsive-product .product-item:before{
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    content: '';
    display: inline-block;
	background: url(../img/link-symbol.png) no-repeat center center;
	background-color: #285994;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
	z-index: 5;
}*/

.product-img{
	overflow:hidden;
}
.product-img img{
	transform:scale(1,1);
	transition: all 1s ease-out;
}
.product-img img:hover{
	transform:scale(1.2,1.2);
	
}

.product-item-title {
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 20px;
	text-shadow: 3px 3px 5px rgba(0,0,0,0.5), 14px 7px 29px rgba(255,255,255,0.5);
	position: absolute;
	z-index: 99;
	top: 0;
	left: 7%;
	border-left: 8px solid #285994;
    padding-left: 15px;
}


@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;
    }    
}
@media (min-width: 1400px) {
    .product-item {
        margin: 40px;
    }    
}
/*========================================================
                         最新消息
=========================================================*/
.news-wrap {
    background: url("../img/index/news-bg.jpg") no-repeat center top;
    background-size: auto 250%;
	position:relative;
	padding-top: 60px;
    padding-bottom: 120px;
    padding-left: 5%;
    padding-right: 5%;
}

.news-wrap img {
    width: 100%;
    vertical-align: bottom;
}
.news-wrap h2 {
    font-size: 2.8rem;
	letter-spacing:2px;
    font-weight: normal;
    text-align: left;
    position: relative;
    color: #000;
	font-family: 'Merriweather Sans', sans-serif;
	font-family: 'Noto Sans SC', sans-serif;
	font-family: 'Outfit', sans-serif;
}
.news-wrap h2:first-letter{
	color:#143c92;
	font-size: 4rem;
}

.news-wrap h2+p {
    font-size: 2rem;
    font-weight: bold;
    color: #848284;
}


.top_news_content_item{ height:240px; background-position:center; background-size:cover;}
.top_news_nav{ margin-top:15px; box-shadow:2px 2px 4px #bbb; background:#fff; padding:40px 20px;}
.top_news_nav_item{ color:#515151; color:#7c7c7c;}
.top_news_nav_item h4{ font-weight:bold; color:#525252;}

.top_news_nav .prev-alt{ background-color:#4f6dad; color:#fff; position:absolute; z-index:555; cursor:pointer; top:-84px; left:0%; padding:8px 15px; transform:translate(0,0); opacity:0.75;}
.top_news_nav .next-alt{ background-color:#4f6dad; color:#fff; position:absolute; z-index:555; cursor:pointer; top:-84px; left:100%; padding:8px 15px; transform:translate(-100%,0); opacity:0.75;}

@media (min-width:992px){
	.news-wrap {padding-top: 90px;padding-bottom: 200px;margin: 0 1%;}
	.top_news_content{ max-width:calc(45% - 30px); float:right; margin-top:-5%;}
	.top_news_content_item{ /*height:320px;*/}

	.top_news_nav{ position:absolute; top:35%; left:5%; width:60%;}
	.top_news_nav_item{ padding:15px 30px 15px 15px;}
	.top_news_nav .prev-alt{ top:-60px; left:75%; transform:translate(-210%,0);}
	.top_news_nav .next-alt{ top:-60px; left:75%; transform:translate(-100%,0);}

}
@media (min-width:1280px){
	.news-wrap {padding-top: 90px;padding-bottom: 120px;margin: 0 3%;}
	.top_news_content{ max-width:calc(50% - 30px); /*padding-left:calc(50% - 620px);*/}
	.top_news_nav{ /*position:absolute; top:96px; left:50%; width:50%;*/}
}


/*========================================================
                         公司簡介
=========================================================*/

.about-wrap {	
    background: url("../img/index/about-bgs.jpg") no-repeat center top;
    background-size: cover;
	padding:120px 5%;
}

.about-wrap h2 {
    font-size: 2.8rem;
	letter-spacing:2px;
    font-weight: normal;
    text-align: left;
    position: relative;
    color: #fff;
	font-family: 'Merriweather Sans', sans-serif;
	font-family: 'Noto Sans SC', sans-serif;
	font-family: 'Outfit', sans-serif;
}
.about-wrap h2:first-letter{
	color:#0c7dc5;
	font-size: 4rem;
}
.about-wrap h2+p {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}
.about-wrap p {
    color: #fff;
	line-height:1.6rem;
}

.about-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-btn {
    text-align: left;
}
.about-btn a {
    color: #fff;
    display: inline-block;
    padding: 3px 40px;
    background-color: #0c7dc5;
    margin-top: 20px;
	border-radius:20px;
}
.about-btn a:hover {
    background-color: #05507f;
}
@media (min-width:992px){
	.about-ind_w {margin: 0 1%;}
}
@media (min-width:1200px){
	.about-ind_w {margin: 0 3%;}
	.about-wrap {	
		background: url("../img/index/about-bg.jpg") no-repeat center bottom;
		background-size: cover;
	}
}
/*@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);
}

