body {
  /*font-size: .875rem;*/
}

.feather {
  width: 16px;
  height: 16px;
}

/*main { width:87% !important; }*/
main {
	position: relative !important;
	float: right !important;
	width: calc(100% - 236px) !important;
	transition: all .3s cubic-bezier(0.25, 0.25, 0.75, 0.75);
	min-height: calc(100vh - 132px);
	/*overflow-y:auto !important;*/
}

.navbar-brand a {
	text-decoration: none;
	color: #fff;
}

/*
 * Sidebar
 */

/*#sidebarMenu { transition: top 0.2s ease-in-out !important; }*/
#sidebarMenu { transition: all .1s cubic-bezier(0.25, 0.25, 0.75, 0.75) !important; }

.sidebar {
  position: fixed;
  top: 0;
  background:#fff;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 0; /* Height of navbar */
  margin-top: 48px;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  overflow-x:hidden;
  overflow-y:auto;
}

.footer {
    float: right !important;
    margin-left: auto!important;
    margin-top: 10px;
    width: calc(100% - 236px) !important;
    height: 50px;
    color: #696969;

    /*
    background-color: #ccc;
    box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 10%);
    */
    
    display: flex;
    align-items: center;
    text-align:center;
    justify-content: center;
    
    font-size: 0.8rem;
    line-height: 160%;
}

.footer > div { width:97.5%; border-top: solid 1px #ced4da; padding: 25px 20px 0 20px; }

@media (max-width: 980px) {
	.sidebar {
		top: 3rem !important;
		padding: 0 !important;
		display: none !important;
	}

	.sidebar.show {
		display: block !important;
		z-index: 999;
		box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 85%);
		margin-top: 0 !important;
	}

	.footer {
		margin-left: 0 !important;
		width: 100% !important;
	}
}

@media (max-width: 980px) {
	.ms-sm-auto {
		margin-left: 0 !important;
		width: 100% !important;
	}

	.navbar-brand {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
		margin-left:4rem;
		background-color: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important;
		box-shadow: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important;
	}
	.navbar-brand a {
		visibility:hidden;
	}

	.d-md-none {
		display: block !important;
	}
}


/*
@media (max-width: 768px) {
  .sidebar {
    top: 3rem;
    z-index: 9999;
    padding: 0;
  }

  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}
*/

.sidebar-sticky {
  height: calc(100vh - 48px);
  overflow-x: auto;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
  top: .25rem;
  left: 0.8rem;
  /*right: 1rem;*/
}

.navbar .form-control {
  padding: .75rem 1rem;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

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

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}


main { font-size:14px; }

legend, caption {
    width: 0;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    font-size: 0;
    line-height: 0;
    text-indent: -999px;
}