/*! project specific CSS goes here. */

/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}


/*
 * 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 */
@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 {
  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;
}

.main .location-info {
  margin-top: 20px;
}


/*
 * Dashboard stuff
 */
.dashboard-metric {
  margin-top: 0;
  margin-bottom: 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%;
}

/*
 * Rickshaw chart style
 */

#chart_container {
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
}
#chart {
  position: relative;
  left: 40px;
}
#y_axis {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
}
#legend {
  display: inline-block;
  vertical-align: top;
  margin: 0 0 0 10px;
}

/*
 * Fixed table header
 */
table .header-fixed {
  position: fixed;
  top: 40px;
  z-index: 1020;
  /* 10 less than .navbar-fixed to prevent any overlap */
  border-bottom: 1px solid #d5d5d5;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, 0.1);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  /* IE6-9 */
}

/*
 * Custom buttons
 */

.save-button {
  margin-top: 10px;
  margin-bottom: 10px;
}

/*
 * Branding styles

primary-------
earth (blue) 0076be
sun (orange) f7921e
white

secondary-----
tomato (pink/red) ef373e
citrus (dark orange) f26a36
daisy (yellow) ffe600
leaf (green) 69b342
lily (purple) 8d54a2
concrete (dark grey) 5e6367
slate (dark blue/grey) 39607a
gravel (light blue) 9cbccd
black 231f20

 */


 /*
mg colors
- line 1: earth
- line 2: lily
- line 3: sun
- line 4: tomato
- line 5: leaf
- line 5: daisy
 */

.mg-line1-color {
  stroke: #0076be;
}
.mg-area1-color {
  fill: #0076be;
}
.mg-hover-line1-color {
  fill: #0076be;
}
.mg-line1-legend-color {
  color: #0076be;
  fill: #0076be;
}

.mg-line2-color {
  stroke: #8d54a2;
}
.mg-area2-color {
  fill: #8d54a2;
}
.mg-hover-line2-color {
  fill: #8d54a2;
}
.mg-line2-legend-color {
  color: #8d54a2;
  fill: #8d54a2;
}

.mg-line3-color {
  stroke: #f7921e;
}
.mg-area3-color {
  fill: #f7921e;
}
.mg-hover-line3-color {
  fill: #f7921e;
}
.mg-line3-legend-color {
  color: #f7921e;
  fill: #f7921e;
}

.mg-line4-color {
  stroke: #ef373e;
}
.mg-area4-color {
  fill: #ef373e;
}
.mg-hover-line4-color {
  fill: #ef373e;
}
.mg-line4-legend-color {
  color: #ef373e;
  fill: #ef373e;
}

.mg-line5-color {
  stroke: #69b342;
}
.mg-area5-color {
  fill: #69b342;
}
.mg-hover-line5-color {
  fill: #69b342;
}
.mg-line5-legend-color {
  color: #69b342;
  fill: #69b342;
}

.mg-line6-color {
  stroke: #ffe600;
}
.mg-area6-color {
  fill: #ffe600;
}
.mg-hover-line6-color {
  fill: #ffe600;
}
.mg-line6-legend-color {
  color: #ffe600;
  fill: #ffe600;
}
.mg-markers text {
  font-size: 1.0rem;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 40px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 40px;
  background-color: #f5f5f5;
}

.footer .container {
  margin-left: 25%;
}
 