.btn-danger {
    background: #d12c2f;
}

.msg-server div span {
    color: #808080;
    padding: 5px;
    word-wrap: break-word;
    max-width: 100%;
}


/************************* LOCAL ***********************************/

.msg-local div div div {
    color: white;
    background: #d9534f;
    padding: 4px;
    display: inline-block;
}

.msg-local div div div a {
    color: white;
    background: #d9534f;
}

.msg-local div div div span {
    word-wrap: break-word;
    max-width: 100%;
    padding-left: 2px;
    padding-right: 2px;
}

.msg-local>div,
.msg-remote>div {
    margin-top: 2px;
}

.msg-local>div:first-child,
.msg-remote>div:first-child {
    margin-top: 5px;
}

.msg-local>div:nth-child(2) div div {
    border-top-right-radius: 10px;
}

.msg-local>div div div {
    /* medio */
    border-radius: 10px 3px 3px 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.msg-local>div:last-child div div {
    border-bottom-right-radius: 10px;
}


/* Se removio ya que ocultaba los mensajes anteriores, enviados por un agente by Rafael G*/


/*.msg-local > div div div p, .msg-remote > div div div p{
 visibility: hidden;
}*/

.msg-local>div:last-child div div p,
.msg-remote>div:last-child div div p {
    visibility: visible;
}


/************************ REMOTE *********************/

.msg-remote div div div {
    color: black;
    background: rgb(194, 193, 193);
    padding: 4px;
    display: inline-block;
}

.msg-remote div div div {
    color: black;
    background: rgb(218, 217, 217);
    padding: 4px;
    display: inline-block;
    word-wrap: break-word;
    max-width: 100%;
    padding-left: 2px;
    padding-right: 2px;
}

.msg-remote>div:last-child div div {
    border-bottom-left-radius: 10px;
}

.msg-remote div:nth-child(2) div div {
    border-top-left-radius: 10px;
}

.msg-remote>div div div {
    /* medio */
    border-radius: 3px 10px 10px 3px;
    padding-left: 10px;
    padding-right: 10px;
}

.only-child {
    border-radius: 10px 10px 10px 10px !important;
}

.check {
    font-size: 0.6em;
    margin-bottom: 0px;
    display: inline;
    padding-left: 2px;
}

.check-remote {
    color: grey;
}

#panel-data-input,
#panel-out-of-service {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 20px;
}

button.btn-round {
    height: 60px;
    width: 60px;
    border-radius: 100%;
    /*font-size: 36px;*/
    font-size: 33px;
}

.btn-info-pressed {
    background-color: #31b0d5;
    color: white !important;
}

.btn-default-pressed {
    background-color: #424242;
    color: white !important;
}

.btn-back {
    background-color: white;
}

.header {
    z-index: 999;
    position: fixed;
    height: 70px;
    top: 0;
    width: 100%;
    background-color: #ef3829;
    line-height: 50px;
    background-image: url("../img/logo-claro-blanco.svg");
    background-repeat: no-repeat;
    background-size: 8% auto;
    background-position-x: 1%;
}

div.content {
    margin-top: 50px;
    margin-bottom: 51px;
    padding-top: 5px;
    padding-bottom: 25px;
    /*background: url("../images/Mitrol%20Bird__.png") no-repeat fixed center;*/
}


/* Estilos para navegadores Firefox */

@-moz-document url-prefix() {
    .form-control {
        height: auto !important;
        padding: 7px 10px !important;
    }
}

.full-screen-container {
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.screen-middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.w100 {
    width: 100%;
}

p.texto-recibido {
    margin: 0;
}

#chat-partners {
    font-weight: bold;
    font-size: 2rem;
    margin: 0 1rem;
}

.typing-status img {
    height: 3em;
    z-index: 9999;
    margin: 0 1rem;
}

.chat-layout {
    display: flex;
    height: 100vh;
    width: 100%;
    padding-top: 70px;
    overflow: hidden;
}

.chat-layout.video-chat-enabled #video-container {
    width: 50%;
    height: 100%;
}

.chat-layout.video-chat-enabled .chat-bubble {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: calc(70% - 80px);
}

.chat-layout.video-chat-enabled #video-container {
    position: relative;
}

.chat-layout.video-chat-enabled #video-container [id^="remote-video"] {
    max-height: 100%;
    max-width: 100%;
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
    display: block;
}

.chat-layout.video-chat-enabled #video-container [id^="local-video"] {
    position: absolute;
    max-height: 30%;
    max-width: 100%;
    left: 150%;
    top: 0;
    transform: translate(-50%, 0);
    display: block;
}

.chat-bubble {
    width: 100%;
    background-color: #FFF;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #ced4da;
}

.chat-bubble .footer {
    height: 50px;
    width: 100%;
    background-color: #eeeeee;
    padding: 1rem;
}

.chat-bubble .contenedor-chat {
    overflow-y: auto;
    overflow-X: hidden;
    padding: 0 .5rem;
    height: 100%;
}

@media only screen and (max-width: 600px) {
    .chat-layout {
        flex-direction: row;
    }
    .chat-layout.video-chat-enabled .chat-bubble {
        width: 100%;
    }
    .chat-layout.video-chat-enabled #video-container [id^="remote-video"] {
        max-height: 30%;
        top: 0;
        left: 0;
        transform: none;
    }
}