
@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: 1px;
    background-color: #a1a1a1;
    position: relative;
    top: -1px;
}
.h2-title:before {
    width: 60px;
    margin-left: -60px;
}
.h2-title:after {
    width: 60px;
    margin-right: -60px;
}
@media (min-width: 992px) {
    .h2-title {
        font-size: 2rem;
    }
    .h2-title span {
        padding: 0 30px;
    }
    .h2-title:before {
        width: 80px;
        margin-left: -80px;
    }
    .h2-title:after {
        width: 80px;
        margin-right: -80px;
    }
}


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

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


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

.about-wrap {	
    background: url("../img/index/about-bg2.jpg") no-repeat right 80%;
    background-size: auto 40%;
	padding-top: 80px;
    padding-bottom: 80px;
}

.about-info h2 {
    font-size: 1.2rem;
    color: #f39d2d;
    font-weight: bold;
}
.about-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}
.about-info p {
    text-align: justify;
}

.about-btn {
    text-align: left;
}
.about-btn a {
    color: #fff;
    display: inline-block;
    padding: 3px 30px;
    background-color: #000;
}
.about-btn a:hover {
    background-color: #f39d2d;
}

@media (min-width: 640px) {
    .about-wrap {	
        background: url("../img/index/about-bg2.jpg") no-repeat right 80%;
        background-size: auto 50%;
    }
}
@media (min-width: 1200px) {
    .about-wrap {	
        background: url("../img/index/about-bg.jpg") no-repeat center bottom;
        background-size: cover;
    }
}




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

.products-wrap {	
    background: url("../img/index/products-bg.jpg") no-repeat center bottom;
    background-size: cover;
	padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 5%;
    padding-right: 5%;
}
.products-wrap img {
    width: 100%;
    vertical-align: bottom;
}
.products-item {
    position: relative;
    margin: 0 20px 60px;
    box-shadow: 0 0 10px #666;
}
.products-item h3 {
    background-color: #fff;
    color: #111;
    font-weight: normal;
    text-align: center;
    font-size: 1.6rem;
    padding: 5px 5px 20px 5px;
    margin: 0;
}
.products-item p {
    padding: 20px;
}

.products-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    border: 20px solid #fff;
}
.products-item-img:hover {
    color: #fff
}
.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, .3);
    transform: translateY(-50%);
    transition: all .3s
}
.products-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    padding: 6px 30px 4px;
    border: 1px solid #fff;
}


.products-btn {
    text-align: center;
}
.products-btn a {
    color: #fff;
    display: inline-block;
    padding: 3px 40px;
    background-color: #000;
}
.products-btn a:hover {
    background-color: #f39d2d;
}

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



/*========================================================
                         聯絡我們
=========================================================*/


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

.contact-info {
    
}
.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-info ul li {
	list-style: none;
/*	padding: 5px 0 5px 60px;*/
	position: relative;
	margin-bottom: 10px;
}
.contact-info ul li i {
    display: inline-block;
    width: 20px;
    text-align: center;
	margin: 0 5px;
	padding: 5px 0;
}
.contact-info ul li:nth-of-type(1) i {
    color: #e71c30;
}
.contact-info ul li:nth-of-type(2) i {
    color: #028ad3;
}
.contact-info ul li:nth-of-type(3) i {
    color: #2e9876;
}
.contact-info ul li:nth-of-type(4) i {
    color: #cd7f0c;
}

.contact-info ul li [class^="flaticon-"]:before, 
.contact-info ul li [class*=" flaticon-"]:before, 
.contact-info ul li [class^="flaticon-"]:after, 
.contact-info ul li [class*=" flaticon-"]:after {
    margin-right: 0px;
}


/*========================================================
                         各類表單
=========================================================*/



/* 表單設定 */
.form-horizontal {
	margin-bottom: 40px;
}
.form-horizontal label {
	margin-bottom: 0;
    font-weight: bold;
    color: #666;
}
.form-horizontal label span {
    display: inline-block;
    margin: 0 3px;
    font-weight: bold;
    color: #E30000;
    font-size: 1.4rem;
}
.form-horizontal label:before {
    font-family: 'Font Awesome 5 free';
    content: "\f044";
    font-weight: 900;
    display: inline-block;
    margin-right: 5px;
    color: #111;
}
.form-horizontal .form-control {
	border: 1px solid #a8b3bd;
	background-color: #fff;
    border-radius: 0;
}

.form-control::-moz-placeholder {
	color: #999;
	opacity: 1;
	font-size: 16px;
	font-weight: bold;
}
.form-control:-ms-input-placeholder {
	  color: #999;
}
.form-control::-webkit-input-placeholder {
	  color: #999;
}

/* 意見表單 */
.contact-form {
	margin-bottom: 20px;
}
.contact-form [class *= col-] {
	position: relative;
	margin-bottom: 10px;
}


.form-group {
	padding: 10px 15px;
	margin-bottom: 0 !important;
}
.form-group:nth-of-type(2n+2) {
	background-color: #ededed;
}
.form-group b {
	display: block;
	font-size: 15px;
}

.contact-btn {
    color: #fff;
    display: inline-block;
    padding: 3px 40px;
    background-color: #000;
    border: 1px solid #000;
    user-select: none;
    cursor: pointer;
}
.contact-btn:hover {
    background-color: #f39d2d;
    border: 1px solid #f39d2d;    
}

/* 尺寸設定 */
@media (min-width: 768px) {
	.form-info {
		padding: 20px 20px 20px 70px;
		background: #f7f7f7 url(../images/warning2.png) no-repeat 20px center;
	}
	.form-info {
		margin-right: 15px;
	}
	.input {
		width: 40%;
	}
	.form-group b {
		display: inline-block;
	}
}

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

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

