
@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 {
    border-left: 7px solid #e71f19;
    padding-left: 10px;
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: bold;
}
.h3-title {
    color: #023d99;
    font-weight: bold;
    font-size: 1.4rem;
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
}
.h3-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    z-index: 2;
    display: inline-block;
    margin-right: 5px;
    background-color: #023d99;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    width: 26px;
    height: 26px;
}


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

.content-wrap {
    background: url("../img/content-bg.jpg") no-repeat center top fixed;
    background-size: 100% auto;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #fff;
}


/* 麵包屑 */
.breadcrumbs {
    background-color: #023d99;
	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: #3d89c9;
	padding: 12px 10px;
	text-align: center;
	margin: 0 0 10px 0;
    font-size: 2rem;
}
.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: 10px;
	color: #333;
	font-size: 18px;
	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: #1471aa;
	padding: 5px 20px 7px;
	border-radius: 3px;
	color: #fff;
}
.btn-back a:hover {
    background-color: #0e5581;
	color: #fff;
	text-decoration: none;
}


/*========================================================
                         共同設定
=========================================================*/

.commonStyle {
    margin-bottom: 80px;
}
.commonStyle-img {
    margin-top: 30px;
    position: relative;
}

/* 尺寸設定 */
@media (max-width: 767px) {
    .commonStyle-img img {
        width: 49%;
        margin-bottom: 20px;
    }
}
@media (min-width: 768px) {
    .commonStyle-img {
        margin-top: 30px;
        position: relative;
        height: 340px;
        overflow: hidden;
    }
    .commonStyle-img img {
        width: 30%;
        clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
    }
    .commonStyle-img img:nth-of-type(1) { 
        clip-path: polygon(0 0, 100% 0%, 80% 100%, 0% 100%);
        position: absolute;
        left: -3%;
    }
    .commonStyle-img img:nth-of-type(2) { 
        position: absolute;
        left: 22%;
    }
    .commonStyle-img img:nth-of-type(3) { 
        position: absolute;
        left: 47%;
    }
    .commonStyle-img img:nth-of-type(4) {
        position: absolute;
        left: 72%;
        clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    .commonStyle-img {
        height: 155px;
    }
}
@media (min-width: 992px) {
    .commonStyle-img {
        height: 210px;
    }
}
@media (min-width: 1200px) {
    .commonStyle-img {
        height: 250px;
    }
}
@media (min-width: 1600px) {
    .commonStyle-img {
        height: 300px;
    }
}



/*========================================================
                      	 技術與服務
=========================================================*/

.service-item {
    margin-bottom: 30px;
}
.service-item h4 {
    font-size: 1.2rem;
    font-weight: bold;
}



/*========================================================
                      	 品質政策
=========================================================*/

.quality-item {
    text-align: center;
    margin: 0 20px 20px;
}
.quality-item img {
    width: 100%;
    vertical-align: bottom;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    
}
.quality-item h5 {
    color: #023d99;
    font-weight: bold;
}
.quality-box{
	padding-bottom:30px;
}



/*========================================================
                         訊息公告
=========================================================*/

.news {	
}
.news img {
    width: 100%;
    vertical-align: bottom;
}
.news .slider {
    padding-bottom: 80px;
}
.news-item {
    margin: 0 0 50px 0;
    background-color: #fff;
    position: relative;
}
.news-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background-color: #f0f4f8;
    overflow: hidden
}
.news-item-img:hover {
    color: #fff
}
.news-item-img:hover .news-item-mask {
    opacity: 1;
    visibility: visible
}
.news-item-img:hover .news-item-mask::after {
    height: 100%
}
.news-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.news-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
}
.news-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    transform: translateY(-50%);
    transition: all .3s
}
.news-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    border: 1px solid #fff;
    padding: 5px 30px;
}
.news-item-info {
    text-align: left;
    border: 1px solid #d8d8d8;
    padding: 20px 30px;
    background-color: #e8eff5;
}
.news-item-info time  {
    font-weight: bold;
    color: #000;
    display: block;
}
.news-item-info h3 {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 10px 0;
}
.news-item-info h3:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #e51816;
    margin-top: 20px;
}
.news-item-info p {
    margin: 0;
    line-height: 28px;
}
.news-btn {
    text-align: center;
}
.news-btn a {
    display: inline-block;
    color: #000;
    padding: 5px 5%;
    border: 1px solid #a2a2a2;
    font-size: 1rem;
}
.news-btn a:hover {
    color: #fff;
    background-color: #0870c9;
}

/* 尺寸設定 */
@media (min-width: 992px) {
    .news .slider {
        padding-bottom: 40px;
    }
}


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


.news-detail {
	text-align: left;
    border-bottom: 2px dashed #adadad;  
}
.news-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.news-detail-title {
	text-align: left;
	margin: 0 0 20px 0;
	color: #333;
	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;
}


/* 分類+外連 */
.news .news-detail-row {
    display: flex;
    font-size: 1rem;
    color: #63636b;
    margin: 0 2px 6px 2px;
}
.news .news-detail-row a {
    color: #63636b;
}
.news .news-detail-row a:hover {
    text-decoration: underline;
}
.news .news-detail-row {
    line-height: 24px;
    margin-bottom: 14px;
}
.news .news-detail-row .news-detail-sort {
    background-color: #3d89c9;
    color: #fff;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}
.news .news-detail-row .news-detail-date {
    color: #3d89c9;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 1rem;
}
.news .news-detail-row .news-detail-date i {
    margin-right: 6px;
}



/*========================================================
                         常見問題
=========================================================*/

.faq dl dt {
	background: url("../img/faq-icon1.png") no-repeat left 11px;
    padding: 10px 0 10px 40px;
    font-size: 1.4rem;
}
.faq dl dd {
	background: url("../img/faq-icon2.png") no-repeat left 11px;
    padding: 10px 0 10px 40px;
    font-size: 1.1rem;
}


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

.contact-box {
	padding-bottom: 50px;
	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: #476b89;
}
.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: #476b89;
	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;
	}
}




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

.contact-info {
    
}
.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-info ul li {
	position: relative;
    padding-left: 26px;
	margin-bottom: 10px;
}
.contact-info ul li span {
    display: inline-block;
    margin-right: 6px;
	font-weight: bold;
}
.contact-info ul li i {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: inline-block;
    width: 20px;
    text-align: center;
	margin: 0;
	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;
}


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

.form_out .col-md-2 {
	text-align: left;
	font-weight: bold;
}
.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;
	}
	.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;
    background-color: #fff;
}
.table1 th {
	background-color: #1f6dae;
	color: #fff;
    font-size: 1.1rem;
	font-weight: bold;
	padding: 10px 10px !important;
	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: 7px 10px !important;
	border: 1px solid #c0bebe;
    vertical-align: middle;
}
.table1 td.c {
	text-align: center;
    background-color: #e6eff6;
}

.table1 td.img img {
	width: 80px;
	}

.table2 {
	text-align: center;
}
.table2 td:nth-of-type(1) {
    background-color: #e6eff6;
}


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

.ul-s1 {
    list-style: none;
    margin: 0 0 30px 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: #a6c4e6;
    position: absolute; 
    left: 0; 
    top: 2px; 
    z-index: 9; 
}


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

a.figure {
	display: block;
	position: relative;
}
a.figure:hover:before {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    font-family: "Font Awesome 5 Free";
    content: "\f002";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;    
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
/*
    content: '了解更多';
    display: inline-block;
*/
    background: rgba(0,0,0,0.05);
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
    color: #3d89c9;
    text-align: center;
    padding-top: 45%;
    font-size: 3rem;
}
