
@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 {
    position: relative;
    font-size: 2rem;
    margin-bottom: 60px;
    display: block;
    text-align: center;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
}
.h2-title:after {
    content: '';
    background-color: #e32a00;
    height: 2px;
    width: 160px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -80px;
}
.h2-title:before {
    position: absolute;
    content: '';
    left: 50%;
    bottom: -15px;
    width: 12px;
    height: 12px;
    margin-left: -5px;
    transform: rotate(45deg);
    border: 2px solid #ffffff;
    background-color: #e32a00;
}

.h3-title {
    border-left: 7px solid #e71f19;
    padding-left: 10px;
    margin-bottom: 20px;
}

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

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


/* 麵包屑 */
.breadcrumbs {
    background-color: #3d89c9;
	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;
}


/* 圖片設定 */
.pic-style1 img {
    border: 5px solid #c0d6e8;
    padding: 5px;
    -moz-border-image: -moz-linear-gradient(top left, #99d5e1 0%, #6a9cd3 100%);
	-webkit-border-image: -webkit-linear-gradient(top left, #99d5e1 0%, #6a9cd3 100%);
	border-image: linear-gradient(to bottom right, #99d5e1 0%, #6a9cd3 100%);
	border-image-slice: 1;
}
.pic-style1 h4 {
    position: absolute;
    left: 35px;
    top: 15px;
    z-index: 9;
    margin-top: 6px;
    text-align: center;
    font-size: 0.9rem;
    background-color: #3d89c9;
    padding: 4px 15px;
    border-radius: 5px;
    color: #fff;
}

.pic-style1 p {
    margin-top: 6px;
    text-align: center;
}


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

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


/*========================================================
                        商品目錄
=========================================================*/


.products .products-item {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: #fff;
    margin-bottom: 30px;
    height: 360px;
    border: 5px solid #78bdd4;
    padding: 5px;
}
.products .products-item > img {
    position: relative;
    top: 10px;
    left: 10px;
    height: 50px;
}
.products .products-item h3 {
    position: absolute;
    bottom: 44px;
    left: 15px;
    z-index: 10;
    color: #fff;
    font-weight: bold;
    border-left: 8px solid #000;
    padding-left: 10px;
    text-shadow: 1px 1px 2px #000,1px 1px 2px #000,1px 1px 2px #000;
    font-size: 1.4rem;
}
.products-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    position: absolute;
    bottom: 10px;
    left: 0;
    z-index: 10;
    text-align: center;
}
.products-item ul li {
    display: inline-block;
    width: 30%;  
}
.products .products-item ul.style2 li{ width:22%;}

.products-item ul li a {
    display: block;
    background-color: #1a68b1;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    font-size: 0.9rem;
}
.products-item ul li a:hover {
    background-color: #c62910;
}



/*  尺寸設定 */
@media (min-width: 768px) {
    .products .products-item {
        height: 340px;
    }
    .products .products-item ul li {
        width: 30%; 
    }
    .products-item ul li a {
        font-size: 1rem;
    }
    .products .products-item > img {
        top: 5px;
        left: 5px;
        height: 30px;
    }
}
@media (min-width: 992px) {
    .products .products-item {
        height: 320px;
    }
    .products .products-item > img {
        height: 40px;
    }
}
@media (min-width: 1200px) {
    .products .products-item {
        height: 340px;
    }
    .products .products-item ul li {
        width: 30%; 
    }
    .products .products-item > img {
        height: 40px;
    }
}
@media (min-width: 1600px) {
    .products .products-item {
        height: 320px;
    }
    .products .products-item ul li {
        width: 30.5%; 
    }
	
    .products .products-item > img {
        position: relative;
        top: 5px;
        left: 5px;
        height: 50px;
    }
}


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

.news {	
}
.news img {
    max-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 {
	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;
}


/* 說明 */
.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;
	}
}

/*========================================================
                         網站地圖
=========================================================*/

.sitemap {
    margin-top: 80px;
}

.sitemap-item {
    margin-bottom: 30px;
}
.sitemap-item ul {
    list-style: none;
    margin: 0 20px;
    padding: 0;
}
.sitemap-item ul li {
    position: relative;
    padding-left: 20px;
}

.sitemap-item ul li a {
    color: #333;
}
.sitemap-item ul li a:before {
    font-family: 'Font Awesome 5 free';
    content: "\f35a";
    font-weight: 900;
    display: inline-block;
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 1px;
    z-index: 1;
}
.sitemap-item ul li a:hover {
    color: #ba9e66;
}


/* 尺寸設定 */
@media (max-width: 767px) {
    .sitemap-item h4 {
        font-size: 1.6rem;
        font-weight: bold;
        line-height: 30px;
        padding-left: 20px;
        margin-bottom: 1rem;
        position: relative;
        text-align: left;
    }
    .sitemap-item h4:after {
        content: "";
        position: absolute;
        background: #9abdd2;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        z-index: -1;
    }
    .sitemap-item {
        margin-bottom: 40px;
    }
}
@media (min-width: 768px) {
    .sitemap-item h4 {
        background-color: #3a7da5;
        color: #fff;
        font-size: 1.4rem;
        font-weight: bold;
        text-align: center;
        padding: 10px;
        margin-bottom: 20px;
    }
}


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

.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: 10px 0 20px;
    padding: 0;
}
.ul-s1 > li {
    padding: 0 0 0 60px;
    margin-bottom: 20px;
    position: relative;
}
.ul-s1 > li span {
	width: 28px;
	height: 28px;
	border-radius: 14px;
	font-size: 1rem;
    font-weight: bold;
	color: #fff;
	line-height: 30px;
	text-align: center;
	background: #3d89c9;
    position: absolute; 
    left: 24px; 
    top: 0px; 
    z-index: 9; 
}

.ul-s2 {
    list-style: none;
    margin: 10px 0 20px;
    padding: 0;
}
.ul-s2 > li {
    padding: 0 0 0 60px;
    margin-bottom: 20px;
    position: relative;
}
.ul-s2 > li span { 
	width: 28px;
	height: 28px;
	border-radius: 14px;
	font-size: 1rem;
    font-weight: bold;
	color: #fff;
	line-height: 30px;
	text-align: center;
    position: absolute; 
    left: 24px; 
    top: 0px; 
    z-index: 10; 
}

.ul-s2 > li > span:after {
    font-family: 'Font Awesome 5 free';
    content: "\f075";
    font-weight: 900;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0,-50%);
    z-index: 2;
    color: #3d89c9;
    font-size: 1.8rem;
}

.ul-s2 > li > span b {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    color: #fff;
    
}



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

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