
@import url(../fonts/flaticon/flaticon.css);
@import url(revise.css);
@import url(header.css);
@import url(footer.css);
@import url(hover.css);
@import url(banner.css);


/*========================================================
                      	 顏色設定
=========================================================*/

.text-red {
    color: #e71f19;
}
.text-orange {
    color: #e3680c;
}



/*========================================================
                      	 h1 設定
=========================================================*/

.h2-title {
    padding-left: 10px;
    padding-bottom: 10px;
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
    background: url(../images/h2-line.png) no-repeat left bottom;
    background-size: contain;
}
@media (min-width:992px) {
    .page_title {
        padding-left: 60px;
        font-size: 4rem;
    }
}

/*  尺寸設定 */
@media (min-width: 768px) {
    .h2-title {
        font-size: 2rem;
    }
}
@media (min-width: 1200px) {
    .h2-title {
        font-size: 2.2rem;
        padding-bottom: 20px;
    }
}
@media (min-width: 1600px) {
    .h2-title {
        font-size: 2.4rem;
    }
}



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

.content {
    background-color: #fcf4d7;
    padding-bottom: 20px;
}

/* 樣式 */
#style-1 {
    font-size: 1.4rem;
    line-height: 36px;
}

/* 麵包屑 */
.breadcrumb-wrap {
    background-color: #e99416;
    margin: 0;
    font-size: 1rem;
    display: table;
    width: 100%;
    position: relative;
}
.breadcrumb-wrap .breadcrumb {
    background: none;
    text-align: left;
    padding: 10px 10%;
    margin: 0;
}
.breadcrumb-wrap .breadcrumb li {
    border-radius: 0;
    color: #fff;
    font-weight: bold;
}
.breadcrumb-wrap .breadcrumb li::before {
    color: #fff;
}
.breadcrumb-wrap .breadcrumb a {
    color: #fff;
}
.breadcrumb-wrap .breadcrumb a:hover {
    color: #d32d53;
    text-decoration: none;
}


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

.btn-wrap ul {
    list-style: none;
    margin: 40px 0 30px;
    padding: 0;
    text-align: center;
}
.btn-wrap ul li {
    display: inline;
}
.btn-wrap ul li a {
	display: inline-block;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
    width: 100%;
    min-height: 50px;
    line-height: 24px;
    position: relative;
}
.btn-wrap ul li a span {
	position : absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 3;
    width: 70%;
}
.btn-wrap ul li:nth-of-type(5n+1) a {
	background: url("../images/btn-a01.png") no-repeat center center;
}
.btn-wrap ul li:nth-of-type(5n+2) a {
	background: url("../images/btn-a02.png") no-repeat center center;
}
.btn-wrap ul li:nth-of-type(5n+3) a {
	background: url("../images/btn-a03.png") no-repeat center center;
}
.btn-wrap ul li:nth-of-type(5n+4) a {
	background: url("../images/btn-a04.png") no-repeat center center;
}
.btn-wrap ul li:nth-of-type(5n+5) a {
	background: url("../images/btn-a05.png") no-repeat center center;
}
.btn-wrap ul li:nth-of-type(5n+1) a, 
.btn-wrap ul li:nth-of-type(5n+2) a,
.btn-wrap ul li:nth-of-type(5n+3) a,
.btn-wrap ul li:nth-of-type(5n+4) a,
.btn-wrap ul li:nth-of-type(5n+5) a {
    background-size: 100% auto;
}

.btn-wrap ul li:nth-of-type(5n+1) a:hover, .btn-wrap ul li:nth-of-type(5n+1) a.active {
	background: url("../images/btn-b01.png") no-repeat center center;
}
.btn-wrap ul li:nth-of-type(5n+2) a:hover, .btn-wrap ul li:nth-of-type(5n+2) a.active {
	background: url("../images/btn-b02.png") no-repeat center center;
}
.btn-wrap ul li:nth-of-type(5n+3) a:hover, .btn-wrap ul li:nth-of-type(5n+3) a.active {
	background: url("../images/btn-b03.png") no-repeat center center;
}
.btn-wrap ul li:nth-of-type(5n+4) a:hover, .btn-wrap ul li:nth-of-type(5n+4) a.active {
	background: url("../images/btn-b04.png") no-repeat center center;
}
.btn-wrap ul li:nth-of-type(5n+5) a:hover, .btn-wrap ul li:nth-of-type(5n+5) a.active {
	background: url("../images/btn-b05.png") no-repeat center center;
}
.btn-wrap ul li:nth-of-type(5n+1) a:hover, .btn-wrap ul li:nth-of-type(5n+1) a.active, 
.btn-wrap ul li:nth-of-type(5n+2) a:hover, .btn-wrap ul li:nth-of-type(5n+2) a.active,
.btn-wrap ul li:nth-of-type(5n+3) a:hover, .btn-wrap ul li:nth-of-type(5n+3) a.active,
.btn-wrap ul li:nth-of-type(5n+4) a:hover, .btn-wrap ul li:nth-of-type(5n+4) a.active,
.btn-wrap ul li:nth-of-type(5n+5) a:hover, .btn-wrap ul li:nth-of-type(5n+5) a.active {
    background-size: 100% auto;
}

/*  尺寸設定 */
@media (min-width: 768px) {
    .btn-wrap ul li a {
        font-size: 1.3rem;
        width: 238px;
        min-height: 80px;
    }
    .btn-wrap ul li:nth-of-type(5n+1) a, 
    .btn-wrap ul li:nth-of-type(5n+2) a,
    .btn-wrap ul li:nth-of-type(5n+3) a,
    .btn-wrap ul li:nth-of-type(5n+4) a,
    .btn-wrap ul li:nth-of-type(5n+5) a {
        background-size: cover;
    }
}
@media (min-width: 1600px) {
    .btn-wrap ul li a {
        font-size: 1.4rem;
    }
}


/*========================================================
                         年度選擇
=========================================================*/

.year-wrap {
    max-width: 480px;
    width: 100%;
    margin-left: auto;
}
.year-wrap .input-group-prepend label {
    background-color: #f2843b;
    color: #fff;
    border-color: #f2843b;
}


/*========================================================
                         回目錄頁
=========================================================*/

.btn-back {
	text-align: center;
	padding-top: 20px;
}
.btn-back a {
	background-color: #f2843b;
	padding: 8px 20px 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #fff;
	font-size: 0.938em;
}
.btn-back a:hover {
	-moz-transition: -moz-transform 0.3s;
	-o-transition: -o-transform 0.3s;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	background-color: #d32d53;
	color: #fff;
	text-decoration: none;
}


/*========================================================
                      footer上方底線設定
=========================================================*/

hr.line {
    display: block;
    border: 0px;
    height: 60px;
}

hr.line-about {
	background: url("../images/line-about.png") no-repeat center center;
}
hr.line-features {
	background: url("../images/line-features.png") no-repeat center center;
}
hr.line-news {
	background: url("../images/line-news.png") no-repeat center center;
}
hr.line-event {
	background: url("../images/line-event.png") no-repeat center center;
}
hr.line-video {
	background: url("../images/line-video.png") no-repeat center center;
}
hr.line-class {
	background: url("../images/line-class.png") no-repeat center center;
}



/*========================================================
                      園所介紹-創辨理念
=========================================================*/

.about-wrap .section-title {
    color: #dd0000;
    font-weight: bold; 
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.about-wrap .section-title span {
    display: block;
    text-align: right;
}
.about-wrap .info {
    font-size: 1.1rem;
    line-height: 2.2rem;
    font-family: "標楷體";
}

/* 尺寸設定 */
@media (min-width: 768px) {
    .about-wrap .section-title {
        font-size: 2rem;
    }
    .about-wrap .info {
        font-size: 1.2rem;
        line-height: 2.4rem;
    }
}
@media (min-width: 1200px) {
    .about-wrap .section-title {
        font-size: 1.8rem;
    }
    .about-wrap .info {
        font-size: 1rem;
        line-height: 2rem;
    }
}
@media (min-width: 1600px) {
    .about-wrap .section-title {
        font-size: 2.4rem;
    }
    .about-wrap .info {
        font-size: 1.4rem;
        line-height: 2.4rem;
    }
}


/*========================================================
                      園所介紹-環境導覽
=========================================================*/

.about-wrap .about-en {
    font-size: 1.4rem;
    line-height: 36px;
}
.about-wrap .about-en {
    background: url("../images/icon-tree.png") no-repeat;
    background-position: 94% 90%;
    background-size: 140px auto;
}
.about-wrap .about-en img {
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .2);
    border-radius: 5px;
    object-fit: cover;
    width: 800px;
    height: 300px;
    margin-bottom: 30px;
}
.about-wrap .about-en ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.about-wrap .about-en ul li {
	background: url("../images/icon-star.png") no-repeat left 7px;
    padding: 2px 10px 2px 30px;
    font-size: 1.1rem;
}

.about-wrap .event_con {
    background-position: center;
    background-size: cover;
    height: 320px;
    position: relative;
    margin: 0 0 30px 0; 
    border: 5px solid #fff;
    overflow: hidden;
}

.environment-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 15px 15px;

}
.environment-text h5 {
    border-left: 8px solid #e99416;
    padding-left: 10px;
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
    font-family: "cwTeXKai", DFKai-SB, "標楷體";
}

.about-wrap [class*="col-"]:nth-of-type(6n+1) .environment-text h5 {
    border-color: #c5de91;
}
.about-wrap [class*="col-"]:nth-of-type(6n+2) .environment-text h5 {
    border-color: #ecae51;
}
.about-wrap [class*="col-"]:nth-of-type(6n+3) .environment-text h5{
    border-color: #78bce0;
}
.about-wrap [class*="col-"]:nth-of-type(6n+4) .environment-text h5 {
    border-color: #75ceb1;
}
.about-wrap [class*="col-"]:nth-of-type(6n+5) .environment-text h5 {
    border-color: #c59cc6;
}
.about-wrap [class*="col-"]:nth-of-type(6n+6) .environment-text h5 {
    border-color: #c85561;
}


/* 尺寸設定 */
@media (min-width: 560px) {
    .about-wrap .about-en {
        background: url("../images/icon-tree.png") no-repeat;
        background-position: 98% 102%;
        background-size: 160px auto;
    }
}
@media (min-width: 768px) {
    .about-wrap .about-en {
        background-position:86% 105%;
        background-size: 200px auto;
    }
}
@media (min-width: 992px) {
    .about-wrap .about-en {
        background-position: 98% 80%;
        background-size: 160px auto;
    }
    .about-wrap .about-en img {
        height: 320px;
        margin-bottom: 0;
    }
}
@media (min-width: 1200px) {
    .about-wrap .about-en {
        background-position: 92% 90%;
        background-size: 200px auto;
    }
    .about-wrap .event_con {
        height: 220px;
    }
}
@media (min-width: 1600px) {
    .about-wrap .about-en {
        background-position: 80% 90%;
        background-size: 200px auto;
    }
    .about-wrap .event_con {
        height: 260px;
    }
}

/*========================================================
                      園所介紹-師資介紹
=========================================================*/

.page_teacher_con {
    margin: 30px 0;
}
.page_teacher_pic {
    background-position: center;
    background-size: cover;
    height: 360px;
    margin: 15px 0;
    border: 5px solid #adadad;
}
.page_teacher_text {
    padding: 0 15px;
    border-radius: 15px;
}
.page_teacher_text h4 {
    border-bottom: 2px dashed #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}


.teacher-wrap [class*="col-"]:nth-of-type(6n+1) .page_teacher_pic,
.teacher-wrap [class*="col-"]:nth-of-type(6n+1) .page_teacher_text h4 {
    border-color: #c5de91;
}
.teacher-wrap [class*="col-"]:nth-of-type(6n+2) .page_teacher_pic,
.teacher-wrap [class*="col-"]:nth-of-type(6n+2) .page_teacher_text h4 {
    border-color: #ecae51;
}
.teacher-wrap [class*="col-"]:nth-of-type(6n+3) .page_teacher_pic,
.teacher-wrap [class*="col-"]:nth-of-type(6n+3) .page_teacher_text h4 {
    border-color: #78bce0;
}
.teacher-wrap [class*="col-"]:nth-of-type(6n+4) .page_teacher_pic,
.teacher-wrap [class*="col-"]:nth-of-type(6n+4) .page_teacher_text h4 {
    border-color: #75ceb1;
}
.teacher-wrap [class*="col-"]:nth-of-type(6n+5) .page_teacher_pic,
.teacher-wrap [class*="col-"]:nth-of-type(6n+5) .page_teacher_text h4{
    border-color: #c59cc6;
}
.teacher-wrap [class*="col-"]:nth-of-type(6n+6) .page_teacher_pic,
.teacher-wrap [class*="col-"]:nth-of-type(6n+6) .page_teacher_text h4 {
    border-color: #c85561;
}



/* 尺寸設定 */
@media (min-width: 768px) {
    .page_teacher_pic {
        height: 260px;
    }
}
@media (min-width: 992px) {
    .page_teacher_pic {
        height: 360px;
    }
}
@media (min-width: 1200px) {
    .page_teacher_pic {
        height: 290px;
    }
}




/*========================================================
                         教學特色
=========================================================*/

.features-bg {
	background: url("../images/features-bg1.jpg") no-repeat right bottom;
}
.features-bg2 {
	background: url("../images/features-bg1.jpg") no-repeat right 80%;
}


.features-wrap h2.section-title {
    color: #f2843b;
    font-weight: bold;
    font-size: 3rem;
}
.features-wrap h2.section-title img {
   margin-right: 10px;
}
.features-wrap p.info {
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.features-bg [class*="col-"] img {
    max-width: 100%;
    height: auto;
}


/* 尺寸設定 */
@media (max-width: 991px) {
    .features-bg {
        background-size: 80% auto;
    }
    .features-bg2 {
        background-size: 100% auto;
    }
}
@media (min-width: 992px) {
    .features-bg {
        background: url("../images/features-bg1.jpg") no-repeat right 130%;
    }
}
@media (min-width: 1200px) {
    .features-bg {
        background: url("../images/features-bg1.jpg") no-repeat right 30%;
    }
}

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

.news-post {
	text-align: center;
}

/* 目錄頁設定 */
.news-post .post-minimal {
	position: relative;
	overflow: hidden;
    padding-bottom: 30px;
	margin-bottom: 30px;
	text-align: left;
    border-bottom: 2px dashed #adadad;
}
.news-post .post-minimal .post-body {
	padding: 0 20px;
}
.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 span {
    display: inline-block;
	color: #fff;
    margin-right: 10px;
    width: 100px;
    min-height: 26px;
    line-height: 26px;
    text-align: center;
    background: url("../images/news-span1.png") no-repeat center center;
}
.news-post .post-minimal .post-body h2 a {
	font-size: 1.6rem;
	color: #333;
    font-weight: bold;
    margin: 10px 0;
}
.news-post .post-minimal .more a {
	display: inline-block;
	margin-top: 10px;
	font-weight: bold;
	color: #46932f;
    font-size: 1.1rem;
}
.news-post .post-minimal:nth-of-type(5n+1) a:hover {
	color: #e71c30;
}

.news-post .post-minimal .post-image {
    border-width: 5px;
    border-style: solid;
}
.news-post .post-minimal:nth-of-type(5n+1) .post-image {
    border-color: #8ebc2e;
}
.news-post .post-minimal:nth-of-type(5n+2) .post-image {
    border-color: #e78d08;
}
.news-post .post-minimal:nth-of-type(5n+3) .post-image {
    border-color: #028ad3;
}
.news-post .post-minimal:nth-of-type(5n+4) .post-image {
    border-color: #2e9876;
}
.news-post .post-minimal:nth-of-type(5n+5) .post-image {
    border-color: #975da3;
}
.news-post .post-minimal:nth-of-type(5n+1) .post-meta span {
    background: url("../images/news-span1.png") no-repeat center center;
}
.news-post .post-minimal:nth-of-type(5n+2) .post-meta span {
    background: url("../images/news-span2.png") no-repeat center center;
}
.news-post .post-minimal:nth-of-type(5n+3) .post-meta span {
    background: url("../images/news-span3.png") no-repeat center center;
}
.news-post .post-minimal:nth-of-type(5n+4) .post-meta span {
    background: url("../images/news-span4.png") no-repeat center center;
}
.news-post .post-minimal:nth-of-type(5n+5) .post-meta span {
    background: url("../images/news-span5.png") no-repeat center center;
}
.news-post .post-minimal:nth-of-type(5n+1) .more a {
	color: #638633;
}
.news-post .post-minimal:nth-of-type(5n+2) .more a {
	color: #cd7f0c;
}
.news-post .post-minimal:nth-of-type(5n+3) .more a {
	color: #028ad3;
}
.news-post .post-minimal:nth-of-type(5n+4) .more a {
	color: #2e9876;
}
.news-post .post-minimal:nth-of-type(5n+5) .more a {
	color: #975da3;
}
.news-post .post-minimal:nth-of-type(5n+1) a:hover,
.news-post .post-minimal:nth-of-type(5n+2) a:hover,
.news-post .post-minimal:nth-of-type(5n+3) a:hover,
.news-post .post-minimal:nth-of-type(5n+4) a:hover,
.news-post .post-minimal:nth-of-type(5n+5) a:hover {
	color: #e71c30;
}


/* 尺寸設定 */
@media (max-width: 991px) {
	.news-post .post-minimal {
		display: inline-block;
		width: 100%;
		max-width: 600px;
	}
	.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: 320px;
	}
	.news-post .post-minimal .post-body {
		padding: 0 30px;
		-webkit-flex-grow: 1;
		-ms-flex-positive: 1;
		flex-grow: 1;
	}
    
/*  .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: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
	}

	.post-minimal .post-left {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-align-items: stretch;
		-ms-flex-align: stretch;
		align-items: stretch;
		-webkit-flex-shrink: 0;
		-ms-flex-negative: 0;
		flex-shrink: 0;
		-webkit-align-self: stretch;
		-ms-flex-item-align: stretch;
		align-self: stretch;
		width: 320px;
	}
	.news-post .post-minimal .post-image {
		position: relative;
		-webkit-flex-shrink: 0;
		-ms-flex-negative: 0;
		flex-shrink: 0;
		-webkit-align-self: stretch;
		-ms-flex-item-align: stretch;
		-ms-grid-row-align: stretch;
		align-self: stretch;
		-webkit-flex-grow: 1;
		-ms-flex-positive: 1;
		flex-grow: 1;
		overflow: hidden;
        margin: 0;
	}
	.news-post .post-minimal .post-image img {
		position: absolute;
		top: 50%;
		left: 50%;
		-webkit-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
		height: auto;
		width: auto;
		min-height: 100%;
		min-width: 100%;
		z-index: 1;
	}
*/
}

@media (min-width: 1200px) {
	.news-post .post-minimal .post-left img {
		width: 360px;
	}
	.news-post .post-minimal .post-body {
		padding: 0 30px;
	}
}
@media (min-width: 1600px) {
	.news-post .post-minimal .post-left img {
		width: 420px;
	}
}

/*========================================================
                   	最新消息內頁
=========================================================*/


.news-detail {
	text-align: left;
}
.news-detail h2 {
	text-align: left;
	margin: 0 0 20px 0;
	color: #333;
	font-weight: bold;
    font-size: 1.8rem;
}
.news-detail img {
    max-width: 100%;
    height: auto;
}
.news-detail .news-time {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.news-detail .news-time span {
    display: inline-block;
	color: #fff;
    margin-right: 10px;
    width: 100px;
    min-height: 26px;
    line-height: 26px;
    text-align: center;
    background: url("../images/news-span2.png") no-repeat center center;
}
.news-content {
	padding-bottom: 30px;
	border-bottom: 2px dashed #adadad;
}


/*========================================================
                   	     當月餐點
=========================================================*/

.pdfobject-container {
    margin-top: 50px;
    margin-bottom: 50px;
    height: 40rem;
    background-color: #fff;
}


/*========================================================
                         活動相簿
=========================================================*/

.event_con {
    background-position: center;
    background-size: cover;
    height: 320px;
    position: relative;
    margin: 15px 0 30px;
    border: 6px solid #fff;
    overflow: hidden;
}

.event_con a {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 0;
    -webkit-transition: all 0.2s; /* For Safari 3.1 to 6.0 */ 
    transition: all 0.2s;
}
.event_con a:hover {
    opacity: 1;
}
.event_con a i {
    margin-top: 128px;
    width: 64px;
    height: 64px;
    font-size: 2.2rem;
    padding: 15px;
    background-color: #e99416;
    color: #fff;
    border-radius: 50%;
}
.event_text {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 20px 15px;
    top: calc(100% - 80px);
    -webkit-transition: all 0.3s; /* For Safari 3.1 to 6.0 */ 
    transition: all 0.3s;
}
.event_text h5 {
    border-left: 8px solid #e99416;
    padding-left: 10px;
    font-size: 1.1rem;
}
.event_text h6 {
    color: #fff;
    padding-left: 18px;
    opacity: 0;
    -webkit-transition: all 0.2s; /* For Safari 3.1 to 6.0 */ 
    transition: all 0.2s;
}
.event_con:hover .event_text {
    top: 0;
}
.event_con:hover .event_text h6 {
    opacity: 1;
}

.event_detail_date {
    margin: 30px 0;
}
.event_detail_date span {
    display: inline-block;
	color: #fff;
    margin-right: 10px;
    width: 100px;
    min-height: 26px;
    line-height: 26px;
    text-align: center;
    background: url(../images/news-span2.png) no-repeat center center;
}

.event_pic_row p {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}
.event_pic_row .event_con {
    height: 200px;
}
.event_pic_row .event_con a {
    background-color: rgba(000, 000, 000, 0.6);
}
.event_pic_row .event_con a i {
    margin-top: 72px;
}


.event-wrap [class*="col-"]:nth-of-type(6n+1) .event_con,
.event-wrap [class*="col-"]:nth-of-type(6n+1) .event_text h5 {
    border-color: #c5de91;
}
.event-wrap [class*="col-"]:nth-of-type(6n+2) .event_con,
.event-wrap [class*="col-"]:nth-of-type(6n+2) .event_text h5 {
    border-color: #ecae51;
}
.event-wrap [class*="col-"]:nth-of-type(6n+3) .event_con,
.event-wrap [class*="col-"]:nth-of-type(6n+3) .event_text h5 {
    border-color: #78bce0;
}
.event-wrap [class*="col-"]:nth-of-type(6n+4) .event_con,
.event-wrap [class*="col-"]:nth-of-type(6n+4) .event_text h5 {
    border-color: #75ceb1;
}
.event-wrap [class*="col-"]:nth-of-type(6n+5) .event_con,
.event-wrap [class*="col-"]:nth-of-type(6n+5) .event_text h5 {
    border-color: #c59cc6;
}
.event-wrap [class*="col-"]:nth-of-type(6n+6) .event_con,
.event-wrap [class*="col-"]:nth-of-type(6n+6) .event_text h5 {
    border-color: #c85561;
}

.event-wrap [class*="col-"]:nth-of-type(6n+1) .event_con a i {
    background-color: #c5de91;
}
.event-wrap [class*="col-"]:nth-of-type(6n+2) .event_con a i {
    background-color: #ecae51;
}
.event-wrap [class*="col-"]:nth-of-type(6n+3) .event_con a i {
    background-color: #78bce0;
}
.event-wrap [class*="col-"]:nth-of-type(6n+4) .event_con a i {
    background-color: #75ceb1;
}
.event-wrap [class*="col-"]:nth-of-type(6n+5) .event_con a i {
    background-color: #c59cc6;
}
.event-wrap [class*="col-"]:nth-of-type(6n+6) .event_con a i {
    background-color: #c85561;
}


/* 活動相簿內頁 */
.event_detail_date {
	margin: 30px 0;
}
.event_detail_text {
	padding: 30px 30px 15px 30px;
	margin-bottom: 30px;
	border: 2px dashed #ccc;
/*	background-color: #ededed;*/
}
.event_detail_pic {
	text-align: center;
}
.event_pic_row p {
	text-align: center;
	color: #777;
	font-size: 0.9rem;
}
.event_detail_pic img {
	width: auto;
	height: 230px;
	margin: 10px auto;
	border: 6px solid #fff;
    outline: 1px solid #ecae51; 
	-webkit-transition: all 0.2s;
	transition: all 0.2s;

}
.event_detail_pic a:hover img {
	transform: translateY(-10px);
}
.event_pic_row p {
	text-align: center;
	color: #777;
	font-size: 0.9rem;
}
.event_pic_row .event_con {
	height: 200px;
}
.event_pic_row .event_con a {
	background-color: rgba(000, 000, 000, 0.6);
}
.event_pic_row .event_con a i {
	margin-top: 72px;
}

@media (min-width: 640px) {
	.event_detail_pic img{
		height: 300px;
	}
}
@media (min-width: 768px) {
	.event_detail_pic img{
		height:220px;
	}
}
@media (min-width: 992px) {
	.event_detail_pic img{
		height:200px;
	}
}
@media (min-width: 1200px) {
	.event_detail_pic img{
		height:180px;
	}
}
@media (min-width: 1600px) {
	.event_detail_pic img{
		height:240px;
	}
}


/*========================================================
                         活動影片
=========================================================*/

.video-wrap img {
    max-width: 100%;
    height: auto;
}
.video-section {

}
.video-img img {
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .2);
    width: 100%;
}

/* 尺寸設定 */
@media (max-width: 991px) {
    .video-section .post-minimal {
        padding-bottom: 20px;
    }
    .video-section .post-minimal .post-left {
        margin-bottom: 30px;
    }
}

@media (min-width: 992px) {
	.video-section .post-minimal .post-left img {
		width: 400px;
	}
}
@media (min-width: 1200px) {
	.video-section .post-minimal .post-left img{
		width: 460px;
	}
}
@media (min-width: 1600px) {
	.video-section .post-minimal .post-left img {
		width: 500px;
	}
}



/*
@media (min-width: 768px) {
    .video-img img {
        height: 320px;
    }
}
@media (min-width: 992px) {
	.video-section .post-minimal .post-left {
		width: 400px;
	}
}
@media (min-width: 1200px) {
	.video-section .post-minimal .post-left {
		width: 460px;
	}
    .video-img img {
        height: 300px;
    }
}
@media (min-width: 1600px) {
	.video-section .post-minimal .post-left {
		width: 500px;
	}
    .video-img img {
        height: 280px;
    }
}
*/


/*========================================================
                         家長登入
=========================================================*/

.login-wrap {
	padding-top: 20px;
    padding-bottom: 20px;
}
.login-wrap > div {
	background: url("../images/login-bg.jpg") no-repeat center bottom;
	background-size: cover;
	padding-top: 50px;
    padding-bottom: 50px;    
}
.login-wrap h2 {
    text-align: center;
    font-weight: bold;
    font-size: 2.4rem;
    color: #f2843b;
}
.login-wrap form {
	background: url("../images/login-bg2.jpg") no-repeat center center;
	padding: 50px 30px;
    border-radius: 10px;
    border: 1px solid #000;
}
.login-wrap form input {
	border: none;
    padding: 2px 10px;
    width: 100%;
}
.login-wrap form label {
	font-weight: bold;
    color: #000;
    text-align: center;
}
.login-wrap .form-group:nth-of-type(2n+2) {
    background-color: transparent;
}

.login-wrap .btn {
    color: #fff;
    background-color: #160809;
    border-color: #160809;
    padding: 0.375rem 1.5rem;
    margin-left: 10px;
    border-radius: 0;
}
.login-wrap .btn:hover {
    background-color: #2a1617;
    border-color: #2a1617;
}
.login-wrap .Txt {
    color: #000;
    font-weight: bold;
}


/* 尺寸設定 */
@media (min-width: 768px) {
    .login-wrap {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .login-wrap form {
        padding: 50px 60px;
    }
}


/*========================================================
                         網路報名
=========================================================*/

.registration-wrap {
	padding-top: 20px;
    padding-bottom: 20px;
}

.registration-wrap h2 {
    text-align: center;
    font-weight: bold;
    font-size: 2.4rem;
    color: #f2843b;
    position: relative;
    bottom: -10px;
    z-index: 1;
    text-shadow: -3px 0 #000, 0 3px #000, 3px 0 #000, 0 -3px #000;
}

.registration-form {
    background-image: url("../images/registration-bg4-1.jpg"),url("../images/registration-bg4-3.jpg"),url("../images/registration-bg4-2.jpg");
    background-repeat: no-repeat,no-repeat,repeat-y;
    background-position: top center,bottom center,center center;
    background-size: 100% auto, 100% auto,100% auto;
    padding: 50px 50px 30px;
    color: #000;
}
.registration-form .form-horizontal {
	margin-bottom: 40px;
}

.registration-form h3 {
    font-weight: bold;
}

.registration-form .form-horizontal label {
    display: block;
	margin-bottom: 0;
    font-weight: bold;
    color: #000;
    font-size: 1.1rem;
}
.registration-form .form-horizontal label b {
    display: inline-block;
    margin-left: 10px;
    color: #b42020;
    font-size: 0.8rem;
}
.registration-form .form-horizontal p {
    font-weight: bold;
    color: #b42020;
}
.registration-form .form-horizontal .form-control {
	border: 1px solid #ddd;
	background-color: #fff;
    border-radius: 0;
}




.registration-wrap .btn {
    color: #fff;
    background-color: #160809;
    border-color: #160809;
    padding: 0.375rem 1.5rem;
    margin-left: 10px;
    border-radius: 0;
}
.registration-wrap .btn:hover {
    background-color: #2a1617;
    border-color: #2a1617;
}
.registration-wrap .Txt {
    color: #000;
    font-weight: bold;
}

@media (min-width: 540px) {
    .registration-form {
        padding: 60px 60px 40px;
    }
}
@media (min-width: 768px) {
    .registration-form {
        padding: 80px 60px 40px;
    }
}
@media (min-width: 992px) {
    .registration-wrap h2 {
        bottom: -60px;
    }
    .registration-form {
        background-image: url("../images/registration-bg3-1.jpg"),url("../images/registration-bg3-3.jpg"),url("../images/registration-bg3-2.jpg");
    }
    .registration-form {
        padding: 80px 80px 60px;
    }
}
@media (min-width: 1200px) {
    .registration-form {
        padding: 100px 120px 80px;
    }
}
@media (min-width: 1600px) {
    .registration-form {
        padding: 150px 150px;
    }
}






/*========================================================
                      	 會員專區
=========================================================*/


.member-btn {
	margin: 10px 0;
	text-align: center;
	font-size: 18px;
}

.member-btn button {
    border: 0;
    background-color: #026cb6;
    color: #fff;
    cursor: pointer;
    width: 100%;
	margin: 0 0 10px 0;
	padding: 0;
    font-size: 18px;
    border-radius: 0;
}
.member-btn button a {
    background-color: #160809;
    display: block;
	color: #fff;
    padding: 5px 20px;
}
.member-btn button:hover, .member-btn button a:hover {
    background-color: #2a1617;
}

.member-btn a.member-btn-1 {
	display: block;
	padding: 5px 20px;
	color: #fff;
	margin-bottom: 10px;
}
.member-btn a.member-btn-1 {
	background-color: #160809;
}
.member-btn a.member-btn-1:hover {
	background-color: #2a1617;
}

.member-btn a.member-btn-2 {
	display: block;
	padding: 5px 20px;
	color: #fff;
	margin-bottom: 10px;
}
.member-btn a.member-btn-2 {
	background-color: #a81515;
}
.member-btn a.member-btn-2:hover {
	background-color: #8b1717;
}






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

.contact-box {
	background: url("../images/contact_bg3.jpg") no-repeat center top;
	background-size: cover;
	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 66px;
	position: relative;
	min-height: 40px;
	margin-bottom: 10px;
}
.map ul li b {
	font-weight: bold;
	font-size: 20px;
	display: block;
	color: #0477ad;
}
.map ul li i {
	list-style: none;
	margin: 0;
	padding: 5px 0;
}
.map .circle {
	width: 54px;
	height: 54px;
	border-radius: 10px;
	font-size: 1.6rem;
	color: #fff;
	line-height: 54px;
	text-align: center;
	background: #0477ad;
	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;
}

.map ul li:nth-of-type(1) b {
	color: #8ebc2e;
}
.map ul li:nth-of-type(1) .circle {
	background: #8ebc2e;
}
.map ul li:nth-of-type(2) b {
	color: #e78d08;
}
.map ul li:nth-of-type(2) .circle {
	background: #e78d08;
}
.map ul li:nth-of-type(3) b {
	color: #028ad3;
}
.map ul li:nth-of-type(3) .circle {
	background: #028ad3;
}
.map ul li:nth-of-type(4) b {
	color: #d32d53;
}
.map ul li:nth-of-type(4) .circle {
	background: #d32d53;
}

.map-google {
    border: 7px solid #e1d6ad;
}
.map-google iframe {
    border: 10px solid #fff;
    margin-bottom: -10px;
}

/* 尺寸設定 */

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




/*========================================================
                         各類表單
=========================================================*/

.contant-list {
	
}


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

/* 意見表單 */


.form-group {
	padding: 10px 15px;
	margin-bottom: 0 !important;
}
.form-group:nth-of-type(2n+2) {
	background-color: #ededed;
}
/*.form-group:nth-of-type(2n+1) {
	background-color: #e8e8e8;
}*/
.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;
	}
	.contact-form [class *= col-] {
		padding-right: 15px;
	}
	.form_out .col-md-3 {
		padding-right: 15px;
	}
	.form_out .col-md-3 span {
		text-align: center;
		background-color: #fff;
	}
	.input {
		width: 40%;
	}
	.form-group b {
		display: inline-block;
	}
}


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

.table1 {
	border-collapse: collapse;
	text-align: center;
	margin: 0 0 20px 0;
	border: 1px solid #c0bebe;
}
.table1 a.link-a {
	color: #333;
    background: url('https://api.iconify.design/bx:bx-link.svg?color=%230078bd') no-repeat right center;
    padding-right: 20px;
}
.table1 a:hover {
	color: #0078bd;
}
.table1 caption {
	color: #333;
	font-weight: bold;
}
.table1 tr:nth-of-type(2n+1) {
	background-color: #efe7ca;
}
.table1 th {
	background: #f2843b;
	color: #fff;
	font-weight: bold;
	padding: 5px 5px !important;
	text-align: center;	
	border-top: 0 !important;
    border-right: 1px solid #c0bebe;
	border-bottom: 1px solid #c0bebe;
}
.table1 td {
	padding: 4px 10px;
	border: 1px solid #c0bebe;
}
.table1 td.left {
	text-align: left;
}

.table-center {
	text-align: center;
}


.table2 tr:nth-of-type(2n+1) {
	background-color: #fff;
}
.table2 tr.bg1 {
    background-color: #efefef;
}


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

a.figure {
	display: block;
	position: relative;
}
a.figure:before {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    content: '';
    display: inline-block;
    background: rgba(255,255,255,0.15) url(../images/youtube.png) no-repeat center center;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .2s;
}
a.figure:hover:before {
    opacity: 1;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}


/*========================================================
                      影片大小設定
=========================================================*/

.news-content iframe, .news-wrap iframe {
    width: 100% !important;
    height: 300px !important;
    margin-top: 20px !important;
}

.video-embed {
    text-align: center;
}

@media (min-width: 768px) {
    .news-content iframe, .news-wrap iframe {
        height: 420px !important;
    }
}
@media (min-width: 992px) {
    .news-content iframe, .news-wrap iframe {
        height: 520px !important;
    }
}
@media (min-width: 1200px) {
    .news-content iframe, .news-wrap iframe {
        height: 460px !important;
    }
}
@media (min-width: 1600px) {
    .news-content iframe, .news-wrap iframe {
        width: 70% !important;
        margin: 0 auto;
        height: 640px !important;
    }
}
@media (min-width: 1800px) {
    .news-content iframe, .news-wrap iframe {
        width: 65% !important;
    }
}


/*========================================================
                      彈跳視窗設定
=========================================================*/

.custom-control {
    padding-left: 0;
}
.custom-control-label {
    padding-left: 1.5rem;
}
.custom-control-label a {
    color: #cc0000 !important;
    cursor: pointer !important;
    padding: 0 5px;
    text-decoration: underline !important;
}
.custom-control-label a:hover {
    text-decoration: none !important;
}
.custom-control-label::before,
.custom-control-label::after {
    top: 0.5rem;
    left: 0;
}

.modal-title {
    font-weight: bold;
}
@media (min-width: 768px) {
    .modal-dialog {
        max-width: 80%;
    }
}
    
    