@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
	outline: none;
}

ul {
	margin: 0;
	padding: 0;
}

body {
	font-size: 15px;
    line-height: 22px;
    background-color: #f0f2f5;
    color: #505d69;
    font-family: 'Nunito', sans-serif;
}

a { color: #000; }
a:hover { color: #000; }

a:active, a:focus {
	outline: 0 !important;
	border: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
	line-height: normal;
}

a,
a:hover,
a:focus,
a:active {
	outline: none;
	text-decoration: none;
}

button,
button:focus,
button:active,
button:hover {
	outline: none;
}

p, ul {
	margin: 0;
}

ul { list-style: none; }

/* AUTH */

.auth {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	flex-direction: column;
	height: 100vh;
	min-height: 650px;
	background-color: #0e0f29;
	background-image: url(../img/auth-bg.jpg);
	background-size: cover;
	background-position: center center;
}

.auth .logo {
	width: 150px;
	margin-bottom: 20px; 
}

.auth .logo img {
	width: 100%;
}

.auth .logo a {
	color: #fff;
}

.auth .box {
	background-color: #fff;
	padding: 30px;
	border-radius: 20px;
	width: 450px;
	max-width: 90%;
}

.auth .box h1 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	color: #010101;
}

.auth .auth-buttons a {
	color: #0566ff;
	font-weight: 500;
}

.form-divider {
	position: relative;
	margin: 20px 0;
	text-align: center;
	color: #dee3eb;
}

.form-divider:before {
	position: absolute;
    content: '';
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background-color: #dee3eb;
    width: 40%;
}

.form-divider:after {
	position: absolute;
    content: '';
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background-color: #dee3eb;
    width: 40%;
}

/* BUTTONS */

.btn {
    font-size: 15px;
    line-height: 15px;
    font-weight: 700;
    border: 0;
    color: #fff;
    background-color: #00ba82;
    background: linear-gradient(90deg, rgba(63,233,197,1) 0%, rgba(41,205,174,1) 40%, rgba(34,184,174,1) 46%, rgba(5,102,255,.8) 100%);
    border-radius: 8px;
    padding: 16px 27px;
}

header {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	background: linear-gradient(90deg, rgba(63,233,197,1) 0%, rgb(90, 122, 255) 100%);
	z-index: 10001;
	padding-top: 10px;
	padding-bottom: 10px;
	height: 62px;
}

header .wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-left: 20px;
	padding-right: 20px;
}

header nav {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 10002;
}

header ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 14px;
	font-weight: 700;
}

header ul li {
	margin: 0 5px;
}

header ul a {
	display: flex;
	align-items: center;
	padding: 8px;
	background-color: transparent;
	transition: .1s;
	border-radius: 5px;
	color: #fff;
	font-weight: 700;
}

header ul a i {
	position: relative;
	top: 1px;
	font-size: 22px;
	line-height: 22px;
	padding-right: 10px;
}

header ul a.active,
header ul a:hover {
	background-color: rgba(255, 255, 255, .15);
	color: #fff;
}

header a {
	color: #fff;
}

header .logo {
	color: #fff;
	font-size: 14px;
	line-height: 14px;
	font-weight: 600;
}

header .logo:hover {
	color: #fff;
}

header .right-menu {
	position: relative;
}

header .right-menu .submenu {
	display: none;
	position: absolute;
	right: 0;
	top: 0;
	background-color: #fff;
	width: 300px;
	border-radius: 10px;
}

header .right-menu .submenu.show {
	display: block;
	top: 50px;
}

header .right-menu .submenu ul {
	flex-direction: column;
	align-items: flex-start;
}

header .right-menu .submenu ul li {
	padding: 5px;
	border-radius: 10px;
}

header .right-menu .submenu ul li a {
	display: flex;
	align-items: center;
	padding: 10px;
	color: #0e0f29;
	font-weight: 500;
}

header .open-user-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, .2);
}

.user-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
}

.user-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.user-avatar span {
	font-size: 12px;
	line-height: 12px;
	font-weight: 600;
	color: #fff;
}

/* MAIN */

main {
	margin-top: 70px;
	color: #111;
}

/* TABLE */

.table th {
    background: #f9f9f9;
    padding: 12px 15px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
}

.table tr {
    border-bottom: 1px solid #eee;
}

.table tr:last-child {
    border-bottom: 0;
}

.table>:not(:last-child)>:last-child>* {
    border-bottom: 1px solid #eee;
}

.table>:not(caption)>*>* {
    border: 0;
}

.table td {
    background-color: #fff;
    padding: 12px 15px;
    vertical-align: middle;
    border: 0;
    box-shadow: none;
    line-height: 22px;
}

.table tr.clickable {
	cursor: pointer;
}

.table tr:hover td {
    background: #f7f7f9;
}

.table a {
    color: #5a7aff;
}

/* ASIDE */

aside {
	position: fixed;
    left: 0;
    top: 61px;
    bottom: 0;
    width: 420px;
    padding: 20px;
    background-color: #001b47;
    overflow-y: auto;
}

aside.rooms {
	width: 420px;
}

.nav {
	display: flex;
    align-items: center;
	justify-content: center;
	width: 100%;
	flex: 1;
}

.nav {
	display: flex;
    align-items: center;
	justify-content: center;
    gap: 10px;
}

.nav a {
	position: relative;
	top: 3px;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    outline: 0;
    color: #fff;
	text-transform: uppercase;
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
	transition: 0s;
	outline: none;
	border: 0;
	box-shadow: none;
}

.content nav a {
	color: #111;
}

.nav a.active {
	color: #5a7aff;
}

.nav a.active:before {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 3px;
    content: '';
    background: #5a7aff;
}

aside ul li a {
	display: flex;
	align-items: center;
	color: #fff;
	padding: 10px;
	background-color: transparent;
	transition: .1s;
	border-radius: 5px;
	font-weight: 500;
}

aside ul li a:hover,
aside ul li a:focus {
	color: #79c5ff;
	background-color: rgba(255, 255, 255, .1);
}

aside .nav-tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap:10px;
	margin-bottom: 20px;
	border-bottom: 3px solid rgba(255,255,255,.1);
	outline: none;
}

aside .nav-tabs .nav-link {
	border-radius: 8px;
	outline: none;
}

aside .chats {
	display: flex;
	flex-direction: column;
	gap: 5px 0px;
	max-height: 100%;
	overflow-y: auto;
}

aside .chats .item {
	margin: 0 10px;
}

aside .chats .item.no-rooms {
	text-align: center;
}

aside .chats a {
	display: flex;
	align-items: center;
	color: #fff;
	padding: 10px;
	border-radius: 10px;
	color: #eee;
}

aside .chats .item.unseen a {
	color: #fff;
	font-weight: 700;
}

aside .chats a.active,
aside .chats a:hover {
	background-color: rgba(255,255,255,.1);
}

aside .chats a .avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 100%;
	background: linear-gradient(30deg, rgb(90, 122, 255) -12%, rgb(90, 122, 255) 112%);
	color: #fff;
}

aside .chats a .avatar i {
	position: relative;
	top: 2px;
	font-size: 20px;
	line-height: 20px;
}

aside .chats a .item-content {
	flex: 1;
	margin-left: 15px;
}

aside .chats a .item-content .domain {
	font-size: 13px;
	line-height: 13px;
	color: #888;
}

aside .chats a .item-right {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	flex-direction: column;
	margin-left: auto;
	font-size: 13px;
	line-height: 13px;
	color: #888;
}

aside .chats a .item-right .unseen-room-messages-count {
	display: none;
	margin-top: 5px;
	width: 18px;
	height: 18px;
	border-radius: 6px;
	align-items: center;
	justify-content: center;
	color: #fff;
	background-color: #5a7aff;
	font-size: 13px;
	line-height: 13px;
}

aside .chats a .item-right .unseen-room-messages-count.show {
	display: flex;
}

::-webkit-scrollbar {
	width: 7px;
}

::-webkit-scrollbar-track {
	background: #333;
}

::-webkit-scrollbar-thumb {
	background: #444;
}

::-webkit-scrollbar-thumb {
	background: #555;
}

::-webkit-scrollbar-thumb:hover {
	background: #f7f7f9;
}

::-webkit-scrollbar-thumb:active {
	background: #3576ba;
}

/* CHAT */

.panel .panel-body {
	background-color: #fff;
    padding: 20px;
    border-radius: 4px;
}

.panel .panel-title {
    display: flex;
    justify-content: space-between;
    flex-wra: wrap;
    align-items: center;
}

.panel .panel-body h4 {
    font-size: 16px;
    color: #000;
    font-weight: 700;
}

.chat {
	background-color: #fff;
}

.chat .chat-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.chat .messages {
	display: flex;
    flex-direction: column-reverse;
	max-height: 450px;
	height: 100%;
	overflow-y: auto;
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	min-height: 75vh;
}

.chat .messages .item {
	display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    gap: 8px;
    margin-bottom: 5px;
}

.chat .messages .item span.time {
    opacity: 0;
    transition: .1s;
    order: 2;
    font-size: 12px;
    line-height: 12px;
    color: #999;
}

.chat .messages .item:hover span.time {
	opacity: 1;
}

.chat .messages .item p {
    display: block;
    max-width: 75%;
    background: linear-gradient(30deg, rgb(246, 246, 246) -12%, rgb(246, 246, 246) 112%);
    border-radius: 9px;
    overflow: hidden;
    color: #000;
    padding: 12px 16px;
    font-weight: 500;
    order: 1;
}

.chat .messages .item.reverse {
	justify-content: flex-end;
}

.chat .messages .item.reverse p {
	order: 2;
    background: linear-gradient(30deg, rgb(90, 122, 255) -12%, rgb(90, 122, 255) 112%);
    color: #fff;
}

.chat .user-typing {
	display: none;
}

.chat .chat-send {
	margin-top: 15px;
	border-top: 1px solid #eee;
}

.chat .chat-send textarea {
	display: block;
	width: 100%;
	height: 54px;
	background-color: #fff;
	border: 1px solid transparent;
	border-radius: 8px;
	transition: all .3s ease;
	padding: 12px 15px 0 15px;
	color: #000;
	font-size: 14px;
	line-height: 14px;
}

.chat-user-info {
	flex: 1;
	padding: 20px;
	border-radius: 10px;
}

.chat-user-info .item {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.chat-user-info .item span {
	display: block;
	padding: 5px;
	color: #000;
	width: calc(50% - 10px);
}

/* CONTENT */

.content {
	margin-left: 420px;
	padding: 20px;
}

.content.content-chats {
	margin-left: 420px;
	padding: 20px;
}

/* FORMS */

.form-item,
.form-space {
	position: relative;
	margin-bottom: 20px;
}

.form-item:last-child,
.form-space:last-child {
	margin-bottom: 0px
}

.form-item span {
	position: absolute;
}

.form-space label {
	display: block;
	margin-bottom: 5px;
}

.form-space select {
	display: block;
	width: 100%;
	height: 54px;
	background-color: #434459;
	border: 1px solid transparent;
	border-radius: 8px;
	transition: all .3s ease;
	padding: 12px 15px;
	color: #fff;
	font-size: 14px;
	line-height: 14px;
}

.form-item input,
.form-item select {
	display: block;
    width: 100%;
    height: 54px;
    background-color: #fff;
    border: 1px solid #ced0d4;
    border-radius: 8px;
    transition: all .3s ease;
    padding: 12px 15px 0 15px;
    color: #000;
    font-size: 14px;
    line-height: 14px;
}

.form-item.with-border input {
	border: 1px solid #ddd;
}

.form-item textarea,
.form-space textarea {
	display: block;
	width: 100%;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	transition: all .3s ease;
	padding: 15px
}

.form-item input:focus {
	border-color: #fff;
}

.form-item label {
	position: absolute;
    cursor: text;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    font-weight: 600;
    color: #888;
    transition: all .3s ease;
    font-size: 12px;
    line-height: 12px;
}

.form-item input:focus + label,
.form-item input:valid + label {
	font-size: 10px;
	top: 13px;
}

.form-item input:focus + label {
	color: #5a7aff;
}

.form-checkbox .checkbox-2 {
	position: absolute;
	opacity: 0;
	width: 30px;
}

.form-checkbox label {
	display: flex;
	align-items: center;
}

.form-checkbox span {
	padding-left: 50px;
}

.form-checkbox .checkbox-2 + label {
	position: relative;
	cursor: pointer;
	padding: 0;
}

.form-checkbox .checkbox-2 + label:before {
	position: absolute;
	content: '';
	width: 30px;
	height: 30px;
	border: 2px solid #d2dae2;
	border-radius: 2px;
}

.form-checkbox .checkbox-2.error + label:before {
	border-color: #ec0000;
}

.form-checkbox .checkbox-2:hover + label:before {
	border-color: #555;
}

.form-checkbox .checkbox-2:checked + label:before {
	border: 2px solid #313237;
	background: #313237;
}

.form-checkbox .checkbox-2:checked + label:after {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    background: white;
    width: 3.5px;
    height: 3.5px;
    box-shadow: 
      2.5px 0 0 white,
      3px 0 0 white,
      3px -1.5px 0 white,
      3px -3px 0 white,
      3px -4.5px 0 white,
      3px -6px 0 white;
    transform: rotate(45deg);
}

.button-switch {
	height: 28px;
	width: 50px;
	position: relative;
	transform: scale(.86);
	z-index: 10;
}

.button-switch input {
	border: 0;
	padding: 0;
}

.button-switch .lbl-off,
.button-switch .lbl-on {
	position: absolute;
	top: 0;
	cursor: pointer;
	display: block;
	transition: opacity 0.25s ease-out 0.1s;
	z-index: 10;
}

.button-switch .lbl-off {
	right: 30px;
}

.button-switch .lbl-on {
	color: #fefefe;
	opacity: 0;
	left: 0;
}

.button-switch .switch {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 0;
	left: 0px;
	line-height: 0;
	outline: none;
	position: absolute;
	top: 0;
	width: 0;
}

.button-switch .switch:before, .button-switch .switch:after {
	content: "";
	position: absolute;
	cursor: pointer;
	z-index: 10;
}

.button-switch .switch:before {
	border-radius: 30px;
	background: #bdc3c7;
	height: 28px;
	top: 0;
	transition: background-color 0.25s ease-out 0.1s;
	width: 50px;
}

.button-switch .switch:after {
	border-radius: 50%;
	background: #fff;
	height: 20px;
	width: 20px;
	left: 6px;
	top: 4px;
	transform: translate(0, 0);
	transition: transform 0.25s ease-out 0.1s;
}

.button-switch .switch:checked:after {
	transform: translate(18px, 0);
}

.button-switch .switch:checked ~ .lbl-off {
	opacity: 0;
}

.button-switch .switch:checked ~ .lbl-on {
	opacity: 1;
}

.button-switch .switch:checked:before {
	background-color: #0566ff;
}

.window {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 27, 71, .75);
	z-index: 10002;
	display: none;
}

.window.show {
	display: block;
	animation-name: fadeIn;
	animation-duration: .3s;
}

.window .window-body {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transform-origin: center;
	transform-style: preserve-3d;
	width: 50%;
	background: #fff;
	border-radius: 10px;
	padding: 30px 40px;
	display: none;
	max-height: 90%;
	max-width: 1680px;
	overflow-y: auto;
}

.window.show .window-body {
	display: block;
	animation-name: show-window-body;
	animation-duration: .3s;
}

@keyframes show-window-body {
	0% {
		transform: translate(-50%, -50%) scale(0);
	}
	100% {
		transform: translate(-50%, -50%) scale(1);
	}
}

.window .window-body .window-close {
	position: absolute;
	right: 30px;
	top: 20px;
	font-weight: 600;
	cursor: pointer;
}

.window .window-body .window-close i {
	font-size: 28px;
	color: #999;
	transition: .1s;
}

.window .window-body .window-close:hover i {
	color: #000;
}

.window .window-body h1 {
	font-size: 18px;
	margin-bottom: 20px;
	color: #000;
	font-weight: 700;
}

.mt15 { margin-top: 15px !important; }
.mt20 { margin-top: 20px !important; }
.mb20 { margin-bottom: 20px !important; }

@media (min-width: 0px) and (max-width: 991px) {
	
	
	
}

@media (min-width: 991px) and (max-width: 1288px) {
	
	
	
}

@media (min-width: 1200px) {
	
    
	
}