/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  background: #fff ;
}

body.login-page {
  background: url("/images/bg.jpg") no-repeat top center fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  padding-top: 0;
}

body.login-page div.login {
  margin:0;
  padding-top:0;
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  background: linear-gradient(180deg,#00a8ff,#000);
  Filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00a8ff', endColorstr='#000000');
  opacity: .4;
  z-index: 0;
}

.login-row {
  padding-top:100px;
}

input.login {
  background:rgba(0,0,0,.60) !important;
  color:#fff;
  border-radius:0;
}
table.login {
  background:rgba(0,0,0,.40) !important;
}
table.login thead {
  background:rgba(0,0,0,.50) !important;
}
h2.login {
  text-shadow: 1px 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
}

/*
 * Global add-ons
 */

.navbar-inverse {
  background:#333 url("/images/bg.jpg") center;
}
.navbar-inverse .navbar-brand , .navbar-inverse .navbar-nav>li>a {
  color:#fff;
}


.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}
.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.answer-scroll {
  height:200px;
  overflow:auto;
}
.centered {
  float: none;
  margin: 0 auto;
}

.scrollable-chat {
  height: auto;
  max-height: 200px;
  overflow-x: hidden;
}

.error {
  color: #a94442;
}

ul.nav-sidebar li span {
  margin-right:10px;
} 