body, div, span, td, th{
    font-family: 'Gotham Pro';
    color: #124912;
    background-color: transparent;
    text-align: center;
    
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
body{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 10px 0 10px;
    text-align: center;
}

.pool{
    content: url(/img/background_hotel_pool.jpg);
    position: absolute;
    top: 0;
    height: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: -1;
    filter: blur(2px);
    -webkit-filter: blur(2px);
}

.logo{
    margin-top: 50px;
}

.logo img{
    width: 80px;
    height: 80px;
    content: url(/img/bb-logo.png);
} 

.modal{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
}
.modal .modal-button{
    margin: auto;
    width: 200px;
    height: 150px;
    position: relative;
    background-color: #124912;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    top: calc(30% + 50px);
}

.top-big-margin{
    margin-top: 50px;
}

.top-margin{
    margin-top: 10px;
}
.bottom-margin{
    margin-bottom: 10px;
}

.block{
    display: block;
    min-width: 300px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 30px 10px 30px;
    box-sizing: border-box;
    text-align: center;
}
.block-border{
    border: 1px solid #124912;
}
.login-block{
    margin-top: 60px;
    max-width: 400px !important;
}

.client-block{
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
    height: 69%;
}

.client-block img{
    display: block;
    width: 200px;
    content: url(/img/female_operator.png);
    margin-left: auto;
    margin-right: auto;
    
}
.client-block .block-bottom{
    position: absolute;
    bottom: 50px;
    width: 300px;
    left: 50%;
    transform: translate(-50%, 0);
}
.client-block .block-bottom .call{
    width: 80px;
    height: 80px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: url(/img/call-sign.png) no-repeat center;
    background-size: cover;
    margin-top: 50px;
    margin-bottom: 20px;
}
.client-block .block-bottom div{
    font-size: 20px;
    font-weight: bold;
}

.block .waiting{
    width: 150px;
    height: 150px;
    visibility: hidden;
}

.block h1{
    font-size: 24px;
    line-height: 26px;
    margin-bottom: 5px;
}
.block p{
    font-size: 18px;
    line-height: 26px; 
}

.block .line{
    display: block;
    width: 100%;
    padding: 10px 0 10px 0;
}
.block .error-message{
    text-align: center;
    color: red;
}
.block .line .col-1{
    display: inline-block;
    vertical-align: middle;
    width: 33%;
    text-align: right;
}
.block .line .col-2{
    display: inline-block;
    vertical-align: middle;
    width: 64%;
    text-align: left;
}

.block input{
    font-size: 16px;
    line-height: 20px;
    display: block;
    width: 100%;
}

.block button{
    background: #05442A;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    /*line-height: 26px;*/
    color: #FFFFFF;
    min-width: 120px;
    /*width: 204px;
    height: 61px;*/
    padding: 10px 20px 10px 20px;
    border: none;
    transition: box-shadow 0.8s;
    cursor: pointer;
    outline: none;
}

.video-block{
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /*background-color: rgba(0,0,0,1);*/
    background-color: rgba(1,1,1,1);
}

.video-block .remote-video-container{
    z-index: 101;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: auto;
    transform: none;
    background: #000;
}

.video-block .local-video-container{
    background: gray;
    z-index: 110;
    position: absolute;
    width: 100px;
    height: 140px;
    bottom: 80px;
    right: 10px;
    overflow: hidden;
}

.video-block .local-video,
.video-block .remote-video{
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
}

.video-block .local-video-container .video-poster-local,
.video-block .remote-video-container .video-poster-remote{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: #000 url(/img/logo.svg) no-repeat center;*/
    /*background-size: contain;*/
    background: #fff url(/img/bb-logo.png) no-repeat center;
    background-size: 30%;
}
.video-block .local-video-container .video-poster-local{
    background-color: #808080;
    z-index: 111;
}
.video-block .remote-video-container .video-poster-remote{
    z-index: 102;
}


.video-block .cancell-button{
    /*background: red;*/
    position: absolute;
    z-index: 102;
    width: 50px;
    height: 50px;
    bottom: 50px;
    border-radius: 50%;
    left: 50%;
    transform: translate(-50%, 0);
    background: url(/img/phone.png); 
    background-position: center;
    background-size: contain;
}

.console{
    display: none;
    position: fixed;
    height: 150px;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255, 0.7);
    color: blue;
    overflow-y: auto;
    z-index: 200;
}
.console p{
    margin: 0;
    font-size: 12px; 
    line-height: 12px;
    text-align: left;
}

@media (max-width: 520px) {
    .video-block .remote-video-container{
        /*
        right: auto;
        top: 0;
        height: 100%;
        position: absolute;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, 0);
        */
    }
    .video-block .remote-video{
        right: auto;
        top: 0;
        height: 100%;
        position: absolute;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, 0);
    }
    .video-block .local-video-container{
        position: absolute;
        margin: 0;
        transform: none;
        width: 20vw;
        height: 30vw;
        right: 5vw;
        bottom: 30vw;
        left: unset;
        overflow: hidden;
    }

}
