:root {
    --body-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --msger-bg: #fff;
    --border: 2px solid #ddd;
    --left-msg-bg: #ececec;
    --right-msg-bg: #579ffb;
  }
  
  html {
    box-sizing: border-box;
  }
  
  *,
  *:before,
  *:after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
  }
  
  body {
    display: flex;
    justify-content: center;
    height: 100vh;
    background-image: var(--body-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
  }

  .msger {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    margin: 25px 20px;
    height: calc(100% - 50px);
    /*border: var(--border);*/
 	border: 2px solid #0099bd;
    border-radius: 3px;
    background: var(--msger-bg);
    box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
  }
  
  .msger-header {
    /* display: flex; */
    font-size: medium;
    justify-content: space-between;
    padding: 10px;
    text-align: center;
    border-bottom: var(--border);
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+48,009ec3+50,2b76ba+100 */
background: linear-gradient(to bottom,  #ffffff 0%,#ffffff 48%,#009ec3 50%,#2b76ba 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	color: #F3F3F3;
  }
  
  .msger-chat {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
  }
  .msger-chat::-webkit-scrollbar {
    width: 6px;
  }
  .msger-chat::-webkit-scrollbar-track {
    background: #ddd;
  }
  .msger-chat::-webkit-scrollbar-thumb {
    background: #bdbdbd;
  }
  .msg {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
  }
  
  img{
	max-width:100%  
  }
  
  .msg-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background: #ddd;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
  }
  .msg-bubble {
    max-width: 650px;
    padding: 15px;
    border-radius: 15px;
    background: #c3ecff40;
  }
  .msg-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .msg-info-name {
    margin-right: 10px;
    font-weight: bold;
  }
  .msg-info-time {
    font-size: 0.85em;
  }
  
  .left-msg .msg-bubble {
    position: relative;
	background: linear-gradient(to bottom,  #a0d8ef 0%,#ddf1f9 0%,#e8f3f7 62%,#ddf1f9 86%,#ddf1f9 100%); 
    border-radius: 6px;
    margin-left: 5px;
  }

  .left-msg .msg-bubble:after {
    content: '';
    position: absolute;
    left: 0;
    top: 85%;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-right-color: #c3ecff40;
    border-left: 0;
    margin-top: -6px;
    margin-left: -6px;
  }
  
  .right-msg {
    flex-direction: row-reverse;
  }

  .right-msg .msg-bubble {
    position: relative;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fbf5ca+0,fcf083+79,fbf5ca+100 */
background: linear-gradient(to bottom,  #fbf5ca 0%,#fcf083 79%,#fbf5ca 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border-radius: 6px;
    margin-right: 10px;
  }

  .right-msg .msg-bubble:after {
    content: '';
    position: absolute;
    right: 0;
    top: 85%;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-left-color: #fbf5ca;
    border-right: 0;
    margin-top: -6px;
    margin-right: -6px;
  }

  .right-msg .msg-img {
    margin: 0 0 0 10px;
  }
  
  .msger-inputarea {
    display: flex;
    padding: 10px;
    border-top: var(--border);
    background: #eee;
  }
  .msger-inputarea * {
    padding: 10px;
    border: none;
    border-radius: 3px;
    font-size: 1em;
  }
  .msger-input {
    flex: 1;
    background: #ddd;
  }
  .msger-send-btn {
    margin-left: 10px;
    background: #666;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.23s;
  }
  .msger-send-btn:hover {
    background: rgb(0, 180, 50);
  }
  
  .msger-chat {
    background-color: #fcfcfe;
  }


  .space{
    margin:10px 0px 10px 0px
  }


  .clean-btn {
    margin-left: 10px;
    font-size: medium;
    color: #000;
    font-weight: bold;
    cursor: pointer;
  }

  .feedback-btn{
    margin-left: 10px;
    background: rgb(196, 193, 0);
    color: #000;
    font-weight: bold;
    cursor: pointer;
  }
  
  .feedback-word{
    font-size: 0.95em;
  }

  a{
    text-decoration: none;
    color: #007DC3;
  }

  a:hover{
    /*background-color: yellow;*/
    font-weight: 700;
	}

  .ten-btn{
    margin-left: 10px;
    background: rgb(196, 193, 0);
    color: #000;
    font-weight: bold;
    cursor: pointer;
  }
  
  #block{
	  padding: 35px 1px;
	  float: left;
  }

  .msg_refresh {
    padding: 6px;
	background: linear-gradient(to bottom,  #2b76ba 0%,#009ec3 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    text-align: center;
    line-height: 2em;
  }

  .msg_refresh a {
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
  }

  .msg_refresh a:hover {
    color: #b5ffff;
    font-weight: bold;
    text-decoration: none;
    background-color: transparent;
  }