﻿.meetingOverlay {
    position: fixed;
    visibility: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 10;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.dashboardRightColumn.overlayMeeting .meetingOverlay {
    visibility: visible;
    opacity: 1;
}

.dashboardRightColumn.overlayMeeting {
    z-index: 9;
}

    /*.embeddedMeeting:not(.active) .meetingArea {
                                margin-bottom: 1.5rem;
                            }*/


    .dashboardRightColumn.overlayMeeting .embeddedMeeting.active .meetingArea {
        position: fixed;
        z-index: 11;
        /*top: 90px;*/
        top: 60px;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 70vw;
        /*height: calc(90vh - 90px); /*70vh;*/
        height: calc(90vh - 60px); /*70vh;*/
    }

/*esconde o botão de fechar da partial de upgrade*/
.meetingArea > .container-fluid.inPartialMode > button.close {
    display: none;
}

.dashboardRightColumn.overlayMeeting .embeddedMeeting.active .meetingArea .resp-container.areaVideoCall {
    /*padding-top: calc(90vh - 90px) !important; /*70vh !important;*/
    padding-top: calc(90vh - 60px) !important; /*70vh !important;*/
}

@media (max-width: 1280px) {
    .dashboardRightColumn.overlayMeeting .embeddedMeeting.active .meetingArea {
        height: calc(100vh - 120px);
        top: 60px;
    }

        .dashboardRightColumn.overlayMeeting .embeddedMeeting.active .meetingArea .resp-container.areaVideoCall {
            padding-top: calc(100vh - 120px) !important; /*70vh !important;*/
        }
}

@media (max-width: 1199px) {
    .dashboardRightColumn.overlayMeeting .embeddedMeeting.active .meetingArea {
        width: 100vw;
    }
}

.embeddedMeeting .btnAction {
    line-height: 1.2;
    height: 48px;
    font-size: calc(6px + .15vw);
}

@media (max-width:767px) {
    .embeddedMeeting .btnAction {
        font-size: 8px;
    }
}

.embeddedMeeting {
    flex: 1 1 auto;
    display: none;
}

    .embeddedMeeting.toJoin {
        display: inline-block;
        flex: 1 1 100%;
    }

    .embeddedMeeting.active {
        display: block;
        flex: 1 1 100%;
    }

.meetingButtons .btnExpandMeeting, .meetingButtons .btnCloseMeeting {
    display: none;
}

.embeddedMeetingArea {
    display: flex;
    flex-direction: row;
    column-gap: 5px;
    row-gap: 8px;
    flex-wrap: wrap;
    /*margin-bottom: 1.5rem;*/
}

.embeddedMeeting.active .btnJoinMeeting.btnAction.active, .embeddedMeeting.active .btnJoinMeeting.btnAction.outline {
    border-radius: 15px 15px 0 0;
}

.meetingButtons {
    display: flex;
    justify-content: space-between;
    column-gap: 5px;
    row-gap: 5px;
    flex-direction: row;
}

    .meetingButtons .btnCloseMeeting, .meetingButtons .btnExpandMeeting {
        border-radius: 15px 15px 0 0;
        background-color: #665;
    }

    .meetingButtons .btnCloseMeeting {
        background-color: #be3131;
    }

.embeddedMeetingArea .embeddedMeeting .additionalRoomFunctions {
    /*display: none;*/
    margin-top: .3rem;
}

/*SEMPRE APARENTE*/
/*@media (max-width:767px) {
    .embeddedMeetingArea .embeddedMeeting .additionalRoomFunctions {
        display: flex;
    }
}*/

.embeddedMeetingArea.playing .embeddedMeeting.active .meetingButtons .btnExpandMeeting, .embeddedMeetingArea.playing .embeddedMeeting.active .meetingButtons .btnCloseMeeting, .embeddedMeetingArea.playing .embeddedMeeting.active .additionalRoomFunctions {
    display: block;
}

.roomUsersArea {
    /*display: flex;
                                flex-direction: row;
                                column-gap: 2px;
                                row-gap: 2px;*/
    display: inline-block;
    /*display:none;*/
    width: 100%;
    overflow: hidden;
    max-height: 35px;
    /*margin-bottom: 1.5rem;*/
    text-align: left;
}

    .roomUsersArea:empty {
        display: none;
    }

    .roomUsersArea div {
        position: relative;
        width: 25px;
        /*margin: 5px 0;*/
        margin: 5px 4px 0 0;
        display: inline-block;
    }

        .roomUsersArea div img {
            border-radius: 50%;
        }

.embeddedMeetingArea {
    /*display:flex;
                            flex-direction:column;*/
    row-gap: 8px;
}

.embeddedMeeting.active .roomUsersArea {
    max-height: unset;
}

.buttonLoader {
    position: absolute;
    right: 48px;
    top: 0;
    bottom: 0;
    margin: auto;
    display: none;
    /*background-color: inherit;*/
    padding: 3px;
    height: 48px !important;
}

@media (max-width: 767px) {
    .embeddedMeetingArea {
        flex-direction: column;
    }
}

.liveEvent {
    display: none;
}

.meetingButtonBanner {
    border-left: 1px solid #fff;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .meetingButtonBanner .bannerDescr {
        margin: 0;
        padding: 5px;
        font-size: calc(8px + .15vw);
        font-weight: normal;
        text-transform: none;
    }

        .meetingButtonBanner .bannerDescr .title {
            white-space: break-spaces;
            text-transform: uppercase;
            margin: 2px 0;
            font-weight: 800
        }

        .meetingButtonBanner .bannerDescr .firstLine, .meetingButtonBanner .bannerDescr .secondLine {
            white-space: break-spaces;
        }

    .meetingButtonBanner img {
        height: auto;
        margin-right: -10px;
        border-radius: 0 15px 15px 0;
        border-radius: 50%;
    }

.embeddedMeeting.toJoin.withBanner .meetingButtons > button, .embeddedMeeting.toJoin.withBanner .meetingButtons > a {
    height: 72px;
    border-radius: 15px 50px 50px 15px;
}

.embeddedMeeting.toJoin.withBanner .meetingButtonBanner > img {
    width: 72px;
}

.embeddedMeeting.active.withBanner .meetingButtonBanner > img {
    width: 48px;
}

.embeddedMeeting.active.withBanner .meetingButtonBanner > .bannerDescr > .firstLine, .embeddedMeeting.active.withBanner .meetingButtonBanner > .bannerDescr > .secondLine, .embeddedMeeting.active.withBanner .meetingButtonBanner > .bannerDescr > .title {
    display: none !important;
}

.embeddedMeeting.active.withBanner .meetingButtonBanner {
    border-left: 0;
}

.embeddedMeeting.active .meetingButtonBanner img {
    border-radius: 0 15px 0 0;
}

.btnJoinMeeting.btnAction.outline {
    border: 1px solid #ccc;
    background-color: #fff !important;
    color: #555;
}

    .btnJoinMeeting.btnAction.outline.red {
        border: 1px solid #be3131;
        color: #be3131;
    }

    .btnJoinMeeting.btnAction.outline .meetingButtonBanner {
        border-color: #be3131;
    }

.btnAction.active.red {
    background-color: #be3131;
    color: #fff;
}

.roomUsersArea#room_leaggroup-0_2:empty ~ .liveEvent {
    display: none;
}

.liveEvent {
    position: absolute;
    left: 0;
    top: -17px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .liveEvent span {
        text-transform: uppercase;
        font-size: calc(7px + .2vw);
        display: inline-block;
        background: #fff;
        padding: 0px 9px;
        border-radius: 15px 0 0 15px;
        position: relative;
        left: 3px;
    }

    .liveEvent .pulseBall {
        background-color: #ee1d24;
        width: calc(15px + 1vw);
        height: calc(15px + 1vw);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: calc(4px + .2vw) solid #fff;
        box-shadow: 0 0 0 0 rgba(255,255,255,.5);
        animation: pulse 1.5s infinite;
    }




.liveEmbed .card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

    .liveEmbed .card .card-body p {
        display: none;
    }

@media (min-width:768px) {
    .liveEvent {
        /*top: calc(-40px - 4.8vw);*/
    }
}

@media (max-width:767px) {
    .liveEvent {
        top: 62px;
    }
}

@keyframes pulse {

    70% {
        box-shadow: 0 0 0 calc(10px + 1vw) rgba(255,255,255,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}
