* {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    background: rgb(150, 193, 221);
}

#wrapper {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 50px auto 50px;
    grid-template-columns: auto 80% auto;
    grid-template-areas: 
        "header header header"
        ". main ."
        "footer footer footer";
}

header {
    height: 50px;
    background: rgb(87, 87, 88);
    grid-area: header;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-cell-left {
    height: 100%;
    padding: 10px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.header-cell-right {
    height: 100%;
    padding: 0 5px 0 0;
    color: white;
    display: flex;
    align-items: center;
}

.header-cell-right a {
    color: white;
}

main {
    grid-area: main;
    padding: 50px;
    overflow: auto;
    text-decoration-color: white;
}

footer {
    height: 50px;
    background: rgb(87, 87, 88);
    grid-area: footer;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

label {
    height: 1em;
    margin: 2px;
}

input {
    width: calc(100% - 20px);
    height: 2em;
    margin: 5px;
    padding: 5px;
    border: 2px solid rgb(121, 121, 122);
    border-radius: 3px;
}

button {
    margin: 5px;
    padding: 5px;
    border: 2px solid rgb(87, 87, 88);
    border-radius: 3px;
    background: rgb(121, 121, 122);
    color: white;
    font-weight: normal;
}

.button-red {
    background: #ffe6e6;
    border: 2px solid #e60000;
    color: #e60000;
}

#loginFormContainer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#itemEditFormContainer {
    overflow-x: hidden;
    overflow-y: auto;
}

#errorBox {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: #080808;
    margin: 5px;
}

#errorBox div {
    flex: 1;
    background: #ffe6e6;
    border-top: 1px solid #e60000;
    padding: 5px;
}

#itemEditLogoImage {
    margin: 5px;
    max-width: 300px;
}

.items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.item {
    flex-basis: calc(100% - 20px);
    background: rgb(246, 246, 248);
    margin: 5px;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid rgb(87, 87, 88);
    border-radius: 5px;
}
.item-manager {
    flex-basis: calc(100% - 20px);
    background: rgb(246, 246, 248);
    margin: 5px;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid rgb(87, 87, 88);
    border-radius: 5px;
    
}

.item-fluid {
    flex-basis: calc(100% - 20px);
    background: rgb(246, 246, 248);
    margin: 5px;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
}

.item-100 {
    width: 15%;
    margin: 5px;
    padding: 5px;
    justify-content: center;
}

.item-100-center {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.item-100-manager{
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.item-logo {
    height: 19px;
}

.item-50-bold {
    flex-basis: calc(50% - 5px);
    text-align: center;
    padding-right: 5px;
    font-weight: bold;
    border-top: 1px solid rgb(121, 121, 122);
}

.item-50 {
    flex-basis: calc(50% - 5px);
    text-align: left;
    padding-left: 5px;
    border-top: 1px solid rgb(121, 121, 122);
}

.item-50-manager {
    flex-basis: calc(50% - 5px);
    text-align: left;
    padding: 5px;
    border-top: 1px solid rgb(121, 121, 122);
}
table {
    width: 100%;
    border: 2px solid darkgray;
    /* background: rgb(175, 170, 170, 0.2); */
    color: rgb(7, 7, 7);

}
table tr{
    padding: 10px, 10px, 15px, 20px;
    margin: 10px;
    border: 1px solid rgb(43, 50, 58);
}
.cost-type-cell{
    text-align: left;
    margin-left: 20px;
}
/* table tr:nth-child(even){
    background: rgb(61, 65, 104);
} */

table thead {
    text-align:left;
}



/* #left-nav{
    background: rgb(121, 121, 122);
    position: fixed;
    left: 0;
    bottom: 50px;
    width: 160px;
    padding-left: 10px;
    top: 50px;
    cursor: pointer;
    z-index: 10;
    transition: 1s;
    opacity: 100%;
    overflow: hidden;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: large;

}

#nav-button-container{
    cursor: pointer;
    margin-left: 10px;
    margin-top: 10px;
}
.nav-item{  
    width: 100px;
    margin-left: 10px;
    color: white;
    height: 50px;
    border-bottom: 1px dotted;
    display: flex;
    align-items: center;
}
.nav-item a{
color: white;
text-decoration: none;
}
.nav-item a:hover{
color: #b1b1b1;
} */

.left-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    cursor: pointer;
    background-color: rgb(121, 121, 122);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    bottom: 50px;
    top: 50px;
  }
  
  .left-nav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #faf8f8;
    display: block;
    transition: 0.3s;
  }
  
  .left-nav a:hover {
    color: rgb(87, 87, 88);
  }
  
  .left-nav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  .closebtn{
      color: rgb(121, 121, 122);
  }
  .dropbtn{
      background-color: rgb(121, 121, 122);
      color: white;
  }
  .apartmentSelector{
    background-color: rgb(121, 121, 122);
    color: white;
    width: 100px;
    height: 35px;
    margin: 5px !important;
    padding: 5px !important;
    border: 2px solid rgb(121, 121, 122) !important;
    border-radius: 3px !important;
    padding-inline-start: 0px !important;
  }
  #monthSelector{
    background-color: rgb(121, 121, 122);
    color: white;
    width: 150px;
    height: 21px;
    margin: 5px !important;
    padding: 5px !important;
    border: 2px solid rgb(121, 121, 122) !important;
    border-radius: 3px !important;
    padding-inline-start: 0px !important;
}
  #monthBtn{
    background-color: rgb(121, 121, 122);
    color: white;
    width: 60px;
    height: 35px;
    margin: 5px !important;
    padding: 5px !important;
    border: 2px solid rgb(121, 121, 122) !important;
    border-radius: 3px !important;
    padding-inline-start: 0px !important;
}
  .dropdown {
      position: relative;
      display: inline-block;
  }
  .dropdown-content {
      display: none;
      position: absolute;
      background-color: rgb(121, 121, 122);
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgb(87, 87, 88);
      z-index: 1;
  }
  .dropdown-content a{
      color: white;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
  }
  .dropdown-content a:hover {background-color: rgb(87, 87, 88);}
  .dropdown:hover .dropdown-content {display: block;}
  .dropdown:hover .dropbtn {background-color: rgb(87, 87, 88);}

 
  

@media (max-width: 820px) {
    #wrapper {
        grid-template-columns: 10px auto 10px;
    }

    .item {
        flex-basis: 100%;
    }
}