#root-content {
  padding-top: 9rem;
}

.logo-menu {
  position: fixed;
  margin-left: 2rem;
  margin-top: -1rem;
  font-size: 1.5rem;
  font-weight: bolder;
  color: rgba(255, 255, 255, 0.9);
  background-image: url(../img/logo.png);
  width: 12rem;
  height: 5rem;
  background-size: cover;
  background-repeat: no-repeat;
}

.logout {
  right: 2rem;
  margin-right: 0 !important;
  position: fixed !important;
}

@media screen and (max-width: 500px) {
  .logo-menu {
    display: block !important;
    position: relative !important;
    right: auto;
    margin: auto;
    margin-bottom: 1rem;
    width: 9rem;
    height: 3rem;
    margin-top: 0.25;
  }

  .menu-container {
    padding: 0.5rem 0.5rem;
  }

  .menu-item {
    margin: auto;
    display: block;
    width: 50%;
    padding: 0.3rem 0.15rem;
  }

  .logout {
    right: auto;
    display: inline-block !important;
    position: relative !important;
  }

  .time-picker {
    margin-top: 2rem;
  }

  #root-content {
    padding-top: 12rem;
  }
}

.large-icon {
  font-size: 4rem;
  margin-top: 1rem;
}

.fa-bolt {
  color: rgb(243, 200, 2);
}

.fa-droplet {
  color: rgb(21, 155, 215);
}

.fa-fire {
  color: rgb(228, 87, 53);
}

.fa-charging-station {
  color: rgb(50, 230, 83);
}

.fa-solar-panel,
.fa-buildings,
.fa-family {
  color: #299fd8;
}

.fa-trees {
  color: green;
}

.fa-smoke {
  color: gray;
}

.chart-icon {
  text-align: right;
  display: block;
  position: relative;
  right: rem;
  /* top: 1rem; */
  font-size: 1.5rem;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
}

.tag-title {
  font-weight: bold;
  text-transform: uppercase;
  color: #8c98a4;
  font-size: 0.9rem;
}

.tag-value {
  color: #299fd8;
  display: inline;
  font-weight: normal;
}

.tag-unit {
  color: #299fd8;
  display: inline;
  font-weight: bolder;
}

.client-name {
  color: rgba(0, 0, 0, 0.75);
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 1rem;
  margin-top: 4rem;
  padding-bottom: 1rem;
  display: inline-block;
  margin-right: 2rem;
}

.separator {
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  margin-top: 4rem;
}

.dashboard-widget {
  margin-top: 2rem;
}

.dashboard-widget,
.dashboard-widget .content {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                supported by Chrome, Edge, Opera and Firefox */
}

.dashboard-widget .content {
  height: 100%;
  cursor: pointer;
  border-radius: 0.5rem;
  background-color: #ffffff;
  padding: 2rem;
  border: 1px solid;
  font-weight: 100;
  font-weight: 100;
  /* color: red; */
  border-color: rgba(231, 234, 243, 0.7);
  box-shadow: 0rem 0.375rem 0.75rem rgb(140 152 164 / 8%);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
  transition: transform 0.4s;
  transform-style: preserve-3d;
}

.dashboard-widget .back > div {
  height: 100%;
}

.dashboard-widget .back-double > div {
  height: 50%;
}

.dashboard-widget .back-double > canvas {
  height: 50%;
}

.dashboard-widget .back .chart-container {
  height: 80%;
  position: relative;
}

.dashboard-widget.flipped .content {
  transform: rotateY(360deg);
  transition: transform 0.4s;
}

.dashboard-widget.flipped .front {
  display: none;
}

.dashboard-widget .back {
  display: none;
}

.dashboard-widget .back-double {
  display: none;
}

.dashboard-widget.flipped .back {
  display: block;
  width: 99%;
}

.dashboard-widget .content .front,
.dashboard-widget .content .back {
  text-align: center;
  backface-visibility: hidden;
}

.dashboard-widget .content .back {
  height: 22rem;
}

.no-flip .content {
  cursor: default;
}

.row.bordered {
  border-bottom: 1px solid rgba(231, 234, 243, 0.7);
}

.btn-group {
  display: inline-flex;
}

.btn-group button {
  min-width: 10rem;
}

.btn-group > button:last-of-type {
  margin: 0;
  border-radius: 0.5rem;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-left: 1px solid rgba(231, 234, 243, 0.7);
}

.btn-group > button:first-of-type {
  margin: 0;
  border-radius: 0.5rem;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-right: 1px solid rgba(231, 234, 243, 0.7);
}

.time-picker button {
  background: none;
  color: #299fd8;
  font-size: 1rem;
  margin: 0;
  border-radius: 0.5rem;
  letter-spacing: 1;
  vertical-align: middle;
  line-height: inherit;
  display: inline-flex;
  align-items: center;
}

.time-picker i {
  font-size: 1.8rem;
  margin-left: 1rem;
  cursor: pointer;
  color: #2a9fd8;
}

.hidden {
  visibility: hidden;
}

.loader {
  width: 40px;
  height: 40px;
  border: 5px solid #2a9ed886;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 40%;
  animation: pulse 1s linear infinite;
}
.loader:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 5px solid #2a9ed886;
  border-radius: 50%;
  display: block;
  box-sizing: border-box;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: scaleUp 1s linear infinite;
}

@keyframes scaleUp {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  60%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes pulse {
  0%,
  60%,
  100% {
    transform: scale(1);
  }
  80% {
    transform: scale(1.2);
  }
}
