* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    height: 98vh;
    padding-bottom: 5%;
}
.main {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    height: 100%;
}
.heading {
    text-align: center;
    padding: 2%;
    width: 100%;
}
/* FORM SECTION */

.resultBox {
    background-color: cadetblue;
    white-space: nowrap;
    height: 80%;
    width: 100%;
    overflow: auto;
}
.inputBox {
    background-color: cornsilk;
    width: 100%;
    height: 25%;
}
.inputDiv, .buttonDiv, .departmentInput {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    position: relative;
    min-height: 50px;
}
.formGroup {
    margin: 10px;
}
.formControl, .department, .location {
    width: 100%;
}
.submitBtm, .doneBtm, .cancelBtm {
    padding: 3px;
    border-radius: 5px;
    white-space: nowrap;
}
.editBtnForm, .id_number, .location {
    display: none;
}
.editDeleteBtm {
    font-size: 8px;
    margin: 2px;
    border-radius: 5px;
    padding: 2px;
}
.blankSpace {
    visibility: hidden;
}
.editDeleteBtm:hover, .submitBtm:hover, .addLocation:hover, .addDepartment:hover {
    cursor: pointer;
}
.addLocation, .addDepartment {
    padding: 10px;
    margin-top: 7px;
}
table {
    position: relative;
    border-collapse: collapse;
}
tbody {
    padding-left: 10px;
    height: 10px;
}
th {
    position: sticky;
    top: 0;
    padding: 10px;
    text-align: left;
    background-color: cornsilk;
}
.tableHeader {
    overflow: hidden;
    position: fixed;
}
.tableTitle {
    width: 200px;
}
.locationDIV, .departmentDIV, .resultDIV {
    display: flex;
    justify-content: center;
}
.list {
    padding: 10px;
}
.tableBody {
    padding: 10px;
}
tbody tr:nth-child(even){
    background-color: #f2f2f2
}
tbody tr:hover {background-color: gray;}

.searchStaffDiv, .inputButton, .addLocationDiv, .locationList, .addOfficeDiv, .departmentList, .addLocationOrDepartment, .homeButton, .editOfficeBtnForm, .editLocationBtnForm, .editOfficeBtnForm { /* <--- TAKE IT OFF WHEN DONE */
    display: none;
}
.searchStaffDiv {
    height: 15vh;
}
.addLocationOrDepartment {
    text-align: center;
    height: 20px;
    width: auto;
}

/* FORM SECTION END */

.options {
    overflow: hidden;
    position: fixed;
    right: 0; 
    bottom: 1%;
    transform: translate(0, -50%);
    z-index: 7;
    max-height: 100%;
    padding: 3px
  }
.selectSwitch:hover, .officeButton:hover, .homeButton:hover {
    cursor: pointer;
  }
  .eachBtn {
    background-color: white;  
    margin-bottom: 5px;
    border-radius: 50%;
    box-shadow: 1px 2px 2px black;
    padding: 5px;
  }

/* BOTTOM SECTION */

/* .bottomPageSection {
    background: black;
    overflow: hidden;
    position: fixed;
    bottom: 0; 
    left: 0;
    height: 40px;
    width: 100%;
    z-index: 4;
  }
  .navBar {
    color: white;
    display: flex;
    justify-content: space-evenly;
    margin-top: 10px;
  }
  a {
    text-decoration: none
  }
  a:visited { text-decoration: none; color: white;} */
  
  /* BOTTOM SECTION END */

  /* SCREEN SIZING */

  @media (max-width: 1142px) {
    .main {
        font-size: 14px;
    }
}

@media (max-width: 550px) {
    .formControl, .location, .department {
        width: 120px;
    }
    .submitBtm, .doneBtm, .cancelBtm, .editDeleteBtm {
        white-space: nowrap;
        font-size: 8px;
    }
    .main {
        font-size: 12px;
        height: 100%;
    }
    th {
        padding: 6px
    }
    .tableBody {
        padding: 6px;
    }
    .resultBox {
    display: flex;
    justify-content: start;
    align-items: flex-start;
    }
}     