
body {
  height: 100%;
margin: 0;
overflow:hidden;
color: black;
font-family: Ubuntu Light, Segoe UI, Arial !important;
text-align: center;
}
.message {
text-align: left;
width: 100%;
transition: 0;
transform: scale(0);
position: relative;
}
.messagesopen div {
transition: 0.3s !important;
transform: scale(1) !important;
}
.message:nth-of-type(odd) {
background-color: rgba(0, 0, 0, 0.06);
}
.content {

  margin: 0;
    padding: 10px;
    padding-top: 5px;
}
.nickname {
margin: 0;
position: relative;
padding-left: 10px;
color: #557;
display: inline-block;
font-size: 16px;
}
#chat {
width: 100%;
height: calc(100% - 75px);
}
#msgs {
overflow-y: auto;
overflow-x: hidden;
height: 100%;
position: relative;
width: 100%;
}
#messages {
  background: #fff url(roundraw/title3.png) repeat;
  background-size: 80px;
}
#field {
background-color: white;
position: absolute;
left: 0;
padding: 10px;
text-align: left;
font-family: Ubuntu Light, Segoe UI Light, Arial !important;
border: 0;
border-top: dashed 2px #ccc;
resize: none;
outline: none !important;
width: calc(100% - 45px);
height: 45px;
}
#prof {
background-color: #557;
position: relative;
left: 0;
font-size: 14px;
text-align: left;
overflow: hidden;
color: white;
width: 100%;
height: 30px;
}
#send {
padding-top: 10px;
background-color: #557;
position: absolute;
border: 0;
user-select: none;
color: white;
font-size:13px;
right: 0px;
width: 45px;
height: 35px;
}
.date {
  float: right;
  font-size: 12px;
  color:rgb(45, 105, 161);
  padding-right: 5px;
}

#splash {
  width: 100%;
  z-index: 5;
  height: 100%;
  transition: 0.2s;
  position: absolute;
  background-color: rgba(0,0,0,0.3);
}
#connect {
  width: 100%;
  z-index: 5;
  height: 100%;
  transition: 0.2s;
  position: absolute;
  background-color: rgba(255,0,0,0.4);
}
#login {
  width: 230px;
  height: 230px;
  left: calc(50% - 115px);
  top: calc(50% - 115px);
  position: absolute;
  background-color: #fafafa;
  border-radius: 15px;
  border: dashed 2px #ccc;
}
#login p {
font-weight: bolder;
color: #555;
font-size: 20px;
}
#nickprompt {
background-color: #f0f0f0;
font-size: 14px;
padding: 10px;
text-align: left;
border: 2px dashed #ccc;
border-radius: 7px;
width: 70%;
height: 40px;
}
#nickok {
  border-radius: 7px;
  padding: 9px;
  border: 2px dashed #ccc;
  margin-left: 3px;
  background-color: #f0f0f0;
}
#telegram {
  background: url(roundraw/img/telegram.png);
  background-size: contain;
  width: 50px;
  height: 50px;
  display: inline-block;
  border-radius: 5px;
}
.hidesplash {
  display: none;
  opacity: 0;
}
#logout {
  float: right;
    padding-top: 6px;
    font-weight: bold;
    padding-right: 15px;
}
.hidelogout {
  display: none;
}
#profile {
  display: inline-block;
  top: -10px;
  position: relative;
  margin-left: 8px;
}
#closesplash {
  float: right;
    margin: 15px;
    padding: 4px;
    border: dashed #ccc 2px;
    border-radius: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
}
#profpic {
  width: 28px;
    background-size: contain;
    height: 28px;
    margin-top: 1px;
    margin-left: 1px;
    display: inline-block;
    border-radius: 5px;
}
.avatar {
  width: 20px;
    font-weight: bold;
    color: #777;
    user-select: none;
    text-align: center;
    padding: 10px;
    background-size: contain;
    height: 20px;
    font-size: 15px;
    margin-top: 1px;
    margin-left: 1px;
    display: inline-block;
    border-radius: 5px;
    background-color: #ddd;
}
#image {
  position: absolute;
    right: 50px;
    width: 37px;
    height: 37px;
    background-repeat: no-repeat;
    margin-top: 5px;
    background-size: contain;
    background-image: url(attach.png);
    font-size: 30px;
    cursor: pointer;
}
#images {
  width: 100%;
    background: white;
    border-top: dashed 2px #ccc;
    height: 80px;
    display: none;
}
.appendImg {
display: block !important;
}
.appendChat {
  height: calc(100% - 155px) !important;
}
