@charset 'utf-8';
/* ----------TOP----------------- */
#top {
  background: center center no-repeat;
  background-size: cover;
  height: 595px;
  /* padding: 9% 0 7%; */
  position: relative;
}
#block_login {
  width: 350px;
  height: 520px;
  background-color: rgba(245, 245, 245,0.7);
  padding: 40px 40px 50px 30px;
  margin-right: 3%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  border-radius: 20px;
  margin-right: 50px;
}
#block_login .container {
  margin-bottom: 20px;
}
#block_login small {
  display: block;
  font-size: 14px;
  margin-top: 10px;
}
#block_login small a {
  display: inline-block;
  vertical-align: top;
}
.w-1200 {
	max-width: 1200px;
	height: 100%;
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
}
/* #block_login small a:first-child {
  padding-right: 10px;
  margin-right: 10px;
  position: relative;
} */
/* #block_login small a:first-child:after {
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  background-color: #666666;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto 0;
} */
#block_login .btn, #block_login .btn a {
	width: 100%;
  }

  #block_login h3 {
	text-align: center;
  font-size: 28px;
  }
#block_login .btn {
	margin-top: 10px;
	border-radius: 30px;
  height: 36px;
}
.btn__signup {
	background-color:transparent;
	color: #e87528;
	border: 1px solid #e87528;
	font-weight: 400;

}
.btn__signup a {
	font-weight: bold;

}
/* ----------NEWS------------ */
#block_news {
  width: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  /* padding: 50px 0 75px 0; */
  margin: 10px 0 50px 0;


}
#block_news ul {
  min-height: 300px;
	max-height: 300px;
	overflow-y: scroll;
}

#block_news li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  position: relative;
  margin-top: 20px;
}
.news {
  position: relative;
	height: 500px;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
  align-content: flex-start;
  margin-bottom: 0px;
}

.bg-blue-0 {
  position: relative;
	background-color: #094154;
	width: 100%;
	height: 150px;
} 
.bg-blue {
	background-color: #094154;
	width: 100%;
	height: 350px;
}

#block_news .btn{
    width: max-content;
    margin: 20px 0;
  }
#block_news li.star:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 10px;
  border-color: transparent transparent transparent #127E9B;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20px;
  margin: auto 0;
}
#block_news a {
  display: block;
}
#block_news a:hover .date {
  color: #127E9B;
}
#block_news .title,
#block_news .date {
  display: block;
}
#block_news .title p {
  color: #127e9b;
  vertical-align: top;
  padding-right: 10px;
}
#block_news .date {
  color: #696969;
  display: inline-block;
}
.news_title {
	margin-top: 10px;
}

.news_phpto_slider {
  width: 50%;
  /* position: absolute;
  bottom:-170px;
  right: 30px; */
  margin-left: 50px;
  position: relative;

}
.pics {
  width: 95%;
  overflow: hidden;
  height: 400px;
}

.pics__item {
  height: 400px;
  background-size: cover;
  background-position: center center;
  

}
.pics img  {
  /* border-radius: 15px; */
}
.slick-list {
  height:100%;
  overflow:hidden;
  border-radius: 15px;
}

.dots {
  width: 20px;
  height: 100px;
  position: absolute;
  right: 0px;
  bottom: 5px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

.slick-dots {
  bottom: 0;
}
.slick-dots li > button:before {
  color: #eee;
  opacity:1;
}

.slick-dots li.slick-active button:before {
  color: #E87528;
  opacity:1;
}
.slick-dotted.slick-slider {
  margin-bottom: 0px;
}
.dot.active {
  background-color: #E87528;
}
/* ----------CALENDAR------------ */
#calendar_month {
  font-size: 1.25em;
  letter-spacing: 1px;
  line-height: 2;
  width: 90px;
  height: 100%;
  padding: 5px 20px;
  border-right: 1px solid #90d1d6;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}
#calendar {
  width: calc(100% - 90px);
  margin-left: 90px;
}
#calendar table {
  width: 100%;
}
/*#calendar th,*/
#calendar td span,
#calendar td a {
  font-size: 14px;
  padding: 10px 0;
  text-align: center;
}
#calendar td a {
  cursor: pointer;
}
/*#calendar th{
			font-size: 1.25em;
			letter-spacing: 1px;
			width:60px;
			padding:5px 20px;
			border-right: 1px solid #90d1d6;
		}*/
#calendar td {
  width: 3.05%;
  border-right: 1px solid #90d1d6;
}
#calendar td span,
#calendar td a {
  display: block;
}
#calendar td.active {
  position: relative;
  overflow: hidden;
  color: #fafafa;
  z-index: 0;
}
#calendar td.active:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 0;
  border-color: #127E9B transparent transparent transparent;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  -webkit-transition: border 0.25s ease;
  -moz-transition: border 0.25s ease;
  -ms-transition: border 0.25s ease;
  -o-transition: border 0.25s ease;
  transition: border 0.25s ease;
}
#calendar td.active:hover:before,
#calendar td.open:before {
  border-width: 90px 90px 0 0;
}
/* ----------CALENDAR_CONTENT---- */
#calendar_content {
  padding: 30px 0;
}
#calendar_content .date {
  display: block;
  font-size: 1.5em;
  color: #7cc1d9;
}
#calendar_content .close {
  cursor: pointer;
  position: relative;
  margin-top: 5px;
}
.calendar .orange {
  color: #E87529;
}
#calendar_content .close:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 8px 6px;
  border-color: transparent transparent #161616 transparent;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20px;
  margin: auto 0;
}
#calendar_content .close:hover {
  color: #127E9B;
}
#calendar_content .close:hover:before {
  border-bottom-color: #127E9B;
}
#event_list {
  width: 100%;
  margin-top: 20px;
}
#event_list th,
#event_list td {
  padding: 10px 20px;
  border-top: 1px solid #7cc1d9;
  border-bottom: 1px solid #7cc1d9;
}
#event_list th {
  width: 15%;
  background-color: #f6f6f6;
}
#event_list td {
  width: 85%;
}
#event_list h4 {
  margin-bottom: 0;
}
/* ----------EVENT---------- */
#event {
	/* height: 480px; */
	/* background-color: #f5f5f5; */
	/* padding: 50px 5% 40px; */
	position: relative;
}

.event-title {
	color: #fff;
	/* position: absolute;
	top:-400px;
	left: 0;
	right: 0;
	margin: auto; */
}
/* ----------EVENT_NEWS---------- */
/* #event_news {
  padding: 100px 0;
}
#slider_news {
  width: 104%;
  margin-left: -2%;
}
#slider_news .owl-stage {
  display: flex;
  align-items: stretch;
}
#event_news .item {
  /*display: block;*/
  /* display: flex;
  width: 100%;
  height: 100%;
  padding: 20px;
} */

#event_news .card {
  width: 100%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  padding: 50px 10%;
  position: relative;
}
#event_news .card:before {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background-color: #127E9B;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: left;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: transform 0.25s ease;
  -moz-transition: transform 0.25s ease;
  -ms-transition: transform 0.25s ease;
  -o-transition: transform 0.25s ease;
  transition: transform 0.25s ease;
}
#event_news .card:hover:before {
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
  transform: scaleX(1);
}
#event_news .date {
  display: block;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 5px;
}
#event_news li {
  padding: 5px 0;
}
#slider_news + div {
  margin-top: 50px;
} */
/* ----------ONLINEVIEW---------- */
#onlineview {
  padding: 80px 0 120px;
  background-position: left top;
  background-size: cover;
}
#onlineview h2 {
  font-weight: 500;
}
#onlineview p {
  margin: 30px 0;
  line-height: 2;
}
/* ----------LINKS--------------- */
#links {
  padding: 100px 0 200px 0;
}
#slider_links .item {
  display: block;
  padding-bottom: 50%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
#slider_links .item:hover {
  -webkit-filter: grayscale(5%);
  filter: grayscale(5%);
}
/* owl-carousel */
.owl-prev,
.owl-next {
  width: 25px;
  position: absolute;
  top: 40%;
}

.owl-prev {
  left: -3%;
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  transform: scaleX(-1);
}
.owl-next {
  right: -3%;
}
.owl-prev svg,
.owl-next svg {
  width: 100%;
  stroke: #127E9B;
}
.owl-dots {
  position: absolute;
  top: -18%;
  right: 20px;
}
.owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 10px;
  margin: 5px;
  background-color: #127E9B;
  opacity: 0.4;
}
.owl-dot.active {
  width: 16px;
  height: 16px;
  opacity: 1;
}


#index-about {
	line-height: 30px;
	padding: 100px 0;
  position: relative;
}
.line-orange {
  width: 2px;
  height: 100px;
  background-color: #E87528;
  position: absolute;
  left: 0;
  right: 0;
  top:-50px;
  margin: auto;
}

/* ----------國內外活動-------------- */
.sec_events {
	position: relative;
	padding: 0 0 5% 0;
	/* height: 500px; */
  }
  .sec_events span.picture {
	position: absolute;
	right: 0;
	top: -17%;
	width: 730px;
	padding-bottom: 412px;
  }
  .sec_events .sub_title {
	margin: 70px auto 50px;
  }
  .sec_events .sub_title h4 {
	font-weight: 500;
  }
  .sec_events .date {
	background-color: #EDF3F5;
	padding: 80px;
	border-radius: 20px;
	/* position: absolute;
	top:-300px; */
	padding-bottom: 140px;
	width: 100%;
  position: relative;
	height: 700px;
  }
  .sec_events .date_class {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
  }
  .sec_events .class_list_box {
	/* margin-left: 50px; */
	width: 48%;
	
  }
  .sec_events .class_btn {
	position: absolute;
	left: 0;
	right: 0;
  bottom: 0;
	margin: auto;
	margin-bottom: 50px;
  }
  .sec_events .class_list_box .class_list {
	width: 100%;
	-webkit-animation: fadein 1s forwards;
			animation: fadein 1s forwards;
  }
  .sec_events .class_list_box .class_list:nth-last-child(1) {
	margin: 0 auto;
  }
  .sec_events #class_list_box {
	max-height: 450px;
	/* padding-right: 20px; */
	overflow-y: auto;
	overflow-x: hidden;
  }
  .class_box {
	background-color: #fff;
	margin-bottom: 20px;
	border-radius: 15px;
	padding: 20px;
	box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.1);
  }
  .sec_events .calendar {
	width: 48%;
	height: 480px;
	background: #fff;
	padding: 10px 30px;
	margin: 0 20px 0 0 ;
	border-radius: 15px;
	box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.1);
  }
  .sec_events .calendar .top_title {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2% 0;
	border-bottom: 1px solid #eee;
  }
  .sec_events .calendar .top_title p {
	color: #12807F;
	font-weight: 500;
	font-size: 1.56em;
  }
  .sec_events .calendar .top_title select {
	border-bottom: 1px solid #ffffff;
	color: #12807F;
	font-weight: 500;
	font-size: 1.56em;
	padding: 0 5px;
  }
  .sec_events .calendar .top_title form {
	justify-content: center;
	align-items: center;
  }
  .sec_events .calendar .body-list ul {
	width: 100%;
	font-family: arial;
	font-size: 20px;
  }
  .sec_events .calendar .body-list ul li {
	width: 14.28%;
	height: 55px;
	line-height: 50px;
	list-style-type: none;
	display: block;
	box-sizing: border-box;
	float: left;
	text-align: center;
	-webkit-user-select: none;
	   -moz-user-select: none;
		-ms-user-select: none;
			user-select: none;
  }
.sec_events .calendar .body-list ul.week li {
	height: 50px;
	line-height: 50px;
}
.class_date {
	border-bottom: 1px solid #eee;
	padding: 0 0 10px 0;
}
.brank {
	background-color: #EDF3F5;
	border-radius: 15px;
	padding: 5px 10px;
	display: inline-block;
	vertical-align: top;
	color: #094154;
}
.class_date > .day {
	display: inline-block;
	margin-right: 10px;
}

.class_box .addr {
	color: #696969;
}
.class_info {
	margin: 10px 0;
}
.class_box .online {
	float: right;
	color: #E87528;
}
  .txt-green {
	color:#127E9B;
  }
  .sec_events .calendar #days li {
	position: relative;
  }
  .sec_events .calendar #days li.today {
	position: relative;
	z-index: 1;
  }
  .sec_events .calendar #days li.today::before {
	position: absolute;
	content: "";
	width: 53px;
	height: 53px;
	background-color: rgba(237, 237, 237,0.8);
	z-index: -1;
	border-radius: 50%;
	left: 50%;
	top: -2px;
	transform: translateX(-50%);
  }
  .sec_events .calendar #days li.haveclass {
	cursor: pointer;
  }
  .sec_events .calendar #days li.haveclass::after {
	position: absolute;
	content: "";
	border-radius: 50%;
	width: 6px;
	height: 6px;
	background-color: #F04F58;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
  }
  .sec_events .calendar #days li.active {
    position: relative;
    z-index: 1;
    color: #ffffff;
    }
  .sec_events .calendar #days li.haveclass:hover {
	position: relative;
	z-index: 1;
	color: #ffffff;
  }
  .sec_events .calendar #days li.active::before{
	position: absolute;
	content: "";
	width: 50px;
	height: 50px;
	background-color: #12807F;
	z-index: -1;
	border-radius: 50%;
	left: 50%;
	top: 0px;
	transform: translateX(-50%);
  }
  .sec_events .calendar #days li.haveclass:hover::before {
    position: absolute;
    content: "";
    width: 50px;
    height: 50px;
    background-color: #12807F;
    z-index: -1;
    border-radius: 50%;
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
    }
  .sec_events .calendar #days li.haveclass.active::after, .sec_events .calendar #days li.haveclass:hover::after {
	background-color: #ffffff;
  }
  .bg-wh {
	width: 100%;
	height: 400px;

}

.article_magazine {
  background-color: #fff;
  border-radius: 15px;
  width: 100%;
  /* padding: 80px; */
  padding: 55px;
  padding-top: 110px;
  position: relative;
}
.article_magazine h3 {
  padding: 10px 5%;
  background-color: #127E9B;
  color: #ffffff;
  margin-bottom: 0;
  border-radius: 15px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
}
.article_magazine .input_item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  margin-bottom: 50px;
}
.article_magazine input {
  background-color: #eee;
  border-radius: 5px;
  width: 100%;
  font-size: 18px;
}

.article_magazine select {
  font-size: 18px;
}

.article_magazine label {
  /* margin: 10px 0; */
  width: 48%;
  font-size: 18px;
}
.article_magazine label.addr {

  width: 100%;
}

.article_magazine li{
  margin: 10px;
  width: 48%;
}

.article_magazine .upload {
  /* margin-top: 30px; */
  margin-top: 10px;
}

@media screen and (max-width: 630px) {
  .article_magazine .upload {
    margin-top: 10px;
  }
}
.article_magazine select {
  border: 3px solid #eee;
}
#twzipcodeM {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
}
/* ----------RWD----------------- */
@media screen and (max-width: 1450px) {
  #event_news,
  #links {
    padding: 50px 0;
  }
  #onlineview {
    padding: 50px 0 80px;
  }
  /* #block_login {
    width: 30%;
    margin-right: 0;
  } */
  .article_magazine label {
    margin: 0px;
    /* width: 100%; */
  }
}

@media screen and (max-width: 620px) {
  .article_magazine .hasDatepicker {
    width: 100%!important;
  }
  .news_phpto_slider {
    height: auto;
}
  .slick-dotted.slick-slider {
    width: 100%;
}
  h3 {
    font-size: 2em;
  }
  .owl-dots {
    top: -10%;
    right: 10px;
  }
  .owl-dot {
    width: 10px;
    height: 10px;
    margin: 3px;
  }
  #top {
    /* padding: 30px 0; */
    background-position: 60% top;
  }
  #block_login {
    width: 80%;
	margin-right: 0;
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
  bottom: 0;
	margin: auto;
  }
  #block_news {
    width: 100%;
  }
  #calendar {
    overflow-x: auto;
  }
  #calendar table {
    width: 880px;
  }
  #onlineview {
    padding: 50px 0;
  }
  #onlineview .col40 {
    display: block;
    width: 90%;
    margin: 0 auto;
    float: none;
  }
  #onlineview p {
    margin-top: -15px;
  }
  .sec_events .date_class {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
  }
	.sec_events .date {
		padding: 20px;
		width: auto;
		left: 0;
		height: 100%;
	}
  .sec_events .calendar #days li.active::before {
    width: 40px;
    height: 40px;
    top:5px;
  }
	.sec_events .calendar,.sec_events .class_list_box  {
		margin-bottom: 20px;
		width: 100%;
	}
	.sec_events .class_btn {
		/* position: absolute;
		left: 0;
		right: 0;
		bottom: 0px; */
		margin: auto;
		margin-bottom: 15px;
    position: relative;
	}
	footer {
		width: 100%;
	}
	.bg-wh{
		min-height: 100%;
    margin-bottom: 30px;
	}
  .news_phpto_slider {
    /* left: 0; */
    margin-left: 0;
    width: 100%;
    /* bottom: -85px; */
    /* margin-top: 50px; */
  }
  #block_news {
    margin-top: 10px;
  }
  .pics {
      height: 236px;
      position: relative;
  }

  .slick-list {
    height:215px;
    overflow:hidden;
    border-radius: 15px;
  }
  .dots {
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    bottom: 30px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    width: 100%;
  }
  .bg-blue-0 {
    height: 50px;

    /* margin-top: 100px; */
  }

  #block_news ul {
    min-height: 150px;
    max-height: 230px;

  }
  .article_magazine {
    padding: 15px;
    padding-top: 80px;
  }
  .article_magazine h3{
    padding: 10px 5%;
    font-size: 1.25em;
  }
  .article_magazine .input_item {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    margin-bottom: 20px;
  }
  .article_magazine label {
    margin: 0px;
    width: 100%;
  }
  #block_news .btn {
    margin: auto;
    margin-top: 20px;
  }
  .news {
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    margin-bottom: 30px;
  }
  .article_magazine input {
    font-size: 18px;
  }
  
  .article_magazine select {
    font-size: 18px;
  }
  
  .article_magazine label {
    font-size: 18px;
  }
}




