html, body {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	height: 100%;
	/* font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif; */
	/* font-size: 14px; */
	color: #333;
	overflow-y: auto;
}
.container, .container-fluid {
	/* overflow-x: hidden; */
}
table {
	table-layout: fixed;
	word-wrap: break-word;
}

.scrollable-half-pane {
  position: absolute;
  overflow-y: auto;
  top: 50px;
  bottom: 0px;
}
.scrollable-half-pane:first-child {
  left: 0px;
}
.scrollable-half-pane:nth-child(2) {
  right: 0px;
}

:root {
	--input-padding-x: .75rem;
	--input-padding-y: .75rem;
}
td { 
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


.clickable {
	cursor: pointer;
	cursor: hand;
}
.row.title {
  font-size: 1.1em;
  font-weight: bold;
  padding-top: 10px;
  border-bottom: 1px solid #AAA;
}

.row.sub-title {
  font-size: 1em;
  font-weight: 6;
  padding-top: 4px;
  border-bottom: 1px solid #EEE;
}





.edit-view .row {
	margin-bottom: 10px;
}

.sticky-header {
  /* position: -webkit-sticky; */
  position: sticky !important;
  z-index: 10;
  top: 60px;
  /* background: #333; */
  color: white;
  margin: 10px 0px 20px 0px;
  border-top: 0px solid white;
}

/* RESPONSOVE HEADER */

.offcanvas-collapse h5 {
  display: none;
}

nav.navbar {
  border-bottom: 10px solid white;
}

@media (max-width: 767.98px) {
  .offcanvas-collapse {
    position: fixed;
    right: 0px;
    top: 56px; /* Height of navbar */
    bottom: 0;
    width: 50%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    background-color: #f8f9fa!important;  /* var(--gray-dark); */
    transition: -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  .offcanvas-collapse.open {
    -webkit-transform: translateX(1rem);
    transform: translateX(1rem); /* Account for horizontal padding on navbar */
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .offcanvas-collapse h5 {
    display: block;
  }
}


  .nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
  }
  
  .nav-scroller .nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    color: rgba(255, 255, 255, .75);
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-underline .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: .875rem;
    color: var(--secondary);
  }

.nav-link {
  margin-top: -2px;
  color: #414958;
}
.conn-status-holder {
  flex-grow: 100;
  justify-content: flex-end;
}
.nav-link.active {
	font-weight: 500;
	color: var(--gray-dark);
}

.connection-status i {
  font-size: 14px;
  margin-right: 2px;
  margin-top: -3px;
}
.navbar-brand img {
  height: 30px;
}
/* END RESPONSOVE HEADER */



/* TABLES */

tr.inactive {
	text-decoration: line-through;
}
tr.inactive td {
	color: #CCC;
}



.device-view {
  /* display: flex;
  flex-direction: column;
  height: 100%; */
}
.device-header {
  display: fixed;
}
.device-view > .card-group, .device-view > .card {
  flex-grow: 0;
  margin: 20px 0px;
}
.event-burst {
  border: 1px solid #333;
  margin: 10px 0px;
  position: relative;
}
.device-event {
  position: absolute;
  background: #EEE;
  border: 1px solid #CCC;
  padding: 2px;
  font-size: 12px;
}


/* NO CONNECTION OVERLAY */

.overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba( 255, 255, 255, 0.9 );
    z-index: 5000;
    /* padding: 0px 10px 5px 30px; */
    font-size: 1em;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
.overlay-box {
  position: absolute;
  width: 80%;
  max-width: 400px;
  
  border: 1px solid #DDD;
  border-radius: 4px;
  padding: 5px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.overlay-box.top {
  top: 100px;
  bottom: calc( 50% + 50px );
}
.overlay-box.bottom {
  top: calc( 50% - 50px );
  bottom: 50px;
}
.overlay-box.full {
  top: 100px;
  bottom: 100px;
}
.log-box span {
  display: block;
}

.overlay-msg {
  display: relative;
  width: 50%;
  max-width: 400px;
  min-width: 200px;
  margin-bottom: 50px;
}

.overlay img {
  position: fixed;
  top: 25px;
  height: 50px;
}
  
  
  .spinner {
    width: 20px;
    height: 20px;
    margin: 200px auto 20px auto;
    background-color: #333;
    border-radius: 100%;  
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
  }
  
  @-webkit-keyframes sk-scaleout {
    0% { -webkit-transform: scale(0) }
    100% {
      -webkit-transform: scale(1.0);
      opacity: 0;
    }
  }
  
  @keyframes sk-scaleout {
    0% { 
      -webkit-transform: scale(0);
      transform: scale(0);
    } 100% {
      -webkit-transform: scale(1.0);
      transform: scale(1.0);
      opacity: 0;
    }
  }




/* .notice-holder {
  position: fixed;
  display: flex;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 0px;
  justify-items: center!important;
} */
.lift-notice {
	color: white;
	font-weight: bold;
  text-align: center;
  font-weight: normal;
  box-shadow: 0px 0px 10px 10px rgba( 0, 0, 0, 0.1 );
  opacity: 0.9;
  max-width: calc( 100% - 20px);
}
.lift-notice.warning {
  background: orangered!important;
  color: #222;
  font-weight: bold;
}
.lift-notice.alert {
  background: #dc3545!important;
  color: #fff;
  font-weight: bold;
}




.form-group label:first-child {
  font-weight: 700;
}
.form-group.row div:last-child {
  text-align: right;
}


.row {
  margin-left: 0px;
  margin-right: 0px;
}