/* -- General --*/

body {
	font-family: "Poppins";
	background-color: #f6f8fa;
}

a {
	font-family: "Poppins";
	color: #3b61aa;
}

.pull-left {
	float: left;
}

.pull-right {
	float: right;
}

/* -- Login --*/

.account-body .auth-header-box {
	background-color: #fff;
}

.account-body .auth-header-box h4 {
	color: #333;
	font-weight: bold;
}

.field-icon {
	margin-left: -14px;
	margin-top: 12px;
	position: relative;
	z-index: 3;
	border-radius: 0.25rem;
}

.fa-eye::before {
	content: "\f06e";
	margin-left: -24px;
	color: #3b61aa;
}

.fa-eye-slash::before {
	content: "\f070";
	margin-left: -24px;
	color: #3b61aa;
}

/* -- Colors --*/

.bg-main-1 {
	background-color: #5edfff !important;
}

.bg-main-2 {
	background-color: #5edfff !important;
}

.bg-main-3 {
	background-color: #4b4bad !important;
}

/* -- Navbar --*/

.topbar .navigation-menu > li > a {
	font-weight: 500;
}

.topbar .navigation-menu > li > .active span .hori-menu-icon {
	color: #3b61aa;
	fill: rgba(23, 97, 253, 0.12);
}

.navbar-custom .topbar-nav li.show .nav-link {
	background-color: transparent;
}

.navbar-role {
	/* position: absolute;
    left: 16px;
    top: 14px; */
	font-size: 10px;
	color: #68728c;
}

.role-position {
	display: flex;
	align-items: center;
	/* margin-top: -6px; */
}

.role-position i {
	font-size: 20px;
}

.role-position.nav-link {
	line-height: 1;
	padding-top: 8px;
	padding-bottom: 8px;
}

.role-position h4 {
	margin-bottom: 0px;
	margin-top: 0px;
	font-size: 14px;
}

.role-position img {
	flex: none;
}

.dropdown-menu {
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
	margin: 0;
}

.ic-dropdown {
	font-size: 6px;
}

/* -- Dashboard --*/

.page-title span {
	color: #3b61aa;
	font-weight: 600;
}

.profile-area img {
	width: 100px;
}

.profile-area h4 {
	font-weight: 600;
	margin-top: 16px !important;
}

/* -- Card --*/

.card {
	border-radius: 15px;
	box-shadow: 0 0 20px rgba(8, 21, 66, 0.05);
	border: none;
}

.profile-greeting {
	background-size: cover !important;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
}

.card .card-header:first-child {
	border-radius: calc(1rem - 1px) calc(1rem - 1px) 0 0;
}

.list-number {
	width: 100%;
}

.nav.nav-tabs .nav-item.show:focus,
.nav.nav-tabs .nav-item.show.active,
.nav.nav-tabs .nav-link:focus,
.nav.nav-tabs .nav-link.active {
	color: #fff;
	background-color: #3b61aa;
	border-color: transparent transparent #3b61aa;
}

/* -- Images --*/

.thumb-xxs {
	height: 22px !important;
	width: 22px !important;
	margin-right: 4px;
}

/* -- Buttons --*/

.btn-primary:hover {
	color: #fff;
	background-color: #294b8a;
	border-color: #294b8a;
}

/* -- Modal --*/

.modal-content .modal-header,
.modal-content .modal-footer {
	border-color: #fff;
	background-color: #fff;
}

.modal-body {
	background: #fff;
}

.img-modal {
	width: 180px;
}

/* -- Media query --*/

@media (max-width: 1499.98px) {
	body[data-layout="horizontal"] .topbar {
		position: fixed;
	}
}

#upload {
	opacity: 0;
}

#upload-label {
	position: absolute;
	top: 50%;
	left: 1rem;
	transform: translateY(-50%);
}

.image-area {
	border: 2px dashed rgba(0, 0, 0, 0.7);
	padding: 1rem;
	position: relative;
	display: none;
}

.image-area img {
	z-index: 2;
	position: relative;
}

/* -- Chats --*/

.bd-callout {
	padding: 0.5rem 1rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	border-left: 1px solid #eee;
	border-left-width: 0.25rem;
	border-radius: 0.25rem;
}

.bd-callout h4 {
	margin-top: 0;
	margin-bottom: 0.25rem;
}

.bd-callout p:last-child {
	margin-bottom: 0;
}

.bd-callout code {
	border-radius: 0.25rem;
}

.bd-callout + .bd-callout {
	margin-top: -0.25rem;
}

.bd-callout h5 {
	margin-top: 0;
}

.bd-callout-info {
	border-left-color: #5bc0de;
}

.bd-callout-info h5 {
	color: #5bc0de;
}

.bd-callout-warning {
	border-left-color: #f0ad4e;
}

.bd-callout-warning h5 {
	color: #f0ad4e;
}

.bd-callout-danger {
	border-left-color: #d9534f;
}

.bd-callout-danger h5 {
	color: #d9534f;
}

.bd-callout-primary {
	border-left-color: #294b8a;
}

.bd-callout-primary h5 {
	color: #294b8a;
}

.bd-callout-success {
	border-left-color: #28a745;
}

.bd-callout-success h5 {
	color: #28a745;
}

.bd-callout-default {
	border-left-color: #6c757d;
}

.bd-callout-default h5 {
	color: #6c757d;
}

.bd-placeholder-img {
	font-size: 1.125rem;
	text-anchor: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.bg-chat-other {
	background-color: #e6e6e6;
	color: black;
	border-top-left-radius: unset;
	margin-right: 10%;
	width: 100%;
}

.bg-chat-other:before {
	content: "";
	display: block;
	position: absolute;
	left: -20px;
	top: 0;
	width: 0;
	height: 0;
	border-top: 0 solid transparent;
	border-right: 20px solid #e6e6e6;
	border-bottom: 20px solid transparent;
	border-left: 0 solid transparent;
}

.bg-chat-own {
	background-color: rgba(188, 224, 254, 0.4);
	color: black;
	border-top-right-radius: unset;
	margin-left: 10%;
	width: 100%;
}

.bg-chat-own:before {
	content: "";
	display: block;
	position: absolute;
	right: -20px;
	top: 0;
	width: 0;
	height: 0;
	border-top: 0 solid transparent;
	border-right: 0 solid transparent;
	border-bottom: 20px solid transparent;
	border-left: 20px solid rgba(188, 224, 254, 0.4);
}
.chat {
	min-height: 80vh;
}
.chat-list {
	max-height: 650px;
	overflow-y: auto;
	overflow-x: hidden;
}
.chat-list a {
	padding: 20px 20px;
	background-color: rgba(253, 246, 212, 0.6);
	border-color: rgba(253, 246, 212, 0.6);
	color: black;
	border-radius: 15px !important;
	margin-bottom: 16px;
}
.chat-list a p {
	text-overflow: ellipsis;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	margin-bottom: 0;
}
.chat-list h5 {
	margin-top: 0;
	margin-bottom: 0.25rem !important;
	font-weight: 600;
}

.chat-list .active {
	background-color: rgba(188, 224, 254, 0.4);
	border-color: rgba(188, 224, 254, 0.4);
	color: black;
}

.chat-banner {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
}

.chat-box {
	display: none;
	height: 100%;
	max-height: 80vh;
}

.chat-body {
	overflow-y: auto;
	overflow-x: hidden;
	flex-wrap: wrap;
	display: flex;
	height: 100%;
}

.chat-date {
	margin: 20px auto;
	padding: 10px 15px;
	text-align: center;
}

.card .card-footer:last-child {
	border-radius: 0 0 calc(1rem - 1px) calc(1rem - 1px);
}

.left-sidenav .brand .logo .logo-lg {
	height: 36px;
}

.left-sidenav .brand .logo {
	line-height: 74px;
}

.left-sidenav-menu li > a.active,
.left-sidenav-menu li > a.active i {
	color: inherit;
}

.left-sidenav-menu li > a {
	padding: 8px 6px;
}

.left-sidenav-menu li ul li > a {
	padding-left: 6px;
}

.left-sidenav .brand {
	text-align: left;
	padding-left: 16px;
}

.left-sidenav {
	min-width: 250px;
	max-width: 250px;
}

.page-wrapper {
	margin-left: 250px;
}

.left-sidenav-menu {
	padding-left: 0;
	margin-bottom: 0;
	padding: 24px;
}

.button-menu-mobile {
	font-size: 24px;
}

@media (max-width: 1024px) {
	.page-wrapper {
		margin: 0;
	}
	.left-sidenav {
		top: 53px;
	}
}

.report-card .col p.text-white {
	font-size: 12px;
	margin-right: -9px;
}

.form-check-input {
	margin-top: 0.16rem;
}

/* Button */

.btn-success-custom-disable {
	color: #fff;
	background-color: #03d87f;
	border-color: #03d87f;
	opacity: 0.65;
}

.btn-success-custom-disable:hover {
	color: #fff;
}

.btn-warning-custom-disable {
	color: #fff;
	background-color: #ffb822;
	border-color: #ffb822;
	opacity: 0.65;
}

.btn-warning-custom-disable:hover {
	color: #fff;
}
