html, body, #main {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

body{
  width: 100vw;
  height: 100vh;

  background-color: lightskyblue;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;

  font-family: "fairplex-wide";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
    margin: 30px 0 0;
}

/* Add user */
#addUserForm {
    margin-top: 15px;
    font-size: 30px;
}

#users {
    overflow-x:auto;
    width: 90%;
    margin:0 auto;
    display:block;
    height: 90%;
}

#addConsumptionUsers {
    overflow-x:auto;
    width: 90%;
    margin:0 auto;
    display:block;
    height: 80%;
}

#addConsumptionUsers table{
    width: 100%;
}

#users table {
    width: 75%;
}

.actionButtons {
    margin:  10px;
    position: fixed; 
    bottom: 15%;
    width: 100%;
}

#usersTable {
    margin-top: 30px;
}
.usernameCell {
    text-align: right;
    padding-right: 10px;
    font-size: 20px;
}

.consumptionCounterCell {
    text-align: center;
    font-size: 20px;
}

#request {
    position: relative;
    background: #fcc1d4 none repeat scroll 0 0;
    color: #000;
    border-color: #000;
    border-radius: 5px;
    text-align: center;
    width: 135px;
}

#request:disabled {
    color: #999;
    border-color: #999;
}

#content {
    height: 90%;
    width: 100%;
}

/** UserDetail **/
#userInfo {
    font-size: 20px;
    width: 90%;
    display:block;
    margin:20px auto;
}

table#userDetail {
    width: 100%;
}

table#userDetail td{
    padding:  5px;
}

table#userDetail tr td:first-child {
  max-width: 10%;
}

div#payments {
    overflow-x:auto;
    width: 90%;
    margin:0 auto;
    display:block;
    margin-bottom: 30px;
}

div#payments table {
    width: 100%;`
    margin-left: 15px;
    margin-top: 30px;
    font-size: 20px;
}

div#payments table td {
    padding: 5px;
}

.changeConsumptionCounterBtn { 
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 50%;
    background-color: #757885;
    color: #D9DCDB;
    text-align: center;
    border-width: 0px;
}

.actionButtons button{
    width: 80%;
    margin:0 auto;
    margin-top: 10px;
    display:block;
    background-color: #757885;
    color: #D9DCDB;
}

/** history **/

div#consumptions {
    overflow-x:auto;
    width: 90%;
    margin:0 auto;
    display:block;
    margin-bottom: 30px;
}

div#consumptions table {
    width: 100%;`
    margin-left: 15px;
    margin-top: 30px;
    font-size: 20px;
}

div#consumptions table td {
    padding: 5px;
}
.rightCell {
    text-align: right;
}

.centerCell {
    text-align: center;
}

#actionButton{
    z-index: 100;
    float: right;
    position: fixed; 
    bottom: 15%;
    right: 5%;
}

#actionButton button{
    border-radius: 100%;
    background-color: #757885;
    color: #D9DCDB;
    width: 60px;
    height: 60px;
}

/** Footer **/

#footer {
    min-height: 10%;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    background-color: #414960;
}

.footerButton {
    background: none;
    color: inherit;
    border: none;
    font: inherit;
    outline: inherit;

    text-decoration: none;
    color: #D9DCDB;
    flex: 1;
    margin: 15px;
    background-color: transparent;

}

.form-wrap {
    margin-left: 30px;
}
