/*
 * Base structure
 */

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

a, a:hover, .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus, .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
  color: #CC0000;
}

.btn-danger {
  background-color: #CC0000;
  border-color: #CC0000;
}

/*
 * Global add-ons
 */

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

.page-header {
  padding-bottom: 9px;
  margin: 40px 0 20px;
  border-bottom: 1px solid #eee;
}

.mb20{
  margin-bottom: 20px;
}

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

.navbar-brand>img {
  display: inline;
}

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

/** pagination */

.pagination>.disabled>span, .pagination>.disabled>span:hover, .pagination>.disabled>span:focus, .pagination>.disabled>a, .pagination>.disabled>a:hover, .pagination>.disabled>a:focus{
  background-color: #505050;
}

.pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus {
  background-color: #1a242f;
}

.pagination>li>a, .pagination>li>span{
 background-color: #373737; 
}


/** tooltips (  for ie8 )*/


.tooltip.top .tooltip-arrow {
  border-top-color: #000;
}

.tooltip-inner {
  background-color: #000;
}

/*
 * 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;
  }
}

/* mobile styles */
@media (max-width: 767px) {
  
  .navbar-brand{
    font-size:14px;
  }

}


/* 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 a{
  color: #373737;
}
.nav-sidebar > li > a:hover{
  background-color: #ddd;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #373737;
}

.navbar-collapse{
  margin-right: 15px;
}


.tree-toggle{
  cursor: pointer !important;
} 


/*
 * Main content
 */

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



.signinpanel .form-control {
   display: block;
   margin-top: 15px;
}


.checkbox label::before {
  border: 2px solid #dce4ec;
}


.form-horizontal p{
  padding:0px 8px;
}


.fixed-table-toolbar .dropdown-menu{
  width: 300px;
}

.alert-success a{
  color: #CC0000;
}

.has-error .chosen-container a{
  border-color: #a94442;
}

.chosen-container {
  height: 40px;
}
.chosen-container-single .chosen-single {
  line-height: 28px;
}


.key-numbers{
  border-radius: 8px;
  border: 5px solid #f5f5f5;
  text-align: center;
  margin-top:20px;
  margin-bottom:20px;
  padding: 0px 10px 21px 10px;
}

/**** type ahead ******/

.twitter-typeahead{
  width:100%;
}

.typeahead,
.tt-query,
.tt-hint {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  margin-top:5px;
  line-height: 30px;
  outline: none;
}

.typeahead {
  background-color: #fff;
}


.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999;
}

.tt-dropdown-menu {
  width: 550px;
  margin-top: 12px;
  padding: 8px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.twitter-typeahead .tt-dropdown-menu {
  left: auto !important;
  right: 0 !important;
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 14px;
  line-height: 24px;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #373737;

}

.tt-suggestion p {
  margin: 0;
}