/* GLOBALS */
html{
  width: 100%;
}

body{
  line-height: 1.6667;
  background-color: #0e1319;
  font-family: 'Titillium Web', sans-serif;
  color: #FFF;
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  width: 0.5em;
}
 
*::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px inherit
}
 
*::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  border-radius: 50px;
}

.container-fluid, .wrapper{
  padding-top: 10px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1697px;
}

section {
  padding-bottom: 10px;
  padding-top: 35px;
}

section:first-child{
  padding-top: 0px;
}
section:last-child{
  padding-bottom: 0px;
}

h1,h2,h3,h4,h5,h6{
  padding-bottom: 30px;
  font-weight: 700;
  letter-spacing: 0.2rem;
}

.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

.fade-in {
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
}
@keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
  
@-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

hr {
  border-top: 1px solid rgb(177, 177, 177, 0.5);
}

.disabledLink{
  pointer-events: none;
  cursor: not-allowed !important;
}

.hydroSuccess{
  color: #0aaa12;
}
.hydroWarning{
  color: #ffc107;
}
.hydroDanger{
  color: #f31d1d;
}

.hydroTLeft{
  text-align: left;
}
.hydroTCenter{
  text-align: center;
}
.hydroTRight{
  text-align: right;
}

.noSpace{
  padding-left: 0px;
  padding-right: 0px;
}

/* NAV */
nav {
  margin: 0 auto;
  background: linear-gradient(180deg,#1c2329,#0f1319);
  box-shadow: 0px 2px 0px #b1b1b1;
  padding-left: 10px;
  padding-right: 10px;
  -webkit-font-smoothing: antialiased;
  transition-timing-function: ease-in-out;
  transition-duration: .5s;
  padding-top: 30px !important;
  padding-bottom: 20px !important;
}
nav ul {
  list-style: none;
  margin-bottom: 0px;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  color: #b1b1b1;
  font-weight: 200;
  text-transform: uppercase;
  margin: 0px;
  letter-spacing: .125rem;
}
nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
nav ul li a:hover {
  color: rgba(0, 0, 0, 0.25);
}
.navbar-toggler-icon{
  color: #b1b1b1 !important;
}
/* SHIFT */
nav.shift ul li a {
  position:relative;
  z-index: 1;
}
nav.shift ul li a:hover {
  color: #30303d;
}
nav.shift ul li a:after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 1px;
  content: '.';
  color: transparent;
  background: #b1b1b1;
  visibility: none;
  opacity: 0;
  z-index: -1;
}
nav.shift ul li a:hover:after {
  opacity: 1;
  visibility: visible;
  height: 100%;
}

nav.shift ul li a.active {
  text-decoration: underline;
}

/* LOADER */
.loadingSpinner {
  margin: auto;
  display: flex;
  position: absolute;
  top: 38%;
  left: 45%;
  z-index: 5;
  -webkit-animation: pulse 1.5s infinite linear;
  -moz-animation: pulse 1.2s infinite linear;
  -o-animation: pulse 1.2s infinite linear;
  animation: pulse 1.5s infinite linear;
}

@-webkit-keyframes pulse {
  0% {
      transform: scale(0.85);
  }
  10% {
      transform: scale(0.88);
  }
  20% {
      transform: scale(0.91);
  }
  30% {
      transform: scale(0.94);
  }
  40% {
      transform: scale(0.97);
  }
  50% {
      transform: scale(1);
  }
  60% {
      transform: scale(0.97);
  }
  70% {
      transform: scale(0.94);
  }
  80% {
      transform: scale(0.91);
  }
  90% {
      transform: scale(0.88);
  }
  100% {
      transform: scale(0.85);
  }
}

@-moz-keyframes pulse {
  0% {
      transform: scale(0.85);
  }
  10% {
      transform: scale(0.88);
  }
  20% {
      transform: scale(0.91);
  }
  30% {
      transform: scale(0.94);
  }
  40% {
      transform: scale(0.97);
  }
  50% {
      transform: scale(1);
  }
  60% {
      transform: scale(0.97);
  }
  70% {
      transform: scale(0.94);
  }
  80% {
      transform: scale(0.91);
  }
  90% {
      transform: scale(0.88);
  }
  100% {
      transform: scale(0.85);
  }
}

@-o-keyframes pulse {
  0% {
      transform: scale(0.85);
  }
  10% {
      transform: scale(0.88);
  }
  20% {
      transform: scale(0.91);
  }
  30% {
      transform: scale(0.94);
  }
  40% {
      transform: scale(0.97);
  }
  50% {
      transform: scale(1);
  }
  60% {
      transform: scale(0.97);
  }
  70% {
      transform: scale(0.94);
  }
  80% {
      transform: scale(0.91);
  }
  90% {
      transform: scale(0.88);
  }
  100% {
      transform: scale(0.85);
  }
}

@keyframes pulse {
  0% {
      transform: scale(0.85);
  }
  10% {
      transform: scale(0.88);
  }
  20% {
      transform: scale(0.91);
  }
  30% {
      transform: scale(0.94);
  }
  40% {
      transform: scale(0.97);
  }
  50% {
      transform: scale(1);
  }
  60% {
      transform: scale(0.97);
  }
  70% {
      transform: scale(0.94);
  }
  80% {
      transform: scale(0.91);
  }
  90% {
      transform: scale(0.88);
  }
  100% {
      transform: scale(0.85);
  }
}

.loadingOverlay {
  position: absolute;
  display: flex;
  height: 92%;
  /* top: 0; */
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Seciton Loader */
.section_loader,
.section_loader:before,
.section_loader:after {
  border-radius: 50%;
}
.section_loader {
  color: #ffffff;
  font-size: 11px;
  text-indent: -99999em;
  margin: 55px auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.section_loader:before,
.section_loader:after {
  position: absolute;
  content: '';
}
.section_loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #0e1319;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.1em 5.1em;
  transform-origin: 5.1em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}
.section_loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #0e1319;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 4.9em;
  -webkit-transform-origin: 0.1em 5.1em;
  transform-origin: 0.1em 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}
@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Content */
.content{
  min-height: calc(100vh - 270px);
  padding: 20px;
  background-image: linear-gradient(-180deg,#1c2329,#0e1319);
}
.contentAfter{
  background: url("../img/wave-light.svg") repeat-x bottom;
  content: "";
  display: block;
  padding-top: 170px;
  width: 100%;
  position: relative;
  left: 0;
  bottom: 0;
  opacity: .05;
  z-index: 0;
  pointer-events: none;
}

.contentContainer{
  max-width: 1424px;
  margin-left: auto;
  margin-right: auto;
}

/* SELECT */
.deviceName{
  position: absolute;
}
.deviceLocation{
  position: absolute;
  margin-top: 24px;
}
.deviceStatus{
  position: absolute;
  margin-top: 48px;
}

.logo{
  height: 45px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}

.title{
  text-align: center;
}

.all-caps, .title{
  text-transform: uppercase;
}

.img-thumbnail{
  background-color: rgba(255, 255, 255, 0);
  border: 0px solid #dee2e6;
  height: 65px;
}

/* Data Table */
.table .needBreak{
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
}
.dataTables_info, .dt-info {
    white-space: normal !important;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.dt-mt{
  margin-top: 40px !important;
}


.paginate_button > a, 
.dt-paging-button {
  -webkit-font-smoothing: antialiased !important;
  line-height: 1.6667 !important;
  box-sizing: inherit !important;
  text-decoration: none !important;
  margin: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  letter-spacing: .125rem !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  padding: 0.45rem 0.45rem !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  outline: none !important;
  cursor: pointer !important;
  transition-timing-function: ease-in-out !important;
  transition-duration: .2s !important;
  background: transparent !important;
  transition-property: background, border-color, color;
  color: #fff !important;
  border-color: #2296dd !important;
  border: .25rem solid #2296dd !important;
  box-shadow: 0px 0px !important;
}

.paginate_button > a:hover, .paginate_button > a:focus, .paginate_button.page-item.active, 
.dt-paging-button:hover, .dt-paging-button:focus, .dt-paging-button.current {
  background-color: #2296dd !important;
}

div.dt-container .dt-paging .dt-paging-button.disabled, div.dt-container .dt-paging .dt-paging-button.disabled:hover, div.dt-container .dt-paging .dt-paging-button.disabled:active {
    color: inherit !important;
}

table.dataTable>thead>tr>th, table.dataTable>thead>tr>td {
    border-bottom: 2px solid #dee2e6;
}

table.dataTable.table-dark>thead>tr>th, table.dataTable.table-dark>thead>tr>td {
    border-bottom: 2px solid #454d55;
}

div.dt-container.dt-empty-footer tbody>tr:last-child>* {
    border-bottom: none;
}

.table th{
  /* text-align: center !important; */
  margin-left: 5px;
}
.dt-body-nowrap {
  white-space: nowrap;
}
.dtr-title{
  text-align: left !important;
}
td.child li{
  text-align: left !important;
}
table.dataTable tbody>tr.selected, table.dataTable tbody>tr>.selected, table.dataTable.display tbody>tr.even.selected>.sorting_1,table.dataTable.display tbody>tr.odd.selected>.sorting_1 {
    background-color: #2296dd !important;
    border: 1px #b1b1b1 solid;
}

/* PLOTLY */
.modebar-group{
  padding-left: 0px !important;
}
.rangeslider-container{
  border-top: 1px solid #b1b1b1;
}

/* jQuery-UI */
.ui-widget.ui-widget-content{
  border-radius: 25px;
}
.ui-widget.ui-widget-content > li > div{
  padding-left: 0.8em;
}
.ui-widget.ui-widget-content > li:first-child > div{
  border-radius: 25px 25px 0 0 !important;
}
.ui-widget.ui-widget-content > li:last-child > div{
  border-radius:  0 0 25px 25px !important;
}
.ui-widget.ui-widget-content > li:only-child > div{
  border-radius:  25px 25px 25px 25px !important;
}

/* Important Modals */
#alertModal, #confirmModal{
  z-index: 9999999;
}

/* Forms */
.invalid-feedback{
  display: none;
}

/* Back To Top Btn */
  #backToTop {
      display: inline-block;
      background-color: rgb(177, 177, 177, 0.3);
      width: 50px;
      height: 50px;
      text-align: center;
      border-radius: 4px;
      position: fixed;
      bottom: 30px;
      right: 30px;
      transition: background-color .3s, opacity .5s, visibility .5s;
      opacity: 0;
      visibility: hidden;
      z-index: 1000;
      opacity: 0.8;
  }
  #backToTop::after {
      content: "\f077";
      font-family: FontAwesome;
      font-weight: normal;
      font-style: normal;
      font-size: 2em;
      line-height: 50px;
      color: #fff;
  }
  #backToTop:hover {
      cursor: pointer;
      background-color: #333;
  }
  #backToTop:active {
      background-color: #555;
  }
  #backToTop.show {
      opacity: 1;
      visibility: visible;
  }

/* Bootstrap overswites */
.btn-link {
    color: #2296dd !important;
    font-weight: 600 !important;
}

/* UI Menu */
.ui-menu {
    z-index: 99999;
}

/* Disabled text */
.form-control:disabled, .form-control[readonly] {
  background: #b6b6b6 !important;
}

/* Mobile */
@media (max-width: 1200px) {
  nav ul li{
    text-align: right !important;
  }
}

@media (max-width: 892px) {
  .statCol {
      padding-bottom: 30px;
  }

  .loadingSpinner{
    top: 5%;
    left: 38%;
  }

  .fileImg{
    display: none;
  }
}

@media (max-width: 450px) {
  .statCol {
      padding-bottom: 30px;
  }

  .loadingSpinner{
    top: 5%;
    left: 30%;
  }
}

/* Select Row*/
.select_row {
  cursor: pointer;
}

.select_row:hover {
  background-color: #454d55;
}

.locationName:not(th) {
    cursor: pointer;
    font-size: 14pt;
}

.locationName:not(th):hover {
    background-color: #454d55;
}

/* DataTable 3-Dots */
td .tableIcon {
  background-color: transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  padding-top: 100px;
  margin-top: 5px;
  color: #FFF !important;
}

td .fa-ellipsis-verticle{
  color: white !important;
}

td .tableIcon:hover {
  background-color: grey;
}

td .tableIcon:active {
  background-color: grey;
  box-shadow: 0 5px #666;
}

td .dropdown-menu {
  background-color: white;
}