/*
 * Base structure
 */

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

a, a:visited {
  color: royalblue;
}

/*
 * 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 {
  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: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {

}


/*
 * Main content
 */

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


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}


/*
 *
 */
.form-item {
  margin-bottom: 2em;
}

select.form-control {
  width: auto;
  height: auto;
}

.form-wrapper {
  padding-right: 1em;
}

.form-info {
  font-size: 80%;
  color: #333;
}

.sectionTitle {
  margin-bottom: 1em;
}

.site-main {
  min-height: none;
}

h1.page-header {
  font-weight: bold;
  font-size: 2em;
  margin-top: 0.5em;
  padding-top: 0.5em;
}

.run-report {
  overflow: auto;
}

.run-report tr:hover {
  background: #dfdfdf;
}

.nav-secondary li a {
  letter-spacing: 0 !important;
  margin-right: 0 !important;
}

.site-main {
  background: white !important;
}

.reports ul {
  margin: 0;
  padding: 0;
}

.reports ul li {
  list-style: none;
  border-bottom: 1px solid #dfdfdf;
  padding: 0.5em 0;
}

.reports ul ul {
  padding-left: 1em;
}

.reports ul:last-child li:last-child {
  border-bottom: none;
}

.reports ul li span {
  width: 20px;
  display: inline-block;
}

.report-options {
  display: block;
  float: right;
  text-align: right;
  white-space: nowrap;
}

.report-options a {
  display: inline-block;
  margin-right: 0.5em;
}

@media only screen and (max-width: 767px) {
  .reports {
    font-size: 80%
  }
  .report-options a {
    margin-right: 0.1em;
  }
  .content-area {
    padding-left: 0px;
    padding-right: 0px;
  }
  .logo .custom-logo-link img {
    display: none;
  }
  #page, .site-footer {
      width: 100%;
  }
  body {
      padding-top: 0;
  }
  #masthead {
      background: white;
      border-bottom: 1px solid rgb(223,223,223);
  }
}
