
:root {
	--line-color: #e6e6e6;
	--line-color-darker: #a9a9a9;
	--account-hover-bg-color: #f6f6f6;
	--account-active-bg-color: #cecece82;
	--menu-section-names-text-color: #757575;
	--account-description-text-color: #7d7d7d;
	--account-status-color: #ff7300;
	--menu-item-text-color: #545454;
	--empty-menu-color: #737373;
	--inactive-text-color: #666666;
	--active-text-color: #151515;
	--border-color: #efefef;
	--background-color: #ffffff;
	--sidebar-width: 190px;
	--menubar-width: 180px;
	--transition: all 0.15s;
	--transition-longer: all 0.25s ease;
	--mobile-sidebar-width: 200px;
	--shadow: 0 0 5px 0 rgba(43, 43, 43, .1), 0 11px 6px -7px rgba(43, 43, 43, .1);
}

@media (min-width: 768px) {
	.mb-mobile {
		margin-bottom: 0px !important;
	}
	#tableContainer .dt-layout-cell.dt-layout-start {
		padding-left: 15px;
	}
	#tableContainer .dt-layout-cell.dt-layout-end {
		padding-right: 15px;
	}
}

@media (max-width: 768px) {
	.full-width-mobile {
		width: 100% !important;
	}
	.p-0-mobile {
		padding: 0 !important;
	}
}

body, html {
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#content {
	display: flex;
	flex: 1;
	min-height: 0;
}

/* Italicize placeholder text to make it clearer that a value needs to be entered there. */
input::placeholder {
	font-style: italic;
	font-weight: 400;
}

#mainArea {
	flex: 1 1 0;
	min-width: 0;
	overflow: auto;
}

/* This element's z-index must be the highest since the profile menu must always be on top */
#mainNavbar {
	top: 0;
	right: 0;
	left: 0;
	z-index: 1050;
}

#mainNavbar .logo1 img {
	padding-top: 0.7rem;
	padding-bottom: 0.7rem;
	padding-right: 0.7rem;
	height: 60px;
}

#mainNavbar .logo2 img {
	padding-top: 0.1rem;
	padding-bottom: 0.1rem;
	padding-left: 0.3rem;
	height: 65px;
}

#navbarAccountName {
	font-weight: 500;
	font-size: larger;
	color: #474747;
}

#navbarDisplayName {
	font-size: 18px;
	font-weight: 500;
}

.loadingAnimation {
	height: 63px;
	width: 63px;
}

.cleanCard {
	box-shadow: var(--shadow);
	border: none;
	overflow: auto;
}

.alert-light {
	border: 1px solid #e9e9e9;
}

/* Remove borders from outermost edges of table */
.cleanTable {
	border-top: transparent;
	border-left: transparent;
}

.cleanTable td:last-child,
.cleanTable th:last-child {
	border-right: none;
}

.cleanTable tr:last-child td,
.cleanTable tr:last-child th {
	border-bottom: none;
}

/**** Rules for the mobile menu toggle button and animations ****/
.hamburger {
	display: inline-block;
	width: 25px;
	height: 20px;
	position: relative;
}

.hamburger span {
	height: 3px;
	width: 100%;
	background: #6d6d6d;
	border-radius: 2px;
	position: absolute;
	left: 0;
	transition: all 0.4s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* These rules make the mobile menu toggle button turn into an X when the menu is open */
/* The logic for adding the 'open' class to the hamburger div is in the sidebar JavaScript */
button.open .hamburger span:nth-child(1) {
	transform: rotate(45deg);
	top: 9px;
}

button.open .hamburger span:nth-child(2) {
	opacity: 0;
}

button.open .hamburger span:nth-child(3) {
	transform: rotate(-45deg);
	top: 9px;
}
/***************** End Hamburger Logic ********************/

table.dataTable tbody td.dt-control:before {
	margin-right: 0.8em;
}

tr[data-dt-row] > td {
    padding: 0 !important;
}

/* I don't know why, but left: auto and right: 0 make it possible to animate the profile menu. */
.dropdown-menu {
	padding: 7px !important;
	opacity: 0;
	transform: translateY(-10px);
	transition: var(--transition-longer);
	display: block;
	pointer-events: none;
	position: absolute;
	left: auto;
	right: 0;
}

.dropdown-menu.show {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

/* Gives the buttons their shape */
.dropdown-item {
	padding-top: 7px;
	padding-bottom: 7px;
	padding-left: 7px;
	padding-right: 12px;
	border-radius: 8px;
	transition: var(--transition-longer);
}

.dropdown-item i {
	width: 1.6em;
	text-align: center;
	color: var(--menu-item-text-color);
}

/* Prevent menu options from appearing blue when clicked */
.dropdown-item:active,
.dropdown-item.active,
.dropdown-item:focus {
	color: #343a40 !important;
	background-color: #e1e6ea !important;
}

.announcement-box {
	background: #fbfbfb;
	border-radius: 0.5rem;
	padding: 10px;
	margin: 10px;
	transition: var(--transition);
}

.announcement-box:hover {
	background: #f3f4f5;
	border-color: #bfc2c7;
	box-shadow: 0 2px 12px 0 rgba(80, 105, 150, 0.10);
}

.announcement-box p {
	margin-bottom: 0 !important;
}

.announcement-box.ql-editor {
	white-space: normal !important;
	height: auto !important;
}

#breadcrumbTrail {
	position: relative;
	z-index: 1039;
	background: white;
	width: 100%;
}

.breadcrumb {
	margin: 0;
	padding-top: 13px;
	padding-bottom: 5px;
	margin-bottom: 10px;
}

.breadcrumb .breadcrumb-item a {
	padding: 8px 12px;
	border-radius: 8px;
	background: transparent;
	transition: var(--transition-longer);
	color: var(--menu-item-text-color);
	text-decoration: none;
}

.breadcrumb .breadcrumb-item a:hover {
	color: black;
	background: var(--account-hover-bg-color);
}

.breadcrumb .breadcrumb-item.active {
	color: black;
	pointer-events: none;
}

.custom-col-border th:not(:first-child),
.custom-col-border td:not(:first-child) {
	border-left: 1px #dee2e6;
}
.custom-col-border th:first-child,
.custom-col-border td:first-child {
	border-left: none;
}
.custom-col-border th:last-child,
.custom-col-border td:last-child {
	border-right: none;
}
.custom-col-border th,
.custom-col-border td {
	border-top: none;
	border-bottom: none;
}
.custom-col-border {
	border-collapse: separate;
	border-spacing: 0;
}

/********************************************* Search Bar  ***************************************/
.searchBar {
	display: flex;
	line-height: 28px;
	align-items: center;
	position: relative;
	max-width: 100%;
	padding-top: 14px;
	padding-bottom: 14px;
	padding-left: 14px;
	padding-right: 14px;
	position: relative;
}

#searchBarLoadingAnimation {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	height: 36px;
	pointer-events: none;
}

#searchBarInput {
	width: 100%;
	height: 52px;
	line-height: 28px;
	padding: 0 1rem;
	padding-left: 2.5rem;
	padding-right: 50px;
	padding-bottom: 2px;
	border: 2px solid transparent;
	border-radius: 8px;
	outline: none;
	background-color: #fbfbfb;
	color: #0d0c22;
	transition: .3s ease;
	font-size: 1.1rem;
}

#searchBarInput::placeholder {
	color: #9e9ea7;
}

#searchBarInput:hover {
	border-color: #6f6f6f20;
}

#searchBarInput:focus {
	outline: none;
	border-color: #6f6f6f66;
	background-color: #fff;
	box-shadow: 0 0 0 4px #cbcbcb66;
}

.searchIcon {
	position: absolute;
	left: 1.8rem;
	fill: #9e9ea7;
	width: 1.2rem;
	height: 1.2rem;
}
/************************************************************************************/

footer {
	/* If for whatever reason the footer gives you issues on mobile, try uncommenting these lines. */
	/* If you do, you'll have to make sure the content on the screen is shifted up accordingly. */
	/*position: fixed;*/
	/*bottom: 0;*/
	width: 100%;
	background-color: #f8f9fa;
	text-align: center;
	padding: 9px 0;
	border-top: 1px solid #ddd;
}

/********************************************* Page Blocker  ***************************************/
#page-blocker {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.div-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.overlay-box {
    background: #fff;
    padding: 15px 25px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page_blocker_loading {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
}

.overlay-text {
    font-size: 14px;
    color: #333;
}

.walkthrough-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.5);
	z-index: 9998;
	pointer-events: all;
}
.walkthrough-highlight {
	position: relative;
	z-index: 10000 !important;
	box-shadow: 0 0 0 4px #cdcdcd, 0 0 13px 7px #ffffff !important;
	border-radius: 6px;
	transition: box-shadow 0.2s;
	background: white !important;
	background-color: white !important;
}
.walkthrough-bubble {
	position: fixed;
	z-index: 10001;
	background: #ffffff;
	border-radius: 6px;
	padding: 18px 20px;
	box-shadow: 0 1px 9px 1px #1112;
	font-size: 1rem;
	max-width: 450px;
	min-width: 180px;
}
@media (max-width: 600px) {
	.walkthrough-bubble {
		left: 10px !important;
		right: 10px;
		max-width: none;
		transform: none !important;
	}
}
.walkthrough-btn {
	margin: 5px 3px 0 0;
}