 @import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");
/*========================================================
                      	 共用
=========================================================*/
.h2-title {
	font-size: 2rem;
	/*margin-bottom: 10px;*/
	font-weight: bold;
	position: relative;
}
.h2-title span{
	font-weight: bold;
	color: #33478c;	
}
.title_line {
	width: 300px;
	height: 2px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#2e6fc1+0,01083f+100 */
	background: #2e6fc1; /* Old browsers */
	background: -moz-linear-gradient(left, #2e6fc1 0%, #01083f 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, #2e6fc1 0%, #01083f 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, #2e6fc1 0%, #01083f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e6fc1', endColorstr='#01083f', GradientType=1 ); /* IE6-9 */
	margin: 0px auto;
}
.title_line_3 {
	width: 300px;
	height: 2px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#2e6fc1+0,01083f+100 */
	background: #ccd9e8; /* Old browsers */
	background: -moz-linear-gradient(left, #ccd9e8 0%, #0f4c6c 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, #ccd9e8 0%, #0f4c6c 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, #ccd9e8 0%, #0f4c6c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ccd9e8', endColorstr='#0f4c6c', GradientType=1 ); /* IE6-9 */
	margin: 0px auto;
}
.h3-title {
	font-weight: bold;
	padding-top: 10px;
}
/*========================================================
                      	 選單
=========================================================*/

.navsub {
/*display: none;*/
	
}
.navsub .rainbow {
}
.navsub-list {
}
.navsub-list h2 {
	color: #717b67;
}
.navsub-list .title_line_2 {
	width: 80px;
	height: 2px;
	background-color: #717b67;
	margin: 25px 0;
}
.navsub-list_2 h2 {
	color: #fff;
}
.navsub-list_2 .title_line_2 {
	width: 80px;
	height: 2px;
	background-color: #fff;
	margin: 25px 0;
}
.navsub-select {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 30px;
	width: 100%;
}

@media (max-width: 1200px) {
.navsub-list h2, .navsub-list_2 h2 {
	text-align: center;
}
.navsub-list .title_line_2, .navsub-list_2 .title_line_2 {
	margin: 25px auto;
}
}

@media (min-width: 1200px) {
.navsub {
	display: block;
}
div.rainbow {
	border: 2px solid #717b67;
	padding: 10px 30px 120px;
}
div.rainbow_2 {
	border: 2px solid #fff;
	padding: 10px 30px 120px;
}
}
/*========================================================
                    　　　　服務項目
=========================================================*/
.service {
	padding-top: 0px;
	padding-bottom: 60px;
	background: url(../img/index/service_bg.jpg) no-repeat right top;
	background-size: cover;
}
.service-title-box {
	text-align: center;
	color: #555;
	padding-top: 30px;
	padding-bottom: 30px;
}
.service img {
	width: 100%;
	vertical-align: bottom;
}
.service-item {
	position: relative;
}
.service-item-img img {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover
}
.service-item-img h2#s1 {
	width: 100%;
    height: 35px;
    background: url(../img/index/title_bg01.jpg) top left no-repeat;
    padding-left: 70px;
    line-height: 37px;
    font-size: 18px;
    font-weight: bold;
    color: #33478c;
    margin-bottom: 10px;
    position: relative;
    z-index: 9;
}
.service-item-img h2#s1 span {
	font-size: 18px;
	position: absolute;
	bottom: -3px;
	left: 24px;
	color: #fff;
}
.service-item-info {
	text-align: left;
	margin-bottom: 40px;
}
.service-item-title {
	/*background-color: #fff;*/
	font-weight: bold;
	font-size: 1rem;
	margin: 0;
	padding: 15px 0;
	min-height: 70px;
	color: #686868;
	text-align: justify;
　/*　Firefox到此即可對齊　*/
 text-justify: auto;
　/*　IE需再加上此行　*/
}
.service-btn {
	border-top: 1px dotted #33478c;
	border-bottom: 1px dotted #33478c;
	text-align: right;
	padding: 5px 0;
	font-weight: bold;
}
.service-btn a {
	color: #33478c;
}
.service-btn a:hover {
	color: #6982d8;
}
.service-item-img {
	overflow: hidden;
}
.service-item-img img {
	transform: scale(1, 1);
	transition: all 1s ease-out;
	padding: 5px 0;
}
.service-item:hover .service-item-img img {
	/*transform:scale(1.2,1.2);*/
	/*圖片效果-白*/
	/*opacity: 0.5; 
    filter: alpha(opacity=50);*/
	/*圖片效果-黑*/
	-webkit-filter: brightness(60%);
	filter: brightness(60%);
}

@media (min-width: 992px) {
.service-item {
	position: relative;
	padding-top: 20px;
}
.service-title-box {
	padding-bottom: 0px;
}
.service-item-info {
	margin-bottom: 0px;
}
}
@media (min-width: 1200px) {
.service-title-box {
	padding-top: 20px;
	padding-bottom: 0px;
}
}
/*========================================================
                         訊息公告
=========================================================*/
.news-wrap {
	background: url(../img/index/news_bg.jpg) no-repeat right top;
	background-size: cover;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #fff;
	position: relative;
}
.news-detail {
	z-index: 99;
}
.news-title-box {
	text-align: center;
	color: #fff;
	
}
.news {
	outline: none;
}
.news img {
	width: 100%;
	vertical-align: bottom;
}
.news-btn {
    position: relative;
    z-index: 2;
    color: #33478c;
    vertical-align: bottom;
    float: right;
    margin: 0px 5px 0 0;
    /* bottom: 20px; */
    outline: none;
}
.news-btn:hover {
	color: #5b71bf;
}
.news-btn img {
	width: 20px;
	height: 20px;
	margin: 0 5px 3px 0;
	outline: none;
}
.news-item {
	position: relative;
	/*padding: 15px 5px;*/
	margin: 10px 15px;
	/*margin-bottom: 60px;
	
	*/
}
.news-item a {
	display: block;
	position: relative;
	z-index: 999;
}

@media (min-width: 992px) {
.news-item a {
	display: block;
	position: relative;
	z-index: 999;
	padding: 0 30px;
}
}
/*尺寸設定 */

.news-item-img {
	position: relative;
	margin: 0;
	display: block;
	width: 100%;
	text-decoration: none;
	color: #fff;
	background-color: #f0f4f8;
	overflow: hidden;
	padding: 5px;
	background: #fff;
	outline: none;
}
.news-item-info {
	text-align: left;
    background-color: #fff;
    padding: 5px 0px 0 0;
    color: #555;
    height: 130px;
}
.news-item-info time {
	font-weight: bold;
}
.news-item-info p {
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 1; /*行數*/
	-webkit-box-orient: vertical;
	white-space: normal;
}
.news-item-title {
	font-weight: bold;
	font-size: 1.3rem;
	margin: 0;
	color: #33478c;
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 1; /*行數*/
	-webkit-box-orient: vertical;
	white-space: normal;
}
.news-item .news-item-img:hover .news-item-title {
	color: #5b71bf;
}
.news-item .news-item-img:hover .pic img {
	transform: scale(1.2, 1.2);
	outline: none;
}
.news-item .news-item-img .pic {
	overflow: hidden;
    float: left;
    /*width: 320px;
    margin: 0 15px 0 0;*/
}
.news-item .news-item-img .pic img {
	transform: scale(1, 1);
	transition: all 1s ease-out;
}
.news-item .news-item-img .news-item-btn .news-date {
	text-align: right;
	margin: 0 5px;
	outline: none;
}
.news .slick-dots li button {
	background: #33488c;
}
.news .slick-dots li button:before {
	color: #33488c;
}
.news .slick-dots li.slick-active button:before {
	color: #fff;
	background: #fff;
	border: 4px solid #33488c;
}
@media (min-width: 768px) {
	.news-item .news-item-img .pic {
		width: 320px;
		margin: 0 15px 0 0;
	}
}
@media (min-width: 1200px) {
	.news-item .news-item-img .pic {
		width: 280px;
	}
}
/*------按鈕------*/
.news .slick-prev {
    left: -7%;
}
.news .slick-next {
    right: -7%;
}
.news .slick-prev:before, [dir='rtl'] .news .slick-prev:before, .news .slick-next:before, [dir='rtl'] .news .slick-next:before {
	font-size: 3rem;
	color: #f3f3f3;
}

.news .slick-prev:hover,
.news .slick-prev:focus,
.news .slick-next:hover,
.news .slick-next:focus {
   color: #f3f3f3;
}
@media (min-width: 1200px) {
	.news .slick-prev {
		left: 0%;
	}
	.news .slick-next {
		right: 0%;
	}
}

.for_pc{display:none;}
.for_m{display:block;}
@media (min-width:768px){.for_pc{display:block;} .for_m{display:none;}}

/*========================================================
                      	 圖片
=========================================================*/
.bg_img {
	background-image: url(../img/index/img-bg.jpg);
	min-height: 250px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position:center;
	object-position: 50% 50%;
	position: relative;
}
/*.bg_img::before {
	content: '';
	clip-path: polygon(0 82%, 0% 100%, 100% 100%);
	width: 100%;
	height: 700px;
	background-color: #fff;
	position: absolute;
	z-index: 999999;
	bottom: -1px;
	left: 0;
}*/

@media (min-width: 1200px) {
.bg_img {
	min-height: 300px;
}
}

@media (max-width: 1199px) {
.bg_img::before {
	display: none;
}
}
/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
}
a.figure:before, a.figure:after {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 10px;
	right: 10px;
	z-index: 10;
	content: '';
	display: inline-block;
	opacity: 0;
	-webkit-transform: scale(0.5);
	transform: scale(0.5);
	transition: .3s;
}
a.figure:before {
	background: #fff;
}
a.figure:after {
	background: url(../images/magnifier.png) no-repeat center center;
}
a.figure:hover:before, a.figure:hover:after {
	-webkit-transform: scale(1);
	transform: scale(1);
}
a.figure:hover:before {
	opacity: 0.15;
}
a.figure:hover:after {
	opacity: 1;
}
