.avatar {
  width: 80px;
  height: 80px;
  border: 1px solid #eee;
  border-radius: 16px;
}
h2,
h4,
h6,
.h2,
.h4,
.h6 {
  font-weight: bold;
}
.navuser {
  float: right;
  font-weight: bold;
  height: 50px;
  line-height: 50px;
}
.navuser .navuser-inner {
  display: inline-block;
  vertical-align: middle;
}
.navuser img {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #800;
  border-radius: 8px;
  vertical-align: middle;
}
@media (max-width: 1024px) {
  .navuser {
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  .navuser {
    display: none;
  }
}
.unreads {
  display: inline-block;
  vertical-align: middle;
  line-height: 2em;
}
.unreads > a {
  display: block;
}
.well-top {
  margin-bottom: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-bottomleft: 0;
  border-bottom-left-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius-bottomright: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  background: -moz-linear-gradient(top, #f5f5f5, #e0e0e0);
  background: -ms-linear-gradient(top, #f5f5f5, #e0e0e0);
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#e0e0e0));
  background: -webkit-linear-gradient(top, #f5f5f5, #e0e0e0);
  background: -o-linear-gradient(top, #f5f5f5, #e0e0e0);
  background: linear-gradient(top, #f5f5f5, #e0e0e0);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@top', endColorstr='@bottom', GradientType=0);
}
.well-bottom {
  margin-top: 0;
  -webkit-border-top-left-radius: 0;
  -moz-border-radius-topleft: 0;
  border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  -moz-border-radius-topright: 0;
  border-top-right-radius: 0;
  border-top: 0;
}
.well-middle {
  margin-top: 0;
  margin-bottom: 0;
  -webkit-border-top-left-radius: 0;
  -moz-border-radius-topleft: 0;
  border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  -moz-border-radius-topright: 0;
  border-top-right-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-bottomleft: 0;
  border-bottom-left-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius-bottomright: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}
.table-noborders,
.table-noborders tr,
.table-noborders td,
.table-noborders th {
  border: 0px!important;
}
.postrow {
  margin-left: 0px;
}
body {
  border-top: 50px solid white;
  padding-top: 20px;
}
.navbar-form {
  padding-right: 0;
  margin-right: -16px;
}
@media (max-width: 1169px) {
  .navbar-form {
    margin-top: 13px;
  }
  .navbar-form input {
    /*display:none;*/
    width: 64px;
    font-size: 12px;
    margin-left: 2px;
    padding: 3px 6px;
    height: auto;
  }
  .navbar-form .btn {
    font-size: 12px;
    padding: 3px 6px;
  }
  button {
    background: #C0C0C0;
  }
}
span.error {
  color: #f00;
}
.centreblock {
  width: 100%;
  max-width: 512px;
  margin: auto;
}
.centreblock-wide {
  max-width: 1024px;
}
.isonline {
  width: 16px;
  height: 16px;
  display: block;
}
@media (max-width: 768px) {
  .isonline {
    display: inline-block;
  }
}
.newnavbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  line-height: 50px;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0px 0px 4px #000;
  z-index: 100;
  font-weight: bold;
  transition: -webkit-transform 0.4s;
}
.newnavbar.flat {
  transform: scaleY(0);
  -webkit-transform: scaleY(0);
}
.newnavbar .container {
  position: relative;
}
.newnavbar .mobile-menu {
  display: none;
}
.newnavbar .logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 112px;
  height: 50px;
  text-align: center;
  vertical-align: middle;
}
.newnavbar .logo:hover {
  background: black;
  color: white;
}
.newnavbar .logo img,
.newnavbar .logo .fakeimg {
  vertical-align: middle;
}
.newnavbar .logo .fakeimg {
  display: inline-block;
  width: 80px;
  height: 30px;
  font-size: 0;
  background-size: 100% auto;
  background-position: 50% 50%;
}
.newnavbar .logo .fakeimg.nologo {
  font-size: 11px;
  line-height: 1em;
  overflow: hidden;
  height: auto;
}
.newnavbar .logo .env {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 10px;
  line-height: 1em;
  text-shadow: 0 1px 4px #000;
}
.newnavbar .menu ul {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 112px;
  font-size: 0;
}
.newnavbar .menu ul li {
  display: inline;
}
.newnavbar .menu ul li a {
  color: #d30000;
  display: inline-block;
  font-size: 14px;
  box-sizing: border-box;
  padding: 0 12px;
}
.newnavbar .menu ul li a:hover {
  background: black;
  color: white;
  text-decoration: none;
}
.newnavbar .menu ul li.active a {
  background: black;
}
.newnavbar .main-menu.hasproject {
  display: none;
}
.newnavbar .project-menu .fliphandle {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 17px;
  height: 50px;
  background-image: url('/img/f_unread.png');
  background-size: 100% auto;
}
.newnavbar .user {
  position: absolute;
  right: 0;
  top: 0;
  height: 50px;
  color: white;
}
.newnavbar .user img {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #800;
  border-radius: 8px;
  vertical-align: middle;
}
.newnavbar .navbar-form {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0;
  margin: 0;
}
.newnavbar .navbar-form .form-group {
  display: inline-block;
  margin-bottom: 0;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .newnavbar .navbar-form .form-group {
    display: none;
  }
}
.newnavbar .navbar-form .form-control {
  display: inline-block;
}
.newnavbar .menumobile {
  display: none;
  color: white;
}
.newnavbar .usermenu {
  display: none;
  position: absolute;
  right: 0;
  top: 50px;
  background: black;
  background: rgba(0, 0, 0, 0.8);
}
.newnavbar .usermenu ul {
  list-style: none;
  padding: 0;
  display: inline;
}
.newnavbar .usermenu ul li {
  margin: 0;
  display: inline;
  line-height: 1em;
}
.newnavbar .usermenu ul li.controls {
  text-align: right;
}
.newnavbar .usermenu ul li.controls > span {
  padding: 8px 16px;
}
.newnavbar .usermenu ul li.separator {
  height: 8px;
  background-color: rgba(0, 0, 0, 0.1);
  display: block;
}
.newnavbar .usermenu ul li > span {
  display: block;
  padding: 16px;
  position: relative;
}
.newnavbar .usermenu ul li > span:hover {
  background-color: black;
}
.newnavbar .usermenu ul li > span .logo {
  position: static;
  display: inline-block;
  height: 30px;
  float: left;
}
.newnavbar .usermenu ul li > span .projectlinks {
  font-weight: normal;
  margin-left: 16px;
}
.newnavbar .usermenu ul li.forproject > a,
.newnavbar .usermenu ul li.forproject > span {
  padding-left: 0;
}
@media (max-width: 767px) {
  .newnavbar .menumobile {
    display: inline-block;
    margin-left: 108px;
  }
  .newnavbar .menu ul {
    margin-top: 50px;
    display: none;
    width: 100%;
    background: black;
    background-color: rgba(0, 0, 0, 0.8);
  }
  .newnavbar .menu ul li {
    display: inline;
  }
  .newnavbar .menu ul li a {
    display: block;
  }
}
.well.greyed {
  opacity: 0.8;
  background: white;
}
#userlist {
  min-height: 34px;
  height: auto;
  margin-bottom: 8px;
}
.selected-user-list,
.selected-user {
  display: inline-block;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  margin: 4px;
  padding: 4px;
  position: relative;
}
.selected-user-list .selected-user.placeholder,
.selected-user .selected-user.placeholder {
  background: #eee;
  font-style: italic;
  color: #aaa;
}
.selected-user-list .selected-user img,
.selected-user .selected-user img {
  width: 16px;
  height: 16px;
  border-radius: 16px;
}
.selected-user-list .selected-user .removelink,
.selected-user .selected-user .removelink {
  /* ?? */
  margin-left: 4px;
}
.searchreturn {
  position: absolute;
  display: none;
  background: white;
  border: 1px solid #ccc;
  padding: 4px;
  max-height: 200px;
  width: 200px;
  overflow-y: auto;
}
.searchreturn .searchresult {
  padding: 4px;
  border-bottom: 1px solid #ccc;
  height: 40px;
  /*32+4+4*/
  cursor: pointer;
}
.searchreturn .searchresult img {
  width: 32px;
  height: 32px;
  float: left;
  border: 1px solid #ccc;
  border-radius: 16px;
}
.searchreturn .searchresult span {
  font-weight: bold;
}
.searchreturn .searchresult:last-child {
  border-bottom: 0;
}
.ui-datepicker {
  background: white;
  border: 1px solid #ccc;
  padding: 4px;
  border-radius: 16px;
  z-index: 100!important;
}
.ui-datepicker table th,
.ui-datepicker table td {
  padding: 4px 8px;
}
.ui-datepicker .ui-datepicker-prev {
  float: left;
  margin-right: 8px;
}
.ui-datepicker .ui-datepicker-next {
  float: right;
  margin-left: 8px;
}
.ui-datepicker .ui-datepicker-today {
  font-weight: bold;
}
