

.page-sidebar {
  grid-area: sidebar;
  height: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 5rem;
  padding: 2rem 1rem;
  padding-top: 4rem;
  background-color: rgb(48,48,48);
}

#page_content {
  grid-area: content;
  min-height: 10in;
}

.home-content-container {
  display: grid;
  grid-gap: 0em;
  margin: 0 auto;
  grid-template-columns: 5rem auto;
  grid-template-rows: 100%;
  grid-template-areas: 
  "sidebar content";

}

.home-content-container >div {
  border: 1px solid rgba(0, 0, 255, 0);
}

.grid, .modal-grid {
  display: grid;
  grid-gap: 0em;
  /* width: var(--contentwidth); */
  /* width: 100%; */
  margin: 0 auto;
  margin-top: 1rem;
}

.temp-badge {
  font-size: 0.7rem;
}

.card {
  overflow-x: auto;
}

.grid >div, .modal-grid >div {
  border: 1px solid rgba(149, 149, 149, 0.829);
  border-radius: 0.5rem;
}

.grid.box >div {
  border: 1px solid rgb(100, 100, 100);
}


button.plainjane {
  color: inherit;
  background-color: transparent;
  padding: 0;
  text-transform: none;
  font-family: var(--bs-body-font-family);
  font-size: inherit;
  transition: transform .2s; /* Animation */
  transform-origin: 0% 50%;
  text-align: left;
  border: none;
  line-height: 1rem;
}

button.plainjane:hover {
  color: #3498db;
  background-color: transparent;
  transform: scale(1.2);
}

button.plainjane:focus {
  color: rgb(52, 152, 219);
  background-color: transparent;
  box-shadow: none;
}

.sitebutton {
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0;
  margin: 0 !important;
}

.box:nth-child(1){
  grid-area: one;
}
.box:nth-child(2){
  grid-area: two;
}
.box:nth-child(3){
  grid-area: three;
}
.box:nth-child(4){
  grid-area: four;
}
.box:nth-child(5){
  grid-area: five;
}
.box:nth-child(6){
  grid-area: six;
}
.box:nth-child(7){
  grid-area: seven;
}
.box:nth-child(8){
  grid-area: eight;
}

.row {
  --bs-gutter-x:0;
}


#box4table table, 
#box4table th, 
#box4table td {
  font-size: 0.6em !important;
}


#table-progressbar {
    padding: 0 !important;
    text-align: left;
    font-size: 0.65rem;
}

.td-progressbar {
  min-width: 10rem;
}

.table th:nth-child(n+2),
.table td:nth-child(n+2) {
  text-align: center;
}
.table th:nth-child(1),
.table td:nth-child(1) {
  min-width: 12em;
}

/* *[data-dash-is-loading="true"]{
    visibility: hidden;
    transition-delay: 2s;
}
*[data-dash-is-loading="true"]::before{
    content: "Loading...";
    display: inline-block;
    color: magenta;
    visibility: visible;
    animation: fadein 2.5s forwards;
} */


.login {
  color: #000;
  background-color: #fff;
  min-height: 280px;
  background-color: #fff;
  border: thin solid #ccc;
  margin-bottom: 25px;
  padding: 10px 10px 10px 10px;
  z-index: 8000;
}

.links {
  display: inline-block;
  margin-right: 10px;
  margin-left: auto;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: 	#fffff0;
  font-size: 12px;
  vertical-align: middle;
}
.link {
  /* margin-left: 10px; */
  /* line-height: 60px; */
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.nav-link {
  color: #fff;
}

.titleoverlay {
  position: absolute;
  top: 5px;
  left: 5px;
  height: 20px;
  width: 250px;
  color: lightgrey;
  background-color: transparent;
  z-index: 1;
}

.clientlogo {
  /* height: 100%; */
  max-height: 50px;
}

.home-dropdown {
  background-color: rgba(0, 0, 0, 0) !important;
  /* height: 50px;
  line-height: 2.5rem;
  margin: auto; */
}

.home-dropdown .Select-input>input {
  color: rgb(255, 255, 255) !important;
}

.home-dropdown .Select-control  {
  background-color: rgba(183, 43, 43, 0) !important;
  border: none !important;
  color:white;
}

.home-dropdown .Select-menu-outer {
  background-color: rgb(92, 86, 86);
  color: white;
}

.home-dropdown .Select-value-label {
  color: rgb(255, 255, 255) !important;
  /* font-size: 2rem; */
}

.utilityBadge {
  top: 35%;
  left: 100%;
  transform: translate(0%,-50%);
  font-size: 0.6rem;
  margin-left: 5px;
  padding: 2px 5px;
  line-height: 0.7rem;
}

.is-focused:not(.is-open)>.Select-control {
  box-shadow: none;
}

#home-main-dropdown-label {
  /* font-size: 12rem; */
}

#nav-logo{
  position: fixed;
  top: 1rem;
  left: 0.75rem;
  z-index: 999;
  height:50px;
}


#i_myenergydesk {
  color: #fff;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.my-datepicker .DateInput_input, 
.my-datepicker .DateInput_1_input {
  font-size: 0.95rem;
  line-height: 1.1rem;
  padding: 0.1rem 0.5rem;
  color:white;
  background-color: #484848;
  font-family: inherit;
  font-weight: 400;
}

.my-datepicker.DateInput__focused, 
.my-datepicker.DateInput_1__focused {
  background: #484848;
}

.my-datepicker {
  line-height: 1rem;
}

.flex-item {
  box-sizing: border-box;
  padding: 5px;
}




/* Mobile Devices */
@media (min-width: 1px) {
  .page-sidebar, .links {
    display: none;
  }
  .app-navbar{
    margin-left: 0rem;
  }
  .navbar-brand {
    display: none;
  }
  .home-content-container {
    grid-template-columns: auto;
    grid-template-areas: "content";
  }
  #nav-logo {
    position: absolute
  }
  
  .grid {
    grid-template-columns: minmax(1px, 1fr);
    grid-template-rows: minmax(auto, auto);
    grid-template-areas:
    'one'
    'two'
    'three'
    'four'
    'five'
    'six'
    'seven'
    'eight';
    /* width: 96vw; */
    grid-gap: 0.4em;
    max-width: 2900px;
    padding: 0.1rem !important;
  }

  .navbar-brand {
    padding-left: min(4rem,10vw);
  }
  a.navbar-brand {
    font-size: 0.75em;
  }
  .navbar-toggler-icon {
    height: 0.8em;
    width: 0.8em;
  }
  .h1,
  .h2 {
      width: 100%;
  }

}

/* Tablet Devices */
@media (min-width: 420px) {
  .navbar-brand {
    display: block;
  }
  .grid {
    grid-template-columns: minmax(100px, auto);
    grid-template-rows: minmax(auto, auto);
    grid-template-areas:
    'one'
    'two'
    'three'
    'four'
    'five'
    'six'
    'seven'
    'eight';
  }

  a.navbar-brand {
    font-size: 1.5em;
  }
  .navbar-toggler-icon {
    height: 1em;
    width: 1em;
  }

  

}

/* Standard Desktop */
@media (min-width: 800px) {
  .page-sidebar, .links {
    display: block;
  }
  .app-navbar{
    margin-left: 0rem;
  }
  #nav-logo{
    position: fixed;
  }

  .home-content-container {
    grid-template-columns: 5rem auto;
    grid-template-areas: "sidebar content";

  }

  .login {
    width: 40%;
    margin: 40px auto;
    min-width: 400px;
    max-width: 600px;
    position: absolute;
    top:100px;
    text-align: center;
    left:50%;
    transform: translate(-50%);
    border-radius: 10px;
  }
  .h1 {
    width: 65%;
  }
  .h2 {
    width: 35%;
  }

}

/* Wide-screen monitors */
@media (min-width: 1300px) {
  .container {
    max-width: 2000px;
  }
  #box4table table,
  #box4table th,
  #box4table td,
  #box4table .temp-badge {
    font-size: 0.9rem !important;
  }
  .sitebutton {
    font-size: 1.1rem;
  }
}


@media (min-width: 2220px) and (orientation: landscape) {
  .container {
    max-width: 2900px;
  }
  #box4table table,
  #box4table th,
  #box4table td {
    font-size: 1.1rem !important;
  }
}
