﻿/** {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}*/

/*#chat {
    width: 250px;
    height: 350px;
    background-color: rgb(222, 222, 222);
    position: fixed;
    bottom: 15px;
    right: 30px;
    border-radius: 12px;
    border-style: none;
}*/

#chat {
    min-width: 15%;
    width: 15%;
    height: 58%;
    min-height: 406px;
    background-color: rgb(222, 222, 222);
    /* position: absolute; */
    /* bottom: 6%; */
    right: 2%;
    border-radius: 12px;
    border-style: none;
    position: fixed;
}

.title-chat {
    width: 100%;
    height: 30px;
    background-color: #9e9e9e;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    text-align: center;
    position: relative;
    height: 5%;
}

.title-chat-btn {
    text-align: center;
    width: 10%;
    margin-right: 5px;
    display: inline-block;
    padding-top: 5px;
}

.title-chat-text {
    text-align: center;
    width: 85%;
    display: inline-block;
}

.title-chat h1 {
    margin: 0;
    font-size: 15px;
    color: white;
    padding-top: 5px;
    position: absolute;
    top: -4px;
    left: 10px
}

.input-box-chat {
    /* bottom: 1px; */
    width: 100%;
    height: 7%;
    background-color: #9e9e9e;
    /*border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;*/
    font-family: sans-serif;
    font-size: 12px;
/*    padding: 0px 10px 0px 10px;*/
    min-height: 26px;
    /* position: initial; */
    /* height: 200px; */
}



/*Define el estilo para la caja de texto*/
    .input-box-chat input[type=text] {
        /*        height: -webkit-fill-available;*/
        height: 100%;
        /* width: 100%; */
        background-color: #9e9e9e;
        /* border: none; */
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        color: white;
        /* margin-bottom: 0px; */
        font-size: 12px;
        /* width: -webkit-fill-available; */
        /* position: absolute; */
        margin-left: 1;
        /* min-height: 5%; */
        margin: inherit;
        border-bottom: none;
        padding-left: 5px;
        width: 97% !important;
        border: 1px solid white;
    }

        .input-box-chat input[type=text]:not(.browser-default):focus:not([readonly]) {
            border-bottom: none;
            -webkit-box-shadow: none;
            box-shadow: none;
        }



        /*Define estilo para botón de la caja de texto*/
        .input-box-chat button {
            margin-left: 5px;
            height: 25px;
            width: 35px;
            border: none;
            background-color: rgb(81, 138, 158);
            color: white;
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
            font-weight: bold;
            font-size: 16px;
        }


/*Define el estilo para el placeholder de la caja de texto*/
#inputchat::-webkit-input-placeholder {
    color: white;
    font-size: 1.2em;
    font-style: italic;
}

/*Define el estilo para el botón X para cerrar el chat*/
.boton {
    float: right;
    margin-right: 5px;
    height: 20px;
    width: 20px;
    text-align: center;
    padding: 0;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none;
    background-color: none;
    font-size: 15px;
    font-weight: bold;
    color: white;
    visibility: hidden;
}

    .boton:hover, .boton-large:hover {
        background-color: none;
        border: 1px solid #eaeaea;
        border-radius: 3px;
        cursor: pointer;
        color: white;
    }

/*.boton, .boton-large, .boton-flat {
    display: none;
}*/


#inputchat::-moz-placeholder {
    color: white;
    font-size: 1.2em;
    font-style: italic;
}

#inputchat:-ms-input-placeholder {
    color: white;
    font-size: 1.2em;
    font-style: italic;
}

#inputchat:-moz-placeholder {
    color: white;
    font-size: 1.2em;
    font-style: italic;
}

.mssage-box-chat {
    /* width: 100%; */
    /* max-height: 88%; */
    /* min-height: 40px; */
    height: 89%;
    /* min-height: 400px; */
    /* height: auto; */
    min-width: 180px;
    margin-right: auto;
    margin-left: auto;
    /* margin-top: 10px; */
    overflow-y: scroll;
    overflow-x: hidden;
    /* background: black; */
    position: relative;
}

    /*barra de scroll*/
    .mssage-box-chat::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    .mssage-box-chat::-webkit-scrollbar:vertical {
        width: 10px;
    }

    .mssage-box-chat::-webkit-scrollbar-button:increment, .mssage-box-chat::-webkit-scrollbar-button {
        display: none;
    }

    .mssage-box-chat::-webkit-scrollbar:horizontal {
        height: 10px;
    }

    .mssage-box-chat::-webkit-scrollbar-thumb {
        background-color: #797979;
        border-radius: 20px;
        border: 2px solid #f1f2f3;
    }

    .mssage-box-chat::-webkit-scrollbar-track {
        border-radius: 10px;
    }

/*.message-oside {
    float: left;
    max-width: 90%;
    border-radius: 5px;
    background-color: rgb(232, 232, 232);
    padding: 5px 7px 5px 7px;
    color: rgb(54, 54, 54);
    font-size: 15px;
    font-weight: 500;
    display: block;
    margin-left: 10px !important;
    width: 90%;
    margin-top: 5px;
}*/

.message-oside0 {
    float: left;
    margin-left: 10px !important;
    max-width: 90%;
    /*border-radius: 5px;*/
    background-color: rgb(232, 232, 232);
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    color: rgb(54, 54, 54);
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    /*line-height: 1px;*/
    border-radius: 10px;
    /*border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;*/
    text-align: right;
    word-wrap: break-word;
    /*line-break: anywhere;*/
}

.message-oside1 {
    float: left;
    margin-left: 10px !important;
    max-width: 90%;
    /*border-radius: 5px;*/
    background-color: #B2A9DB;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    /*line-height: 1px;*/
    border-radius: 10px;
    /*border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;*/
    text-align: right;
    word-wrap: break-word;
    /*line-break: anywhere;*/
}

.message-oside2 {
    float: left;
    margin-left: 10px !important;
    max-width: 90%;
    /*border-radius: 5px;*/
    background-color: #E0C586;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    /*line-height: 1px;*/
    border-radius: 10px;
    /*border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;*/
    text-align: right;
    word-wrap: break-word;
    /*line-break: anywhere;*/
}

.message-oside3 {
    float: left;
    margin-left: 10px !important;
    max-width: 90%;
    /*border-radius: 5px;*/
    background-color: #E6DAB0;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    /*line-height: 1px;*/
    border-radius: 10px;
    /*border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;*/
    text-align: right;
    word-wrap: break-word;
    /*line-break: anywhere;*/
}

.message-oside4 {
    float: left;
    margin-left: 10px !important;
    max-width: 90%;
    /*border-radius: 5px;*/
    background-color: #DAF5DF;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    /*line-height: 1px;*/
    border-radius: 10px;
    /*border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;*/
    text-align: right;
    word-wrap: break-word;
    /*line-break: anywhere;*/
}

.message-oside5 {
    float: left;
    margin-left: 10px !important;
    max-width: 90%;
    /*border-radius: 5px;*/
    background-color: #D4B8F5;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    /*line-height: 1px;*/
    border-radius: 10px;
    /*border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;*/
    text-align: right;
    word-wrap: break-word;
    /*line-break: anywhere;*/
}

.message-oside6 {
    float: left;
    margin-left: 10px !important;
    max-width: 90%;
    /*border-radius: 5px;*/
    background-color: #D4B0AB;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    /*line-height: 1px;*/
    border-radius: 10px;
    /*border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;*/
    text-align: right;
    word-wrap: break-word;
    /*line-break: anywhere;*/
}

.message-oside7 {
    float: left;
    margin-left: 10px !important;
    max-width: 90%;
    /*border-radius: 5px;*/
    background-color: #CCF6D8;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    /*line-height: 1px;*/
    border-radius: 10px;
    /*border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;*/
    text-align: right;
    word-wrap: break-word;
    /*line-break: anywhere;*/
}


.message-oside8 {
    float: left;
    margin-left: 10px !important;
    max-width: 90%;
    /*border-radius: 5px;*/
    background-color: #D9F7C8;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    /*line-height: 1px;*/
    border-radius: 10px;
    /*border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;*/
    text-align: right;
    word-wrap: break-word;
    /*line-break: anywhere;*/
}


.message-oside9 {
    float: left;
    margin-left: 10px !important;
    max-width: 90%;
    /*border-radius: 5px;*/
    background-color: #D6C4A9;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    /*line-height: 1px;*/
    border-radius: 10px;
    /*border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;*/
    text-align: right;
    word-wrap: break-word;
    /*line-break: anywhere;*/
}

/*.message-myside {
    float: right;
    margin-right: 10px !important;
    max-width: 90% !important;
    border-radius: 5px;
    border: 2px solid #dedede;
    background-color: #518a9e; 
    padding: 10px; 
    color: white;
    margin: 2px 0;
    word-wrap: break-word;
}*/

.message-myside {
    float: right;
    margin-right: 10px !important;
    max-width: 90% !important;
    /* border-radius: 5px; */
    background-color: #518a9e;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 90%;
    margin-top: 5px;
    line-height: 1px;
    /*border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;*/
    border-radius: 10px;
    text-align: left;
    /* line-break: anywhere; */
    word-wrap: break-word;
}

.darker {
    border-color: #ccc;
    background-color:  lightsteelblue;
}

/*.message-myside {
    content: "";
    clear: both;
    display: block;
}*/


#containerChat {
    width: 15%;
    height: 60%;
    background-color: rgb(222, 222, 222);
    right: 2%;
    border-radius: 12px;
    border-style: none;
    position: fixed;
}

/*Establece el css para el botón de inicio del chat*/
.btnChat {
    width: 55px;
    height: 55px;
    background-color: #76AADB;
    position: fixed;
    bottom: 15px;
    right: 30px;
    border-radius: 50px;
    border-style: none;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none;
    margin-right: 80px;
    margin-bottom: 6px;
    visibility: hidden;
}

/* Add Animation */
/*@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}*/

/* Style time text */
.time-right {
    float: right;
    color: #aaa;
    margin-top: 14px;
}

/* Style time text */
.time-left {
    float: left;
    color: #999;
}

/*andres*/

.icono_voz {
    /*    position: absolute !important;*/
    margin-bottom: 4px;
    margin-top: 8px;
    width: 20px !important;
    height: 20px !important;
}

.icono_cancelar {
    width: 6.5px;
    margin-bottom: 10px;
}

.img_play {
    margin-top: 1px;
    width: 42px;
    height: 42x;
    cursor: pointer;
}

#seek-bar {
/*    width: 105px;*/
    width: 66%; 
    height: 3px;
    background-color: gray;
    border-radius: 50px;
    display: flex;
    margin-left: 25px;
    cursor: pointer;
    float: right;
    margin-top: -26.5px;
    margin-right: 7.5px;
}

.fill {
    height: 3px;
    background-color: #518a9e;
    border-radius: 20px;
}

.handle {
    width: 5px;
    height: 5px;
    background-color: #518a9e;
    border-radius: 50%;
    margin-left: -5px;
    transform: scale(2);
}

#buttons_audio {
    float: left;
    margin-right: 20px;
}

.contenido_audio {
    background-color: #eeeeeeee;
/*    width: 165px;*/
    height: 45px;
    border-radius: 10px;
    margin-top: 5px;
    width: 85%;
    min-width: 165px;
}

.barra-inferior {
    background-color: #9e9e9e;
    height: 30px;
}

.username-chat {
    font-weight: bold;
    font-size: 11px;
    line-height: normal;
}