@import '~src/function.scss';
.header-toolbar{
    --background:transparent;
    --opacity: 1;

    .main-header{
        width: 100%; /* 400px */
        height: 100%;
        font-family: Roboto;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
        background-color: #fff;
        overflow:hidden;
        padding: 30px 20px 0px 20px;
        color:#000;
        transform: translate3d(0, 1px, 0);

        .header-top{
          overflow: auto;
          padding: 0 !important;
          background: #fff;
           .middle{
            padding: 0!important;
            float: left;
            width:calc(100% - 77px);
            margin: 2.5px 0 0 5px;
          }
          .right{
            padding: 0!important;
            float: right;
            font-size: 25px;
            color: #0782c9;
            margin: 5px 0 0 0;
          }
        }
        .header-bottom{
          padding-left: 10px;
          overflow: auto;
          margin: 0 auto;

          .header-bottom-icon{
            width: 30px;
            font-size: 25px;
            float: left;
            padding: 2px;

          }
          .header-bottom-contacts{
            width: 275px;
            font-size: 15px;
            color: #797979;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            float: left;
            padding: 5px;
            margin: 1px;
          }
        }

        .title{
          font-size: 25px;
          white-space: nowrap;
          overflow: hidden !important;
          text-overflow: ellipsis !important;
          float: left;
        }
        .div-icon{
          width: 40px;
          float: right;
          font-size: 35px;
          overflow: auto;
          padding: 1px;
        }
        .div-icon ion-icon{
          float: right;
          padding-left: 20px;
        }
    }
 }
 ion-content{
   .welcome-text{
    /* width: 322px; */
     width: em(422px);
     background: #ebebeb;
     text-align: center;
     font-size: 13px;
     color: #797979;
     padding: 10px;
     margin: 0 auto;
     line-height: 1.2rem;
     margin: 20px 39px 25px;
     border-radius: 8px;
   }
   .info-text{
    /* width: 322px; */
    width: em(422px);
    background: #fef4c5;
    text-align: center;
    font-size: 13px;
    color: #262420;
    padding: 10px;
    margin: 10px auto;
    line-height: 1.2rem;
    /* margin: 15px 0px 15px 0px; */
    border-radius: 8px;
   }
   .info-text-leave{
     display: flex;
     align-items: center;
     justify-content: center;
     width: fit-content;
    padding: 10px;
    background: #e0e9ee;
    border-radius: 8px;
    margin: 10px auto;
    color: #797979 !important;
    font-size: 13px !important;
    /* margin: 15px 0px 15px 0px; */

    .info-text-leave ion-label{
      font-size: 13px !important;
      line-height: 1.2rem;
    }
   }
   .messages{
    font-size: 13px;
    font-family: Roboto;
    overflow: auto;

    //set scroll do bottom
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    word-wrap: break-word;
    -webkit-overflow-scrolling: touch;

    .incoming-true, .incoming-false{
      width: 305px;
       padding: 15px 20px;
       border-radius: 10px;
    }

    .incoming-true{
      margin: 10px 75px 10px 20px;
       background: #ebebeb;
       float: left;
       }
     }
     .incoming-false{
      margin: 10px 20px 10px 75px;
       background: #e4f4fe;
       float: right;
     }
     .title{
      color: #0782c9;

      font-weight: bold;
      margin-bottom: 5px;

      .time{
        color: #797979;
        text-align: right;
        float: right;
      }
   }
   .online{
    color:#99e47b !important;
    }
  .offline{
    color:#cbced1 !important;
    }
  .away{
    color:#ffd21f !important;
    }
    .invisible{
      color:#cbced1 !important;
    }
    .busy{
      color:#f5455c !important;
    }
 }

 ion-footer{
  padding-top: 7.5px;
  padding-bottom: 7.5px;
 .container{
   justify-content: center;
   justify-content: space-evenly;
   align-items: center;

   .message-box{
     margin: 0 5px 0 5px;
   }

 }

 .chat-icon-options{
   display:block !important;
   font-size: 35px;
   float: right !important;
   margin-top: 5px;
 }

 .chat-icon-send{
   font-size: 45px;
   margin: 0 auto;
   margin-top: 4px;
 }

  .type-message{
   display: flex;
   border: 1px solid #ebebeb;
   border-radius: 25px;
   padding-left: 15px;
   align-items: center;

   overflow: auto;

   ion-textarea{
     margin: 0 !important;
     align-self: center;
   }
 }

}
