.chat_load {
    text-align: center;
}

.friend img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 2px 15px;
    float: none;
    display: inline-block;
}

.friend p {
    padding: 0;
    float: none;
    max-width: 155px;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

    .friend p strong {
        font-weight: 600;
        font-size: 12px;
        color: #495258;
        font-family: 'Oswald', sans-serif;
    }

.chzn-container-single .chzn-single {
    border: 0px;
    background-color: white;
    background-image: none !important;
    box-shadow: none;
}

    .chzn-container-single .chzn-single span {
        font-family: 'Oswald', sans-serif;
    }

.chzn-container-single .chzn-drop {
    z-index: 400;
    width: 100%;
}

#txtNomGrup, .chzn-container .chzn-results li {
    font-family: 'Oswald', sans-serif;
}

.chzn-container .chzn-results li {
    font-size: 12px;
}

.chzn-container .chzn-drop {
    min-width: 90% !important;
    width: 90% !important;
}

.chzn-container-multi .chzn-choices {
    border: 0px;
    padding: 5px;
    max-height: 60px;
    overflow: auto;
}

    .chzn-container-multi .chzn-choices .search-field input {
        color: #666;
        background: transparent !important;
        border: 0 !important;
        font-family: sans-serif;
        font-size: 100%;
        height: 15px;
        padding: 5px;
        margin: 1px 0;
        outline: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        font-family: 'Oswald', sans-serif;
        width: 100% !important;
        height: 25px !important;
    }

    .chzn-container-multi .chzn-choices .search-choice {
        -webkit-border-radius: 0;
        -moz-border-radius: 3px;
        border-radius: 0;
        -moz-background-clip: padding;
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        background-color: #efefef;
        filter: url(chosen.css);
        background-image: url(chosen.css);
        background-image: url(chosen.css);
        background-image: url(chosen.css);
        background-image: url(chosen.css);
        -webkit-box-shadow: none;
        box-shadow: none;
        color: #333;
        border: 1px solid #aaaaaa;
        line-height: 13px;
        padding: 3px 20px 3px 5px;
        margin: 3px 0 3px 5px;
        position: relative;
        cursor: default;
        font-family: 'Oswald', sans-serif;
        width: 47%;
        height: 35px;
        overflow: hidden;
        display: inline;
        line-height: 1.2;
        font-size: 12px;
    }

    #ddlMultiSelect_chzn, .chzn-container-multi .chzn-choices .search-field {
        width: 100% !important;
    }

.btn-pluss {
    font-size: 25px;
    line-height: 0.5;
    max-width: 300px;
    float: right;
    border-radius: 0;
    border: 1px solid #495258;
    background-color: #495258;
    height: 30px;
    width: 30px !important;
    padding: 0;
    font-weight: 900;
    font-family: 'Oswald', sans-serif;
}

/*Marco Lista*/
.chat_box {
    position: fixed;
    right: 3px; /*Espacio Ubicacion al Lado Derecho*/
    bottom: 56px; /*Altura del Pie de Pagina*/
    width: 250px; /*Ancho de la Venta*/
    z-index: 2;
    box-shadow: -1px 4px 4px #4e4e4e;
}

/*Encabezado Lista*/
.chat_head {
    color: white;
    padding: 8px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px 3px 0px 0px;
}

    .chat_head span {
        font-family: 'Oswald', sans-serif;
        font-size: 12px;
        max-width: 210px;
        overflow: hidden;
        max-height: 20px;
        display: block;
    }

/*Cuerpo Lista*/
.chat_body {
    background: white;
    height: 326px; /*Altura*/
    padding: 5px 0px;
    border: 1px solid white;
    border-top: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
    overflow-x: hidden;
}

.chat_grup_body {
    background: white;
    height: 287px; /*Altura*/
    padding: 5px 0px;
    border: 1px solid white;
    border-top: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
    overflow-x: hidden;
}

/*Buscar*/
.bus_box {
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    background: #FFFFFF;
}

/*Marco Chat*/
.popup-box {
    position: fixed;
    bottom: 60px; /*Altura del Pie de Pagina*/
    width: 250px; /*Ancho de la Venta*/
    background: white;
    border-radius: 3px 3px 0px 0px;
    z-index: 8;
}

    /*Encabezado Chat */
    .popup-box .popup-head {
        background: #003B6B;
        color: white;
        padding: 8px;
        font-size: 10px;
        font-weight: bold;
        cursor: pointer;
        border-radius: 3px 3px 0px 0px;
        clear: both;
    }

        .popup-box .popup-head .popup-head-left {
            float: left;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            width: 18em;
            font-family: 'Oswald', sans-serif;
            font-size: 14px;
        }

        .popup-box .popup-head .popup-head-right {
            opacity: 0.5;
            font-size: 1.5em;
            position: absolute;
            right: 10px;
            top: 9px;
        }

            .popup-box .popup-head .popup-head-right a {
                text-decoration: none;
                color: inherit;
            }

    /*Adicionar Usuario */
    .popup-box .popup-search {
        background: #ECEFF1;
        cursor: pointer;
        padding-left: 7px;
    }

    /*Adicionar Usuario a Buscar*/
    .popup-box .add-search {
        background: white;
        height: 285px; /*Altura*/
        font-size: 12px;
        /*padding: 15px;*/
        overflow: auto;
        overflow-x: hidden;
        border: 1px solid white;
        border-left: 1px solid #DDDDDD;
        border-right: 1px solid #DDDDDD;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    /*Cuerpo Chat */
    .popup-box .popup-messages {
        background: white;
        height: 285px; /*Altura*/
        font-size: 12px;
        padding: 15px;
        overflow: auto;
        overflow-x: hidden;
        border: 1px solid white;
        border-left: 1px solid #DDDDDD;
        border-right: 1px solid #DDDDDD;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

        .popup-box .popup-messages p {
            margin: 0;
            font-family: 'Oswald', sans-serif;
        }

    .popup-box .popup-messages-grupo {
        background: white;
        height: 261px; /*Altura*/
        font-size: 12px;
        padding: 15px;
        overflow: auto;
        overflow-x: hidden;
        border: 1px solid white;
        border-left: 1px solid #DDDDDD;
        border-right: 1px solid #DDDDDD;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

        .popup-box .popup-messages-grupo p {
            margin: 0;
            font-family: 'Oswald', sans-serif;
        }

/*Caja de Texto Chat*/
.msg_input {
    width: 100%;
    border: 1px solid white;
    border-top: 1px solid #DDDDDD;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*Pie Chat */
.msg_footer {
    border: 1px solid white;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.msg_footer_exit {
    border: 1px solid white;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    font-weight: bold;
    height: 32px;
    padding-left: 15px;
}

/*Cerrar Chat*/
.close {
    float: right;
    cursor: pointer;
}

/*Minizar*/
/*.minimize {
    float: right;
    cursor: pointer;
    padding-right: 5px;
}*/

/*Usuario*/
.user {
    position: relative;
}

    .user:hover {
        cursor: pointer;
    }

    .user:before {
        content: '';
        position: absolute;
        background: #2ECC71;
        height: 13px;
        width: 13px;
        left: 43px !important;
        top: 31px !important;
        border-radius: 6px;
        z-index: 298;
        border: 2px solid white;
    }

.userOff {
    position: relative;
}

    .userOff:hover {
        cursor: pointer;
    }

    .userOff:before {
        content: '';
        position: absolute;
        background: #808080;
        height: 13px;
        width: 13px;
        left: 43px !important;
        top: 31px !important;
        border-radius: 6px;
        z-index: 298;
        border: 2px solid white;
    }

.userGeneric {
    position: relative;
}

    .userGeneric:hover {
        cursor: pointer;
    }

.block {
    display: block;
    clear: both;
}

/*Mensajes Recibido*/
.msg_a {
    position: relative;
    background: #ffffff;
    padding: 5px 10px;
    min-height: 10px;
    margin-bottom: 5px;
    margin-right: 10px;
    border-radius: 5px;
    font-size: 12px;
    border: 1px solid #e0e5e8;
    display: inline-block;
}

    .msg_a .line {
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid #ffffff;
        position: absolute;
        top: 7px;
        left: -9px;
    }

    .msg_a:before {
        content: "";
        position: absolute;
        width: 0px;
        height: 0px;
        border: 10px solid;
        border-color: transparent #e0e5e8 transparent transparent;
        left: -20px;
        top: 7px;
    }

/*Mensajes de Envio*/
.msg_b {
    background: #f1f1f1;
    padding: 5px 10px;
    min-height: 15px;
    margin-bottom: 5px;
    position: relative;
    margin-left: 10px;
    border-radius: 5px;
    word-wrap: break-word;
    font-size: 12px;
    display: inline-block;
    float: right;
    border: 1px solid #dadada;
}

    .msg_b .line {
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 10px solid #f1f1f1;
        position: absolute;
        top: 7px;
        right: -9px;
        z-index: 200;
    }

    .msg_b:after {
        content: "";
        position: absolute;
        width: 0px;
        height: 0px;
        border: 10px solid;
        border-color: transparent transparent transparent #dadada;
        right: -20px;
        top: 7px;
    }

.usermsg {
    font-size: 7px;
}

/*Mensajes de General*/
.msg_g {
    position: relative;
    background: #F9F9F9;
    padding: 10px;
    min-height: 10px;
    margin-bottom: 5px;
    margin-right: 10px;
    border-radius: 5px;
    font-size: 10px;
}

    .msg_g:before {
        content: "";
        position: absolute;
        width: 0px;
        height: 0px;
        border: 10px solid;
        border-color: transparent #F9F9F9 transparent transparent;
        left: -20px;
        top: 7px;
    }

.time {
    color: #000000;
    background-color: #C7D6E2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 5px;
}

.UnreadMessage {
    display: inline-block;
    background: #0e538e;
    text-align: center;
    color: #FFFFFF;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    line-height: 20px;
    position: absolute;
    right: 6px;
    bottom: 4px;
    font-size: 10px;
}

.UnreadChat {
    display: inline-block;
    background: #FFFFFF;
    text-align: center;
    color: #0e538e;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 22px;
    right: 8px;
    font-size: 10px;
    position: absolute;
    top: 9px;
}

.chat_body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.chat_body::-webkit-scrollbar {
    width: 3px;
    background-color: #F5F5F5;
}

.chat_body::-webkit-scrollbar-thumb {
    background-color: #495258;
    border: 1px solid #495258;
}
