
@import url("../fonts/flaticon/flaticon.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: 40px;
}

.h2-title {
    display: inline-block;
    font-size: 2rem;
    color: #000;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    font-weight: bold;
}
.h2-title:after {
    position: absolute;
    left: -20%;
    bottom: 0;
    height: 50%;
    width: 140%;
    background: #adadad;
    opacity: 0.3;
    content: "";
    z-index: -1;
}

.h3-title {
    border-left: 7px solid #0c3862;
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

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

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


/* 麵包屑 */
.breadcrumbs {
    background-color: #0c3862;
	text-align: left;
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
}
.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: #70d1e4;
	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  {
	color: #fff;
	background-color: #0c3862;
	padding: 8px 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: 7px 10px;
	color: #333;
	font-size: 1rem;
	margin: 0 0 10px 0;
	background-color: #ededed;
}
.navsub-list ul li a:hover {
	color: #000;
	background-color: #d3d3d3;
}

.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;
	padding-top: 20px;
}
.btn-back a {
    background-color: #0c3862;
	padding: 5px 20px 7px;
	border-radius: 3px;
	color: #fff;
}
.btn-back a:hover {
    background-color: #007dc3;
	color: #fff;
	text-decoration: none;
}


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

.about-bg {
    background: url("assets/img/about-01-a01.jpg") no-repeat center center;
    min-height: 300px;
    margin: 0 15px 30px;
}
.about-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.about-wrap ul li {
    background: url("../img/about-icon.png") no-repeat 20px 21px;
    padding: 15px 20px 15px 54px;
    font-size: 1rem;
    border-bottom: 1px solid #adadad;
}
.about-wrap ul li span {
    color: #113f68;
    font-weight: bold;
}
.about-wrap ul li:nth-child(2n+1){
    background-color: #f4f4f4;
}
.about-wrap ul li:first-child {
    border-top: 1px solid #adadad; 
}

.about-work { 
}

.about-work-pic a {
    display: block;
	border: 10px solid #fff;
    box-shadow: 0 4px 21px -12px rgb(0 0 0 / 80%);
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
    text-align: center;
}
.about-work-pic img {
    max-width: 100%;
	margin: 0 auto;
}
.about-work-pic a:hover {
	transform: translateY(-10px);
}
.about-work [class*="col-"] p {
    text-align: center;
    margin: 5px 0 20px;
}


@media (min-width: 768px) {
    .about-work-pic img {
        width: auto;
        height: 206px;
    }
}
@media (min-width: 992px) {
    .about-bg {
        margin: 0;
    }
	.about-work-pic img {
		height: 180px;
	}
}
@media (min-width: 1200px) {
	.about-work-pic img {
		height: 135px;
	}
}
@media (min-width: 1600px) {
	.about-work-pic img {
		height: 233px;
	}
}



/*========================================================
                         產品目錄
=========================================================*/

.filterDiv {
  display: none;
}

/* 次選單 */
.filter-btn-list {
	list-style: none;
	margin: 30px 0 30px;
	padding: 0;
	text-align: center;
	color: #111;
}
.filter-btn-list .btn {
    border: none;
    outline: none;
    padding: 5px 15px;
    margin: 0 3px 10px;
    background-color: #f1f1f1;
    cursor: pointer;
}
.filter-btn-list .btn:hover {
	background-color: #083f8b;
	color: #fff;
}
.filter-btn-list .btn.filterActive {
	background-color: #083f8b;
	color: #fff;
}


.products-img [class*="col-"] {
    margin-bottom: 30px;
}
.products-img [class*="col-"] a {
    display: block;
    border: 1px dashed #a1b6d5;
}
.products-img [class*="col-"] a img {
    border: 10px solid #f6f8fb;
}
.products-img [class*="col-"] p {
    text-align: center;
    font-weight: bold;
}
.products-img .show {
  display: block;
}


/*========================================================
                        最新消息
=========================================================*/

.news-wrap a {
	color: #333;
}
.news-wrap a:nth-of-type(2n) dl {
	background-color: #f6f6f6;
}
.news-wrap a:last-of-type dl {
	margin-bottom: 30px;
}
.news-wrap dl {
	clear: both;
	overflow: hidden;
	margin: 0;
	padding: 20px 30px 16px;
	border-bottom: 1px dashed #adadad;
}
.news-wrap dl dt time {
	display: inline-block;
	background-color: #4e98bb;
	color: #fff;
	text-align: center;
	padding: 2px 15px;
	margin-bottom: 6px;
}
.news-wrap dl dd {
	font-size: 1.2rem;
	overflow: hidden;
	line-height: 34px;
    margin: 0;
}
.news-wrap > a {
	display: block;
}
.news-wrap > a:nth-of-type(2n+1) {
	background-color: #f4f4f4;
}
.news-wrap > a:hover {
	background-color: #e0eef5;
}



/* 尺寸設定 */
@media (min-width: 640px) {
	.news-wrap dl dt {
		float: left;
		margin-right: 10px;
	}
}





/*========================================================
                         最新消息
=========================================================*/

.news-post {
	text-align: center;
    font-size: 1rem;
}

/* 目錄頁設定 */
.news-post .post-minimal {
	position: relative;
	overflow: hidden;
    padding-bottom: 30px;
	margin-bottom: 40px;
	text-align: left;
    border-bottom: 2px dashed #adadad;
}
.news-post .post-minimal .post-body {
	padding: 0 30px;
}
.news-post .post-minimal * + .post-text {
	margin-top: 8px;
}
.news-post .post-minimal .post-meta {
	font-size: 0.9rem;
}
.news-post .post-minimal .post-meta time {
    display: inline-block;
	color: #fff;
    margin-right: 10px;
    width: 100px;
    min-height: 26px;
    line-height: 26px;
    text-align: center;
    background-color: #0c3862;
}
.news-post .post-minimal .post-meta span a {
	color: #333;
}
.news-post .post-minimal .post-meta span a:hover {
	color: #0c3862;
}
.news-post .post-minimal .post-body h2 a {
	font-size: 1.4rem;
	color: #333;
    font-weight: bold;
    margin: 10px 0;
}
.news-post .post-minimal .post-body h2 a:hover {
	color: #0c3862;
}
.news-post .post-minimal .more a {
	display: inline-block;
	margin-top: 10px;
	font-weight: bold;
	color: #0c3862;
}


/* 尺寸設定 */
@media (max-width: 991px) {
	.news-post .post-minimal {
		display: inline-block;
		width: 100%;
		max-width: 600px;
        background-color: #f1f1f1;
	}
    .news-post .post-minimal .post-body {
        padding: 10px 30px 0;
    }
	.news-post .post-minimal .post-image img {
		width: 100%;
		vertical-align: bottom;
	}
}
@media (min-width: 992px) {
	.news-post .post-minimal {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-align-items: top;
		-ms-flex-align: top;
		align-items: top;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
    .news-post .post-minimal .post-left img {
        width: 280px;
	}
	.news-post .post-minimal .post-body {
		padding: 0 30px;
		-webkit-flex-grow: 1;
		-ms-flex-positive: 1;
		flex-grow: 1;
	}
	.news-post .post-minimal .post-left img {
		width: 320px;
	}
	.news-post .post-minimal .post-body {
		padding: 0 30px;
	}
}
@media (min-width: 1200px) {
	.news-post .post-minimal {
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
}
@media (min-width: 1600px) {
	.news-post .post-minimal .post-left img {
		width: 360px;
	}
}

/*========================================================
                   	最新消息內頁
=========================================================*/


.news-detail {
	text-align: left;
    border-bottom: 2px dashed #adadad;  
}
.news-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.news-detail time {
    color: #333;
}
.news-detail-title {
	text-align: left;
	margin: 0 0 20px 0;
	color: #0c3862;
	font-weight: bold;
    font-size: 1.8rem;
}
.news-detail-content {
    margin-bottom: 40px;
}
.news-detail-link {
    border-top: 2px dashed #adadad;
    padding: 1rem;
    font-size: 0.9rem;
    background-color: #ededed;
}
.news-detail-link h4 {
    font-size: 1.1rem;
    font-weight: bold;
}
.news-detail-link a {
    display: inline-block;
    color: #333;
    text-decoration: underline;
    margin-left: 10px;
}
.news-detail-link a:hover {
    text-decoration: none;
}



/*========================================================
                         技術製程
=========================================================*/

.technology-item {
    margin-bottom: 2rem;
}

.technology-item h4 {
    font-weight: bold;
    color: #0c3862;
}
@media (max-width: 1199px) {
    .technology-item [class*="col-"]:nth-of-type(2) {
        padding: 30px 15px;
    }
}
@media (min-width: 1200px) {
    .technology-item {
        margin-bottom: 3rem;
    }
    .technology-item [class*="col-"]:nth-of-type(2) {
        padding-left: 15px;
        padding-right: 30px;
    }
}


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


.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: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;
	border: 1px solid #c0bebe;
}
.table1 tr:nth-child(2n+1) {
	background-color: #F3F3F3;
}

.table1 th {
	background-color: #3a7da5;
	color: #fff;
    font-size: 1.1rem;
	font-weight: bold;
	padding: 10px 10px !important;
	text-align: center;	
	border-top: 0 !important;
	border-bottom: 1px solid #c0bebe;
    border-right: 1px solid #fff;
}
.table1 th:last-of-type {
    border-right: 1px solid #c0bebe;
}
.table1 td {
	padding: 5px 5px !important;
	border: 1px solid #c0bebe;
}
.table1 tr.subtitle td {
    background-color: #c8dae7;
    font-weight: bold;
}

.table2 td:nth-of-type(2){
	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;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.ul-s2 > li {   
    width: 50%;
    padding-left: 12px;
    position: relative;
}
.ul-s2 > li:before {
    font-family: 'Font Awesome 5 free';
    content: "\f0da";
    font-weight: 900;
    display: inline-block;
    font-size: 0.9rem;
    position: absolute;
    left: 0;
    top:0px;
    z-index: 2;
}

@media (min-width: 992px) {
    .ul-s2 > li {   
        width: 33%;
    }
}


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

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(252, 200, 58, 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);
}


