
html, body, iframe {
    height: 100%;
    width: 100%;
    border: none;
    margin: 0px;
    padding: 0px;
    overflow:hidden;
}

video {
    position: absolute;
    right: 0;
    border-radius: 10px 0 0 10px;
    background-color: gray;
    width: 0;
    max-width: 320px;
    max-height: 240px;
    transition: width .5s;
}

#view {
    top: 222px;  
}

#view.open {
    width: 320px;
    transition: width .5s;
}

#cam {
    top: 0;  
    right: 0;
    max-width: 240px;
    max-height: 180px;
}

#cam.open {
    width: 240px;
    transition: width .5s;
}

/* #menu {
    position: absolute;
    top: 180px;
    right: 0;
    display: flex;
} */

/* #menu button {
    background-color: #0077dd;
    color: white;
    border-width: 0;
    overflow: hidden;
} */

#menu.calling button {
    background-color: orange;
}

#menu.calling #call i {
    color: orange;
}  

#menu.established button {
    background-color: red;
}

#menu.established #call i {
    color: red;
}  

#toggle {
    display: flex;
    align-items: center;
    border-radius: 24px 0 0 24px;
    height: 42px;
}
  
#toggle i {
    font-size: 34px;
    max-width: 34px;
}

#toggle.hint {
    animation: hint 2s ease-in-out infinite;
}

@keyframes hint {
    80%  { box-shadow: 0px 0px 0px 0px orange; }
    90%  { box-shadow: 0px 0px 8px 6px orange; }
    100% { box-shadow: 0px 0px 0px 0px orange; }
}

/* #call {
     display: flex;
    align-items: center;
    justify-content: right;
    flex-wrap: nowrap;
    border: 0;
    padding: 0;
    width: 0;
    max-height: 42px;
    border-radius: 0;
    transition: width .3s; 
} */
 
/* #call.open {
    width: 160px;
} */

/* #call i {
    background-color: white;
    color: #0077dd;
    border-radius: 50%;
    padding: 4px;
    margin: 0 8px;
    font-size: 22px; 
} */
