body {
	display: grid;
	grid-template-columns:
		[col] 50px
		[col] calc(200px - 1ch)
		[col] minmax(calc(50px + 1ch), calc(100% - 250px - 1ch));
	grid-template-rows:
		[row] 50px
		[row] minmax(calc(100vh - 50px - 0.75em), auto);
	gap: 0.75em 1ch;
}

html {
	height: 100%;
}

#topNav {
	grid-column-start: 3;
	grid-column-end: 4;
	grid-row-start: 1;
	grid-row-end: 2;
	align-self: center;
	border-bottom: 1px solid #e7e7e7;
	border-radius: 0;
	padding-bottom: 7.5px;
	padding-top: 15px;
	margin-right: 5px;
}

#topNav .glyphicon {
	font-size: 18px;
}

div.panel-body.prv-btnbar {
	padding-bottom: 0px;
}

#topNav .navbar-brand {
	padding: 0px 0px 0px 5px;
	height: inherit;
}

#topNav .navbar-brand>img {
	display: none;
	height: 26px;
}

#prv-page-navbar {
	padding-left: 0px;
}

.nounderline {
	text-decoration: none !important
}

.prvProcessing {
	display: block;
	margin-left: auto;
	margin-right: auto;
	content: url(../images/fbloader.gif);
}

.glyphicon-refresh-animate {
	-animation: spin 1.5s infinite linear;
	-webkit-animation: spin2 1.5s infinite linear;
}

#goToSubscribe {
	margin: 0 5px 0 5px;
}

.mobileSubBtn {
	float: right;
	margin: 8px 5px 0 5px;
}

#navbar p {
	font-family: 'Poppins', sans-serif;
	font-size: 1.1em;
	font-weight: 300;
	line-height: 1.7em;
	color: #999;
}

a,
a:hover,
a:focus {
	text-decoration: none;
	transition: all 0.3s;
}

#menu a.menuLink, #menu a.subMenuLink {
	color: #B6BBCA;
}

.navbar, #topNav {
	background: #fff;
	border: none;
	border-radius: 0;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
	box-shadow: none;
	outline: none !important;
	border: none;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
	display: flex;
	width: 100%;
}

#menu {
	grid-column-start: 1;
	grid-column-end: 3;
	grid-row-start: 1;
	grid-row-end: 3;
	background: #2C323E;
	color: #fff;
	transition: all 0.3s;
}

#sidebar-header {
	text-align: center;
	width: 100%;
	height: 80px;
	background: #2C323E;
}

#sidebarLogo {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

#menu ul.components {
	margin: 0px;
}

#menu ul p {
	color: #fff;
	padding: 10px;
}

#menu ul li a {
	padding: 5px;
	padding-left: 10px;
	font-size: 1.1em;
	display: block;
}

#menu ul li a:hover {
	color: #fff;
	background: #394354;
}

#menu .menuLink, #menu a[aria-expanded="true"] {
	color: #fff;
	background: #2C323E;
}

#bottomMenu {
	padding: 0px !important;
}

#logout {
	text-align:center;
}

#menu a[data-toggle="collapse"] {
	position: relative;
}

.dropdown-toggle::after {
	display: block;
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
}

#mainMenu ul a.menuLink {
	display: block;
	font-size: 0.9em !important;
	padding-left: 30px !important;
	background: #394354;
}

#mainMenu ul a.subMenuLink {
	padding-left: 15px !important;
	background: #394354;
}

#mainMenu ul a.subMenuLink > .menuText {
	font-size: 1em;
}

ul.CTAs {
	padding: 20px;
}

ul.CTAs a {
	text-align: center;
	font-size: 0.9em !important;
	display: block;
	border-radius: 5px;
}

a.article,
a.article:hover {
	background: #D6DBDF !important;
	color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
	grid-column-start: 3;
	grid-column-end: 4;
	grid-row-start: 2;
	grid-row-end: 3;
	transition: all 0.3s;
	padding-left: calc(15px - 1ch);
	padding-right: 15px;
}

#rightNavBtns {
	float:right;
}

#centerNavBtns {
	position: absolute;
	width: 100%;
	left: 0;
	text-align: center;
}

.menuBtn {
	border: 0px;
}

#userMenuBtn {
	border: 0px;
}

#topNav>.navbar-nav {
	width: 100%;
	text-align: center;
}

#topNav>.navbar-nav > li {
	float: none;
	display: inline-block;
}

#sidebarCollapse {
	float: left;
	transition: all 0.3s;
	border: 0px;
}

.burgerBar {
	width: 20px;
	height: 3px;
	background-color: grey;
	margin: 4px 0;
}

.navIcon {
	color: dimgrey;
}

#sidebarCheck {
	display: none;
}

#sidebarCheck.active {
	display: block;
	height: 40px;
	width: 40px;
}

#sidebar-header:hover #editLogos {
	display: block;
}

#editLogos {
	padding-top: 7px;
	padding-right: 7px;
	position: absolute;
	left: 220px;
	top: 0;
	display: none;
}

#editLogos a {
	color: #F8F8F8;
}

.navLogo {
	float: left;
	padding: 10px 15px;
}

#userMenu {
	margin-right: 0px !important;
}

.rightBtn > .dropdown {
	margin-left: 0px !important;
}

.rightBtn > .dropdown > .dropdown-toggle {
	height: 34px;
}

#alertBadge{
	position:absolute;
	right: 1px;
	top: -5px;
}

.bdg-danger {
	background-color:red;
}

.subMenuLink > .glyphicon {
	font-size: 1.3em;
}

#dbSubMenu li {
	background: #394354;
}

#workSubMenu li {
	background: #394354;
}

#clientsSubMenu li {
	background: #394354;
}

#customSubMenu li {
	background: #394354;
}

#resourcesSubMenu li {
	background: #394354;
}

#menuProgressBar {
	padding: 0px;
}

#progressLink {
	padding-left: 20px;
	text-decoration: none;
	color: #333;
	white-space: nowrap;
	clear: both;
	font-weight: 400;
}

.grey-bar {
	color: #000!important;
	background-color: #f1f1f1!important;
	border-radius:4px;
}

.prog-bar {
	color: #fff;
	background-color: green;
	border-radius:4px;
	text-align: center;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 991px) {
	#menu {
		display: none;
		z-index: 999;
	}

	#content {
		grid-column-start: 1;
		padding-left: 15px;
	}

	#topNav {
		grid-column-start: 1;
	}

	#topNav>.navbar-nav {
		margin: 0px;
	}

	.container-fluid > .navbar-header {
		margin: 0px;
	}

	.navbar-toggle {
		margin-left: 0px;
		margin-right: 0px;
	}

	.navbar-nav .open .dropdown-menu {
		position: absolute;
		float: left;
		margin-top: 5px;
		background-color: #fff;
		border: 1px solid rgba(0,0,0,.15);
		-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
		box-shadow: 0 6px 12px rgba(0,0,0,.175);
	}

	#topNav .navbar-brand>img {
		display: inline-block;
	}
}

@media (min-width: 992px) {
	#menu {
		z-index: 999;
	}

	.rightBtn {
		margin-right: 5px;
	}
}

@media (max-width: 613px) {
	body>div.popover {
		left: 0px !important;
		max-width: calc(100% - 111.2833px) !important;
	}

	#wnListContainer .list-group-item-text iframe {
		width: 100% !important;
		height: 263px !important;
	}
}

@media (max-width: 530px) {
	body>div.popover {
		max-width: 100% !important;
	}
}

@media (max-width: 364px) {
	body {
		grid-template-columns:
			[col] 50px
			[col] 100px
			[col] calc(215px - 2ch);
		overflow-x: scroll!important;
	}
}

@-webkit-keyframes spin2 {
	from { -webkit-transform: rotate(0deg);}
	to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
	from { transform: scale(1) rotate(0deg);}
	to { transform: scale(1) rotate(360deg);}
}

#navPageTitle {
	padding: 15px;
	margin: 0px;
}

/*
  Use this on button dropdowns ul.dropdown-menu to align the right
  edge of the dropdown with the right edge of the button instead of the
  left
*/
.rightAlignDropdown {
	right: 0 !important;
	left: auto !important;
}

#userDropdownUsername {
	display: block;
	padding: 3px 20px;
	clear: both;
}

#loadingModal {
	z-index: 9999999;
}

/* ---------------------------------------------------
    MagicSuggest
----------------------------------------------------- */
.ms-sel-ctn input:focus {
	min-width: fit-content;
}

.ms-trigger {
	text-align: left;
}
