html, body {
    background-color: #fff;
    color: #636b6f;
    font-family: 'Nunito', sans-serif;
    font-weight: 200;
    height: 100vh;
    margin: 0;
}

h1 {
    color: #555;
    width: 50%;
    text-align: center;
}

@media (max-width: 900px) {
    h1 {
        width: auto;
        text-align: center;
        font-size: 2rem;
        text-shadow: 1px 1px 2px #c0e4e2;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 1.75rem;
        text-shadow: 1px 1px 2px #c0e4e2;
    }
}

.form-container {
    width: 50%;
    margin-right: auto;
}

@media (max-width: 900px) {
    .form-container {
        margin: auto;
        width: 100%;
    }
}

.form-container .form {
    background: #ffffffd1;
    max-width: 400px;
    margin: auto;
    border-radius: 4px;
}

.form-container .form h3 {
    font-size: 1.3rem;
}

.border-success {
    border-color: #44bdad85 !important;
}

.text-dark {
    color: #555;
    font-weight: 600;
}

.form-container .form input {
    border-color: #44bdad85 !important;
}

.form-container .form input:focus {
    box-shadow: 0 0 0 0.2rem #44bdad85;
}

.form-container .form input.has-error {
    border-color: #bd424285 !important;
}

.form-container .form input.has-error:focus {
    box-shadow: 0 0 0 0.2rem #bd444454;
}

.field-error {
    font-size: 0.9rem;
    font-weight: 600;
    padding-left: 0.75rem;
    margin-top: 0.25rem;
}

.main-view {
    width: 800px;
    height: 600px;
    max-width: 100%;
    max-height: 100%;
    margin: 0 1rem;
    position: relative;
    background: #000;
}

.main-view .full-view {
    width: 100%;
    height: 100%;
    background: #444;
    border-radius: 3px;
    margin: 0 auto;
}

.main-view .full-view[data-name]::after {
    position: absolute;
    content: attr(data-name);
    left: 0;
    width: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
    padding: 0.6rem 0.5rem 0.4rem 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    font-weight: bold;
}

.main-view .thumbs {
    position: absolute;
    z-index: 2;
    bottom: 1rem;
    right: 1rem;
    width: 180px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}
.main-view .thumbs .thumb-view {
    width: 100px;
    height: 75px;
    border: 1px solid #0d5875;
    box-shadow: 0 0 3px #888;
    border-radius: 3px;
    background: #444;
    margin-top: 1rem;
    position: relative;
    cursor: pointer;
}
.main-view .thumbs .thumb-view>* {
    pointer-events: none;
}
.main-view .thumbs .thumb-view[data-name]::after {
    position: absolute;
    content: attr(data-name);
    left: 0;
    width: 100%;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    padding: 0 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    text-align: center;
}
.media-status-indicator {
    position: absolute;
    z-index: 1;
    right: 3px;
    top: 3px;
    display: flex;
    justify-content: flex-end;
    width: calc(100% - 6px);
}
.full-view .media-status-indicator {
    right: 8px;
    top: 8px;
}
.full-view .user-type-indicator {
    left: 8px;
    top: 8px;
}
.media-status-indicator i.muted {
    font-size: 12px;
    color: #fff;
    background: #333;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 3px;
}
.user-type-indicator {
    position: absolute;
    z-index: 1;
    left: 3px;
    top: 3px;
    display: flex;
    justify-content: end;
}
.user-type-indicator i {
    font-size: 12px;
    color: #fff;
    background: #333;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 3px;
}
.thumb-view .media-status-indicator i.muted,
.thumb-view .user-type-indicator i {
    font-size: 9px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    opacity: 0.7;
}
.thumb-view:hover .media-status-indicator i.muted,
.thumb-view:hover .user-type-indicator i {
    opacity: 1;
}
.main-view .thumbs .disconnected-view {
    opacity: 0;
    height: 0;
}
.main-view .not-publishing {
    background: grey;
}
.main-view .not-publishing * {
    opacity: 0;
}

.tp-bar {
    width: 120px;
}
.tp-bar .tp-item {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    border: 0.3rem solid transparent;
}

.tp-bar .tp-item.active {
    border: 0.3rem solid #44bdad85;
}

.avatar {
    margin: auto;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    font-size: 2rem;
    font-weight: 600;
}
.invite-image {
    width: 80px;
    margin: auto;
    display: block;
}

.text-single {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.btn[disabled] {
    opacity: 0.3;
}
body .OT_fit-mode-cover .OT_video-element {
    object-fit: contain;
}
.call-actions {
    position: absolute;
    z-index: 2;
    bottom: 1rem;
    left: 1rem;
    width: 200px;
    height: 40px;
}
.call-actions>button {
    width: 40px;
    height: 40px;
    font-size: 90%;
    margin-right: 0.75rem;
    padding-left: 0;
    padding-right: 0;
}
.call-mcp {
    position: absolute;
    z-index: 2;
    bottom: 1rem;
    left: calc(2rem + 50px);
    width: 50px;
    height: 50px;
    font-size: 120%;
}

.patient-in-q-alert {
    -webkit-animation: blink 1s linear infinite;
    -moz-animation: blink 1s linear infinite;
    animation: blink 1s linear infinite;
    opacity: 0;
}
@-moz-keyframes blink {
    50% { opacity: 1; }
    100% { opacity: 0; }
}
@-webkit-keyframes blink {
    50% { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes blink {
    50% { opacity: 1; }
    100% { opacity: 0; }
}
