
@import url("../fonts/flaticon/flaticon.css");
@import url("../fonts/thin/thin.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: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: #000;
	font-weight: bold;
}
.h2-title span {
    padding: 0 20px;
}
.h2-title:before, 
.h2-title:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 6px;
    background-color: #0d4180;
    position: relative;
    top: -3px;
}
.h2-title:before {
    width: 70px;
    margin-left: -70px;
}
.h2-title:after {
    width: 70px;
    margin-right: -70px;
}
@media (min-width: 992px) {
    .h2-title {
        font-size: 2rem;
    }
    .h2-title span {
        padding: 0 30px;
    }
    .h2-title:before {
        width: 100px;
        margin-left: -100px;
    }
    .h2-title:after {
        width: 100px;
        margin-right: -100px;
    }
}


/*========================================================
                      	 按鈕設定
=========================================================*/

.btn-more {
    margin-bottom: 30px;
}
.btn-more a {
    display: inline-block;
    background: #da632e url("../img/index/arrow-icon1.png") no-repeat calc(100% - 30px) center;
    padding: 5px 70px 5px 30px;
    border-radius: 20px;
    color: #fff;
}
.btn-more a:hover {
    background-color: #1475a8;
    padding: 5px 80px 5px 40px;
}

@media (min-width: 992px) {
    .btn-more {
        margin-bottom: 0px;
    }
}


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

.service-wrap {	
    background: url("../img/index/service-bg.jpg") no-repeat center top;
    background-size: cover;
	padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 5%;
    padding-right: 5%;
}
.service-wrap img {
    width: 100%;
    vertical-align: bottom;
}
.service-item {
    position: relative;
}
.service-item h3 {
    background: #2e88cb; /* Old browsers */
    background: -moz-linear-gradient(top,  #2e88cb 0%, #14569f 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #2e88cb 0%,#14569f 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #2e88cb 0%,#14569f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e88cb', endColorstr='#14569f',GradientType=0 ); /* IE6-9 */
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
    padding: 15px 5px;
    margin: 0;
}
.service-item p {
    padding: 20px;
}

.service-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    border: 10px solid #e9e9e9;
}
.service-item-img:hover {
    color: #fff
}
.service-item-img:hover .service-item-mask {
    opacity: 1;
    visibility: visible
}
.service-item-img:hover .service-item-mask::after {
    height: 100%
}
.service-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.service-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
}
.service-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
}
.service-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    padding: 6px 30px 4px;
    border: 1px solid #fff;
}


@media (min-width: 1600px) {
    .service-wrap {	
        padding-left: 10%;
        padding-right: 10%;
    }
}



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

.about-wrap {	
    background: url("../img/index/about-bg.jpg") no-repeat center top;
    background-size: cover;
	padding-top: 80px;
    padding-bottom: 80px;
    color: #fff;
}
.about-wrap h2 {	
    color: #fff;
}
.about-wrap h2:before, 
.about-wrap h2:after {
    background-color: #FFFFFF;
}

.about-info {
    text-align: center;
    margin-bottom: 3rem;
}
.about-info p:first-child {
    font-size: 1.2rem;
}

.about-wrap ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.about-wrap ul li {
    background: url("../img/index/about-icon.png") no-repeat left 2px;
    padding-left: 30px;
    margin: 0 20px 10px 20px;
}

.about-logo {
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto 3rem;
}
.about-item {
    margin: 20px 30px;
}
.about-item img {
    width: 100%;
    vertical-align: bottom;
}

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

@media (min-width: 1200px) {
    .about-wrap {	
        background: url("../img/index/about-bg.jpg") no-repeat center bottom;
        background-size: cover;
        padding-top: 60px;
        padding-bottom: 60px;
        color: #fff;
    }
    .about-info p:first-child {
        font-size: 1.4rem;
    }
    .about-wrap ul {
        font-size: 1.2rem;
        justify-content: center;
    }
}


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

.news-wrap {
    background: url("../img/index/news-bg.jpg") no-repeat center center;
	padding-top: 80px;
    padding-bottom: 80px;
    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: 1px 20px 0px 20px;
    font-size: 0.9rem;
}
.news-item-btn a:hover {
    color: #fff;
    background-color: #d21916;
    border-color: #d21916;
}

.news-btn {
    text-align: center;
}
.news-btn a {
    display: inline-block;
    color: #fff;
    background-color: #247ac1;
    padding: 3px 30px;
    font-weight: bold;
}
.news-btn a:hover {
    background-color: #d21916;
}



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


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

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


/*========================================================
                         實績案例
=========================================================*/


.case-wrap{ 
    padding:0; 
}
.case-wrap .container-fluid{
    max-width: 1600px;
}
.home-case-item{
    margin: 15px 0;
}
.home-case-title {
    background: #2e88cb; /* Old browsers */
    background: -moz-linear-gradient(top,  #2e88cb 0%, #14569f 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #2e88cb 0%,#14569f 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #2e88cb 0%,#14569f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e88cb', endColorstr='#14569f',GradientType=0 ); /* IE6-9 */
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
    padding: 10px 5px;
    margin: 0;
}

.home-case-logo{ 
    padding:15px; 
    background:#ededed; 
}
