/* Fix user-agent */

* {
  box-sizing: border-box;
}

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

html, body, input, textarea {
  font-family:
    "SourceCodePro-Regular",
    "HelveticaNeue-Light",
    "Helvetica Neue Light",
    "Helvetica Neue",
    Helvetica,
    Arial,
    "Lucida Grande",
    sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family:
    "SourceCodePro-Regular",
    "HelveticaNeue-Light",
    "Helvetica Neue Light",
    "Helvetica Neue",
    Helvetica,
    Arial,
    "Lucida Grande",
    sans-serif !important;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 22px;
}

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

@font-face {
  font-family: 'SourceCodePro-Regular';
  src: url('fonts/SourceCodePro-Regular.eot?#iefix') format('embedded-opentype'),  url('fonts/SourceCodePro-Regular.woff') format('woff'), url('fonts/SourceCodePro-Regular.ttf')  format('truetype'), url('fonts/SourceCodePro-Regular.svg#SourceCodePro-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SourceCodePro-Bold';
  src: url('fonts/SourceCodePro-Bold.eot?#iefix') format('embedded-opentype'),  url('fonts/SourceCodePro-Bold.woff') format('woff'), url('fonts/SourceCodePro-Bold.ttf')  format('truetype'), url('fonts/SourceCodePro-Bold.svg#SourceCodePro-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}

.modal-content {
  border: 1px solid #444;
}

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

p {
  margin: 15px 0 15px;
}

/* Typography */
.bold {
  font-family: "SourceCodePro-Bold",
    "HelveticaNeue-Light",
    "Helvetica Neue Light",
    "Helvetica Neue",
    Helvetica,
    Arial,
    "Lucida Grande",
    sans-serif !important;  
}

.italic {
  font-style: italic;
}

/* Pages */

.pages {
  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 {
  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%;
}

input {
  font-size: 16px;
}

textarea {
  font-size: 20px;
}

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

/* Messages */

.chatArea {
  height: 100%;
  padding-bottom: 80px;
  padding-top: 60px;
}

.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 */

.inputContainer {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%; 
  padding-bottom: 10px;
  height: 60px;
}

.inputMessage{
  background: black !important;
  color: white !important;
  border: none;
  border-top: 1px solid #282828;
  // height: 60px;
  outline: none;
  width: 100%;
  padding: 10px 75px 10px 10px;
  /*Fix for inner shadow on iOS*/
  -webkit-appearance: none;
  border-radius: 0px;
}

.chat #input-icons {
  position: fixed;
  bottom: 0px;
  right: 0px;
  padding: 15px;
  cursor: pointer;
}

/*
html.no-touchevents .chat #input-icons {
  display: none;
}*/

.chat #input-icons #send-message-btn, .chat #input-icons #send-file {
  font-size: 25px;
  opacity: 0.3;
  color: white;
}

.chat #input-icons #send-message-btn.active {
  opacity: 1.0;
}

.participants {
  /*position: relative;*/
  /*top: 16px;*/
  float: left;
  text-align: center;
  padding: 16px;
  cursor: pointer;
}

.navbar {
  /*background: white;*/
}

.navbar-brand {
  padding: 5px 15px;
}

.navbar-brand img {
  width: 37px;
}

#participants-modal ul.users {
  padding: 0px;
}

#participants-modal ul.users li {
  font-size: 20px;
  font-weight: 700;
}

#participants-modal ul.users li .you {
  color: #999;
  font-weight: 400;
}

.read-key {
  cursor: pointer;
}

.read-key span.key {
  border-bottom: 1px solid #999;
}

.edit-key {
  display: none;
}

.form-control[readonly] {
  color: black !important;
}

.bootstrap-switch-handle-on.bootstrap-switch-primary {  
  background: #2a9fd6 !important;
  border-color: #2a9fd6 !important;
}

#fileInput {
  display: none;
}

.file-disclaimer {
  font-size: 10px;
  color: red;
  line-height: 10px;
}

.log-info {
  color: #FFF;
  font-weight: bold;
}

.log-error {
  color: yellow;
  font-weight: bold;
}

.action {
  font-style: italic;
  color: #00FF7F;
}
