header {
	display: flex;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	height: 70px;
	z-index: 10;
	background-color: #fff;
    box-shadow: rgba(18, 38, 63, 0.03) 0px 0.75rem 1.5rem;
}
header .navicon {
	display: none;
}
header .logo {
	position: relative;
	width: 250px;
	height: 70px;
	background-color: #262b3b;
	text-align: center;
	padding: 20px;
	transition: all .3s;
}
header .logo img {
	height: 30px;
	display: block;
	margin: 0 auto;
}
header .logo .menu-control {
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	left: -50px;
}
header .logo .menu-control i {
	font-size: 20px;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f5f5f5;
}
header .actions {
	margin-right: auto;
	padding: 0 20px;
}
header .actions > ul,
header .actions > ul > li {
	display: flex;
	align-items: center;
	font-size: 12px;
}
header .actions > ul > li {
	position: relative;
	cursor: pointer;
	padding: 20px 0;
}
header .actions > ul > li > a {
	display: block;
	padding: 0 20px;
}
header .actions > ul > li img {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	margin-left: 10px;
}
header .actions > ul > li .score {
	display: flex;
	align-items: center;
	direction: ltr;
	margin-top: 5px;
}
header .actions > ul > li .score img {
	width: 16px;
	height: 16px;
	margin: 0 1px 5px;
}
header .actions > ul > li .score span {
	margin-left: 10px;
}
header .actions > ul > li i {
	margin-right: 5px;
}
header .actions > ul > li > ul {
	position: absolute;
	top: 100px;
	left: 0;
	width: 170px;
	background-color: #fff;
	padding: 10px 0;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.25);
	border-radius: 5px;
	visibility: hidden;
	opacity: 0;
}
header .actions > ul > li:hover > ul {
	top: 70px;
	visibility: visible;
	opacity: 1;
}
header .actions > ul > li > ul > li a {
	display: flex;
	align-items: center;
	padding: 5px 15px;
}
header .actions > ul > li > ul > li a:hover {
	background-color: var(--bg);
}
header .actions > ul > li > ul > li a i {
	font-size: 16px;
	margin-left: 5px;
	width: 20px;
}
header .actions > ul > li > a > .unseen {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 16px;
	height: 16px;
	background-color: var(--danger);
	border-radius: 16px;
	color: #fff;
	font-family: sans-serif;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

aside {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 250px;
	background-color: var(--night);
	padding-top: 90px;
	color: #a4aecd;
	overflow: auto;
	transition: all .3s;
}
aside::-webkit-scrollbar {
	width: 4px;
}
aside::-webkit-scrollbar-track {
	background: transparent;
}
aside::-webkit-scrollbar-thumb {
	background: #666f7d;
}
aside::-webkit-scrollbar-thumb:hover {
	background: #666f7d; 
}
aside nav ul li {
	position: relative;
}
aside nav ul li .badge {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translate(0, -50%);
}
aside nav ul .lead {
	font-weight: 600;
	padding: 10px 25px;
	color: #6a7187;
}
aside nav ul li a,
aside nav ul li span {
	display: flex;
	align-items: center;
	padding: 10px 25px;
	transition: all .3s;
	cursor: pointer;
	color: #a4aecd;
}
aside nav ul li a i,
aside nav ul li span i {
	font-size: 20px;
	margin-left: 10px;
	color: #6a7187;
	transition: all .3s;
}
aside nav ul li > a:hover,
aside nav ul li > a:hover i,
aside nav ul li > span:hover,
aside nav ul li > span:hover i {
	color: #fff;
}
aside nav ul li span .icon-arrow-down-1 {
	margin-right: auto;
	font-size: 14px;
	color: #a4aecd;
	transition: all .3s;
}
aside nav ul .open .icon-arrow-down-1 {
	transform: rotate(180deg);
}
aside nav ul li ul {
	display: none;
}
aside nav ul .open ul {
	display: block;
}
aside nav ul li ul li a {
	padding: 5px 50px 5px 25px;
}
aside nav ul .active > a,
aside nav ul .active > span,
aside nav ul .active i,
aside nav ul .active .icon-arrow-down-1 {
	color: #fff;
}
aside nav ul li ul .active a,
aside nav ul li ul .active span {
	color: #fff;
}

main {
	padding: 90px 265px 50px 15px;
	transition: all .3s;
}

.breadcrumbs li {
	display: inline-block;
}
.breadcrumbs li::after {
	content: '/';
	margin: 0 10px;
}
.breadcrumbs li:last-child::after {
	display: none;
}

.page-heading {
	padding: 15px 0 30px;
}
.page-heading h1 {
	font-size: 20px;
	font-weight: 600;
}

.card {
	background-color: #fff;
	border-radius: 0.25rem;
	box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03);
	margin-bottom: 30px;
}
.card .card-heading,
.card .card-body,
.card .card-footer {
	padding: 15px 25px;
}
.card .card-heading {
	display: flex;
	font-size: 15px;
	font-weight: 500;
}
.card .card-heading .actions {
	margin-right: auto;
	font-size: 12px;
	font-weight: 300;
	color: var(--text-color-secondary);
}

.tabs {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	overflow-y: hidden;
	overflow-x: auto;
}
.tabs::before {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background-color: var(--border-color-light);
	z-index: 0;
}
.tabs li {
	border-bottom: 3px solid var(--border-color-light);
	padding: 10px 40px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	position: sticky;
	z-index: 2;
}
.tabs li:hover {
	border-color: var(--border-color-light);
}
.tabs .active,
.tabs .active:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.tab {
	display: none;
}
.tab-in {
	display: block;
}

#login {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.login {
	width: 500px;
	background-color: #fff;
    box-shadow: rgba(18, 38, 63, 0.03) 0px 0.75rem 1.5rem;
    border-radius: 5px;
    overflow: hidden;
}
.login .heading {
	position: relative;
	padding: 25px 25px 50px;
	background: #d4daf9;
	color: #556ee6;
	background-image: url(../images/login.png);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
}
.login .heading h1 {
	font-size: 18px;
	font-weight: 600;
}
.login .heading .img {
	position: absolute;
	right: 35px;
	bottom: -35px;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background-color: rgb(239, 242, 247);
	padding: 20px;
}
.login .heading .img img {
	width: 30px;
	height: 30px;
}
.login .body {
	padding: 50px;
}

#popup {
	position: fixed;
	z-index: 999;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.3);
}
.popup {
	position: absolute;
	top: 10%;
	left: 50%;
	width: 500px;
	transform: translate(-50%, 0);
}
.popup-lg {
	position: absolute;
	top: 10%;
	left: 50%;
	width: 800px;
	transform: translate(-50%, 0);
}

#fixed-alert {
	display: none;
	position: fixed;
	left: 20px;
	bottom: 20px;
	width: 400px;
	z-index: 10;
}

.cats {
	border: 1px solid var(--border-color);
	padding: 10px 20px;
	width: 100%;
	max-height: 200px;
	overflow: auto;
}
.cats > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.cats > div input {
	margin-left: 10px;
}
.cats > div > div {
	min-width: 100%;
	padding-right: 20px;
}

/* Pagination */
.pagination {
	padding-right: 0;
	margin: 20px 0;
	border-radius: 0;
	text-align: center !important;
	display: inline-block;
}
.pagination > li {
	display: inline;
}
.pagination > li > a,
.pagination > li > span {
	position: relative;
	float: right;
	padding: 0;
	margin: 4px;
	line-height: 36px;
	width: 36px;
	height: 36px;
	color: var(--text-color);
	text-decoration: none;
	background-color: #fff;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
	margin-right: 0;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
	background-color: var(--primary);
	color: #fff;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
	background-color: var(--primary);
	color: #fff;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
	color: #999;
	cursor: not-allowed;
	background-color: #fff;
	border-color: #ddd;
}


@media print {
	header, aside {
		display: none;
	}
	main {
		padding: 0;
	}
}

.stat {
	background-color: #fff;
	display: flex;
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03);
	align-items: center;
}
.stat i {
	font-size: 36px;
	width: 70px;
	height: 70px;
	line-height: 70px;
	text-align: center;
	background-color: var(--primary);
	color: #fff;
	border-radius: 50%;
	box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03);
	margin-right: auto;
}
.stat .count {
	font-family: sans-serif;
	font-size: 36px;
	display: block;
	line-height: 70px;
	font-weight: bold;
	margin: 0 20px;
}
.stat .title {
	font-size: 16px;
	line-height: 70px;
}

.typo {
	font-size: 15px;
	color: #202020;
}
.typo h1,
.typo h2,
.typo h3,
.typo h4,
.typo h5,
.typo h6 {
	font-weight: bold;
	margin-top: 25px;
}
.typo h1 {
	font-size: 32px;
	margin-bottom: 15px;
}
.typo h2 {
	font-size: 28px;
	margin-bottom: 15px;
}
.typo h3 {
	font-size: 24px;
	margin-bottom: 10px;
}
.typo h4 {
	font-size: 20px;
	margin-bottom: 10px;
}
.typo h5 {
	font-size: 18px;
	margin-bottom: 10px;
}
.typo h6 {
	font-size: 15px;
	margin-bottom: 10px;
}
.typo p {
	margin-bottom: 10px;
}
.typo ul {
	list-style: inside;
	padding: 20px;
}
.typo ol {
	list-style: number;
	padding: 20px;
}
.typo table {
	width: 100%;
}
.typo table tr th,
.typo table tr td {
	padding: 10px 15px;
	border: 1px solid #ddd;
}

#notes {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border-radius: 5px;
	background-color: white;
}
.notes {
	max-height: 300px;
	overflow: auto;
	padding-left: 20px;
}
.notes > div {
	display: flex;
	position: relative;
}
.notes > div:hover .del {
	display: block;
}
.notes .alert {
	max-width: 80%;
}
.notes .alert-secondary {
	margin-right: auto;
}

.notes .alert .info {
	display: flex;
}
.notes .alert .info .role {
	margin-left: 50px;
}
.notes .alert .info .date {
	margin-right: auto;
}
.notes .alert .del {
	position: absolute;
	bottom: 0;
	display: none;
}
.notes .alert-success .del {
	left: -60px;
}
.notes .alert-secondary .del {
	right: -60px;
}
.notes .seen {
	position: absolute;
	left: 5px;
	bottom: 5px;
}

/* chat */
.chat {
	height: 600px;
	border: 1px solid #ddd;
	background-color: #fff;
	position: relative;
}
.chat .people {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 350px;
	border-left: 1px solid #ddd;
	overflow: auto;
}
.chat .people::-webkit-scrollbar,
.chat .people::-webkit-scrollbar {
	width: 4px;
}
.chat .people::-webkit-scrollbar-track,
.chat .people::-webkit-scrollbar-track {
	background: transparent;
}
.chat .people::-webkit-scrollbar-thumb,
.chat .people::-webkit-scrollbar-thumb {
	background: #ccc;
}
.chat .people::-webkit-scrollbar-thumb:hover,
.chat .people::-webkit-scrollbar-thumb:hover {
	background: #aaa; 
}
.chat .people .person {
	padding: 20px;
	border-bottom: 1px solid #ddd;
	position: relative;
	display: flex;
	align-items: center;
	line-height: 20px;
	cursor: pointer;
	transition: all .3s;
}
.chat .people .person:hover {
	background-color: #f5f5f5;
}
.chat .people .person > img {
	width: 50px;
	border-radius: 80px;
	opacity: .5;
}
.chat .people .person > div {
	margin-right: 20px;
	display: flex;
	flex-wrap: wrap;
}
.chat .people .person > div .name {
	font-weight: bold;
	margin-left: 10px;
}
.chat .people .person > div .role {
	color: #888;
	font-size: 12px;
	font-style: italic;
}
.chat .people .person > div .role::before {
	content: '- ';
}
.chat .people .person > div .last-pm {
	width: 100%;
	font-size: 11px;
	color: #999;
	padding-left: 20px;
}
.chat .people .person .unseen {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translate(0, -50%);
	width: 8px;
	height: 8px;
	border-radius: 8px;
	background-color: var(--danger);
}
.chat .people .active::before {
	content: '';
	position: absolute;
	top: 20px;
	right: 0;
	bottom: 20px;
	width: 5px;
	background-color: var(--primary);
	border-radius: 5px 0 0 5px;
}
.chat .msgs {
	display: flex;
	flex-wrap: wrap;
	position: absolute;
	top: 0;
	right: 350px;
	bottom: 0;
	left: 0;
}
.chat .msgs .chat-form {
	width: 100%;
	border-top: 1px solid #ddd;
	padding: 10px 25px;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #fff;
}
.chat .msgs .chat-form textarea {
	resize: none;
	border: 1px solid #ddd;
	padding: 10px 25px 10px 50px;
	border-radius: 25px;
	background-color: #f5f5f5;
	overflow: hidden;
	max-height: 150px;
	line-height: 26px;
}
.chat .msgs .chat-form textarea:focus {
	border-color: var(--primary);
}
.chat .msgs .chat-form .send-btn {
	position: absolute;
	left: 25px;
	top: 50%;
	transform: translate(0, -50%);
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--primary);
	color: #fff;
	border-radius: 25px;
	height: 46px;
	width: 46px;
}
.chat .msgs .chat-form .send-btn:hover {
	background-color: var(--primary-hover);
}


.chat .msgs #mainEntity {
	width: 100%;
	padding: 20px;
	overflow: auto;
	max-height: 534px;
}
.chat .msgs #mainEntity::-webkit-scrollbar,
.chat .msgs #mainEntity::-webkit-scrollbar {
	width: 4px;
}
.chat .msgs #mainEntity::-webkit-scrollbar-track,
.chat .msgs #mainEntity::-webkit-scrollbar-track {
	background: transparent;
}
.chat .msgs #mainEntity::-webkit-scrollbar-thumb,
.chat .msgs #mainEntity::-webkit-scrollbar-thumb {
	background: #ccc;
}
.chat .msgs #mainEntity::-webkit-scrollbar-thumb:hover,
.chat .msgs #mainEntity::-webkit-scrollbar-thumb:hover {
	background: #aaa; 
}
.chat .msg {
	display: flex;
	margin: 10px 0;
}
.chat .msg .alert {
	max-width: 70%;
	min-width: 200px;
	padding-bottom: 30px;
	position: relative;
}
.chat .msg .alert-success {
	border-radius: 20px 20px 0 20px;
}
.chat .msg .alert-secondary {
	margin-right: auto;
	border-radius: 20px 20px 20px 0;
}
.chat .msg .alert .info {
	position: absolute;
	bottom: 5px;
	display: flex;
	align-items: center;
}
.chat .msg .alert .info .date {
	display: inline-block;
	font-size: 11px;
	direction: ltr;
	font-family: sans-serif;
}
.chat .msg .alert-success .info {
	left: 20px;
}
.chat .msg .alert-secondary .info {
	right: 20px;
}
.chat .msg .alert-success .info i {
	margin-right: 10px;
}
.chat .msg .alert .action {
	position: absolute;
	top: 10px;
	width: 40px;
	text-align: center;
	font-size: 18px;
	display: flex;
	justify-content: center;
	display: none;
}
.chat .msg:hover .alert .action {
	display: block;
}
.chat .msg .alert .action i {
	margin: 0 3px;
	cursor: pointer;
}
.chat .msg .alert-success .action {
	left: -40px;
}
.chat .msg .alert-secondary .action {
	right: -40px;
}
.chat .msgs .no-msg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.chat-loader {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 9999;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	display: none;
}
.chat-loader > div {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.chat-back {
	display: none;
}