
@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");


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

.s-header {
    text-align: center;
    overflow: hidden;
    margin-bottom: 30px;
}
.s-header-2 {
    text-align: center;
    overflow: hidden;
    margin-bottom: 20px;
}
.h2-title {
    display: inline-block;
    font-size: 2rem;
    color: #666;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    font-weight: bold;
}
.h2-title:after {
    position: absolute;
    left: 0%;
    bottom: -10px;
    height: 7px;
    width: 100%;
    background: #269d99;
    opacity: 1;
    content: "";
    z-index: -1;
}


/*========================================================
                        產品及服務
=========================================================*/

.products-wrap {
	padding-top: 40px;
	padding-bottom: 10px;
	padding-left: 5%;
	padding-right: 5%;
}

.products-wrap .products-item {
    position: relative;
    background-position: center center;
    background-size: cover;
    margin-bottom: 30px;
	height: 260px;
	border-radius: 10px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.products-wrap .products-item h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    color: #fff;
	text-shadow: 2px 2px 7px #000;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: left;
}
.products-wrap .products-item p {
    position: absolute;
    right: 15px;
    bottom: -5px;
    z-index: 10;
    color: #fff;
	text-shadow: 1px 1px 7px #000;
}
.products-wrap .products-item a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 11;
    width: 100%;
    height: 100%;
    background-color: #fff ;
    text-align: center;
    color: #fff;
    opacity: 0;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.products-wrap .products-item a:hover {
    opacity: 0.2;
}
.products-wrap .products-item:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    opacity: 0;
    cursor: pointer;
    background: url("../img/index/products-item-bg.png") repeat left top;
}
.products-wrap .products-item:hover:after {
    opacity: 0.3;
}
/*  尺寸設定 */
@media (min-width: 992px) {
 .products-wrap {
  padding-left: 3%;
  padding-right: 3%;
 }
}


/*@media (min-width: 640px) {
 .products-wrap .products-item {
  	height: 295px;
 }
}
@media (min-width: 768px) {
 .products-wrap .products-item {
  height: 295px;
 }
}
@media (min-width: 840px) {
 .products-wrap .products-item {
  height: 375px;
 }
}
@media (min-width: 992px) {
 .products-wrap {
  padding-left: 3%;
  padding-right: 3%;
 }
 .products-wrap .products-item {
  height: 185px;
 }
}
@media (min-width: 1100px) {
 .products-wrap .products-item {
  height: 200px;
 }
}
@media (min-width: 1200px) {
 .products-wrap .products-item {
  height: 177px;
 }
}
@media (min-width: 1400px) {
 .products-wrap .products-item {
  height: 275px;
 }
}*/


/*========================================================
                     公司簡介+聯絡資訊
=========================================================*/

.other-wrap {
    background: url(../img/index/other-bg.jpg) no-repeat center center / cover;
	padding-top: 80px;
	padding-bottom: 80px;
	padding-left: 5%;
	padding-right: 5%;
}

.about-wrap .s-header {
    text-align: left;
}

.about-btn {
	text-align: right;
}
.about-btn a {
	display: inline-block;
	background-color: #dcdcdc;
	color: #000;
	padding: 3px 20px;
}
.about-btn a:hover {
	background-color: #999;
}

/*  尺寸設定 */
@media (min-width: 992px) {
	.other-wrap {
		padding-left: 10%;
		padding-right: 10%;
	}
}



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

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

