html {
  position: relative;
  min-height: 100%;
}

body {
  font-size: .875rem;
  /*overflow: hidden;
  height: 100vh*/
}
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #007bff; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #007bff; 
}

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

.rotateLoader {
  animation: rotation 60s infinite linear;
}

.rotate {
  animation: rotation 1s infinite linear;
}

.rotateShort {
  animation: rotation 2s linear 2 linear;
}

.animateBell {
  animation: rotation 0.8s linear 2 both;
}
.scrollable {
  min-height:10px;
  overflow-y:scroll;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  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: 48px; /* Height of navbar */
  height: calc(100vh - 15vh);
  padding-top: .5rem;
  padding-bottom:40px;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

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

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

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

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

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

/*
 * Navbar
 */

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

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

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

.to-front {
  top: 7vh;
  width: 80%;
  /*position: fixed;*/
  z-index: 30000;
}

.sticky-nav {
  position: -webkit-sticky;
  position: fixed;
  top: 47px;
  width: 100%;
  z-index: 1000;
  overflow-x: visible;
  overflow-y: visible;
  background-color: white;
}
.sticky-cont {
  position: -webkit-sticky;
  position: static;
  top: 96px;
  width: 100%;
  z-index: 8999;
  overflow-x: hidden;
  overflow-y: hidden;
}

.h2-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  left: 20%;
  overflow-x: hidden;
  overflow-y: hidden;
}

/*
 * Utilities
 */

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

.header {
  z-index: 20000;
}

.main {
  /*height: 100vh;*/
}

#commandControl::-webkit-scrollbar {
  display: none;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  overflow:hidden;
  z-index: 20000;
}
body > .container {
  padding: 25px;
}
.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.overlay {
  z-index: 1000;
  background-color: #CCC;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}
.overlaySmall {
  z-index: 20000;
  /*background-color: rgb(255, 255, 255);*/
  position: fixed;
  top: 8%;
  right: 5%;
  width: 30%;
  height: 80%;
  background-color: rgba(204, 204, 204, 0.5);
}
.datepicker {
    font-size: 0.875em;
}

.datepicker td, .datepicker th {
    width: 1.5em;
    height: 1.5em;
}

.highlight{background-color:yellow}
.important{background-color:rgb(253, 143, 0)}
.warning{background-color:rgb(241, 4, 4)}
.success{background-color:rgb(23, 218, 16)}

pre {outline: 1px solid #ccc; padding: 5px; margin: 5px; }
.string { color: green; }
.number { color: darkorange; }
.boolean { color: blue; }
.null { color: magenta; }
.key { color: red; }

.modal-s{max-width:40%}
.modal-m{max-width:60%}
.modal-lg{max-width:80%}
.modal-xl{max-width:95%}
.modal{z-index:10500;}

.container {
  max-width: 1800px;
}

#parentAce {
  width:100%;
  height: 70vh;
  display:inline-block;
  position:relative;
}
#editorAce {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#parentLogAce {
  width:100%;
  height: 70vh;
  display:inline-block;
  position:relative;
}
#editorLogAce {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#parentTolAce {
  width:100%;
  height: 30vh;
  display:inline-block;
  position:relative;
}
#editorTolAce {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#parentExceptAce {
  width:100%;
  height: 30vh;
  display:inline-block;
  position:relative;
}
#editorExceptAce {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
/* new*/
.wrapper {
    display: block;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    /* top layer */
    z-index: 9999;
}

#activityCard {
  min-width: 250px;
  max-width:2500px;
  height: 80vh;
  width: 85vw;
  position: fixed;
  top:10vh;
  left:10vw;
  overflow-y: auto;
  overflow-x: hidden;
  z-index:10501;
  border: 1px solid #eee;
  border-left-color: #f0ad4e;
  border-left-width: .25rem;
}

.modal{
  top:3vh;
  height: 88vh;
}

.popover {
  z-index: 99999;
}

.bd-callout{
  padding: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid #eee;
  border-left-width: .25rem;
  border-radius: .25rem;
}
.bd-callout-info{
  border-left-color: #5bc0de;
}
.bd-callout-warning{
  border-left-color: #f0ad4e;
}

.scrollableColumn{
  position: absolute;
  width:94%;
  height:calc(100% - 10px);
  overflow-y: scroll;
}

.card-chaos{
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 350'><path d='M0,202V0H1080V241c-137.31-20.65-276-107.57-415.16-47.11-60,23.93-116.18,56.48-176.46,79.74-63.76,25.3-135.78,27.83-197.78-3.43C202.41,227.18,100.2,148.15,0,202Z' style='fill: hsl(202, 26%, 26%)' /></svg>") no-repeat bottom, url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 350'><path d='M0,256V0H1080V305c-24.75-16.87-48.89-34.74-74.4-50.35-30.07-18.4-61.24-35-92.14-52.05-9.57-5.26-19.39-11-29.82-13.54-22.6-5.46-45.6-9.35-68.55-13.18a239.6,239.6,0,0,0-75.08-1.1c-27.12,4-53.77,10-79,20.51-26.11,10.85-51.54,23.3-77.36,34.86A205.43,205.43,0,0,0,534,261.46c-30.26,25.75-63.61,46.58-101.21,60a270.23,270.23,0,0,1-29.19,8.39c-7.06,1.66-14.39,2.14-21.6,3.15H367c-2.8-.32-5.61-.56-8.39-1-9.66-1.47-19.42-2.51-28.93-4.63-23.75-5.29-45.55-15.79-66.95-26.9-28.49-14.78-56.28-31-85-45.31-34.88-17.46-71.22-29.82-111.3-25.3C41.9,232.63,18.69,238.5,0,256Z' style='fill:hsl(203, 24%, 20%)'/></svg>") no-repeat bottom;
  background-color: transparent;
  background-color:rgba(0, 0, 0, 0.3);
  /*padding-top: 1rem;*/
  background-size: cover;
}
.card-chaos-transparency{
  background-color: transparent;
  background-color:rgba(0, 0, 0, 0.1);
}
.card-chaos-opacity{
  opacity: 0.8;
}
.vid-chaos-opacity{
  opacity: 0.5;
}
/* overwrite */
.bg-dark{
  background-color: #324855!important;
}

pre
{
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Mozilla, post millennium */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.sticky-bottom{
    position: sticky;
    bottom: 0;
    z-index: 1020;
}