
@import url(../fonts/font-awesome/font-awesome.min.css);
@import url(../fonts/flaticon/flaticon.css);
@import url(header.css);
@import url(footer.css);
@import url(hover.css);
@import url(banner.css);



/*========================================================
                      	 h1 設定
=========================================================*/

.h1-title {
    color: #298ab3;
	margin-top: 0;
    margin-bottom: 40px;
    text-align: center;
	font-size: 24px;
	position: relative;
}
.h1-title em {
	display: block;
    color: #298ab3;
    text-align: center;
	font-size: 24px;
	position: relative;
	font-style: normal;
}
.h2-title {
    color: #333;
	margin: 0 0 20px 0;
	font-size: 24px;
	position: relative;
	padding-left: 14px;
	font-weight: bold;
}
.h2-title:before {
    content: '';
	position : absolute;
	top: 50%;
	left: 0;
	transform : translateY(-50%);
	z-index: 9;
	width: 7px;
	height: 80%;
	background-color: #bf1a20;
}


/* 尺寸設定 */
@media (min-width: 768px) {
	.h1-title {
		font-size: 30px;
	}		
}
@media (min-width: 1200px) {
	.h1-title {
		font-size: 36px;
	}		
}


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

.content {
	padding-top: 40px;
	padding-bottom: 50px;
}
.content > .container {
	max-width: 1170px;
}


/* 麵包屑 */
.breadcrumbs {
	text-align: right;
}
.breadcrumbs a {
	display: inline-block;
	text-decoration: underline;
	color: #000;
	padding: 0 0 10px 0;
}
.breadcrumbs a.home {
	font-weight: bold;
}
.breadcrumbs span {
	margin: 0 2px 0 4px;
	color: #000;
	font-size: 100%;
	font-weight: bold;
}


/*========================================================
                      	 選單
=========================================================*/

.navsub {
	display: none;
}
.navsub-list {
	text-align: center;	
	margin-right: 30px;
	padding-bottom: 5px;
	background-color: #fdfdfd;
	box-shadow: 2px 2px 10px #adadad;
}
.navsub-list h2  {
	color: #fff;
	background-color: #298ab3;
	padding: 12px 10px;
	text-align: center;
	margin: 0 0 10px 0;
}
.navsub-list > ul {
	list-style: none;
	margin: 20px;
	padding: 0;
}
.navsub-list > ul li {
	border-bottom: 1px solid #ababab;
}
.navsub-list > ul li:last-of-type {
	border-bottom: none;
}
.navsub-list > ul li a {
	display: block;
	padding: 10px;
	color: #333;
	font-size: 18px;

}

.navsub-list ul li a:hover {
	color: #000;
	background-color: #c2c2c2;
}

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

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




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

.about-box section {
	margin-bottom: 50px;
	font-size: 18px;
}
.about-1 img {
	width: 100%;
	vertical-align: bottom;
}

.about-3 img {
	width: 100%;
	vertical-align: bottom;
}
.about-4 {
	margin-top: -20px;
}

.timeline-posts {
	margin-bottom: 50px;
}


/* 尺寸設定 */
@media (max-width: 639px) {
	.timeline-posts {
		text-align: center;
	}
	.timeline-post {
		background-color: #ededed;
		padding: 15px;
		margin-bottom: 20px;
	}
	.timeline-post-year {
		font-weight: bold;
		font-size: 24px;
		color: #298ab3;
	}
	.timeline-post-year:after {
		content: '';
		position: relative;
		left: 50%;
		transform : translateX(-50%);
		display: block;
		width: 30%;
	}
}
@media (min-width: 640px) {
	.timeline-posts {
		padding-left: 150px;
		margin-top: 50px;
		padding-right: 40px;
	}
	.timeline-posts h2 {
		margin-left: -135px;
	}
	.timeline-post {
		position: relative;
		margin-bottom: 24px;
	}
	.timeline-post-year {
		position: absolute;
		top: 6px;
		left: -90px;
		font-weight: bold;
		color: #0f4f6a;
	}
	.timeline-post:before, 
	.timeline-post:after {
		content: '';
		position: absolute;
	}
	.timeline-post:before {
		top: 6px;
		left: 0px;
		width: 30px;
		height: 30px;
		background: #fff;
		border-radius: 50%;
		border: 10px solid #298ab3;
	}
	.timeline-post:after {
		top: 36px;
		left: 11px;
		height: 100%;
		width: 8px;
		background: #dedede;
	}
	.timeline-post:last-child:after{
		height: 80%;
	}
	.timeline-post .timeline-post-body {
		padding-top: 8px;
		padding-bottom: 16px;
		position: relative;
		padding-left: 90px;
	}
	.timeline-post .timeline-post-body:before {
		content: '';
		position: absolute;
		top: 20px;
		left: 20px;
		display: inline-block;
		width: 60px;
		height: 1px;
		background-color: #298ab3;
	}
}
@media (min-width: 992px) {
	.timeline-posts {
		margin-top: 0;
		padding-left: 120px;
	}
	.timeline-posts h2 {
		display: none;
		margin-left: -165px;
	}
}
@media (min-width: 1200px) {
	.timeline-posts {
		padding-left: 120px;
	}
}
@media (min-width: 1600px) {
	.timeline-posts {
		padding-left: 120px;
	}
}

/*========================================================
                   	   	營業項目
=========================================================*/


.product-box {
}
.product-box dl {
	margin-bottom: 30px;
	overflow: hidden;
	border-bottom: 2px dashed #ddd;
}
.product-box dl dt {
	float: none;
	width: 100%;
	margin-right: 0;
}
.product-box dl dd {
	overflow: hidden;
	padding-bottom: 40px;
}
.product-box dl dd h3 {
	font-weight: bold;
	margin: 0 0 15px 0;
}
.product-box dl dd ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.product-box dl dd ul li {
	position: relative;
	padding-left: 70px;
	margin-bottom: 10px;
}
.product-box dl dd ul li span {
	position: absolute;
	left: 0;
	top: 1px;
	width: 60px;
	background-color: #298ab3;
	text-align: center;
	color: #fff;
}


/* 連接 */
.product-link {
	text-align: right;
}



/* 尺寸設定 */
@media (max-width: 1199px) {
	.product-box dl dt img {
		display: block;
		max-width: 100%;
		margin: 0 auto 20px;
	}
}

@media (min-width: 1200px) {
	.product-box dl dt {
		float: left;
		width: 300px;
		margin-right: 20px;
	}
	.product-box dl dt img {
		width: 100%;
		vertical-align: bottom;
	}
}



/*========================================================
                       工程實績
=========================================================*/

/* 列表頁 */
.performance-list {
	
}
.performance-list img {
	width: 100%;
	vertical-align: bottom;
}
.performance-list [class*="col-"] {
	position: relative;
	margin-bottom: 30px;
}
.performance-list [class*="col-"] h3 {
	background-color: #0094cb;
	color: #fff;
	margin: 1px 0 0 0;
	font-size: 20px;
	padding: 10px;
	text-align: center;
}
.performance-list [class*="col-"] p {
	position: absolute;
	right: 25px;
	top: 10px;
	z-index: 9;
	background-color: rgba(255,255,255,0.7);
	color: #000;
	padding: 0 10px;
	font-size: 15px;
}


/* 滑動效果 */
.performance-list a.img-mark {
	display: block;
	color: #000;	
	position: relative;
}
.performance-list a.img-mark:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 9999;
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-ms-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
}
.performance-list a.img-mark:hover:before {
	background: rgba(255,255,255,0.2) url(../images/magnifier.png) no-repeat center center;
	zoom: 1;
	filter: alpha(opacity=80);
	opacity: 0.8;
}


/*========================================================
                      工程實績內頁
=========================================================*/

.work-detail {
	margin-bottom: 20px;
	text-align: left;
}
.work-detail img {
	width: 100%;
	vertical-align: bottom;
	border: 5px solid #ededed;	
}
.work-detail h2.title {
	background-color: #d7f3fd;
	color: #000;
	padding: 5px;
	font-size: 24px;
	margin: 0 0 20px 0;
	border-left: 7px solid #298ab3;
}

.work-detail .col-md-10, .work-detail .col-md-2 {
	padding-left: 0;
	padding-right: 0;
}

.slider-nav .slick-slide {
	margin: 10px 5px 0 5px;
}

.slider-for > div {
	position: relative;
	margin: 0;
}
.slider-for > div a:after {
	content: '';
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
}
.slider-for > div img {
	width: 100%;
	vertical-align: bottom;
	border: 5px solid #ededed;
}
.slider-nav {
	margin-bottom: 30px;
}

.work-detail [class*="col-"] p {
	font-size: 16px;
	line-height: 32px;
}
.work-detail [class*="col-"] ul {
	list-style: none;
	margin: 0 5px;
	padding: 0;
}
.work-detail [class*="col-"] ul li {
	position: relative;
	margin: 0 0 10px 0;
	padding: 0;
}
.work-detail [class*="col-"] ul li:before {
	font-family:'FontAwesome';
	content: "\f101";
	margin-right: 5px;
	color: #298ab3;
}

/* 尺寸設定 */
@media (min-width: 992px) {
	.slider-nav .slick-slide {
		margin: 0 10px 5px 0;
	}
	.work-detail .col-md-10, .work-detail .col-md-2 {
		margin-bottom: 30px;
	}
}



/*========================================================
                   	   製程與設備
=========================================================*/

.equipment-box section {
	margin-bottom: 50px;
}
.equipment-2 img {
	width: 100%;
	vertical-align: bottom;
}
.equipment-2 [class*="col-"] {
	margin-bottom: 20px;
}
.equipment-2 [class*="col-"] p {
	background-color: #298ab3;
	color: #fff;
	text-align: center;
	border-top: 1px solid #fff;
}




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


.news-box {
/*	max-width: 1170px;*/
	margin-bottom: 20px;
}
.news-list h1 {
	margin-top: 30px;
}
.news-list dl {
	clear: both;
	overflow: hidden;
	padding: 30px 30px 20px;
	margin: 0 0 30px 0;
	-webkit-box-shadow: 2px 1px 5px 1px rgba(65, 65, 65, 0.3);
	box-shadow: 2px 1px 5px 1px rgba(65, 65, 65, 0.3);
}
.news-list dl dt {
	background-color: #298ab3;
	width: 100px;
	float: left;
	margin-right: 10px;
	color: #fff;
	text-align: center;
	padding: 18px 5px;
}
.news-list dl dt span {
	display: block;
}
.news-list dl dd {
	overflow: hidden;
	line-height: 28px;
}
.news-list dl dd h5 {
	color: #298ab3;
	font-weight: bold;
	font-size: 18px;
	position: relative;
	margin: 4px 0 10px 0;
	padding: 0;
}
.news-list dl dd p {
	color: #333;
}
.news-list > a {
	display: block;
	background-color: #f8f8f8;
}
.news-list > a:hover {
	background-color: #ebf4f8;
}





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

.news-detail {
	margin-top: 30px;
	margin-bottom: 50px;
	text-align: left;
}
.news-detail h2 {
	text-align: left;
	margin: 0 0 30px 0;
	color: #346d99;
}
.news-content {
	padding: 50px;
	-webkit-box-shadow: 2px 1px 5px 1px rgba(65, 65, 65, 0.3);
	box-shadow: 2px 1px 5px 1px rgba(65, 65, 65, 0.3);
	background-color: #f9fdff;
}
.news-content img {
	max-width: 100%;
}


/*回目錄頁*/
.news-detail .back {
	text-align: right;
	padding-top: 30px;
}
.news-detail .back a {
	background-color: #346d99;
	padding: 8px 20px 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #fff;
	font-size: 15px;
}
.news-detail .back a:hover {
	-moz-transition: -moz-transform 0.3s;
	-o-transition: -o-transform 0.3s;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	background-color: #0a1a26;
	color: #fff;
	text-decoration: none;
}


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

.contact-box {
	position: relative;
}

.contact-box > .row > .col-md-6 {
	padding-bottom: 50px;
}
.contact-list h2 {
	border-left: 10px solid #ce4737;
	padding: 10px;
	margin-bottom: 20px;
	background-color: #f4f4f4;
	font-size: 24px;
}
.map ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.map ul li {
	list-style: none;
	margin: 0;
	padding: 5px 0 5px 50px;
	position: relative;
	min-height: 40px;
	margin-bottom: 10px;
}
.map ul li b {
	font-weight: bold;
	font-size: 20px;
	display: block;
	color: #0096cc;
}
.map ul li i {
	list-style: none;
	margin: 0;
	padding: 5px 0;
}
.circle {
	width: 40px;
	height: 40px;
	border-radius: 20px;
	font-size: 20px;
	color: #fff;
	line-height: 40px;
	text-align: center;
	background: #0096cc;
	position: absolute;
	left: 0;
	top: 10px;
	z-index: 9;
}
.map ul li [class^="flaticon-"]:before, 
.map ul li [class*=" flaticon-"]:before, 
.map ul li [class^="flaticon-"]:after, 
.map ul li [class*=" flaticon-"]:after {
    margin-right: 0px;
}


/* 尺寸設定 */

@media (min-width: 992px) {
	.contact-box > .row > .col-md-6:nth-of-type(1) {
		padding-right: 50px;
	}
	.contact-box > .row > .col-md-6:nth-of-type(2) {
		padding-top: 20px;
		padding-left: 50px;
	}
}




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

.contant-list {
	
}


/* 說明 */
.form-info {
	border: 2px dashed #adadad;
	padding: 20px 20px 20px 100px;
	background: #f7f7f7 url(../images/warning.png) no-repeat 20px center;
	margin-bottom: 20px;
	min-height: 60px;
}
.form-info p {
	margin-bottom: 6px;
}



/* 表單設定 */
.form-horizontal {
	margin-bottom: 40px;
}
.form-horizontal .control-label {
	color: #333;
}
.form-horizontal .form-control {
	border-radius: 5px;
	padding: 5px 20px 5px 40px;
	border: 1px solid #c4c4c4;
	background-color: #fff;
}
.form-control {
    background-color: #f6f6f6;
	height: 40px;
}	
.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;
	padding: 0;
	margin-bottom: 10px;
}
.contact-form [class *= col-] i {
    display: block;
    font-size: 16px;
    color: #666;
    width: 28px;
    line-height: 28px;
    text-align: center;
/*    border: 1px solid #c4c4c4;*/
    background-color: #f6f6f6;
    position: absolute;
    left: 6px;
    top: 6px;
    border-radius: 5px;
    transition: all 0.4s ease;
}
.contact-form [class *= col-] i.text-red {
    color: #333;
}


/* 尺寸設定 */

@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;
	}
	.contact-form [class *= col-] {
		padding-right: 15px;
	}
	.form_out .col-md-3 {
		padding-right: 15px;
	}
	.form_out .col-md-3 span {
		text-align: center;
		background-color: #fff;
	}
}


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

.table1 {
	border-collapse: collapse;
	text-align: center;
	margin: 0 0 20px 0;
}
.table1 caption {
	color: #333;
	font-weight: bold;
}
.table1 tr:nth-of-type(2n+1) {
	background-color: #e8e8e1;
}
.table1 th {
	background: #333333;
	color: #fff;
	font-weight: bold;
	padding: 15px 5px !important;
	text-align: center;	
	border-top: 0 !important;
	border-right: 1px solid #555555;
}
.table1 td {
	padding: 0 5px;
	border: 1px solid #bbb;
}

.table1 a.file {
	display: inline-block;
	margin-top: 4px;
	width: 24px;
	height: 24px;
	background: url(../images/file_pdf.png) no-repeat center center;
	text-indent: -9999px;
	}
.table1 td img {
	max-width: 100px;
	max-height: 100px;
}
	
.table2 {
}
.table2 th {
	background: #e49d47;
	color: #fff;
	font-weight: bold;
	padding: 15px 5px !important;
	text-align: center;	
	border-top: 0 !important;
	border-right: 1px solid #bab9bb;
}
.table2 td {
	padding: 0 5px;
	border: 1px solid #cccccc;
	text-align: center;
	background-color: #fff;
}
.table2 td img {
	max-width: 100px;
	max-height: 100px;
}
.table2 td.left {
	text-align: left;
}
.table2 td.left b {
	display: block;
	color: #D40101;
}
	


/* 手機表格提示 */
.table-text {
	color: #D40101;
	text-align: right;
	margin-bottom: -20px !important;
}	
@media (min-width: 768px) {
	.table-text {
		display: none;
	}	
}
	
/*========================================================
                         圖片效果
=========================================================*/

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;
	z-index: 10;
	content: '';
	display: inline-block;
	background: rgba(0,0,0,0.05) url(../images/magnifier.png) no-repeat center center;
	opacity: 0;
	-webkit-transform: scale(0.5);
	transform: scale(0.5);
	transition: .3s;
}
