.chat-col{
    right: -100vw;
    bottom: 0;
    top: 40.5px;
    z-index: 1000;
    position: fixed;
    color: #fff;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 40px;
    padding-top: 15px;
    min-height: 100vh;
    border-radius: 4px;
    border: 1px solid #BEE3FC;
}

.chat-col.chat-opened {
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease !important;
    -webkit-transition: all 0.3s ease !important;
    -moz-transition: all 0.3s ease !important;
}

#chat-messages{
    height: 75vh;
    margin-bottom: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}

#chat-messages::-webkit-scrollbar {
    width: 0px;  /* remove scrollbar space */
    background: transparent;
}

.chat-box{
    bottom: 30px;
    right: 0;
    position: absolute;
    border: 0;
    border-top: 1px groove white;
    border-left: 1px groove white;
    font-size: small;
}

.chat-box::placeholder{
    font-size: small;
    font-weight: lighter;
    font-style: italic;
}

.chat-box,
.chat-box:focus{
    resize: none !important;
    box-shadow: none !important;
}

.chat-row{
    height: 100%;
    overflow-x: scroll;
}

.main{
    padding-top: 40px;
}


.remote-video{
    width:100%;
    height:auto;
    max-height: 90vh;
}


.remote-video-controls{
    position:absolute;
    bottom: 0;
    background-color:rgba(0, 0, 0, 0.5);
    z-index:300000;
    padding: 10px;
    width: 100%;
    text-align: center;
    visibility: hidden;
    padding-left: 41px;
}


.remote-video:hover + .remote-video-controls,
.remote-video-controls:hover{
    visibility: visible;
}


.local-video{
    bottom: 0;
    left: 0;
    position: fixed;
    width:30vw;
}


.mirror-mode{
    -ms-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}


.sender-info{
    font-size: smaller;
    margin-top: 5px;
    align-self: flex-end;
}


.msg{
    font-weight: 400;
    font-size: 12px;
    color: black;
    background-color: wheat;
}


.chat-card{
    border-radius: 10px;
}


.btn-no-effect:focus{
    box-shadow: none;
}

.very-small{
    font-size: 6px !important;
}


#close-single-peer-btn {
    position: fixed;
    top: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    border-radius: 0%;
    z-index: 100;
}


.pointer{
    cursor: pointer;
}


.record-option{
    height: 200px;
    border-radius: 10%;
    border: 1px solid #17a2b8;
    cursor: pointer;
    padding: 10px;
    vertical-align: middle;
}


.custom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}


.custom-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #17a2b8;
    width: 80%;
}


@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}


@media only screen and (max-width:767px){
    .chat-col{
        right: -100vw;
        width: 100vw;
        z-index: 99999;
        transition: 0.3s;
        top: 47px;	
    }

    .chat-opened::-webkit-scrollbar {
        display: none;
    }

    #chat-messages{
        height: 65vh;
    }

    .chat-box{
        bottom: 90px;
        margin-bottom: 0px;
    }

    .card-sm{
        max-width: 100%;
        min-width: 50%;
    }


    .local-video{
        width:40vw;
    }
}


@media (min-width:768px){
    .card{
        width: 50%;
        z-index: 1000;
    }
}

.main {
    padding: 0px;
}
.main .mt-2,.main .my-2 {
    /* margin-top: 0rem!important; */
    margin-top: 8rem!important;
}
.card {
    /* width: 100%!important; */
    background: #fff;
}

.room-comm {
    margin: auto;
}
.chat-col {
    color: #000;
    background: #fff!important;
    top: 0px;    
    padding-bottom: 0px;
    z-index: 1050
}
.chat-box {
    bottom: 10px;
    background-color: #f1f1f4;
    font-size: 1.3em;
    position: unset;
    width: 96%;
    right: 2%;
    position: absolute;
}
#chat-pane .h2.mb-3 {
    font-size: 1.2em;
    margin-top: 10px;
}
.fixed-bottom {
    bottom: 1%;
}
.form-control:focus {
    color: #495057;
    background-color: #f1f1f4;
}
.msg {
    font-size: 14px;
    background-color: #f2f6f9;
}
#chat-messages .row {
    margin-right: 0;
    margin-left: 0;
}
#chat-messages .bg-white {
    background-color: #dbf4fd!important;
}
.justify-content-start .chat-card {
    border-bottom-left-radius: 0;
}
.justify-content-end .chat-card {
    border-bottom-right-radius: 0;
}
#chat-messages .justify-content-end .bg-white {
    background: rgba(65, 184, 162, 0.24) !important;
    border: none;
    padding: 5px 10px;
}
#chat-messages .justify-content-start .msg {
    background: #F1F2F5 !important;
    border: none;
    padding: 5px 10px;
}
.remote-video-controls i {
    cursor: pointer
}
.local-video {
    bottom: 90px;
    z-index: 1001;
    left: 15px;
    width: 20vw;
}

.finalizar a i {
    color: #EF3838;
}
.opcao-extra {
    position: absolute;
    top: 10px;
    left: 0px;
    z-index: 1040;    
    text-align: center;
    margin-left: 15px;
}
.btn-contorno {
    border: 1px solid #BEE3FC;
    box-sizing: border-box;
    border-radius: 4px;
    background: #fff;
    margin-top: 6px;
}
.btn-contorno:hover {
    background: #EBF7FE;
}
.btn-contorno span {
    font-weight: 500;
    font-family: roboto, sans-serif;
    margin-left: 10px;
    color: #000;
}
#local-name,
#remote-name {
    background: #8897a5;
    border-radius: 4px;
    padding: 8px;
    color: #fff;
    font-size: 14px;
}
.box-local-nome #local-name {
    border-bottom-left-radius: 0;
}
.box-local-nome {
    position: absolute;
    z-index: 1040;
    bottom: 105px;
    left:25px
}
.box-nome {
    position: absolute;
    z-index: 1040;        
}
#main-section .box-nome{
   bottom:65px;
    width:100%;
    text-align:center;
}
.desabilitado {
    background: #EF3838;
    color: #fff;
}
.desabilitado span {
    color:#fff;
}
.desabilitado:hover {
    background:#EF3838;
    color: #fff;
    opacity: .8;
}
.desabilitado:hover span {
    color: #fff;
}
#menu-top {
    box-shadow: 0px 1px 4px rgba(6, 12, 28, 0.12);
    display:none;
}
.menu-top-on #menu-top {
	display:inline-flex;
}
.menu-top-on .opcao-extra {
    position: absolute;
    top: 60px;
}
.menu-top-on .remote-video {
    margin-top: 60px;
    max-height:78vh;
}
.remote-video-controls .mute-remote-mic {
    visibility:hidden;
}
.container-fluid.room-comm {
    width: 90%;
}
#bt-fechar-chat {
	position:absolute;
	right:20px;
	top:5px;
}
.chat-box {
	position:unset;
	margin-left:15px
}
#bt-enviar-chat {
    background: #3AAF9A;
    color: #fff;
    border-radius: 22px;
    width: 44px;
    text-align: center;
    height: 44px;
    border: none;
    margin-top: 6px;
    font-size: 1.3em;
}
@media only screen and (max-width:767px){
    .chat-col {
        min-height: 100vh;
        bottom: 150px;
	z-index:2001;
	left:0;
    }
    .box-nome {    
        bottom: 25px;
    }
    .local-video,
    .remote-video {
	width: 100%;
   	height: auto;
	max-height: 45vh;
    }
    .local-video {
	    left:0
    } 
    .btn-contorno span {
        display: none;
    }
    .fixed-bottom {	    
        bottom: 3%;
    }
    .box-local-nome  {
       width: 100%;
       text-align: center;
       left: initial;
    }
    #main-section .box-nome {
        width: 100%;
        text-align: center;
        bottom:25px
    }
    .btn-sm {
        width: 40px;
	height:40px;
        font-size: 1.3rem;
    } 
    .navbar .btn-contorno {	   
	    margin-right:5px
    }
    .menu-top-on .local-video,    
    .menu-top-on .remote-video {
        max-height:35vh
    }
}
#notfound .btn-contorno.finalizar {
    width: auto;
}
#notfound .btn-contorno.finalizar span {
    display: block;
}
