/*
 * Base structure
 */

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

.navbar-fixed-top {
	height:7em !important;
}

/*
 * Global add-ons
 */

.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 {
	padding: 1em;
    display: none;
    position: fixed;
    top: 7em;
    bottom: 0;
    right: 0;
    z-index: 20;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #616161;
    border-right: 1px solid #eee;
    color: #FFF;
}
.sidebar a{
    color: #EEE;
}
.sidebar a:hover{
	
  background-color: #444444 !important;
    color: #EEE;
}
.sidebar a:active{
	
  background-color: #444444 !important;
    color: #EEE;
}

.sidebar a.active{
	
  background-color: #444444 !important;
    color: #EEE;
}

.sidebar a:visited, .sidebar a:active { 
  background-color: #444444 !important;
    color: #EEE; }
.sidebar a:hover {
  background-color: #444444 !important;
    color: #EEE; }
.sidebar a:active { 
  background-color: #444444 !important;
    color: #EEE; }


  .sidebar {
    display: block;
    visibility: visible;
    left:0px;
    bottom: 0;
  }

/* 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: #444444 !important;
}


/*
 * Main content
 */

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

.toast-top-right {
	top: 7em;
}


ol#main-list li p {
	font-size: 1em;
}

ol#main-list {
	text-align: justify;
}


.tree-node{
	margin-left: 1em; 
}

.form-control-feedback {
	padding: 0;
}

.btn.btn-default.form-control.ui-select-toggle, .form-control.ui-select-search {
	font-size: 12px;
	color: #555;
	height: 30px;
}
.ui-select-container.ui-select-bootstrap.dropdown {
	font-size: 12px;
	color: #555;
	height: 30px;
}

.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
}