.department_container {
    border-left: 1px #008a8a solid;
    background-color: #eef;
    border-right: 1px #008a8a solid;
    border-bottom: 1px #008a8a solid;
    border-radius: 0 0 5px 5px;
}

.person {
    opacity: 0;
    padding:0;
    margin-top:5px;
}

.person .details {
    display: inline-block;
    vertical-align: middle;
    background-color: white;
    height: 50px;
    padding:6px;
    float:left;
    width:70%;
    border-top: 1px solid #d4d0c8;
    border-bottom: 1px solid #d4d0c8;
}

.person .employee_id {
    font-style: italic;
    color: #aaa;
}

.person .action {
    width: 10%;
    height:100%;
    line-height: 50px;
    text-align: center;
    background-color:#565d62;
    color:white;
    display:inline-block;
}

.person .action:hover {
    background-color: #6c7176;
    cursor:hand;
}

.person .action.selected {
    background-color: #449d44;
}

.person .action.disabled {
    background-color: #aaa !important;
}

.person > a {
    padding:0 !important;

    width: 20%;
    height: 50px;
    background: #d4d0c8;
    line-height: 50px;
    text-align: center;
}

.person img {
    max-width:100%;
    max-height:50px;
    vertical-align: middle;
}

.person .image {
    float: left;
    width: 20%;
    height: 50px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    overflow: hidden;
}

.image.male {
    border-right: 2px solid #0088cc;
}

.image.female {
    border-right: 2px solid #ff339d;
}

.image.no-gender {
    border-right: 2px solid #ed9212;
}

.image-inner.male {
    border-bottom: 2px solid #0088cc;
}

.image-inner.female {
    border-bottom: 2px solid #ff339d;
}

.image-inner.no-gender {
    border-bottom: 2px solid #ed9212;
}

.badge_spinner {
    -webkit-animation: spinner 1.5s infinite linear;
}

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate3d(0, 1, 0, 0deg);
        -ms-transform: rotate3d(0, 1, 0, 0deg);
        -o-transform: rotate3d(0, 1, 0, 0deg);
        transform: rotate3d(0, 1, 0, 0deg);
    }
    50% {
        -webkit-transform: rotate3d(0, 1, 0, 180deg);
        -ms-transform: rotate3d(0, 1, 0, 180deg);
        -o-transform: rotate3d(0, 1, 0, 180deg);
        transform: rotate3d(0, 1, 0, 180deg);
    }
    100% {
        -webkit-transform: rotate3d(0, 1, 0, 360deg);
        -ms-transform: rotate3d(0, 1, 0, 360deg);
        -o-transform: rotate3d(0, 1, 0, 360deg);
        transform: rotate3d(0, 1, 0, 360deg);
    }
}

a.button-hover {
    opacity: .2;
}

a.button-hover.active, a.button-hover:hover {
    opacity: 1;
}

/* Adding extra offset since we are not using h1 at top of each page */
/* the second navbar that appears on small screens overlaps content otherwise */
@media (max-width: 767px) {
    .page-header-fixed {
        padding-top: 104px;
    }
}

.image-inner {
    background-color: #ddd !important;
}

.image-inner img {
    display:block !important;
    margin: 0 auto !important;
    height: 200px !important;
    width:auto !important;
}

.nav-pills>li+li {
    margin-left: 4px;
}