/* Fix user-agent */
@import url(https://fonts.googleapis.com/earlyaccess/notosanskr.css);
* {
  box-sizing: border-box;
}

html {
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

html, input {
  font-family: 'Noto Sans KR',
  "HelveticaNeue-Light",
  "Helvetica Neue Light",
  "Helvetica Neue",
  Helvetica,
  Arial,
  "Lucida Grande",
  sans-serif;
}

html, body#chatbody {
  height: 100%;
  margin: 0;
  padding: 0;
}

body#chatbody {
  scrollbar-arrow-color: #ffffff;
  scrollbar-base-color: #03a9f4;
  scrollbar-track-color: #03a9f4;
  -webkit-scrollbar-base-color: #03a9f4;
}
::-webkit-scrollbar {
  background: #03a9f4;
}
::-webkit-scrollbar-button {
  background-color: #ffffff;
}

ul {
  list-style: none;
  word-wrap: break-word;
}

/* Pages */

.pages {
  background: #03a9f4;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

.page {
  height: 100%;
  position: absolute;
  width: 100%;
}

/* Login Page */

.login.page {
  background-color: #000;
}

.login.page .form {
  height: 100px;
  margin-top: -100px;
  position: absolute;

  text-align: center;
  top: 50%;
  width: 100%;
}

.login.page .form .usernameInput {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #fff;
  outline: none;
  padding-bottom: 15px;
  text-align: center;
  width: 400px;
}

.login.page .title {
  font-size: 200%;
}

.login.page .usernameInput {
  font-size: 200%;
  letter-spacing: 3px;
}

.login.page .title, .login.page .usernameInput {
  color: #fff;
  font-weight: 100;
}

/* Chat page */

.chat.page {
  /*display: none;*/
}

/* Font */

.messages {
  font-size: 150%;
}

.inputMessage {
  font-size: 100%;
}

.log {
  color: #ffffff;
  font-size: 70%;
  margin: 5px;
  text-align: center;
}

/* Messages */

.chatArea {
  height: 100%;
  padding-top: 5px;
  padding-bottom: 145px;
}

.messages {
  height: 100%;
  margin: 0;
  overflow-y: scroll;
  padding: 10px 20px 10px 20px;
}

.message.typing .messageBody {
  color: gray;
}

.username {
  float: left;
  font-weight: 700;
  overflow: hidden;
  padding-right: 15px;
  text-align: right;
}

/* Input */

.inputMessage {
  bottom: 0;
  height: 32px;
  outline: none;
}

ul li span {
  height: 30px;
  display: list-item;
  font-size: 15px;
  font-weight: 500;
}

#header {
  position: fixed;
  width: 100%;
  border-bottom: none;
  position: relative;
  padding-top: 40px;
  padding: 0 24px;
  background: #03a9f4;
  z-index: 9999;
}
#header > h1 {
  font-size: 20px;
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 20px;
  letter-spacing: -1px;
  margin: 0;
  padding-top: 40px;
  font-weight: bold;
}

#closebtn {
  top: 40px;
  position: absolute;
  right: 24px;
}

#closebtn > a {
  display: block;
}
#chat {
  bottom: 24px;
  position: fixed;
  padding: 0 20px;
  width: 100%;
}

#inputMessage {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.5);
  display: none;
}



.chat {
  position: relative;
}
.chat-left {
  float: left;
  max-width: 280px;
}
.chat-right {
  float: right;
  max-width: 280px;
}
.chat span {
  font-size: 15px;
  font-weight: 600;
  color: #45423f;
  letter-spacing: -1px;
  height: 100%;
}

.chat-path-left {
  width: 14.3px;
  height: 15.9px;
  position: absolute;
  left: 0;
  top: 0;
  background: url('../img/chat/path-102.png') no-repeat !important;
}

.chat-path-right {
  width: 14.3px;
  height: 15.9px;
  position: absolute;
  right: 0;
  top: 0;
  background: url('../img/chat/path-103.png') no-repeat !important;
}

.chat-left > .chat-content {
  max-width: 100%;
  padding: 6px 21px 6px 10px;
  font-family: 'Noto Sans KR';
  margin-bottom: 17px;
  border-radius: 5px;
  background: #ffffff;
  margin-left: 6px;
}

.chat-right > .chat-content {
  max-width: 100%;
  padding: 6px 21px 6px 10px;
  font-family: 'Noto Sans KR';
  margin-bottom: 17px;
  border-radius: 5px;
  background: #FFC131;
  margin-right: 6px;
}