﻿main {
  padding: 15px 15px; }
  main :target:before {
    display: block;
    content: " ";
    visibility: hidden;
    margin-top: calc(-3.5rem + -15px);
    height: calc(3.5rem + 15px); }

.dropdown-submenu {
  position: relative; }
  .dropdown-submenu > a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em; }
  .dropdown-submenu > .dropdown-menu {
    top: -0.625rem;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem; }

.nav:not(.flex-column) > .nav-divider {
  width: 0;
  margin: 0;
  border-left: 2px solid #e9ecef; }

.nav.flex-column > .nav-divider,
.navbar-nav > .nav-divider {
  height: 0;
  margin: 0.5rem 0;
  border-top: 1px solid #e9ecef; }

@media (min-width: 576px) {
  .navbar-expand-sm .navbar-nav > .nav-divider {
    height: auto;
    border-top: none;
    width: 0;
    margin: 0;
    border-left: 2px solid #e9ecef; } }

@media (min-width: 768px) {
  .navbar-expand-md .navbar-nav > .nav-divider {
    height: auto;
    border-top: none;
    width: 0;
    margin: 0;
    border-left: 2px solid #e9ecef; } }

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav > .nav-divider {
    height: auto;
    border-top: none;
    width: 0;
    margin: 0;
    border-left: 2px solid #e9ecef; } }

@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-nav > .nav-divider {
    height: auto;
    border-top: none;
    width: 0;
    margin: 0;
    border-left: 2px solid #e9ecef; } }

.navbar-expand .navbar-nav > .nav-divider {
  height: auto;
  border-top: none;
  width: 0;
  margin: 0;
  border-left: 2px solid #e9ecef; }

.sidebar {
  font-size: .875rem;
  background-color: #f8f9fa;
  /*border-right: 1px solid $border-color;*/
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1); }
  .sidebar .nav-link {
    font-weight: 500;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    color: #6c757d; }
  .sidebar .nav-link.active {
    color: #007bff; }

.sidebar-sticky {
  position: relative;
  top: 3.5rem;
  max-height: calc(100vh - 3.5rem);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; }

@supports (position: -webkit-sticky) {
  .sidebar-sticky {
    position: -webkit-sticky; } }

@supports (position: sticky) {
  .sidebar-sticky {
    position: sticky; } }

label:not(.form-check-label) {
  font-weight: 700; }

.form-row .form-control {
  max-width: 100% !important; }

.form-group .required::after {
  color: #dc3545;
  content: '*'; }

.field-validation-error {
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545; }

.field-validation-valid {
  display: none; }

.input-validation-error,
.bootstrap-select > select.input-validation-error + button {
  border: 1px solid #dc3545 !important; }

.validation-summary-errors {
  font-weight: bold;
  color: #dc3545; }

.validation-summary-valid {
  display: none; }
