/** Layout **/
html,
body {
  margin: 0;
}
html {
  height: 100vh;
}
body {
  min-height: 100vh;
  font-size: 15px;
  line-height: 1 !important;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #2b2b33;
  background-color: #fffefd;
}

/** Colors **/
.bg-primary {
  background-color: #436eee !important;
}

.text-primary {
  color: #436eee !important;
}
.bg-secondary {
  background-color: #454555 !important;
}
.text-secondary {
  color: #454555 !important;
}
.text-red {
  color: #bb0000 !important;
}
.text-orange {
  color: #ff5f15 !important;
}
.text-light {
  font-weight: 400;
  font-style: italic;
  color: #757585 !important;
}

.svg-red {
  filter: invert(11%) sepia(92%) saturate(4292%) hue-rotate(357deg)
    brightness(92%) contrast(117%);
}
.svg-orange {
  filter: invert(39%) sepia(88%) saturate(1283%) hue-rotate(351deg)
    brightness(100%) contrast(102%);
}
.svg-white {
  filter: invert(100%) sepia(0%) saturate(351%) hue-rotate(255deg)
    brightness(123%) contrast(100%);
}

/** Headings **/
h1 {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #454555;
}

h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #454555;
}
h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #454555;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #454555;
  margin-bottom: 20px;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover {
  text-decoration: none;
}

/* card headings */
.card h1 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-top: 5px;
  font-size: 1.7rem;
  font-weight: 500;
}
.card h2 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.card h4 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 20px;
}
.card h5 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 30px;
}
.card label {
  font-weight: 500;
  font-size: 0.9rem;
}
.card label span.inline-label-link {
  margin-left: 10px;
  font-size: 0.8em;
  cursor: pointer;
  color: #436EEE;
}
.card .custom-checkbox {
  margin-top: 10px;
}

/** page titles and subtitles **/
.page_title {
  padding-top: 24px;
  padding-bottom: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid #ccd1d9;
}
.page_title_content_left {
  display: inline-block;
  max-width: 50%;
}
.page_title h1 {
  margin: 0;
  display: inline-block;
}

.page_title_description {
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: bold;
}
.page_title_nav {
  display: inline-block;
  margin-left: 20px;
  margin-top: 7px;
  font-size: 18px;
  font-weight: 400;
}
.page_title_nav a {
  color: #436eee;
}
.page_title_nav a.page_title_nav_back:before {
  content: '< ';
}
.page_title_nav a.page_title_nav_forward:after {
  content: ' >';
}
.page_title_right {
  float: right;
}
.page_title_right > * {
  display: inline-block !important;
  margin-left: 10px !important;
  width: auto !important;
  margin-top: 6px;
}
.page_title_right i {
  font-size: 30px;
  margin-left: 5px;
  color: #436eee;
  padding-bottom: 0px !important;
}
.page_title_right button {
  margin-top: -10px;
}
.page_title_right .btn,
.page_title_right .btn:hover,
.page_title_right .btn:active,
.page_title_right .form-control,
.page_title_right select {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 4px 8px;
}
.page_title_right select {
  border: 1.5px solid #7f8c9f;
  border-radius: 5px;
}

.page_subtitle {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  padding-top: 16px;
}
.page_subtitle::after {
  clear: both;
}
.page_subtitle h2 {
  display: inline-block;
  font-weight: 500;
  margin: 0;
}
.page_subtitle_description {
  margin: 15px auto;
  font-style: italic;
  line-height: 1.1;
  clear: both;
}
.page_subtitle_nav {
  display: inline-block;
  margin-left: 20px;
  font-size: 16px;
  font-weight: 500;
}
.page_subtitle_nav.large {
  font-size: 30px;
}
.page_subtitle_nav a {
  color: #436eee;
}
.page_subtitle_nav span {
  margin: 0 5px;
}
.page_subtitle_right {
  float: right;
}
.page_subtitle_right > *:not(.dropdown-menu) {
  display: inline-block !important;
  margin-left: 10px !important;
  width: auto !important;
}
.page_subtitle_right > .btn > i {
  font-size: 12px;
  color: #ffffff;
}
.page_subtitle_right .btn,
.page_subtitle_right .btn:hover,
.page_subtitle_right .btn:active,
.page_subtitle_right .form-control {
  font-family: 'Poppins', Arial, sans-serif;
  margin-top: -5px;
  padding: 5px 10px !important;
  font-size: 14px !important;
  line-height: 16px !important;
}
.page_subtitle_right .form-control {
  padding: 2px 10px !important;
  margin-top: -3px;
}

.wickedpicker {
  z-index: 9999;
}

.page_nav {
  margin-bottom: 40px;
}
.page_nav .col a {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #999999;
  border-radius: 0.5rem !important;
  border-color: #e0e0e0;
  overflow: hidden !important;
  text-align: center;
  padding: 10px;
  color: #999999;
  text-decoration: none !important;
}
.page_nav .col a i {
  display: block;
  margin-bottom: 8px;
}
.page_nav .col a.active,
.page_nav .col a:hover {
  color: #436eee;
  border-color: #436eee;
  text-decoration: none !important;
}

/** Map loading spinner **/
.loading-state {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 6px solid transparent;
  border-top-color: #436eee;
  animation: loading 1s ease-in-out infinite;
}
@keyframes loading {
  to {
    transform: rotate(360deg);
  }
}

/** Buttons **/
.btn {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 5px 10px;
}
.btn-primary {
  background-color: rgba(67, 110, 238, 0.9) !important;
  border: 1px solid #436eee !important;
  color: #ffffff !important;
}
.btn.active,
.btn:focus {
  box-shadow: none !important;
}
.btn-primary:hover {
  background-color: rgba(67, 110, 238, 1) !important;
}
.btn-primary-outline {
  background-color: rgba(67, 110, 238, 0.8) !important;
  border: 1px solid #436eee !important;
  color: #436eee !important;
}
.btn-secondary {
  background-color: rgba(69, 69, 85, 0.9) !important;
  border: 1px solid #454555 !important;
  color: #ffffff !important;
}
.btn-secondary:hover {
  background-color: #454555 !important;
  border: 1px solid #454555 !important;
}
.btn-secondary-outline {
  background-color: #ffffff !important;
  border: 1px solid #454555 !important;
  color: #454555 !important;
}

.btn-red,
.btn-red:hover,
.btn-red:hover i,
.btn-red.active,
.btn-red.active i {
  background-color: #bb0000 !important;
  color: #ffffff !important;
}

.btn-red-text,
.btn-red-text:hover,
.btn-red-text:hover i,
.btn-red-text.active,
.btn-red-text.active i {
  background-color: #ffffff !important;
  color: #bb0000 !important;
}

.btn-text-only {
  padding: 0px;
  text-transform: capitalize;
  font-weight: normal !important;
}
.dropdown-item {
  padding: 0.5rem 1.5rem;
}
.dropdown-item.hover,
.dropdown-item:hover {
  background-color: #e6e6e7;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: #436eee;
}
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: none;
}

/** General **/
label {
  font-size: 16px;
  font-weight: 400;
  color: #6c757d !important;
  margin: 0;
  padding-bottom: 5px;
  display: block !important;
}

strong {
  font-size: 22px;
  font-weight: 500;
  color: #454555 !important;
  margin: 0;
  height: 45px;
  display: block !important;
}
.dashboard_location_format {
  font-weight: bold;
  margin: 0;
}
.small-text {
  font-size: 0.8rem;
  font-style: italic;
}

/** Forms **/
.form-control {
  height: auto !important;
  border: 1px solid rgba(24, 28, 33, 0.1);
  font-size: 1rem !important;
  display: block;
  width: 100%;
  font-weight: 400 !important;
  line-height: 1;
  color: #454242 !important;
  border-radius: 6px;
  border-color: lightgrey !important;
  transition: 0.3s ease !important;
  border-style: solid !important;
  padding: 8px !important;
  outline: none;
  box-shadow: none !important;
  background: transparent;
  appearance: auto;
}
.form-control-sm {
  padding: 4px !important;
}
.ui-widget.ui-widget-content {
  border-radius: 6px !important;
  border: 1px solid rgba(24, 28, 33, 0.1);
  box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07),
    0 10px 20px -2px rgba(0, 0, 0, 0.04) !important;
  padding: 5px 0;
}
.form-control option {
  padding: 0 !important;
  min-height: auto;
}
.form-control .inline {
  display: inline-block;
  width: auto;
}
form .help-text {
  font-size: 13px;
}
form .footer-text {
  font-size: 15px;
}
form .ble-tag-field {
  width: 42px !important;
  display: inline-block !important;
}
.form-group {
  margin-bottom: 2rem;
}

/** Stupid fucking checbox control **/
.custom-checkbox .custom-control-label::before {
  box-shadow: none !important;
  background-size: 65% 65%;
  border-radius: 0.25rem;
  border: 1px solid rgba(24, 28, 33, 0.2);
  background-color: #fff;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  pointer-events: auto;
  position: absolute;
  top: 0;
  left: -1.563rem;
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  pointer-events: none;
  content: '';
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9.5 7.5'%3E%3Cpolyline points='0.75 4.35 4.18 6.75 8.75 0.75' style='fill:none;stroke:%23fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px'/%3E%3C/svg%3E");
}

.custom-control.custom-checkbox
  .custom-control-input:checked
  ~ .custom-control-label::before,
.custom-control.custom-radio
  .custom-control-input:checked
  ~ .custom-control-label::before {
  border-color: #436eee;
  background-color: #436eee;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background: none !important;
}

/** Cards **/
.card {
  min-height: 10px;
  border: 1px solid #ccd1d9;
  border-radius: 5px;
  box-shadow: 2px 2px 0 rgba(0, 27, 64, 0.1);
  margin-top: 8px;
  margin-bottom: 40px;
  background-color: #fff;
}
.card.padded {
  padding: 25px;
}
.card .dt-buttons.btn-group {
  justify-content: flex-end;
  padding: 20px 15px;
  width: 100%;
}
.card.grow {
  height: calc(100% - 40px); /* Subtract bottom margin size */
}
.card-options-row {
  display: flex;
  margin-bottom: 8px;
}
.card-options-row * {
  margin-right: 8px;
}
.card .row .col {
  margin-bottom: 30px;
}
.card-header {
  color: #436eee;
  font-size: 15px;
  line-height: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(24, 28, 33, 0.1);
}
.card-right-links {
  position: absolute;
  right: 10px;
}
.card-right-links .btn {
  display: block;
  font-size: 18px;
  line-height: 16px;
  padding: 0;
  margin-bottom: 0px;
  padding: 3px;
  color: #436eee;
  border: 1.5px solid #436eee !important;
  margin-bottom: 5px;
}
/** Google Maps Marker Tooltip Styling **/
.google-marker-tooltip span {
  font-weight: bolder;
}

.google-marker-tooltip p {
  display: inline;
}

.sign_out_button {
  cursor: pointer;
}

/** Route Traffic Level circles **/
/* Green Circle */
.circle.green {
  display: inline-block;
  width: 12px; /* Adjust the width and height as needed */
  height: 12px;
  border-radius: 50%; /* Makes it a circle */
  background-color: green; /* Color for the green circle */
  margin-left: 5px; /* Adjust the spacing from the text as needed */
}

/* Orange Circle */
.circle.orange {
  display: inline-block;
  width: 12px; /* Adjust the width and height as needed */
  height: 12px;
  border-radius: 50%; /* Makes it a circle */
  background-color: orange; /* Color for the orange circle */
  margin-left: 5px; /* Adjust the spacing from the text as needed */
}

/* Red Circle */
.circle.red {
  display: inline-block;
  width: 12px; /* Adjust the width and height as needed */
  height: 12px;
  border-radius: 50%; /* Makes it a circle */
  background-color: red; /* Color for the red circle */
  margin-left: 5px; /* Adjust the spacing from the text as needed */
}

/** Tables **/
table,
table thead,
table thead th,
table tbody,
table tbody td {
  background-color: transparent !important;
  line-height: 1.3 !important;
}
table {
  font-size: 14px;
  color: #4e5155;
}
table th {
  color: #999999;
}
tr.dtrg-group {
  cursor: pointer;
}
tr.group td a span {
  float: right;
  color: #436eee !important;
}
td.no-pad,
th.no-pad {
  width: 1%;
  white-space: nowrap;
  padding-left: 16px;
  padding-right: 16px;
}
td.contact-column a {
  padding: 0px;
  margin: 0px;
}
td.contact-column a.btn,
td.contact-column span.btn {
  font-size: 18px;
  min-width: 40px;
}
table .btn {
  font-size: 13px;
  padding: 2px 6px;
  min-width: 80px;
}
table .btn.btn-large {
  font-size: 14px;
  padding: 4px 10px;
  min-width: 80px;
}
table .active-unload-row .btn {
  font-size: 15px;
  padding: 8px 10px;
}
table td a {
  color: #454555;
}
.dataTables_length {
  float: left;
  padding: 20px 15px;
}
.dataTables_filter {
  float: right;
  padding: 20px 15px;
  margin: 0;
}
.dataTables_paginate {
  padding: 20px 15px;
  margin: 0;
}
.page-item.active .page-link {
  background-color: #436eee;
  border-color: #436eee;
}
table label {
  color: #777777;
  margin: 0;
  font-size: 12px;
  display: block;
}
table .dashboard_location_format,
table .text-bold {
  font-weight: bold;
  margin: 0;
}

table.dataTable thead > tr > th.sorting:before {
  content: '▲';
}
table.dataTable thead > tr > th.sorting:after {
  content: '▼';
}
.pin_list_key_column {
  text-align: center;
  padding-left: 25px;
}
.pin_list_key {
  width: 21px;
  height: 21px;
  padding: 4px 0 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 13px;
  color: #ffffff;
  border-radius: 50%;
}
.pin_list_key_load {
  background-color: #003fb5;
}
.pin_list_key_gps_ping {
  background-color: #ffae00;
}
.pin_list_key_action {
  background-color: #436eee;
}
.pin_list_key_deliver {
  background-color: #777777;
}
.pin_list_key_current {
  background-color: #ffae00;
}
.pin_list_key_exception {
  background-color: #bb0000;
}

table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_desc:before,
table.dataTable thead > tr > th.sorting_asc_disabled:before,
table.dataTable thead > tr > th.sorting_desc_disabled:before,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:before,
table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > th.sorting_asc_disabled:after,
table.dataTable thead > tr > th.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc_disabled:after,
table.dataTable thead > tr > td.sorting_desc_disabled:after {
  font-size: 9px;
  width: 10px;
  opacity: 0.4 !important;
}

table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_desc:after {
  opacity: 1 !important;
  color: #436eee;
}
table {
  width: 100%;
  max-width: 100% !important;
  vertical-align: middle !important;

  --mdb-table-bg: transparent;
  --mdb-table-accent-bg: transparent;
  --mdb-table-striped-color: #4f4f4f;
  --mdb-table-striped-bg: rgba(0, 0, 0, 0.02);
  --mdb-table-active-color: #4f4f4f;
  --mdb-table-active-bg: rgba(0, 0, 0, 0.1);
  --mdb-table-hover-color: #4f4f4f;
  --mdb-table-hover-bg: rgba(0, 0, 0, 0.025);
}
.dtrg-level-0,
.dtrg-level-0 td {
  background-color: #e3e3e4 !important;
}
tr.group td {
  background-color: #e3e3e4 !important;
}
table.dataTable {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
}
thead {
  background-color: #f8f9fa !important;
  border-bottom: 1px solid #e0e0e0;
}
tr {
  border-bottom: 1px solid #e0e0e0;
}
tr:last-of-type {
  border-bottom: 0px;
}
td,
th {
  height: 27px;
  padding: 12px 16px;
}
th {
  font-weight: 500 !important;
}
td.button-column {
  padding-left: 0px;
  padding-right: 0px;
}
td.dataTables_empty {
  font-style: italic;
  text-align: center;
}
td p {
  font-weight: 400;
  margin-bottom: 0.25rem;
}
div.dataTables_wrapper div.dataTables_info {
  text-align: center;
  margin-top: 10px;
}
.error-panel {
  color: #bb0000;
  margin-top: 20px;
}
.form-row.buttons {
  margin-top: 30px;
}
.form-row.buttons .btn {
  margin: auto 5px;
}
.form-panel {
  padding: 15px 15px 0 15px;
  border: 1px solid #dededf;
  background-color: #fcfcfe;
  border-radius: 6px !important;
}
.form-map-panel {
  border: 1px solid #dededf;
  border-radius: 6px !important;
}
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: #436eee;
}
.dropdown-item:not(.disabled).active,
.dropdown-item:not(.disabled):active {
  color: #ffffff;
  background-color: #436eee;
}

div.dataTables_wrapper div.dataTables_filter {
  text-align: left;
}
div.dataTables_wrapper div.dataTables_filter input,
div.dataTables_wrapper div.dataTables_filter * {
  display: inline-block !important;
  margin-right: 5px;

  margin-left: 0;
  padding: 0.438rem 0.875rem;
  height: calc(2.25rem + 2px);
  font-size: 0.894rem;
  line-height: 1.54;
  color: #4e5155;
}
div.dataTables_wrapper div.dataTables_filter label {
  margin-left: 0;
  padding: 0;
}

.multiselect-container input[type='checkbox'] {
  display: inline-block !important;
  margin-left: auto;
  width: auto;
}

.multiselect-container input[type='checkbox'] {
  position: relative;
  opacity: unset;
  z-index: -1;
}

.input-wrapper {
  position: relative;
}

.checkmark-icon,
.cross-icon {
  position: absolute;
  top: 0.4rem;
  right: 1rem;
  display: none;
}

.input-wrapper.has-success .checkmark-icon {
  display: inline-block;
  color: #4bb543;
}

.input-wrapper.has-error .cross-icon {
  display: inline-block;
  color: #fc100d;
}
.badge {
  font-size: 14px;
  line-height: 14px;
  padding: 4px 8px;
  cursor: default;
}
.badge-text {
  font-size: 16px;
}
td .badge {
  font-size: 13px !important;
  font-weight: 500 !important;
}
.badge-success, .badge-primary {
  -webkit-box-shadow: 0 0 0 1px #436eee inset;
  box-shadow: 0 0 0 1px #436eee inset;
  background-color: #436eee;
  color: #ffffff;
}
.badge-success-text, .badge-primary-text {
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #436eee;
  background-color: #ffffff;
}
.badge-outline-success, .badge-outline-primary {
  background-color: transparent;
  -webkit-box-shadow: 0 0 0 1px #436eee inset;
  box-shadow: 0 0 0 1px #436eee inset;
  color: #436eee;
}
.badge-outline-warning {
  background-color: transparent;
  -webkit-box-shadow: 0 0 0 1px #eec343 inset;
  box-shadow: 0 0 0 1px #eec343 inset;
  color: #eec343;
}

.badge-danger {
  -webkit-box-shadow: 0 0 0 1px #bb0000 inset;
  box-shadow: 0 0 0 1px #bb0000 inset;
  background-color: #bb0000;
  color: #ffffff;
}
.badge-danger-text {
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #bb0000;
  background-color: transparent;
}
.badge-outline-danger {
  background-color: transparent;
  -webkit-box-shadow: 0 0 0 1px #bb0000 inset;
  box-shadow: 0 0 0 1px #bb0000 inset;
  color: #bb0000;
}
.badge-secondary {
  -webkit-box-shadow: 0 0 0 1px #454555 inset;
  box-shadow: 0 0 0 1px #454555 inset;
  background-color: #454555;
  color: #ffffff;
}
.badge-secondary-text {
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #454555;
  background-color: transparent;
}
.badge-outline-secondary {
  background-color: transparent;
  -webkit-box-shadow: 0 0 0 1px #454555 inset;
  box-shadow: 0 0 0 1px #454555 inset;
  color: #454555;
}



.notification-icon {
  cursor: pointer;
}

.notification-badge {
  width: 15px;
  height: 15px;
  position: absolute;
  top: -4px;
  right: -4px;
  border-radius: 50%;
  background-color: #bb0000;
  color: white;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-size: 10px;
  line-height: 13px;
  font-weight: bold;
}

.notification-tray {
  border-radius: 10px;
  position: absolute;
  top: 100%;
  right: 0;
  width: 250px;
  background-color: white;
  box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
  display: none;
  z-index: 1000;
  cursor: default;
}

.notification-list {
  list-style-type: none;
  color: #436eee;
  font-size: 14px;
  padding: 0;
  margin: 0;
}

.notification-list-item {
  padding: 10px 5px 5px 15px;
}

.notification-list-item a {
  display: block;
  width: 100%;
}

.notification-list-item:hover {
  cursor: pointer;
  box-shadow: 0 2px 6px rgb(0 0 0 / 10%);
  background-color: #f5f5f5;
}
.notification-list-item:first-child {
  border-radius: 10px 10px 0 0;
}
.notification-list-item:last-child {
  border-bottom: none;
}
dropdown-item-button li.notification-list-item.view-all {
  border-radius: 0 0 10px 10px;
  background-color: #436eee;
  text-align: center;
  padding: 6px;
}

li.notification-list-item.view-all a {
  color: #ffffff;
  font-weight: bold;
}

.notification-div a {
  color: unset;
  padding: 15px;
}

.notification-div:hover {
  background-color: #ddd;
  border: 0px solid #ddd;
  border-radius: 6px;
  -webkit-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

.notification-div .form-group,
.notification-div p {
  margin: 0;
}

/* adjustments for when time columns disappear */
@media (max-width: 991px) {
  .time-wrapper {
    display: block;
  }

  .progress-bar-wrapper.plant .time-wrapper {
    display: none;
  }

  .header-time-wrapper #header-end-time {
    display: block;
  }

  .progress {
    top: 50% !important;
  }

  .progress-bar-wrapper.plant .progress {
    top: 17px !important;
  }
}

@media (max-width: 767px) {
  .progress-bar-wrapper.plant .progress {
    top: 50% !important;
  }

  .progress-bar-wrapper.plant .time-wrapper {
    display: block;
  }
}

/* adjustments for mobile with stacked button height */
@media (max-width: 575px) {
  .progress-bar-wrapper {
    height: 80px;
  }

  .progress-bar-wrapper.plant {
    height: 46px !important;
  }

  .time-wrapper {
    top: 20%;
  }

  tr.active-unload-row .time-wrapper {
    top: 25%;
  }

  .progress-bar-wrapper.plant .time-wrapper {
    top: 5%;
  }
}

.search_results_row,
.search_results_row:hover {
  border-bottom: 1px solid #bbbbbb;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 0;
}

.search_results_row,
.search_results_row:hover {
  display: block !important;
  padding: 0 5px !important;
  border: 0 !important;
  border-top: 1px solid #d3d3d3 !important;
  margin: 0 !important;
  z-index: 0 !important;
  position: relative !important;
  offset: 0 !important;
  left: 0 !important;
}

.ui-autocomplete div:first-child {
  border: 0 !important;
}

.search_results_row > div,
.search_results_row:hover > div {
  border-color: white !important;
  border: 0 !important;
  background: transparent;
  z-index: 0 !important;
  position: relative !important;
  offset: 0 !important;
  left: 0 !important;
}

.search_results_row > div,
.search_results_row:hover > div,
.ui-autocomplete-display > div {
  display: inline-block !important;
  padding: 12px 4px !important;
  margin: 0 !important;
  font-size: 15px;
  line-height: 15px;
}

.search_results_row > div.job_number,
.search_results_row:hover > div.job_number,
.ui-autocomplete-display > div.job_number {
  width: 30%;
}

.search_results_row:hover,
.search_results_row:active {
  background-color: #eeeeef;
}
.search_results_row > div > label,
.ui-autocomplete-display > div > label {
  font-size: 12px;
  display: block;
}

.search_results_row > div.ticket_search,
.search_results_row:hover > div.ticket_search,
.ui-autocomplete-display > div.ticket_search {
  width: 25%;
}

@media (max-width: 767px) {
  .search_results_row > div.plant_name,
  .search_results_row:hover > div.plant_name,
  .ui-autocomplete-display > div.plant_name {
    display: none !important;
  }

  .search_results_row > div.ticket_search,
  .search_results_row:hover > div.ticket_search,
  .ui-autocomplete-display > div.ticket_search {
    width: 50% !important;
  }
}

input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.check-trail {
  align-items: center;
  height: auto;
  border-radius: 3px;
  transition: all 0.5s ease;
  cursor: pointer;
  margin: 0;
}

.check-trail span i {
  font-size: 28px;
  padding: 4px;
  transition: 0.2s ease;
}

.check-trail span {
  font-size: 18px;
}

.check-handler:before {
  color: white;
  font-size: 2em;
  font-weight: bold;
}

input[type='checkbox']:not(checked) + .check-trail span i.grid,
input[type='checkbox']:not(checked) + .check-trail div:first-child,
input[type='checkbox']:checked + .check-trail div:last-child {
  color: #436eee;
}
input[type='checkbox']:checked + .check-trail span i.grid,
input[type='checkbox']:checked + .check-trail div:first-child {
  color: #454555;
}

input[type='checkbox']:checked + .check-trail span i.list {
  color: #436eee;
}
input[type='checkbox']:not(checked) + .check-trail span i.list {
  color: #454555;
}

/* Modal Styling */

/* The Modal (background) */
.modal {
  display: none;
  padding-left: 200px;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 2% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #000000bd;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-left: auto;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.note-wrapper p.small {
  margin-bottom: 4px;
  font-size: 13px;
  font-style: italic;
}
.note-wrapper {
  margin-bottom: 30px;
}
.note-wrapper h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-row > * {
  flex: 1;
}
.flex-grow {
  flex: grow;
}
