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


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

.h2-title {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}




/*========================================================
                        經營團隊
=========================================================*/

.other-wrap {
    padding-top: 60px;
    padding-bottom: 60px;
}

.team-wrap {
}
.team-item {
/*    margin: 0 0 30px;*/
    position: relative;
}
.team-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    color: #fff;
    overflow: hidden;
}
.team-item-img:hover .team-item-mask {
    opacity: 1;
    visibility: visible;
}
.team-item-img:hover .team-item-mask::after {
    height: 100%
}
.team-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.team-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
}
.team-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    transform: translateY(-50%);
    transition: all .3s
}
.team-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    border: 1px solid #fff;
    padding: 5px 30px;
}

.team-item p {
    position: absolute;
    left: 30px;
    top: 20px;
    z-index: 2;
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 0 0 5px #000, 0 0 5px #000, 0 0 5px #000;
}



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

.news-wrap h2 {
    text-align: left;
}
.news-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-wrap ul li {
    border-bottom: 1px dashed #7f7f7f;
}
.news-wrap li a {
    display: block;
    color: #222;
    margin: 10px 0;
    padding: 3px 20px;
    font-size: 0.9rem;
    transition: all .3s;  
}
.news-wrap li a time:after {
    background-color: #fff;
    transition: all .3s;
}
.news-wrap li a p {
    margin: 0;
    position: relative;
    padding-left: 12px;
}
.news-wrap li a p i {
    margin: 0;
    position: absolute;
    left: 0;
    top: 7px;
    z-index: 2;
}
.news-wrap li:hover a {
    background-color: #0c3862;
    color: #fff;
}
.news-wrap li:hover a time:after {
    background-color: #fff;
}

.news-btn {
    margin-top: 40px;
}
.news-btn a {
    display: inline-block;
    padding: 10px 30px;
    background-color: #0c3862;
    color: #fff;
}
.news-btn a:hover {
    background-color: #007dc3;
}


@media (min-width: 992px) {
/*
    .news-wrap li a {
        display: flex;
        align-items: center;
    }

    .news-wrap li a time {
        position: relative;
        padding-right: 40px;
        width: 160px !important;
    }
*/   .news-wrap li a {
        position: relative;
/*        padding-left: 150px;*/
    }
    .news-wrap li a time {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 130px;
        padding-right: 30px;
    }
    .news-wrap li a time:after {
        content: '';
        display: inline-block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 20px;
        background-color: #222;
    }
}



/*========================================================
                        商品目錄
=========================================================*/

.products-wrap {
    background-color: #0c3862;
    padding-top: 60px;
    padding-bottom: 60px;
    color: #fff;
    text-align: center;
}
.products-wrap  h2 {
    color: #fff;
}


.products-item {
    margin: 0 0 30px;
    position: relative;
}
.products-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    color: #fff;
    overflow: hidden;
}
.products-item-img:hover .products-item-mask {
    opacity: 1;
    visibility: visible;
}
.products-item-img:hover .products-item-mask::after {
    height: 100%
}
.products-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.products-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
}
.products-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    transform: translateY(-50%);
    transition: all .3s
}
.products-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    border: 1px solid #fff;
    padding: 5px 30px;
}
.products-item p {
    padding: 20px 0;
    font-size: 1.2rem;
}


/*========================================================
                        技術製程介紹
=========================================================*/

.technology-wrap {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* 框架 */
.technology-item {
	margin-left: auto;
	margin-right: auto;
	text-align: left;
    margin-bottom: 50px;
}
.technology-item + .technology-item {
	margin-top: 35px;
}
.technology-item-img img {
	object-fit: cover;   
    object-position: center center;
    height: 80% !important;
}

/* 內容 */
.technology-item-info {
	padding: 30px 30px 100px 30px;
	background-color: #0c3862;
    color: #fff;
    position: relative;
}
.technology-item-info > div {
	margin-top: 0;
}
.technology-item-info h4 {
    font-weight: normal;
    padding-bottom: 6px;
    margin-bottom: 20px;
    border-bottom: 1px solid #fff;
}
.technology-item-info p {
    margin: 0;
    line-height: 28px;
}


/* 了解更多 */
.technology-item-more {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 2;
    margin-top: 10px;
    text-align: left;
}
.technology-item-more a {
    font-weight: bold;
    border: 1px solid #fff;
    color: #fff;
    padding: 5px 20px;
    font-size: 0.9rem;
}
.technology-item-more a:hover {
    color: #0c3862;
    background-color: #fff;
}

@media (min-width: 768px) {
	.technology-item {
		display: flex;
		max-width: 1170px;
	}    
	.technology-item-img {
		display: flex;
		width: 50%;
		flex-shrink: 0;
	}
	.technology-item-img img {
		object-fit: cover;
		width: 100%;
		height: 100% !important;
	}    
	.technology-item-info {
		display: flex;
		padding: 20px;
        width: calc(100% - 50%);
        margin-right: 10px;
        min-height: 420px;
	}
	.technology-item-info > div {
        width: 100%;    
        padding: 30px 10px;
	}
	.technology-item + .technology-item {
		margin-top: 50px;
	}
}
@media (min-width: 992px) {
	.technology-item-info {
        min-height: 240px;
	}
}
@media (min-width: 1200px) {
	.technology-item-img {
		width: 54%;
	}
	.technology-item-info {
        width: calc(100% - 54%);
        min-height: 320px;
	}    
}
@media (min-width: 1600px) {
	.technology-item-img {
		width: 54%;
	}
	.technology-item-info {
        width: calc(100% - 54%);
        min-height: 420px;
	}
	.technology-item-info {
		min-height: 440px;
	}
}



/*========================================================
                        專業認證
=========================================================*/

.certification-wrap {
	background: url(../img/index/certification-bg.jpg) no-repeat right bottom;
    background-size: cover;
	padding: 60px 7% 60px;
}
.certification-info {
    margin-top: 60px;
}
.certification-info h4 {
    font-weight: bold;
    position: relative;
    font-size: 1.6rem;
}
.certification-info span {
    position: relative;
    display: inline-block;
    padding-left: 28px;
}

.certification-info h4 i {
    color: #f74103;
    position: absolute;
    left: 0;
    font-size: 1rem;
    top: 4px;
    z-index: 2;
}
.certification-info p {
    padding-left: 28px;
}

.certification-img {
    margin-top: 20px;
}
.certification-img [class*="col-"] {
    margin-bottom: 30px;
}
.certification-img [class*="col-"] img {
    border: 5px solid #111;
    transform: scale(1);
    transition: all 0.3s;
    overflow: hidden;
}
.certification-img [class*="col-"] img:hover {
    transform: scale(1.03);   
}
.certification-txt {
    font-size: 1.6rem;
    text-align: center;
}

@media (min-width: 992px) {
    .certification-info {
        margin-left: 30px;
        margin-right: 30px;
    }
    .certification-img [class*="col-"] {
        padding: 0 30px;
    }
}
@media (min-width: 1200px) {
    .certification-info {
        text-align: center;
    }
    .certification-info h4 i {
        left: -24px;
    }
    .certification-info span {
        padding-left: 0;
    }
    .certification-info p {
        padding-left: 0;
    }
}




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

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

