body {
  padding: 0;
  margin: 0;
  overflow-y: scroll;
}

body,
input,
textarea {
  font-family: 'DejaVu Sans Mono', monospace;
  font-size: 12px;
}

input[type="checkbox"] {
  margin: 0;
  margin-right: 1em;
}

label {
  vertical-align: 3px;
}

input,
textarea {
  background: none;
  border: none;
  outline: none;
  resize: none;
}

h4 {
  font-size: 12px;
  margin: 1em 0;
  font-weight: bold;
}

pre {
  tab-size: 2;
  white-space: pre-wrap;
  word-wrap: break-word;
  tab-size: 4;
  -moz-tab-size: 4;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 0;
}

ul li {
  list-style: inside;
}

.hidden {
  display: none;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

.messages {
  border-left: 1px solid;
}

#messages {
  padding-top: 2em;
}

.message {
  padding-bottom: 1em;
}

.nick {

  float: left;
  width: 16em;
  margin-left: -17em;
  margin-right: 1em;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
}

.trip {
  font-size: 10px;
}

.text {
  margin: 0;
  margin-left: 1em;
}

.text p {
  margin: 0;
}

.select-wrapper {
  background-repeat: no-repeat;
  background-size: cover;
  float:left;
  display: block;
  position: relative;
  width: 20px;
  height: 20px;
  margin: 5px;
}
.fotterbutton {
  width: 20px;
  height: 20px;
  margin-right: 100px;
  opacity: 0;
  filter: alpha(opacity=0); /* IE 5-7 */
}

#footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}

#chatform {
  border-top: 1px solid;
}

#chatinput {
  width: 100%;
  padding: 1em;
  box-sizing: border-box;
}

#sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  padding: 1em;
  border-left: solid 1px;
  overflow-y: auto;
}

#sidebar-content {
  width: 180px;
}

@media only screen and (max-width: 600px) {
  .messages {
    border: none;
  }
  #messages {
    padding: 0.5em;
  }
  .message {
    padding-bottom: 0.5em;
  }
  .nick {
    margin: 0;
    float: none;
    text-align: left;
    display: inline;
  }
  .text {
    display: inline;
  }
  #sidebar {
    top: 0.5em;
    bottom: auto;
    right: 0.5em;
    border: none;
  }
}
