@charset "UTF-8";

/* CSS fix for 100vh in mobile WebKit */
body {
  min-height: 100vh;
  /* mobile viewport bug fix */
  min-height: -webkit-fill-available;
}

html {
  height: -webkit-fill-available;
}

/* iPhone X螢幕的四方有專為iOS使用的區域的處理 */
body {
    padding-top: constant(safe-area-inset-top);
    padding-right: constant(safe-area-inset-right);
    padding-bottom: constant(safe-area-inset-bottom);
    padding-left: constant(safe-area-inset-left);
}

/* elective_course_layer */
.p_elective_course_layer {
	position: fixed;
	/* width: 100vw;
	height: 100vh; */
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.3);
	display: none;
	/* z-index: 99999; */
	z-index: 9999999998;
	line-height: 1.2rem;
}

.p_elective_course_layer .p_elective_course_container {
	position: absolute;
	left: 50%;
	top: 50%;
	/* width: 60%; */
	width: 84%;
	/* height: 96%; */
	height: 90%;
	transform: translate(-50%, -50%);
	background-color: #FFFFFF;
	box-shadow: 1px 1px 5px #777;
}
.p_elective_course_container .p_elective_course_title {
	position: relative;
	width: 100%;
	text-align: left;
	/* padding: 8px 10px;   */
	padding: 8px 10px;  
	background-color: #47AFC3;
	color: #F0F0F0;
	font-size: 1.05rem;
	font-weight: 700;
	/* line-height: 1.2; */
	padding-left:  25px;
	height: 35px;
}
.p_elective_course_container .p_elective_course_title .elective_cart {
	color:#fff;
	/* font-size:1.3rem; */
	/* font-size:1.1rem; */
	font-size: 1.1rem;
	/* vertical-align: bottom;
	vertical-align: text-bottom; */
	vertical-align: top;
	margin: 0; 
	margin-right: 1px;
	/* margin-bottom: -2px; */
}
.p_elective_course_container .p_elective_course_title span {
	vertical-align: text-bottom;
}
.p_elective_course_container .p_elective_course_title .p_elective_close {
	position: absolute;
	top: 4px;
	right: 15px;
	width: 24px;
	height: 24px;
	background-color: transparent;
	color: #FFF;
	/* font-size: 16px;
	font-weight: 700; */
	/* padding: 4px;
	padding-top: 5px; */
	padding: 1px 0;
	/* margin: 5px; */
	cursor:  pointer;
	text-align:  center;
	border-radius: 3px;
}
.p_elective_course_container .p_elective_course_title .p_elective_close i {
	/* font-size: 22px; */
	font-size: 24px;
	font-weight: 700;
	color: #F0F0F0;
	margin: 0;
}
.p_elective_course_container .p_elective_course_title .p_elective_close:hover  {
	border: 1px solid #F0F0F0;
	padding: 0;
}

/* from_app */
.p_elective_course_layer.from_app .p_elective_course_container .p_elective_course_title {
	background-color: #FFF;
	color: #47AFC3;
}
.p_elective_course_layer.from_app .p_elective_course_title .elective_cart {
	color: #47AFC3;
}
.p_elective_course_layer.from_app .p_elective_course_title .p_elective_close i {
	color: #47AFC3;
}
.p_elective_course_container.from_app .p_elective_course_title .p_elective_close:hover  {
	border: 1px solid #47AFC3;
}

/* body.from_app */
body.from_app .p_elective_course_layer .p_elective_course_container .p_elective_course_title {
	background-color: #FFF;
	color: #47AFC3;
	/* border: 1.5px solid #E0E0E0; */
}
body.from_app .p_elective_course_layer .p_elective_course_title .elective_cart {
	color: #47AFC3;
}
body.from_app .p_elective_course_layer .p_elective_course_title .p_elective_close i {
	color: #47AFC3;
}
.p_elective_course_container.from_app .p_elective_course_title .p_elective_close:hover  {
	border: 1px solid #47AFC3;
}

.p_elective_course_container .p_course_calendar_block{
	/* position: relative;	 */	
	/* width: 70%; */
	/* width: 90%; 
	margin: 40px auto 10px auto;
	*/
	width: 55%;
	margin: 40px auto 10px 5%;
	/* overflow-x: auto; */
	overflow: auto;
	padding-bottom: 18px;
	max-height: 85%;
	max-height: calc(100% - 95px);
}

.p_elective_course_container .p_course_cart_loading_block {
	width: 80%;	
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	text-align: center;
}
.p_elective_course_container .p_course_cart_loading_block img.p_loading{
	width: 40px;
	height: auto;	
}


/* course_title_row */
.p_course_calendar_block .p_course_title_row {
	/* version (1):  flex */
	/* width:  125%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap; */
	/* version (2):  inline-block */
	width:  100%;
	display: inline-block;
	/* background-color: rgba( 33, 55, 66, 0.5 ); */

	white-space: nowrap;
	/* overflow-x: auto; */
	margin-bottom: 10px;
	/* position: sticky */
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 5;
	background-color: #FFF;
} 
.p_course_calendar_block .p_course_title_row::after {
	clear: both;
}
.p_course_calendar_block .p_course_title_cell {
	/* width:  25%; */
	/* width:  12.5%; */
	width:  23%;
	text-align: center;
	padding: 12px 5px;
	/* version (2):  inline-block */
	display: inline-block;	
	vertical-align: top;
	/* test */
	/* border: 1px solid lightblue; */
	white-space: normal;
}
.p_course_calendar_block .p_course_title_cell:first-child {
	width:  22%;
}
.p_course_calendar_block .p_course_title_cell.p_date {
	color: #47AFC3;	
	/* font-weight: 700; */
}


/* course_data_row */
.p_course_calendar_block .p_course_data_row {
	/* version (1):  flex */
	/* width:  125%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;	 */
	/* version (2):  inline-block */
	width:  100%;
	display: inline-block;
	/* background-color: rgba( 00, 55, 66, 0.5 ); */

	white-space: nowrap;
	/* overflow-x: auto; */

} 
.p_course_calendar_block .p_course_data_row::after {
	clear: both;
}
.p_course_calendar_block .p_course_data_cell {
	/* width:  25%; */
	/* width:  12.5%; */
	width:  23%;
	padding: 5px 5px;
	word-break: break-all;
	/* version (2):  inline-block */
	display: inline-block;	
	vertical-align: top;
	/* test */
	/* border: 1px solid lightpink; */
	white-space: normal;
}
.p_course_calendar_block .p_course_data_cell:first-child {
	width:  22%;
}
.p_course_calendar_block .p_course_data_cell.p_time_period {
	color: #47AFC3;	
	padding-top: 10px;
	/* width:  22%; */
}
.p_course_calendar_block .p_course_data_cell.interval {
	padding: 5px 0;
	margin-right: -5px;
}
.p_course_calendar_block .p_course_data_cell.interval:last-child {
	/* width: calc(12.5% + 5px); */
	width: calc(22% + 5px);
}
/* .p_course_calendar_block .p_course_data_cell.interval_line{
	border-bottom: 2px solid rgb(127, 127, 127);
	padding-bottom: 15px;
} */
.p_course_calendar_block .p_course_data_cell:first-child{
	border-bottom-width: 0;
}

.p_elective_course_layer .p_br {
	display: none;
}

/* p_course_bg color */	
.p_course_calendar_block .p_course_bg_not_elect {
	background-color: #F3F4F4; /* rgb(230, 230, 230); */
	padding: 8px 5px;
	width: 100%;
	text-align: center;
	/* min-height: 55px; */
	/* height: 80px; */
	height: 83px;
	position: relative;	
	cursor: pointer;
}
.p_course_calendar_block .p_course_add_icon {
	font-size: 2rem;
	color: rgb(202, 202, 202);	
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	margin: 0;
}
/* (2025/03/11) */
.p_course_calendar_block .p_class_period_display {
	/* font-size: 1rem; */
	font-size: 0.8rem;
	color: #0077aa;	
	font-weight: 700;
	word-break: break-all;
	white-space: normal;
	text-align: left;
	margin-bottom: 2px;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
/* .p_course_calendar_block .cell_content { */
.p_course_calendar_block .p_course_type {
	/* font-size: 1rem; */
	font-size: 0.8rem;
	color: #47AFC3;	
	font-weight: 700;
	word-break: break-all;
	white-space: normal;
	text-align: left;
	margin-bottom: 2px;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
.p_course_calendar_block .p_course_title {
	/* font-size: 1rem; */
	width: 100%;
	font-size: 0.8rem;
	color: #444;	
	/* word-break: break-all;
	white-space: normal; */
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
 	-webkit-box-orient: vertical;
  	-webkit-line-clamp: 3;
}
.p_course_calendar_block .p_course_bg {
	padding: 8px 5px;
	width: 100%;
	text-align: center;
	/* min-height: 55px; */
	height: 80px;
	overflow-y: hidden;
	cursor: pointer;
	line-height: 1.05rem;
}
.p_course_calendar_block .p_course_bg_pink {
	background-color: rgb(248, 217, 212);
	padding: 12px 5px;
	width: 100%;
	text-align: center;
	min-height: 55px;
}
.p_course_calendar_block .p_course_bg_blue {
	background-color: rgb(218, 244, 243);
	padding: 12px 5px;
	width: 100%;
	text-align: center;
	min-height: 55px;
}
.p_course_calendar_block .p_course_bg_yellow {
	background-color: rgb(255, 242, 197);
	padding: 12px 5px;
	width: 100%;
	text-align: center;
	min-height: 55px;
}
/* p_course_bg border */	
/* .p_course_calendar_block .p_course_bg_blue_border { */
.p_course_calendar_block .p_course_selected {
	border: 1.5px solid rgb(72, 177, 206);
}

.p_course_calendar_block .p_course_add {
	color: rgb(204, 204, 204);
}

div.interval_line {
	/* width:  75%; */
	width:  100%;
	height: 2px; 
	/* background-color: rgb(127, 127, 127); */
	background-color: rgb(230, 230, 230);
	margin: 10px 0;
}
hr.interval_line_2 {
	/* width:  75%; */
	width:  100%;
	height: 1px; 
	background-color: rgb(127, 127, 127);
	margin: 10px 0;
	/* margin-left: 22%; */
	margin-left: 27%;
}

/* p_sub_elective_course_layer --start */
.p_elective_course_container .p_sub_elective_course_layer {
	position: absolute;	
	/* width: 45%; */
	width: 40%;
	height: 100%;
	height: calc(100% - 35px);
	top: 35px;
	right: 0;
	background-color: rgb(242, 242, 242);	
	/* border-left: 2px solid #FFF; */
	box-shadow: -1.5px 0 2px #fff;
	z-index: 10;	
	/* overflow-y: auto; */
	/* display: none;	 */
}

/*  */
.p_elective_course_container .p_function_favorite_2 {
	position: absolute;	
	top:  45px;
	right: 0;	
	display: inline-block;
	border: 1px solid #859192;
	border-radius: 20px;
	padding: 4px 8px 3px 6px;
	text-align: center;
	font-size: 0.8rem;
	color: #859192;
	cursor: pointer;
	margin-right: 18px;
}
.p_elective_course_container .p_function_favorite_2:hover {
	border-color: #47AFC3; /* #17719E; */
	color: #47AFC3; /* #17719E; */
	font-weight: 700;
}
.p_elective_course_container .p_function_favorite_2 .p_function_favorite_2_icon {
	font-size: 1rem;
	color: rgb(255, 183, 168);	
	vertical-align: bottom;
	/* vertical-align: text-bottom; */
    line-height: inherit;
    margin: 0;
    /* margin-bottom: 1px; */
}

/* p_course_function */
.p_sub_elective_course_layer .p_course_function_row {
	position: relative;
	width: 100%;
	text-align: right;
	margin-top: 10px;
	margin-bottom: 10px;
}
.p_sub_elective_course_layer .p_course_function_row .p_function_favorite {
	display: inline-block;
	border: 1px solid #859192;
	border-radius: 20px;
	/* padding: 4px 8px 3px 6px; */
	padding: 4px 8px 3px 6px;
	text-align: center;
	font-size: 0.8rem;
	color: #859192;
	cursor: pointer;
	margin-right: 18px;
}
.p_sub_elective_course_layer .p_course_function_row .p_function_favorite:hover {
	border-color: #47AFC3; /* #17719E; */
	color: #47AFC3; /* #17719E; */
	font-weight: 700;
}
.p_sub_elective_course_layer .p_course_function_row .p_function_favorite .p_course_favorite_icon {
	font-size: 1rem;
	color: rgb(255, 183, 168);	
	vertical-align: bottom;
	/* vertical-align: top; */
	/* vertical-align: text-bottom; */
    line-height: inherit;
    margin: 0;
    /* margin-bottom: 1px; */
}

.p_sub_elective_course_layer .p_favorite_close {
	position: absolute;
	top: -10px; /* 0; */
	left: -9px; /* 5%; */
	width: 24px;
	height: 24px;
	background-color: transparent;
	border: 1px solid #859192;
	/* color: #FFF; */
	color: rgb(255, 183, 168); /* #859192; */
	font-size: 15px;
	font-weight: 700;
	padding: 4px;
	/* padding-top: 5px; */
	/* margin: 5px; */
	cursor:  pointer;
	text-align:  center;
	border-radius: 50%;
	display: none;
}
.p_sub_elective_course_layer .p_favorite_close:hover {
	border-width: 2px;
	border-color: rgb(255, 183, 168);
	font-size: 16px;
}

.p_sub_elective_course_layer .p_favorite_n_course_close {
	/* position: absolute;
	top: 15px;
	left: 20px; */
	display: inline-block;
	width: 130px;
	/* height: 24px; */
	margin-left: 7.5%;
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
	background-color: transparent;
	border: 1px solid #859192;
	/* color: #FFF; */
	/* color: rgb(255, 183, 168); */ /* #859192; */
	color: #859192;	
	/* font-size: 15px; */
	font-size: 0.9rem;
	font-weight: 700;
	/* padding: 4px; */
	padding: 5px 10px;
	/* padding-top: 5px; */
	/* margin: 5px; */
	cursor:  pointer;
	text-align:  center;
	/* border-radius: 50%; */
	border-radius: 30px;
	display: none;
}
.p_sub_elective_course_layer .p_favorite_n_course_close span.p_favorite_n_course_close_icon {
	font-size: 1.1rem;
	color: #859192;	
	/* vertical-align: bottom; */
	vertical-align: bottom;
    line-height: inherit;
    margin: 0;
    margin-right: 5px;
}

/* p_elective_button */
.p_sub_elective_course_layer .p_elective_button_row {
	width: 100%;
	text-align: center;
	margin-top: 15px;
	margin-bottom: 15px;
}
.p_sub_elective_course_layer .p_elective_button_row .p_elective_button {
	display: inline-block;
	width: 80px;	
	/* border: 1px solid #17719E; */
	border-radius: 20px;
	padding: 4px 5px 4px 5px;
	margin: 0 5px;
	text-align: center;
	font-size: 0.9rem;
	background-color: #47AFC3;
	color: #FFF;
	cursor: pointer;
}
.p_sub_elective_course_layer .p_elective_button_row .p_elective_cancel_button {
	display: inline-block;
	width: 80px;	
	border: 1px solid #47AFC3;
	border-radius: 20px;
	padding: 4px 5px 4px 5px;
	margin: 0 5px;
	text-align: center;
	font-size: 0.9rem;
	/* background-color: #17719E; */
	color: #47AFC3;
	cursor: pointer;
}
.p_sub_elective_course_layer .p_elective_button_row .p_elective_cancel_button:hover {
	border: 1px solid #ff4d4d;
	color: #ff4d4d;
}
.p_sub_elective_course_layer .p_elective_button_row .p_class_bookmark_cancel_button {
	display: inline-block;
	width: 80px;	
	/* border: 1px solid #47AFC3; */
	/* border: 1px solid #FFB7A8; */
	border: 1px solid #FFA8A8;
	border-radius: 20px;
	padding: 4px 5px 4px 5px;
	margin: 0 5px;
	text-align: center;
	font-size: 0.9rem;
	/* background-color: #17719E; */
	background-color: #FFA8A8;
	/* color: #47AFC3; */
	/* color: #FFB7A8; */
	color: #FFF;
	cursor: pointer;
}
.p_sub_elective_course_layer .p_elective_button_row .p_class_bookmark_cancel_button:hover {
	border: 1px solid #ff4d4d;
	color: #ff4d4d;
	background-color: transparent;
}
.p_sub_elective_course_layer .p_elective_button_row .p_elective_start_button {
	display: inline-block;
	width: 80px;	
	/* border: 1px solid #17719E; */
	border-radius: 20px;
	padding: 4px 5px 4px 5px;
	margin: 0 5px;
	text-align: center;
	font-size: 0.9rem;
	background-color: #47AFC3;
	color: #FFF;
	cursor: pointer;
}

.p_sub_elective_course_layer .p_sub_elective_course_container {
	/* width: 90%; */
	width: 85%;
	/* height: calc(100% - 70px); */
	height: calc(100% - 115px);
	overflow-y: auto;
	margin: 10px auto 25px auto;
	text-align: left;
	padding-top: 5px;
}
.p_sub_elective_course_container .p_add_elective_course_block {
	width: 100%;
}
.p_sub_elective_course_container .p_add_elective_course_block .p_set_course_title_row {
	width: 100%;
	text-align: left;
	margin-top: 20px;
    background-color: rgb(242, 242, 242);
}
.p_sub_elective_course_container .p_add_elective_course_block .p_set_course_title_row.first_title_row {
	margin-top: 15px;
}
.p_sub_elective_course_container .p_add_elective_course_block .p_set_course_title {
	color: #17719E;
	font-weight: 700;
}
.p_sub_elective_course_container .p_add_elective_course_block .p_set_class_type_title {
	/* color: #17719E;	 */
	color: #555;	
	font-weight: 700;
}
/* .p_sub_elective_course_container .p_add_elective_course_block .p_set_course_title_comment { */
.p_sub_elective_course_container .p_add_elective_course_block .p_set_class_type_comment {
	/* color: #17719E;	 */
	color: #555;	
	font-weight: 500;
	font-size: 0.9rem;
}

.p_sub_elective_course_container .p_add_elective_course_block .p_add_course_title_row {
	width: 100%;
	text-align: left;
	position: sticky;
    top: -5px;
    z-index: 5;
    background-color: rgb(242, 242, 242);
}
.p_sub_elective_course_container .p_add_elective_course_block .p_add_course_title {
	color: #17719E;	
	font-weight: 700;
}
.p_sub_elective_course_container .p_add_elective_course_block .p_add_course_time {
	color: #859192;
	font-size: 0.9rem;
	padding-left: 8px;
}
.p_add_elective_course_block .p_sub_course_add_icon {
	font-size: 1.6rem;
	color: #17719E;	
	vertical-align: text-bottom;
    line-height: inherit;
    margin: 0;
    margin-bottom: 1px;
}
.p_sub_elective_course_container .p_add_elective_course_block .p_add_course_data_row {
	width: 100%;
	margin-top: 20px;
}
.p_sub_elective_course_container .p_course_button {
	background-color: rgb(204, 204, 204); /* #F3F4F4; */	
	font-size: 0.9rem;
	padding: 8px 10px;
	color: #444;
	text-align: left;
	display: inline-block;
	margin-left: 10px;
}
.p_sub_elective_course_container .p_course_button:first-child{
	margin-left: 0px;
}

.p_sub_elective_course_container .p_course_button_2 {
	background-color:rgb(204, 204, 204); /* #F3F4F4; */	
	font-size: 0.9rem;
	padding: 8px 10px;
	color: #444;
	text-align: left;
	display: inline-block;
	/* margin-left: 10px; */
}
.p_sub_elective_course_container .p_course_button_2:first-child{
	/* margin-left: 0px; */
}


/* favorite_course_block */
.p_sub_elective_course_container .p_favorite_course_block {
	width: 100%;
	/* margin-top: 30px; */
	margin-top: 30px;
}
.p_sub_elective_course_container .p_favorite_course_block:first-of-type {
	margin-top: 0;
}
.p_favorite_n_course_data_block .p_favorite_course_data {
	width: 100%;	
	/* background-color: rgb(204, 204, 204); */
	/* background-color: rgb(227, 237, 190); */
	/* background-color: rgba(203, 216, 149, 0.5); */
	background-color: #dfe5c4;
	margin-top: 10px;	
	/* 法 2 */
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
}
.p_favorite_n_course_data_block .p_favorite_course_data:hover {
	border-bottom: 3px solid #FFB7A8;
	box-shadow: 1px 1px 3px #FFB7A8;
}
.p_sub_elective_course_container .p_favorite_course_selected {
	border: 3px solid #FFB7A8;
	box-shadow: 1px 1px 2px #FFB7A8;
}
.p_favorite_n_course_data_block .p_favorite_course_data .p_favorite_title {
	cursor: pointer;
}
.p_sub_elective_course_container .p_favorite_course_block .p_favorite_course_title_row {
	width: 100%;
}
.p_sub_elective_course_container .p_favorite_course_block .p_favorite_course_title {
	color: #17719E;	
	font-weight: 700;
}
.p_favorite_course_block .p_favorite_course_title_row .p_course_favorite_icon {
	font-size: 1.4rem;
	color: rgb(255, 183, 168);	
	/* vertical-align: bottom; */
	vertical-align: text-bottom;
    line-height: inherit;
    margin: 0;
    margin-bottom: 1px;
}

.p_sub_elective_course_container .p_favorite_set_course_block {
	width: 100%;
	margin-top: 20px;
}
.p_sub_elective_course_container .p_favorite_set_course_block .p_favorite_course_title_row {
	width: 100%;
}
.p_sub_elective_course_container .p_favorite_set_course_block .p_favorite_course_title {
	/* color: #17719E;	 */
	color: #555;	
	font-weight: 700;
}
.p_favorite_set_course_block .p_favorite_course_title_row .p_course_favorite_icon {
	font-size: 1.4rem;
	color: rgb(255, 183, 168);	
	/* vertical-align: bottom; */
	vertical-align: text-bottom;
    line-height: inherit;
    margin: 0;
    margin-bottom: 1px;
}

.p_sub_elective_course_container .p_favorite_course_block_2 {
	width: 100%;
	margin-top: 30px;
}
.p_sub_elective_course_container .p_favorite_course_block_2 .p_favorite_course_title_row {
	width: 100%;
}
.p_sub_elective_course_container .p_favorite_course_block_2 .p_favorite_course_title {
	color: #17719E;	
	font-weight: 700;
}
.p_favorite_course_block_2 .p_favorite_course_title_row .p_course_favorite_icon {
	font-size: 1.4rem;
	color: rgb(255, 183, 168);	
	/* vertical-align: bottom; */
	vertical-align: text-bottom;
    line-height: inherit;
    margin: 0;
    margin-bottom: 1px;
}

/* p_favorite_n_course_data_block */
.p_sub_elective_course_container .p_favorite_n_course_data_block {
	width: 100%;	
}

.p_favorite_n_course_data_block .p_favorite_n_course_data {
	width: 100%;	
	/* background-color: rgb(204, 204, 204); */
	/* background-color: rgb(227, 237, 190); */
	/* background-color: rgba(203, 216, 149, 0.5); */
	background-color: #dfe5c4;
	margin-top: 10px;	
	/* 法 2 */
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
}
.p_favorite_n_course_data_block .p_elective_course_data:hover {
	border-bottom: 2px solid #47AFC3;
	box-shadow: 1px 1px 2px #47AFC3;
}
.p_course_calendar_block .p_course_select_trigger:hover {
	border: 2px solid #47AFC3;
	box-shadow: 1px 1px 1px #47AFC3;
}
.p_course_calendar_block .p_course_select_trigger.selected {
	border: 2px solid #47AFC3;
	box-shadow: 1px 1px 1px #47AFC3;
}
.p_favorite_n_course_data_block .p_elective_add_icon {
	width: 26px;
	/* 法 1 */
	/* float: left;
	padding: 7px 0;
	text-align: center; */
	/* 法 2 */
	display: inline-flex;	
	justify-content: center;	
	align-items: center;
	cursor: pointer;
}
.p_favorite_n_course_data_block .p_elective_add_icon span {
	font-size: 1.5rem;
    color: #859192;
    vertical-align: bottom;
    margin: 0;
}
.p_favorite_n_course_data_block .p_elective_selected_icon {
	width: 26px;
	background-color: #47AFC3;
	font-size: 0.7rem;
	color: #FFF;
	/* 法 1 */
	/* float: left;
	text-align: center;
	padding: 3px 0; */
	/* 法 2 */
	display: inline-flex;	
	justify-content: center;	
	align-items: center;
	cursor: pointer;
}
.p_favorite_n_course_data_block .p_course_info {
	background-color: rgb(203, 216, 149);
	width: 40px;
	color: #FFF;
	font-size: 1.5rem;	
	font-weight: 500;
	cursor: pointer;
	/* 法 1 */	
	/* float: right;
	text-align: center;
	padding: 11px 0; */
	/* 法 2 */
	display: inline-flex;	
	justify-content: center;	
	align-items: center;
	padding: 11px 0;
}
.p_favorite_n_course_data_block .p_course_title {
	width: calc(100% - 66px);
	font-size: 0.8rem;
	color: #444;	
	line-height: 1.2rem;
	/* 法 1 */
	/* float: left;
	padding: 11px 5px 10px 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis; */	
	/* 法 2 */
	display: inline-flex;	
	justify-content: flex-start;	
	align-items: center;
	padding: 5px;
	cursor: pointer;
}
.p_favorite_n_course_data_block .p_favorite_title {
	width: calc(100% - 40px);
	font-size: 0.8rem;
	color: #444;	
	line-height: 1.2rem;
	/* 法 1 */
	/* float: left;
	padding: 11px 5px 10px 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis; */	
	/* 法 2 */
	display: inline-flex;	
	justify-content: flex-start;	
	align-items: center;
	padding: 5px 10px 5px 15px;
}
/* .p_favorite_n_course_data_block .p_favorite_n_course_data::after{
	display: block;
	content: '';
	clear: both;
} */
.p_sub_elective_course_container .p_elective_selected {
	border: 3px solid #47AFC3;
	box-shadow: 1px 1px 2px #47AFC3;
}

/* p_sub_elective_course_layer --end */

/* p_elective_msg_layer */
/* .p_elective_course_layer .p_elective_msg_layer { */
.p_elective_msg_layer {
	position: fixed;
	left: 0;
	top: 0px;
	/* top: 35px; */
	width: 100%;
	height: 100%;
	/* height: calc(100% - 35px); */
	/* z-index: 100001; */
	z-index: 9999999999;
	background-color: rgba(0, 0, 99, 0.3);
	display: none;
}   
/* .p_elective_course_layer .p_elective_msg_block { */
.p_elective_msg_layer .p_elective_msg_block {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 60%;
	min-height: 20%;
	max-height: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border: 2px solid #EFEFEF;
	/* border: 1px solid #47AFC3; */
	/* border: 2px solid #47AFC3; */
	border-radius: 7px;
	box-shadow: 0px 1px 1px #F8F8F8;
	color: #47AFC3;
	font-size: 1rem;
	padding: 10px;
	cursor: pointer;	
}
/* .p_elective_course_layer .p_elective_msg { */
.p_elective_msg_layer .p_elective_msg {
	width: 100%;
}
/* .p_elective_course_layer .p_elective_msg_block:hover { */
.p_elective_msg_layer .p_elective_msg_block:hover {
	border-width: 2px;
}
/* .p_elective_course_layer .p_elective_msg_layer .p_elective_msg_close { */
.p_elective_msg_layer .p_elective_msg_close {
	position: absolute;
	top: -15px;
	right: -15px;
	font-size: 1.1rem;
	font-weight: 700;
	/* padding: 5px; */
	padding: 3px;
	/* color: #47AFC3;  */
	/* color: rgb(255, 183, 168); */
	color: #859192;
	/* border: 2px solid #859192; */
	border: 2px solid #47AFC3;
	/* border: 2px solid rgb(255, 183, 168); */
	/*border: 2px solid #47AFC3;*/
	border-radius: 50%;
	width: 28px;
	height: 28px;
	text-align: center;
	background-color: #FFF;
}
.p_elective_msg_layer .p_elective_msg_close i {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0;
}
/* .p_elective_course_layer .p_elective_msg_layer .p_elective_msg_close:hover { */
.p_elective_msg_layer .p_elective_msg_close:hover {
	border-width: 3px;
	padding: 2px;
}

/* main content css --end */


/* --平板版型------------------------------------- */
/* @media screen and (min-width:768px) and (max-width: 1023.99px) { */
@media screen and (min-width:768px) and (max-width: 991.99px) {
	.p_elective_course_layer .p_elective_course_container {
		width:  90%;
	}

	.p_elective_course_container .p_course_calendar_block{
		width: 85%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 50px;
		max-height: calc(100% - 110px);
		/* margin: 30px auto;
		overflow-x: auto;
		padding-bottom: 15px; */
	}

	.p_course_calendar_block .p_course_title_cell {
		width:  24%;
	}
	.p_course_calendar_block .p_course_title_cell:first-child {
		width:  15%;
	}

	.p_course_calendar_block .p_course_data_cell {
		width:  24%;
	}
	.p_course_calendar_block .p_course_data_cell:first-child {
		width:  15%;
	}
	/* .p_course_calendar_block .p_course_data_cell.p_time_period {
		width:  15%;
	} */
	/* .p_course_calendar_block .p_course_data_cell.interval:first-child {
		width: calc(15% + 5px);
	} */
	.p_course_calendar_block .p_course_data_cell.interval:last-child {
		width: calc(24% + 5px);
	}

	.p_elective_course_layer .p_br {
		display: block;
	}

	.p_elective_course_container .p_sub_elective_course_layer {
		width: 100%;
		display: none;
	}
	.p_elective_course_container .p_sub_elective_course_layer.open {
		display: block; 
	}

	.p_sub_elective_course_layer .p_sub_elective_course_container {
		/* height: calc(100% - 135px); */
		height: calc(100% - 140px);
	}
	body.from_app .p_sub_elective_course_layer .p_sub_elective_course_container {
		height: calc(100% - 140px);
	}

	.p_sub_elective_course_layer .p_favorite_close {
		top: -10px; /* 0; */
		left: 0px; /* 5%; */
		/* display: block; */
	}

	.p_sub_elective_course_layer .p_course_function_row .p_function_favorite {
		display: none;
	}

	.p_sub_elective_course_layer .p_favorite_n_course_close {
		display: block;	
	}

	.p_elective_course_layer .p_elective_msg_block {
		width: 80%;
	}
}

/* --手機版型------------------------------------- */
@media screen and (max-width: 767px) {
	.p_elective_course_layer .p_elective_course_container {
		width:  100%;
		/* height: 90%; */
		height: 100%;
		left: 0;
		top: 0;
		transform: translate(0, 0);
	}

	.p_elective_course_container .p_course_calendar_block{
		/* width: 85%; */
		width: 94%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 50px;
		max-height: calc(100% - 110px);
	}
	
	.p_elective_course_container .p_elective_course_title .elective_cart {
		font-size: 1.2rem;
		vertical-align: bottom;
	}

	.p_course_calendar_block .p_course_title_cell {
		width:  26%;
	}
	.p_course_calendar_block .p_course_title_cell:first-child {
		width:  20%;
	}

	.p_course_calendar_block .p_course_data_cell {
		width:  26%;
	}
	.p_course_calendar_block .p_course_data_cell:first-child {
		width:  20%;
	}
	/* .p_course_calendar_block .p_course_data_cell.p_time_period {
		width:  20%;
	} */
	/* .p_course_calendar_block .p_course_data_cell.interval:first-child {
		width: calc(20% + 5px);
	} */
	.p_course_calendar_block .p_course_data_cell.interval:last-child {
		width: calc(26% + 5px);
	}

	.p_elective_course_layer .p_br {
		display: block;
	}

	.p_elective_course_container .p_sub_elective_course_layer {
		width: 100%;
		display: none;
	}
	.p_elective_course_container .p_sub_elective_course_layer.open {
		display: block;
	}

	.p_sub_elective_course_layer .p_sub_elective_course_container {
		/* height: calc(100% - 135px);  */
		height: calc(100% - 140px);
	}
	body.from_app .p_sub_elective_course_layer .p_sub_elective_course_container {
		height: calc(100% - 140px);
	}

	.p_sub_elective_course_layer .p_favorite_close {
		top: -10px; /* 0; */
		left: 1px; /* 5%; */
		/* display: block; */
	}

	.p_sub_elective_course_layer .p_course_function_row .p_function_favorite {
		display: none;
	}

	.p_sub_elective_course_layer .p_favorite_n_course_close {
		display: block;	
	}

	.p_elective_course_layer .p_elective_msg_block {
		width: 80%;
	}
	
	.p_elective_msg_layer .p_elective_msg_block {
		width: 75%;
	}
}