@media (min-width: 768px) {
  .modal-xl {
    width: 90% !important;
    max-width:1200px !important;
  }
}

.dropdown-menu-right {
  right: 0 !important;
  left: auto !important;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 68px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

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

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

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

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

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

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

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

/*
 * Styles for the main criterion editing page
 */
.gutter {
  border-bottom: 5px solid #000;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.nowrap {
  white-space: nowrap;
}

.criterionHistory {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 186px;
}

/*
 * Content
 */
.hideMe {
  display: none;
}

.helpImage {
  max-width: 230px;
}

.navPadSection {
  margin-top: 68px; /* Space for fixed navbar */
}

#message {
  z-index: 9999;
  position: absolute;
  width: 30%;
  bottom: 10px;
  right: 10px;
}

#messageTop {
  z-index: 9999;
  position: absolute;
  width: 30%;
  top: 15px;
  right: 10px;
}

.groupInStandard {
  /*padding-left: 40px !important;*/
  display: none;
}

.criterionInGroup {
  /*padding-left: 40px !important;*/
  display: none;
}

.disabled {
  cursor: not-allowed;
  pointer-events: all !important;
}

.cursor-pointer{
  cursor: pointer;
}

.survey-edit-toggle {
  width: 3em;
  margin-top: 0px;
  margin-bottom: 4px;
}

.text-tiny {
  font-size: 0.75em;
}

.sessionDetails {
  width: 150px;
  overflow: hidden;
}

#criterionNav {
  height: 400px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.separator {
  border-top: 3px solid #000;
  border-bottom: solid 3px #000;
}

.scroll-200 { height: 200px; overflow-y: scroll; overflow-x: hidden; }
.scroll-300 { height: 300px; overflow-y: scroll; overflow-x: hidden; }
.scroll-400 { height: 400px; overflow-y: scroll; overflow-x: hidden; }
.scroll-500 { height: 500px; overflow-y: scroll; overflow-x: hidden; }
.scroll-600 { height: 600px; overflow-y: scroll; overflow-x: hidden; }

.groupHighlight {
  border-left: solid 3px #5cb85c;
}

.tooltip {
  pointer-events: none;
}

.rotate {
  writing-mode: vertical-lr;
}