/*------------------------------------------*/
/* sort select message list
/*------------------------------------------*/
.sort_select_message_list{
	display: inline-block;
	float: right;
	position: relative;
	top: -9px;
}
.sort_select_message_list select{
	height: 36px;
	padding: 4px 8px;
}

/* template message */
.message_list_area .message_template_area {

}
.message_list_area .message_template_area .btn_message_template_wrap {
	position: relative;
	display: inline-block;
	padding-bottom: 10px;
}
.message_list_area .message_template_area .btn_message_template:before, .message_list_area .message_template_area .btn_message_template_counselor:before {
	content: '\f15c';
	font-family: 'fontAwesome';
	margin-right: 5px;
}
.message_list_area .message_template_area .btn_message_template_wrap .message_template_tip {
	display: none;
	position: absolute;
	z-index: 100;
	background-color: #000;
	color: #fff;
	width: 300px;
	text-align: left;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 10px;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	border-radius: 4px;
}
.message_list_area .message_template_area .btn_message_template_wrap .message_template_tip:before {
	content: '';
	display: block;
	position: absolute;
	bottom: -8px;
	left: 50%;
	box-sizing: content-box;
	width: 0;
	height: 0;
	border: 4px solid transparent;
	border-top-color: #000;
	margin-top: -4px;
}
.message_list_area .message_template_area .btn_message_template_wrap:hover .message_template_tip {
	display: block;
}
.sec_message_list .list_style_1 .user_data{
	text-align: center;
}
.sec_message_list .list_style_1 .user_data .btn_style{
	margin: 1rem 0 0;
	padding: 0 1.4rem;
}
/* chat log */
.sec_message_list .list_style_1 .user_data .popup_box {
	display: none;
	position: fixed !important;
	width: 62rem;
	height: 50rem;
	top:calc(50% - 56vh/2);
	left:calc(50% - 40vw/2);
	z-index: 200;
	padding: 0 0rem;
	box-sizing: border-box;
	background: #fff;
	max-width: 960px;
	max-height: 90vh;
	min-width: 120px;
	min-height: 100px;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
	border-radius: 10px;
}
.sec_message_list .list_style_1 .user_data .popup_box .btn_close{
	position: absolute;
	top: -18px;
	right: -18px;
	display: block;
	width: 46px;
	height: 46px;
	background: url('../images/icon/modal_close.png') no-repeat 0 0;
	cursor: pointer;
	border: none;
	z-index: 1000;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_box_inner {
	height: inherit;
	min-width: 100px;
	min-height: 100px;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	flex-wrap: wrap;
	border: solid 4px #555;
	border-radius: 10px;
	overflow: hidden;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_header {
	padding: 5px 10px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	white-space: nowrap;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_header:hover {
	cursor: move;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_header .popup_ttl {
	font-size: 1.8rem;
	font-weight: bold;
	overflow: hidden;
	height: 53px;
	line-height: 53px;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_header .popup_close {
	position: absolute;
	font-size: 0;
	width: 24px;
	height: 24px;
	background-image: url("../images/icon/icon_close_white.png");
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
	font-weight: bold;
	line-height: 1;
	top: 50%;
	right: 8px;
	transform:translateY(-50%);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_header .popup_close:hover {
	cursor: pointer;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body {
	background-color: #fff;
	width: 100%;
	height: calc(100% - 62px);
	box-sizing: border-box;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body  .textchat_area_log > p:nth-last-child(odd){
	background: #fff;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body  .textchat_area_log > p:nth-last-child(even){
	background: #f4f4f4;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log > p:last-child{
	color: #bbb;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log{
	position: relative;
	text-align: left;
	margin: 0rem 0.2rem 0 0;
	border: none;
	width: auto;
	word-break: break-word;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log::-webkit-scrollbar {
	-webkit-appearance: none;
	right: 2px;
	width: 7px;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log::-webkit-scrollbar-thumb {
	border-radius: 4px;
	background-color: rgba(0,0,0,0.4);
	box-shadow: 0 0 1px rgba(255,255,255,0.5);
}
.sec_message_list .list_style_1 .list_item .user_data .popup_box > p,
.sec_message_list .list_style_1 .list_item .instructor_data .popup_box > p{
	width: 100%;
	padding: 1rem;
	box-sizing: border-box;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_footer{
    height: 52px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* close btn */
.sec_message_list .list_style_1 .user_data .popup_box .popup_close {
	display: inline-block;
	width: 2.5rem;
	height: 2.5rem;
	position: relative;
	border: none;
	cursor: pointer;
	background: #fff;
	border-radius: 2px;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_close .btn_batsu::before,
.sec_message_list .list_style_1 .user_data .popup_box .popup_close .btn_batsu::after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 2rem;
	height: 0.2rem;
	margin: auto;
	background: #555;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_close .btn_batsu::before {
	transform: rotate(-45deg);
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_close .btn_batsu::after {
	transform: rotate(45deg);
}
.sec_message_list .list_style_1 .list_item .col_right .item_data td textarea.input_comment{
	height: 100px !important;
	overflow-y: scroll !important;
}


/* FOR COUNSELOR FORM CSS*/
.list_item .col_right .item_data td textarea.input_message{
	overflow-y: scroll !important;
    resize: vertical !important;
}
.counseling_form.recommended_textbook p {
    margin: 15px 0px;
}

#counselor_message_form_data .recommended_textbook a,
#lesson_send .counselingData .counselingRecommendedTxt a,
.list_style_1 .list_item .col_right .item_data dd#recommended_textbooks a{
    cursor: default;
    pointer-events: none;
    text-decoration: none;
    color: #555;
    display: block;
	margin-bottom: 15px;
    font-size: 1.5rem;
}

#counselor_message_form_data .recommended_textbook a:first-child,
#lesson_send .counselingData .counselingRecommendedTxt a:first-child{
	margin-top: 15px;
}

#counselor_message_form_data .recommended_textbook_val{
	display: none;
}

.sec_message_list .list_style_1 .user_data .popup_box .popup_body  .textchat_area_log > p {
	padding: 1rem;
}

.sec_message_list .list_style_1 .user_data .popup_box .popup_body  .textchat_area_log p {
	width: auto;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log .correction p + p{
	margin-top: 5px;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log .correction .mistake:before,
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log .correction .correct:before{
	display: inline-block;
	vertical-align: middle;
	margin-right: 4px;
	line-height: 1;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log .correction .mistake:before{
	content: url("../images/chat/ic-mistake.svg");
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log .correction .correct:before{
	content: url("../images/chat/ic-check-grn.svg");
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log .correction .mistake .focus,
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log .correction .correct .focus{
	text-decoration: underline;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log .correction .mistake .focus{
	color: #FF4444;
}
.sec_message_list .list_style_1 .user_data .popup_box .popup_body .textchat_area_log .correction .correct .focus{
	color: #31C327;
}