html {
    --radio-top: -2px;
}

.co_mto_programme-session-block-number,
.co_mto_programme-session-block-scheduling {
    display: none;
}

.co_mo_chatOutput {
    overflow-y: auto;
    position: relative;
    height: 100%;
}

.co_mto_chatOutput-typing-hint {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: smaller;
    opacity: .95;
    background-color: #d4edda;
    position: absolute;
    top: 0;
    z-index: 100;
    display: none;
}
    @keyframes fadeIn {
        from { opacity: 0; }
    }
    .co_mto_chatOutput-typing-hint span {
        animation: fadeIn 1s infinite alternate;
    }


.co_mo_chatOutput-wrapper {
    position: relative;
    max-height: 77vh;
    min-height: 250px;
    height: 77vh;
    background-color: #fafafa;
    border: 1px solid #ccc;
}

.co_mo_chatOutput-locked {
    border-color: red;
}

.co_mo_chatOutputFirstWelcome {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 100%;
    opacity: .9;
}

.co_mo_chatOutputFirstWelcome button {
    position: absolute;
    bottom: 1em;
    right: 1em;
}

.chatMessagePresentationUpdate {
    margin-bottom: 1rem;
}

.chatMessagePresentationUpdate .chatMessageMessage {
    font-size: small;
    color: #666;
    display: block;
    text-align: center;
    width: 100%;
}


.chatMessage {
    margin-bottom: 1rem;
    margin-left: 0;
}

.chatMessage[data-isOwn="1"] .col-auto {
    margin-left: auto;
    margin-right: .5rem;
    background-color: rgba(0, 114, 188, 0.2);
}

.chatMessage[data-isOwn="0"] .col-auto {
    background-color: rgba(168, 169, 173, 0.1);
    margin-left: .5rem;
    margin-right: auto;
}

.chatMessage[data-isSO="1"] .col-auto {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.chatMessage .col-auto {
    border: 1px solid #d2d2d2;
    border-radius: 5px;
    padding: .5rem;
    max-width: 90%;
}

.chatMessageSender {
    font-weight: bold;
}

.chatMessageSenderClick:hover {
    cursor: pointer;
}

.chatMessageTime {
    color: rgba(50, 50, 50, .75);
}

.co_mto_sendButton {
    position: relative;
    right: 0.5em;
    top: -3em;
}

.co_mto_msg {
    padding-right: 5em;
    max-height: 4rem;
}

.co_mto_chatUsers {
    display: none;
}

.co_mto_error_msg {
    display: none;
}

.co_mto_error_msg::before {
    content: ' ("';
}

.co_mto_error_msg::after {
    content: '")';
}

#co_mto_userModal .chatNickname {
    font-weight: bold;
}

.co_mto_sendButtonContainer {
    position: absolute;
    top: 28px;
    right: 6px;
    z-index: 100;
}

.co_mto_sendButtonContainer span.line-break-text {
    color: var(--gray);
}

.position-relative {
    position: relative;
}

.abstracts .abstractUrl {
    color: var(--link-color-primary);
}

.co_mto_chatContainer {
    position: relative;
}

.co_mto_chatContainer.fixed .fixed-title {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.co_mto_chatContainer:not(.fixed) .fixed-title {
    display: none;
}

.co_mto_chatContainer.fixed .co_mo_chatOutput-wrapper {
    height: 81%;
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
}

.co_mto_chatContainer.fixed .co_mo_chatInput {
    height: 17%;
    top: 83%;
    position: absolute !important;
    left: 1rem;
    right: 1rem;
}

.co_mo_chatInputMuted {
    display: none;
}

.co_mo_chatInputUnMuted {
    height: 100%;
}

.co_mto_chatContainer.fixed {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    padding: 1rem;
    overflow-y: auto;
}

.abstracts[data-has-abstracts="0"] .mto_abstracts_filter {
    display: none;
}

.abstracts[data-has-abstracts="0"] + .users .mto_userList {
    top: 0 !important;
    border-top: 1px solid #ccc;
    z-index: 500;
}

p + .abstracts[data-has-abstracts="0"] + .users .mto_userList h2 {
    margin-top: 4rem !important;
}

p + p + .abstracts[data-has-abstracts="0"] + .users .mto_userList h2 {
    margin-top: 8rem !important;
}

p + .abstracts[data-has-abstracts="0"] + .users .mto_userList button.mto_userList-muteAndBanAll {
    margin-top: 4rem !important;
}

p + p + .abstracts[data-has-abstracts="0"] + .users .mto_userList button.mto_userList-muteAndBanAll {
    margin-top: 8rem !important;
}

p + p + .abstracts[data-has-abstracts="1"] .abstracts-list-wrapper {
    top: 13rem;
}

p + p + .abstracts[data-has-abstracts="1"] .mto_abstracts_filter {
    padding-top: 7rem;
}

p + .abstracts[data-has-abstracts="1"] .abstracts-list-wrapper {
    top: 11rem;
}

p + .abstracts[data-has-abstracts="1"] .mto_abstracts_filter {
    padding-top: 5rem;
}

p + .abstracts[data-has-abstracts="1"] + .users .mto_userList {
    top: 11rem;
}

p + p + .abstracts[data-has-abstracts="1"] + .users .mto_userList {
    top: 13rem;
}

.abstracts-wrapper > p:first-of-type {
    padding-bottom: 1rem;
}

.abstracts-wrapper > p + p {
    margin-top: -1rem !important;
}

.abstracts-wrapper > p {
    position: relative;
    z-index: 1000;
    margin-right: 1.15rem;
    background-color: white;
    margin-top: 0.1rem;
}

.abstracts,
.users {
    max-height: 100%;
    overflow-y: auto;
}

.users .mto_userList,
.users .mto_userList-modal {
    z-index: 0;
}

.co_mto_chatContainer .abstracts .abstracts-list-wrapper,
.co_mto_chatContainer .abstracts .abstracts-list-wrapper-modal {
    z-index: 100;
}

.co_mto_chatContainer .abstracts .abstracts-list-wrapper,
.co_mto_chatContainer .abstracts .abstracts-list-wrapper-modal,
.co_mto_chatContainer .mto_userList-modal,
.co_mto_chatContainer .mto_userList {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    position: absolute;
    top: 7rem;
    bottom: 0;
    right: 1rem;
    left: 0;
    padding: 0 1rem 1.5rem;
    overflow-y: auto;
}

.co_mto_chatContainer .abstracts .mto_abstracts_filter {
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    position: absolute;
    top: 0;
    right: 1rem;
    left: 0;
    padding: 1rem;
    padding-bottom: 2rem;
}

p + .abstracts[data-has-abstracts="0"] + .mto_abstracts_filter {
    top: 5rem;
}

p + p + .abstracts[data-has-abstracts="0"] + .mto_abstracts_filter {
    top: 9rem;
}

p + .abstracts[data-has-abstracts="0"] + .co_mto_chatContainer .abstracts .abstracts-list-wrapper,
p + .abstracts[data-has-abstracts="0"] + .co_mto_chatContainer .abstracts .abstracts-list-wrapper-modal,
p + .abstracts[data-has-abstracts="0"] + .co_mto_chatContainer .mto_userList-modal,
p + .abstracts[data-has-abstracts="0"] + .co_mto_chatContainer .mto_userList {
    top: 11rem;
}

p + p + .abstracts[data-has-abstracts="0"] + .co_mto_chatContainer .abstracts .abstracts-list-wrapper,
p + p + .abstracts[data-has-abstracts="0"] + .co_mto_chatContainer .abstracts .abstracts-list-wrapper-modal,
p + p + .abstracts[data-has-abstracts="0"] + .co_mto_chatContainer .mto_userList-modal,
p + p + .abstracts[data-has-abstracts="0"] + .co_mto_chatContainer .mto_userList {
    top: 15rem;
}

.mto_abstracts_filter .form_check_input {
    top: -2px;
}

.mto_userList-user-mute-container .form-check,
.mto_usermute-muted,
.mto_userban-banned {
    display: none;
}

.mto_userList-user-mute-container .form-check-input {
    top: 1px;
}

.mto_userList-thead .mto_userList-user-mute-container {
    padding-top: 3px;
}

.modal-close-wrapper {
    border-bottom: 1px solid #e9ecef;
}

#mto_scrollLock span.far {
    line-height: 1.5;
}

.font-resize,
#mto_scrollLock-top {
    height: 35px;
}

.co_mto_chatContainer.fixed .headline-wrapper {
    max-height: 11.16%;
    height: 11.16%;
}

.co_mto_chatContainer.fixed .chat-content-wrapper {
    max-height: 88.84%;
    height: 88.84%;
}

.co_mto_chatContainer.fixed .chat-content-wrapper-row,
.co_mto_chatContainer.fixed .tinyMCE-wrapper,
.co_mto_chatContainer.fixed .tox.tox-tinymce,
.co_mto_chatContainer.fixed .chat-content-wrapper-col {
    height: 100% !important;
}

.co_mto_chatContainer.fixed .chat-content-wrapper-col {
    position: relative;
    min-height: 350px;
}

.mto_userList_user-muted {
    width: 43.25px;
}

.mto_userList,
.mto_userList-user-ban-container,
.mto_userList-container .mto_userList_user-muted,
.mto_userList-container .mto_userList_user-mute {
    display: none;
}

.mto_userList-container[data-so-mode="0"] .form-group {
    margin-bottom: 0;
}

.mto_userList-container[data-so-mode="0"] .mto_userList_user-nick::before {
}

.mto_userList-user[data-is-me="1"] .mto_userList-user-mute-container,
.mto_userList-user[data-is-me="1"] .mto_userList-user-ban-container {
    visibility: hidden;
}

.mto_userList-user:hover {
    background-color: #eee;
}

/**
user list states
 */
.mto_userList-user[data-is-op="1"] .mto_userList_user-nick {
    font-weight: bold;
}

.mto_userList_user-nick[data-muted="1"] {
    color: var(--gray);
    font-style: italic;
}

.mto_userList_user-nick[data-muted="1"]::after {
    content: " (muted)";
}


.chatMessageMessage a {
    word-break: break-all;
}

@media all and (max-width: 991px) {

    .co_mto_chatContainer .mto_userList-modal,
    .co_mto_chatContainer .mto_userList {
        top: 7rem;
    }


    .co_mto_chatContainer .abstracts .abstracts-list-wrapper {
        top: 8rem;
    }

    .co_mto_chatContainer.fixed h1 {
        margin-bottom: 0;
    }

    .co_mto_chatContainer.fixed .co_mto_chatUsers {
        margin-bottom: 0.25rem !important;
    }

    .co_mto_chatContainer.fixed .chat-content-wrapper {
        height: 84.84%;
    }

    .co_mto_chatContainer.fixed .headline-wrapper {
        height: 14.16%;
    }

    .co_mto_chatContainer.fixed h1 {
        margin-bottom: 0;
    }


    .co_mto_chatContainer.fixed .co_mto_chatUsers {
        margin-bottom: 0.25rem !important;
    }

    .co_mto_chatContainer.fixed .chat-content-wrapper {
        height: 84.84%;
    }

    .co_mto_chatContainer.fixed .headline-wrapper {
        height: 14.16%;
    }
}

@media (max-height: 900px) {

    .co_mto_chatContainer.fixed .headline-wrapper {
        height: 15%;
        max-height: 15%;
    }

    .co_mto_chatContainer.fixed .chat-content-wrapper {
        height: 85%;
    }

    .co_mto_chatContainer.fixed .co_mo_chatOutput-wrapper {
        height: 76%;
    }

    .co_mto_chatContainer.fixed .co_mo_chatInput {
        height: 24%;
        top: 76%;
    }
}

@media (max-height: 700px) {

    .co_mto_chatContainer.fixed .headline-wrapper {
        height: 20%;
        max-height: 20%;
    }

    .co_mto_chatContainer.fixed .chat-content-wrapper {
        height: 80%;
    }

    .co_mto_chatContainer.fixed .co_mo_chatOutput-wrapper {
        height: 71%;
    }

    .co_mto_chatContainer.fixed .co_mo_chatInput {
        height: 29%;
        top: 71%;
    }
}

@media (max-height: 500px) {

    .co_mto_chatContainer.fixed .headline-wrapper {
        height: 25%;
        max-height: 25%;
    }

    .co_mto_chatContainer.fixed .chat-content-wrapper {
        height: 75%;
    }

    .co_mto_chatContainer.fixed .co_mo_chatOutput-wrapper {
        height: 70%;
    }

    .co_mto_chatContainer.fixed .co_mo_chatInput {
        height: 30%;
        top: 70%;
    }
}

.mto_abstracts_filter input {
    top: var(--radio-top);
}

.mto_userList-muteAndBanAll {
    width: 63.08px;
}

.modal .mto_userList-container .col.text-lg-right.pl-lg-1.pr-0.pr-lg-3 {
    text-align: right !important;
}
