.persons-list .lehrer-detail.element-item {
    position: relative;
    border-radius: 5px;
    box-shadow: 0px 4px 4px #000 1a;
    padding: 0;
    margin: 0;
    width: 100%;
}
.persons-list .element-item {
    padding: 10px 10px;
}
@media (max-width: 425px) {
    .persons-list .element-item {
        padding: 10px 55px;
    }
}
@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 #000 1a;
    padding: 0;
    transition: 0.3s all;
    background: #fff;
}
.persons-list .inner-wrapper-element img {
    border-radius: 5px 5px 0 0;
}
.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;
    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.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 .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 .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 .bsbw-filter.lehrer-detail img {
    background-image: url("/media/backgrounds/back_other.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 .detail-text h3 {
    margin-top: 0.5em;
}
.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 .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 #000 1a;
    background: white;
    border-radius: 8px;
}
.persons-list .lehrer-detail .col-md-4 {
    box-shadow: 0px 4px 4px #000 1a;
    background: white;
    border-radius: 8px;
}
.persons-list .lehrer-detail .col-md-4 img {
    height: 100%;
    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 (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-wrap: wrap;
    }
}
.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;
}
.lehrer-faecher {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}
.lehrer-faecher.expanded {
    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: rgba(0, 51, 81, 0.65);
    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;
}
