  a {
    color:rgb(119, 115, 118);
}

p {
    margin: auto;
}

.buttons {
    display:inline-block;
    padding-top: 1em;
    padding-bottom: 1em;
}

.card {
    padding:1em;
    display:inline-block;
    margin: 1em;
    width: 12em;
    height: auto;
    text-align:center;
}

.show {
    display: inline-block;
}


.modal-title {
    margin-left:auto;
}
.userBtns {
    color: white;
    background-color: rgb(119, 115, 118);
    margin:0.5em;
}

#openAddEmployeeBtn, #addDeptBtn, #addLocBtn {
    margin-top: 1em;
    margin-left:1.5em;
} 

#allButton {
    margin-left: 1.5em;
}

#viewDetails {
    color: white;
    background-color: rgb(119, 115, 118);
}

#locationDetails {
    color: white;
    background-color: rgb(119, 115, 118);
}

#employeeList {
    text-align:center;
}

#employeeDetails {
    text-align: center;
}

#departmentList {
    text-align: center;
}

#hiddenDiv {
    display: none;
}


#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid #56829e ;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    }
    100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    }
    }
    @keyframes animate-preloader {
    0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    }
    100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    }
    }
@media only screen and (max-width: 600px) {
#employeeDiv, #departmentDiv, #locationDiv {
    text-align:center;
}
.card {
    justify-self:center;
}

.card:nth-child(n + 20){
    display: none;
}

.navbar-nav {
    width: 50em;
}
}