/*chat*/
#chat{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    max-width: 300px;
    border-radius: 8px;
}

#chat .holder{
    position: relative;
    overflow: inherit;
}
/*headar para animar*/
#chat .header{
    position: absolute;
    width: 100%;
    border-radius: 8px;
    top: 0;
    margin-top: -15px;
}

#chat .header.chat-open{
    top: 0;
    /*transition: top 350ms;*/
}

/*termina header*/
#chat .holder .header-container{
    position: relative;
}

#chat .header .header-container .title{
    font-family: Roboto;
    font-size: 1.5em;
    text-align: center;
    width: 100%;
    padding: 10px;
    cursor: pointer;
}

#chat .header .bar {
    height: 0.3em;
    width: 25px;
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translate(0%, -50%);
    background-color: #FFFFFF;
}

#chat .holder .content{
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 30px;
    transition: height 350ms, opacity 350ms;
    opacity: 0;
    overflow: hidden;
}

#chat .holder .content.chat-open {
    height: 430px;
    max-height: calc(100vh - 60px - 24px);
    opacity: 100;
    padding-top: 30px;
}

.chat-correo-HDK{
    /*position: absolute;*/
    bottom: 5px;
    width: 100%;
   /* background-color: #337ab7;*/
    padding: 5px;
    height: 100%;
    overflow: hidden;
}

.message-container{
    width: 90%;
    padding: 5px;
    display: inline-block;
    margin: 0 -5px;
}

.chat-correo-HDK input,
.chat-correo-HDK textarea{
    width: 80%;
    background-color: #eeeeee;
    border-radius: 8px;
    padding: 5px;
    border: none;
    margin-top: 5px;
    resize: none;
}

.chat-correo-HDK .correo-fijo{
    padding: 5px;
    width: 80%;
    border-radius: 8px;
    margin-top: 5px;
    color: #ffffff;
}

.chat-mail-btn{
    float: right;
    width: 19%;
    height: 30px;
    border-radius: 30px;
    cursor: pointer;
    padding: 5px;
    position: relative;
}

.chat-mail-btn img{
    width: 100%;
    height: 100%;
    /* margin: 0 auto; */
    opacity: 0.6;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

input:focus-visible, textarea:focus-visible{
    outline: none;
}

.chat-container{
    width: 100%;
    height: calc(100% - 110px);
    overflow: auto;
    padding-left: 5px;
    position: relative;
    padding-right: 5px;
}

.message-right, .message-left{
    width: 100%;
    margin: 0 auto;
    bottom: 0;
    position: relative;
}

.chat-abtr-r{
    width: 10%;
    border-radius: 25px;
    /*background-color: #337ab7;*/
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
}

.chat-abtr-l{
    width: 10%;
    border-radius: 25px;
    background-color: #337ab7;
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
}

.chat-abtr-r img,
.chat-abtr-l img{
    opacity: .4;
    width: 100%;
}

.message-r, .message-l{
    background-color: #ffffff;
    border-radius: 8px;
    width: 100%;
    padding: 10px;
    font-size: 1em;
    font-family: roboto;
    overflow: hidden;
    word-wrap: break-word;
}

.error-msg{
    color: white;
    max-width: 220px;
    text-align: center;
    border-radius: 6px;
    position: absolute;
    z-index: 4;
    display: block;
    background: rgb(255, 60, 50);
    margin-top: -7px;
    padding-left: 7px;
    padding-right: 7px;
}

@media (max-width: 620px) {
    #chat{
        max-width: 100%;
        width: 100%;
		  bottom: 7%;
    }
}

/*@media (max-width: 500px) {*/
    /*#chat{*/
        /*width: 100%;*/
    /*}*/
/*}*/

