.firmenbibliothek ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.firmenbibliothek ul li {
    margin-right: 20px;
    margin-bottom: 20px;
}

@media screen and (min-width: 1001px) {
    .firmenbibliothek ul li {
        width: calc( ( 100% - 60px ) / 4 );
    }

    .firmenbibliothek ul li:nth-child(4n) {
        margin-right: 0;
    }
}

@media screen and (min-width: 701px) and (max-width: 1000px) {
    .firmenbibliothek ul li {
        width: calc( ( 100% - 40px ) / 3 );
    }

    .firmenbibliothek ul li:nth-child(3n) {
        margin-right: 0;
    }
}

@media screen and (min-width: 481px) and (max-width: 700px) {
    .firmenbibliothek ul li {
        width: calc( ( 100% - 20px ) / 2 );
    }

    .firmenbibliothek ul li:nth-child(2n) {
        margin-right: 0;
    }
}

@media screen and (max-width: 480px) {
    .firmenbibliothek ul li {
        width: 100%;
        margin-right: 0;
    }
}

.firmenbibliothek ul h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

body.um-page-login.um-page-loggedout nav.fusion-main-menu {
    display: none;
}

/* UserList: Messaging Tabelle Shortcode */

.au-rh-table {
	width: 600px;
	align-self: center;
}

.au-rh-table tr {
	border-bottom: 1px solid lightgray;
}

.au-rh-table-container {
	display: flex;
	align-items: center;
	margin: 10px 0px 10px;
}

.au-rh-table-container p {
	margin: 0 !important;
}

.au-rh-table-container div {
	width: 150px;
	margin-left: auto;
}

.um-message-btn.um-button {
	height: 40px;
	padding-top: 13px !important;
}

input#ar-chat-switcher {
    display: none;
}

.ar-chat-popup-link {
    position: fixed;
    z-index: 99998;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0f3b5a;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.ar-chat-popup-inner {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 50%);
    justify-content: center;
    align-items: center;
}

input#ar-chat-switcher:checked+.ar-chat-popup-inner {
    display: flex;
}

.ar-chat-popup-link label {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    cursor: pointer;
}

.ar-chat-popup-link:hover,
.ar-chat-popup-inner div.ar-chat-popup-content label:hover {
    opacity: 0.8;
}

.ar-chat-popup-inner div.ar-chat-popup-content {
    background: white;
    padding: 20px 20px 4px 20px;
    position: relative;
    width: 100%;
    max-width: 768px;
    overflow: auto;
    max-height: 800px !important;
}

.ar-chat-popup-inner div.ar-chat-popup-content label {
    position: absolute;
    top: 10px;
    right: 10px;
    line-height: 1;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}

.um-message-noconv {
    top: 0 !important;
    height: auto !important;
}

ul.last-login-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.last-login-list > li {
	display: grid;
	grid-template-columns: 200px 1fr 150px;
	padding: 10px 10px;
	border-top: 1px solid #0f3b5a;
	gap: 10px;
}

ul.last-login-list > li:hover {
	background: rgb(15 59 90 / 20%);
}

ul.last-login-list > li > span.last-online {
	text-align: center;
	position: relative;
}

ul.last-login-list > li.head > span {
	display: flex;
	align-items: center;
	line-height: 1;
	font-weight: 600;
}

ul.last-login-list > li.head {
	border-top: none;
	padding: 15px 10px;
}

ul.last-login-list > li.head > span > i {
	margin-right: 10px;
	font-size: 20px;
}

ul.last-login-list > li.head > span.last-online {
	justify-content: center;
}

ul.last-login-list > li > span.last-online.undetected {
	color: #ff9f1c;
	cursor: help;
}

ul.last-login-list > li > span.last-online.undetected:hover:after {
    content: "Bisher nicht erfasst";
    position: absolute;
    padding: 5px;
    background: white;
    border: 1px solid;
    width: fit-content;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    font-size: 14px;
    line-height: 1;
}

@media screen and ( max-width: 550px ) {
    ul.last-login-list > li {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }

    ul.last-login-list > li.head > span {
        line-height: 1.2;
    }

    ul.last-login-list > li.head > span > i {
        display: none;
    }
}