.panel-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 190, 0.05);
}
.dialog-shadow {
  box-shadow: 0 0.2rem 20px rgba(0, 0, 0, 0.35);
}
/* Navbar
-------------------------------------------------- */
.navbar {
  padding: 0;
  font-weight: normal;
  color: black;
}
.navbar .navbar-brand img {
  height: 3rem;
}
.navbar-nav .dropdown-menu.user-menu {
  position: absolute;
}
.navbar .nav-item .nav-link,
.navbar .nav-item .nav-link:hover,
.nav-link,
.nav-link:hover {
  color: black;
}
.navbar .navbar-nav .nav-link,
.nav-tabs .nav-link {
  transition: background-color 0.2s;
  background-color: transparent;
  padding: 0.5rem 1rem;
  height: 100%;
}
.navbar .navbar-nav .nav-link:hover,
.nav-tabs .nav-link:hover {
  background-color: #e0e0ff;
  transition: background-color 0s;
}
.navbar .navbar-nav .nav-link {
  padding: 1.2rem 1rem;
}
.nav-link.active {
  position: relative;
}
.nav-link.active:before {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 4px;
  background-color: #199FFF;
  transition: left 0.2s, right 0.2s;
}
.nav-link.active:hover:before {
  left: 0;
  right: 0;
}
.nav-tabs .nav-link {
  border-radius: 0;
  border: none;
}
.nav-tabs .nav-link.active {
  color: black;
  background-color: transparent;
}
.nav-tabs .nav-link.active:hover {
  background-color: #e0e0ff;
}
.nav-tabs .nav-link.disabled {
  color: #777;
}
.navbar .dropdown-menu {
  min-width: 25em;
  top: calc(100% - 2px);
}
/* Message banner
======================== */
.msg-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
}
.msg-panel > a {
  cursor: pointer;
}
.msg-panel > a.subtle {
  font-size: 0.9em;
  padding: 0.25em 2em;
}
.msg-panel i {
  vertical-align: baseline;
}
.msg-panel .msg-icon {
  font-size: 1.5em;
  margin-top: 0.1em;
  float: left;
}
.msg-panel .title {
  margin: 0 1em 0 1.5em;
  font-size: 1.5em;
  font-weight: normal;
}
.msg-panel .message {
  margin: 1em 0 0 0;
}
.msg-panel .container {
  padding: 1em;
  -webkit-box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.35);
  position: relative;
}
.msg-panel .msg-panel-close {
  height: auto;
  padding: 14px 15px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: block;
  background-color: transparent;
  cursor: pointer;
}
.msg-panel .msg-panel-close i {
  font-size: 2em;
}
.msg-panel .msg-panel-close:hover,
.msg-panel .msg-panel-close:focus {
  background-color: rgba(0, 0, 0, 0.35);
  color: white;
}
.danger-block {
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 8px, rgba(255, 255, 255, 0.05) 8px, rgba(255, 255, 255, 0.05) 16px), #ac2000;
  color: white;
}
.danger-block h1,
.danger-block h2,
.danger-block h3,
.danger-block h4,
.danger-block h5,
.danger-block h6 {
  color: white;
}
.danger-block::before {
  background: #791700;
}
.warning-block {
  background: #ec8200;
  color: white;
}
.warning-block::before {
  background: #b96600;
}
.success-block {
  background: #348b41;
  color: white;
}
.success-block::before {
  background: #266630;
}
.info-block {
  background: #e0e0ff;
  color: black;
}
.info-block::before {
  background: #c6c6ff;
}
.help-block {
  background: #199FFF;
  color: white;
}
.help-block::before {
  background: #0068b2;
}
.card-link {
  background-color: #444;
  color: white;
}
a:hover .card-link {
  background-color: #56d;
}
/* Loading panel
-------------------------------------------------- */
.loading-panel {
  background-color: #f8f8f8;
  padding: 5rem 1rem;
  font-size: 1.5em;
}
.loading-full-page {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(220, 220, 220, 0.3);
  font-size: 1.5em;
}
.loading-full-page p {
  position: absolute;
  top: 50%;
  margin-top: -2rem;
  width: 100%;
}
/* Autocomplete 
======================== */
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
}
.autocomplete input {
  background-image: url(/images/autocomplete-icon.svg);
  background-position: calc(100% - 0.6rem) center;
  background-repeat: no-repeat;
  background-size: 1.5em;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  max-height: 60vh;
  overflow-y: auto;
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.35);
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(/images/select-icon.svg);
  background-position: calc(100% - 0.6rem) center;
  background-repeat: no-repeat;
  background-size: 1.5em;
}
input[type=date],
.datetimepicker-widget {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  background-image: url(/images/date-icon.svg);
  background-position: calc(100% - 0.6rem) center;
  background-repeat: no-repeat;
  background-size: 1.5em;
}
.datetimepicker-widget {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2.6em;
}
input[type=time] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(/images/time-icon.svg);
  background-position: calc(100% - 0.6rem) center;
  background-repeat: no-repeat;
  background-size: 1.5em;
  padding-right: 0.25rem;
}
::-webkit-inner-spin-button,
::-webkit-calendar-picker-indicator {
  opacity: 0;
}
/* make the native arrow invisible and stretch it over the whole field so you can click anywhere in the input field to trigger the native datepicker*/
input[type="date"].no-picker {
  background-image: none;
}
input[type="date"].no-picker::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
}
.table.fixed {
  table-layout: fixed;
}
.no-results-row {
  text-align: center;
  padding: 0.75rem;
  font-weight: bold;
  font-size: 1.2em;
  color: #444;
}
.card > .table th,
.card-table th {
  border-top: none;
  border-bottom-width: 1px;
  background-color: white;
}
.table tr:hover {
  background-color: #FFF9F8;
}
.table tr.alert-danger:hover {
  background-color: #f3cbce;
}
.table tr.alert-warning:hover {
  background-color: #f5e9c2;
}
.table thead th,
.table .bom-section th {
  position: sticky;
  top: 0;
  /* Don't forget this, required for the stickiness */
  z-index: 100;
}
.table thead th.sortable,
.table .bom-section th.sortable {
  cursor: pointer;
}
.table thead th.sortable:hover,
.table .bom-section th.sortable:hover {
  background-color: #cceaff;
}
.table thead th.sortable .sort-by,
.table .bom-section th.sortable .sort-by {
  margin-left: 1rem;
  color: #711fb3;
}
.table .bom-section th {
  top: 2.5rem;
}
.table td {
  vertical-align: middle;
}
.dialog-body .table th {
  top: -22px;
}
table.clean {
  width: 100%;
  border: none;
  border-collapse: collapse;
}
table.clean td {
  padding: 2px 6px 2px 0;
}
.full-date-start td {
  border-top: solid 5px #6c757d;
}
table.align-top th,
table.align-top td {
  vertical-align: top;
}
.table tr.clickable:hover td.clickable-hover {
  color: white;
  position: relative;
  background-color: #007bff;
  cursor: pointer;
}
.table tr.clickable:hover td.clickable-hover:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border: solid 5px #FFF9F8;
  border-left-width: 0;
  border-right-width: 0;
}
.table tr.clickable:hover td.clickable-hover:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border: solid 5px #FFF9F8;
  border-left-width: 0;
  border-right-width: 0;
}
.table tr.clickable:hover td.clickable-hover.start:before {
  border-left-width: 5px;
  border-radius: 8px 0 0 8px;
}
.table tr.clickable:hover td.clickable-hover.start:after {
  border-left-width: 5px;
}
.table tr.clickable:hover td.clickable-hover.end:before {
  border-right-width: 5px;
  border-radius: 0 8px 8px 0;
}
.table tr.clickable:hover td.clickable-hover.end:after {
  border-right-width: 5px;
}
.busy-container:not(.inline),
.busy-container-back {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}
.busy-container.inline {
  display: inline-block;
  width: 30px;
  height: 30px;
}
.busy-container.inline img,
.busy-container.inline i {
  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  width: 30px;
}
.busy-container-back {
  background-color: rgba(220, 220, 220, 0.7);
}
.dialog-container .busy-container-back {
  background-color: rgba(255, 255, 255, 0.7);
}
.busy-container:not(.inline) img,
.busy-container:not(.inline) i {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -25px;
  margin-top: -25px;
  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  width: 50px;
  z-index: 110;
}
.busy-container.page-scope,
.busy-container.page-scope .busy-container-back {
  position: fixed;
}
@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/* Dialog & message panel close button
======================================== */
a.msg-panel-close {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  padding: 1em;
  background-color: transparent;
  cursor: pointer;
}
a.msg-panel-close i {
  font-size: 2em;
}
a.msg-panel-close:hover,
a.msg-panel-close:focus {
  background-color: rgba(0, 0, 0, 0.35);
  color: white;
}
/* Dialog panel
======================== */
.dialog-panel {
  position: fixed;
  display: none;
  left: 50%;
  top: 50%;
  min-width: 20em;
  max-width: 30em;
  height: auto;
  margin-top: -12em;
  z-index: 2000;
  border: solid 1px silver;
  background-color: white;
  box-shadow: 0 0.2rem 20px rgba(0, 0, 0, 0.35);
}
.dialog-panel > p,
.dialog-panel > a,
.dialog-panel > a::after hover {
  display: block;
  padding: 1.3em 1.8em 1.3em 2em;
  color: inherit;
  margin: 0;
}
.dialog-panel > a {
  cursor: pointer;
}
.dialog-panel > a.subtle {
  font-size: 0.9em;
  padding: 0.25em 2em;
}
.dialog-panel i {
  vertical-align: baseline;
}
.dialog-panel .dialog-content {
  padding: 15px;
}
.dialog-panel .msg-icon {
  font-size: 1.5em;
  margin-right: 0.6em;
}
.dialog-panel > h3 {
  padding: 21px 2em 18px 15px;
  background-color: #199FFF;
  color: white;
}
.dialog-container-scroll {
  overflow-y: auto;
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.dialog-container-scroll .dialog-panel {
  position: absolute;
  display: block;
  top: 2em;
  margin-top: 0;
  margin-left: 0;
  left: 25%;
  width: 50%;
  height: auto;
  max-width: 40em;
  margin-bottom: 2em;
}
@media screen and (max-width: 960px) {
  .dialog-container-scroll .dialog-panel {
    left: 15%;
    width: 70%;
  }
}
@media screen and (max-width: 600px) {
  .dialog-container-scroll .dialog-panel {
    left: 5%;
    width: 90%;
  }
}
/* Full page overlay
	======================== */
.full-page-overlay {
  position: fixed;
  display: table;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(220, 220, 220, 0.7);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: unset;
}
.full-page-overlay .dialog-shim {
  display: table-cell;
  vertical-align: middle;
}
.full-page-overlay .full-page-container {
  position: fixed;
  left: 2em;
  top: 2em;
  right: 2em;
  bottom: 2em;
  background-color: #888;
}
.full-page-overlay .full-page-container .full-page-container-title {
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.75);
}
.full-page-overlay .full-page-container .msg-panel-close {
  background: rgba(255, 255, 255, 0.75);
  padding: 10px 15px;
}
.full-page-overlay .full-page-container a.msg-panel-close:hover {
  color: #e0e0ff;
}
.full-page-overlay .full-page-container .scroll-container {
  position: absolute;
  left: 0;
  top: 3.2em;
  right: 0;
  bottom: 0;
  padding: 30px 15px;
  overflow-y: scroll;
}
.full-page-overlay .dialog-container {
  position: relative;
  margin: 0 auto;
  width: 90%;
  min-width: 20em;
  max-width: 65em;
  background-color: white;
  box-shadow: 0 0.2rem 20px rgba(0, 0, 0, 0.35);
}
.full-page-overlay .dialog-container.full-page {
  position: fixed;
  left: 2em;
  top: 2em;
  right: 2em;
  bottom: 2em;
  width: unset;
  min-width: unset;
  max-width: unset;
}
.full-page-overlay .dialog-container.full-page .dialog-body {
  height: calc(100vh - 12em);
}
.full-page-overlay .dialog-container .dialog-title {
  position: relative;
  margin: 0;
  padding: 10px 15px 7px 15px;
  background-color: #199FFF;
  color: white;
}
.full-page-overlay .dialog-container .dialog-title h3 {
  margin: 0;
  padding: 11px 0;
  color: white;
}
.full-page-overlay .dialog-container .dialog-title .msg-panel-close {
  height: auto;
  bottom: 0;
  padding: 18px 15px;
}
.full-page-overlay .dialog-container .dialog-body,
.full-page-overlay .dialog-container .dialog-footer {
  width: 100%;
  padding: 10px 15px;
  margin: 0;
}
.full-page-overlay .dialog-container .dialog-body {
  max-height: calc(100vh - 13em);
  overflow-y: auto;
  padding-top: 20px;
}
.full-page-overlay .dialog-container .dialog-footer .btn-tray {
  margin-top: 10px;
}
.selectize-control .avatar,
.selectize-dropdown .avatar {
  padding-left: 0.5em;
  margin: 0;
  height: unset;
}
.selectize-control .avatar img,
.selectize-dropdown .avatar img {
  top: -1px;
  height: 2em;
  margin-right: 0.25em;
}
.selectize-dropdown {
  z-index: 2000;
}
.selectize-dropdown .avatar {
  padding-left: 1em;
  margin: 2px;
}
.selectize-input {
  background-color: white;
  border: solid 1px #d0d0d0;
  padding: 0 0 0 10px;
  margin: 2px 0;
  border-radius: 0.25rem;
  width: 100%;
  display: block;
  font-weight: normal;
  line-height: 30px;
  min-height: 38px;
  box-shadow: none;
  box-sizing: border-box;
}
.selectize-input.input-validation-error {
  border-color: #ac2000;
  color: #ac2000;
}
.selectize-input.focus {
  outline: none;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.selectize-control .selectize-input.has-items,
.selectize-control.multi .selectize-input.has-items {
  padding: 1px 24px 1px 1px;
}
.selectize-control.multi .selectize-input,
.selectize-control.single .selectize-input {
  background-image: url(/images/select-icon.svg);
  background-position: calc(100% - 0.6rem) center;
  background-repeat: no-repeat;
  background-size: 1.5em;
}
.selectize-control.multi .selectize-input:after,
.selectize-control.single .selectize-input:after,
.selectize-control.multi .selectize-input.dropdown-active:after,
.selectize-control.single .selectize-input.dropdown-active:after {
  display: none;
}
.selectize-control.multi .selectize-input.dropdown-active,
.selectize-control.single .selectize-input.dropdown-active {
  background-image: url(/images/select-icon.svg);
  background-position: calc(100% - 0.6rem) center;
  background-repeat: no-repeat;
  background-size: 1.5em;
}
.selectize-control.plugin-remove_button .selectize-input [data-value] {
  position: relative;
  padding: 2px 36px 2px 10px !important;
  margin: 1px 3px 1px 1px;
  padding: 0px 6px;
  background: #f2f2f2;
  border: none;
  border-radius: 3px;
}
.selectize-control.plugin-remove_button .selectize-input [data-value] .remove,
.selectize-control.plugin-remove_button .selectize-input [data-value] .remove-single {
  padding: 2px 6px 0 6px;
  width: 26px;
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  color: inherit;
  text-decoration: none;
  vertical-align: middle;
  display: inline-block;
  border-left: 1px solid #d0d0d0;
  color: #ac2000;
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.selectize-dropdown .create::before {
  content: '\0044';
  display: inline-block;
  font-family: 'HcsSafetyIconFont';
  padding-right: 0.5em;
}
.selectize-dropdown .create {
  padding: 5px 8px;
}
.selectize-dropdown .active,
.selectize-dropdown .create.active {
  background-color: #199FFF;
  color: white;
  cursor: pointer;
}
.selectize-dropdown [data-selectable] .highlight {
  background-color: rgba(190, 200, 255, 0.6);
  color: black;
}
/* Specific css for edit dialogues with user selection */
label.error {
  color: red;
}
#user-select-container {
  display: flex;
  flex-direction: column;
}
#user-select-container #UsersSelect {
  order: 1;
}
#user-select-container #UsersSelect + label {
  order: 2;
}
#user-select-container label + .selectize-control {
  order: 1;
}
/* Custom slider checkbox 
======================== */
.slidercheck-form-wrapper {
  position: relative;
  margin: 4px 0;
}
.slidercheck-form-wrapper input {
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.slidercheck-form-wrapper .slidercheck-label {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 24px;
  margin-right: 0.75em;
  line-height: normal;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.slidercheck-form-wrapper .slidercheck-fill {
  display: block;
  position: relative;
  width: 48px;
  height: 100%;
  background-color: white;
  border: 2px solid #d0d0d0;
  border-radius: 12px;
}
.slidercheck-form-wrapper .slidercheck-fill:after {
  content: "No";
  position: absolute;
  left: 48px;
  padding: 3px 6px;
}
.slidercheck-form-wrapper input:active ~ .slidercheck-fill,
.slidercheck-form-wrapper input:focus ~ .slidercheck-fill,
.slidercheck-form-wrapper .slidercheck-label:hover > .slidercheck-fill {
  border-color: #199FFF;
}
.slidercheck-form-wrapper input:active ~ .slidercheck-fill .slidercheck-handle,
.slidercheck-form-wrapper input:focus ~ .slidercheck-fill .slidercheck-handle,
.slidercheck-form-wrapper .slidercheck-label:hover > .slidercheck-fill .slidercheck-handle {
  background-color: #199FFF;
}
.slidercheck-form-wrapper input:checked ~ .slidercheck-fill {
  background-color: #348b41;
  border-color: #348b41;
}
.slidercheck-form-wrapper input:checked ~ .slidercheck-fill:after {
  content: "Yes";
}
.slidercheck-form-wrapper .slidercheck-handle {
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  width: 16px;
  border-radius: 50%;
  background-color: #199FFF;
  transition: left 0.2s;
}
.slidercheck-form-wrapper input:checked ~ .slidercheck-fill .slidercheck-handle {
  left: 26px;
  background-color: white;
}
.slidercheck-form-wrapper input.on-off ~ .slidercheck-fill:after {
  content: "Off";
}
.slidercheck-form-wrapper input.on-off:checked ~ .slidercheck-fill:after {
  content: "On";
}
.drag-handle {
  position: absolute;
  left: 0;
  top: 0;
  right: -4px;
  bottom: 0;
  cursor: move;
  max-width: 23px;
}
.drag-handle .handle {
  position: absolute;
  left: 4px;
  top: 4px;
  right: 7px;
  bottom: 4px;
}
.drag-handle .handle.light {
  background-image: url(/images/draggable-light.png);
}
.drag-handle .handle.dark {
  background-image: url(/images/draggable-dark.png);
}
.dragging {
  background-color: #3badff !important;
}
.custom-calendar {
  margin: 0 3px;
}
.custom-calendar a {
  text-decoration: none;
  cursor: pointer;
}
.custom-calendar a.date-select {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 5em;
}
.custom-calendar .calendar-table {
  border: none;
  border-spacing: 6px;
  border-collapse: separate;
  table-layout: fixed;
  width: 100%;
}
.custom-calendar .calendar-table th {
  text-align: left;
  padding: 0 10px;
}
.custom-calendar .day {
  margin: 3px;
}
.custom-calendar td {
  height: 5em;
}
.custom-calendar td,
.custom-calendar .day {
  text-align: left;
  vertical-align: top;
  padding: 5px 10px;
  position: relative;
  transition: height 0.6s, font-size 0.6s;
  border: 1px solid #348b41;
  color: #999;
  border-radius: 5px;
}
.custom-calendar td.today,
.custom-calendar .day.today {
  background: none;
  border-color: #199FFF;
  border-width: 4px;
  padding: 2px 6px 5px 6px;
  color: black;
  font-weight: bold;
}
.custom-calendar td .dayNum,
.custom-calendar .day .dayNum {
  font-size: 1em;
  pointer-events: none;
}
.custom-calendar td.otherMonth,
.custom-calendar .day.otherMonth {
  background: none;
  border: 2px solid #ddd;
  background-color: #ddd;
}
.custom-calendar td.otherMonth .dayNum,
.custom-calendar .day.otherMonth .dayNum {
  color: #999;
}
.custom-calendar td .card-body,
.custom-calendar .day .card-body {
  padding: 0.5em;
}
.timeline-flow-container {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  bottom: 0;
}
.timeline-flow-indicator {
  content: '';
  position: absolute;
  z-index: 2;
  left: 10px;
  top: calc(50% - 5px);
  width: 11px;
  height: 11px;
  border-radius: 5px;
  background-color: #888;
  border: solid 1px #666;
}
.timeline-flow-container.future .timeline-flow-indicator {
  background-color: white;
  border: solid 1px #999;
}
.timeline-flow-container.previousFuture::before,
.timeline-flow-container.previousPast::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: calc(50% - 5px);
  border-left: solid #666 1px;
}
.timeline-flow-container.previousFuture::before {
  border-left: dotted 1px #999;
}
.timeline-flow-container.nextFuture::after,
.timeline-flow-container.nextPast::after {
  content: '';
  position: absolute;
  left: 15px;
  top: calc(50% + 5px);
  bottom: 0;
  border-left: solid #666 1px;
}
.timeline-flow-container.nextFuture::after {
  border-left: dotted 1px #999;
}
/* Scheduled work statuses */
.toschedule {
  color: #ff0000;
}
.dateconfirmed {
  color: #7030A0;
}
.onhold,
.onsite {
  color: #00B0F5;
}
.completed,
.returned {
  color: #00B050;
}
.toschedule-badge {
  color: white;
  background-color: #ff0000;
}
.dateconfirmed-badge {
  color: white;
  background-color: #7030A0;
}
.onhold-badge,
.onsite-badge {
  color: white;
  background-color: #00B0F5;
}
.completed-badge,
.returned-badge {
  color: white;
  background-color: #00B050;
}
/* Scheduled work types */
.type-color-swatch {
  position: relative;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  margin: -0.2em 0.25em -0.2em 0;
  top: 0.15em;
  border: solid 1px white;
}
/* Order build statuses */
.bomnotpresent-badge {
  color: black;
  background-color: #e0e0e0;
}
.partsreadytobeissued-badge {
  color: white;
  background-color: #008000;
}
.bomissued-badge {
  color: white;
  background-color: #7030A0;
}
.partsnotavailableadvisory-badge {
  color: white;
  background-color: #00B0F5;
}
.partsnotavailablewarning-badge {
  color: black;
  background-color: #ffc000;
}
.partsnotavailabledanger-badge {
  color: white;
  background-color: #ff0000;
}
/* File upload 
======================== */
body:not(.has-file-drag-drop) .drag-drop-target-indicator {
  display: none;
}
.has-file-drag-drop .drag-drop-target {
  position: relative;
}
.has-file-drag-drop .drag-drop-target.is-dragover::before {
  content: "";
  z-index: 200;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 0;
  right: 0;
  height: 100%;
  max-height: 18rem;
  background-color: white;
  border: solid 4px rgba(102, 102, 255, 0.75);
  background-color: rgba(25, 159, 255, 0.75);
  background-image: url(../images/drop-here.svg);
  background-position: center center;
  background-repeat: no-repeat;
}
.hidden-upload {
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.upload-container {
  margin-bottom: 0.6em;
}
.upload-container .list-item {
  -webkit-transition: background 0.4s ease, color 0.4s ease;
  -moz-transition: background 0.4s ease, color 0.4s ease;
  -ms-transition: background 0.4s ease, color 0.4s ease;
  -o-transition: background 0.4s ease, color 0.4s ease;
  transition: background 0.4s ease, color 0.4s ease;
}
.upload-container .progress-container {
  width: 100%;
  position: relative;
  left: 0;
  height: 0.6rem;
  background-color: #ddd;
}
.upload-container .progress-bar {
  height: 100%;
  background-color: #348b41;
}
.skeleton:after {
  content: '';
  display: inline-block;
  height: 1em;
  width: 8em;
  background-color: #ddd;
  border-radius: 0.25em;
}
.skeleton.full-line:after {
  width: 100%;
}
.skeleton.full:after {
  content: '';
  display: inline-block;
  height: 100%;
  width: 100%;
  background-color: #ddd;
  border-radius: 0.25em;
}
.skeleton.rounded-circle:after {
  border-radius: 50%;
}
.skeleton:after {
  background: linear-gradient(-90deg, #ddd 20%, #eee 50%, #ddd 80%);
  background-size: 400% 400%;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: -135% 0%;
  }
}
/* Bootstrap tweaks
-------------------------------------------------- */
.form-check-label {
  vertical-align: middle;
  padding-left: 0.5em;
}
select.form-control {
  padding-right: 2em;
  text-overflow: ellipsis;
}
body {
  overflow-x: hidden;
}
.break-out {
  width: 100vw;
  position: relative;
  left: calc(-1 * (100vw - 100%) / 2);
}
table.hover tr:hover td {
  background-color: #eef;
}
.btn-primary.disabled,
.btn-secondary.disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
  background-color: #ddd;
  color: #777;
  border-color: transparent;
}
.alert.validation-summary-valid {
  display: none;
}
.alert.alert-white {
  background-color: white;
  border: solid 1px #d0d0d0;
}
.alert-info {
  background-color: #e0e8ff;
  border-color: #c0c0ff;
}
.text-accent {
  color: #711fb3;
}
.text-accent {
  color: #711fb3;
}
/* Grid
-------------------------------------------------- */
@media (min-width: 1400px) {
  .container {
    width: calc(100% - 6rem);
    max-width: calc(100% - 6rem);
  }
}
@media (min-width: 1200px) {
  .container {
    width: calc(100% - 6rem);
    max-width: calc(100% - 6rem);
  }
}
@media (min-width: 992px) {
  .container {
    width: calc(100% - 6rem);
    max-width: calc(100% - 6rem);
  }
}
@media (min-width: 768px) {
  .container {
    width: calc(100% - 6rem);
    max-width: calc(100% - 6rem);
  }
}
@media (min-width: 576px) {
  .container {
    width: calc(100% - 6rem);
    max-width: calc(100% - 6rem);
  }
}
/* Dropdown menu
-------------------------------------------------- */
.dropdown-toggle::after {
  font-size: 1.5em;
  vertical-align: 0.05em;
  margin-left: 0;
}
.dropdown-item:focus,
.dropdown-item:hover {
  color: white;
  background-color: #199FFF;
}
/* Border
-------------------------------------------------- */
.border,
.border-left,
.border-right,
.border-top,
.border-bottom {
  border-color: #d0d0d0 !important;
}
.border-rounded {
  border-radius: 0.25rem;
}
hr,
.dropdown-divider {
  border-color: #d0d0d0;
}
html,
body {
  font-family: Roboto, 'Segoe UI', sans-serif;
  font-size: 13px;
  background-color: #F8F8F8;
}
.w-small {
  width: 7em !important;
}
.w-smallinput {
  display: inline-block;
}
.w-narrow {
  width: 15em;
}
.w-narrowinput {
  display: inline-block;
}
.d-inline-soft {
  display: inline-block;
}
.d-inline-soft.alert {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.bold {
  font-weight: bold;
}
.bg-body {
  background-color: #F8F8F8;
}
.bg-midgrey {
  background-color: #888;
}
/* Avatar
-------------------------------------------------- */
.avatar {
  height: 2em;
  vertical-align: middle;
  margin-bottom: 1px;
}
.avatar-1em {
  height: 1.2em;
  vertical-align: middle;
  position: relative;
  top: -0.1em;
}
img.avatar.department,
img.avatar-1em.department,
.avatar.department img,
.avatar-1em.department img {
  border-radius: 50%;
}
.contact {
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
  margin-bottom: 1px;
  background-color: #f4f4f4;
}
/* Validation
-------------------------------------------------- */
.validation-summary-valid {
  display: none;
}
.validation-summary-errors ul + h5 {
  margin-top: 0.5em;
}
.validation-summary-errors ul {
  margin: 0;
  padding-inline-start: 2em;
}
.input-validation-error {
  background-color: #fee;
  border-left: solid 5px red;
}
/* Page Header
-------------------------------------------------- */
.page-header {
  background-color: white;
  border-bottom: solid 1px #ddd;
  margin-top: -1rem;
  padding-top: 2rem;
  margin-bottom: 1rem;
}
.page-header .nav-tabs {
  border-bottom: none;
  color: inherit;
}
/* Filter menu elements
-------------------------------------------------- */
.filter-scrollable {
  width: 100%;
  max-height: 20em;
  overflow-x: hidden;
  overflow-y: auto;
}
/* Dropdown menu
-------------------------------------------------- */
.dropdown-menu {
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 0;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.dropdown-item {
  padding-top: 0.7em;
  padding-bottom: 0.7em;
}
/* Card styles
-------------------------------------------------- */
.card {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 190, 0.05);
}
.card-icon {
  font-size: 3em;
  margin-bottom: 1rem;
  color: #711fb3;
}
a .card {
  color: #444;
  text-decoration: none;
}
.settings-card {
  width: 16rem;
}
.settings-card h5 {
  color: black;
}
.settings-card .card-text {
  color: #444;
}
a:hover .card {
  background-color: #199FFF;
  color: white;
}
a:hover .card-icon,
a:hover .settings-card h5,
a:hover .settings-card .card-text {
  color: white;
}
/* Fields
-------------------------------------------------- */
.unit {
  display: inline-block;
  padding: 4px 0;
}
input ~ .unit {
  min-width: 8em;
  margin-left: 0.5em;
}
.unit:first-child {
  position: absolute;
  left: 26px;
  margin: 2px 0 0 0;
  pointer-events: none;
}
.unit + input {
  padding-left: 1.75em;
}
input[type=color] {
  background-color: white;
  padding: 0px 2px;
  width: 80px;
  height: 30px;
  cursor: pointer;
  width: 8em;
  margin: 4px 0;
}
input[type='number'] {
  -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
/* Sign-in page styles
-------------------------------------------------- */
.siginin-page-panel {
  position: absolute;
  left: 0;
  top: 0;
  height: 100vh;
  right: 50vw;
  background-image: url(/images/siginin-back.jpg);
  background-position: center right;
  background-size: cover;
  background-color: white;
  background-repeat: no-repeat;
  z-index: -1;
}
@media (max-width: 768px) {
  .siginin-page-panel {
    display: none;
  }
}
.siginin-logo {
  max-width: 100%;
}
.btn-icon {
  margin-right: 0.5em;
}
html {
  position: relative;
  min-height: 100%;
}
/* Sticky footer styles
-------------------------------------------------- */
body {
  margin-bottom: 60px;
  /* Margin bottom by footer height */
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}
.footer .background {
  background-color: white;
}
.footer-logo {
  width: 15em;
  max-width: 100%;
}
.disabled-row {
  color: #aeaeae;
}
.disabled-row * {
  color: #aeaeae;
}
.rotate180 {
  transform: rotate(180deg);
}
.diagonal-fill {
  background-image: url(/images/diagonal.png);
  background-repeat: repeat;
  background-attachment: fixed;
}
/* Toggle switch with checkbox control
-------------------------------------------------- */
.switch {
  display: inline-block;
  width: 60px;
  height: 30px;
  position: relative;
}
.toggle-thumb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #475569;
  border-radius: 40px;
  cursor: pointer;
}
.toggle-thumb:before {
  content: "";
  height: 29px;
  width: 29px;
  position: absolute;
  border-radius: 50%;
  background-color: #007bff;
  transition: 0.4s all ease;
}
.checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox:checked + .toggle-thumb:before {
  transform: translateX(30px);
}
.accordion-icon:not([aria-expanded="true"]) .fa.fa-minus,
.accordion-icon[aria-expanded="false"] .fa.fa-minus,
.accordion-icon[aria-expanded="true"] .fa.fa-plus {
  display: none;
}
.po-detail-table td {
  border-top: none;
}
