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


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

.h2-title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}


/*========================================================
                      	 共同設定
=========================================================*/

.aboutUs .aboutUs-info h2, 
.persistence .persistence-info h2,
.products-wrap h2,
.news-content h2
{
    font-size: 1.6rem;
    font-weight: bold;
}


/*  尺寸設定 */
@media (min-width: 768px) {
    .aboutUs .aboutUs-info h2, 
    .persistence .persistence-info h2,
    .products-wrap h2,
    .news-content h2
    {
        font-size: 1.8rem;
    }
}
@media (min-width: 1200px) {
    .aboutUs .aboutUs-info h2, 
    .persistence .persistence-info h2,
    .products-wrap h2,
    .news-content h2
    {
        font-size: 2rem;
    }
}

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

.aboutUs { 
	background: url(../img/yongwei/about-bg.jpg) no-repeat right bottom;
	background-size: cover;  
    /*padding-top: 80px;
    padding-bottom: 10px;*/
	padding: 60px 7% 40px;
	color: #FFF;
	
}
.aboutUs .aboutUs-info {
    /*padding: 40px 40px;*/
    line-height: 36px;
}


.aboutUs-info-title{
	font-weight: bold;
	font-size: 2rem;
	padding-bottom: 15px;
}
.aboutUs-h3-title{
	font-weight: bold;
	font-size: 2rem;
}
.aboutUs-info-desc p{
	font-size:1rem;
}

.aboutUs .aboutUs-img {
	margin-top: 0;
	margin-left: 0px;
}

/*  里程碑 */
.aboutUs-table-info{
	padding-bottom: 35px;
}
.aboutUs-info-list tr{
	border-bottom: 1px solid #FFF;
}
.aboutUs-table{
	width: 100%;
	padding-left: 20px;
	font-size: 1rem;
	line-height: 2rem;
}



/*  尺寸設定 */
@media (min-width: 1200px) and (max-width: 1599px) {
    .aboutUs .aboutUs-img {
       /* height: 850px;*/
        object-fit: cover;
		margin-top: -102px;
    }
	.aboutUs-table-info{
		margin: 0;
		padding: 0;
		background: none;
	}
}
@media (min-width: 1600px) and (max-width: 1799px) {
    .aboutUs .aboutUs-img {
		margin-top: -102px;
    }
}
@media (min-width: 1200px) {
    .aboutUs { 
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .aboutUs .aboutUs-info {
       /* padding: 40px 100px 40px 60px;*/
		padding: 0 40px;
        line-height: 40px;
    }
	.aboutUs-info-title{
		font-size: 2.7rem;
	}
	.aboutUs-info-desc p{
		font-size:1.2rem;
	}
    .aboutUs .aboutUs-img {
		margin-left: -37px;
		margin-top: -151px;
    }
	.aboutUs-table-info{
		margin-top: -120px;
		padding: 0;
		background: none;
	}
	.aboutUs-table{
		width: 89%;
		padding-left: 20px;
		font-size: 1.2rem;
		line-height: 2.8rem;
	}

}
@media (min-width: 1600px) {
    .aboutUs .aboutUs-info {
        /*padding: 40px 100px 40px 60px;*/
		padding: 0 60px;
        line-height: 40px;
    }
    .aboutUs .aboutUs-img {
		margin-left: -65px;
		margin-top: -155px;
    }
	.aboutUs-table-info{
		background: url(../img/yongwei/about-arrow.png) no-repeat;
		background-size: contain;
		margin-top: -155px;
		padding-left: 150px;
	}
}

/*========================================================
                         company專業領導
=========================================================*/
.company{
	background-color: #ededed;
}
.company .col-xl-6{
	padding:0;
	
}

.company-info{
	background: url(../img/yongwei/company-bg.jpg) no-repeat;
	background-size: cover;
	padding: 55px;
	color: #FFF;
}
.company-info-title{
	font-weight: bold;
	font-size: 1.3rem;
	padding-bottom: 0;
}
.company-info-desc ul{
	list-style: none;
	padding: 0;
}
.company-info-desc li{
	background: url(../img/yongwei/company-list-bg.png) no-repeat left top;
	padding: 0 0 10px 30px;
	font-size: 1rem;
	line-height: 2rem;
}
.company-img{
	padding:10px;
}

@media (min-width: 768px) {
	.company-info{
		padding: 100px;
	}
}

@media (min-width: 1200px) {
	.company-info-title{
		font-size: 2.7rem;
		padding-bottom: 15px;
	}
	.company-info{
		background: url(../img/yongwei/company-bg.jpg) no-repeat;
		padding: 150px;
	}
	.company-info-desc li{
		font-size: 1.3rem;
	}
	.company-img{
		padding:50px;
	}
}

@media (min-width: 1600px) {
	.company-info{
		padding: 200px;
	}
}



/*========================================================
                         實績案例
=========================================================*/
.case{
	background: url(../img/yongwei/case-bg.jpg) no-repeat right bottom;
    background-size: cover;
	padding: 60px 7% 40px;
}
.case-title{
	text-align: center;
	font-weight: bold;
	font-size: 2.5rem;
	padding-bottom: 35px;
}

.case-item-img{
	padding-bottom: 24px;
}
.case-item-img img{
	width:100%;
}
.case-item-mask h5{
	background: url(../img/yongwei/case-list-bg.png) no-repeat right bottom;
	font-size: 1rem;
	font-weight: bold;
	padding-top: 7px;
}

.responsive-case{
	padding: 0;
}

@media (min-width: 1200px) {
	.responsive-case{
		padding: 0 5%;
	}
	.case-item-mask h5{
		font-size: 1.2rem;
	}
}
@media (min-width: 1600px) {
	.case-item-mask h5{
		font-size: 1.5rem;
	}
}

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

.certification{
	background: url(../img/yongwei/certification-bg.jpg) no-repeat right bottom;
    background-size: cover;
	padding: 60px 7% 40px;
}
.certification-title{
	text-align: center;
	color: #FFF;
	font-weight: bold;
	font-size: 2.5rem;
	padding-bottom: 35px;
}

.cert-item-img img{
	width:100%;
}
.cert-list{
	padding: 0 5%;
}






/*========================================================
                      	Products
=========================================================*/

.products {	
/*	background-color: #e7e1d4; */
    margin-top: 80px;
	padding: 60px 7% 40px;
}
.products-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}
.products .slider { 
	padding-bottom: 60px;
}

.products-item { 
	margin-left: 15px;
    margin-right: 15px;
}
.products-item a img {
    width: 100%;
    vertical-align: bottom;
	border: 15px solid #fff;
}
.products-item a:hover img { 
	border: 15px solid #707845;
}
.products-item a h4 {
    text-align: center;
    margin-top: 10px;
	color: #282828;
    font-weight: bold;
    font-size: 1.4rem;
}
.products-item a:hover h4 { 
	color: #707845;
    outline: none;
}

/*  尺寸設定 */
@media (min-width: 768px) {
    .products-item a h4 {
        font-size: 1.6rem;
    }
}

@media (min-width: 1200px) {
    .products-item a h4 {
        font-size: 1.8rem;
    }
}



/*========================================================
                         新聞中心
=========================================================*/

.news {
/*
	background: url("../img/index/news-bg.jpg") no-repeat left center;
	background-size: cover;    
*/
	padding-top: 80px;
    padding-bottom: 80px;
}
.news img {
	width: 100%;
    vertical-align: bottom;
}
.news [class*="col-"]:nth-of-type(1) {	
	background: url("../img/index/news-a01.jpg") no-repeat center center;
	background-size: cover;
    min-height: 300px;
    margin-bottom: 20px;
}
.news-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-list ul li {
    position: relative;
}
.news-list ul li a {
    display: block;
    padding: 9px 5px 9px 20px;
    border-bottom: 1px solid #b8b8b8;
    color: #292929;
}
.news-list ul li a:hover {
    color: #707845;
}
.news-list ul li:last-of-type {
    border-bottom: none;
}
.news-list ul li:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    z-index: 9;
    width: 14px;
    height: 14px;
    border: 4px solid #707845;
    background-color: #707845;
    border-radius: 50%;
}
.news-list ul li:hover:before {
    background-color: #fff;
}
.news-list-more {
    margin-top: 10px;
    text-align: right;
}
.news-list-more i {
    font-size: 0.9rem;
}
.news-list-more a {
    display: block;
    color: #505824;
    font-weight: bold;
}
.news-list-more a:hover {
    color: #000;
}

/*  尺寸設定 */
@media (max-width: 1199px) {
    .news-list {
        padding-top: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }    
}
@media (min-width: 1200px) {
    .news {
        padding-left: 4%;
        padding-right: 4%;
    }
    .news-list {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 50px;
    }
    .news-list ul li:before {
        top: 19px;
    }
}
@media (min-width: 1600px) {
    .news-list {
        padding-left: 100px;
    }    
}



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

a.figure {
	display: block;
	position: relative;
	}
a.figure:hover:before {
    opacity: 0.3;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    right: 6px;
    z-index: 10;
    content: '';
    display: inline-block;
    background-color: #fff;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}

.image-box .image-pic {
	position: relative;
}
.image-box .image-pic > p {
	position: absolute;
	top: 54%;
	left: 50%;
	transform: translate(-50%,-54%);
	z-index: 9;
    font-size: 1.6rem;
    color: #fff;
	text-shadow: 2px 2px 10px #000;
    font-weight: bold;
    width: 90%;
    text-align: center;
}
.image-box .image-pic > img {
	width: 100%;
	vertical-align: bottom;
}
.image-box .image-pic a {
	display: block;
	color: #fff;
}
.image-box .image-pic:hover .thumb-inner {
	display: block;
}
.image-box .image-pic:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 5;
	width: 100%;
	height: 10%;
	opacity: 0;
	transition: all 0.3s;
}
.image-box .image-pic:hover:before {
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 1;
	height: 100%;
}
.thumb-inner {
	display: none;
	position: absolute;
	left: 0;
	top: 42%;
	z-index: 6;
	transform: translateY(-42%);
	width: 100%;
	text-align: center;
}
.thumb-inner span {
	display: inline-block;
	color: #fff;
	font-size: 1rem;
	padding: 1px 20px 3px;
	border: 1px solid #fff;
}


/*  尺寸設定 */
@media (min-width: 992px) {
    .image-box .image-pic > p {
        font-size: 2rem;
    } 
}
