:root {
    --container-height: 150px;
}
@media (max-width: 600px) {
    :root {
        --container-height: 150px;
    }
}
.persons-list .lehrer-detail.element-item {
    position: relative;
    border-radius: 5px;
    box-shadow: 0px 4px 4px #0000001a;
    padding: 0;
    margin: 0;
    width: 100%;
}
.persons-list .element-item {
    padding: 10px 10px;
}
@media (max-width: 580px) {
    .persons-list .element-item {
        padding: 10px 55px 0px 10px;
    }
}
@media (max-width: 765px) {
    .persons-list .element-item:hover {
        width: 49.5% !important;
    }
}
@media (max-width: 580px) {
    .persons-list .element-item:hover {
        width: 99.5% !important;
    }
}
.persons-list .inner-wrapper-element {
    position: relative;
    border-radius: 5px;
    box-shadow: 0px 4px 4px #0000001a;
    padding: 0;
    transition: 0.3s all;
    background: #fff;
}
@media (max-width: 580px) {
    .persons-list .inner-wrapper-element {
        display: flex;
        flex-direction: row;
        overflow: hidden;
    }
}
.persons-list .inner-wrapper-element img {
    border-radius: 5px 5px 0 0;
}
@media (max-width: 580px) {
    .persons-list .inner-wrapper-element img {
        width: 20% !important;
        object-fit: cover;
    }
}
.persons-list .hovered {
    z-index: 1;
}
.persons-list .element-item.other-filter {
    filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0)) !important;
    transition: all 0.3s;
}
.persons-list .element-item.other-filter:hover {
    filter: drop-shadow(0px 0px 3px rgba(104, 125, 158, 0.5)) !important;
    transition: all 0.3s;
    width: 24.5%;
}
.persons-list .element-item.other-filter img {
    background-image: url("/media/backgrounds/back_other.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background: #f2f7ff;
    width: 100%;
}
.persons-list .element-item.hotelfachschule-filter {
    filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0));
    transition: all 0.3s;
}
.persons-list .element-item.hotelfachschule-filter:hover {
    filter: drop-shadow(0px 0px 3px #4c6fa6);
    transition: all 0.3s;
    width: 24.5%;
}
.persons-list .element-item.hotelfachschule-filter img {
    background-image: url("/media/backgrounds/back_hofa.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
}
.persons-list .element-item.wirtschaftsschule-filter {
    filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0));
    transition: all 0.3s;
}
.persons-list .element-item.wirtschaftsschule-filter:hover {
    filter: drop-shadow(0px 0px 3px #eb8482);
    transition: all 0.3s;
    width: 24.5%;
}
.persons-list .element-item.wirtschaftsschule-filter img {
    background-image: url("/media/backgrounds/back_ws.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
}
.persons-list .element-item.fosbos-filter {
    filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0));
    transition: all 0.3s;
}
.persons-list .element-item.fosbos-filter:hover {
    filter: drop-shadow(0px 0px 3px #5d983f);
    transition: all 0.3s;
    width: 24.5%;
}
.persons-list .element-item.fosbos-filter img {
    background-image: url("/media/backgrounds/back_fosbos.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
}
.persons-list .element-item.bsbw-filter {
    filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0));
    transition: all 0.3s;
}
.persons-list .element-item.bsbw-filter:hover {
    filter: drop-shadow(0px 0px 3px rgba(104, 125, 158, 0.5));
    transition: all 0.3s;
    width: 24.5%;
}
.persons-list .element-item.bsbw-filter img {
    background-image: url("/media/backgrounds/back_bsbw.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
}
.persons-list .hotelfachschule-filter.lehrer-detail img {
    background-image: url("/media/backgrounds/back_hofa.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.persons-list .fosbos-filter.lehrer-detail img {
    background-image: url("/media/backgrounds/back_fosbos.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.persons-list .wirtschaftsschule-filter.lehrer-detail img {
    background-image: url("/media/backgrounds/back_ws.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.persons-list .other-filter.lehrer-detail img {
    background-image: url("/media/backgrounds/back_other.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.persons-list .bsbw-filter.lehrer-detail img {
    background-image: url("/media/backgrounds/back_bsbw.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
@media (max-width: 580px) {
    .persons-list .detail-text {
        padding: 0.9rem !important;
    }
    .persons-list .detail-text ul {
        padding-left: 1rem;
    }
    .persons-list .detail-text li, .persons-list .detail-text p, .persons-list .detail-text span {
        font-size: 1rem;
    }
}
.persons-list .detail-text h3 {
    margin-top: 0.5rem;
}
.persons-list .element-item img {
    position: relative;
    cursor: pointer;
}
.persons-list .element-item .lehrer-name {
    cursor: pointer;
    padding: 10px 10px 0 10px;
    margin: 0;
    color: #094b72;
    font-weight: 700;
}
.persons-list .element-item .lehrer-name .name-title {
    margin: 0;
}
.persons-list .element-item .lehrer-name .academic-title {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}
.persons-list .lehrer-detail {
    display: none;
    width: 100%;
    transition: all 0.8s ease;
    position: absolute;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
}
.persons-list .lehrer-detail .col-md-8 {
    margin-right: 5px;
    box-shadow: 0px 4px 4px #0000001a;
    background: white;
    border-radius: 8px;
}
@media (max-width: 580px) {
    .persons-list .lehrer-detail .col-md-8 {
        overflow: auto;
    }
}
.persons-list .lehrer-detail .col-md-4 .lehrer-name-detail {
    padding: 15px;
    background: white;
    box-shadow: 0px 4px 4px #0000001a;
    border-radius: 0px 0px 8px 8px;
}
.persons-list .lehrer-detail .col-md-4 .lehrer-name-detail p {
    margin: 0;
}
@media (max-width: 580px) {
    .persons-list .lehrer-detail .col-md-4 {
        background: none;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
    }
    .persons-list .lehrer-detail .col-md-4 img {
        height: 100px;
        width: 100%;
        object-fit: cover;
    }
}
.persons-list .lehrer-detail.open {
    opacity: 1;
    transition: all 0.8s ease;
    width: 75%;
    z-index: 999;
    display: block;
    left: 50%;
    transform: translateX(-50%);
}
@media (min-width: 1400px) {
    .persons-list .lehrer-detail.open {
        width: 55%;
    }
}
@media (max-width: 425px) {
    .persons-list .lehrer-detail.open {
        width: 90%;
    }
}
.persons-list .lehrer-faecher {
    font-size: 0.9rem;
    padding: 0px 10px 10px 10px;
    margin: 0;
    color: #282828;
}
.persons-list .inner-detail {
    /*width: 70%;
    */
    position: relative;
}
@media (max-width: 580px) {
    .persons-list .inner-detail {
        flex-direction: row;
        height: 300px;
    }
}
.persons-list .exit-detail {
    cursor: pointer;
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 20px;
    font-weight: 900;
    color: #094b72;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
    background: #f2f7ff;
    padding: 3px 8px;
    border-radius: 5px;
    transition: 0.3s all;
}
.persons-list .exit-detail:hover {
    transition: 0.3s all;
    transform: scale(1.1);
}
.persons-list .element-item.img-chg {
    /*filter: blur(9px);
    */
    transition: 0.3s all;
}
.persons-list .lehrer-detail-wrapper {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    margin: 15px 0;
    padding: 15px;
}
.grid {
    overflow: visible !important;
}
@media (max-width: 580px) {
    .arrow-button {
        align-items: flex-end !important;
        justify-contetn: flex-end;
    }
}
.lehrer-faecher p {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}
@media (max-width: 580px) {
    .lehrer-faecher p {
        width: 280px;
    }
}
@media (max-width: 425px) {
    .lehrer-faecher p {
        width: 180px;
    }
}
.lehrer-faecher.expanded p {
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    transition: all 0.2s ease;
}
.no-detail {
    cursor: default !important;
}
span.no-detail {
    opacity: 0.1;
    cursor: default !important;
}
.chronos-text .fas {
    transform: rotate(45deg);
}
.category-container-class .btn-primary {
    background: none;
    border: none;
    color: #094b72;
    font-weight: 700;
    transition: 0.3s all;
    text-decoration: none;
    text-decoration-thickness: 0;
}
.category-container-class .btn-primary:hover {
    background: none;
    border: none;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    color: #003555;
    transition: 0.3s all;
}
.category-container-class .btn-primary.active {
    color: #094b72;
    background: none;
    border-color: #0a53be;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    transition: 0.3s all;
}
.person-telephone {
    padding: 10px;
}
.person-telephone a {
    color: #282828;
    text-decoration: none;
}
.person-telephone a:hover {
    color: #003555;
}
.person-email {
    padding: 0px 10px 10px 10px;
}
.person-email a {
    color: #282828;
    text-decoration: none;
}
.person-email a:hover {
    color: #003555;
}
/* globaler OP-State */
.element-item.has-op {
    opacity: 0.4 !important;
    filter: blur(2px) !important;
    transition: 0.3s all;
    pointer-events: none;
}
/* das aktiv geklickte Item bleibt voll sichtbar */
.element-item.img-chg {
    opacity: 1;
}
.frame-space-after-medium:has(.tx-chronos) {
    margin-bottom: 6em;
}
.frame-type-container_2_col .isotope-item {
    width: 80%;
}
.frame-type-container_2_col .isotope-item:hover {
    width: 79.5% !important;
}
@media (max-width: 765px) {
    .frame-type-container_2_col .isotope-item {
        width: 100%;
    }
    .frame-type-container_2_col .isotope-item:hover {
        width: 99.5% !important;
    }
}
.frame-type-container_2_col.frame-space-after-medium {
    margin-bottom: 3em !important;
}
.random-persons .fa-arrow-right {
    display: none;
}
.random-persons .all-lehrer {
    margin-top: 1.5rem;
    justify-content: flex-end;
}
.chronos-2-col .tx-chronos .col-lg-3 {
    width: 33.2%;
}
@media (max-width: 580px) {
    .chronos-2-col .tx-chronos .col-lg-3 {
        width: 100%;
    }
}
.chronos-2-col .tx-chronos .element-item:hover {
    width: 30.5%;
}
.chronos-2-col .tx-chronos .name-title {
    min-height: 54px;
}
