body{

}

#chat{
	width: 100%;
	background-color: transparent;
	margin: 0 auto;
	border-radius: 5px;
	margin-bottom: 10px;
}

.chat_titre{
	vertical-align: middle;
	height: auto;
}

.redac{
	width: 100%;
	background-color: #1976D2;
	margin: 0 auto;
}

.contenu_chat{
	height: 400px;
	width: 100%;
	overflow: hidden;
}

.loader_chat {

position : absolute;
background : url('image/loaderv3.svg') 50% 50% no-repeat;
background-color: #fff;
z-index: 999;
/*top : 0px;*/
vertical-align: top;
left : 0px;
text-align: center;
height : 400px;
width : 100%;
cursor : wait;
transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.loader_chat.hidden
{
	visibility: hidden;
	opacity: 0;
}

#contenu_chat_hidden
{
	background-color: var(--chat-font);
	position: relative;
	text-align: left;
	padding: 4%;
	padding-top: 1%;
	height: 100%;
	width: 100%;
}

.message_chat
{
	margin-top: 10px;
	line-height: normal;
	vertical-align: middle;
}

.pseudo_chat{
	display: inline-block;
	vertical-align: middle;
	width: auto;
	color: var(--text);
}

.message{
	display: inline-block;
	max-width: 63%;
	vertical-align: middle;
	color: #646464;
	font-size: 14px;
	background: #efefef none repeat scroll 0 0;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 0;
	padding: 10px;
	word-wrap: break-word;
}

.message img
{
	vertical-align: middle;
}

.avatar-chat
{
	border-radius: 50%;
	overflow: hidden;
	/*border: 2px solid #12cbc4;*/
	width: 40px;
	height: 40px;
	display: inline-block;
	vertical-align: middle;
}

#input_message{
	border: none;
	position: relative;
	width: 100%;
	height: auto;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	background: var(--titre-font);
	color: #00cdc4;
	word-wrap: break-word;
	text-align: center;
	box-shadow: 0px -5px 20px -11px rgba(0, 0, 0, 0.5);
}

.h2_chat
{
	color: #00bcd4;
	display: block;
	max-height: 50px;
	vertical-align: top;
	margin-top: 10px;
	word-break: break-word;
}

#message{
	border-radius: 0;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	border: none;
	width: 80%;
	height: 60%;
	margin-top: 5px;
	display: inline-block;
	color: var(--text);
	padding: 15px;
	background-color: var(--secondary);
}

.submit-chat
{
	height: 54px;
	border-radius: 0;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border: none;
	width: 10%;
	cursor: pointer;
	display: inline-block;
	padding: 0;
	margin-top: 5px;
	vertical-align: top;
	background-color: var(--secondary);
	background-image: url(image/fleche.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 25px;
	color: #00bcd4;
}

.textarea .emojis
{
	height: 54px;
	width: 10%;
	display: inline-block;
	vertical-align: top;
	margin-top: 5px;
}

.textarea .emojis .fa-smile
{
	font-size: 25px;
	line-height: 54px;
}

#smiley
{
	position: absolute;
	height: auto;
	background: var(--secondary);
	box-shadow: 0 0 10px gray;
	border-radius: 5px;
	padding: 10px;
	transform: scale(0);
	transition: transform 1s, opacity .25s;
	right: 0;
	opacity: 0;
}

#smiley.close
{
	transform: scale(0);
}

#smiley.open
{
	transform: scale(1);
	transition: transform .25s;
	opacity: 1;
}

#souligne{
	content: "";
	width: 0;
	height: 2px;
	left: 3.5%;
	position: absolute;
	background: var(--chat-ligne);
	transition: .25s;
	left: 50%;
	transform: translateX(-50%);
/*border-left:20px solid transparent;
border-right:20px solid transparent;
border-top: 20px solid #fff;
position: absolute;
bottom: 16px;
margin: 0;*/
}

.textarea{
	margin: 0 auto;
	background: var(--secondary);
	display: inline-block;
	width: 100%;
	height: 90px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	/*box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);*/
}

.submit-message{
	margin: 0 auto;
	width: 40%;

}

input{
	width: 100%;
	border-radius: 10px;
	background-color: transparent;
	border: 2px solid #12cbc4;
	color: #fff;
}

.avatar-chat img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	vertical-align: middle;
	border: 2px solid #00cbd4;
}

li
{
	list-style: none;
}

.menu_mod
{
	width: 40%;
	height: auto;
	background: var(--secondary);
	box-shadow: 0 0 5px grey;
	padding: 10px;
	position: absolute;
	transform: scale(0);
	transition: all .25s;
	overflow: hidden;
	text-align: center;
	border-radius: 5px;

}

.menu_mod a
{
	text-align: center;
	padding: 10px;
}

.menu_mod.open
{
	transform: scale(1);
}

.moderation
{
	float: right;
	top: 50%;
}

.modo
{
	width: auto;
	height: 100%;
}

/*scroll
::-webkit-scrollbar {
    width: 6px;
    height: 9px;
    background: transparent;
}
::-webkit-scrollbar-track {
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 0 1px #12cbc4, inset 0 0 0 6px #12cbc4;
    -webkit-border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgb(79, 192, 240), inset 0 0 0 6px rgb(79, 192, 240);
}
::-webkit-scrollbar-thumb:horizontal {
    border-right-width: 0;
    border-bottom-width: 4px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
}
::-webkit-scrollbar-corner {
    background-color: #12cbc4;
}
*/
