/*
Cyan: #5ce1e6
Red: #ed1c24
Gray: #545454
*/

html,
body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background-color: #545454;
    color: white;
}
h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.3rem;
}
h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 2rem;
}
h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    color: black;
    padding: 1em 0 0 0;
}
a, a.nav-link, button.btn-link {
  text-decoration: none;
  color: white;
}
a:hover, button.btn-link:hover {
    text-decoration: none;
    color: #5ce1e6;
}
.bg-dark { background-color: #545454 !important; }
.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 130px 15px 0;
}

.wrap > .grid {
    padding: 110px 15px 0;
    color: black;
    background-color: white;
}
.grid-view td a {
  color: #545454;
}

.footer {
    height: 60px;
    background-color: #545454;
    padding-top: 20px;
    color: white;
}

.jumbotron {
  margin-left: 5rem;
}
.jumbotron h1 {
  font-size: 2.5rem;
}
.accent { color: #5ce1e6; }
.results { background-color: white; }
.detail-view { color: white; }
.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
    background-color: #545454;
    color: white;
}
.grid-view tr td:last-child {
  min-width: 5em;
  text-align: center;
}
.grid-view .summary { color: #545454; }
#matches tbody tr:hover {
  background-color: #c2f7f9;
}

.page-item.active .page-link {
  background-color: #5ce1e6;
  border-color: #2fcad0;
}
.page-link {
  color: #5ce1e6;
}

.table > :not(:first-child) {
  border-top: 1px solid;
}

.grid-view th { background-color: #545454; }
#matches tr td:last-child {
  min-width: 5em;
  text-align: left;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}
.required label.control-label:after {
    content: ' *';
    color: #ed1c24;
}
.help-block {
    color: #ed1c24;
}
.control-label {
  font-weight: bold;
}
.form-group {
  margin-bottom: 1em;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}
.navbar-brand { color: white; font-family: 'Roboto Slab', serif; }
.navbar-brand img { height: 100px; }
/* .navbar-brand span { font-size: 200%; color: white; padding-left: 5rem; display: block; } */

.grid-view th, table.sticky th {
  position: sticky;
  top: 125px;
  /* background-color: white; */
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
    .navbar-brand img { height: 50px; }
    .wrap > .container {
        padding: 80px 15px 0;
    }
    .grid-view th, table.sticky th {
      position: sticky;
      top: 75px;
      /* background-color: white; */
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.opsMenu {
    right: 0;
    margin-top: 30px;
    text-align: right;
    font-size: 0.9em;
    color: #aaa;
}
.grid .opsMenu a { color: #545454; }
.opsMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.opsMenu li {
    display: inline;
}
.opsMenu li:before {
    content: " | ";
}
.opsMenu li:first-child:before {
    content: "";
}
.opsMenu li button {
    padding: 0;
    font-size: 1em;
    color: #666;
}

.persist {
    color: #ed1c24;
}
span.tt {
    margin-left: 0.5em;
    background-color: #ccc;
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 50%;
    margin-left: 0.5rem;
}

#loader {
    border: 16px solid #ddd; /* Light grey */
    border-top: 16px solid #0055a4; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: fixed;
    bottom: 50px;
    left: 45%;
    display: none;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.navbar { padding: 0.5rem 0; }
.nav-pills .nav-link {
    background-color: #5ce1e6;
    margin-left: 1em;
}
a.nav-link:hover, .nav-pills .show > .nav-link {
    background-color: #5ce1e6;
    color: #0b6a6e;
}
.nav-pills a.nav-link.active {
    background-color: #0b6a6e;
    color:white;
}

/* .grid-view .table th {
    background-color: #eee;
    font-weight: normal;
} */
.grid-view .table th, .grid-view .table td, .modal-body .detail-view th, .modal-body .detail-view td {
    padding: 0.2em;
    font-size: 80%;
}
.grid-view .form-control {
  padding: 0.2em;
  font-size: 90%;
}

.table.table-condensed th {
    background-color: #eee;
    font-weight: normal;
}
.table.table-condensed th, .table.table-condensed td {
    padding: 0.2em;
    font-size: 80%;
}
.table.table-condensed .form-group {
    margin-bottom: 0;
}
.condensed {
    font-size: 80%;
}


/* .sideNav {
    background-color: #eee;
    height: 100vh;
    padding: 0.3rem;
}
.sideNav li {
    margin: 0.3em;
}
.sideNav a {
    color: #2e4e4f;
    padding: 0;
    display: inline;
} */
/* .searchType {
    list-style: none;
    margin: 0;
    padding: 0;
}
.searchType li {
    display: inline;
} */


#searchContainer {
  margin-left: auto;
  text-align: center;
}
#searchContainer button.active, .ledgerMenu button.active {
    color: #5ce1e6;
    text-transform: uppercase;
}
#searchContainer button {
    color: #666;
}
#searchContainer button, .ledgerMenu button {
      font-size: 80%;
      padding: 0;
      color: #666;
      text-decoration: none;
  }
#searchContainer button:hover {
      text-decoration: none;
      color: #5ce1e6;
  }
#searchContainer button:before, .ledgerMenu button:before {
    content: " | ";
}
#searchContainer button:first-child:before, .ledgerMenu button:first-child:before {
    content: "";
}

#lastContainer {
  margin-left: 0.5rem;
  min-width: 120px;
}
#lastContainer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  display: none;
  padding: 0.5rem;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;

}
#lastContainer img, #phones img {
  height: 16px;
  margin-left: 0.25em;
}
#testSystem {
  position: absolute;
  right: 0.25rem;
  top: 1rem;
  color: white;
  background-color: #ed1c24;
  padding: 2px 4px;
  font-size: 80%;
  width: 130px;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
}
h5 img {
  height: 16px;
}

.nb {
    color: Green;
    text-transform: uppercase;
}
a:focus { outline: none; }
.card-body button.bModal { border: none; background-color: transparent; }

.login_links {
  margin: 1em 0 0 0;
  font-size: 80%;
}

.btn-primary {
  background-color: #5ce1e6;
  border-color:  #5ce1e6;
  color: #0b6a6e;
}
.btn-primary:hover {
  background-color: #5ce1e6;
  border-color:  #5ce1e6;
}
.btn-shadow-primary {
  background: linear-gradient(#4bb2b6, #5ce1e6);
  letter-spacing: 1px;
  color: white;
  padding: 0.8em;
}

.btn-shadow-primary:hover {
  background: linear-gradient(#368083, #4bb2b6);
  color: white;
}

.noteRow td { border-top: 1px solid #999; }
.pdfIcon img {
  height: 32px;
}
.searchTerm {
  color: #5ce1e6;
  font-size: 120%;
}
#matchView {
  min-height: 150px;
}
