/* Fix user-agent */

* {
  box-sizing: border-box;
}

html {
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

html, input {
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Comic Sans MS", "Comic Sans", cursive !important;
}

ul {
  list-style: none;
  word-wrap: break-word;
}

/* Pages */

.pages {
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

.page {
  height: 100%;
  position: absolute;
  width: 100%;
}

/* Login Page */

.login.page {
  background-color: #000;
  z-index: 3;
  display: block;
}

.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: gray;
  font-size: 70%;
  margin: 5px;
  text-align: center;
}

/* To do */
.todo-area {
    /*background-color: #729196;*/
}

.item-control-visible {
    float: right;
    display: flex;
}

.item-control-hidden {
    display: none;
}

.item-owner {
    font-size: 85%;
}

.ow {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  display: inline !important;
}


.animate-background {
 -webkit-animation: flash-background 0.1s infinite; /* Safari 4+ */
  -moz-animation:    flash-background 0.1s infinite; /* Fx 5+ */
  -o-animation:      flash-background 0.1s infinite; /* Opera 12+ */
  animation:         flash-background 0.1s infinite; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes flash-background {
0%, 49% {
    background-color: rgb(117,209,63);
}
50%, 100% {
    background-color: #e50000;
}
}

/* Messages */

.chatArea {
  height: 100%;
  padding-bottom: 60px;
}

.messages {
  height: 100%;
  margin: 0;
  overflow-y: scroll;
  padding: 10px 20px 10px 20px;
}

.message.typing .messageBody {
  color: gray;
}

.username {
  font-weight: 700;
  overflow: hidden;
  padding-right: 15px;
  text-align: right;
}

/* Input */

.inputMessage {
  border: 10px solid #000;
  bottom: 0;
  height: 60px;
  left: 0;
  outline: none;
  padding-left: 10px;
  position: absolute;
  right: 0;
  width: 100%;
}
