.staff-mgmt-busy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 100;
}
.staff-mgmt-busy .staff-mgmt-busy-box {
    margin-top: calc(25% - 29px);
    margin-left: calc(50% - 29px);
    width: 16px;
    height: 16px;
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #000000;
    z-index: 101;
}
.staff-mgmt-busy img {
    position: relative;
    top: -36px;
    left: calc(50% - 8px);
    z-index: 103;
}
.staff-mgmt-busy .circular-progress-bar * {
    margin: 0;
    padding: 0;
}
.staff-mgmt-busy .circular-progress-bar {
    left: calc(50% - 20px);
    top: -68px;
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    position: relative;
    z-index: 102;
}
.staff-mgmt-busy .circular-progress-bar-clip1, .staff-mgmt-busy .circular-progress-bar-clip2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
}
.staff-mgmt-busy .circular-progress-bar-clip1 {
    clip: rect(0px, 40px, 40px, 20px);
}
.staff-mgmt-busy .circular-progress-bar-clip2 {
    clip: rect(0, 20px, 40px, 0px);
}
.staff-mgmt-busy .circular-progress-bar-slice1, .staff-mgmt-busy .circular-progress-bar-slice2 {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    -moz-transform: rotate(0);
    -webkit-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}
.staff-mgmt-busy .circular-progress-bar-slice1 {
    clip: rect(0px, 20px, 40px, 0px);
}
.staff-mgmt-busy .circular-progress-bar-slice2 {
    clip: rect(0px, 40px, 40px, 20px);
}

.staff-mgmt {
	line-height: 1em;
}
.staff-mgmt p, .staff-mgmt div, .staff-mgmt span {
    font-size: 12px;
}
.staff-mgmt.ios input, .staff-mgmt.ios textarea, .staff-mgmt.ios select {
    font-size: 16px;
}
.staff-mgmt.ios input[type="button"] {
    font-size: 11px;
}
.staff-mgmt a {
	color: var(--main);
}
.staff-mgmt a:hover {
	color: var(--dark-accent);
}

.staff-mgmt .directory-filter-block *,
.staff-mgmt .label-row *,
.staff-mgmt .directory-filter-label *,
.staff-mgmt .directory-box *
{
    font-size: 11px;
}
.directory-box {
    color: #000000;
}
.open-positions {
	line-height: 1.2em;
}
.open-positions div, .open-positions span {
    font-size: 12px;
}
.staff-mgmt h1 { font-size: 24px; }
.staff-mgmt h2 { font-size: 20px; }
.staff-mgmt h3 { font-size: 18px; }
.staff-mgmt h4 { font-size: 16px; }
.staff-mgmt h5 { font-size: 14px; }
.staff-mgmt h6 { font-size: 13px; }

.staff-mgmt h1, .staff-mgmt h2, .staff-mgmt h3, .staff-mgmt h4, .staff-mgmt h5, .staff-mgmt h6 {
    margin-bottom: 4px;
}
.staff-prompt {
    width: 100%;
    max-width: 600px;
}
.staff-prompt-choices {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /*
    align-items: stretch;
    align-content: stretch;
    width: 100%;
    */
    padding-top: 20px;
}
.staff-prompt-choice {
    display: flex;
    flex: 1;
    margin-right: 8px;
}
.staff-prompt-choice:last-child {
    margin-right: 0;
}
.staff-prompt-choice input {
    width: 100%;
}
.header-register-step {
    display: flex;
    flex-direction: row;
}
.header-register-step div {
    display: flex;
}
.header-register-step .header-register-checkmark {
    width: 20px;
}
.header-register-step .header-register-step-number {
    /* margin-left: 20px; */
    width: 20px;
}
.header-register-step .header-register-description {
    /* margin-left: 10px; */
    flex: 1;
}
.header-register-step-active {
    font-weight: bold;
}
.directory-filter-block {
    display: inline-block;
    vertical-align: top;
    padding-right: 24px;
}
.directory-filter-block p {
    margin-top: 0;
}
.directory-filter-block input[type="radio"] {
    margin-right: 4px;
}
.directory-filter-label, .staff-form-label, .group-field-label {
    font-weight: bold;
}
div.directory-filter-help-text, .directory-filter-help-text { /* specificity hack */
    font-size: 11px;
    margin-bottom: 4px;
}
.label-row {
    width: 500px;
    margin-bottom: 1px;
    max-width: 100%;
}
.label-row div, .label-row input, .label-row select {
    display: inline-block
}
.label-spacer {
    width: 140px;
}
.label-full {
    width: calc(100% - 140px);
}
.label-full input[type="text"], .label-full input[type="password"] {
    width: calc(100% - 34px);
}
.label-full textarea {
    width: calc(100% - 36px);
}
.label-full select {
    width: calc(100% - 30px);
}
.label-full input[type="button"] {
    width: 29px;
    padding-top: 0;
    height: 19px;
    margin-left: 1px;
}
.label-small input[type="button"] {
    height: 19px;
}
.directory-org-chart-position-wrapper,
.directory-org-chart-person-wrapper,
.directory-org-chart-position,
.directory-org-chart-level-spacer-position,
.directory-org-chart-persons,
.directory-org-chart-level-spacer-person
{
    /* display: inline-block; */
}
.directory-org-chart-entry, .open-positions-entry {
    width: 500px;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
}
.directory-org-chart-person-wrapper .directory-org-chart-filled { /* specificity hack */
    font-size: 8px;
    position: absolute;
    right: 2px;
    bottom: 2px;
    color: #b0b0b0;
}
.directory-org-chart-person-wrapper .directory-org-chart-person-inactive {
    font-style: italic;
    font-size: 9px;
    color: #b0b0b0;
}
.directory-org-chart-person-wrapper {
    position: relative;
}
.directory-org-chart-level-spacer-position, .open-positions-level-spacer-position {
    width: 12px;
}
.directory-org-chart-position-wrapper, .directory-org-chart-person-wrapper,
.open-positions-position-wrapper, .open-positions-person-wrapper, .open-positions-entry {
    /* flex: 1; */
    vertical-align: top;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
}
.directory-org-chart-position, .directory-org-chart-persons,
.open-positions-position, .open-positions-persons, .open-positions-entry-description, .open-positions-entry-experience, .open-positions-entry-requirements {
    flex: 1;
    page-break-inside: avoid;
    /* width: 100%; */
}
.directory-org-chart-position-wrapper, .open-positions-position-wrapper {
    /* width: 290px; */
    flex: 1.5;
}
.directory-org-chart-person-wrapper, .open-positions-person-wrapper {
    /* width: 150px; */
    flex: 1;
}
.directory-org-chart-entry .directory-photo {
    max-width: 180px;
    margin-left: 1px;
}
.directory-org-chart-position {
    /* background-color: #ecc3fd; */
    /* background-color: #a1b7d0; */
    /* background-color: #c6c0df; */
    background-color: var(--mid-accent);
}
.open-positions-expand-all {
    font-weight: bold;
}
.open-positions-position, .open-positions-persons {
    /* background-color: #87aeed; */
    /* background-color: #b2d595; */
    /* background-color: #edc0ff; */
    /* background-color: #a1b7d0; */
    /* background-color: #c6c0df; */
    background-color: var(--mid-accent);
    border: 1px solid #000000;
}
.directory-org-chart-persons {
    /* background-color: #879ced; */
    /* background-color: #eceea7; */
    /* background-color: #fff0c1; */
    /* background-color: #fff7de; */
    background-color: #f2f2f2;
}
.open-positions-entry-description {
    /* background-color: #e1ecff; */
    /* background-color: #ebeae3; */
    /* background-color: #fff0c1; */
    /* background-color: #fff7de; */
    /* background-color: #f2f2f2; */
    background-color: #efefef;
    border: 1px solid #000000;
    overflow: hidden;
    position: relative;
}
.open-positions-accordion-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}
.open-positions-accordion-link {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2px;
    margin: 2px;
    background-color: white;
    border-radius: 4px;
}
.open-positions-entry-experience {
    /* background-color: #ffe9a6; */
    /* background-color: #fffbf0; */
    background-color: #f7f7f7;
    border: 1px solid #000000;
    overflow: hidden;
    position: relative;
}
.open-positions-entry-requirements {
    /* background-color: #ffe38c; */
    background-color: #ffffff;
    border: 1px solid #000000;
}
.open-positions-entry-requirements-expanded {
    overflow: hidden;
}
.directory-org-chart-position, .directory-org-chart-persons,
.open-positions-position, .open-positions-persons, .open-positions-entry-description, .open-positions-entry-experience, .open-positions-entry-requirements {
    margin: 1px;
    padding: 2px;
}
.open-positions-work-breakdown {
    /* font-style: italic; */
    /* font-size: smaller !important; */
    float: right;
}
.open-positions-work-breakdown-levels {
    font-weight: bold;
}
.directory-org-chart-position-expand, .directory-org-chart-position-rank, .open-positions-position-rank {
    position: relative;
    height: 0;
}
.directory-org-chart-position-expand a {
    text-decoration: none;
    color: #000000;
}
.directory-org-chart-position-expand a:hover {
    color: #ffffff;
}
.directory-org-chart-position-rank {
    left: 12px;
}
.rank-board { color: #ffb000; }
.rank-executive { color: #0000ff; }
.rank-manager { color: #ff0000; }
.rank-coordinator { color: #ffff00; }
.rank-general { color: #00b000; }
.staff-mgmt .rank-board, .staff-mgmt .rank-executive, .staff-mgmt .rank-manager, .staff-mgmt .rank-coordinator, .staff-mgmt .rank-general, .directory-person-rank, 
.open-positions .rank-board, .open-positions .rank-executive, .open-positions .rank-manager, .open-positions .rank-coordinator, .open-positions .rank-general, .directory-person-rank {
    font-family: 'BankGothicBT-Medium';
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
}
.directory-org-chart-position-title {
    margin-left: 24px;
}
.directory-org-chart-position-title.directory-org-chart-position-title-no-rank {
    margin-left: 14px;
}
.open-positions-position-title {
    margin-left: 0;
}
.directory-org-chart-position-title-text, .open-positions-position-title-text {
    font-weight: bold;
}
.directory-org-chart-statistics-staff {
    color: darkgreen;
}
.directory-org-chart-statistics-assignments {
    color: darkblue;
}
.directory-person {
    max-width: 500px;
    word-break: break-word;
}
.directory-person.directory-person-facebook {
    display: inline-block;
    width: 258px;
    vertical-align: top; /* needed even though they are all precisely the same height and width: http://stackoverflow.com/a/22092763 */
    border: 1px darkblue solid;
    padding: 4px;
    margin: 4px;
}
.directory-person-spacer + .directory-person-spacer {
    margin-top: 12px;
}
.directory-person-main {
    width: calc(100% - 8px);
    padding-left: 8px;
    text-indent: -8px;
}
.directory-person-main-with-promoted-field, .directory-promoted-field {
    display: inline-block;
    width: calc(50% - 8px);
    vertical-align: top;
}
.directory-person-name a {
    text-decoration: none;
    font-weight: bold;
    color: black;
}
.directory-person-pronouns {
    padding-left: 6px;
}
.directory-person-level {
    padding-left: 4px;
}
.directory-photo {
    width: 100%;
    max-width: 250px;
}
.directory-photo img {
    width: 100%;
}
.directory-photo.directory-photo-facebook {
    width: 250px;
    height: 188px;
    position: relative;
}
.directory-photo.directory-photo-facebook img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    vertical-align: bottom;
    position: absolute;
    bottom: 0;
    left: -8px;
}
.position-picker-results p {
    margin: 0 0 0 0;
    font-weight: bold;
}
.position-picker-results a {
    text-decoration: none;
}
.directory-positions ul li {
    padding-left: 8px;
}
.directory-positions ul {
    margin-top: 4px;
    padding-left: 8px;
}
.directory-person-hover, .groups-hover {
    position: fixed;
    z-index: 100;
    max-width: 200px;
    /* background-color: #9abaed; */
    background-color: #c6c0df;
    /* border: #800000 2px solid; */
    border: 1px solid #000000;
    padding: 12px;
    color: #000000;
}
.directory-person-hover .directory-person-hover-name { /* specificity hack */
    font-weight: bold;
    font-size: 12px;
    padding-bottom: 8px;
}
.directory-person-hover .directory-person-hover-text,
.directory-person-hover .directory-person-hover-text span { /* specificity hack */
    padding-bottom: 8px;
    font-size: 10px;
}
.directory-person-hover .directory-photo {
    width: 200px;
}
.directory-person-hover ul {
    padding-left: 20px;
}

.profile-container, .profile-full-container {
    padding-bottom: 12px;
}
.profile-photo-container img {
    max-width: 300px;
    width: 100%;
}

.staff-mgmt-form {
    /*
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
    */
    max-width: 600px;
}
.staff-mgmt-form h4 {
    /* font-size: 16px; */
}
.staff-mgmt-form .space {
    margin-top: 16px;
}
.staff-mgmt-form .block {
    float: left;
    padding-right: 4px;
    margin-right: 4px;
    vertical-align: bottom;
    width: calc(100% - 8px);
}
.staff-mgmt-form .block-end {
    clear: both;
}
.staff-mgmt-form .block-half {
    width: calc(50% - 8px);
}
.staff-mgmt-form .block-third {
    width: calc(33.33% - 8px);
}
.staff-mgmt-form .field-label, 
.staff-mgmt-form .field-label-box {
    font-weight: bold;
}
.staff-mgmt-form .large {
    font-size: 14px;
}
.staff-mgmt-form .field-input input {
    width: 100%;
    margin: 1px 0 1px 0;
    padding: 2px 2px 2px 2px;
    box-sizing: border-box;
}
.staff-mgmt-form .field-input select {
    width: 100%;
    margin: 1px 0 1px 0;
    padding: 2px 2px 2px 2px;
    box-sizing: border-box;
}
.staff-mgmt-form .field-input-box textarea {
    width: 100%;
    margin: 1px 0 1px 0;
    padding: 2px 2px 2px 2px;
    box-sizing: border-box;
}
.staff-mgmt-form input[type="radio"], .staff-mgmt-form input[type="checkbox"] {
    width: 20px;
}
.staff-mgmt-form .field {
    padding-top: 2px;
}
.staff-mgmt-form .field-help-text {
    font-size: 11px;
}
.staff-mgmt-form input[type="radio"] {
    margin-right: 4px;
}
.staff-mgmt-form .error {
    color: #e00000;
    font-weight: bold;
}
.staff-mgmt-form .message {
    margin-top: 8px;
    margin-bottom: 8px;
}
.staff-mgmt-form .narrow {
    display: none;
}

.staff-policies-controls {
    margin-top: 24px;
    margin-bottom: 36px;
}

.quiz-question .quiz-question-text {
    font-weight: bold;
    font-size: 13px;
    padding-top: 16px;
    padding-bottom: 8px;
}
.quiz-question .quiz-answer {
    font-size: 12px;
}
.quiz-question .quiz-answer input {
    margin-right: 4px;
    margin-top: 2px;
}
.quiz-question .quiz-result {
    margin-top: 8px;
    font-size: 12px;
}
.quiz-question .quiz-result strong {
    font-size: 12px;
}
.quiz-question .quiz-check-answer {
    margin-top: 8px;
}

.staff-images-container {
    margin-top: 24px;
}
.staff-image, .badge-image-none, .profile-photo-none {
    margin-bottom: 24px;
}
.staff-image-label {
    font-weight: bold;
}
.staff-image-image {
    margin: 4px 0 4px 0;
}
.staff-image-image img {
    max-width: 100%;
}
.staff-image-button, .group-button, .group-membership-icon {
    display: inline-block;
}
.staff-image-button img, .group-button img, img.group-membership-icon {
    width: 16px;
}
img.group-membership-icon {
    vertical-align: top;
}
.image-crop-container-outer {
    position: relative;
}
.image-crop-container-inner, .image-crop-arrow, .image-crop-mask, .image-crop-image {
    position: absolute;
}
.image-crop-mask {
    background-color: rgba(0, 0, 255, 0.5);
}
.image-crop-arrow a {
    font-size: 18px;
}

.groups-list {
    margin-top: 8px;
}
.group {
    min-height: 22px;
}
.group-title {
    display: inline-block;
    vertical-align: top;
    max-width: calc(100% - 92px);
    font-weight: bold;
    cursor: pointer;
}
.group-buttons {
    display: inline-block;
    width: 60px;
    margin-left: 4px;
}
.group-button {
    vertical-align: top;
    /* margin-top: -2px; */
    margin-right: 4px;
}
.group-member-count {
    display: inline-block;
    width: 28px;
    text-align: right;
}
.group-name-original {
    font-family: monospace;
    font-size: 14px;
}
.group-member-list-unsaved {
    font-weight: bold;
}
.group-modify-fields-container {
    position: relative;
    width: 508px;
    max-width: 100%;
    padding: 4px;
    color: #000000;
}
.group-modify-fields-container-header1 {
    background-color: #fff4d0;
}
.group-modify-fields-container-header2 {
    background-color: #fff9e5;
}
.group-modify-fields-container-row1 {
    background-color: #e8e8e8;
}
.group-modify-fields-container-row2 {
    background-color: #f0f0f0;
}
.group-unsaved {
    color: #e00000;
    font-weight: bold;
}
.group-member-list-link {
    /* text-decoration: none; */
}
.group-member-list-unsaved {
    font-weight: bold;
}
.groups-hover .groups-hover-title {
    font-weight: bold;
    font-size: 12px;
}
.groups-hover div, .groups-hover p {
    font-size: 10px;
}
.groups-hover ul {
    margin-top: -4px;
    padding-left: 20px;
}

.person-selection-entry input[type="radio"] {
    margin-top: 12px;
    margin-right: 6px;
}
.person-selection-name {
    font-weight: bold;
}
.person-selection-entry ul {
    cursor: default;
}
.assign-position-positions .staff-mgmt-form select, .block-position-approvals .staff-mgmt-form .offline-position-select {
    width: calc(100% - 30px);
}
.assign-position-positions .staff-mgmt-form input.position-search,
.block-position-approvals .staff-mgmt-form input.position-search,
.group-modify-fields-container input.search-selector-activate {
    width: 29px;
    margin-left: 1px;
    /* height: 22px; */
}
.assign-positions-remove-list label {
    font-weight: bold;
}
.preapproval-position, .preapproval-subject, .preapproval-change-email-old, .preapproval-change-email-new, .todo-position {
    font-weight: bold;
}
.input-offline-actions-person-label {
    font-weight: bold;
}
.personal-details-changes-pending {
    font-weight: bold;
    margin-top: 12px;
    margin-bottom: 6px;
}

@media (prefers-color-scheme: dark) {
    .open-positions {
        color: #000000;
    }

    .open-positions-expand-all {
        color: #ffffff;
    }

    .open-positions-loading {
        color: #ffffff;
    }

    .dark-mode a.open-positions-accordion-link:hover {
        background-color: var(--mid-accent);
        color: var(--dark-accent);
    }
    
    .dark-mode a.open-positions-accordion-link:link {
        color: var(--main);
    }
	
    .dark-mode a.open-positions-entry-requirements-link:hover {
        background-color: var(--mid-accent);
        color: var(--dark-accent);
    }
    
    .dark-mode a.open-positions-entry-requirements-link:link {
        color: var(--main);
    }
}

@media (max-width: 400px) {
    .directory-org-chart-position,
    .directory-org-chart-persons {
        min-height: 12px;
    }
    .directory-org-chart-persons {
        padding-left: 26px;
        text-align: right;
    }
    .directory-person-main {
        overflow: hidden;
    }
    .directory-org-chart-level-spacer-person {
        width: 12px;
    }
    .directory-org-chart-entry {
        display: block;
    }
    .directory-org-chart-entry .directory-photo {
        float: right;
    }
}
