/* GENERAL DECLARATIONS START */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(../fonts/Montserrat-Thin.ttf);
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Montserrat-Regular.ttf);
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Montserrat-Bold.ttf);
}

:root {
    --color-primary: #1da1f2; /* Red */
    --color-primary-border: #178ad1;
    --color-secondary: #3d3d3d; /* Dark Grey */
    --color-secondary-border: #262626; /* Dark Grey */
    --color-tertiary: #fff; /* White */
    --color-background: #f0f5fa; /* Light Grey */
    --color-background-light: #e8f4ff; /* Light Grey */

    --color-success: #45ba25;
    --color-warning: #f0db22;
    --color-danger: #c22929;
    
    --font-primary: 'Montserrat'; /* Montserrat Font */
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-background);
    font-size: 15px;
    font-weight: 400;
    font-family: var(--font-primary);
    color: var(--color-secondary);
    margin: 0px;
    padding: 0px;
}

h3 {
    margin: 0px;
}

p {
    margin: 0px;
}

a {
    transition: 0.2s;
    text-decoration: none !important;
}

a:active, a:focus, a:hover, a:visited {
    outline: none;
    -moz-outline-style: none;
    box-shadow: none !important;
}

a[disabled] {
    pointer-events: none;
    opacity: 0.6;
}

ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

a:hover {
    border: none;
    outline: none;
}

button {
    border: none;
    outline: none;
    margin: 0px;
}

button:focus {
    outline: none;
}

th {
	padding: 10px;
}

.centered {
	display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.text-centered {
    text-align: center;
}

.flex-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-centered-column {
	display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-expand {
	flex: 1;
}

.align-right {
	display: block;
	margin-left: auto !important;
}

.flex-right {
	display: flex;
	justify-content: flex-end;
	align-items: center
}

.ml-auto {
	margin-left: auto !important;
}

.mr-auto {
	margin-right: auto !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.ml-0 {
    margin-left: 0px !important;
}

.ml-10 {
    margin-left: 10px !important;
}

.ml-20 {
    margin-left: 20px !important;
}

.mr-0 {
    margin-right: 0px !important;
}

.mr-10 {
    margin-right: 10px !important;
}

.mr-20 {
    margin-right: 20px !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.pb-20 {
    padding-bottom: 20px !important;
}

.pl-0 {
    padding-left: 0px !important;
}

.pl-10 {
    padding-left: 10px !important;
}

.pl-20 {
    padding-left: 20px !important;
}

.pr-0 {
    padding-right: 0px !important;
}

.pr-10 {
    padding-right: 10px !important;
}

.pr-20 {
    padding-right: 20px !important;
}

.pt-0 {
    padding-top: 0px !important;
}

.pt-10 {
    padding-top: 10px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.hidden {
	display: none !important;
}

.hidden-width {
	width: 0px !important;
	overflow-x: hidden !important;
}

.hidden-overflow-y {
	overflow-y: hidden !important;
}

.max-height {
	min-height: 100%;
}

.max-width {
	width: 100%;
}


/* GENERAL DECLARATIONS END */


/* HEADER START */

.header-section {
	display: flex;
	align-items: center;
	padding: 20px;
	background: var(--color-tertiary);
	height: 80px;
	border-bottom: 1px solid var(--color-background);
}

.logo-container {
	margin-right: auto;
}

.logo {
	height: 50px;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

}

.user-dropdown-container {
	position: relative;
	cursor: pointer;
	height: 100%;
	padding-left: 10px;
	padding-right: 10px;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.user-dropdown-main {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

.user-dropdown-name {
	font-size: 16px;
	font-weight: 400;
}

.user-dropdown-title {
	font-size: 14px;
	font-weight: 700;
	margin-top: 5px;
	margin-bottom: 0px;
}

.user-dropdown-chevron {
	margin-left: 30px;
	color: var(--color-secondary) !important;
}

.user-dropdown-visible {
	background: var(--color-tertiary);
	box-shadow: 0px 7px 5px 0px rgba(0,0,0,0.13);
}

.user-dropdown-visible > .user-dropdown-main > .user-dropdown-chevron {
	transform: rotate(180deg);
}

.user-dropdown-visible > .user-dropdown-hidden {
	display: block;
}

.user-dropdown-hidden {
	/*border-top: 1px solid var(--color-background);*/
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	background: var(--color-tertiary);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	/*margin-top: 20px;*/
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	box-shadow: 0px 7px 5px 0px rgba(0,0,0,0.13);
	z-index: 99;
}

.user-dropdown-hidden-list {
	border-top: 1px solid var(--color-background);
}

.user-dropdown-hidden-list-link {
	display: flex;
	align-items: center;
	color: var(--color-secondary);
	height: 40px;
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
}

.user-dropdown-hidden-list-link:hover {
	background: var(--color-primary);
	color: var(--color-tertiary);
}

/* HEADER END */


/* SIDENAV START */

.sidenav-visible-mobile {
	width: 100vw !important;
}

.sidenav-visible-mobile-bars {
	top: -40px;
	right: -40px;
}

.sidenav-bars-close {
	margin-top: 10px;
	padding-left: 5px !important;
	padding-right: 5px !important;
}

.sidenav-visible-mobile-bars > .sidenav-bar:nth-child(1) {
	position: relative;
	height: 3px;
	width: 30px;
	transform:rotate(135deg);
}

.sidenav-visible-mobile-bars > .sidenav-bar:nth-child(2) {
	display: none !important;
}

.sidenav-visible-mobile-bars > .sidenav-bar:nth-child(3) {
	position: relative;
	height: 3px;
	width: 30px;
	top: -8px;
	transform:rotate(-135deg);
}

.sidenav-bars-close > .sidenav-bar:nth-child(1) {
	position: relative;
	height: 3px;
	width: 30px;
	transform:rotate(135deg);
}

.sidenav-bars-close > .sidenav-bar:nth-child(2) {
	display: none !important;
}

.sidenav-bars-close > .sidenav-bar:nth-child(3) {
	position: relative;
	height: 3px;
	width: 30px;
	top: -8px;
	transform:rotate(-135deg);
}

.sidenav {
	width: 250px;
	height: 100%;
	min-height: calc(100vh - 130px);
	background: var(--color-tertiary);
	-webkit-touch-callout: none;
    -webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transition: 0.2s;
	overflow-x: hidden;
}

.sidenav-top {
	display: flex;
	align-items: center;
	padding-left: 5px;
	height: 50px;
	background: var(--color-tertiary);
	width: 100%;
    -webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border-bottom: 2px solid #ebf2fa;
}

.sidenav:not(.sidenav-visible-mobile) {
	border-right: 2px solid #ebf2fa;
}

.sidenav-top-text {
	padding-left: 5px;
}

.sidenav-bars:not(.bars-mobile) {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	transition: 0.2s;
}

.sidenav-top > .sidenav-bars {
	/*margin-left: auto;*/
	height: 100%;
	padding-left: 10px;
	padding-right: 10px;

}

.bars-mobile {
	display: none;
	margin-right: auto;
	padding: 20px;
	background: var(--color-tertiary);
}

.sidenav-bar {
	height: 2px;
	width: 20px;
	background: var(--color-secondary);
	transition: 0.2s;
}

.sidenav-bar:not(:last-child) {
	margin-bottom: 5px;
}

.sidenav-list-item {
	width: 250px;
}

.sidenav-list-link {
	display: flex;
	align-items: center;
	min-height: 50px;
	color: var(--color-secondary);
	padding-left: 10px;
	padding-right: 10px;
	border-bottom: 1px solid var(--color-background);
}

.sidenav-list-link:hover {
	background: var(--color-primary);
	color: var(--color-tertiary);
}

.sidenav-list-link > i {
	width: 20px;
}

.sidenav-list-active {
	background: var(--color-primary);
	border-bottom: 2px solid var(--color-primary-border) !important;
	color: var(--color-tertiary);
}

.sidenav-list-dropdown-item {
	width: 250px;
}

.sidenav-list-dropdown-link {
	display: flex;
	align-items: center;
	min-height: 50px;
	color: var(--color-secondary);
	padding-left: 10px;
	padding-right: 10px;
	border-bottom: 1px solid var(--color-background);
	background: var(--color-background-light);
}

.sidenav-list-dropdown-link:hover {
	background: var(--color-primary-border);
	color: var(--color-tertiary);
}

.sidenav-list-dropdown-active {
	background: var(--color-primary-border);
	color: var(--color-tertiary);
	border-bottom: 1px solid var(--color-primary) !important;
}

.sidenav-list-dropdown {
	display: none;
}

.sidenav-list-dropdown-shown > .sidenav-list-dropdown {
	display: block !important;
}

/* SIDENAV END */


/* MAIN CONTENT START */

.inner-wrapper {
	width: 100%;
	display: flex;
	flex-direction: row;
}

.content-section {
    flex: 1;
    min-width: 0px;
	position: relative;
	margin: 30px;
	background: var(--color-tertiary);
	border-radius: 4px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.05);
}

.content-section-multiple {
    flex: 1;
    min-width: 0px;
	position: relative;
}

.content-header {
	/*background: var(--color-background-light);*/
	padding: 20px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom: 1px solid var(--color-background);
}

.content-footer {
	/*background: var(--color-background-light);*/
	padding: 20px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-top: 1px solid var(--color-background);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	display: flex;
	align-items: flex-start;
	background: var(--color-tertiary);
}

.content-heading {
	font-size: 18px;
	margin: 0px;
}

.content-sub-heading {
	font-size: 20px;
	margin: 0px;
	font-weight: 400;
	opacity: 0.75;
}

.content-container {
	padding: 20px;
	width: 100%;
	min-height: calc(100% - 142px);
}

.content-container.flex-centered > form {
	width: 100%;
}

.content-section-small-row {
	margin: 30px 18px 0px 18px;
}

.content-section-small-row > div {
	overflow: hidden;
	margin-bottom: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.content-section-small {
	display: flex;
	flex-direction: column;
	height: 100%;
    min-width: 0px;
	position: relative;
	background: var(--color-tertiary);
	border-radius: 4px;
	margin-bottom: 12px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.05);
}

.content-title {
	font-size: 24px;
	font-weight: 700;
}

.content-text {
	font-size: 16px;
	font-weight: 400;
}

/* MAIN CONTENT END */


/* FORM ELEMENTS START */
.btn {
	transition: 0.2s;
}

.btn:focus {
	box-shadow: none !important;
}

.btn-primary {
	background: var(--color-primary) !important;
	border: 0px;
	border-bottom: 3px solid var(--color-primary-border) !important;
}

.btn-primary:hover {
	opacity: 0.8;
}

.btn-secondary {
	background: var(--color-secondary) !important;
	border: 0px;
	border-bottom: 3px solid var(--color-secondary-border) !important;
}

.btn-secondary:hover {
	opacity: 0.8;
}

.btn-info:hover {
	opacity: 0.8;
}

.btn-info {
	background: #62a03f !important;
	border: 0px;
	border-bottom: 3px solid #4b8928 !important;
	color: white !important;
}

.btn-info:hover {
	opacity: 0.8;
}

.form-label {
	display: flex;
	font-family: var(--font-primary);
	margin: 0px;
	align-items: center;
}

.form-control:focus {
	border-color: var(--color-primary-border);
	box-shadow: 0 0 0 0.1rem var(--color-primary-border);
}

.pagination > .page-item:not(.active) > .page-link {
	border: 1px solid var(--color-background) !important;
	color: var(--color-primary);
}

.pagination > .active {
	z-index: 1;
}

.pagination > .active > .page-link {
	border: 1px solid var(--color-primary) !important;
	background: var(--color-primary);
}

.search-input-container {
	position: relative;
}

.search-input-clear {
	display: none;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: calc(50% - 15px);
	right: 5px;
	height: 30px;
	border-radius: 8px;
	background: var(--color-primary);
	color: var(--color-tertiary);
	transition: 0.2s;
}

.search-input-clear:hover {
	opacity: 0.6;
}

/* FORM ELEMENTS END */


/* TABLES START */

.table-container {
	display: block;
	overflow-x: auto;
}

.table-centered {
	display: flex;
	justify-content: center;
}

.table-data-centered > table {
	text-align: center;
}

.table-max-width > table {
	width: 100%;
}

.table-primary {
	border-top: 1px solid var(--color-background);
	border-left: 1px solid var(--color-background);
	border-right: 1px solid var(--color-background);
}

.table-primary > thead > tr > .th-sortable {
	cursor: pointer;
}

.table-primary > thead > tr > th > i {
	pointer-events: none;
	font-size: 20px;
	position: relative;
	bottom: -2.5px;
}

.table-primary > thead, tbody > tr > th {
	padding: 30px;
	font-size: 12px;
	font-weight: 700;
	background: var(--color-background);
	/*background: var(--color-primary);*/
	/*color: var(--color-tertiary);*/
}

.table-primary > tbody > tr:hover {
	background: var(--color-background-light);
}

.table-primary > tbody > tr > th {
	border-right: 1px solid var(--color-background);
	border-bottom: 1px solid var(--color-background);
}

.table-primary > tbody > tr > td {
	padding: 10px;
	font-size: 14px;
}

.table-primary > thead > tr > th:not(:last-child) {
	border-right: 1px solid var(--color-background);
	border-bottom: 1px solid var(--color-background);
}

.table-primary > tbody > tr > td:not(:last-child) {
	border-right: 1px solid var(--color-background);
	border-bottom: 1px solid var(--color-background);
}

.table-primary > thead > tr > th:last-child {
	border-bottom: 1px solid var(--color-background);
}

.table-primary > tbody > tr > td:last-child {
	border-bottom: 1px solid var(--color-background);
}

.table-actions {
	min-width: 100px;
}

.table-actions > a {
	color: var(--color-primary);
	font-size: 18px;
	transition: 0.2s;
}

.table-actions > a:hover {
	opacity: 0.6;
}

/* TABLES END */


/* DATEPICKER START */

.ui-datepicker {
	padding: 0px !important;
	width: calc(17em + 10px) !important;
}

.ui-datepicker-header {
	background: var(--color-primary) !important;
}

/*

.ui-datepicker-header > .ui-corner-all {
	color: var(--color-tertiary) !important;
	height: 100% !important;
}

.ui-datepicker-header > .ui-state-hover > span {
	background-image: url("../vendor/jquery-ui/images/ui-icons_444444_256x240.png") !important;
}

*/

.ui-datepicker-header > .ui-state-hover {
	background: none !important;
	border: 0px !important;
}


.ui-datepicker-title {
	color: var(--color-tertiary) !important;
}

.ui-datepicker-calendar {
	width: 95% !important;
	margin: 0 auto !important;
	margin-bottom: 5px !important;
}

.ui-datepicker-calendar > tbody > tr > td > a:not(.ui-state-active) {
	background: #fff !important;
	text-align: center !important;
}

.ui-datepicker-calendar > tbody > tr > td > a:not(.ui-state-active):hover {
	background: var(--color-primary-border) !important;
	color: var(--color-tertiary) !important;
}

.ui-datepicker-calendar > tbody > tr > td > .ui-state-active {
	background: var(--color-primary) !important;
	color: var(--color-tertiary) !important;
	border: 1px solid var(--color-primary-border) !important;
	text-align: center !important;
}

.ui-datepicker-calendar > tbody > tr > td > .ui-state-highlight {
	border: 1px solid var(--color-primary-border) !important;
}

/* DATEPICKER END */


/* GAUGE START */

.gauge-wrapper {
	height: 100%;
	width: 100%;
	max-width: 250px;
}

.gauge-container {
	padding-top: 50%;
	width: 100%;
	position: relative;
	overflow: hidden;
	border-top-left-radius: 500px;
	border-top-right-radius: 500px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.gauge-background {
	position: absolute;
	height: 100%;
	width: 100%;
	background: var(--color-background);
	border-top-left-radius: 500px;
	border-top-right-radius: 500px;
	z-index: 1;
}

.gauge-cover {
	height: 55%;
	width: 50%;
	background: #fff;
	position: absolute;
	border-top-left-radius: 500px;
	border-top-right-radius: 500px;
	z-index: 3;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
}

.gauge-fill {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 100%;
	left: 0px;
	transform-origin: center top;
	transform: rotate(0.25turn);
	z-index: 2;
}

.gauge-fill-primary {
	background: var(--color-primary);
}

.gauge-fill-success {
	background: var(--color-success);
}

.gauge-fill-warning {
	background: var(--color-warning);
}

.gauge-fill-danger {
	background: var(--color-danger);
}

.gauge-fill-needle {
	content: '';
	position: absolute;
	height: 3px;
	width: 50%;
	background: var(--color-secondary);
	top: 0px;
	left: 0px;
	z-index: 2;
}

/* GAUGE END */


/* BADGES START */

.badge {
	padding: 7.5px 15px 7.5px 15px;
	font-size: 14px;
	font-weight: 400;
}

.badge-success {
	background: var(--color-success);
}

.badge-warning {
	background: var(--color-warning);
}

.badge-danger {
	background: var(--color-danger);
}

/* BADGES END */


/* BANNER START */

.banner-small {
	padding: 20px 40px 20px 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	border-radius: 4px;
}

.banner {
	padding: 20px 40px 20px 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 36px;
	border-radius: 4px;
}

.banner-primary {
	background: var(--color-primary);
	color: var(--color-tertiary);
}

/* BANNER END */


/* SIGN IN START */

.sign-in-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	min-width: 100vw;
	padding: 20px;
}

.sign-in-container {
	width: 500px;
	max-width: 100%;
	border-radius: 4px;
}

.sign-in-header {
	display: flex;
	align-items: center;
}

.sign-in-logo {
	height: 50px;
}

.sign-in-heading {
	display: block;
	padding: 20px;
	background: var(--color-primary);
	color: var(--color-tertiary);
	margin-left: auto;
	font-size: 16px;
	font-weight: 700;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.sign-in-content {
	border-top: 10px solid var(--color-primary);
	border-radius: 4px;
	border-top-right-radius: 0px;
	background: var(--color-tertiary);
	padding: 20px;
}

/* SIGN IN END */


/* FORGOT PASSWORD START */

.reset-section {
	height: 100vh;
	padding: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.reset-section > .container {
	display: flex;
	flex-direction: column;
	background: var(--color-tertiary);
	padding: 0px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.05);
}

.reset-header {
	border-bottom: 1px solid var(--color-background);
	padding: 20px;
}

.reset-header > h3 {
	font-size: 24px;
}

.reset-content {
	min-height: 40vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 20px;
}

.reset-text {
	font-size: 16px;
}

/* FORGOT PASSWORD END */


/* MEDIA QUERIES START */


@media only screen and (max-width: 768px) {
	.logo {
		height: 30px;
	}

	.sign-in-logo {
		height: 36px;
	}

	.user-dropdown-name {
		font-size: 13px;
	}

	.user-dropdown-title {
		font-size: 11px;
	}

	.user-dropdown-chevron {
		margin: 0px;
		margin-left: 15px;
	}

	.sidenav-bars {
		position: relative;
		z-index: 999999;
	}

	.sidenav {
		position: fixed;
		left: 0;
		top: 0;
		z-index: 99999;
		width: 0px;
		overflow-x: hidden !important;
		overflow-y: hidden !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
	}

	.sidenav-list {
		/*width: 300px;*/
	}

	.sidenav-list-item {
		width: unset;
	}

	.sidenav-list-link {
		border: 0px;
		font-size: 20px;
	}

	.sidenav-list-dropdown-item {
		width: unset;
	}
}

@media only screen and (min-width: 1600px) {
	.content-container {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0px !important;
	}
}

/* MEDIA QUERIES END */