ul.errors {
  list-style-type: none;
  padding: 0;
  color: red;
}

.tooltip-inner {
  min-width: 150%;
}

nav.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
}

.profile {
  display: inline-block;
  width: 30px;
  g height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

a.notif {
  position: relative;
  display: block;
  height: 50px;
  width: 50px;
  background: url('http://i.imgur.com/evpC48G.png');
  background-size: contain;
  text-decoration: none;
}

.num {
  position: absolute;
  right: 11px;
  top: 6px;
  color: #fff;
}

.navbar {
  border: 0px;
  min-height: 44px;
  margin-bottom: 0px;
}

#main-navbar{
    z-index: 99;
}

.navbar-toggle {
  margin-top: 5px;
  margin-bottom: 5px;
}

.container-fluid {
  max-width: 1200px;
  margin: auto;
  padding: 0;
}

.navbar-nav>li>a {
  padding: 2px 8px 2px 8px;
}

.navbar-item {
  min-width: 50px;
}
/*
.navbar-inverse .navbar-nav>.active>a{
  color: darkorange;
} */

.navbar-item>a>img {
  height: 26px;
  width: 22px;
  margin: 0px auto;
  display: block;
  padding: 2px 0px 2px 0px;
  /* float: left; */
}

.navbar-item>a>p {
  font-size: .98em;
  margin-bottom: 0px;
  line-height: 12px;
  /* margin-top: 10px; */
  /* margin-left:5px; */
  /* display: inline-block; */
}

/* Main site nav: a heavier, text-first bar instead of the tiny
   icon-over-label stack above - the bitmap icons read as cramped/dated at
   real size, so they're hidden here in favor of larger, evenly-weighted
   text tabs with a clear hover/active indicator. Scoped to #main-navbar so
   it doesn't touch unrelated dropdown-menu/navbar-item usage elsewhere. */
#main-navbar.navbar {
  min-height: 64px;
  background: linear-gradient(180deg, #16233d 0%, #0d1626 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

#main-navbar .navbar-nav > li > a > img:not(.profile) {
  display: none;
}

#main-navbar .navbar-nav > li > a {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #cbd5e1;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

#main-navbar .navbar-nav > li > a > p {
  margin: 0;
  line-height: 1;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

#main-navbar .navbar-nav > li > a:hover,
#main-navbar .navbar-nav > li > a:focus,
#main-navbar .navbar-nav > li.open > a {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: #f5a623;
}

#main-navbar .navbar-nav > li > a .caret {
  margin-left: 6px;
  opacity: 0.7;
}

#main-navbar .navbar-header .navbar-band {
  display: flex;
  align-items: center;
  height: 64px;
}

@media (max-width: 767px) {
  #main-navbar .navbar-nav > li > a {
    height: auto;
    padding: 14px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  #main-navbar .navbar-nav > li > a:hover,
  #main-navbar .navbar-nav > li > a:focus,
  #main-navbar .navbar-nav > li.open > a {
    border-left-color: #f5a623;
    border-bottom: none;
  }
}

/* The expanded tab menus (Classes/Problems/Games dropdowns): a card-style
   menu with a soft shadow and a per-row hover highlight instead of the old
   flat white box with a jarring blue gradient hover that no longer matches
   the navy/orange nav above it. Scoped to #main-navbar so other unrelated
   dropdown-menus on the site (e.g. inside modals) are untouched. */
#main-navbar .dropdown-menu {
  margin-top: 6px;
  padding: 8px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

#main-navbar .dropdown-menu > li {
  margin: 0;
}

#main-navbar .dropdown-menu > li > a {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #1e293b !important;
  background: #ffffff !important;
  transition: background-color 0.12s ease, color 0.12s ease;
}

#main-navbar .dropdown-menu > li > a > i {
  margin-right: 12px;
  width: 16px;
  text-align: center;
  color: #94a3b8;
  transition: color 0.12s ease;
}

#main-navbar .dropdown-menu > li > a:hover,
#main-navbar .dropdown-menu > li > a:focus {
  background: #fff4e5 !important;
  color: #16233d !important;
}

#main-navbar .dropdown-menu > li > a:hover > i,
#main-navbar .dropdown-menu > li > a:focus > i {
  color: #f5a623;
}

.navbar-subitem>a {
  display: inline-block;
}

.navbar-subitem>a>img {
  /* float: 'left'; */
  height: 20px;
  width: 20px;
  display: inline-block;
}

.navbar-subitem>a>p {
  display: inline-block;
  margin: 0px;
  line-height: 20px;
  font-size: .9em;
}

.dropdown-menu>li {
  margin-left: 10px;
  margin-right: 10px;
}

.dropdown-menu>li>a{
    padding: 5px
}

.dropdown-menu>li>a>i{
    margin-right: 10px
}

.dropdown-menu a{
    color: #111111 !important;
    background: #ffffff !important;
 }
.dropdown-menu a:hover{
    background: #014464!important;
    background: linear-gradient(left, #0272a7, #013953);
    background: -moz-linear-gradient(left, #0272a7, #013953)!important;
    background: -webkit-gradient(linear, 100% 100%, 0% 0%, from(#0272a7), to(#013953))!important;
    color: #f8f9fa !important;
}
/* imgs.css("float", "left" ); */

/* ps.css({"margin-top":"10px", "margin-left":"5px", "display":"inline-block"}); */
/* badges.css("display", "none"); */
#notification-badge, #message-badge, #friend-badge, #task-badge, #moment-badge {
  background-color: red;
  height: 13px;
  width: 13px;
  font-size: 10px;
  padding: 3px 0px 0px 0px;
  position: absolute;
  margin-left: 45px;
  margin-top: -42px;
}

#friend-badge {
  height: 8px;
  width: 8px;
  margin-left: 40px;
  margin-top: -40px;
}

#task-badge {
  margin-left: 30px
}

.signin-dialog{
    overflow: auto;
    max-height: 100%;
}

.text-ellipsis{
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.sidenav-openbtn {
    background-color: #d9edf7;
    /* border-width: 1; */
    /* margin-left: 10px; */
    font-size: 24px;
    padding: 0 5px;
}

@media only screen and (max-width: 768px) {
    .limitedvisible{
        display: none;
    }
}

*{
    outline: none;
}

.nav-title-selected{
    color: orange;

}

.nav-selected{
    background-color: rgb(0,0,0);
}

#page-footer {
    background-color: #f5f5f5;
    margin-top: 50px;
}

#page-footer a{
    color: black;
}

#page-footer .btn-default{
     background:transparent;
     border: 1px solid #2b9aca;
     margin-top: 10px;
}

.foot-head{
    margin: 20px 0 10px 0;
    color: #2b9aca;
}

.title-logo {
  background-image: url("../logos/ma-logo.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: 20px 20px;
  padding-left: 30px;
  font-size: large;
}
.profile-bg {
  background-image: url("../avatars/generic_profile_background.jpg");
  background-size: auto 100%;
  border-bottom: 1px solid white;
  border-radius: 4px 4px 4px 4px;
  margin-bottom: 20px;
  height: 120px;
  width: 100%;
  text-align: center;
}

.profile-bg h1 {
  padding-top: 30px;
  color: white;
  margin: auto
}

.profile-bg h3 {
  padding-top: 5px;
  color: yellow;
  margin: auto
}
.table-wrapper {
  overflow-x: auto
}
.w-5 {
  width: 5%;
  text-align: center;
}

  padding-top: 30px;
  margin: auto
}

  color: yellow;
  margin: auto
}
