@charset "UTF-8";
@import "reboot.css";
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500|Noto+Sans+TC:400,500&subset=chinese-traditional');

/* CSS Document */

/* *:focus {
	outline-style: solid;
	outline-width: 3px;
	outline-color: rgba(246, 189, 87, .5);
} */

html, body {
    font-family: 'Montserrat', 'Noto Sans TC', sans-serif;
}

p {
	display: block;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
}

a {
    color: #0A50DB;
    text-decoration: underline;
}

a:hover {
    color: #07338E;
}

/* --電腦版型------------------------------------- */
.page_content_block {
	display: block;
	width: 50%;
	padding-top: 100px;
	margin: 0 auto 0 auto;
	vertical-align: top;
}

/*-----------register----------*/
.YMC_QA {
	display: block;
	width: 100%;
	margin-bottom: 30px;
	margin-top: 30px;
}

.YMC_Q {
	width: 100%;
	font-size: 1.1em;
	color: #e58132;
}

.YMC_A {
	width: 100%;
	padding: 10px;
	color: #4D4D4D;
	font-size: 1em;
	margin-top: 0px;
	border-width: 0px 0px 1px 0px;
	border-bottom: 1px #07338E solid;
	border-radius: 0px;
	min-height: 45px;
	line-height: 1.4;
}

.YMC_Select {
	width: 100%;
	font-size: 1em;
	padding: 10px;
	margin-top: 10px;
	border: 1px solid #07338E;
	color: #4D4D4D;
	border-radius: 0px;
	background-color: #fff;
	height: 50px;
}

.YMC_Course_Select {
	width: 100%;
	font-size: 1em;
	padding: 10px;
	margin-top: 10px;
	border: 1px solid #4D4D4D;
	color: #4D4D4D;
	border-radius: 0px;
	background-color: #fff;
	min-height: 50px;
}
#selection_selected{
	color: #245D96;
	border: 1px solid #245D96;
	padding: 10px;
}

.switch_signup_method_block {
	width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0 25px 0;
}

.switch_signup_method_block a{
	text-decoration: none;
	flex: 1;
}

.method_tab_button {
	height: 55px;
    font-size: .9rem;
    font-weight: 300;
    color: #53b9d1;
    border: 1px solid #53b9d1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-orientation: upright;
    letter-spacing: 1px;
    margin-right: -1px;
	background: none;
}

.method_tab_button.selected {
	color: #ffffff;
    font-weight: 600;
    background: #53b9d1;
}

/*-----------agreement----------*/
.BC_QA_block {
	display: block;
	width: 100%;
	margin-bottom: 30px;
}

.BC_Q {
	width: 100%;
	font-size: 1.1em;
	color: #e58132;
}

.BC_A {
	width: 100%;
	padding: 10px;
	color: #444;
	font-size: 1em;
	margin-top: 0px;
	border-width: 0px;
	border-bottom: 1px #07338E solid;
	border-radius: 0px;
}

.BC_select {
	width: 100%;
	font-size: 1em;
	padding: 10px;
	margin-top: 10px;
	border: 1px solid #4FB0AE;
	border-radius: 0px;
	background-color: #fff;
	height: 50px;
}

.BC_title {
	width: 100%;
    margin: 35px auto 25px auto;
    /* font-weight: bold; */
    /* color: #415884; */
    color: #444;
    text-align: left;
    border: solid 2px #444;
    padding: 5px 10px;	
}

.word_red {
	color: red;
}

/*-----------agreement layer----------*/
.p_p_layer {
	text-align: center;
	background-color: rgb(119, 119, 119);
	z-index: 100;
	top: 0px;
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0px;
}

.p_policy {
	width: 80%;
	height: 80%;
	background-color: white;
	top: 50px;
	position: relative;
	border-radius: 15px;
	padding: 5px;
	margin: auto;
}

.p_policy_content {
	padding: 30px;
	height: 100%;
	overflow-y: auto;
	text-align: left;
}

.p_btn_row {
	text-align: center;
	position: relative;
	top: 50px;
}
.p_close_btn {
	padding: 10px;
	border-radius: 5px;
	border: 0;
}

/*----------menu----------*/
.menu {
	display: block;
	width: 100%;
	height: 60px;
	position: fixed;
	left: 0;
	top: 0;
	background-color: #53b9d1;
	padding: 20px 10%;
	text-align: center;
	color: #fff;
	font-weight: 500;
	z-index: 5;
}

/*----------content_block----------*/
.homepage_content_block {
	display: block;
	width: 100%;
	margin: 5% auto 0 auto;
}

.content_block_1 {
	display: block;
	width: 100%;
	margin: 0 auto 5% auto;
	vertical-align: top;
}

.content_block_2 {
	width: 100%;
	padding: 10px;
	color: #4D4D4D;
	font-size: 1em;
	margin-top: 10px;
	min-height: 45px;
	line-height: 1.6;
}

.image_box, .checkbox_box {
	margin: 20px 0px;
}

/* .radios_box {
	margin: 10px 0px;
} */

option:disabled {
	color: rgb(170, 170, 170, 0.7);
}

.image_info {
	width: 80%;
	height: auto;
}

/*----------a:link----------*/
.homepage_content_block a:link, a:active, a:visited {
	text-decoration: none;
	color: #07338E;
	font-weight: 500;
}

/*----------title----------*/
.title_h1 {
	width: 100%;
	/*margin: 40px auto 20px auto;*/
	margin: 20px auto 10px auto;
	font-size: 1.5em;
	font-weight: 500;
	color: #efa147;
	text-align: left;
	/*border: solid 2px #245D96; */
}
/*
.title_h1:hover{
	opacity: 0.6;
	cursor: pointer;
}
*/
.title_h2 {
	color: #efa147;
	font-size: 1.2em;
	/* margin-bottom: 1%; */
	margin: 30px auto 10px auto;
	/* text-align: center; */
	font-weight: 500;
}

.title_h3 {
	color: #415884;
	font-size: 1.2em;
}

.title_group {
	color: #415884;
	font-size: 1.5em;
	border-bottom: 5px solid #415884;
	margin-bottom: 5%;
}

.title_li {
	color: #4FB0AE;
	font-weight: 500;
}

.word_p {
	margin-bottom: 1%;
}

.word_p li {
	
}

/*----------提示語----------*/
.word_hint{
	padding: 10px;
	font-size: 0.9em;
	color: #666666;
	opacity: 0.6;
}

/* ------ 錯誤訊息 ------- */
.error {
	color: #9A1F24;
	font-size: 0.8em;
}

.error::before {
	content: "⚠️";
	font-size: 1.3em;
}

.YMC_error {
	background-color: #FFDDDD;
	padding: 5px;
}

/*----------button_block----------*/
.button_block {
	width: 100%;
	text-align: center;
	margin: 50px auto;
}

.button {
	background-color: #53b9d1;
	color: white;
	-webkit-appearance: none;
	padding: 10px 13px 10px 13px;
	margin: 0 10px;
	font-size: 14px;
	min-width: 100px;
	border: 0;
}

div.button {
	margin: 0 auto;
	width: 100px;
}

.btn-red {
	background-color: #777777;
}

.btn-green {
	background-color: #41AFC4;
}

.button:disabled {
	opacity: 0.5;
}

.backtotop {
	background-color: #999;
	background-image: url("/s_www/images/anchor-06.png");
	background-position: 50% 50%;
	background-repeat: no-repeat;
	cursor: pointer;
	height: 40px;
	overflow: auto;
	position: fixed;
	bottom: 25px;
	right: 25px;
	text-indent: -99999px;
	transition: all 0.7s ease-in-out 0s;
	width: 40px;
	border-radius: 50%;
}

.YMC_Course_List {
	overflow: hidden;
	margin-bottom: -1px;
}

/* ------ */
.YMC_Course_Category {
	margin-bottom: 18px;
	margin-top: 18px;
	overflow: hidden;
}

.YMC_Course {
	padding: 0 15px 0 0;
	flex: 1;
}

.YMC_Course_Category_Title {
	padding: 15px;
	background-color: #999999;
	color: white;
	font-size: 15px;
	min-height: 55px;
	font-weight: 500;
	cursor: pointer;
}

.YMC_Course_Wrapper {
	display: flex;
}

.YMC_Course_Wrapper_Alt {
	background-color: #DDDDDD;
}

.YMC_Course_Description {
	padding: 15px 0 15px 0;
	color: #666666;
	font-size: 14px;
	border-bottom: 1px solid #666666;
	display: none;
}

.YMC_Course_Description ol {
	margin: 0;
}

.YMC_Course_Title {
	padding: 15px 0 15px 0;
	color: #666666;
	min-height: 55px;
	border-bottom: 1px solid #666666;
	cursor: pointer;
}

.YMC_Course_OuterWrapper {
	display: none;
	position: relative;
	margin-bottom: -1px;
	background-color: #F2F2F2;
}

.YMC_Course_CheckBox {
	height: 55px;
	width: 46px;
	padding: 0 8px 0 8px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 20px 20px;
	cursor: pointer;
	background-image: url('../images/unchecked.svg');
}

.YMC_Course_CheckBox[data-square=true] {
	background-image: url('../images/unchecked-square.svg');
}

.YMC_Course_CheckBox_Selected {
	background-image: url('../images/checked.svg');
}

.YMC_Course_CheckBox_Selected[data-square=true] {
	background-image: url('../images/checked-square.svg');
}

.YMC_Course_Triangle_UpDown {
	float: right;
	height: 17px;
	width: 17px;
	background-position: right center;
	background-size: 17px auto;
	background-repeat: no-repeat;
	background-image: url("../images/triango-down.svg");
}

.YMC_Course_Triangle_Down {
	background-image: url("../images/triango-down.svg");
}

.YMC_Course_Triangle_Up {
	background-image: url("../images/triango-up.svg");
}

/* ------ 課程選單 ------- */

.DC_CLASS_LIST {
    display: flex;
    flex-direction: column;
    gap: 0
}

.DC_CLASS_LIST .course-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer
}

.DC_CLASS_LIST .course-item:first-child {
    border-top: 1px solid #e8e8e8
}

.DC_CLASS_LIST .course-item.disabled {
    cursor: not-allowed
}

.DC_CLASS_LIST .course-item input{
    cursor: pointer
}

.DC_CLASS_LIST .course-item label{
    cursor: pointer
}

.DC_CLASS_LIST .cb-box {
    width: 20px;
    height: 20px;
    border: 2px solid #B0B0B0;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, border-color .15s
}

.DC_CLASS_LIST .course-item.checked .cb-box {
    background: #4BBFBF;
    border-color: #4BBFBF
}

.DC_CLASS_LIST .course-item.disabled:not(.checked) .cb-box {
    background: #f0f0f0;
    border-color: #d0d0d0
}

.DC_CLASS_LIST .cb-check {
    width: 12px;
    height: 12px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: none
}

.DC_CLASS_LIST .course-item.checked .cb-check {
    display: block
}

.DC_CLASS_LIST .course-text {
    flex: 1
}

.DC_CLASS_LIST .course-num {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 2px
}

.DC_CLASS_LIST .course-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.4
}

.DC_CLASS_LIST .course-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-top: 4px
}

.DC_CLASS_LIST .course-item.disabled:not(.checked) .course-title {
    color: #bbb
}

.DC_CLASS_LIST .course-item.disabled:not(.checked) .course-desc {
    color: #ccc
}

.DC_CLASS_STATUS.status-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 8px
}

.DC_CLASS_STATUS .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: background .2s
}

.DC_CLASS_STATUS .status-dot.filled {
    background: #4BBFBF
}

.DC_CLASS_STATUS .status-text {
    font-size: 13px;
    color: #aaa
}


/* --平板版型------------------------------------- */
@media screen and (min-width:768px) and (max-width: 1024px) {
	.page_content_block {
		margin: 0 auto;
	}

	/*-----------banner_block----------*/
	.banner_block {
		height: 500px;
		margin: 0 auto 30px auto;
	}
	.title_banner {
		color: #fff;
		position: absolute;
		bottom: 50%;
		left: 10%;
	}
	.title_banner img {
		width: 30%;
	}
	.banner_button_block {
		
	}
	.banner_button {
		width: 20%;
		font-size: 0.9em;
	}

	/*----------title----------*/
	.title_h1 {
		font-size: 1.2em;
	}
	.title_h2 {
		font-size: 1.2em;
	}
	.title_h3 {
		font-size: 1em;
	}
	.title_group {
		font-size: 1.2em;
	}
	.word_p {
		font-size: 0.9em;
	}
	
	/*----------content_block----------*/
	.image_info {
		width: 100%;
		height: auto;
	}
}

/* --手機版型------------------------------------- */
@media screen and (max-width: 767px) {
	.page_content_block {
		margin: 0 auto;
		width: 90%;
		padding-top: 100px;
	}

	/*----------title----------*/
	.title_h1 {
		font-size: 1.1em;
		/*margin: 30px auto 17px auto;*/
	}
	.title_h2 {
		font-size: 1.1em;
	}
	.title_h3 {
		font-size: 1em;
	}
	.title_group {
		font-size: 1.1em;
	}
	.word_p {
		font-size: 0.9em;
	}

	/*----------button_block----------*/

	.button {
		display: block;
		width: 100%;
		font-size: 14px;
		margin: 10px 0;
		padding: 10px 6px;
		text-align: center;
		flex-grow: 1;
	}
	
	div.button {
		margin: 10px 0;
		width: 100%;
	}
	
	/*----------content_block----------*/
	.image_info {
		width: 100%;
		height: auto;
	}

}