



.inputchat{background-color: #ffffff;/* width: 100%; *//* margin-left: -10px; */padding: 11px 5px 39px 5px;border-radius: 0px 0px 16px 16px;}

.hide{

    display:none;

}


.no-clip-path .offline-message {
    padding: 14px 28px 20px;
}

.offline-message {
    margin: 33px -28px 0px;
    color: currentcolor;
    width: calc(100%);
    padding: 11px 28px 8px;
    position: relative;
    background-size: 100% calc(100% + 12px);
    z-index: 1;
}

.offline-message span.online::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: calc(50% - 4px);
    background: rgb(88, 183, 67);
    border-radius: 50%;
    left: 10px;
}

.chatheader{

background: linear-gradient(
135deg
, rgb(42, 39, 218) 0%, rgb(0, 204, 255) 100%);

color: rgb(255, 255, 255);

overflow: hidden;

padding: 18px 28px 1px;

border-radius: 16px 16px 0 0px;
}


.avatars-wrapper {
    width: 52px;
    height: 52px;
    margin: 0px 18px 0px 0px;
    float: left;
}

.header-ava {
    width: 52px;
    height: 52px;
    border-radius: 24px;
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center center;
    background-image: url(../../img/logo-cooperativa-la-union.png);
    float: left;
    background-color: #fff;
}






.celdahora{

        display: -webkit-inline-box;

        /* padding: 10px; */

        font-size: 17px;

        text-align: -webkit-center;

        width: 30px;

        height: 30px;

        line-height: 30px;

        background-color: #94c7de;

        border-radius: 18px;

        color: #fff;

        cursor: pointer;

        margin: 10px;

        /* border-right: solid 1px #71afcc; */

}

.celdahora:hover {

        background-color: #4e4f6b;

}



.active{

        background-color: #5491ad;

}



#mensajechat{

width: calc(100% - 84px);

border: 0;

border-radius: 5px 0px 0px 5px;

border-radius: 4px;

/* border: solid 1px #ddd; */

padding: 3px 5px;

font-size: 16px;

outline: none;

margin-top: 5px;

margin-bottom: 14px;

font-family: open sans;
}



#mensajeschat{

position: relative;

margin-top: 10px;

width: calc(100%);

padding-bottom: 24px;

float: left;

/* border-bottom: solid; */
}

#button {
    position: fixed;
    width: 112px;
    height: 140px;
    bottom: 12px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    right: 0px;
}
.chat{width: 372px;position: fixed;bottom: 26px;border-radius: 16px;pointer-events: auto;box-shadow: rgb(0 18 46 / 16%) 0px 8px 22px 0px;z-index: 2;right: 48px;left: auto;}

#formchat{
  width: 92%;
  border-top:solid 1px #ddd;
  margin-left:auto;
  margin-right:auto;
}
.chat h2.twolines {
    margin-bottom: 5px;
}

.chat h2 {
    font-size: 22px;
    font-weight: 300;
    color: currentcolor;
    text-shadow:none;
    margin: 4px 0px 0px;
    padding: 0px;
    display: inline-block;
    position: relative;
    max-width: calc(100% - 145px);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
}

.messageTimestamp {
    /* bottom: -24px; */
    overflow-wrap: break-word;
    line-height: 30px;
    /* opacity: 1; */
    display: none;
    color: #aaa;
    clear: both;
    transition: all 0.2s ease 0s;
    transform: translate3d(0px, 0px, 0px);
    float: right;
    /* display: inline-block; */
    position: relative;
}
.message-operator + .message-visitor {
    margin-top: 9px;
}

.message-visitor .messageTimestamp {
    right: 12px;
}
#conversation-group {
    padding: 0px 28px;
    /* width: 100%; */
    height: 357px;
    overflow: hidden auto;
    will-change: auto;
    background: rgb(255, 255, 255);
    transition: all 0.3s ease 0s;
    max-height: 357px;
    min-height: 160px;
}
.message .messageTimestamp {
    font-size: 12px;
    color: rgb(136, 148, 171);
    position: absolute;
    transition: all 0.2s ease 0s;
    white-space: nowrap;
}

.message-visitor {
    color: rgb(255, 255, 255);
    background: linear-gradient(
332deg
, rgb(33, 219, 219), rgb(41, 121, 255));
    float: right;
     margin-top: 10px;
}


.message-visitor + .message-operator {
    margin-top: 10px;
}



.message-operator {
    color: rgb(6, 19, 43);
    background: rgb(240, 242, 247);
    float: left;
}

.message {
    padding: 10px 16px;
    border-radius: 20px;
    margin: 2px 0px;
    font-size: 15px;
    /* margin-top: 10px; */
    line-height: 20px;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 85%;
    clear: both;
    position: relative;
    transition: margin 0.28s ease-in-out 0s;
}

.chatheader #ic-minimize {
    height: 20px;
    width: 27px;
    transform: rotate(270deg);
    fill: rgb(255, 255, 255);
    padding: 6px 0px 6px 5px;
    background-color: rgba(255,255,255,0);
    border-radius:20px;
    transition: all 0.2s ease-in-out 0s;
}

.chatheader #ic-minimize:hover {
  background-color: #0f92f2;
  border-radius:20px;

}


button.material-icons.exit-chat, label.material-icons.exit-chat {
    margin-right: -3px;
    color: rgb(255, 255, 255);
}

button.material-icons {
  color: rgb(255, 255, 255);
    background: none;
    border: 0px;
    color: inherit;
    font-style: inherit;
    font-variant: inherit;
    font-weight: inherit;
    font-stretch: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: normal;
    overflow: visible;
    padding: 0px;
    user-select: none;
    outline: none;
}

.chat-header #ic-minimize {
    height: 20px;
    width: 27px;
    transform: rotate(270deg);
}


button.material-icons, label.material-icons {
  color: rgb(255, 255, 255);
    cursor: pointer;
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin: 15px 0px 8px 11px;
    float: right;
}



.chat hr{



  border-top:0;

  border-bottom:solid 1px #ddd;

  margin-top:20px;

  margin-bottom:10px

}





.boton2 img{

fill: rgb(255, 255, 255);

margin: 4px 0px 0px -2px;

height: 30px;

filter: invert(100%);
}

.boton2{

transition: all 0.5s ease;

border-radius: 30px;

width: 60px;

margin-right: -50px;

height: 60px;

/* padding: 7px 25px 7px 25px; */

/* padding-bottom: 5px; */

/* padding-top: 6px; */

/* background-color: #00cfdf; */

color: #ffffff;

outline: none;

will-change: transform;

color: rgb(0, 125, 252);

background: linear-gradient( 
135deg
 , rgb(42, 39, 218), rgb(0, 204, 255));

box-shadow: rgb(0 77 255 / 50%) 0px 4px 24px;

cursor: pointer;

font-size: 15px;

font-family: dushaplus;

border: solid 0px;

/* font-family: 'ProximaNova'; */

font-weight: 100;

margin-right: auto;

margin-left: auto;

-webkit-appearance: inherit;

box-shadow: 0px 0px 6px #999;

/* margin-bottom: 30px; */

overflow: hidden;

/* width: 150px; */

text-align: center;

outline: none;

position: absolute;

margin-left: 55px;
}

.boton2:hover {

  background-color:#6abfff;

}

.boton2:active {
/*
  position:relative;

  top:1px;
*/
}


  .numchat{

background-color: #ffc207;

border-radius: 10px;

font-size: 8px;

color: #000;

width: 12px;

position: absolute;

margin-top: -16px;

margin-left: 19px;

height: 12px;

display: block;

line-height: 12px;

text-align: center;
}

#infochat{

width: 60px;

height: 60px;

border-radius: 28px;

cursor: pointer;

display: inherit;

-webkit-box-align: center;

align-items: center;

-webkit-box-pack: center;

justify-content: center;

pointer-events: initial;

background-size: 130% 130%;

position: relative;

z-index: 2;

outline: none;

will-change: transform;

color: rgb(0, 125, 252);

background: linear-gradient(
135deg
, rgb(42, 39, 218), rgb(0, 204, 255));

box-shadow: rgb(0 77 255 / 50%) 0px 4px 24px;
}





@media screen and (max-width:720px ) {
.chat{
  width: 100%;
  left:0;
  right:0;
  top:0;
  background-color:#fff;
  border-radius:0;
  height: calc(100% - 90px);
  /* border:solid 5px #ff0000; */
}

#conversation-group {
  height:100%;
  max-height: calc(100% - 150px);
}

#mensajeschat{
  height:100%;
}


.chatheader ,.inputchat{
  border-radius:0;
  height: 100px;
}
.boton2{
  margin-left:7px
}
}


