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


.h3-title {
    color: #000;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.4rem;
}
.h3-title i {
    color: #f39d2d;
    display: inline-block;
    margin-right: 6px;
}

.h4-title {
    font-weight: bold;
    font-size: 1.3rem;
    text-decoration: underline;
}




/*========================================================
                      	 內頁框架
=========================================================*/

.content-wrap {
/*    background: url("../img/content-bg.jpg") no-repeat right top fixed;
    background-size: cover;*/
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: 400px;
}

.img-100 {
    width: 100%;
    vertical-align: bottom;
}

/* 麵包屑 */
.breadcrumbs {
	text-align: left;
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #FFF;
	background-color: #2270b5;
}
.breadcrumbs a {
	display: inline-block;
	color: #FFF;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.breadcrumbs a.home i {
    display: inline-block;
    margin-right: 3px;
    color: #FFF;
}
.breadcrumbs span {
	margin: 0 2px 0 4px;
	color: #FFF;
	/*font-size: 1.4rem;*/
	/*font-weight: bold;*/
}

/*========================================================
                      	次選單設定
=========================================================*/

.navsub {
	margin-bottom: 40px;
	text-align: center;
    display: none;
}
.navsub-select {
    width: 100%;
    display: block;
}

.navsub-list {
	text-align: center;	
	margin-right: 30px;
	padding-bottom: 5px;
	background-color: #fff;
	border: 1px solid #ddd;
}
.navsub-list h2  {
    background: url("../img/navsub-bg.jpg") no-repeat center center;
    background-size: cover;
	color: #000;
    font-weight: bold;
/*	background-color: #f39d2d;*/
	padding: 15px 10px;
	text-align: center;
	margin: 0 0 10px 0;
    font-size: 1.8rem;
}
.navsub-list ul {
	list-style: none;
	margin: 20px 20px 40px 20px;
	padding: 0;
}
.navsub-list ul li {
}
.navsub-list ul li a {
	display: block;
	padding: 5px 10px;
	color: #333;
	font-size: 1rem;
    border-bottom: 1px dotted #cccccb;
}
.navsub-list ul li a:hover {
	color: #000;
	background-color: #cccccb;
}

.navsub-select {
    width: 100%;    
/*
	margin-left: 15px;
	margin-right: 15px;
*/
	}
.navsub-select h2 {
	text-align: center;
	}
.navsub-select .form-control {
	margin-bottom: 20px;
}

@media (min-width: 1200px) {
    .navsub {
        display: block;
    }
    .navsub-select {
        display: none;
    }
}



/*========================================================
                         回目錄頁
=========================================================*/

.btn-back {
	text-align: right;
    margin-top: 30px;
	margin-bottom: 30px;
}
.btn-back a {
    background-color: #da632e;
	padding: 5px 20px;
	border-radius: 10px;
	color: #fff;
}
.btn-back a:hover {
    background-color: #1475a8;
    color: #fff;
	text-decoration: none;
}


/*========================================================
                         產品介紹
=========================================================*/

.navsub-main {
	font-size: 1.2rem;
	color: #fff;
    margin-bottom: 20px;
}
.navsub-main ul {
	list-style: none;
    margin: 0;
    padding: 0;
}
.navsub-main ul li {
	display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}
.navsub-main ul li a {
	display: block;
	font-size: 1.2rem;
	border-radius: 0;
	color: #000;
    padding: 7px 25px 5px;
    font-weight: normal;
    background-color: #e5e5e5;
}
.navsub-main ul li a:hover, .navsub-main ul li a.active {
	display: block;
	color: #fff;
    background-color: #333;
}

.nav-tabs {
    border-bottom: none;
    margin-bottom: 30px;
}
.nav-tabs li {
	text-align: center;
    margin-right: 10px;
    margin-bottom: 10px;
}
.nav-tabs li a {
	display: block;
	font-size: 1.2rem;
	border-radius: 0;
	color: #000;
    padding: 7px 25px 5px;
    font-weight: normal;
    background-color: #e5e5e5;
}
.nav-tabs li.active  {
	color: #000;
}
.nav-tabs > li > a.active, 
.nav-tabs > li > a.active:hover, 
.nav-tabs > li > a.active:focus {
	display: block;
	color: #fff;
    background-color: #333;
}
.nav-tabs > li > a {
    margin-right: 0;
}
.nav > li > a:hover, 
.nav > li > a:focus {
	display: block;
    text-decoration: none;
	color: #fff;
    background-color: #333;
}


.product-down {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 20px;
}
.product-down a {
    display: inline-block;
    background: url("../img/icon-pdf.png") no-repeat left center;
    padding: 5px 5px 5px 36px;
    color: #000;
    font-weight: bold;
    font-size: 1.1rem;
}
.product-down a:hover {
    color: #e43737;
}


.product-detail { 
    
}

.product-detail-pic a {
    display: flex;
	border: 10px solid #fff;
    box-shadow: 0 4px 21px -12px rgb(0 0 0 / 66%);
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
    -ms-flex-pack: center !important;
    justify-content: center !important;    
}
.product-detail-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-detail-pic a:hover {
	transform: translateY(-6px);
}
.product-pic-row [class*="col-"] {
    margin-bottom: 20px;
}
.product-pic-row [class*="col-"] p {
    text-align: center;
    margin: 5px 0 20px;
}

/*
@media (min-width: 576px) {
    .product-detail-pic a {
        width: auto;
        height: 709px;
    }
}
*/
@media (min-width: 768px) {
    .product-detail-pic a {
        height: 459px;
    }
}
@media (min-width: 992px) {
	.product-detail-pic a {
		height: 402px;
	}
}
@media (min-width: 1200px) {
	.product-detail-pic a {
		height: 308px;
	}
}
@media (min-width: 1600px) {
	.product-detail-pic a {
		height: 342px;
	}
}

.fancybox-thumbs__list a {
    height: 130px;
}


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

.contact-wrap h2 {
    font-weight: 600;
}
.contact-info h4 {
    color: #144a95;
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-info ul li {
	list-style: none;
	position: relative;
	margin-bottom: 2px;
	padding-left: 24px;
}
.contact-info ul li i {
	position: absolute;
	top: 6px;
	left: 0;
	z-index: 2;
    display: inline-block;
    width: 20px;
    text-align: center;
}
.contact-info ul li:nth-of-type(4n+1) i {
    color: #e71c30;
}
.contact-info ul li:nth-of-type(4n+2) i {
    color: #028ad3;
}
.contact-info ul li:nth-of-type(4n+3) i {
    color: #2e9876;
}
.contact-info ul li:nth-of-type(4n+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;
}


@media (min-width: 1200px) {
    .contact-info {
        min-height: 210px;
    }
}
@media (min-width: 1600px) {
    .contact-info {
        min-height: 147px;
    }
}


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

.form-horizontal {
	margin-bottom: 40px;
}
.form-horizontal label {
	margin-bottom: 0;
    font-weight: bold;
    color: #666;
}
.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 #ededed;
	background-color: #ddd;
}

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

.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;
}
.input {
	text-decoration: none;
	border: 1px solid #c7c7c7;
	width: 100%;
	padding: 2px 2px;
}

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



/*========================================================
                           表格
=========================================================*/

.table1 {
	border-collapse: collapse;
	text-align: left;
	margin: 0 0 20px 0;
	font-size: 15px;
}
.table1 tr:nth-child(2n+1) {
	background-color: #e5f3f6;
}

.table1 th {
	background-color: #0da4bf;
	color: #fff;
    font-size: 1.1rem;
	font-weight: bold;
	padding: 10px 10px !important;
	text-align: center;	
}
.table1 td {
	padding: 5px 15px !important;
    border: none;
}
.table1 td:first-of-type {
    text-align: center;
}



/*========================================================
                         ul設定
=========================================================*/

.ul-s1 {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    text-align: left;
}
.ul-s1 > li {
    padding: 0 0 0 40px;
    margin-bottom: 10px;
    position: relative;
}
.ul-s1 > li span {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	font-size: 1rem;
	color: #000;
	line-height: 30px;
	text-align: center;
	background-color: #9abdd2;
    position: absolute; 
    left: 0; 
    top: 2px; 
    z-index: 9; 
}

.ul-s2 {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}
.ul-s2 li {
    border-bottom: 1px solid #ddd;
    padding: 3px 10px;
}
.ul-s2 li span {
    font-weight: bold;
    color: #548235;
}
.ul-s2 li:before {
    font-family: 'Font Awesome 5 free';
    content: "\f0da";
    font-weight: 900;
    display: inline-block;
    margin-right: 6px;
}








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

a.figure {
	display: block;
	position: relative;
}
a.figure:hover:before {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    content: '';
    display: inline-block;
    background: rgba(255,255,255,0.15) url(../img/magnifier.png) no-repeat center center;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}


.picture-effect {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.picture-effect img {
	transform: scale(1);
	transition: .3s ease-out all;
}
.picture-effect a {
	display: inline-block;
	position: relative;
}
.picture-effect a:before {
	content: '了解更多';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(206, 26, 26, 0.4);
	pointer-products: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
    color: #fff;
    text-align: center;
    vertical-align: middle;
}
.picture-effect a:hover:before {
	opacity: 1;
}
.picture-effect a:hover img {
	transform: scale(1.1);
}


