/* 
    Created on : 24. 9. 2022, 9:54:15
    Author     : Tomas Bradle <tomas@tomasbradle.eu>
*/

@charset 'UTF-8';



.mc-calls-wrapper {    
    --height-full: calc(100vh - 8.5rem - 10rem);
    --my: 5rem;
}

@media (max-height: 600px) {
    
    .mc-calls-wrapper {    
        --height-full: calc(100vh - 8.5rem - 4rem);
        --my: 2rem;
    }
}

@media (max-height: 500px) {
    
    .mc-calls-wrapper {    
        --height-full: calc(100vh - 8.5rem - 0rem);
        --my: 0;
    }
}

@media (max-width: 575px) {
    
    .mc-calls-wrapper {    
        --height-full: auto;
        --my: 0;
    }
}
    

.mc-calls-wrapper {
    height: var(--height-full);
    margin: var(--my) 0;
}

.mc-calls-wrapper .mc-calls-col {
    height: var(--height-full);
}

.mc-calls-call {
    cursor: pointer;
    
    transition: background-color .3s ease, color .3s ease;
}

.mc-calls-call:hover, 
.mc-calls-call:focus, 
.mc-calls-call:active {
    color: #344767;
    background-color: #e9ecef;
}

.mc-calls-calls {
    
    height: calc(var(--height-full) - 7rem);
    overflow: auto;
    overflow-x: hidden;
}




.mc-full-height {
    height: calc(100vh - 8.5rem);
}

.mc-user {
    cursor: pointer;
    transition: all .3s;
}

.mc-user:hover {
    color: #344767;
    background-color: #e9ecef;
}

.mc-screen.full-screen {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1500;
    border-radius: 0;
}

.mc-screen.full-screen .mc-remote-name {
    border-top-left-radius: 0 !important;
}

.mc-screen.full-screen .mc-video-remote {
    border-radius: 0 !important;
    height: 100vh;
}

.mc-screen:not(.is-calling) .mc-btn-call {
    display: inline-block;
}

.mc-screen:not(.is-calling) .mc-btn-decline {
    display: none;
}

.mc-screen.is-calling .mc-btn-call {
    display: none;
}

.mc-screen.is-calling .mc-btn-decline {
    display: inline-block;
}







@media (max-width: 767px) {

    .mc-full-height {
        height: auto;
    }
    
}












