body, html {
    background-color: gray;
    height: 100%;
}

#videos {
    position: relative;
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

#subscriber {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

#publisher {
    position: absolute;
    width: 25% !important;
    height: 30% !important;
    top: 10px;
    right: 10px;
    z-index: 100;
    border: 3px solid white;
    border-radius: 3px;
}
@media only screen and (min-width: 900px) {
    #publisher {
        width: 35%;
        height: 500px;
    }
}

.btn-call-option{
    position: absolute;
    z-index: 9999;
    border-radius: 30px;
    padding: 12px;
}

.btn-close-video{
    right: 10px;
    bottom: 3rem;
    background-color: #e71e27;
}

.btn-disable-cam{
right: 10px;
bottom: 24rem;
    background-color: #42D5E3;
    border: none;
}

.btn-disable-mic{
bottom: 10rem;
    right:10px;
    border: 1px solid #198754;
    background-color: #198754;
}

.btn-switch-cam{
right: 10px;
bottom: 17rem;
    background-color: #FF866A;
    border:none;
}

.btn-disable-chat{
    right: 10px;
    bottom: 31rem;
    background-color: #FFD967;
    border: none;
}
.rear-cam{
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.notification:after{
    content: '!';
    color: white;
    top: -4px;
    left: -4px;
    font-size: 12px;
    padding: 2px;
    border-radius: 50%;
    background-color: red;
    position: absolute;
    width: 20px;
}

* {
    box-sizing: border-box;
}



.chat_window {
    z-index: 100;
    position: absolute;
    width: 440px;
    max-width: 500px;
    border-radius: 10px;
    left: 10px;
    bottom: 79px;
    box-shadow: 0 10px 20px rgb(0 0 0 / 15%);
    background-color: #f8f8f8;
    max-height: 550px;
    transition: all .3s;

}

.hidden{
    display: none;
}

.top_menu {
    top: 0;
    background-color: #fff;
    width: 100%;
    padding: 20px 0 15px;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
}
.top_menu .buttons {
    margin: 3px 0 0 20px;
    position: absolute;
}
.top_menu .buttons .button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    position: relative;
}
.top_menu .buttons .button.close {
    background-color: red;
    opacity: .4 !important;
}

.top_menu .title {
    text-align: center;
    color: #bcbdc0;
    font-size: 20px;
}

.messages {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 30px 0 ;
    overflow: scroll;
    height: 500px;
}

.messages .message {
    clear: both;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.5s linear;
    opacity: 0;
}
.messages .message.left .avatar {
    background-color: #f5886e;
    float: left;
}
.messages .message.left .text_wrapper {
    background-color: #ffe6cb;
    margin-left: 20px;
}
.messages .message.left .text_wrapper::after, .messages .message.left .text_wrapper::before {
    right: 100%;
    border-right-color: #ffe6cb;
}
.messages .message.left .text {
    color: #c48843;
}
.messages .message.right .avatar {
    background-color: #fdbf68;
    float: right;
}
.messages .message.right .text_wrapper {
    background-color: #c7eafc;
    margin-right: 20px;
    float: right;
}
.messages .message.right .text_wrapper::after, .messages .message.right .text_wrapper::before {
    left: 100%;
    border-left-color: #c7eafc;
}
.messages .message.right .text {
    color: #45829b;
}
.messages .message.appeared {
    opacity: 1;
}
.messages .message .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-block;
}
.messages .message .text_wrapper {
    display: inline-block;
    padding: 20px;
    border-radius: 6px;
    width: calc(100% - 85px);
    min-width: 100px;
    position: relative;
}
.messages .message .text_wrapper::after, .messages .message .text_wrapper:before {
    top: 18px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.messages .message .text_wrapper::after {
    border-width: 13px;
    margin-top: 0px;
}
.messages .message .text_wrapper::before {
    border-width: 15px;
    margin-top: -2px;
}
.messages .message .text_wrapper .text {
    font-size: 18px;
    font-weight: 300;
}

.bottom_wrapper {
    position: relative;
    width: 100%;
    background-color: #fff;
    padding: 18px 20px;
    margin-top: -25px;
}

.bottom_wrapper .message_input_wrapper {
    display: inline-block;
    height: 50px;
    border-radius: 25px;
    border: 1px solid #bcbdc0;
    width: calc(100% - 160px);
    position: relative;
    padding: 0 20px;
}
.bottom_wrapper .message_input_wrapper .message_input {
    border: none;
    height: 100%;
    box-sizing: border-box;
    width: calc(100% - 40px);
    position: absolute;
    outline-width: 0;
    color: gray;
}
.bottom_wrapper .send_message {
    width: 140px;
    height: 50px;
    display: inline-block;
    border-radius: 50px;
    background-color: #a3d063;
    border: 2px solid #a3d063;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s linear;
    text-align: center;
    float: right;
}
.bottom_wrapper .send_message:hover {
    color: #a3d063;
    background-color: #fff;
}
.bottom_wrapper .send_message .text {
    font-size: 18px;
    font-weight: 300;
    display: inline-block;
    line-height: 48px;
}

.message_template {
    display: none;
}

.min-img{
    margin: auto;
    width: 20px;
    height: 20px;
}

.send-btn{
    position: absolute;
    height: 50px;
    padding: 10px 30px;
    margin-left: 20px;
    border: none;
    font-size: large;
    background-color: #18A8AA;
    color: #FAFAFAFA;
    font-weight: 800;
    border-radius: 0px;
    right: 15px;
    bottom: 20px;
}

.send-btn:hover{
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

.send-btn:active,.send-btn:focus{
    outline: none;
    border: none;

}

.attachment{
    position: absolute;
    right: 131px;
    top: 35px;
}

.right-img{
    float: right;
}

.left-img{
    float: left;
}
.file{
border: none;
background-color: #45a9aa;
padding: 10px;
color: white;
}
.file:focus {
    outline: none;
 outline-offset: 0;
}
.file:hover {
    color: white;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;

}

.modal-record{
    position: fixed;
    top: 10%;
    right: 3%;
    left: 3%;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    background-color: aliceblue;
    padding: 15px;
}
@media (min-width: 768px) {
    .modal-record{
        right: 30%;
        left: 30%;
    }
}



.record-body{
    margin-top: 35px;
}

.w-47{
    width: 47%;
}

.record-body .btn{
    padding: 15px 45px;
}

.file span{
    margin-left: 5px;
}

.icon{
    font-size: 18px;
    margin-right: 10px;
    cursor: pointer;
}

@media screen and (max-width:450px) {

.chat_window {
    z-index: 10000;
    position: absolute;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    left: 0;
    bottom: 20px;
    box-shadow: 0 10px 20px rgb(0 0 0 / 15%);
    background-color: #f8f8f8;
    height: 90%;
    max-height: 100%;
    transition: all .3s;

}
#publisher {
    position: absolute;
    width: 95% !important;
    height: 30% !important;
    top: 10px;
    right: 10px;
    z-index: 100;
    border: 3px solid white;
    border-radius:  3px;
}


.messages {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 30px 0;
    overflow: scroll;
    height: 84%;
}

}



/*Conference Create Page*/



