
/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 80px;
	font-family: 'Ubuntu', sans-serif;
}


/*
 * Global add-ons
 */

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

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

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 15px;
  padding-left: 15px;
}
.nav-sidebar ul {
  padding-left: 20px;
}

.nav-sidebar .active > a,
.nav-sidebar .active > a:hover,
.nav-sidebar .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

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

.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default {
  color:#333;
  background-color:#c0c0c0;
  border-color:#adadad
}

input[data-number='number'] {
  font-size: 0.9em;
}

/*
input:invalid,textarea:invalid {
	border-color: #a94442;
  background: #ffe0e0;
}
*/
input.var-date:invalid {
  border-color: #a94442;
  background: #ffe0e0;
}


.modal{
    overflow-y: auto;
}

.modal-open{
    overflow:auto;
}

samp { font-weight: 600;}

input[type="radio"]:invalid + label {
    color: #a94442;
}

.table-scroll-vertical {
    max-height: 320px;
    overflow-y: auto;
    border-bottom: 1px solid #ddd;
    display: inline-block;
}

.table-scroll-vertical thead th {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
    box-shadow: 0 1px 0px #ddd;
}
