﻿

.frameright {
    display: block;
    height: 100%;
    background: #f6f6f6;
    z-index: 9999;
    box-shadow: #626262 2px 1px 10px 2px;
    padding: 0px;
}

.online .frameleft {
    width: calc(100% - 372px);
}

.frameright-cliente {
    top: 0;
    right: 0;
    width: 372px;
    display: block;
    height: 100%;
    background: #f6f6f6;
    position: fixed;
    z-index: 9999;
    bottom: 0;
    box-shadow: #626262 2px 1px 10px 2px;
}

.chat-main-footer {
    position: absolute;
    left: 0px;
    width: auto;
    right: 0;
    bottom:-25px;
}

.navbar {
    min-height: 50px;
    border-radius: 0;
    position: relative !important;
    margin-bottom: -50px !important;
}


section.frameright .content_right {
    padding: 20px
}

.frameleft {
    top: 80px;
   /* width: calc(100% - 372px);
    background: #f6f6f6;*/
   width:100%;
    z-index: 9999;
    display: table;
    height: calc(100% - 80px);
}

.m-20 {
    margin: 10px 0
}

.m-40 {
    margin: 40px 0
}

.m-t-20 {
    margin-top: 20px
}

.m-b-20 {
    margin-top: 20px
}

a#Colgar:hover {
    cursor: pointer;
    transform: scale(1.2);
    -webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
    color: #3f51b5;
}

a.download-file:hover span {
    text-decoration: underline;
}

a.download-file {
    cursor: pointer;
    color: white !important;
}

    a.download-file i {
        float: left;
        width: 40px;
        font-size: 40px;
    }

        a.download-file i.fa {
            font-size: 35px;
        }

    a.download-file span {
        float: right;
        width: calc(100% - 40px);
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    a.download-file .filesize {
        margin-top: 4px;
        font-size: 11px;
        color: #adb5bd;
    }

.flex-row-reverse a.download-file {
    color: black !important;
}
/*.flex-row-reverse a.download-file .filesize {
    color: white;
}*/


/*.flex-row-reverse a {
    color: white;
}*/




/*Nuevas columnas y realineamientros*/

.form-inline label {
    display: block;
    float: left;
}

.input-group-append2 {
    margin-left: -17px;
}

.card-title {
    margin-right: 15px;
    font-size: 16px !important;
}


/*responsive*/
.chat-item .bubble {
    width: 100%;
}





.tivizquierda {
    background-color: #f2f2f2 !important;
    border-right: 1px solid #f2f2f2 !important;
    padding: 15px !important;
    overflow: scroll;
}

    .tivizquierda header img,
    .tivizquierda header h1 {
        display: block;
        float: left;
        margin-right: 20px;
    }

    .tivizquierda header span {
        display: block;
        float: right;
        width: 83%;
        height: 30px;
        text-align: right;
        border-bottom: 1px solid #fff;
        font-weight: bold;
    }

        .tivizquierda header span img {
            display: block;
            float: right;
            text-align: right;
            margin-left: 10px;
        }

    .tivizquierda h1 {
        color: #6b7887;
        margin-top: 15px;
    }

.body_box_sala {
    float: left;
    width: 100%;
    margin-bottom: 10px !important;
}

ul#bottom-navigation-label {
    list-style: none;
}

.btn_navegacion {
    display: block;
    background-color: #f54545;
    border-radius: 20px;
    color: #fff;
    font-size: 16px;
    padding: 10px 10px;
    float: right;
    font-weight: bold;
}

.btn_compartir {
    display: block;
    background-color: #4a90e2 !important;
    border-radius: 20px;
    color: #fff;
    font-size: 16px;
    padding: 5px 20px;
    float: right;
    font-weight: bold;
    margin-top: 12px;
}

.tivizquierda select {
    background-color: #fff !important;
    border-radius: 15px !important;
    border: 1px solid #dddddd !important;
    color: #000;
    padding: 8px 30px 8px 12px !important;
}

.pincliente input {
    position: relative;
    background-color: #fff !important;
    border-radius: 15px !important;
    border: 1px solid #dddddd !important;
    color: #000;
    padding: 8px 30px 8px 12px !important;
}

button#Conectar {
    position: absolute;
    background-color: transparent;
    top: 5px;
    right: 10% !important;
}

#Visor .body_box_sala .gx-card-body {
    text-align: center;
    background-color: lightgrey;
    height: 100%;
    display: block;
    min-height: 370px !important;
}




.tivderecha {
    background-color: #ffff !important;
}

    .tivderecha .chat-main-footer {
        position: absolute;
        left: 0px;
        width: auto;
        right: 0;
        border-top: solid 0px #e9ecef;
        padding-bottom: 0px;
        bottom: 8%;
        border: 1px solid #ccc;
        border-radius: 15px 15px 0px 15px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        margin: 0px 15px;
        height: 90px;
    }

.chat_tiv textarea {
    display: block;
    position: relative;
    font-size: 13px;
    color: #000;
    resize: none;
    border-radius: 15px;
    padding-top: 0px;
    padding: 0px 10px;
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: transparent;
    background-image: none;
    border: 0px solid #ccc;
    border-radius: 4px;
    /* -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075); */
    box-shadow: inset 0 0px 0px rgba(0,0,0,.075);
    /* -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s; */
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    /* transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; */
    margin-bottom: 40px;
}

    .chat_tiv textarea.form-control {
        /* height:100px; */
    }

.chat_tiv #bntChatMessage {
    position: absolute;
    bottom: 50px;
    right: 3%;
}
.chat_tiv #bntChatMessage img{
    width:98%;
}

.chat_tiv #btnChatfileUpload {
    position: absolute;
    bottom: 50px;
    right: 15%;
    z-index: 99999 !important;
}

::placeholder {
    color: #000 !important;
    font-size: 13px !important;
}




.sala_tiv .contenedor {
    overflow: hidden !important;
}

.sala_tiv {
    margin-top: 97px !important;
}
/* 
.tivizquierda, .tivderecha {
    padding-bottom: 32767px !important;
    margin-bottom: -32767px !important;
}
 */

.tivderecha .nav-pills > li.active > a,
.tivderecha .nav-pills > li > a:hover {
    background-color: #fff !important;
    border-radius: 0px !important;
    color: #4a90e2 !important;
    margin: 0px;
    padding: 6px 20px;
    line-height: 1.6;
    font-size: 14px !important;
    border-bottom: 2px solid #4a90e2 !important;
}

.tivderecha .nav-pills > li {
    margin-left: 0px !important;
    border-top: 1px solid #f2f2f2 !important;
    border-right: 1px solid #f2f2f2 !important;
    border-bottom: 1px solid #f2f2f2 !important;
}

.tivderecha .nav > li > a {
    padding: 8px 15px;
    color: #000 !important;
}

.chat-main-header {
    border-bottom: solid 0px #e9ecef !important;
    max-height: 280px !important;
    height: 280px !important;
}

.block_txtcam .tab-content {
    margin-top: 20px;
    height: 100%;
}

    .block_txtcam .tab-content textarea {
        display: block;
        width: 100%;
        height: 290px;
        padding: 20px 20px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555;
        background-color: #fff;
        background-image: none;
        margin: 14px;
        display: block;
        max-width: 93%;
        border: 1px solid #ccc;
        border-radius: 15px 15px 0px 15px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        resize: none;
    }


.chat-item {
    padding: 10px 15px;
}

    .chat-item.flex-row-reverse .bubble {
        padding: 12px 12px;
        background-color: #fff !important;
        color: #000 !important;
        border-radius: 10px 10px 10px 10px;
        -webkit-box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.2);
        -moz-box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.2);
        box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.2);
        position: relative;
        margin-left: 0px;
        max-width: 70%;
        margin-left: 0px;
        width: 70%;
        max-width: 70%;
        float: left;
        margin: 10px 0px 0px 0px;
    }




.chat-list-scroll {
    max-height: 250px !important;
}

.chat-item .user-avatar {
    -webkit-align-self: flex-end;
    -ms-flex-align: end;
    align-self: flex-end;
    display: none;
}






.id_agente .bubble {
    float: left !important;
    margin-right: 16px;
    margin-left: 0;
    background-color: #4a90e2 !important;
    color: #fff;
    padding: 12px 12px !important;
    border-radius: 10px 10px 10px 10px !important;
    -webkit-box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.2) !important;
    -moz-box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.2) !important;
    box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.2) !important;
    float: right !important;
    margin: 6px 0px 6px 0px !important;
    max-width: 70% !important;
}

.id_agente .message {
    font-size: 13px;
    color: #fff;
    padding: 1px;
}

.id_agente .time {
    color: #fff;
    margin-top: 4px;
    font-size: 12px;
    float: right;
    display: block;
    position: absolute;
    right: 0px;
    bottom: 3px;
    text-align: right;
    font-weight: normal !important;
}


.id_agente .chat-item.flex-row-reverse .bubble {
    float: left !important;
    margin-right: 16px;
    margin-left: 0;
    background-color: #fff !important;
    color: #fff;
    padding: 12px 12px !important;
    border-radius: 10px 10px 10px 10px !important;
    -webkit-box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.4) !important;
    -moz-box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.4) !important;
    box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.4) !important;
    margin: 6px 0px 6px 0px !important;
    max-width: 70% !important;
}

.id_agente .chat-item.flex-row-reverse .message {
    font-size: 13px;
    color: #000;
    padding: 1px;
    padding-right: 60px;
    word-break: break-all;
}

.id_agente .chat-item.flex-row-reverse .time {
    color: #000;
    margin-top: 4px;
    font-size: 12px;
    float: right;
    display: block;
    position: absolute;
    right: 0px;
    bottom: 3px;
    text-align: right;
    font-weight: normal !important;
}



.frameright-cliente .chat-list-scroll {
    height: calc(100% - 350px) !important;
    max-height: calc(100% - 350px) !important;
}

.id_cliente .bubble {
    float: left !important;
    margin-right: 16px;
    margin-left: 0;
    background-color: #f2f2f2 !important;
    color: #333;
    padding: 12px 12px !important;
    border-radius: 5px !important;
    /* -webkit-box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.2) !important; */
    -moz-box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.2) !important;
    /* box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.2) !important; */
    float: right !important;
    margin: 10px 0px !important;
    width: auto !important;
    min-width: 50%;
    clear: both;
}

.id_cliente .message {
    font-size: 13px;
    padding: 1px;
    padding-right: 60px;
    word-break: break-all!important;
}

.id_cliente .time {
    margin-top: 4px;
    font-size: 12px;
    float: right;
    display: block;
    position: absolute;
    right: 5px;
    bottom: 3px;
    text-align: right;
    font-weight: normal !important;
}


.id_cliente .chat-item.flex-row-reverse .bubble {
    float: left!important;
    margin-right: 16px;
    margin-left: 0;
    background-color: #ff6600 !important;
    color: #fff !important;
    padding: 12px 12px !important;
    border-radius: 5px !important;
    -webkit-box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.4) !important;
    -moz-box-shadow: 0px 0px 22px -3px rgba(0,0,0,0.4) !important;
    box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.4) !important;
    margin: 6px 0px 6px 0px !important;
    width: auto !important;
    min-width: 50%;
    clear: both;
}

.id_cliente.chat-item.flex-row-reverse .message {
    font-size: 13px;
    color: #000;
    padding: 10px;
}

.id_cliente .chat-item.flex-row-reverse .time {
    color: #fff;
    margin-top: 4px;
    font-size: 12px;
    float: right;
    display: block;
    position: absolute;
    right: 5px;
    bottom: 3px;
    text-align: right;
    font-weight: normal !important;
}

#imgDiv img {
    position: absolute;
    top: 80px;
    left: 0px;
    min-height: 100%;
    min-width: 100%;
    width: initial !important;
    height: initial !important;
    opacity: 1 !important;
    z-index: -1000;
    overflow: hidden;
    margin-left: 50%;
    transform: translateX(-50%) translateY(-40%);
    margin-top: calc(80px + 10%);
}

.online #imgDiv img {
    top: 0;
    transform: translateX(-50%) translateY(0);
    margin-top: 0;
}

@media (max-width: 767px) {
    #conectar {
        position: relative !important;
        float: right;
        top: 0px;
        margin-top: -34px;
    }

    #PinCliente {
        width: 60% !important;
        max-width: 60% !important;
    }

    .frameright {
        display: block;
        height: 100%;
        background: #f6f6f6;
        z-index: 9999;
        box-shadow: #626262 2px 1px 10px 2px;
        padding: 0px;
        float: left;
    }
}


html, body, #index, .contenedor, .sala-tiv-content, .sala_tiv, .contenedor, .container-fluid, .tivizquierda, .tivderecha {
    height: 100% !important;
}

.only_llamadas .barra_hilo {
    display: block;
    float: left;
    border-top: 1px solid #f2f2f2;
    color: #212529;
    padding: 0px 0px 0px 5px !important;
    /* -webkit-box-shadow: 3px 9px 9px 3px rgba(0,0,0,0.12); */
    -moz-box-shadow: 0px 0px 0px 00px rgba(0,0,0,0.12);
    /* box-shadow: 3px 9px 9px 3px rgba(0,0,0,0.12); */
    /* max-height: 47px; */
}


@media (min-width: 1140px) and (max-width: 1440px) {
    .col-especial-2 {
        width: 20% !important;
    }

    .button#Conectar {
        top: 26px !important;
        right: 55px !important;
    }

    #NombreCliente {
        display: block !important;
        float: right;
    }

    .block_txtcam .tab-content textarea {
        height: 260px !important;
    }
}


.sala_tiv video#localVideo {
    position: relative !important;
    top: -353px !important;
    min-height: 350px !important;
    height: 350px !important;
}


