/* fixed header and static bottom */
html {
  position: relative;
  min-height: 100%;
}
body {
  margin-top: 50px; /* margin-top must match .navbar height */
  margin-bottom: 60px; /* margin-bottom must match .footer height */
}
body > .container {
  padding-bottom: 10px;
}
.page-header {
  margin-top: -10px; /* remove the 40px margin-top, and allow for pages without the standard h1 */
}

/* navbar-inverse customisations */
.navbar-custom .navbar-brand {
  color: #ddd;
}
.navbar-custom .navbar-nav > li > a {
  color: #ddd;
}
@media (max-width: 767px) {
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
    color: #ddd;
  }
}
.navbar-nav > li > a.profile-image {
  padding-top: 8px;
  padding-bottom: 10px;
}

/* make the headings smaller */
h1 {
  font-size: 32px;
  margin-bottom: 0;
}

/* static footer */
.footer {
  position: absolute;
  padding: 10px 0 0 0;
  bottom: 0;
  width: 100%;
  height: 60px; /* fixed height footer */
  background-color: #f5f5f5;
}
.footer p {
  margin: 0;
}
.footer .fa-heart {
  color: #c0392b;
}

/* custom label colours */
.label-color-0 { background-color: #5bc0de; }
.label-color-1 { background-color: #5cb85c; }
.label-color-2 { background-color: #f0ad4e; }
.label-color-3 { background-color: #d9534f; }
.label-color-4 { background-color: #428bca; }
.label-color-5 { background-color: #a9059b; }
.label-color-6 { background-color: #4405a9; }
.label-color-7 { background-color: #0a797f; }
.label-color-8 { background-color: #12780d; }
.label-color-9 { background-color: #9a7711; }
.label-color-10 { background-color: #780d0d; }
.label-color-11 { background-color: #123fa6; }
.label-color-12 { background-color: #78036d; }
.label-color-13 { background-color: #1f1f1f; }

/* utility classes */
.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nobr {
  white-space: nowrap;
}
.fa-twitter {
  color: #55acee;
}

/* support for the block form used on the login and related pages */
.small-block-form-title {
  color: #555;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}
.small-block-form-block {
  margin-top: 20px;
  /*background-color: #f7f7f7;
  -moz-box-shadow: 0 2px 2px rgba(0,0,0,0.3);
  -webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 2px rgba(0,0,0,0.3);*/
  padding: 20px 0 10px 0;
}
.small-block-form-img {
  width: 96px;
  height: 96px;
  text-align: center;
  background: #a0c3ff;
  color: #4374e0;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px auto;
}
.small-block-form-img-text {
  margin-top: 10px;
  font-size: 75px;
}
.small-block-form {
  max-width: 330px;
  margin: 0 auto 0 auto;
  padding: 15px;
}
.small-block-form .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
}
.small-block-form .form-control:focus {
  z-index: 2;
}
.small-block-form input:first-of-type {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: -1px;
}
.small-block-form input:not(:first-of-type):not(:last-of-type) {
  border-radius: 0;
  margin-bottom: -1px;
}
.small-block-form input:last-of-type {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.small-block-form button[type=submit] {
  margin-top: 10px;
}
.small-block-form-footer {
  display: block;
  margin-top: 10px;
}
.small-block-form-footer a:last-of-type {
  float: right;
}
.small-block-form-footer a:first-of-type {
  float: left;
}