/**Misc**/
/*Colors*/
.text-white {
	color: #ffffff !important;
}

/*Bg*/
.bg-danger {
	background-color: #dc3545 !important;
}

/*Warning*/
.warning-trigger {
	display: none !important;
}

/*Remove back button*/
.page-head .btn-group-devided {
	display: none
}

/**Misc**/

/**Notifications bar**/
#notifications-bar {
	width: 30%;
	height: 100vh;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.8);
	position: fixed;
	z-index: 1001;
	top: 0;
	left: 0;
	display: none;
}

#notifications-title {
	width: 100%;
	height: 66px;
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 0.025em;
	line-height: 66px;
	padding-left: 10px;
	background-color: #30a5ff
}

#notifications-close {
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 20px;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	background-color: red;
	border-radius: 100% !important;
	float: right;
	cursor: pointer;
	position: relative;
	top: 23px;
	right: 10px;
}

#notifications-data {
	max-width: 100%;
	height: calc(100vh - 66px);
	overflow: hidden auto;
	padding: 10px;
}

.notification-card {
	max-width: 100%;
	color: #000;
	background-color: rgba(255, 255, 255, 0.9);
	border: 1px solid #fff;
	border-radius: 5px !important;
	margin-bottom: 10px;
	overflow: hidden;
}

/*Followup*/
.followup-notification-type {
	font-size: 14px;
	font-weight: 300;
	color: #fff;
	padding: 10px;
	margin-bottom: 3px;
	background-color: #1B2934;
}

.followup-lines {
	padding: 0 10px 3px 10px;
}

.followup-lines span {
	color: #333;
	font-weight: 600;
}

@keyframes flashDanger {
  from {background-color: #c82333;}
  to {background-color: #000;}
}

.flash-card{
	max-width: 100%;
	line-height: 46px;
	font-size: 16px;
	color: #fff;
	text-align: center;
	background-color: #c82333;
	border: 1px solid #fff;
	border-radius: 5px !important;
	margin-bottom: 10px;
	display: block;
}

.flash-card:link,
.flash-card:hover,
.flash-card:active,
.flash-card:visited{
	color: #fff;
	text-decoration: none;
}

.flash-card.danger{
	animation: flashDanger 1s linear infinite alternate;
}

/**Notifications bar**/

/**Footer**/
.footer-flex {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
}

.footer-flex>div {
	margin-right: 30px;
}

/**Footer**/

/**CHAT**/
#chat-users,
.chat-box {
	position: fixed;
	bottom: 0;
	z-index: 999;
}

#chat-users{
	right: 30px;
}

@media all and (max-width: 1440px){
	#chat-users,
	.chat-box {
		width: 20%;
	}
}

@media all and (min-width: 1441px){
	#chat-users,
	.chat-box {
		width: 15.66%;
	}
}

#chat-users-head {
	color: #fff;
}

#chat-users-head,
.chat-box-head {
	width: 100%;
	height: 40px;
	padding: 5px 10px;
	background-color: #444d58;
	border-radius: 3px 3px 0 0 !important;

	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
}

#chat-users-toggle {
	padding: 0 5px;
}

.chat-box-head {
	background-color: #009688 !important;
}

#chat-users-body,
.chat-box-body {
	width: 100%;
	background-color: #fff;
	box-shadow: 0 10px 10px 2px #dadada;
	display: none;
}

#chat-users-body {
	position: relative;
}

.chat-users-toggle,
.chat-box-title {
	font-size: 13px;
	font-weight: 400;
	color: #fff;
}

#chat-users-title,
.chat-box-title {
	flex-grow: 100;
}

#chat-users-title,
.chat-box-title {
	text-align: left;
}

#chat-users-toggle {
	font-size: 18px;
	cursor: pointer;
}

.chat-box-group,
.chat-box-toggle,
.chat-box-close {
	font-size: 18px;
	color: #fff;
	cursor: pointer;
}

.chat-box-group {
	padding-left: 10px;
	text-align: right;
}

.chat-box-toggle{
	padding: 0 10px;
}

.chat-box-close{
	padding-right: 10px;
}

#chat-users-toggle i.down,
.chat-box-toggle i.down {
	transform: rotateZ(180deg);
}

#chat-users-search,
#chat-group-search {
	text-align: center;
	height: 50px;
	padding: 10px;
}

#chat-users-input,
#chat-group-input {
	width: 100%;
	color: #000;
	padding: 5px 15px;
	background: #efefef;
	border: 1px solid #009688;
	border-radius: 3px !important;
}

#chat-users-input::placeholder,
#chat-group-input::placeholder {
	color: #333;
	opacity: 1;
}

#chat-users-list {
	margin: 0;
	overflow: hidden auto;
}

#chat-users-list,
#chat-group-list,
.chat-box-list>ul {
	padding: 0px;
	list-style-type: none;
}

#chat-group-list {
	height: calc(70vh - 154px);
	margin: 0;
	overflow: hidden auto;
}

.chat-users-list,
.chat-group-list,
.chat-group-bottom {
	padding: 10px 20px;
	border-bottom: 1px solid #ddd;
	transition: background 0.5s;
	cursor: pointer;
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
}

.chat-users-list,
.chat-group-list {
	justify-content: space-between;
}

.chat-users-list:hover {
	background-color: #DAF4F0;
}

.chat-users-initial {
	width: 30px;
	height: 30px;
	text-align: center;
	color: #efefef;
	background-color: #666;
	border-radius: 100% !important;
}

.initial-1 {
	background-color: #2196F3;
}

.initial-2 {
	background-color: #2026B2;
}

.initial-3 {
	background-color: #FA4638;
}

.initial-4 {
	background-color: #333;
}

.initial-5 {
	background-color: purple;
}

.initial-6 {
	background-color: #009688;
}

.chat-users-info {
	font-weight: 600;
	line-height: 30px;
}

.chat-users-name {
	width: calc(100% - 70px);
	font-size: 13px;
	color: #000;
}

.chat-users-name span {
	display: table;
}

.chat-users-state {
	padding: 5px 15px;
	position: relative;
}

.chat-users-state::before {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 100%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.chat-users-state.online::before {
	background-color: #86BB71;
}

.chat-users-state.offline::before {
	background-color: #E38968;
}

.chat-users-state.group::before {
	background-color: #2196F3;
}

.chat-users-msg {
	width: 30px;
	color: #46ab1e;
	text-align: center;
	font-size: 16px;
}

#chat-users-title span {
	color: #fff;
	padding: 2px 8px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 3px !important;
	margin-left: 5px;
}

#chat-total-unread.highlight{
	background-color: #00963d;
}

#chat-users-title{
	font-size: 13px;
}

@media all and (max-width: 1440px){
	#chat-box-1 {
		right: calc((1*20%) + (2*30px));
	}

	#chat-box-2 {
		right: calc((2*20%) + (3*30px));
	}

	#chat-box-3 {
		right: calc((3*20%) + (4*30px));
	}
}

@media all and (min-width: 1441px){
	#chat-box-1 {
		right: calc((1*15.66%) + (2*30px));
	}

	#chat-box-2 {
		right: calc((2*15.66%) + (3*30px));
	}

	#chat-box-3 {
		right: calc((3*15.66%) + (4*30px));
	}
}

.chat-box-body {
	padding-bottom: 40px;
	position: relative;
	overflow-y: hidden;
}

.chat-box-list {
	overflow: hidden auto;
}

@media all and (max-width: 1440px){
	#chat-users-list{
		height: calc(360px - 10px);
	}
	.chat-box-list {
		height: 360px;
	}
}

@media all and (min-width: 1441px){
	#chat-users-list{
		height: calc(400px - 10px);
	}
	.chat-box-list {
		height: 400px;
	}
}

.chat-box-item {
	font-size: 13px;
	padding: 10px 20px;

	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-items: flex-start;
}

.chat-box-item.alt {
	align-items: flex-end;
}

.chat-box-stamp {
	padding-bottom: 10px;
}

.chat-box-info {
	font-weight: 600;
	color: rgba(0, 0, 0, 0.5);
}

.chat-box-msg {
	width: 95%;
	color: #000;
	padding: 10px;
	background-color: #efefef;
	border-radius: 3px !important;
	position: relative;
}

.chat-box-item.chat-box-date {
	align-items: center;
}

.chat-box-date div {
	color: #fff;
	padding: 5px 20px;
	background-color: #666;
	border-radius: 3px !important;
}

.chat-box-unread div {
	width: 100%;
	text-align: center;
	color: #155724;
	font-style: italic;
	padding: 5px;
	background-color: #fff;
	border: 1px solid #155724;
	border-radius: 3px !important;
}

.chat-box-focus {
	width: 1px;
	height: 1px;
	font-size: 0;
	background-color: transparent;
	border: none;
	outline: none;
}

.chat-box-item.alt .chat-box-msg {
	color: #333;
	background-color: #DAF4F0;
}

.chat-box-msg::before {
	content: '';
	width: 15px;
	height: 15px;
	transform: rotateZ(45deg);
	background-color: #efefef;
	position: absolute;
	top: -7.5px;
	left: 10px;
}

.chat-box-item.alt .chat-box-msg::before {
	background-color: #DAF4F0;
	left: auto;
	right: 10px;
}

.chat-box-form {
	width: 100%;
	background-color: #eeeeee;
	position: absolute;
	bottom: 0;
	left: 0;
}

.chat-box-input {
	width: calc(100% - 40px);
	float: left;
}

.chat-box-input input {
	width: 100%;
	height: 40px;
	padding: 0 5px;
	background-color: #efefef;
	border-width: 1px 0 0 1px;
	border-style: solid;
	border-color: #009688;
	outline: none;
}

.chat-box-send {
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	color: #fff;
	background-color: #009688;
	float: right;
}

#chat-shadow-parent {
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 9996;
	position: fixed;
	top: 0;
	left: 0;
}

#chat-shadow-parent.hide {
	display: none;
}

#chat-shadow-child {
	width: 50%;
	height: 70vh;
	background: #fff;
	border-radius: 5px !important;
	position: absolute;
	right: 50%;
	bottom: 50%;
	transform: translate(50%, 50%);
}

#chat-shadow-title {
	padding: 10px 20px;
	font-size: 20px;
	font-weight: 300;
	color: #fff;
	background: #009688;
}

#chat-group-bottom {
	width: 100%;
	padding: 0;
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
}

#chat-users-bottom i {
	font-size: 20px;
}

.chat-group-bottom {
	background-color: #333;
	cursor: default;
}

.chat-group-bottom.action-buttons {
	border: none;
}

.chat-group-bottom button {
	color: #fff !important;
	border-radius: 3px !important;
}

#chat-group-create {
	background-color: #28a745;
	margin-right: 10px;
}

#chat-group-close {
	background-color: #dc3545;
}

.chat-group-bottom>div {
	min-height: 30px;
	overflow: auto hidden;
}

.chat-group-selection {
	color: #000;
	line-height: 30px;
	white-space: pre;
	padding: 5px;
	background-color: #fff3cd;
	margin: 0 5px;
}

div>.chat-group-selection:first-child {
	margin-left: 0;
}

.chat-group-selection i {
	font-size: 18px;
	cursor: pointer;
	margin-right: 5px;
}

.chat-group-selection cite {
	font-style: normal;
}

.chat-box-title a {
	color: #fff !important;
	text-decoration: none;
}

/**CHAT**/