body {
  height: 100%;
  background-color: #f5f5f5;
}

.body-internal {
  background-color: #ffffff;
}

.form-signin {
  width: 100%;
  max-width: 480px;
  padding: 15px;
  margin: 50px auto;
}
.form-signin {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-passreset {
  width: 100%;
  max-width: 480px;
  padding: 15px;
  margin: 50px auto;
}
.form-passreset input[type="email"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.mbpo-h1 {
  margin: 22px auto;
  color: black;
}

.navbar-brand {
  padding-top: 12px;
  padding-bottom: 12px;
}

.icon {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

.my-handle {
  cursor: move;
}

.line-heading {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.line-heading:before, .line-heading:after {
  position: absolute;
  top: 51%;
  overflow: hidden;
  width: 50%;
  height: 1px;
  content: '\a0';
  background-color: #000;
}
.line-heading:before {
  margin-left: -50%;
  text-align: right;
}

/*
 * Sidebar
 */
 .sidebar {
  z-index: 100; /* Behind the navbar */
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
.sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 52px; /* Height of navbar */
  height: calc(100vh - 52px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}
.sidebar .nav-link .icon {
  margin-right: 4px;
  color: #999;
}
.sidebar .nav-link.active {
  color: #007bff;
}
.sidebar .nav-link:hover .icon,
.sidebar .nav-link.active .icon {
  color: inherit;
}
.sidebar .dropdown-item {
  font-weight: 500;
  color: #333;
}
.sidebar .dropdown-item .icon {
  margin-right: 4px;
  color: #999;
}
.sidebar .dropdown-item.active {
  color: #007bff;
  background-color: inherit;
}
.sidebar .dropdown-item:hover .icon,
.sidebar .dropdown-item.active .icon {
  color: inherit;
}
.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}
.sidebar .nav-second-level li a {
  padding-left: 50px;
}
.nav-second-level {
  display: block;
}
.sidebar .collapse-toggle::before {
  content: "\f077";
}
.sidebar .collapsed .collapse-toggle::before {
  content: "\f078";
}

/*
 * Mobile sidebar
 */
.sidebar-mobile {
  width: 250px;
  position: fixed;
  left: -250px;
  transition: all 0.3s;
  display: block;
  height: 100vh;
}
.sidebar-mobile.show {
  left: 0px;
}
.overlay {
  display: block;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

/*
 * Sidebar toggler
 */
.sidebar-toggler {
  color: #ffffff;
  display: inline-block;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 1.09375rem;
}
.sidebar-toggler.collapsed .sidebar-toggler-icon::before{
  content: "\f0c9";
}
.sidebar-toggler .sidebar-toggler-icon::before {
  content: "\f00d";
}

/*
 * Sub sidebar
 */
 .subsidebar {
  height: calc(100vh - 52px);
}
.subsidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  /*height: calc(100vh - 52px);*/
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
.subsidebar .nav-link {
  font-weight: 500;
  color: #007bff;
}
.subsidebar .nav-link.active {
  background-color: #e8ecf2;
}
.subsidebar .nav-link:hover {
  background-color: #e8ecf2;
}
.subsidebar .nav-link:hover .icon,
.subsidebar .nav-link.active .icon {
  color: inherit;
}
.subsidebar-heading {
  font-size: 1.25rem;
  padding-left: 15px;
  padding-right: 15px;
  font-weight: bold;
}

/*
 * Blog posts
 */
.blog-post {
  margin-bottom: 3rem;
}
.blog-post-title {
  margin-bottom: .25rem;
  margin-left: 60px;
}
.blog-post-meta {
  margin-left: 60px;
  margin-bottom: 1.25rem;
  color: #999;
}
.blog-post-body {
  font-size: 20px;
}

/**
 * When using cards as links
 */
a.card, a.card:hover {
  color:inherit;
  text-decoration: inherit;
}

/**
 * Reports export
 */
.export-table table {
  page-break-after: auto
}
.export-table tfoot, .export-table thead {
  display: table-row-group;
}
.export-table tr {
  page-break-inside: avoid !important;
  page-break-after: auto
}
.export-table td {
  page-break-inside: avoid !important;
  page-break-after: auto
}