body,html{
	height: 100%;
	margin: 0;
	background: #c0c7ce;
}
.FlexContainer{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	min-width: 1180px;
	height: 100vh;
	overflow: hidden;
}
*:focus{
	outline: none;
}
.SideBar{
    width: 64px;
    background: #3e3e3e;
    height: 100vh;
}
.SideBar .Logo{
	position: relative;
    z-index: 2;
}
.SideBar ul{
	display: flex;
	flex-flow: column nowrap;
	height:inherit;
}
.SideBar li{
	list-style: none;
	height: 70px;
	display: flex;
}
.SideBar i{
	font-size: 33px;
    color: #6f7776;
    padding: 0;
	width: 64px;
    text-align: center;
}
.SideBar i.active{
	color: #fff;
	background-color: transparent !important;
}
.SideBar .badge{
	top: -44px;
    right: 52px;
    position: relative;
}
.SideBar li div{
	display: none;
	white-space: nowrap;
    list-style: none;
    height: 24px;
    padding: 0;
    float: right;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-right: 6px;
    margin-top: 9px;
	z-index: 5;
}
.SideBar li:hover div{
	display: block;
}
.SideBar .settings{
	position: fixed;
	bottom: 0px;
	height: 45;
}
@media(max-height: 465px){
	.SideBar .settings{
		position: unset;
	}	
}
.Profile{
    width: 50px;
	margin: 20px 0 0 20px;
	padding:1px;
}
.Profile .Avatar{
    border-radius: 50%;
    width: 48px;
    cursor: pointer;
    position: relative;
    box-shadow: 0px 0 10px #00000024;
    z-index: 15;	
}
.Profile img{
    border-radius: 50%;
    width: 48px;
    cursor: pointer;
    position: relative;
    z-index: 20;
}
.Profile .fa-bell{
	font-size: 25px;
    color: #adb4bb;
    margin-top: 20px;
	width: 50px;
    text-align: center;
}
.Profile .badge{
	top: -42px;
    right: 0px;
    position: relative;
}
.Profile ul{
	display: flex;
	flex-direction: column;
	padding: 10px;
	border-radius: 8px;
	background-color: white;
	box-shadow: 0px 5px 10px #00000024;
	position: fixed;
	z-index: 16;
	top: 10px;
    left: -180px;
	width: 230px;
	opacity: 0;
	height: 40px;
	overflow: hidden;
}
.Profile li{
	list-style: none;
	padding: 5px;
}
.Profile .Avatar:hover ul{
	opacity: 1;
	left: 10px;
	height: 165px;
}
.Profile li a{
	color: #555;
}
.Profile li:hover *{
	color: #009788;
}
.FlexContainer2{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 1000px;
}
.ContactBox{
	width:300px;
}
.ContactBox .card-header{
	height: 63px;
}
.ContactBox .card-header ul{
	display: flex;
	flex-direction: row;
	padding: 0;
	margin: 10px 0 0 0;
}
.ContactBox .card-header li{
	list-style: none;
	color: #ffffff9e;
}
.ContactBox .searchIcon .input-group{
	height: 38px;
	overflow: hidden;
	position: absolute;
    top: 13px;
	left: 11px;
	opacity: 0;
	width: 0;
}
.ContactBox .searchIcon:hover .input-group{
	opacity: 1;
	width: calc(100% - 22px);
}
.ChatBox{
	width: 670px;
}
.ContactBox .card-footer{
	background-color: #efefef;
}
.ContactBox .card-footer *{
	color: #999;
}
@media(max-width: 1300px){
	.user_info p{
		width: 153px;
	}
}
@media(min-width: 1300px){
	.FlexContainer2{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		width: 1100px;
	}
	.ContactBox{
		width:350px;
	}
	.ChatBox{
		width: 720px;
	}
}
@media(min-width: 1450px){
	.FlexContainer2{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		width: 1250px;
	}
	.ContactBox{
		width:350px;
	}
	.ChatBox{
		width: 850px;
	}
}


/*.FlexContainer2 > *{
	flex: 1 100%;
}*/

		.chat{
			margin: 50px 0;
		}
		.card{
			height: calc(100vh - 80px);
			max-height: 850px;
			min-height: 500px;
			border-radius: 15px !important;
			background-color: #ffffff !important;
			box-shadow: 0px 0px 60px #00000024;
			border: 0 !important;
		}
		.contacts_body{
			padding:  0.75rem 0 !important;
			overflow-y: auto;
			overflow-x: hidden;
			white-space: nowrap;
		}
		.msg_card_body{
			overflow-y: hidden;
			background: #e5ddd5 url('../img/GrayBG.png');
			padding: 0 10px;
			position: relative;
			z-index: 10;
		}
		.msg_card_body post:first-child{
			margin-top:10px;
		}
		.card-header{
			border-radius: 15px !important;
			border-bottom-left-radius: 0 !important;
			border-bottom-right-radius: 0 !important;
			background: #009788;
		}
		.card-footer{
			border-radius: 15px !important;
			border-top-left-radius: 0 !important;
			border-top-right-radius: 0 !important;
			background: #ffffff;
			border: 0 !important;
		}
		.card-footer-2{
			border-radius: 15px !important;
			border-top-left-radius: 0 !important;
			border-top-right-radius: 0 !important;
			background: #e5ddd5 url('../img/GrayBG.png');
		}
		.container{
			align-content: center;
		}
		.search{
			border-radius: 0 20px 20px  0  !important;
			background-color: #ffffff !important;
			border:0 !important;
			color:#777 !important;
		}
		.search:focus{
		    box-shadow:none !important;
           	outline:0px !important;
		}
		.type_msg{
			background-color: #ffffff !important;
			border:0 !important;
			color:#777 !important;
			max-height: 120px;
			height: 35px;
			min-height: 35px;
			padding-top: 5px;
			flex-grow: 1;
			overflow-y: hidden;
		}
		.type_msg:focus{
		    box-shadow:none !important;
           	outline:0px !important;
		}
		.attach_btn{
			border-radius:0 20px 20px  0 !important;
			background-color: #ffffff !important;
			border:0 !important;
			color: #888 !important;
			cursor: pointer;
			font-size: 23px;
		}
		.ChatLoad{
			height: calc(100vh - 175px);
			min-height: 405px;
			max-height: 755px;
			width: 100%;
			display: flex;
			align-items: center;
			background-color: #ffffff99;
			border-bottom-left-radius: 14px;
			border-bottom-right-radius: 14px;
			position: absolute;
			z-index: 25;
			top: 95px;
		}
		.ChatLoad .box{
			height: 75px;
			width: 220px;
			background-color: #009788;
			color: #fff;
			border-radius: 8px;
			margin: 0 auto;
			text-align: center;
			padding: 37px;
			box-shadow: 0px 0px 40px #00000011;
			display: none;
		}
		.send_btn{
			border-radius: 20px 0 0 20px !important;
			background-color: #ffffff !important;
			border:0 !important;
			color: #888 !important;
			cursor: pointer;
		}
		.search_btn{
			border-radius: 20px 0 0 20px !important;
			background-color: #ffffff !important;
			border:0 !important;
			color: #888 !important;
			cursor: pointer;
		}
		.contacts{
			list-style: none;
			padding: 0;
		}
		.contacts li{
			width: 100% !important;
			padding: 5px 10px;
			margin-bottom: 7px !important;
			cursor: pointer;
			height: 80px;
			background: #fff;
			display: flex !important;
		}
		.contacts li:hover{
			background-color: #efefef;
		}
		.active{
				background-color: #00978820 !important;
		}
		.contacts li time{
			position: relative;
			top:2px;
			float: left;
			font-size: 12px;
			color: #999;
		}
		.contacts .closed time{
			top:7px;
		}
		.closed p .badge{
			/*font-size: 12px;*/
			font-weight: 500;
			margin-left: 15px;
		}
		/*
		.contacts li.cat::before{
			position: absolute;
			top: 22px;
			right: -8px;
			content: '';
			background: #71587c;
			height: 15px;
			width: 15px;
			transform : rotate(45deg);
			z-index: 0;
		  }
		  
		  .contacts li.cat::after{
			position: absolute;
			content: attr(data-label);
			top: 3px;
			right: -12px;
			border-top-left-radius: 3px;
			border-top-right-radius: 3px;
			border-bottom-left-radius: 3px;
			padding: 1px 15px;
			background: #71587c;
			color: white;
			text-align: center;
			font-family: 'Roboto', sans-serif;
			box-shadow: 4px 4px 15px rgba(26, 35, 126, 0.2);
			z-index: 3;
		  }
		  .card__container{
			width: 100%;
			height: 100%;
			padding: 5px 10px;
			background:inherit;
			position: relative;
		  }*/
		.user_img{
			height: 70px;
			width: 70px;
			border:1px solid #f5f6fa15;
		
		}
		.user_img_msg{
			height: 40px;
			width: 40px;
			border:1px solid #f5f6fa15;
		
		}
	.img_cont{
			position: relative;
			height: 70px;
			width: 70px;
	}
	.img_cont_msg{
			height: 40px;
			width: 40px;
	}
	.online_icon{
		position: absolute;
		height: 10px;
		width:10px;
		background-color: #4cd137;
		border-radius: 50%;
		bottom: 0.2em;
		left: 0.4em;
		border:1px solid #ffffff10;
	}
	.WAgreen{
		background-color: #009788;
		color: #fff;
	}

	.offline{
		background-color: #c23616 !important;
	}
	.user_info{
		margin-top: auto;
		margin-bottom: auto;
		margin-right: 15px;
		text-align: right;
		width: 100%;
		direction: ltr;
		text-align: right;
		height: 58px;
	}
	.user_info span:not(.badge){
		font-size: 20px;
		color: #505050;
	}
	.user_info noti{
		color: #fff;
		font-size: 14px;
		font-weight: 200;
		float: left;
		position: relative;
		top: -20px;;
	}
	.user_info p{
		font-size: 13px;
		color: #999;
		max-width: 201px;
		margin-left: 44px;
		overflow: hidden;
		margin-bottom: 0;
		height:20px
	}
	.client_details{
		min-width:270px;
		display: flex;
		margin: 0;
		color: #ffffff60;
		padding-top: 23px;
		overflow: hidden;
	}
	.client_details li{
		list-style: none;
		margin: 0 20px;
		white-space: nowrap;
	}
	.card-header .user_info *{
		color:#fff !important
	}
	.card-header .user_info span{
		height: 30px;
		display: inline-block;
		overflow: hidden;
		width: 180px;
		/*white-space: nowrap;*/
	}
	.AddToContact{
		direction: rtl;
		font-size: 12px !important;
		cursor: pointer;
		color: #ffffff6e !important;
	}
	.AddToContact i{
		color: #ffffff6e !important;
		margin-left: 3px;
	}
	.video_cam{
		margin-right: 50px;
		margin-top: 5px;
	}
	.video_cam span{
		color: white;
		font-size: 20px;
		cursor: pointer;
		margin-left: 20px;
	}
	.msg_cotainer::before{
		content: '';
		position: absolute;
		bottom: -6px;
		border-right: 6px solid #fff;
		left: -6px;
		bottom: 0px;
		border-top: 7px solid transparent;
		box-shadow: 0px 1px 1px #00000022;
	}
	.msg_cotainer{
		margin-top: auto;
		margin-bottom: auto;
		min-width: 65px;
		margin-left: 10px;
		border-radius: 8px;
		background-color: #ffffff;
		padding: 0px;
		padding-bottom: 15px;
		/*padding-right: 40px;*/
		position: relative;
		box-shadow: 1px 1px 1px #00000022;
		border-bottom-left-radius: 0;
	}
	.msg_cotainer_send::before{
		content: '';
		position: absolute;
		bottom: -6px;
		border-left: 6px solid #e2feca;
		right: -6px;
		bottom: 0px;
		border-top: 7px solid transparent;
		box-shadow: 0px 1px 1px #00000022;
	}
	.msg_cotainer .media{
		min-height: 60px;
		width: 300px;
		background-size: cover;
		background-position: center;
		border-radius: 5px;
		margin: 3px;
	}
	.media.pdf{
		display: flex;
		border: 0 !important;
		justify-content: space-between;
		background: #0000000a url('../img/pdf.png') no-repeat 10px center;
		background-size: 45px;
	}
	.media.map{
		height: 200px;
	}
	post video{
		border-radius: 6px;
		height: 170px;
		width: 300px;
	}		
	.media.contact{
		display: flex;
		border: 0 !important;
		justify-content: space-between;
		background: #00000010 url('../img/vcard.png') no-repeat 10px center;
		background-size: 45px;
	}
	.media.pdf div,.media.contact div{
		margin: 18px 0 0 60px;
		width: 190px;
		height: 23px;
		text-align: left;
		overflow: hidden;
		color: #555;
	}
	.msg_cotainer audio{
		filter: sepia(100%) saturate(0) grayscale(0) contrast(100%) invert(0);
		border-radius: 8px;
		background: #fff;
	}
	.media.pdf i{
		margin: 15px 15px 0 0;
		font-size: 30px;
		color: #888;
	}	
	.media.img{
		height: 150px;
	}	
	.msg_cotainer .body , .msg_cotainer_send .body{
		display: block;
		padding: 8px 10px 5px 8px;
	}
	.msg_cotainer_send{
		display: block;
		margin-top: auto;
		margin-bottom: auto;
		min-width: 65px;
		text-align: right;
		margin-right: 10px;
		border-radius: 8px;
		background-color: #e2feca;
		padding: 0px 8px;
		padding-bottom: 15px;
		/*padding-left: 40px;*/
		position: relative;
		box-shadow: 1px 1px 1px #00000022;
		border-bottom-right-radius: 0;
	}
	post audio{
		margin-bottom: -20px;
	}
	.msg_cotainer_send audio::-webkit-media-controls-panel, .msg_cotainer_send video::-webkit-media-controls-panel {
			background-color: #e2feca;
	}
	post{
		cursor:default;
	}
	post .FlexWrapp{
		display: flex;
		flex-direction: column;
	}
	post .msg_cotainer_send{
		cursor:help;
	}
    post .new{
        animation-duration: 0.35s;
        animation-iteration-count:1;
        animation-name: bounce;
	}
	post .SenderName{
		height:0px;
		color: #777;
		overflow: hidden;
		font-size: 12px;
		opacity: 0;
		margin-right: 5px;
	}
	/*post:hover .SenderName{
		height:16px;
		opacity: 1;
	}*/
	.split{
		background: #ffefb3;
		width: 55%;
		padding: 0 0 3px 0;
		margin: 0 auto;
		display: block;
		border-radius: 6px;
		text-align: center;
		font-size: 14px;
		box-shadow: 1px 1px 1px #00000022;
	}
	.NotDeleivered{
		color: red;
	    background: -webkit-linear-gradient(to to, #e2feca, #ffcdcd);
	    background: linear-gradient(to top, #e2feca, #ffcdcd);
	}
	.Client-Options{
		width: 25px;
		display: block;
		text-align: left;
		padding-left: 10px;
	}
	.chat_empty{
		padding:250px 0 0 0;
		text-align: center;
		color: #cccccc;
		background: transparent url('../img/empty_chat.png') no-repeat center 50px;
	}
    @keyframes bounce {
		0%   { transform: scale(0,0)    	translate(100px,20px); }
		50%  { transform: scale(1.2,1.2) ; background-color:#fff}
		100% { transform: scale(1,1)    	translate(0px,0px); background-color: #e2feca; }
    }
	.msg_time{
		position: absolute;
		right: 8px;
		bottom: 2px;
		color: #777;
		font-size: 11px;
		direction: ltr;
	}
	.msg_time_send{
		position: absolute;
		right:8px;
		bottom: 2px;
		color: #999;
		font-size: 11px;
		direction: ltr;
	}
	.msg_time_send i{
		padding-left: 5px;
		color: #c5c5c5;
	}
	.msg_time_send i.read{
		color: rgb(4, 178, 247);
	}
	.msg_head{
		position: relative;
	}
	#action_menu_btn{
		position: absolute;
		left: 20px;
		top: 34px;
		color: white;
		cursor: pointer;
		font-size: 20px;
		display: none;
	}
	.action_menu{
		z-index: 20;
		position: absolute;
		padding: 15px 0;
		background-color: #fffffff2;
		color: #555;
		border-radius: 15px;
		top: 30px;
		left: 15px;
		display: none;
		width: 210px;
		text-align: right;
		box-shadow: 2px 3px 3px #00000022;
	}
	.action_menu ul{
		list-style: none;
		padding: 0;
	margin: 0;
	}
	.action_menu ul li{
		width: 100%;
		padding: 10px 15px;
		margin-bottom: 5px;
	}
	.action_menu ul li i{
		padding-left: 10px;
	
	}
	.action_menu ul li:hover{
		cursor: pointer;
		background-color: rgba(0,0,0,0.2);
	}
	@media(max-width: 576px){
		.contacts_card{
			margin-bottom: 15px !important;
		}
	}

	::-webkit-scrollbar {
		width: 5px;
	  }
	  
	  /* Track */
	  ::-webkit-scrollbar-track {
		background: transparent; 
	  }
	   
	  /* Handle */
	  ::-webkit-scrollbar-thumb {
		background: #00978855; 
		border-radius: 5px;
	  }
	  
	  /* Handle on hover */
	  ::-webkit-scrollbar-thumb:hover {
		background: #00978899; 
	  }


	.CatLabel label{
		width: 180px;
		justify-content: right;
		padding-right: 30px;
	}
	.CatLabel select{
		width: 200px !important;
	}
	* {font-family: 'Tajawal', sans-serif};


	.swal2-styled:focus {
		box-shadow:0 0 0 0px rgba(255,255,255,.5) !important; 
	}
	.context-menu{
		transition: background-color .5s ease-in-out;
		-moz-transition: background-color .5s ease-in-out;
		-webkit-transition: background-color .5s ease-in-out; 
	   -o-transition: background-color .5s ease-in-out; 
	}



@keyframes ball { 
	from {
		transform: translateY(0) scaleY(.8);
	}
	to {
		transform: translateY(-10px);
	}
}




.lds-ellipsis {
	position: relative;
	width: 110px;

  }
  .lds-ellipsis div {
	position: absolute;
	top: -20px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #fff;
	animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
	left: 8px;
	animation: lds-ellipsis1 0.4s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
	left: 8px;
	animation: lds-ellipsis2 0.4s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
	left: 32px;
	animation: lds-ellipsis2 0.4s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
	left: 56px;
	animation: lds-ellipsis3 0.4s infinite;
  }
  @keyframes lds-ellipsis1 {
	0% {
	  transform: scale(0);
	}
	100% {
	  transform: scale(1);
	}
  }
  @keyframes lds-ellipsis3 {
	0% {
	  transform: scale(1);
	}
	100% {
	  transform: scale(0);
	}
  }
  @keyframes lds-ellipsis2 {
	0% {
	  transform: translate(0, 0);
	}
	100% {
	  transform: translate(24px, 0);
	}
  }
a:hover{
	text-decoration: none;
}
  
ul,div:not(.action_menu):not(.lb-outerContainer):not(.lb-outerContainer){
    -webkit-transition: width 0.8s ease, height 0.5s ease,opacity 0.5s ease, left 0.5s ease;
    -moz-transition: width 0.8s ease, height 0.5s ease,opacity 0.5s ease, left 0.5s ease;
    -o-transition: width 0.8s ease, height 0.5s ease,opacity 0.5s ease, left 0.5s ease;
	transition: width 0.8s ease, height 0.5s ease,opacity 0.5s ease, left 0.5s ease;
}

.fg-emoji-picker-container-title{
	margin: 0 !important;
    height: 0 !important;
    padding: 0 !important;
}

*{outline: none;}