/*!
 * Murasel Chat v2.9.0
 * https://framework.wsoum.eu.org/murasel/
 *
 * Copyright (c) Wsoum
 * Released under the MIT license
 * https://framework.wsoum.eu.org/murasel/license
 *
 * Date: 2020-01-16 22:42 GMT+1
 */

#borders1_mess {
	width: 29%;
	float: right;
	/* margin-right: 25px; */
	margin-bottom: 3%;
	border: 3px solid #1aab90;
	border-radius: 15px;
	background: #fff;
}


#drop-chat1_mess {
	float: left;
	text-indent: 45px;
	text-align: right;
	font-size: 18px;
	/* cursor: pointer; */
	height: 40px;
	color: #2a4057;
	width: 100%;
	border-radius: 11px 11px 0px 0px;
}


.n_chat_mess {
	font-family: "Droid Arabic Naskh" ,Open Sans, sans-serif;
	font-size: 20px;
	color: #fff;
	line-height: 22px;
	text-indent: 0;
	margin-top: 7px;
	margin-right: 22px;
}



#affi1_mess {
	font-family: Arial, sans-serif;
	height: 657px;
	height: 72vh;
	/* width: 95%; */
	background: #eef5ff;
	font-size: 18px;
	padding: 8px;
	overflow-y: scroll;
	overflow-x: hidden;
	word-break: break-word;
	background: #fff;
	border-bottom: 1.6px solid rgba(0, 0, 0, 0.28);
	border-radius: 0px 0px 1px 1px;
}





#chats1_mess:focus {
	border: 2px solid #1aab90;
	box-shadow: 0px 0px 8px 0px rgba(26, 171, 144, 0.61);
}



/* 2px solid rgba(55, 103, 152, 0.79); */


#chats1_mess {
	outline: none;
	padding: 6px;
	padding-right: 11px;
	width: 64%;
	height: 30px;
	/* margin: 0 auto; */
	float: right;
	margin-right: 5%;
	text-align: right;
	direction: rtl;
	font-size: 19px;
	color: #3f4c67;
	border: 2px solid #2b58548a;
	border-radius: 5px;
	resize: none;
	margin-top: 2px;
	/* margin-left: 10px; */
	font-family: Arial, sans-serif;
	margin-bottom: 10px;
}





#inp1_mess {
	outline: none;
	cursor: pointer;
	font-size: 18px;
	text-align: center;
	padding: 5px;
	float: right;
	margin-right: 3%;
	margin-top: 2px;
	height: 44px;
	width: 50px;
	background: #1aab90;
	color: #fff;
	border: none;
	border-radius: 5px;
}






#chot1_mess {
	margin-top: 10px;
	margin-bottom: 5px;
}






#names_mess:hover {
	background: #dedede;
	transition: 0.2s;
}


#names_mess {
	clear: both;
	cursor: pointer;
	min-height: 50px;
	float: right;
	direction: rtl;
	width: 94%;
	text-align: right;
	padding: 5px;
	margin: 5px;
	margin-top: 7px;
	margin-bottom: 6px;
	background: #e8e8e8;
	color: #3f4c67;
	border-radius: 12px;
	transition: 0.2s;
}



#names_mess a {
	color: #2a4057;
	text-decoration: none;
}



#names_mess img {
	margin: 0 auto;
	float: right;
	height: 50px;
	width: 50px;
	border-radius: 50%;
	margin-right: 6px;
}


.sender_chat_mess {
    margin-top: 5.5px;
    float: right;
    min-width: auto;
    /* max-width: 69vw; */
}

.name_mess {
	float: right;
	margin-right: 10px;
	font-size: 18px;
	word-wrap: break-word;
}

.date_chat_mess {
    float: right;
    color: #b1b1b1;
    margin-right: 10px;
    /* margin-top: 13px; */
    font-size: 17.5px;
    clear: both;
}


.name-line_mess {
	float: left;
	background: #c5c5c5;
	border-radius: 50%;
	margin-top: 17px;
	margin-bottom: 8px;
	height: 12px;
	margin-left: 16px;
	margin-right: 8px;
	width: 12px;
	/* color: #ff0200; */
}




#chat-line_mess {
	font-size: 30px;
	float: left;
	background: #e8e8e8;
	border-radius: 50%;
	margin-top: 12px;
	margin-left: 28px;
	height: 14px;
	width: 14px;
}





#borders_mess {
	float: right;
	border: 3px solid #1aab90;
	bottom: 0;
	margin-right: 1.5%;
	margin-bottom: 3%;
	width: 58%;
	border-radius: 10px;
	background-color: #fff;
}

#head-chat_mess {
	text-indent: 45px;
	text-align: right;
	font-size: 18px;
	background: #1aab90;
	height: 40px;
	color: #2a4057;
	width: 100%;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.26);
	border-bottom: 3px solid silver;
	border-radius: 5px 5px 0px 0px;
}



#name-chat_mess {
	float: right;
	direction: rtl;
	margin-top: 6px;
	margin-right: 33px;
	text-indent: 0;
}



#name-chat_mess a:hover {
	text-decoration: underline;
}

#name-chat_mess a {
	font-family: Open Sans, sans-serif;
	font-size: 18px;
	line-height: 25px;
	color: #fff;
	text-decoration: none;
}


#scrolls_mess {
	text-align: center;
	font-size: 18px;
	background: #ecf0f1;
	cursor: pointer;
	height: 55px;
	color: #2a4057;
	width: 100%;
	border-bottom: 3px solid silver;
	border-radius: 5px 5px 0px 0px;
}

#scrolls_mess img {
	margin-bottom: -6px;
	margin-top: 12px;
	margin-left: 4px;
}

#affi_mess {
	font-family: Open Sans, sans-serif;
	height: 650px;
	height: 71vh;
	/* width: 98%; */
	margin-bottom: 8px;
	background: #eef5ff;
	font-size: 18px;
	padding: 8px;
	/* overflow: auto; */
	overflow-y: scroll;
	overflow-x: hidden;
	/* word-break: break-word; */
	background: #fff;
	border-bottom: 1.6px solid rgba(0, 0, 0, 0.28);
	border-radius: 0px 0px 1px 1px;
}

.loading_msgs_mess {
    text-align: center;
}

.loading_msgs_mess img {
    margin: 0 auto;
    width: 58px;
    height: 65%;
}







.rev_chat {
	float: right;
	padding-right: 5px;
	margin-bottom: 15px;
	width: 99%;
	border-bottom: 1.5px solid #e2e2e2;
}

img.rev_chat_avatar {
	background: #fff;
	border-radius: 8px;
	float: right;
	height: 68px;
	width: 68px;
	margin: 4px;
	margin-bottom: 9px;
}

.rev_chat_u {
	float: right;
	margin-top: 4px;
}

.rev_chat_name {
	float: right;
	direction: rtl;
	margin: 8px;
	color: #2a4057;
}

.rev_chat_des {
	float: right;
	margin: 8px;
	margin-top: 0px;
	font-size: 16px;
	color: #7d7d7d;
}







#chats_mess:focus {
	border: 2px solid #1aab90;
	box-shadow: 0px 0px 8px 0px rgba(26, 171, 144, 0.61);
}

#chats_mess {
	outline: none;
	padding: 6px;
	padding-right: 11px;
	width: 75%;
	float: right;
	margin-right: 1.6%;
	height: 38px;
	/* margin: 0 auto; */
	text-align: right;
	direction: rtl;
	font-size: 19px;
	color: #3f4c67;
	border: 2px solid #c1c1c1;
	border-radius: 10px;
	resize: none;
	margin-top: 3px;
	/* margin-left: 2%; */
	font-family: Arial, sans-serif;
	margin-bottom: 10px;
}


#demo_mess {
	margin: 0 auto;
    width: 74%;
    text-align: center;
    margin-bottom: 8px;
}

#errors_mess {
    margin: 0 auto;
    width: 74%;
    text-align: center;
    margin-bottom: 8px;
}

.inp_mess:hover {
    background: #2ea28c;
}

.inp_mess {
    outline: none;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    padding: 5px;
    background: #1aab90;
    background-size: 21px;
    color: #fff !important;
    border: none;
    border-radius: 10px;
}

#inpf_mess {
	user-select: none;
    float: right;
    margin-right: 10px;
    margin-top: 10px;
    height: 23px;
    width: 15px;
    padding-top: 8px;
}

#inp_mess {
	font-size: 27px;
	float: left;
	margin-left: 1.6%;
	margin-top: 3px;
	height: 52px;
	width: 50px;
}

#inpc_mess {
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    height: 35px;
}

.imoji {
    padding: 3px;
    font-size: 21px;
    border-radius: 9px;
    cursor: pointer;
}

.mess_tabs:before {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    border: 10px solid;
    border-color: #ffffff #00000000 #00000000 #00000000;
    left: 8px;
    bottom: -21px;
}



/* rgba(42, 64, 87, 0.55); */

#chats_mess::-webkit-scrollbar {
	cursor: pointer;
	width: 13px;
}


#chats_mess::-webkit-scrollbar-thumb:hover {
	background: #ababab;
}

#chats_mess::-webkit-scrollbar-thumb {
	/* border-radius: 4px; */
	border-radius: 5px;
	background: #c1c1c1;
	cursor: pointer;
	/* box-shadow: inset 0 0 6px #b6b6b6; */
}



#chats_mess::-webkit-scrollbar-track-piece {
	/* border-radius: 4px; */
	border-radius: 5px;
	/* background: #e8e8e8; */
	background: #efefef;
	/* box-shadow: inset 0 0 6px #dedede; */
}







/* #mess_mess {
	background: #25c7a3;
	border-radius: 5px;
	min-height: 21px;
	margin-bottom: 8px;
	padding: 6px;
} */


.msg_a {
	clear: both;
}

.msg_b {
	clear: both;
}

img.msg_chat_avatar {
	border-radius: 50%;
	float: left;
	height: 42px;
	width: 42px;
	margin: 3px;
	margin-top: 0px;
}


.msg_a .msg {
	/* user-select: text; */
	/* clear: both; */
	background: #1aab90;
	color: #fff;
	padding: 10px;
	/* min-height: 15px; */
	margin-bottom: 13px;
	position: relative;
	float: right;
	direction: rtl;
	margin-right: 10px;
	border-radius: 10px;
	word-wrap: break-word;
	/* min-width: 73px; */
	/* margin-left: 40%; */
	max-width: 67%;
}

.msg_a .msg:before {
	content: "";
	position: absolute;
	width: 0px;
	height: 0px;
	border: 10px solid;
	border-color: transparent transparent transparent #1aab90;
	right: -18px;
	top: 7px;
}


.msg_a .msg a:hover {
	background: #1abfaf;
}

.msg_a .msg a {
	color: #fff;
	text-decoration: underline;
}







.msg_b .msg {
	/* user-select: text; */
	/* clear: both; */
	background: #e8e8e8;
	color: #3f4c67;
	padding: 10px;
	/* min-height: 15px; */
	margin-bottom: 13px;
	position: relative;
	float: left;
	direction: ltr;
	margin-left: 9px;
	border-radius: 10px;
	word-wrap: break-word;
	/* min-width: 73px; */
	/* margin-right: 40%; */
	max-width: 67%;
}

.msg_b .msg:after {
	content: "";
	position: absolute;
	width: 0px;
	height: 0px;
	border: 10px solid;
	border-color: transparent #e5e8e8 transparent transparent;
	left: -18px;
	top: 7px;
}


.msg_b .msg a:hover {
	background: #f9f9f9;
}

.msg_b .msg a {
	color: #009688;
}



.href_text_mess:hover {
	text-decoration: none;
	transition: 0.5s;
}
.href_text_mess {
	color: #009688;
	text-decoration: underline;
	transition: 0.5s;
}





.msg_a .des_msg {
    float: right;
	font-size: 14px;
    margin-right: 13px;
    margin-top: -8px;
    margin-bottom: 9px;
    clear: both;
}

.msg_b .des_msg {
    float: left;
	font-size: 14px;
    margin-left: 53px;
    margin-top: -8px;
    margin-bottom: 9px;
    clear: both;
}


.timed {
    float: right;
    font-size: 15px;
    color: #a2a2a2;
}

.errored {
    float: right;
    font-size: 15px;
    color: #e01717;
}

.sended {
	float: right;
    font-size: 15px;
    color: #a2a2a2;
}

.seened {
	float: right;
    font-size: 15px;
    color: #a2a2a2;
}

.clicked {
	float: right;
    font-size: 15px;
    color: #1dd43e;
}


.msg_a .des_time {
    margin-right: 7px;
	font-size: 14px;
    color: #a2a2a2;
}

.msg_b .des_time {
    margin-left: 7px;
	font-size: 14px;
    color: #a2a2a2;
}




.msg_tm_mess {
	clear: both;
}

.tm_mess {
	/* clear: both; */
	background: #e8e8e8;
	color: #2a4057;
	padding: 10px;
	/* min-height: 15px; */
	margin-bottom: 12px;
	position: relative;
	float: left;
	direction: ltr;
	margin-left: 10px;
	border-radius: 10px;
	/* word-wrap: break-word; */
	/* min-width: 73px; */
	/* margin-right: 40%; */
	/* max-width: 78%; */
}



.tm_mess img {
	margin-top: -8px;
	margin-bottom: -15px;
	padding: 2px;
	height: 41px;
	width: 51px;
	border-radius: 50%;
}




.tm_mess:after {
	content: "";
	position: absolute;
	width: 0px;
	height: 0px;
	border: 10px solid;
	border-color: transparent #e8e8e8 transparent transparent;
	left: -18px;
	top: 7px;
}







#ecrite_mess {
	text-align: center;
	font-size: 18px;
	background: #ecf0f1;
	cursor: pointer;
	height: 55px;
	color: #2a4057;
	width: 100%;
	border-bottom: 2px solid silver;
	border-radius: 5px 5px 0px 0px;
}

#ecrite_mess img {
	margin-bottom: -8px;
	margin-top: 12px;
	border-radius: 50%;
	margin-left: 7px;
}

#tm img_mess {
	margin-top: -8px;
	margin-bottom: -15px;
	padding: 2px;
	height: 41px;
	width: 51px;
	border-radius: 50%;
}
	
	
	
	
	
	/* tablet2 */
@media( max-width: 1000px ){
	
#names_mess {
	width: auto;
	width: -webkit-fill-available;
	width: -moz-available;
}

#chats1_mess {
	width: 50%;
}

#chats_mess {
	width: 68%;
}

	
}




/* tablet1 telephone2 */
@media( max-width: 768px ){

#borders1_mess {
    width: 25%;
}

#borders_mess {
	width: 71%;
}

#affi_mess {
	width: auto;
	width: -webkit-fill-available;
	width: -moz-available;
	height: 55vh;
}


#chats_mess {
	width: 67%;
}


#affi1_mess {
	height: 58vh;
	padding: 5px;
}

#chats1_mess {
	width: 49%;
}


#names_mess {
	width: auto;
	width: -webkit-fill-available;
	width: -moz-available;
}

/*
.name_mess {
	display: none;
	visibility: hidden;
}
*/


}


	/* telephone1 */
	
@media( max-width: 600px ){

#borders_mess {
	width: 69%;
}

#affi_mess {
	width: auto;
	width: -webkit-fill-available;
	width: -moz-available;
	height: 55vh;
}

#affi1_mess {
	height: 58vh;
	padding: 5px;
}

#inp1_mess {
	display: none;
	visibility: hidden;
}


#chats_mess {
	width: 62%;
}


#inp_mess {
	width: 19%;
	margin-right: 3%;
	border-radius: 10px;
}

#names_mess {
	width: auto;
	width: -webkit-fill-available;
	width: -moz-available;
}



	
.name_mess {
	display: none;
	visibility: hidden;
}

#chat-line_mess {
	margin-left: 7%;
}

	
}
