/* General Styles ----------------------------*/
/*--------------------------------------------*/
.color-paid-green {
  color: #009900;
}

.color-recur-green {
  color: #28CB00;
}

.color-details-orange {
  color: #ffc107;
}

.color-trash {
  color: #ba160c;
}

.text-inky {
  color: #495057;
}

.bg-sticky-bg {
  background-color: #fffacd;
}

.hover-lighten:hover {
  filter: brightness(110%);
}

.fas.text-shadow {
  text-shadow: 1px 1px 1px #aaa;
}

.cursor-pointer {
  cursor: pointer;
}

.nowrap {
  white-space: nowrap;
}

.staging-color {
  background: repeating-linear-gradient(135deg, #ffe4c3, #ffe4c3 20px, #ffffcc 20px, #ffffcc 40px) !important;
}

.action-bar {
  background-color: #fff;
  padding: 1rem 0rem;
  border-top: 1px solid #dee2e6;
  position: sticky;
  bottom: 0;
}

.btn-date-arrow .fa-caret-left, .btn-date-arrow .fa-caret-right {
  color: #212529;
  transition: color 0.2s ease;
}

.btn-date-arrow :hover {
  color: #717e8c;
}

button.btn.btn-glow {
  box-shadow: 0 0 0 0;
}

button.btn.btn-glow.btn-success {
  animation: pulse-success 1s infinite;
}

@keyframes pulse-success {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
  }
  70% {
    -moz-box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

button.btn.btn-glow.btn-danger {
  animation: pulse-danger 1s infinite;
}

@keyframes pulse-danger {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
  }
  70% {
    -moz-box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
  }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

button.btn.btn-glow.btn-info {
  animation: pulse-info 1s infinite;
}

@keyframes pulse-info {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(23, 162, 184, 0.4);
    box-shadow: 0 0 0 0 rgba(23, 162, 184, 0.4);
  }
  70% {
    -moz-box-shadow: 0 0 0 10px rgba(23, 162, 184, 0);
    box-shadow: 0 0 0 10px rgba(23, 162, 184, 0);
  }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(23, 162, 184, 0);
    box-shadow: 0 0 0 0 rgba(23, 162, 184, 0);
  }
}

.vh-90 {
  height: 90vh;
}

.vh-80 {
  height: 80vh;
}

.vh-70 {
  height: 70vh;
}

.mvh-90 {
  max-height: 90vh;
}

.mvh-80 {
  max-height: 80vh;
}

.mvh-70 {
  max-height: 70vh;
}

.overflow-y-scroll {
  overflow-y: scroll;
}

div.spacer-block-small {
  height: 5rem;
}

div.spacer-block-mid {
  height: 8rem;
}

div.spacer-block-large {
  height: 12rem;
}

div.spacer-block-xlarge {
  height: 16rem;
}

div.vh-block {
  display: block;
  height: 65vh;
  overflow-y: scroll;
}

/* Dashboard Styles---------------------------*/
/* ------------------------------------------ */
.dash-deck .dash-card {
  border: #dee2e6 1px solid;
  padding: 0;
}

.dash-deck .dash-card .dash-card-header {
  border-bottom: #dee2e6 1px solid;
  background-color: #e9ecef;
  padding: 2px 6px;
  font-weight: bold;
  color: #495057;
}

.dash-deck .dash-card .dash-card-body {
  padding: 2px 6px;
}

/* General Form Styles- ----------------------*/
/* ------------------------------------------ */
textarea.no-resize {
  resize: none;
}

/* General Table Styles ----------------------*/
/* ------------------------------------------ */
.table .table-border-thick-top {
  border-top: 4px solid;
  border-color: inherit;
}

.table .table-border-top-primary {
  border-top-color: #007bff;
}

.table .table-border-top-secondary {
  border-top-color: #6c757d;
}

.table .table-border-top-info {
  border-top-color: #17a2b8;
}

.table .table-border-top-success {
  border-top-color: #28a745;
}

.table .table-border-top-danger {
  border-top-color: #dc3545;
}

.table .table-border-top-warning {
  border-top-color: #ffc107;
}

.table .table-border-top-light {
  border-top-color: #f8f9fa;
}

.table .table-border-top-dark {
  border-top-color: #343a40;
}

.table .table-border-top-inky {
  border-top-color: #495057;
}

.table .table-border-thick-right {
  border-right: 4px solid;
  border-color: inherit;
}

.table .table-border-right-primary {
  border-right-color: #007bff;
}

.table .table-border-right-secondary {
  border-right-color: #6c757d;
}

.table .table-border-right-info {
  border-right-color: #17a2b8;
}

.table .table-border-right-success {
  border-right-color: #28a745;
}

.table .table-border-right-danger {
  border-right-color: #dc3545;
}

.table .table-border-right-warning {
  border-right-color: #ffc107;
}

.table .table-border-right-light {
  border-right-color: #f8f9fa;
}

.table .table-border-right-dark {
  border-right-color: #343a40;
}

.table .table-border-right-inky {
  border-right-color: #495057;
}

.table .table-border-thick-bottom {
  border-bottom: 4px solid;
  border-color: inherit;
}

.table .table-border-bottom-primary {
  border-bottom-color: #007bff;
}

.table .table-border-bottom-secondary {
  border-bottom-color: #6c757d;
}

.table .table-border-bottom-info {
  border-bottom-color: #17a2b8;
}

.table .table-border-bottom-success {
  border-bottom-color: #28a745;
}

.table .table-border-bottom-danger {
  border-bottom-color: #dc3545;
}

.table .table-border-bottom-warning {
  border-bottom-color: #ffc107;
}

.table .table-border-bottom-light {
  border-bottom-color: #f8f9fa;
}

.table .table-border-bottom-dark {
  border-bottom-color: #343a40;
}

.table .table-border-bottom-inky {
  border-bottom-color: #495057;
}

.table .table-border-thick-left {
  border-left: 4px solid;
  border-color: inherit;
}

.table .table-border-left-primary {
  border-left-color: #007bff;
}

.table .table-border-left-secondary {
  border-left-color: #6c757d;
}

.table .table-border-left-info {
  border-left-color: #17a2b8;
}

.table .table-border-left-success {
  border-left-color: #28a745;
}

.table .table-border-left-danger {
  border-left-color: #dc3545;
}

.table .table-border-left-warning {
  border-left-color: #ffc107;
}

.table .table-border-left-light {
  border-left-color: #f8f9fa;
}

.table .table-border-left-dark {
  border-left-color: #343a40;
}

.table .table-border-left-inky {
  border-left-color: #495057;
}

.table th, .table td {
  vertical-align: middle;
}

.table th.thtd-nowidth, .table td.thtd-nowidth {
  width: 1px;
  white-space: nowrap;
}

.table th a > .fas.fa-sticky-note, .table td a > .fas.fa-sticky-note {
  color: #ffc107;
  text-shadow: 1px 1px 1px #aaa;
  cursor: pointer;
}

.table th a > .fas.fa-sticky-note:hover, .table td a > .fas.fa-sticky-note:hover {
  color: #ffce3a;
}

.table.table-hover-column {
  overflow: hidden;
}

.table.table-hover-column td {
  position: relative;
}

.table.table-hover-column td:hover::after, .table.table-hover-column td:focus::after {
  content: '';
  height: 100000px;
  position: absolute;
  top: -50000px;
  left: 0;
  width: 100%;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.075);
}

span.initial-divider:after {
  content: ",";
  margin: 0 4px 0 0;
}

span.initial-divider:last-child {
  display: none;
}

tr.triprow-red {
  color: #a52020;
}

tr.triprow-blue {
  color: #0080ff;
}

tr.triprow-green {
  color: #4CAF50;
}

tr.trip-recurring th::after {
  padding: 0 4px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #28CB00;
  text-shadow: 1px 1px 1px #aaa;
  content: "\f2f1";
}

.badge-pill {
  margin-right: 1px;
  color: #fff;
  text-transform: uppercase;
}

.badge-pill.pill-blue {
  background-color: #0088ff;
}

.badge-pill.pill-red {
  background-color: #881111;
}

.badge-pill.pill-green {
  background-color: #229944;
}

/* Daysheet Styles --------------------------*/
/* ------------------------------------------*/
.sticky-bulletin {
  margin-bottom: 2rem;
}

.sticky-bulletin .card {
  position: relative;
  background-color: #fffacd;
  border: 0px solid #fff;
  word-break: break-word;
  /* Comment out following to disable triangle. If disabling triangle, reenable border around cards. */
}

.sticky-bulletin .card:before {
  content: "";
  position: absolute;
  bottom: 0%;
  right: 0%;
  border-left: 20px solid rgba(100, 100, 100, 0.1);
  border-bottom: 20px solid #fff;
}

.sticky-bulletin .card.sticky-new {
  padding: 25px 0;
  text-align: center;
  background-color: #e2ffdb;
}

.sticky-bulletin .card.sticky-new:hover {
  background-color: #ebfee7;
}

.sticky-bulletin .card.sticky-new p {
  color: #36a11c;
}

.sticky-bulletin .card p, .sticky-bulletin .card textarea {
  font-family: 'Short Stack', cursive;
}

.sticky-bulletin .sticky-edits {
  text-align: right;
  font-size: 20px;
  margin-bottom: 0;
}

.sticky-bulletin .sticky-edits .fas.fas.fa-trash-alt {
  color: #ba160c;
}

.sticky-bulletin .sticky-edits .fas.fas.fa-trash-alt:hover {
  color: #ea1c0f;
}

.sticky-bulletin .sticky-edits .fas.fa-edit {
  color: #e48400;
  margin-right: 3px;
}

.sticky-bulletin .sticky-edits .fas.fa-edit:hover {
  color: #ff9e18;
}

.table-daysheet tr.triprow-red {
  color: #a52020;
}

.table-daysheet tr.triprow-red:hover {
  color: #d02828;
}

.table-daysheet tr.triprow-blue {
  color: #0080ff;
}

.table-daysheet tr.triprow-blue:hover {
  color: #3399ff;
}

.table-daysheet tr.triprow-green {
  color: #4CAF50;
}

.table-daysheet tr.triprow-green:hover {
  color: #6ec071;
}

.print-date {
  text-transform: uppercase;
  font-size: 3em;
  text-decoration: underline #333 solid;
}

/* Mixin Styles */
tr.edit-selected-row {
  background: #1e9dda !important;
  color: #fff !important;
}

.btn-showpass {
  width: 70px;
}

/* Small devices (landscape phones, 576px and up) */
/* Medium devices (tablets, 768px and up) */
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  form.sticky-form {
    position: -webkit-sticky !important;
    position: sticky !important;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  form.sticky-form {
    position: -webkit-sticky !important;
    position: sticky !important;
  }
}

/*Print View Settings-------------*/
/*--------------------------------*/
@media print {
  @page {
    margin: .5 in;
  }
  header, nav, footer {
    display: none;
  }
  html {
    font-size: 10pt;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  div.vh-block {
    display: block;
    height: auto;
    overflow-y: visible;
  }
  div.page-break {
    page-break-after: always;
  }
  .container {
    margin: 0;
    padding: 0;
    max-width: none;
    display: block;
  }
  .table-bordered.table-bordered-print .table-border-thick-top {
    border-top: 4px solid #dee2e6 !important;
  }
  .table-bordered.table-bordered-print .table-border-thick-right {
    border-right: 4px solid #dee2e6 !important;
  }
  .table-bordered.table-bordered-print .table-border-thick-bottom {
    border-bottom: 4px solid #dee2e6 !important;
  }
  .table-bordered.table-bordered-print .table-border-thick-left {
    border-left: 4px solid #dee2e6 !important;
  }
  .table-daysheet {
    display: block;
    font-size: 1rem;
    width: 100%;
  }
  .table-daysheet .badge-pill {
    color: black !important;
  }
  .table-daysheet th {
    color: black !important;
  }
  .table-daysheet tr.print-date {
    border-right: hidden !important;
    border-left: hidden !important;
  }
  .table-daysheet tr.triprow-red {
    color: black !important;
  }
  .table-daysheet tr.triprow-blue {
    color: black !important;
  }
  .table-daysheet tr.triprow-green {
    color: black !important;
  }
  .container.trip-sheet {
    font-size: 12pt;
  }
  .container.trip-sheet h1, .container.trip-sheet h2, .container.trip-sheet h3, .container.trip-sheet h4, .container.trip-sheet h5, .container.trip-sheet h6 {
    font-size: 18pt !important;
  }
  .container.trip-sheet th, .container.trip-sheet td {
    color: black;
    background-color: white !important;
  }
  .container.trip-sheet .dash-deck .dash-card .dash-card-header, .container.trip-sheet .dash-deck .dash-card .dash-card-body {
    color: black;
    background-color: white !important;
  }
  .container.trip-sheet .form-control {
    color: black;
    background-color: white !important;
  }
  .container.trip-sheet .badge.badge-pill {
    color: black;
    background-color: white;
  }
}
