.detailcard {
  box-shadow:
    0 2px 5px 0 rgba(0, 0, 0, 0.16),
    0 2px 10px 0 rgba(0, 0, 0, 0.12);
  margin: 0px 0px 25px 0px;
}
.detailheader {
  background-color: #f0f2f4;
  padding: 10px 20px;
}

[data-info='green' i],
[color='green' i],
[colour='green' i] {
  color: green;
}

[data-info='red' i],
[color='red' i],
[colour='red' i] {
  color: red;
}

[data-info='blue' i],
[color='blue' i],
[colour='blue' i] {
  color: blue;
}

[data-info='gray' i],
[color='gray' i],
[colour='gray' i] {
  color: gray;
}

[data-info='lime' i],
[color='lime' i],
[colour='lime' i] {
  color: #00c000;
}

[data-info='maroon' i],
[color='maroon' i],
[colour='maroon' i] {
  color: maroon;
}

[data-info='navy' i],
[color='navy' i],
[colour='navy' i] {
  color: navy;
}

[data-info='silver' i],
[color='silver' i],
[colour='silver' i] {
  color: #a0a0a0;
}

[data-info='yellow' i],
[color='yellow' i],
[colour='yellow' i] {
  color: #d0d020;
}

[data-info='purple' i],
[color='purple' i],
[colour='purple' i] {
  color: purple;
}

[data-info='teal' i],
[color='teal' i],
[colour='teal' i] {
  color: teal;
}

[data-info='olive' i],
[color='olive' i],
[colour='olive' i] {
  color: olive;
}

[data-info='fuchsia' i],
[color='fuchsia' i],
[colour='fuchsia' i] {
  color: fuchsia;
}

[data-info='aqua' i],
[color='aqua' i],
[colour='aqua' i] {
  color: #00c0f0;
}

[data-info='white' i],
[color='white' i],
[colour='white' i] {
  color: white;
}

/*********************** STYLES FOR LOADER ANIMATION ************************/

.pageloader {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  margin: -60px 0 0 -60px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*********************** FOOTER ************************/
.w3-black,
.w3-hover-black:hover {
  color: #fff !important;
  background-color: #000 !important;
}

html,
body,
#root,
#patriot-root {
  height: 100%;
  margin: 0;
}

#footer {
  min-height: 50px;
  width: 100%;
  padding: 10px;
  text-align: center;
}

#footer > p {
  margin: 0px;
}

/* Default lists have a lot of vertical padding between items, so reduce this. */
.list-group-item {
  padding: 2px 15px;
}

/* Default button styles have a lot of vertical padding, so reduce this. */
.btn-padding-xs {
  padding: 1px 10px;
}

/*********************** CUSTOM CLASSES ************************/

.btn-toolbar > button,
.btn-toolbar > a {
  margin-left: 5px;
}

.form-horizontal .btn-group {
  vertical-align: top;
}

.callOrderLabel {
  margin: 4px 0px 0px 0px;
  background-color: #8a9ec1;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
}

.armedColor {
  color: #c05050;
}

.disarmedColor {
  color: #20b020;
}

.search-form {
  margin-top: 10px;
  margin-bottom: 10px;
}

.flex-break {
  flex-basis: 100%;
  height: 0;
}

.has-error .control-label {
  color: #333333;
}

/*********************** GENERAL STYLES ************************/
.table th {
  background-color: #b2bdc3;
}
a {
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}
@media (min-width: 768px) {
  .dl-horizontal dt {
    float: left;
    clear: left;
    text-align: right;
  }
  .dl-horizontal dd {
    margin-left: 170px;
  }
}

@media screen and (max-width: 600px) {
  h2 {
    font-size: 25px;
  }
}

.table > thead > tr > th,
.table > tbody > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
  background-color: #b4c8d1;
}

.dl-horizontal dt {
  white-space: normal;
  width: 160px;
  margin-right: 15px;
}

.pager {
  margin-top: 5px;
}

.btn-link-inline {
  padding: 0;
  vertical-align: baseline;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.nav-tabs > li > a > .btn-link {
  text-decoration: none;
}

.nav-tabs > li.active > a > .btn-link {
  color: #555555;
  cursor: default;
}

@keyframes flash {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.flash {
  animation: flash 1s infinite;
}

.textHorizontalRule {
  margin-top: 1em;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  text-align: center;
}

.textHorizontalRule::before,
.textHorizontalRule::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid darkgray;
}

.textHorizontalRule:not(:empty)::before {
  margin-right: 1em;
}

.textHorizontalRule:not(:empty)::after {
  margin-left: 1em;
}
