
@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");


/*========================================================
                      	 標題設定
=========================================================*/

.s-header {
    text-align: center;
    overflow: hidden;
    margin-bottom: 20px;
}
.s-header h2 {
	color: #269d99;
	font-weight: bold;
}


.h3-title {
    border-left: 7px solid #269d99;
    padding-left: 10px;
    font-size: 1.5rem;
    margin-bottom: 30px;
	color: #333;
	font-weight: bold;
}
.h4-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.3rem;
}



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

.content-wrap {
    padding-top: 60px;
    padding-bottom: 60px;
}

.inner-box .mb-5 {
    margin-bottom: 4rem !important;
}


/* 麵包屑 */
.breadcrumbs {
    background-color: #dbe7e7;
	text-align: left;
    font-size: 1rem;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #111;
}
/*
.breadcrumbs > .container {
    max-width: 1140px;
}
*/
.breadcrumbs a {
	display: inline-block;
	color: #111;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.breadcrumbs a.home i {
    display: inline-block;
    margin-right: 3px;
    color: #111;
}
.breadcrumbs span {
	margin: 0 2px 0 4px;
	color: #111;
	font-size: 1rem;
	font-weight: bold;
}

#about-anchor1,
#about-anchor2,
#about-anchor3 {
	position: absolute;
	top: -100px;
}


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

.navsub-sub {
    padding: 0 18px;
	font-size: 0.9rem;
	color: #fff;
}
.navsub-sub ul {
	list-style: none;
    margin: 30px 0;
    padding: 0;
}
.navsub-sub ul li {
	display: inline-block;
}
.navsub-sub ul li a {
    display: inline-block;
	padding: 0 15px;
    margin: 0 15px 15px 0;
	color: #000;
    background-color: #ededed;
    transition: all 0.3s;
}
.navsub-sub ul li a:hover, .navsub-sub ul li a.active {
    background-color: #2ca8e1;
    color: #fff;
}

@media (min-width: 1200px) {
    .navsub-sub {
        font-size: 1rem;
    }
}


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

.about-01 {
	font-size: 1.05rem;	
}
.about-02 ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1.05rem;	
}
.about-02 ul li {
	position: relative;
	margin-bottom: 10px;
	padding: 10px 10px 10px 135px;
}
.about-02 ul li:nth-of-type(2n+1) {
	background-color: #fff;
}

.about-02 ul li span {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background-color: #dbe7e7;
	width: 120px;
	text-align: center;
	padding: 10px 0;
	font-weight: bold;
}
/* 照片排列 */
.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;
    }
}
*/
/*========================================================
                        產品服務
=========================================================*/

.s1 {
	border: 1px dashed #adadad;
	padding: 20px;
	text-align: center;
	background-color: #F4F4F4;
	font-size: 1.05rem;
	margin-bottom: 40px;
}




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

.page_news_con {
    position: relative;
    color: #777;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
	/*display: flex;
	align-items: center;*/
}
.page_news_pic {
	margin-bottom: 3vh;
    height: 240px;
    background-position: center;
    background-size: cover;
}
@media (min-width:992px) {
	.page_news_pic {
		margin-bottom: 0vh;
	}
}
.page_news_text h4 {
    color: #555;
	font-size: 1.3rem;
}
.page_news_text{
	position: relative;
}
.page_news_date {
    display: inline-block;
    position: absolute;
    text-align: center;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    border: 1px solid #269d99;
    font-family: "Arial", sans-serif;
    color: #269d99;
    letter-spacing: .08rem;
    font-size: 1.3rem;
}
.page_news_date .day {
    display: block;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    -moz-transform: translate(0, -100%);
    -ms-transform: translate(0, -100%);
    -webkit-transform: translate(0, -100%);
    transform: translate(0, -100%);
}
.page_news_date .year {
    display: block;
    position: absolute;
    top: 52%;
    left: 0;
    width: 100%;
}
.page_news_date .year:before {
    content: "";
    width: 10px;
    height: 1px;
    display: inline-block;
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: -5px;
    background: #269d99;
}
.page_news_txt {
    padding-left: 16vh;
}

@media (min-width:992px) {
    .page_news_pic {
        width: 320px;
        height: 200px;
        float: left;
    }
    .page_news_text {
        margin-left: 340px;
    }
}
@media (min-width:1200px) {
    .page_news_pic {
        width: 320px;
        height: 200px;
        float: left;
    }
    .page_news_text {
        margin-left: 340px;
    }
}

/* news按鈕 */
.custom-btn {
  margin-top: 2vh;
  color: #fff;
  border-radius: 0px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
}
.custom-btn a {
	color: #fff;
	text-decoration:none;
	padding: 8px 20px 7px;
	display: inline-block;
}
.custom-btn a i {
	padding-left: 5px;
}
.btn-15 {
  background: #269d99;
  border: none;
  z-index: 1;
}
.btn-15:after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  z-index: -1;
  background-color: #1a8783;
  border-radius: 0px;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  transition: all 0.3s ease;
}
.btn-15:hover {
  color: #fff;
}
.btn-15:hover:after {
  left: 0;
  width: 100%;
}
.btn-15:active {
  top: 2px;
}




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


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


.contact-info h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-left: 10px;
}
.contact-info ul {
    padding: 15px;
    background-color: #f3f3f3;
}

/*.contact-info ul {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
    min-height: 140px;
}
.contact-info ul li {
	list-style: none;
	position: relative;
	margin-bottom: 4px;
}
.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;
}


/* 意見表單 */
.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;
	}
}



/*========================================================
                         表格設定
=========================================================*/

.table thead th, .table th {
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.table1 {
	border-collapse: collapse;
	text-align: center;
	margin: 0 0 20px 0 !important;
	font-size: 1rem;
    background-color: #fff;
    border: 1px solid #c0bebe;
}
.table1 th {
	background-color: #269d99;
	color: #fff;
	font-weight: bold;
	padding: 8px 10px !important;
	text-align: center;	
	border-top: 0 !important;
	border-bottom: 1px solid #c0bebe;
    border-right: 1px solid #fff;
	line-height: 24px;
}
.table1 th:last-of-type {
    border-right: 1px solid #c0bebe;
}
.table1 td {
	padding: 8px 10px !important;
    border-right: 1px solid #ccc;
    vertical-align: middle;
	line-height: 24px;	
}
.table1 td.left {
    text-align: left;
}
.table2 tr td:first-of-type {
    background-color: #f6fefe;
    text-align: center;
}
.table3 td {
    text-align: left;
}
.table3 td.c {
    background-color: #f6fefe;	
    text-align: center;
}


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

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-events: 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);
}


