@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,600,600i,700,700i');

.alert:not(.p-block) {
  position: absolute;
  z-index: 11111;
  left: 0;
  right: 0;
  top: 0;
}

html,
body {
  height: 100%;
  font-family: Roboto, sans-serif;
}

.text-align-left {
  text-align: left !important;
}

.btn-secondary {
  border: '1px solid #99999';
  border-radius: 5px;
}

.d-block {
  display: block;
}

.text-orange,
.text-orange:hover,
.text-orange:active,
.text-orange:visited,
.text-orange:focus {
  color: #f19232;
}

a.muted {
  pointer-events: none;
  color: #ccc !important;
}

.text-gray,
.text-gray:hover,
.text-gray:active,
.text-gray:visited,
.text-gray:focus {
  color: #999;
}

a,
a:hover {
  color: #ff0000;
}

.btn:active:focus,
.btn:focus {
  outline: none;
}

.navbar {
  min-height: 100px;
}

.navbar-header {
  width: 100%;
}

.navbar-brand {
  padding: 25px 15px;
}

ul.navbar-nav {
  /*padding-top: 48px;*/
}

#company-selector-wrapper {
  float: right;
  margin-top: 0.5rem;
}

.btn-w100 {
  width: 100%;
  margin-bottom: 15px;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

@media (min-width: 768px) {
  .btn-w100 {
    width: 275px;
  }
}

.btn-xs {
  font-size: 1.5rem;
  padding: 5px 15px;
}

.scanner-flex {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.scanner-button {
  width: 100%;
  margin-bottom: 15px;
  font-size: 15px;
  padding: 50px 15px;
  word-break: break-word;
  white-space: normal;
  height: 175px;
}

.scanner-action-button {
  width: 100%;
  margin-bottom: 15px;
  font-size: 15px;
  padding: 25px 15px;
  word-break: break-word;
  white-space: normal;
}

.scanner-action-button .fad,
.scanner-button .fad {
  font-size: 25px;
  display: block;
}

.col-mobile-hidden {
  display: none !important;
}

.clean-button,
.clean-button:hover,
.clean-button:focus,
.clean-button:active,
.clean-button:active:focus {
  border: none !important;
  background-color: transparent !important;
  color: #000 !important;
  box-shadow: none !important;
}

@media (min-width: 991px) {
  .col-mobile-hidden {
    display: table-cell !important;
  }
}

.brand-label {
  width: 100%;
  text-align: left;
}

.brand-label .head {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 35px;
  font-family: Roboto, sans-serif;
  font-size: 55px;
  letter-spacing: 2px;
  color: #ff0000;
  font-weight: 900;
}

.brand-label .foot {
  display: block;
  margin: 0;
  padding: 0;
  font-family: 'Roboto';
  font-size: 13px;
  color: #fff;
}

.nav .fas {
  font-size: 20px;
  width: 20px;
  text-align: center;
}

.dropdown-menu {
  left: auto;
  right: 0;
}

.dropdown-menu .fas {
  color: #ff0000;
}

.dropdown-menu > li > a {
  padding: 5px 20px;
}

.wrap {
  min-height: 100%;
  height: auto;
  margin: 0 auto -60px;
  padding: 0 0 60px;
}

.wrap > .container,
.wrap > .container-fluid {
  padding: 100px 15px 20px;
}

.nav-tabs {
  border-bottom: 1px solid #fceae8;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  border: 1px solid #fceae8;
  border-bottom-color: transparent;
  color: #ff0000;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #ff0000;
  border-color: #cc2b19;
}

.pagination > li > a,
.pagination > li > a:hover {
  color: #ff0000;
}

.btn-success {
  background-color: #ff0000;
  border-color: #cc2b19;
  color: #fff;
}

.btn-danger {
  background-color: #9e9e9e;
  border-color: #808080;
  color: #fff;
}

.btn-info {
  background-color: #fff;
  border-color: #ff0000;
  color: #ff0000;
}

.btn-info:hover,
.btn-info:active,
.btn-info:focus,
.btn-info:active:hover,
.btn-info.active:hover,
.open > .dropdown-toggle.btn-info:hover,
.btn-info:active:focus,
.btn-info.active:focus,
.open > .dropdown-toggle.btn-info:focus,
.btn-info:active.focus,
.btn-info.active.focus,
.open > .dropdown-toggle.btn-info.focus {
  color: #cc2b19;
  border-color: #881d11;
  background-color: #fff;
}

.btn-danger:hover,
.btn-danger:active,
.btn-danger:focus,
.btn-danger:active:hover,
.btn-danger.active:hover,
.open > .dropdown-toggle.btn-danger:hover,
.btn-danger:active:focus,
.btn-danger.active:focus,
.open > .dropdown-toggle.btn-danger:focus,
.btn-danger:active.focus,
.btn-danger.active.focus,
.open > .dropdown-toggle.btn-danger.focus {
  background-color: #8c8c8c;
  border-color: #737373;
}

.btn-success:hover,
.btn-success:active,
.btn-success:focus,
.btn-success:active:hover,
.btn-success.active:hover,
.open > .dropdown-toggle.btn-success:hover,
.btn-success:active:focus,
.btn-success.active:focus,
.open > .dropdown-toggle.btn-success:focus,
.btn-success:active.focus,
.btn-success.active.focus,
.open > .dropdown-toggle.btn-success.focus {
  background-color: #cc2b19;
  border-color: #881d11;
}

.nav-tabs > li > a {
  color: #9e9e9e;
}

.footer {
  height: 60px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.jumbotron {
  text-align: center;
  background-color: transparent;
}

.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

.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;
}

.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;
}

.nav li > form > button.logout {
  padding: 3px 20px;
  border: none;
  color: #000;
  width: 100%;
  text-align: left;
}

.nav li > form > button.logout .fas {
  margin-right: 0;
}

.navbar-inverse {
}

.navbar-collapse {
  background-color: #000;
}

.navbar-inverse {
  background-color: #000;
}

.navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link:focus {
  color: #262626;
  text-decoration: none;
  background-color: #f5f5f5;
}

.navbar-nav {
}

@media (max-width: 767px) {
  .nav li > form > button.logout {
    padding-left: 25px;
    color: #9d9d9d;
  }

  .navbar-inverse .btn-link:hover,
  .navbar-inverse .btn-link:focus {
    background-color: transparent;
    color: #fff;
  }
}

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

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

.btn .fas {
  width: 35px;
  margin-right: 10px;
}

.navbar-nav .fas {
  width: 35px;
}

.nav-tabs .fas {
  width: 30px;
}

.font-awesome-url .fas {
  width: 25px;
  /*margin-right: 15px;*/
  font-size: 18px;
  text-align: center;
  color: #ff0000;
}

.grid-view a {
  color: #ff0000;
}

.font-awesome-url.green {
  color: #06bf1e !important;
}

.gridview-buttons-group {
  width: 150px;
}

.gridview-buttons-group-wide {
  width: 175px;
  min-width: 180px;
}

.gridview-buttons-group-extra-wide {
  width: 200px;
}

.gridview-buttons-group-width {
  min-width: 130px;
}

.gridview-buttons-group .fas {
  margin-right: 0 !important;
}

.btn-default {
  background-color: #337ab7;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
}

.btn-default .fas {
  font-size: 20px;
  color: #fff;
  width: 20px;
  text-align: center;
}

img.button-loading-icon {
  width: 15px !important;
  display: none;
}

/* Google charts table */
.google-visualization-table-tr-even,
.google-visualization-table-tr-odd,
.google-visualization-table-table td {
  height: 30px !important;
}

.google-visualization-table-table td {
  padding: 0 !important;
  margin: 0 !important;
}

.google-visualization-table-tr-sel {
  background-color: #ffcccc !important;
}

.google-visualization-table-tr-over {
  background-color: #ff6666 !important;
}

/* custom grid */
.text-red {
  color: #cc2b19;
}

.danger td {
  color: #cc2b19 !important;
  font-weight: bold !important;
}

.kv-expand-icon-cell:hover {
  background-color: #e6e6e6 !important;
}

.table > tbody > tr.info > td {
  background-color: #f2f2f2;
}

.table .table-row:hover,
.table-row-done:hover {
  background-color: #e6e6e6;
  cursor: pointer;
}

.table-expand .table-row-expand:hover {
  background-color: #e6e6e6;
  cursor: pointer;
}

.disabled-text {
  color: #ccc !important;
}

.fas-large {
  font-size: 24px;
}

.btn-filter,
.btn-clean {
  background-color: transparent;
  border: none;
}

.btn-filter {
  display: inline-block;
}

.gray {
  color: #ccc !important;
}

/*
* dropzone js
*/
.drop-area {
  background-color: #ffe6e6;
  border: 1px dashed #990000;
  padding: 25px;
  margin: 0 15px 0 15px;
  color: #ff0000;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.drop-area p {
  text-align: center;
}

.drop-area .fas {
  font-size: 35px;
  color: #ff8080;
}

.dz-preview {
  color: #000;
  font-size: 14px;
}

.dz-preview .dz-image {
  display: none;
}

.dz-preview .dz-size,
.dz-preview .dz-filename,
.dz-preview .dz-details,
.dz-preview .dz-progress,
.dz-preview .dz-error-message {
  display: inline-block;
}

.dz-preview .dz-size,
.dz-preview .dz-success-mark,
.dz-preview .dz-error-mark {
  display: none;
}

.d-none {
  display: none;
}

.dz-preview .fa-times {
  font-size: 14px;
}

#add-button .fas {
  font-size: 32px !important;
}

.stock-button,
.stock-button:hover,
.stock-button:focus,
.stock-button:active,
.stock-button:active:focus {
  border: none;
  background: none;
}

#warehouse-grid .dropdown-menu {
  right: 0;
  left: auto;
}

.schedule-drag td:hover {
  cursor: grab;
}

.mbsc-timeline-resource,
.mbsc-timeline-row {
  min-height: 70px !important;
}
table.dataTable.compact thead th,
table.dataTable.compact thead td {
  padding: 0;
  padding-top: 20px;
}
table.dataTable.compact thead th input {
  width: 96%;
  border: none;
  background: #efefef;
  margin-bottom: 8px;
}
.mbsc-calendar-controls * {
}
.mbsc-calendar-controls {
  flex-wrap: wrap;
}
.datatable fas {
  font-size: 10px !important;
}
.datatable {
  font-size: 13px;
}
.dataTables_filter {
  display: none;
}
.modal-xxl {
  width: 95%;
  height: 90%;
}
.modal-xxl .modal-content {
  height: 100%;
}
.modal-xxl .modal-content {
  overflow-y: auto;
}
.select {
  width: 200px !important;
  border: 1px solid #9c9c9c;
  padding: 3px 8px;
  min-height: 34px !important;
  border-radius: 4px;
}

.material-desc:hover {
  cursor: pointer;
  text-decoration: underline;
}

.fixed {
  width: 30%;
  z-index: 999;
  position: fixed;
}

.context-menu {
  display: none;
  position: absolute;
  border: 1px solid #888888;
  border-radius: 3px;
  width: 120px;
  background: white;
  box-shadow: 0px 0px 10px #888888;
}

.context-menu ul {
  list-style: none;
  margin-bottom: 0px;
  padding: 5px;
}

.context-menu ul li {
  padding: 5px 2px;
  color: #404040;
  font-size: 12px;
}

.context-menu ul li:hover {
  cursor: pointer;
  background: #efefef;
}

.purchase-has-confirm {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
}

/* Styles for the loading popup */
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.loading-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
}

@media (min-width: 1200px) {
  .container {
    width: 90% !important;
  }
}

.fc-license-message {
  display: none;
}

.zoomed-event {
  transform: scale(1.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.filter-form {
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

#start_date #end_date #order_id {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 150px;
}

#line {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 10px 0;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 20px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #5b0d0d;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #b71212;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #d20c0c;
}

.custom-scrollbar {
  overflow-y: auto;
  max-height: 200px;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.animate-icon {
  animation: blink 1s infinite;
}

.red-circle {
  width: 20px;
  height: 20px;
  background-color: red;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: bold;
  margin-left: 91%;
  display:none;
}

.event-blocked {
  background-color: rgba(255, 0, 0, 0.3);
  border: none;
  pointer-events: none;
}

.event-blocked:hover {
  background-color: rgba(255, 0, 0, 0.3);
  cursor: default;
}

.event-blocked {
  text-align: center;
  font-weight: bold;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #695a5a;
}

.toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.toggle-checkbox {
  display: none;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 50px;
  position: relative;
  transition: background 0.3s;
}

.toggle-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-checkbox:checked + .toggle-switch {
  background: #e63946;
}

.toggle-checkbox:checked + .toggle-switch::before {
  transform: translateX(20px);
}

#loading_remote_records {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  z-index: 9999;
}

.pagination-container {
  margin-top: 15px;
  text-align: center;
}

.pagination-button {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 6px 12px;
  margin: 0 5px;
  cursor: pointer;
}

.pagination-button:hover {
  background-color: #ddd;
}

#pagination-info {
  font-weight: bold;
}

.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.custom-modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 35%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.custom-modal-close {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

.custom-input {
  width: 100%;
  padding: 6px 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.scrollable-tabs {
  overflow-x: auto;
  white-space: nowrap;
  display: block;
  flex-wrap: nowrap;
}

.scrollable-tabs > li {
  display: inline-block;
  float: none;
  white-space: nowrap;
}

.loader {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid #ccc;
  border-top: 2px solid #333;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-left: 5px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.badge-success {
  background-color: #28a745;
}

.badge-warning {
  background-color: #ffc107;
  color: #212529;
}

.badge-secondary {
  background-color: #6c757d;
}

.scanner-simulator {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
