﻿html {
    background-color: #F7F7F7;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

body {
    background-color: #F7F7F7;
    color: #333;
    font-family: Calibri, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x:hidden;
    overflow-y:hidden;
}

#container {
    height: 100%;
    width: 100%;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#container-header {
    color: rgb(255, 255, 255);
    margin-bottom: 5px;
    position: absolute;
    top: 0;
    height: 150px;
    left: 0;
    right: 0;
}


#container-header .header-image {
    
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

#container-body 
{
    background-color: #fff;
    color: rgb(111, 111, 111);
    margin-bottom: 2px;
    position: absolute;
    top: 155px;
    left: 0;
    right: 0;
    bottom: 50px;
    font-size: 20px;
    border: 1px solid #F1E6E6;
    overflow-y: auto;
}

#container-body .container-body-nav {
    list-style: none;
}

#container-body .container-body-nav li{
    margin-bottom: 20px;
    color: rgb(0, 0, 0);
    font-size: 30px;
    line-height: 50px;
}

#container-body .container-body-nav li i{
    margin-right:10px;
}

#container-body .container-body-nav li a{
    color: rgb(0, 0, 0) !important;
    text-decoration: none;
}

#container-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45px;
    background-color: rgb(0, 0, 0);
    color: rgb(111, 111, 111);
    padding: 0 5px;
}

#container-footer img {
    height: 35px;
    margin-top: 5px;
    margin-left: 10px;
}

#body-config, #footer, #body, #header{
    display: none;
}

#body-config, #body{
    position:absolute;
    top:70px;
    bottom:70px;
    left:10px;
    right:10px;
}

#header{
   position:absolute;
   top:10px;
   left:10px;
   right:10px;
   height:50px;
   text-align: center;
   z-index:100;
}

#footer{
   position:absolute;
   bottom:10px;
   left:10px;
   right:10px;
   height:50px;
   text-align: center;
   z-index:100;
}

#hasAudio, #hasVideo, #hasChat {
    display: none;
}

#hasInteractions, #noInteractions{
    display: none;
}

.button-round {
    width: 50px;
    height: 50px;
    -ms-border-radius: 25px;
    border-radius: 25px;
    moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    padding: 5px;
    cursor: pointer;
}

#container-body .body-iframe {
    position: absolute;
    top: -90px;
    bottom: 40px;
    left: 0;
    right: 0;
}

#body #videoSessionBig {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 100;
}

#body #videoBig {
    height: 100%;
    width: 100%;
}

#body #videoSessionSmall {
    position: absolute;
    bottom: 10px;
    right: 10px;
    max-width: 100px;
    max-height: 100px;
    z-index: 200;
}

#body #videoSmall {
    height: 100%;
    width: 100%;
}

@media screen and (max-width: 680px) {
    body {
        padding:0;
    }

    .button-round {
        width: 30px;
        height: 30px;
        -ms-border-radius: 30px;
        border-radius: 30px;
        moz-border-radius: 30px;
        -webkit-border-radius: 30px;
        padding: 0;
        cursor: pointer;
    }

    #container-header{
        display:none;
    }

    #container-body{
        top:0;
        font-size:16px;
        bottom:25px;
        line-height:25px;
        margin:2px;
        overflow-x: hidden;
    }

    #container-body .container-body-nav li{
        font-size: 20px;
        line-height: 20px;
    }

    #container-body #header{
        height:30px;
    }

    #container-body #body-config{
        bottom:0;
        top:0;
        margin-right: 5px;
    }

    #selectMedia{
        text-align:center;
    }

    #selectMedia .container-body-nav{
        padding:0;
    }

    #container-body #body{
        bottom:50px;
        top:50px;
    }

    #container-body #footer{
        height:30px;
        bottom:0px;
    }

    #container-body #button-dial {
        left: 45%;
        position: absolute;
        z-index: 999;
        height: 30px;
    }

    #container-footer{
        height:25px;
    }

    #container-footer img{
        height:18px;
        float:right;
    }

    #container-body #body #dtmf .dtmf-row button{
        margin-left:5px;
        margin-right:5px;
    }

    #container-body .body-iframe{
        top:0;
        bottom:0;
    }

    #body #videoSessionSmall{
        max-width:50px;
        max-height:50px;
    }

}

.error {
    position: initial;
    text-align: center;
}

#container-body > .error {
    position: initial;
    text-align: center;
    padding: 10px;
    font-size: 22px;
}

.alert-danger {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: #ffffff;
    border-radius: 23px;
}

.alert {
    display: none;
    font-size: 15px;
    border: 3px solid transparent;
}

input.invalid, textarea.invalid {
    border: 2px solid #e74c3c;
}

#body-config .config-row select, #body-config input {
    position: relative;
    width: 99%;
    height: 30px;
}

.config-row {
    width: 100%;
    padding-top: 5px;
}

#container-body-storage-api {
    display: none; 
    flex-direction: column;
    align-items: center;
}

#container-body-storage-api #storage-api-request-access {
    background-color: #2e7bcc;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px !important;
    border-radius: 0;
    min-height: 28px;
    min-width: 56px;
    line-height: normal;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
    text-overflow: ellipsis;
    touch-action: manipulation;
    font-size: inherit;
    cursor: pointer;
}

#container-body-storage-api h3 {
    text-transform: none; 
    font-weight: bold; 
    font-size: 24px;
}