﻿@media (min-width: 768px) {
  #Documentation {
    border-right: 1px solid #eee;
  }
}
.navbar-brand {
  max-width: calc(100% - 1rem - 60px);
}
.navbar-brand > img {
  height: 2.5rem;
  margin-top: -0.3125rem;
  margin-bottom: -0.3125rem;
}

.navbar .dropdown-menu {
  max-height: 80vh;
  overflow-y: auto;
}

.body-content {
  margin-top: 56px;
}

main {
  padding: 1em;
}
main :target:before {
  display: block;
  content: " ";
  visibility: hidden;
  margin-top: calc(-56px + -1em);
  height: calc(56px + 1em);
}
main.container {
  width: 98%;
  border-radius: 15px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  box-shadow: 6px 6px 100px rgba(0, 0, 0, 0.175);
}

footer {
  background-color: #EEE;
}

.logo {
  display: inline-block;
  height: 30px;
  VERTICAL-ALIGN: bottom;
}

.ajaxform-collection-body .ajaxform-div-contents .card .card-header {
  padding: 0.25rem 0.25rem 0.25rem 0.5rem;
}

.ajaxform-collection-body .ajaxform-div-contents .card .card-body {
  padding: 0.5rem;
}

.ajaxform-collection .card .card-body {
  padding: 0.25rem;
}

.sidebar {
  /*position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; */ /* Behind the navbar */
  background-color: #f8f9fa;
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

.sidebar-sticky {
  position: relative;
  top: 56px;
  height: calc(100vh - 56px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports (position: -webkit-sticky) {
  .sidebar-sticky {
    position: -webkit-sticky;
  }
}
@supports (position: sticky) {
  .sidebar-sticky {
    position: sticky;
  }
}
.sidebar .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar-heading {
  color: #6c757d;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  padding: 0 1rem;
}

.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;
}

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

.bt-column-options label {
  font-weight: normal !important;
}

.form-group {
  margin-bottom: 0.5rem !important;
}

.typeaheadWidth {
  width: calc(100% - 100px) !important;
}

.fa-refresh:before {
  content: "\f021";
}

.fa-remove:before {
  content: "\f00d";
}

.input-group, input, select, textarea, .dropdown {
  max-width: 300px;
}

.form-row .input-group, .form-row input, .form-row select, .form-row textarea, .form-row .dropdown {
  max-width: 100%;
}

.input-group input, .input-group select, .input-group .dropdown {
  max-width: 100%;
}

.textarea-display {
  height: auto;
  font: inherit;
  white-space: pre-wrap;
}

.bootstrap-select.form-control {
  display: block !important;
}

.nav-link:active {
  font-weight: bold;
}

.tt-menu {
  max-height: 15rem;
  overflow-y: auto;
}

.supporting-document-popover {
  max-width: 500px;
}
