﻿body {
    /*font-family: 'Anton', sans-serif;*/
}

.Header-title {
    font-size: 17px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 5px;
    color: whitesmoke;
    font-weight: 100;
    font-family: 'Anton', sans-serif;
}

#topmenuMobile span {
    display: inline-block;
    width: 48%;
    height: 35px;
    margin: 0;
    background-position: center;
    box-sizing: border-box;
}

.chat_load {
    text-align: center;
}

.friendimg {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.friend img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin: 6px 15px;
    float: none;
}

.friend p {
    display: inline-block;
}

    .friend p strong {
        font-weight: 400;
        font-size: 12px;
        color: black;
        letter-spacing: 0.3px;
    }

.friend {
    height: auto;
    border-bottom: 1px solid #e7ebee;
    position: relative;
}

.chzn-container-single .chzn-single {
    border: 0px;
    background-color: white;
    background-image: none !important;
    box-shadow: none;
}

.chzn-container-single .chzn-drop {
    z-index: 400;
    width: 100%;
}

.chzn-container-single .chzn-search input {
    background-color: white;
}

.chzn-choices {
    min-width: 100% !important;
    width: 100% !important;
}

.chzn-container-multi .chzn-choices .search-field {
    width: 100%;
}

    .chzn-container-multi .chzn-choices .search-field input {
        height: 30px;
        padding: 5px 10px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
        width: 100% !important;
    }

.chzn-container .chzn-drop {
    min-width: 90% !important;
    width: 90% !important;
}

.chzn-container-multi .chzn-choices .search-choice {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: #eaeaea;
    background-image: url(ChatMobile.css);
    background-image: url(ChatMobile.css);
    background-image: url(ChatMobile.css);
    background-image: url(ChatMobile.css);
    -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
    -moz-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
    box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
    color: #333;
    border: 1px solid #aaaaaa;
    line-height: 13px;
    padding: 3px 20px 3px 5px;
    margin: 3px 0 3px 5px;
    position: relative;
    cursor: default;
    width: 48%;
}

.chzn-container-active .chzn-choices {
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
    box-shadow: 0 0 5px rgba(0,0,0,.3);
    border: 0px solid #ffffff;
}

#ddlMultiSelect_chzn {
    min-width: 100% !important;
    width: 100% !important;
}

.btn-pluss {
    font-size: 36px;
    line-height: 0.6;
    max-width: 300px;
    float: right;
    border-radius: 0;
    border: 1px solid #045092;
    background-color: #495258;
    box-shadow: 0px 0px 2px #8e8e8e;
}

/*Marco Lista*/
.chat_box {
    position: fixed;
    right: 3px; /*Espacio Ubicacion al Lado Derecho*/
    width: 100%; /*Ancho de la Venta*/
    z-index: 2;
    height: 100%;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    background: #FFFFFF;
}

/*Encabezado Lista*/
.chat_head {
    background: #1d3156;
    color: white;
    padding: 8px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px 3px 0px 0px;
    height: 10%;
    max-height: 50px;
    min-height: 50px;
    padding-top: 12px;
}

/*Cuerpo Lista*/
.chat_body {
    background: white;
    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;
    position: absolute;
    width: 100%;
    max-height: 100%;
    z-index: -2;
    top: 0;
    padding-top: 120px;
}

.chat_grup_body {
    background: white;
    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;
    position: absolute;
    width: 100%;
    max-height: 87%;
    z-index: -2;
}

.btn-volver {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    width: 42px;
    height: 42px;
    background-color: #495258;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0px 2px 6px #3c3c3c;
}

    .btn-volver img {
        max-width: 50%;
        margin-top: 10px;
        margin-left: -3px;
    }

/*Buscar*/
.bus_box {
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    background: #FFFFFF;
    height: 10%;
    min-height: 33px;
    max-height: 33px;
    box-shadow: 0px 2px 3px #8a8a8a;
}

.bus_boxGroup {
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    background: #FFFFFF;
    height: 10%;
    min-height: 55px;
    max-height: 67px;
    box-shadow: 0px 2px 3px #8a8a8a;
}

/*Marco Chat*/
.popup-box {
    position: fixed;
    bottom: 35px; /*Altura del Pie de Pagina*/
    width: 100%; /*Ancho de la Venta*/
    background: white;
    border-radius: 3px 3px 0px 0px;
    z-index: 2;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden !important;
}

    /*Encabezado Chat */
    .popup-box .popup-head {
        background: #223862;
        color: white;
        padding: 5px;
        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;
            margin-top: 5px;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            width: 18em;
            font-size: 17px;
            font-family: 'Anton', sans-serif;
            color: whitesmoke;
            font-weight: 100;
        }

        .popup-box .popup-head .popup-head-right {
            float: right;
            opacity: 0.5;
            font-size: 2.5em;
        }

            .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: auto; /*Altura*/
        font-size: 12px;
        padding: 0px 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;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }

    /*Cuerpo Chat */
    .popup-box .popup-messages {
        background: white;
        height: auto; /*Altura*/
        font-size: 12px;
        padding: 75px 20px;
        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;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: -1;
        height: 94%;
    }

/*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;
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 200;
}

.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-size: 14px;
    font-weight: bold;
    height: 32px;
    padding-left: 30px;
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 200;
}

/*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: 39px !important;
        top: 35px !important;
        border-radius: 6px;
        z-index: 300;
        border: 2px solid white;
    }

.userOff {
    position: relative;
}

    .userOff:hover {
        cursor: pointer;
    }

    .userOff:before {
        content: '';
        position: absolute;
        background: #808080;
        height: 13px;
        width: 13px;
        left: 39px !important;
        top: 35px !important;
        border-radius: 6px;
        z-index: 300;
        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: 16px;
    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 p {
        margin-bottom: 0;
    }

    .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: 16px;
    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 p {
        margin-bottom: 0;
    }

    .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: 11px;
}

    .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: 20px;
    height: 20px;
    line-height: 22px;
    position: absolute;
    right: 6px;
    bottom: 5px;
    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: 10px;
    font-size: 10px;
    position: absolute;
    top: 16px;
}
