.ufhr-sl-item .row>* {
    flex-shrink: 0;
    /* width: 100%; */
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.ufhr-sl-item .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}

.ufhr-sl-item .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffff;
    background-clip: border-box;
    border-radius: 0;
    box-shadow: 0px 1px 3px rgba(10, 37, 61, 0.2);
    margin-bottom: 2rem;
}

.ufhr-sl-item .card-title {
    margin: 0 !important;
}

.ufhr-sl-item .card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

.ufhr-sl-item h5 {
    line-height: 1.2rem;
}

.ufhr-sl-item .card-subtitle {
    margin-top: .25rem;
    margin-bottom: .5rem;
    font-weight: 400;
    line-height: 1;
}

.ufhr-sl-item .mb-0  {
    margin-bottom: 0!important;
}

.ufhr-sl-item .accordion-item {
    border-style: solid; 
    border-width: .25px; 
    border-color: rgba(0,0,0,.125); 
    border-left:0; 
    border-right:0;
}



.ufhr-sl-item .btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.ufhr-sl-item .btn-outline-primary {
    color: #002657;
    border-color: #002657;
}

.ufhr-sl-item .w-100 {
    width: 100% !important;
}

.ufhr-sl-item .img-fluid {
    max-width: 100%;
    height: auto;
}

.ufhr-sl-item .mb-3 {
    margin-bottom: 1rem!important;
}

.ufhr-sl-item .g-0 {
    --bs-gutter-y: 0;
    --bs-gutter-x: 0;
}


/* BS5 Flex Grid */
.ufhr-sl-row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.ufhr-sl-row>* {
    box-sizing: border-box;
    flex-shrink: 0;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

.ufhr-sl-row .fade:not(.show) {
    opacity: 0;
}

.ufhr-sl-row .modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
} 
.ufhr-sl-row .fade {
    transition: opacity .33s linear;
    background-color: rgba(100, 100, 100, .66);
} 

.ufhr-sl-row .modal.fade .modal-dialog {
    transition: transform .5s ease-out;
} 
.ufhr-sl-row .modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
} 
 .ufhr-sl-row .modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.ufhr-sl-row .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
}

.ufhr-sl-row .modal-header{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.ufhr-sl-row .modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.ufhr-sl-row .modal-title h5 {
    margin: 0;
    margin-top: .25rem;
    line-height: 1rem;
}

.ufhr-sl-row .modal-title h6 {
    font-weight: 400;
    margin-top: .25rem;
}

.ufhr-sl-row .modal-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

.ufhr-sl-row [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}
.ufhr-sl-row .btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: .5;
}
.ufhr-sl-row [type=button], [type=reset], [type=submit], button {
    -webkit-appearance: button;
}

.ufhr-sl-row .modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
    line-height: 1.33rem;
}

@media (max-width: 992px) {
    /* .ufhr-sl-item  .col-sm-12 {
        flex: 0 0 auto;
        width: 100% !important;
    }
    .ufhr-sl-item  .col-sm-6 {
        flex: 0 0 auto;
        width: 50% !important;
    }

    .ufhr-sl-item .col-md-7 {
        flex: 0 0 auto;
        width: 58.33333333% !important;
    } */
    .ufhr-sl-row .modal-lg, .modal-xl {
        max-width: 800px;
    }
}



@media (min-width: 576px) {
    /* .ufhr-sl-item .col-sm-12 {
        flex: 0 0 auto;
        width: 100%;
    } */
    .ufhr-sl-row .modal-dialog {
        max-width: 600px;
        margin: 1.75rem auto;
    } 
    .ufhr-sl-row .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
}

/* @media (min-width: 768px) {
    .ufhr-sl-item .col-md-5 {
        flex: 0 0 auto;
        width: 41.66666667% !important;
    }
    .ufhr-sl-item .col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
    }

    .ufhr-sl-item .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
    }
} */

@media (min-width: 992px) {
    div.col-md-7.order-md-2.order-1 .ufhr-sl-item.col-lg-6 {
        flex: 0 0 auto;
        width: 50% !important;
    }

    /* div.col-md-7.order-md-2.order-1 .ufhr-sl-item .sl-item-img {
        flex: 0 0 auto;
        width: 33.33333333% !important;
    }

    div.col-md-7.order-md-2.order-1 .ufhr-sl-item .sl-item-body {
        flex: 0 0 auto;
        width: 66.66666667% !important; 
    }  */

    div.col-md-9.order-md-2.order-1 .ufhr-sl-item .col-lg-12 {
        flex: 0 0 auto;
        width: 100% !important; 
    } 
}

@media (min-width: 1200px) {
    div.col-md-7.order-md-2.order-1 .ufhr-sl-item.col-xl-4 {
        flex: 0 0 auto;
        width: 33.33333333% !important;
    }

    /* div.col-md-7.order-md-2.order-1 .ufhr-sl-item .sl-item-img {
        flex: 0 0 auto;
        width: 25% !important;
    }

    div.col-md-7.order-md-2.order-1 .ufhr-sl-item .sl-item-body {
        flex: 0 0 auto;
        width: 75% !important; 
    }  */

    div.col-md-9.order-md-2.order-1 .ufhr-sl-item .col-xl-6 {
        flex: 0 0 auto;
        width: 50% !important; 
    } 
}


#chart_div .google-visualization-orgchart-node {
    border: none;
    box-shadow: none;
    background: #f4f2f2;
    padding: 5px 10px;
    min-width: 150px;
}
#chart_div .google-visualization-orgchart-node:has(> div.vacant-node) {
  background: #ffffff;
  border: #e23000 2px solid;
}

#chart_div .google-visualization-orgchart-lineleft {
    border-left: 2px solid #dbdbdb;
}
#chart_div .google-visualization-orgchart-lineright {
    border-right: 2px solid #dbdbdb;
}
#chart_div .google-visualization-orgchart-linebottom {
    border-bottom: 2px solid #dbdbdb;
}

#chart_div .google-visualization-orgchart-node .ufhr-sl-staff-name {
    color: #002657;
    font-family: IBM Plex Sans;
    margin-bottom: 2px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

#chart_div .google-visualization-orgchart-node .ufhr-sl-staff-title {
    color: #212529;
    font-family: IBM Plex Sans;
    font-size: 14px;
}

#chart_div .google-visualization-orgchart-node .vacant-node .ufhr-sl-staff-name, #chart_div .google-visualization-orgchart-node .vacant-node .ufhr-sl-staff-title {
    color: #e23000;
}

.chart_toolbar {
    display: flex; 
    gap: 0.5rem; 
    align-items: center;
    margin-bottom: 0.5rem; 
    font-family: IBM Plex Sans;
}
.chart_toolbar button { 
    padding: 0.25rem 0.5rem; 
}
.chart_viewport {
  overflow: auto;
  width: 100%;
  box-sizing: border-box;
}
#chart_div {
  transform-origin: 0 0;
  display: inline-block; /* shrinks to content size; does not stretch to viewport width */
}
#chart_viewport:fullscreen {
    width: 100vw;
    height: 100vh;
    background: #fff;
    overflow: auto;
}

/* Safari */
#chart_viewport:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    background: #fff;
    overflow: auto;
}

#chart_container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#chart_container:fullscreen {
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
}

#chart_container:-webkit-full-screen {
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
}

#chart_container:fullscreen #chart_viewport {
    overflow: auto;
    /* Shrink to chart content but never exceed remaining screen height */
    max-height: calc(100vh - 60px);
    height: auto;
}

#chart_container:-webkit-full-screen #chart_viewport {
    overflow: auto;
    max-height: calc(100vh - 60px);
    height: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    list-style: none;
}