
@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: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    color: #000;
}
.h2-title:after {
    content: '';
    display: block;
    position: relative;
	left: 50%;
	transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background-color: #eb2d41;
    margin-top: 6px;
}

.accessKeyC {
    margin-top: 10px;
    text-align: center;
}


/*========================================================
                           建置中視窗
=========================================================*/


.alert_block{ position:fixed; left:0; top:0; z-index:9998; width:100%; height:100%; background-color:rgba(050,050,050,0.6);-webkit-transition: margin 5s, opacity 0.3s; /* For Safari 3.1 to 6.0 */ transition: margin 5s, opacity 0.3s;}
.alert_block .alert_con{ position:fixed; left:50%; top:50%; transform:translate(-50%,-50%); min-width:300px; z-index:9999; font-size:1.1rem; color:#fff; background-color:#3d7cb2; padding:30px 30px; border-radius:15px; max-width:880px;-webkit-transition: margin 5s, opacity 0.3s; /* For Safari 3.1 to 6.0 */ transition: margin 5s, opacity 0.3s;}

.alert_block .alert_con ul{ padding:0; list-style:none; text-align:right;}
.alert_block .alert_con ul li{ display:inline-block; margin:20px 0 0 10px;}
.alert_block .alert_con ul li a{ background-color:#fff; font-size:1.1rem; color:#333; border-radius:6px; padding:6px 30px; font-weight:bold; text-align:center;-webkit-transition: all 0.2s; /* For Safari 3.1 to 6.0 */ transition: all 0.2s;}
.alert_block .alert_con ul li a:hover{ text-decoration:none; background-color:#ccc;}

.alert_block .alert_con ul li:last-child a{ background-color:#3e3a39; color:#fff; padding:6px 40px;}
.alert_block .alert_con ul li:last-child a:hover{ background-color:#777;}

.alert_block .alert_con_times{ height:0; position:relative;}
.alert_block .alert_con_times img{ position:absolute; left:100%; top:0; margin-top:-45px; margin-left:25px; width:40px; height:auto; cursor:pointer;}

@media (min-width:992px){
	.alert_block .alert_con{padding:30px 50px;}
}


/*========================================================
                           問與答
=========================================================*/

.faq-wrap {
    background-color: #bfdabb;
	padding: 10px 50px;
    margin-top: 10px;
    margin-bottom: 30px;
}
.faq-box {
}
.faq-box .slider .faq-info a {
    color: #111;
    font-weight: bold;
    font-size: 1.2rem;
}
.faq-wrap .slider .faq-info h3  {
    font-size: 3rem;
    text-align: left;
    font-weight: bold;
    margin: 0 0 10px 0;
}
.faq-wrap .slider .faq-info p  {
    line-height: 36px;
    font-size: 2rem;
    margin: 0;
}
.faq-wrap .slick-list {
    margin: 0;
}

/*  尺寸設定 */
@media (min-width: 768px) {
    .faq-box {
        padding: 10px 20px;
    }
}
@media (min-width: 1200px) {
    .faq-box {
        padding: 10px 5%;
    }
}



/*========================================================
                      	 新聞中心
=========================================================*/

.news-wrap {
    border-bottom: 1px solid #888888;
}

.news-wrap > p {
	text-align: center;
}
.news-wrap .nav-tabs {
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}
.nav-tabs li a {
	display: block;
	font-size: 1.1rem;
	border-radius: 0;
	color: #333;
    background-color: #fff;
    padding: 12px;
    text-align: center;
    border-right: 1px solid #999;
}
.nav-tabs li:last-of-type a {
    border-right: none;
}
.nav-tabs > li > a.active, 
.nav-tabs > li > a.active:hover, 
.nav-tabs > li > a.active:focus {
	display: block;
	background-color: #3d7cb2;
    color: #fff;
}
.nav > li > a:hover, .nav > li > a:focus {
	display: block;
    text-decoration: none;
    background-color: #3d7cb2;
    color: #fff;
}
.news-wrap .tabs li {
	width: 33.33%;
}
.news-wrap .news-list {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}
.news-wrap .news-img {
    background-repeat: no-repeat;
    background-position: center center;
}
.news-wrap .news-list li {
    position: relative;
}
.news-wrap .news-list li a {
    display: block;
    color: #111;
    padding: 10px;
    border-bottom: 1px solid #a3a3a3;
}
.news-wrap .news-list li a time {
}
.news-wrap .news-list li a time:before {
    font-family: 'Font Awesome 5 free';
    content: "\f0da";
    font-weight: 900;
    display: inline-block;
    margin-right: 4px;
    margin-left: -1px;
    color: #3b7bb2;
}
.news-wrap .news-list li p {
    margin: 0;
}
.news-wrap .news-list li a:hover {
    background-color: #66a248;
    color: #e5e5e5;
}
.news-wrap .news-list li a:hover time:before {
    color: #e5e5e5;
}
.news-wrap .news-list li a:hover time:after {
    background-color: #fff;
}
.news-wrap .news-btn {
    margin-top: 10px;
    text-align: right;
}
.news-wrap .news-btn a {
    display: inline-block;
    color: #fff;
    padding: 2px 20px;
    font-weight: bold;
    background-color: #3c7cb2;
    border-radius: 20px;
}
.news-wrap .news-btn a:before {
    background-color: #155489;
}
.news-wrap .tab-content {
    padding-top: 40px;
    padding-bottom: 40px;
}


/*  尺寸設定 */
@media (max-width: 479px) {
	.tab-content {
		padding: 40px 20px 10px 20px;
	}
}
@media (max-width: 639px) {
    .news-wrap .tab-content {
        padding-top: 0;
    }
    .news-wrap .news-list {
        margin: 10px 0;
    }
}
@media (min-width: 992px) {
    .news-wrap .news-list li a {
        padding: 12px 0 12px 130px;
    }
    .news-wrap .news-list li a time {
        position: absolute;
        top: 10px;
        left: 0;
        z-index: 1;
        width: 120px !important;
        padding-right: 10px;
    }
    .news-wrap .news-list li a time:after {
        content: '';
        display: inline-block;
        position: absolute;
        right: 0;
        top: 20%;
        width: 1px;
        height: 60%;
        background-color: #222;
    }
    .news-wrap .news-img {
        min-height: 380px;
    }
}


/*========================================================
                         服務項目
=========================================================*/

.service-wrap {
    padding-top: 80px;
    padding-bottom: 80px;
}
.service-wrap [class*="col-"] {
    margin-bottom: 30px;
}
.service-wrap [class*="col-"]:last-of-type {
    margin-bottom: 0px;
}
.service-wrap [class*="col-"] a {
    display: block;
    color: #fff;
    border: 3px solid #3b7bb2;
    border-radius: 10px;
    text-align: center;
    padding: 30px 20px 20px 20px;
    background-repeat: no-repeat;
    background-position: center 30px;
    background-color: #3b7bb2;
    opacity: 0.8;
}
.service-wrap [class*="col-"]:nth-of-type(1) a {
    background-image: url("../img/index/service-b01.png");
}
.service-wrap [class*="col-"]:nth-of-type(2) a {
    background-image: url("../img/index/service-b02.png");
}
.service-wrap [class*="col-"]:nth-of-type(3) a {
    background-image: url("../img/index/service-b03.png");
}
.service-wrap [class*="col-"]:nth-of-type(4) a {
    background-image: url("../img/index/service-b04.png");
}
.service-wrap [class*="col-"]:nth-of-type(5) a {
    background-image: url("../img/index/service-b05.png");
}
.service-wrap [class*="col-"]:nth-of-type(6) a {
    background-image: url("../img/index/service-b06.png");
}

.service-wrap [class*="col-"]:nth-of-type(1) a:hover {
    background-image: url("../img/index/service-b01.png");
}
.service-wrap [class*="col-"]:nth-of-type(2) a:hover {
    background-image: url("../img/index/service-b02.png");
}
.service-wrap [class*="col-"]:nth-of-type(3) a:hover {
    background-image: url("../img/index/service-b03.png");
}
.service-wrap [class*="col-"]:nth-of-type(4) a:hover {
    background-image: url("../img/index/service-b04.png");
}
.service-wrap [class*="col-"]:nth-of-type(5) a:hover {
    background-image: url("../img/index/service-b05.png");
}
.service-wrap [class*="col-"]:nth-of-type(6) a:hover {
    background-image: url("../img/index/service-b06.png");
}

.service-item p {
    margin-top: 130px;
    font-weight: bold;
    font-size: 1.2rem;
}
.service-item a:hover {
    color: #fff;
    border-color: #66a248;
    background-color: #66a248;
    opacity: 1;
}

.service-wrap .service-item-sp a{
	border-color: #66a248;
	background-color:#66a248;
	opacity: 1;
}
.service-wrap .service-item-sp a:hover{
	background-color:#81ce5a;
	border-color: #81ce5a;
}

@media (min-width: 1600px) {
    .service-wrap [class*="col-"] {
        margin-bottom: 0px;
    }
}


/*========================================================
                         活動花絮
=========================================================*/

.event {	
    position: relative;
	padding-top: 0;
    padding-bottom: 40px;
}
.event img {
    width: 100%;
    vertical-align: bottom;
}
.event-item {
    position: relative;
    margin-bottom: 40px;
}
.event-item a {
    border-left: 14px solid #e32e24;
    display: block;
}

.event-item-info {
    position: relative;
    overflow: hidden;
}
.event-item-info img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: all .3s;
    transform: scale(1);
}
/*
.event-item-info a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    background-color: transparent;
    opacity: 0;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.event-item-info a:hover {
    opacity: 1;
}
.event-item-info a i {
	position : absolute;
	top: -50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 1;    
    font-size: 1.8rem;
    padding: 15px;
    background-color: #e32e24;
    color: #fff;
    border-radius: 50%;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.event-item-info a span {
    display: none;
}
*/
.event-item-info .desc {
    position: absolute;
/*    top: calc(100% - 100px);  */
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 20px 30px 20px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.event-item-info .desc p {
    font-size: 1.4rem;
    border-left: 5px solid #ec1919;
    padding-left: 10px;
}
.event-item-info .desc p span {
    display: block;
    font-size: 0.8rem;
    margin-top: 4px;
}

.event-item:hover img {
    transform: scale(1.05);
}
.event-item:hover .desc {
/*    top: 0;*/
    background-color: rgba(0, 0, 0, 0.6);
}
/*
.event-item-info:hover a i {
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
*/

.event-btn {
    text-align: center;
}
.event-btn a {
    position: relative;
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 5px 60px;
}
.event-btn a:after {
    content: '';
	position : absolute;
	top: 50%;
	right: -40px;
	transform: translateY(-50%);
	z-index: 2;
    width: 80px;
    height: 2px;
    background-color: #fff;
}
.event-btn a:hover {
    background-color: #e32e24;
}


@media (max-width: 991px) {
    .event-item-info a i {
        top: calc(100% - 25%);
    }
    .event-item-info:hover .sort {
        top: calc(100% - 25%);
    }
}


.video-item a {
    border-color: #81ce5a;
}
.video-item .event-item-info .desc {
    background-color: rgba(29, 107, 8, 0.5);
}
.video-item .event-item-info a i {
    background-color: #7fc15b;
}
.video-item .event-item-info:hover .desc {
    color: #000;
    background-color: rgba(29, 107, 8, 0.2);
}
.photo-item a {
    border-color: #4d92bf;
}
.photo-item .event-item-info .desc {
    background-color: rgba(8, 63, 107, 0.5);
}
.photo-item .event-item-info a i {
    background-color: #4d92bf;
}
.photo-item .event-item-info:hover .desc {
    color: #000;
    background-color: rgba(8, 63, 107, 0.2);
}



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

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


/*--------------------------UPDATE 250903--------------------------*/

.home-info-wrap {
    background-color: #bfdabb;
    padding: 20px 50px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.home-info-wrap  a {
    color: #111;
    font-weight: bold;
    font-size: 1.2rem;
}

.news-wrap .h2-title{ margin-bottom:0; margin-top:40px; }
.news-wrap .h2-title::after{ background-color:#3d7cb2; }