body {
  overflow-y: scroll;
  background-color: rgb(248, 248, 248);
  color: #6A6D72 ;
  font-family: 'Roboto',sans-serif;
}

h1, h2, h3, h4, th {
  font-family: 'Titillium Web', sans-serif;
  color: #31295C;
}

a {
  color:#4AA7C8;
}

.scrollable-menu {
  height: auto;
  max-height: 518px;
  overflow-x: hidden;
}

#events-table td:nth-child(1) {
  white-space: nowrap;
}

#events-table td:nth-child(2) {
  white-space: nowrap;
}

.flash-alert-box {
  position: absolute;
  width: 80%;
  left:10%;
  z-index: 1000;
  margin: auto;
  top: 55px;
}

/* This is a fix for the dropdown menu inside the table,
  which seems to be a common issue with bootstrap
*/
.reports-table .fixed-table-body {
  overflow: visible;
}

div.vega-actions a{
  padding: 5px;
}


/* navbar customs */

.navbar-default{
  background-color: rgb(253, 253, 253);
  border-color: rgb(253, 253, 253); 
  font-weight: 600;
  font-family: 'Titillium Web', serif;
  font-size: 17px;
  border-radius:0;
  }


.navbar  span.glyphicon{
  margin-right:10px;
  color: #4B0082;
}

.nav-pills > li.active > a {
  border-color: #4b0082 !important; 
}
.nav-pills > li > a:hover {
  border-color: #4b0082 !important;
}
.nav-pills > li > a:focus {
  border-color: #4b0082 !important; 
}
.nav-pills > li > a {
  border-color: #4b0082 !important;
}

.navbar  span.caret{
  margin-left:5px;
}

.navbar-nav>.open>a, .navbar-nav>.open>a:focus, .navbar-nav>.open>a:hover {
  color: rgb(61,56,53);
}


.panel-default {
  border-color: rgb(255, 255, 255);
  background-color: rgb(255, 255, 255);
  padding: 15px;
  height: 95%;
  margin-bottom: 25px;
}

/* equal makes the columns in the row equal height */
.equal {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-grid;
  display: flex;
  flex-wrap: wrap;
}

.valign{
  display:flex;
  align-items: center;
}

.nav-pills {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #6A6D72;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
  background-color: white;
  opacity: 0.7;
  color: #6A6D72;
  border: 1px solid #4B0082 !important;
}


.dygraph-ylabel::first-letter{
  text-transform: uppercase;
}


/* systems overview page */

div.system_thumb{
  border:1px solid #ccc;
  min-height: 400px;
}

div.system_thumb:hover{
  border: 1px solid #4B0082;
}

div.system_col a{
  text-decoration: none;
}

div.system_thumb img{
  padding:10px 10px 10px 10px;
  max-width:100%;
  max-height:350px;
}

h3.thumb_title{
  text-align:left;
}

div.alerts-table table tr{
  cursor:pointer;
}

/* Shared application polish */

.imp-app {
  min-height: 100vh;
}

.imp-app .container-fluid {
  padding-right: 22px;
  padding-left: 22px;
}

.imp-navbar {
  min-height: 58px;
  margin-bottom: 20px;
  border: 0;
  border-bottom: 3px solid #4b0082;
  box-shadow: 0 3px 14px rgba(49, 41, 92, 0.08);
}

.imp-navbar .navbar-brand {
  height: 55px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.imp-navbar-right {
  display: flex;
  align-items: stretch;
}

.imp-navbar .navbar-nav > li > a {
  min-height: 55px;
  padding-top: 18px;
  padding-bottom: 17px;
  color: #4d4f55;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.imp-navbar .navbar-nav > li > a:hover,
.imp-navbar .navbar-nav > li > a:focus {
  color: #4b0082;
  background: #f6f3fb;
}

.imp-navbar .navbar-nav > .open > a,
.imp-navbar .navbar-nav > .open > a:focus,
.imp-navbar .navbar-nav > .open > a:hover {
  color: #4b0082;
  background: #f6f3fb;
}

.imp-navbar .dropdown-menu {
  min-width: 190px;
  padding: 7px 0;
  border: 1px solid #e6e2ed;
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(49, 41, 92, 0.14);
}

.imp-navbar .dropdown-menu > li > a {
  padding: 8px 16px;
  color: #4d4f55;
  font-size: 14px;
}

.imp-navbar .dropdown-menu > li > a:hover,
.imp-navbar .dropdown-menu > li > a:focus {
  color: #4b0082;
  background: #f6f3fb;
}

.imp-navbar .navbar-toggle {
  margin-top: 11px;
  border-color: #d9cfee;
}

.imp-navbar .navbar-toggle:hover,
.imp-navbar .navbar-toggle:focus {
  background: #f6f3fb;
}

.imp-navbar .navbar-toggle .icon-bar {
  background-color: #4b0082;
}

.imp-app .panel-default {
  border: 1px solid #e6e2ed;
  border-top: 3px solid #4b0082;
  border-radius: 6px;
  box-shadow: 0 5px 18px rgba(49, 41, 92, 0.07);
}

.imp-app .panel-default > .panel-heading {
  border-bottom: 1px solid #eeeaf2;
  background: #fff;
  color: #31295c;
  font-family: 'Titillium Web', sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.imp-app .nav-tabs {
  border-bottom: 1px solid #e6e2ed;
}

.imp-app .nav-tabs > li > a {
  border: 0;
  border-bottom: 3px solid transparent;
  color: #6a6d72;
  font-weight: 600;
}

.imp-app .nav-tabs > li > a:hover,
.imp-app .nav-tabs > li > a:focus {
  border-color: transparent transparent #d9cfee;
  background: #fbfafc;
  color: #4b0082;
}

.imp-app .nav-tabs > li.active > a,
.imp-app .nav-tabs > li.active > a:focus,
.imp-app .nav-tabs > li.active > a:hover {
  border: 0;
  border-bottom: 3px solid #4b0082;
  background: transparent;
  color: #4b0082;
}

.imp-app .btn {
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.imp-app .btn-primary {
  border-color: #4b0082;
  background: #4b0082;
}

.imp-app .btn-primary:hover,
.imp-app .btn-primary:focus {
  border-color: #372060;
  background: #372060;
}

.imp-app .btn-default {
  border-color: #d9cfee;
  color: #4b0082;
  background: #fff;
}

.imp-app .btn-default:hover,
.imp-app .btn-default:focus {
  border-color: #4b0082;
  color: #fff;
  background: #4b0082;
}

.imp-app .form-control {
  border-color: #d9d6df;
  border-radius: 4px;
  box-shadow: none;
}

.imp-app .form-control:focus {
  border-color: #4aa7c8;
  box-shadow: 0 0 0 2px rgba(74, 167, 200, 0.14);
}

.imp-app .table > thead > tr > th {
  border-bottom: 2px solid #d9cfee;
  color: #31295c;
  font-weight: 700;
}

.imp-app .table > tbody > tr > td {
  border-top-color: #eeeaf2;
  vertical-align: middle;
}

.imp-app .table-hover > tbody > tr:hover,
.imp-app .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #fbfafc;
}

.imp-footer {
  border-top: 1px solid #e6e2ed;
  background: #fff;
  box-shadow: 0 -3px 14px rgba(49, 41, 92, 0.04);
}

@media (max-width: 767px) {
  .imp-app .container-fluid {
    padding-right: 12px;
    padding-left: 12px;
  }

  .imp-navbar .navbar-nav > li > a {
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}