/* all sites include this */


@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');

.roya-telemed {
    font-family: sans-serif;
}

.roya-telemed-container {
    position: relative;
    width: 95%;
    max-width: 1300px;
    border-radius: 20px;
    /*height: 895px;*/
    height:650px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
}

.roya-telemed-btn {
    background-color: #1ba414;
    color: #fff;
    padding: 0 25px;
    height: 55px;
    line-height: 55px;
    display: inline-block;
    border-radius: 50px;
    text-decoration: none;
}

.roya-telemed-btn:hover {
    color: #fff;
    background-color: #ff017d;
}

.roya-telemed-btn .fa {
    margin-right: 5px;
}

.roya-telemed-btn.red {
    background-color: #a41422;
}

.roya-telemed-consent {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: all .5s;
    z-index: 10;
}

.roya-telemed-consent.show {
    opacity: 1;
    z-index: 20;
}

.roya-telemed-consent .roya-telemed-btn {
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    cursor: pointer
}

.roya-telemed-consent:before {
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    content: '';
}

.roya-telemed-consent .get-consent {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 595px;
}

.roya-telemed-consent .get-consent  ul.consent-list {
    list-style: none;
    line-height: 180%;
    margin: 0;
    padding: 0;
    border-bottom: 1px rgba(255, 255, 255, 0.3) solid;
    padding-bottom: 30px;
    margin-bottom: 30px;
    font-size: 18px;
}

.roya-telemed-consent .get-consent  ul.consent-list li {
    display: flex;
    align-items: center;
}

.roya-telemed-consent .get-consent  ul.consent-list li input[type="checkbox"] {
    margin: 0 !important;
}

.roya-telemed-consent .get-consent  ul.consent-list li label {
    color: #fff;
    margin-left: 8px;
}

/* active call */
.roya-waiting-room {
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    opacity: 0;
    transition: all .5s;
    display: flex;
    flex-wrap: wrap;
    z-index: 10;
}

.roya-waiting-room.show {
    opacity: 1;
    z-index: 20;
    display: flex !important
}

.roya-waiting-room .main-panel {
    width: 65%;
    height: 100%;
    background-color: #eee;
    position: relative;
}

.roya-waiting-room .main-panel .video-holder {
    height: 100%;
}

.roya-waiting-room .main-panel .video-holder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.roya-waiting-room .main-panel .toolbar {
    background-color: #232323;
    width: 100%;
    height: 10%;
    height: 138px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
}

.roya-waiting-room .main-panel .toolbar-buttons {
    padding-left: 55px;
}

.roya-waiting-room .main-panel .toolbar .roya-telemed-btn {
   /* margin-right: 20px;
    width: 65px;
    height: 65px;
    line-height: 65px;
    border-radius: 50%;
    padding: 0;
    */
    cursor:pointer;
    text-align: center;
    font-size: 25px;
    position: relative;
    background-color: transparent;
    border: 1px #fff solid;
    opacity: 0.5;
    transition: all .5s;
}

.roya-waiting-room .main-panel .toolbar .roya-telemed-btn.active {
    background-color: #1ba414;
    border-color: transparent;
    opacity: 1;
}

.roya-waiting-room .main-panel .toolbar .roya-telemed-btn.active.red {
    background-color: #a41422;
}



.roya-waiting-room .main-panel .toolbar .roya-telemed-btn .fa {
    margin-right: 0;
}



/*.roya-waiting-room .main-panel .toolbar .roya-telemed-btn.icon-hangup .fa {
    transform: scaleX(-1);
}*/


.roya-waiting-room .side-panel {
    width: 35%;
    height: 100%;
    position: relative;
}

.roya-waiting-room .side-panel-container {
    max-width: 360px;
    width: 80%;
    margin: auto;
    padding: 40px 0;
    height: 100%;
}

.roya-waiting-room .side-panel .video-holder {
    border: 15px #fff solid;
    max-width: 300px;
    height: 300px;
    margin: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-bottom: 50px
}

.roya-waiting-room .side-panel .video-holder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #ccc;
}

.roya-waiting-room .side-panel .video-holder .controls {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.roya-waiting-room .side-panel .video-holder .control-buttons a {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
    /*border: 2px #464646 solid;*/
    border-radius: 50%;
    color: #464646;
    font-size: 12px;
    transition: all .5s;
    opacity: 0.5;
    position: relative;
}

.roya-waiting-room .side-panel .video-holder .control-buttons a:after {
    width: 3px;
    height: 65%;
    background-color: #464646;
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(35deg)
}

.roya-waiting-room .side-panel .video-holder .control-buttons a.active {
    background-color: #464646;
    color: #fff;
    opacity: 1;
}

.roya-waiting-room .side-panel .video-holder .control-buttons a.active:after {
    opacity: 0;
}


.roya-waiting-room .side-panel .chat-logs {
    /*height: 390px;*/
    height: 30%;
    overflow-y: auto;
}

.roya-waiting-room .side-panel .chat-logs ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.roya-waiting-room .side-panel .chat-logs ul li {
    padding: 10px;
    font-size: 17px;
    display: flex;

}


.roya-waiting-room .side-panel .chat-logs ul li span {
    font-weight: 700;
    min-width: 80px;
}

.roya-waiting-room .side-panel .chat-logs ul li:nth-child(odd) {
    background-color: #e6e6e6;
}


.roya-waiting-room .side-panel .chat-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px #dcdcdc solid;
    padding: 8px 8px 8px 30px;
    border-radius: 50px;
    margin-top: 30px;
}

.roya-waiting-room .side-panel .chat-input input[type="text"] {
    border: 0;
    font-size: 17px;
    width: 70%;
}

.roya-waiting-room .side-panel .chat-input input[type="text"]:focus {
    outline: none;
}

.roya-waiting-room .side-panel .chat-input input[type="text"]::placeholder {
    color: #232323;
}



.roya-waiting-room .side-panel .chat-input .roya-telemed-btn {
    height: 35px;
    line-height: 35px;
    border: 0;

}

@media(max-width: 991px) {
    .roya-telemed-container {
        height: auto;
    }
    .roya-telemed-consent.show {
        position: relative;
        height: 785px;
    }
    .roya-telemed-consent .get-consent ul.consent-list {
        font-size: 11px
    }
    .roya-waiting-room.show {
        position: relative;
        height: auto;
    }
    .roya-waiting-room .main-panel,
    .roya-waiting-room .side-panel {
        width: 100%;
        max-width: 100%;
    }
    .roya-waiting-room .main-panel .video-holder {
        height: 350px;
    }
    .roya-waiting-room .side-panel-container {
        width: 90%;
        max-width: 100%;
    }
    .roya-waiting-room .side-panel .chat-logs {
        height: auto;
    }
    .roya-waiting-room .main-panel .toolbar {
        height: 50px
    }
    .roya-waiting-room .main-panel .toolbar-buttons {
        padding-left: 20px;
    }
    .roya-waiting-room .main-panel .toolbar .roya-telemed-btn {
        height: 30px;
        line-height: 30px;
        margin-right: 10px;
        font-size: 15px;
    }
    .roya-waiting-room .side-panel .video-holder {
        width: 150px;
        height: 150px;
        border: 10px rgba(255, 255, 255, 0.1) solid;
        position: absolute;
        right: 0;
        top: -130px;
    }
    .roya-waiting-room .side-panel .video-holder .controls {
        height: 42px;
    }
    .roya-waiting-room .side-panel .video-holder .control-buttons a {
        height: 30px;
        width: 30px;
        line-height: 29px;
        font-size: 14px;
    }
    .roya-waiting-room .side-panel .chat-input input[type="text"] {
        font-size: 12px;
    }
}

@media (max-width: 414px) {
    .roya-telemed-consent.show {
        height: 425px;
    }
    .roya-telemed-consent .get-consent {
        bottom: 20px;
    }
    .roya-telemed-btn {
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }
    .roya-telemed-btn.icon-user:before {
        width: 10px;
        height: 12px;
        background-size: cover;
        margin-right: 10px;
    }
}