h4.card-text {
  margin: 0;
  color: #fff;
  i {
    color: inherit;
  }
}

.input-box-container {
  display: inline-block;
  margin: 0 15px;
  position: relative;
  border-collapse: separate;
  max-width: 130px;
  
  input {
    margin: 5px 0 0;
    font-family: inherit;
    line-height: inherit;
    padding-left: 25px;
    max-width: inherit;
  }

  p{
    position: absolute;
    margin-left: 5px;
    height: 25px;
    display: flex;
    align-items: center;
    left: 5px
  }

}

.savings-wrapper {
  height: 150px;
}

#toogleTable {
  display: none;
}

.align-right {
  text-align: right;
}

.action-buttons {
  display: inline-block;
  margin-top: 10px;
  button {
    margin-right: 5px;
    padding: 8px 12px;
  }
  .btn-success {
    background: #47a44b;
    border-color: #39843c;
    color: #fff;
  }
}

.visualization {
  text-align: right;
}

table {
  width: 100%;
}

.mat-form-field {
  font-size: 14px;
  width: 100%;
}

.example-loading-shade {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 56px;
  right: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.example-rate-limit-reached {
  color: #980000;
  max-width: 360px;
  text-align: center;
}

/* Structure */
.example-container {
  position: relative;
  min-height: 200px;
}

.example-table-container {
  position: relative;
  //max-height: 400px;
  overflow: auto;
}

.energy-stats {
  height: 122px;
}

.environment-meters {
  height: 100px;
}

.enviroment-meter {
  height: 60px;
}

.widget {
  background: #ffffff none repeat scroll 0 0;
  float: left;
  margin-top: 14px;
  position: relative;
  width: 100%;
  border-radius: 5px;

  .chart-padding {
    padding: 10px;
  }

  .mini-stats {
    background: #ffffff none repeat scroll 0 0;
    border-radius: 5px;
    float: left;
    padding: 10px 15px;
    width: 100%;
    height: inherit;

    p {
      color: #878888;
      //display: block;
      font-size: 14px;
      line-height: 25px;
      margin: 6px 0 0;
      text-transform: uppercase;
      width: auto;
    }

    span {
      border: 1px solid;
      border-radius: 50%;
      color: #fff;
      //float: left;
      font-size: 35px;
      height: 60px;
      line-height: 60px;
      text-align: center;
      width: 60px;
      position: absolute;
      right: 20px;
      bottom: 15px;
      //display: block;
    }

    span.savings-skin {
      color: #47a44b;
      background: #fff;
      border: none;
      font-size: 48px;
      line-height: 50px;
    }

    h3 {
      margin: 10px 0 0;
      font-size: 2rem;
      font-weight: 400;
    }

    .savings {
      width: 100%;
      margin-bottom: 5px;
      h4, h3, h2 {
        display: inline-block;
        width: auto;
      }
      h4 {
        margin-right: 8px;
      }
      h3 {
        color: #47a44b;
        margin: 0;
      }
    }

    .savings-last-24h {
      font-size: 14px;
      i {
        font-size: 16px;
        color: #47a44b;
      }

      span {
        border: none;
        color: #47a44b;
        font-size: 20px;
        line-height: 0;
        text-align: center;
        position: static;
        display: inline;
        font-weight: bold;
      }
    }


  }

  .enviroment-stats {
    background: #ffffff none repeat scroll 0 0;
    border-radius: 5px;
    padding: 20px;
    display: table;

    .enviromental-icon {
      height: 128px;
      display: table-cell;
      vertical-align: middle;
    }

    .enviromental-text {
      line-height: 1.2;
      display: table-cell;
      font-size: 1rem;
      text-transform: initial;
      padding-left: 10px;
      vertical-align: middle;

      span {
        float: none;
        margin: 0;
        display: inline;
        border: none;
        font-size: 1.2rem;
        font-weight: bold;
        color: #47a44b;
        vertical-align: middle;
      }
    }

  }


}

.btn {
  padding: 10px 20px;
}

.chart-container {
  display: block; 
  height:48vh; 
  @media screen and (max-width: 960px) {
    height:350px; 
  }
  position: relative;
}


.no-data {
  text-align: center;
  z-index: 20;
  position: absolute;
  top: 50%;
  left: 30%;
  right: 30%;
  visibility: hidden;
}


@media screen and (min-width: 960px) {
  .mini-stats {
    
    p,
    span,
    h3 {
      display: block;
    }

  }
}
