
@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 {
    text-align: center;
}


/* 字級設定 */
.font-change {
	text-align: right;
}
.font-change h3 {
	display: inline-block;
	font-size: 1rem;
	margin: 0;
	vertical-align: sub;
}
.font-change ul {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
}
.font-change ul li {
	display: -moz-inline-stack;
	display: inline-block;
    *display: inline;
	zoom: 1;
	vertical-align: top;
}
.font-change li a {
	display: inline-block;
	border: 1px solid #e1e1e1;
	width: 32px;
	text-align: center;
	padding: 0;
	margin: 4px 0 0 0;
	font-weight: normal;
	background-color: #32669d;
	color: #fff !important;
	font-size: 1rem;
    border-radius: 50%;
}



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

.faq-wrap {
    background-color: #e6e6e6;
	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 .nav-item {
    margin-bottom: 0px;
}
.nav-tabs .nav-link {
    border: none;

    border-top-left-radius: 0;
    border-top-right-radius: 0;
	display: block;
	font-size: 1.2rem;
	color: #333;
    background-color: #ededed;
    text-align: center;
    padding: 12px;
    width: 33.3%;
}
.nav-tabs .nav-link:nth-of-type(2) {
        border-left: 1px solid #999;
        border-right: 1px solid #999;
}
.nav-tabs .nav-link.active, 
.nav-tabs .nav-item.show .nav-link {
    color: #fff;
    background-color: #32669d;
}





/*
.news-wrap .nav-tabs {
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}
.nav-tabs li a {
	display: block;
	font-size: 1.2rem;
	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: #32669d;
    color: #fff;
}
.nav > li > a:hover, .nav > li > a:focus {
	display: block;
    text-decoration: none;
    background-color: #32669d;
    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: 4px;
    color: #32669d;
}
.news-wrap .news-list li p {
    margin: 0;
}
.news-wrap .news-list li a:hover {
    background-color: #17a646;
    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 30px;
    font-weight: bold;
    background-color: #32669d;
    border-radius: 20px;
}
.news-wrap .news-btn a:before {
    background-color: #155489;
}
.news-wrap .tab-content {
    padding: 40px 3%;
}


/*  尺寸設定 */
@media (max-width: 479px) {
	.tab-content {
		padding: 40px 20px 10px 20px;
	}
}
@media (max-width: 639px) {
    .news-wrap .tab-content {
        padding: 20px 2% 40px;
    }
    .news-wrap .news-list {
        margin: 10px 0;
    }
}
@media (min-width: 992px) {
    .news-wrap .news-list li a {
        display: flex;
        padding: 12px 0;
    }
    .news-wrap .news-list li a time {
        position: relative;
        padding-right: 10px;
        margin-right: 10px;
/*
        position: absolute;
        top: 10px;
        left: 0;
        z-index: 1;
        width: 114px !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: 20px;
    padding-left: 3%;
    padding-right: 3%;
}
.service-wrap [class*="col-"] {
    margin-bottom: 30px;
}
.service-wrap [class*="col-"]:last-of-type {
    margin-bottom: 0px;
}

.service-item {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center !important;
    background: -moz-linear-gradient(top,  rgba(64,150,199,1) 0%, rgba(51,138,193,1) 50%, rgba(17,107,178,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(64,150,199,1) 0%,rgba(51,138,193,1) 50%,rgba(17,107,178,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(64,150,199,1) 0%,rgba(51,138,193,1) 50%,rgba(17,107,178,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4096c7', endColorstr='#116bb2',GradientType=0 ); /* IE6-9 */
    padding: 30px;
}
.service-item:hover {
    background: rgb(67,196,97); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(67,196,97,1) 0%, rgba(57,204,101,1) 50%, rgba(20,173,67,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(67,196,97,1) 0%,rgba(57,204,101,1) 50%,rgba(20,173,67,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(67,196,97,1) 0%,rgba(57,204,101,1) 50%,rgba(20,173,67,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#43c461', endColorstr='#14ad43',GradientType=0 ); /* IE6-9 */
}
.service-item:after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 1;
    border: 2px solid #fff;

}
.service-item .item:nth-of-type(1) {
    flex-basis: 190px;
}
.service-item .item:nth-of-type(2) {
    flex-basis: calc(100% - 190px);
    text-align: center;
}
.service-wrap [class*="col-"] a  {
    display: block;
}
.service-wrap [class*="col-"] a .Img {
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 20px;
    padding: 10px;
    width: 170px;
    height: 170px;
}
.service-wrap [class*="col-"]:nth-of-type(1) a .Img {
    background-image: url("../img/index/service-a01.png");
}
.service-wrap [class*="col-"]:nth-of-type(2) a .Img {
    background-image: url("../img/index/service-a02.png");
}
.service-wrap [class*="col-"]:nth-of-type(3) a .Img {
    background-image: url("../img/index/service-a03.png");
}
.service-wrap [class*="col-"]:nth-of-type(4) a .Img {
    background-image: url("../img/index/service-a04.png");
}
.service-wrap [class*="col-"]:nth-of-type(1) a:hover .Img {
    background-image: url("../img/index/service-b01.png");
}
.service-wrap [class*="col-"]:nth-of-type(2) a:hover .Img {
    background-image: url("../img/index/service-b02.png");
}
.service-wrap [class*="col-"]:nth-of-type(3) a:hover .Img {
    background-image: url("../img/index/service-b03.png");
}
.service-wrap [class*="col-"]:nth-of-type(4) a:hover .Img {
    background-image: url("../img/index/service-b04.png");
}

.service-item .Txt p {
    font-size: 1.4rem;
	margin: 0;
	font-weight: bold;
    color: #fff;

}


/*========================================================
                         課程預約 
=========================================================*/

.course-wrap {
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 3%;
    padding-right: 3%;
}

.course-wrap h2 {
    background-color: #ececec;
    color: #000;
    text-align: center;
    padding: 10px;
    margin-bottom: 30px;
}
.course-wrap img {
    width: 100%;
    vertical-align: bottom;
}
.course-item {
    position: relative;
}
.course-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background-color: #f0f4f8;
    overflow: hidden
}
.course-item-img:hover {
    color: #fff
}
.course-item-img:hover .course-item-mask {
    opacity: 1;
    visibility: visible
}
.course-item-img:hover .course-item-mask::after {
    height: 100%
}
.course-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.course-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
}
.course-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
}
.course-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    padding: 5px 30px;
}
.course-item-info {
    background-color: #eeeeee;
    text-align: left;
    padding: 30px;
}
.course-item-info .title {
    font-weight: bold;
    font-size: 1.3rem;
    margin: 10px 0 10px;
}
.course-item-info p  {
    color: #666;
    margin: 0;
    line-height: 24px;
}
.course-wrap [class*="col-"] {
    margin-bottom: 40px;
}
.course-wrap [class*="col-"]:nth-of-type(2n+1) .course-item-info {
    border-bottom: 10px solid #3c93c5;
}
.course-wrap [class*="col-"]:nth-of-type(2n+2) .course-item-info {
    border-bottom: 10px solid #3fc25e;
}

.course-wrap .course-btn {
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: center;
}
.course-wrap .course-btn a {
    display: inline-block;
    color: #fff;
    padding: 2px 30px;
    font-weight: bold;
    background-color: #32669d;
    border-radius: 5px;
    margin: 0 10px;
}
.course-wrap .course-btn a:before {
    background-color: #155489;
}

@media (min-width: 992px) {
    .course-item-info {
        min-height: 452px;
    }
}
@media (min-width: 1200px) {
    .course-item-info {
        min-height: 354px;
    }
}
@media (min-width: 1360px) {
    .course-item-info {
        min-height: 331px;
    }
}
@media (min-width: 1600px) {
    .course-item-info {
        min-height: 283px;
    }
}
@media (min-width: 1800px) {
    .course-item-info {
        min-height: 259px;
    }
}



/*========================================================
                    宣導影片 and 活動剪影
=========================================================*/

.other-wrap {
    padding-top: 20px;
    padding-bottom: 40px;
    padding-left: 3%;
    padding-right: 3%;
}

.video-wrap {
    position: relative;
    margin-bottom: 30px;
}
.video-wrap img {
    object-fit: cover;
    display: block;
    width: 100%;
    vertical-align: bottom;
    height: 300px;    
}
.video-wrap a {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;    
    background-color: rgba(0, 0, 0, 0.1);
    border-width: 20px 20px 40px 20px;
    border-style: solid;
    border-color: #353535;
}
.video-wrap a i {
    content: "";
	position : absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);   
    z-index: 3;
    color: #353535;
    font-size: 3rem;
}
.video-wrap a i span {
    display: none;
}
.video-wrap a:hover {
    border-color: #e32e24;
}
.video-wrap a:hover i {
    color: #e32e24;
}

@media (min-width: 1200px) {
    .video-wrap img {
        height: 213px;
    }
}
@media (min-width: 1366px) {
    .video-wrap img {
        height: 232px;
    }
}
@media (min-width: 1600px) {
    .video-wrap img {
        height: 290px;
    }
}
@media (min-width: 1800px) {
    .video-wrap img {
        height: 348px;
    }
}




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

.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 {
    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: 30px 30px 0;
    -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-info: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%);
    }
}
*/



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

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


