/*------Officer Search-----*/

.intro {
    margin-top: 0;
}


#search-status {
    margin: 0;
}

.officer-card-toggle {
    border: black solid 2px;
    display: flex;
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    background: #ffffff;
    cursor: pointer;


}

/*.officer-card-toggle:hover {*/
/*    border: black solid 4px;*/
/*    !*border: none;*!*/
/*    !*.officer-collapse {*!*/
/*    !*    color: white;*!*/
/*    !*}*!*/
/*    !*.officer-id-line {*!*/
/*    !*    color: white;*!*/
/*    !*}*!*/
/*}*/



#officer-search-form {
    MARGIN-TOP: 0;
}

.officer-card {
    box-shadow: 0.4em 0.4em black;
    transition: box-shadow 0.1s, transform 0.1s;
}

.officer-card:hover {
    transform: translate(0.4em, 0.4em);
    box-shadow: 0em 0em black;
}

/*.officer-card-toggle:hover {*/
/*    transform: translate(0.4em, 0.4em);*/
/*    box-shadow: 0em 0em black;*/
/*}*/

.officer-collapse {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-align: start;
}

.officer-name {
    font-weight: bold;
    font-size: 2em;
}

.officer-id-line {
    margin-left: auto;
    line-height: 1;
    font-weight: bold;
}

#current-employing-agency-title {
    margin-top: 0.75em;
    font-size: 1.1em;
    font-weight: bold;
}

.officer-agency {
    margin-top: 0.25em;
}


.officer-card-toggle[aria-expanded="true"] {
    border: none;
    padding: 0;
}


.officer-card:has(.officer-card-toggle[aria-expanded="true"]){
    border: black solid 2px;
    padding: 1em 0.5em 0.5em 1.5em;
    margin-bottom: 1em;

}





/*Officer card body stuff*/

.identity-block {
    display: flex;
    margin-top: 2em;
}

.identity-row dt {
    font-weight: bold;
    font-size: 1em;
}

.identity-traits dt,dd {
    display: inline;
}

.identity-traits {
    margin-right: 8em;
    line-height: 1.3em;
}

.identity-cert {
    line-height: 1.1em;
}

.identity-cert .identity-row {
    margin-bottom: 0.5em;
}

.repeat-list {
    margin-top: 0.5em;
}

.dossier-heading {
    font-weight: bold;
    border-bottom: black solid 2px;

}

.employment-header {
    margin: 0;

}

.employment-item {
    padding: 0.5em 1em 1em 1em;
    background: #cdcdcd;
    margin-top: 1.5em;
}

.employment-header-main h3.employment-agency {
    font-size: 1.5em; !important;
}

.employment-dates {
    font-style: italic;
    margin-left: 3em;
}

.employment-separation-body {
    margin-left: 1.2em;
    margin-top: 0.8em;
    line-height: 1.1em;
    display: flex;
    flex-direction: column;
}

.separation-toggle {
    display: flex;
    /*align-items: center;*/
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    text-align: left;
    text-decoration: none;
    font: inherit;
    color: inherit;
}

.separation-toggle.collapsible:after {
    margin-left: auto;
    font-weight: bold;
    text-decoration: none;
    border: none;
}

.reason-separation {
    font-weight: bold;
    margin: 0 0.5em 0 0;
    flex: 0 0 auto;
}

.employment-status {
    flex: 1;
    font-size: 0.9em;
}

.separation-notes-content .separation-notes {
    white-space: pre-wrap;
}

h4.complaints-header {
font-size: 1.2em;
    margin: 1.5em 0 0 1em;
}

.offense-header {
    border-bottom: 2px solid black;
    display: flex;
    width: 100%;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    margin-top: 0.25em;
}

.collapsible:after, .offense-header {
    font-weight: bold;
}

/*.offense-header:after {*/
/*    content: "\2212"; !* Unicode character for "minus" sign (-) *!*/
/*}*/

.offense-item {
    margin-left: 3em;
}

.offense-number {
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
}

.offense-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.case-opened-date {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    margin-right: 0.5em;

}

.offense-header .case-opened-date-short {
    display: none;
}

.case-opened span, .case-closed span {
    font-weight: bold;
}

.offense-content {
    margin-left: 3em;

}

.offense-details dd {
    white-space: normal;
}

/*.offense-date-block {*/
/*    margin-top: 0.35em;*/
/*}*/

.offense-date-group {
    margin-bottom: 0.65em;
}

/*.offense-date {*/
/*    font-weight: bold;*/
/*}*/

.offense-line-list {
    margin: 0.3em 0 0 1.5em;
    padding: 0;
    font-weight: normal;
    line-height: 1em;
}

.offense-line {
    margin: 0.15em 0;
}

.discipline-block dt,.status-block dt, .offense-date {
    font-weight: bold;
    font-size: 1.25em;

}

.discipline-block dd, .status-block dd {
    margin-left:1.5em;
    font-weight: bold;
}

.status-comments, .discipline-comments, .separation-notes {
    margin-left:1.5em;
}

.separation-notes {
    font-size: 0.9em;
    font-style: italic;
}





.officer-card-body[hidden] {
    display: none;
}


.empty-message {
    display: none;
}

.dossier-section.is-empty .empty-message {
    display: block;
}

.dossier-section.is-empty .repeat-list {
    display: none;
}

.end-marker[hidden] {
    display: none;
}



.data-diary {
    background-color: var(--ghost-accent-color);
    color: white;
    padding: 18px;
    border: none;
    text-align: left;
    outline: none;
    display: flex;
}

.data-diary:hover {
    background-color: #0083e8;
}

.data-diary:after {
    color: white;
    float: right;
    align-content: center;
    align-items: center;
    margin-left: auto;
}

.diary-content {
    padding: 0 18px;
}


#spj {
    display: flex;
    flex-direction: row;
    padding: 1em;
    background: #007bd9;
}

#spj h3 {
    flex:70%;
    padding: 1em;
    color: white;
    margin-left: 1em;
}

#spj svg {
    flex:30%;
}

#spj a {
    width: 30%;
    align-content: center;
}

#spj svg path {
    fill: white;
}




@media (max-width: 767px) {

    #name-search {
        margin-top: 1em;
    }
    
    #search-first, #search-last {
        margin-bottom: 0.5em;
        width: 100%;
    }

    #officer-name-button {
        width: 100%;
    }

    .officer-name {
        font-size: 1.75em;
        padding-right: 0.25em;
    }

    .current-employing-agency-title {
        font-size: 0.8em;
    }

    .officer-id-line {
        font-size: 0.8em;
    }

    .officer-agency {
        font-size: 0.9em;
    }

    .officer-collapse {
        flex: 75%;
    }

    .officer-card:has(.officer-card-toggle[aria-expanded="true"]) {
        padding: 0.5em;
    }

    .identity-traits {
        margin-right: 3em;
    }

    .employment-separation-body {
        flex-direction: column;
        margin-left: 0;
    }

    .employment-dates, .offense-item, h4.complaints-header {
        margin-left: 0;
    }

    .separation-toggle {
        flex-direction: column;
    }

    .offense-content {
        margin: 0.5em 0 0 1em;
    }

    .offense-header .case-opened-date-full {
        display: none;
    }

    .offense-header .case-opened-date-short {
        display: inline;
    }

    .offense-number, .offense-title, .case-opened-date {
        font-size: 75%;
    }

    .offense-title {
        line-height: 1em;

    }

    .tablinks {
        margin: 0.2em;
        line-height: 1em;
    }


    #spj {
        display: flex;
        flex-direction: column;
        padding: 1em;
        background: #007bd9;
    }

    #spj h3 {
        flex:70%;
        padding: 1em;
        color: white;
        margin-left: 0;
        text-align: center;
    }

    #spj svg {
        flex:30%;
    }

    #spj a {
        width: 75%;
        align-content: center;
        margin: 1em auto 1em auto;
    }


}
