.fullscreen-main {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    flex-direction: row;
    background-color: var(--dark-brand-color);
}


.fullscreen-video .video-with-chat {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100vw;
    height: calc(100% - 75px);
}


.video-with-chat .fullscreen-main {
    flex-direction: row;
}

.video-with-chat .fullscreen-main .embedded-player {
    width: 80%;
    margin: 0;
    padding: 0;
}


.chat-row {
    display: flex;
    flex-direction: row;
    width:  100%;
    align-items: center;
}

.chat-title {
    display: flex;
    width: 100%;
    color: var(--dark-brand-contrast-color);
    justify-content: space-between;
    margin: 10px 0;
    align-items: center;
    flex-direction: row;
}

.chat-message {
    display: flex;
}

.chat-message textarea {
    border-radius: 0;
    width: 97%;
    background-color: var(--white);
    margin: 15px 0 0 0;
    box-shadow: 0 2px 2px inset var(--shadow-color);
}

.chat-item {
    display: flex;
    flex-direction: row;
    margin: 7px 0;
    padding: 0;
    width: 100%;
    min-height: 50px;
}

.chat-item.chat-mine {
    flex-direction: row-reverse;
}

.chat-item.chat-sysmsg > div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    color: var(--dark-brand-color);
    border-radius: 8px;
    padding: 10px;
    max-width: calc(100% - 90px);
    margin-left: 15px;
}

.chat-item .chat-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 15px;
}

.chat-avatar img {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    object-fit: contain;
}

.chat-avatar+div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: var(--light-brand-color);
    border-radius: 8px;
    padding: 10px;
    max-width: calc(100% - 90px);
}

.chat-sender {
    font-weight: bold;
    font-size: 10pt;
}

.chat-content {
    font-size: 12pt;
    margin-top: 5px;
}

.chat-column .chat-room {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.chat-row .chat-room {
    display: flex;
    flex-direction: row;
    width: 80%;
}

.chat-row .chat-title {
    width: 40%;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 0 0 15px;
}

.chat-history {
    width: 100%;
    background-color: var(--white);
    color: var(--black);
    overflow-y: scroll;
    height: calc(100vh - 150px);
}


.chat-row .chat-history {
    width: 60%;
    margin-left: 50px;
    height: 100px;
    overflow-y: auto;
}

.chat-row .chat-message {
    width: 100%;
}

.video-with-chat .fullscreen-actions {
    width: calc(20% - 150px);
    align-items: center;
    height: 150px;
}

.fullscreen-actions a, .fullscreen-actions a:visited {
    color: var(--primary-link-color);
}

.translate-action {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    margin: 5px;
    font-size: 8pt;
    cursor: pointer;
}

.chat-translation {
    font-style: italic;
}

.chat-column {
    display: block;
    width: 20%;
    margin: 0;
    padding: 0;
    background-color: var(--dark-brand-color);
    height: 100vh;
}

.fullscreen-main .embedded-player {
    display: block;
    width: 60%;
    margin: 0;
    padding: 0;
    left: 0;
    max-height: 100vh;
    overflow-y: scroll;
}

.fullscreen-main.one-chat .embedded-player {
    width: 80%;
}

.fullscreen-main.no-chat .embedded-player {
    width: 100%;
}

.streaming-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: white;
    width: calc(100% - 4rem);
    padding: 2rem;
}

video {
    object-fit: contain;
    width: 100% !important;
    height: auto !important;
}

.video-js {
    position: relative;
}

.video-js[tabindex="-1"] {
    height: calc(60vw * 0.5625);
}

.fullscreen-main.one-chat .video-js[tabindex="-1"] {
    height: calc(80vw * 0.5625);
}

.fullscreen-main.no-chat .video-js[tabindex="-1"] {
    height: 56.25vw;
}

.video-js .vjs-control-bar {
    bottom: unset !important;
}


.chat-title span.chat-close {
    display: none;
    margin-inline-end: 1rem;
    width: 1rem;
}

.chat-title span.chat-close:after {
    content: "\00D7"
}

.chat-title span.pre-title {
    display: none;
    margin-inline-start: 1rem;
    width: 1rem;
}

.chat-title h3 {
    display: flex;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.chat-access {
    display: none;
    margin: 1rem 0;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}
