/* desktop */
.navbar-header .nav-title,
.navbar-header .nav-notification
{
	display: none;
}

/* bottom sheet styling */
.cupertino-pane-wrapper .pane {
	background: var(--theme-container-bg) !important;
	color: var(--theme-body-color) !important;
}

.nav-item {
	display: flex;
	width: 100%;
	align-items: center;
}

.nav-item img {
	padding: 2px !important;
}

/* tablet and mobile dimensions */
@media screen and (min-width: 200px) and (max-width: 1025px) and (-webkit-min-device-pixel-ratio: 2)
{
    .navbar-toggle {
        display: block !important;
        margin-top: 3px;
        float: left !important;
    }

	.navbar-default .navbar-header .navbar-collapse {
		display: block;
	}
}

/* hide nav bar, header logo when in mobile mode */
@media (min-width: 200px) and (max-width: 1250px)
{
	.sidebar-close-icon {
		display: none;
	}

	.navbar-default .navbar-header .navbar-collapse {
		border: none;
		height: 100%;
		display: none;
	}
}

/* in mobile/tablet mode */
@media screen and (min-width: 200px) and (max-width: 1025px) and (-webkit-min-device-pixel-ratio: 2) {
	.container-fluid>.navbar-header{
		text-align: center;
		width: 100%;
	}
	.navbar-header > #header-logo {
		display: none;
	}
	.navbar-collapse {
		position: fixed;
		top:0;
		bottom: 0;
		right: 100%;
		width: 100%;
		height: 100%;
		max-height: 100% !important;
		padding-right: 1rem;
		padding-left: 1rem;
		overflow-y: auto;
		visibility: hidden;
		background-color: black;
		transition: visibility .2s ease-in-out, -webkit-transform .2s ease-in-out;
	}
	.navbar-collapse.show {
		visibility: visible;
		transform: translateX(100%);
		height: 100%;
		max-height: 100%;
        border: 0;
        /*opacity: 90%;*/
	}

	.navbar-header #sidebar-overlay {
		height: 100%;
		width: 30%;
		right: 0;
		top: 0;
		position: fixed;
		visibility: hidden;
	}

	.navbar-header #sidebar-overlay.show {
		visibility: visible;
	}

	.navbar-header .nav-title {
		position: absolute;
		display: flex !important;
		align-items: center;
		justify-content: center;
		height: 100%;
		width: 100%;
		left: 50%;
		transform: translate(-50%, 0%) !important;
	}

	.navbar-header .mobile-nav-notification,
	.navbar-header .nav-notification {
		display: flex;
		align-items: center;
		height: 100%;
		right: 10px;
		position: absolute;
	}

	.navbar-header .mobile-nav-notification a,
	.navbar-header .nav-notification a {
		color: white !important;
	}

	.sidebar-close-icon
	{
		display: block;
		width: 20px;
		color: var(--theme-body-color);
		cursor: pointer;
		font-size: 3.5vh; /*2em;*/
		height: 20px;
        float: right;
        margin-right: 15px;
	}

	.sidebar-wrapper
	{
		width       : 70%;
		background  : var(--theme-body-bg);
		height      : 100%;
		max-height  : 100%;
		top         : 0;
		z-index		: 100;
		overflow-x: hidden;
		overflow-y: overlay;
		box-shadow: 20px 0px 20px 0 rgba(0, 0, 0, 0.50);
	}

	.sidebar-wrapper > .sidebar-content {
		height: calc( 100% - 250px );
		overflow-y: auto;
		overflow-x: hidden;
	}

	.sidebar-wrapper ul {
		padding: 5px !important;
		margin: 0 !important;
        text-align: left;
        display: grid;
        width: 100%;
	}

	.sidebar-wrapper .mobile-menu-icon-img
	{
		width: 40px;
	}

	.sidebar-wrapper ul>li {
		cursor: pointer;
		padding: 5px 5px;
		list-style-type: none;
		width: 100%;
		display: flex;
		height: 50px;
		border-radius: 6px;
		overflow: hidden;
		max-height: unset;
		min-height: unset;
	}

	.sidebar-wrapper ul>li>a
	{
		color       	: var(--theme-body-color);
		font-weight 	: bold;
	}

	.sidebar-wrapper ul>li>a:focus,
	.sidebar-wrapper ul>li>a:hover
	{
		background-color : transparent; /*rgba(137, 113, 147, 0.2);*/
	}

	.sidebar-wrapper ul>li>a span
	{
		padding-left: 15px;
        color: var(--theme-body-color) !important;
		flex: 1;
		font-weight: bold;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.sidebar-wrapper > .user-profile {
		display: grid;
		grid-template-columns: 5em 1fr;
		grid-template-rows: 1fr auto;
		align-items: center;
		justify-items: center;
		padding: 15px;
		width: 100%;
		color: var(--theme-body-color);
	}

	.sidebar-wrapper > .switch-user-role {
		padding: 5px 15px;
	}

	.sidebar-wrapper li.selected-side-view {
		background-color: rgba(175, 175, 175, 0.25);
	}

	.sidebar-divider
	{
		border: 2px solid rgba(95, 95, 95, 0.35);
		margin: 5px;
		border-radius: 10px;
	}

	.sidebar-wrapper > .user-profile > i {
		grid-row-start: span 2;
	}

	.sidebar-wrapper > .user-profile > span.user{
		width: 100%;
		text-align: left;
		font-weight: bold;
		font-size: 2rem;
	}

	.sidebar-wrapper > .user-profile > span.role{
		width: 100%;
		text-align: left;
		font-size: 1.5rem;
	}

	.sidebar-wrapper > .sidebar-footer {
		width: 100%;
		color: var(--theme-body-color);
		bottom: 0;
		position: absolute;
		padding-right: 20px;
		height: 30px;
	}

	.sidebar-footer > .logout {
		float: left;
		text-align: left;
		cursor: pointer;
		margin-left: 10px;
		display: flex;
		align-items: center;
		column-gap: 5px;
		font-weight: bold;
	}

	.sidebar-footer > .version {
		float: right;
	}

	.sidebar-wrapper > .switch-user-role > .mobileRoleSwitchButton {
		width: 100%; 
		margin-top:10px;
		border: none; 
		height: 40px; 
		border-radius: 5px; 
		background-color: var( --theme-800 );
	}
}
