body .form-label {
  margin-bottom: 0.1rem;
}

div.sticky-bottom {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background-color: white;
}

div.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: white;
}

body .text-left {
  text-align: left;
}

body .text-right {
  text-align: right;
}

body .text-center {
  text-align: center;
}

body .text-justify {
  text-align: justify;
}

body .nowrap {
  white-space: nowrap;
}

/* Custom admin css */
.pac-container {
  z-index: 10000;
}

body .invalid-feedback {
  margin: 0;
}

body .display-none,
body .hidden {
  display: none;
}

/* Autocomplete */
body .ui-autocomplete-loading {
  background: white url("/img/ui-anim_basic_16x16.gif") right center no-repeat;
}

body .ui-autocomplete {
  z-index: 10000;
  background: #fff;
  border: 1px solid #d5d5d5;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.theme-dark body .ui-autocomplete {
  background: #293042;
}

body .ui-widget.ui-widget-content {
  z-index: 10000;
}

body .ui-menu .ui-state-focus,
body .ui-menu .ui-state-active {
  margin: 0;
  /* background-color: #f5f5f5 !important; */
}

body .ui-widget-content .ui-state-active {
  border: none;
  background: none;
}

body .ui-autocomplete .ui-menu-item {
  background: #fff;
  border-bottom: 1px solid #d5d5d5;
  line-height: 20px;
  padding: 2px 15px;
  font-size: 0.825rem;
}

.theme-dark body .ui-autocomplete .ui-menu-item {
  background: #293042;
}

.ui-autocomplete .ui-menu-item:first-child {
  -moz-border-radius: 5px 5px 0px 0px;
  -webkit-border-radius: 5px 5px 0px 0px;
  border-radius: 5px 5px 0px 0px;
}

.ui-autocomplete .ui-menu-item:last-child {
  border-bottom: 0px;
  -moz-border-radius: 0px 0px 5px 5px;
  -webkit-border-radius: 0px 0px 5px 5px;
  border-radius: 0px 0px 5px 5px;
}

.ui-autocomplete .ui-menu-item:hover {
  background: #f5f5f5;
}

.theme-dark .ui-autocomplete .ui-menu-item:hover {
  background: #202634;
}

.ui-autocomplete .ui-menu-item.ui-state-focus,
.ui-autocomplete .ui-menu-item.ui-state-active {
  margin: 0px;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  color: #000 !important;
}

/* .ui-autocomplete:after,
.ui-autocomplete:before {
  bottom: 100%;
  left: 20px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ui-autocomplete:after {
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #fff;
  border-width: 5px;
  margin-left: -5px;
}

.ui-autocomplete:before {
  border-color: rgba(213, 213, 213, 0);
  border-bottom-color: #d5d5d5;
  border-width: 6px;
  margin-left: -6px;
} */

/* End Autocomplete */

/* Paginator */
.asc:after {
  content: " \2193";
}

.desc:after {
  content: " \2191";
}

@media screen and (max-width: 640px) {
  .asc:after {
    content: " \2192";
  }

  .desc:after {
    content: " \2190";
  }
}

.select2-container {
  width: 100% !important;
}

body .is-invalid .select2-container .select2-selection,
body .is-invalid .select2-container .select2-selection {
  border-color: #d9534f;
}

body .is-invalid .invalid-feedback {
  display: block;
}

body .note-editor.note-airframe,
body .note-editor.note-frame {
  background-color: #fff;
}

/* tab-language */
.tab-language .nav-tabs .nav-link.active {
  background: var(--bs-body-bg);
  border-bottom-color: var(--bs-card-border-color);
}

.tab-language .tab-content {
  background: var(--bs-body-bg);
}
/* tab-language */

/* Loader */
.loader-container {
  position: fixed;
  top: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 1000;
  opacity: 0;
  /*transition: all 300ms ease;*/
  overflow: hidden;
  pointer-events: none;
}

.loader-container.active {
  top: 0;
  opacity: 1;
  pointer-events: all;
}

.loader-wrapper {
  width: 50px;
  height: 50px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader {
  border: 7px solid #f3f3f3;
  border-top: 7px solid #293042;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}
/* Loader */

/* .form-control::placeholder */
.form-control::-webkit-input-placeholder {
  color: #495057;
  opacity: 0.75;
}

.form-control::-moz-placeholder {
  color: #495057;
  opacity: 0.75;
}

.form-control::placeholder {
  color: #495057;
  opacity: 0.75;
}
/* .form-control::placeholder */

@media screen and (max-width: 576px) {
  .row > * {
    padding-left: calc(var(--bs-gutter-x) * 0.25);
    padding-right: calc(var(--bs-gutter-x) * 0.25);
  }
}

.badge {
  -webkit-transition: none;
  transition: none;
}

a.badge:focus,
a.badge:hover {
  text-decoration: none;
}

.badge:empty {
  display: none;
}

.btn .badge {
  position: relative;
  top: -1px;
}

.badge-pill {
  padding-right: 0.6em;
  padding-left: 0.6em;
  border-radius: 10rem;
}

.badge-primary {
  color: #fff;
  background-color: #71b6f9;
}

a.badge-primary:focus,
a.badge-primary:hover {
  color: #fff;
  background-color: #409df7;
}

a.badge-primary.focus,
a.badge-primary:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(113, 182, 249, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(113, 182, 249, 0.5);
}

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

a.badge-secondary:focus,
a.badge-secondary:hover {
  color: #fff;
  background-color: #545b62;
}

a.badge-secondary.focus,
a.badge-secondary:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.badge-success {
  color: #fff;
  background-color: #10c469;
}

a.badge-success:focus,
a.badge-success:hover {
  color: #fff;
  background-color: #0c9550;
}

a.badge-success.focus,
a.badge-success:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(16, 196, 105, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(16, 196, 105, 0.5);
}

.badge-info {
  color: #fff;
  background-color: #35b8e0;
}

a.badge-info:focus,
a.badge-info:hover {
  color: #fff;
  background-color: #1e9dc4;
}

a.badge-info.focus,
a.badge-info:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(53, 184, 224, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(53, 184, 224, 0.5);
}

.badge-warning {
  color: #343a40;
  background-color: #f9c851;
}

a.badge-warning:focus,
a.badge-warning:hover {
  color: #343a40;
  background-color: #f7b820;
}

a.badge-warning.focus,
a.badge-warning:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(249, 200, 81, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(249, 200, 81, 0.5);
}

.badge-danger {
  color: #fff;
  background-color: #ff5b5b;
}

a.badge-danger:focus,
a.badge-danger:hover {
  color: #fff;
  background-color: #ff2828;
}

a.badge-danger.focus,
a.badge-danger:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 91, 91, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(255, 91, 91, 0.5);
}

.badge-light {
  color: #343a40;
  background-color: #f1f5f7;
}

a.badge-light:focus,
a.badge-light:hover {
  color: #343a40;
  background-color: #d1dee4;
}

a.badge-light.focus,
a.badge-light:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(241, 245, 247, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(241, 245, 247, 0.5);
}

.badge-dark {
  color: #fff;
  background-color: #323a46;
}

a.badge-dark:focus,
a.badge-dark:hover {
  color: #fff;
  background-color: #1d2128;
}

body.theme-dark .badge.bg-dark {
  color: #000;
}

a.badge-dark.focus,
a.badge-dark:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(50, 58, 70, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(50, 58, 70, 0.5);
}

.badge-pink {
  color: #343a40;
  background-color: #ff8acc;
}

a.badge-pink:focus,
a.badge-pink:hover {
  color: #343a40;
  background-color: #ff57b6;
}

a.badge-pink.focus,
a.badge-pink:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 138, 204, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(255, 138, 204, 0.5);
}

.badge-purple {
  color: #fff;
  background-color: #5b69bc;
}

a.badge-purple:focus,
a.badge-purple:hover {
  color: #fff;
  background-color: #4250a2;
}

a.badge-purple.focus,
a.badge-purple:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(91, 105, 188, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(91, 105, 188, 0.5);
}

.badge-blue {
  color: #fff;
  background-color: #71b6f9;
}

a.badge-blue:focus,
a.badge-blue:hover {
  color: #fff;
  background-color: #409df7;
}

a.badge-blue.focus,
a.badge-blue:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(113, 182, 249, 0.5);
}

.badge-total {
  font-size: 15px;
  border: 1px solid #10c469;
  background: #fff;
  color: #10c469;
}

.id-ellipsis-wrapper {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding: 0;
  margin: 0;
  background: none;
}

.id-ellipsis-wrapper .id-ellipsis {
  display: block;
  width: 100%;
  transition: all 300ms ease;
  background: rgba(0, 0, 0, 0);
  color: #444;
  top: 0%;
  padding: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.id-ellipsis-wrapper:hover .id-ellipsis,
.id-ellipsis-wrapper:focus .id-ellipsis {
  z-index: 10;
  background: #ccc;
  color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.id-ellipsis-wrapper:after {
  background: #333;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  bottom: -14px;
  color: #fff;
  content: attr(data-tooltip);
  /**extract the content from the title */
  left: 0%;
  padding: 5px 15px;
  position: absolute;
  z-index: 98;
  width: auto;
  white-space: nowrap;
  transition: all 300ms ease;
  font-size: 12px;
  font-weight: normal;
  margin-left: 6px;
}

.id-ellipsis-wrapper:before {
  border: solid;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 0px solid transparent;
  border-right: 6px solid rgba(0, 0, 0, 0.8);
  bottom: -6px;
  content: "";
  left: 50%;
  position: absolute;
  z-index: 99;
  transition: all 300ms ease;
  margin-left: 0px;
}

/* intlTelInput */
body .form-group .iti {
  display: block;
}

body .iti__country-list {
  z-index: 1000;
}

body .card-header:first-child {
  border-radius: 0;
}

.theme-dark body .iti__country-list {
  background: #293042;
}

html.theme-dark .img-logo {
  background-color: #fff;
}

body .btn.btn-outline.btn-outline-dashed {
  border-width: 1px;
  border-style: dashed;
}

body .btn-check + .btn:hover {
  background-color: #202634;
  border-color: var(--bs-btn-border-color);
  color: var(--bs-btn-color);
}

body .form-floating .select2-selection--single {
  min-height: calc(3.75rem + 2px);
  padding-top: 1.85rem !important;
}

/* intl-tel-input form floating fix */
.form-floating.tel .form-control,
.form-floating.tel .form-control-plaintext {
  padding: 1rem 0.7rem;
  height: calc(3.5rem + 2px);
  line-height: 1.25;
  min-height: calc(3.5rem + 2px);
}

mark.courier {
  background-color: #495057 !important;
  color: #fff;
  padding: 5px;
  border-radius: 0.2rem;
  font-weight: bold;
}

.card-fullscreen-wrap {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: #fff;
}

.card-fullscreen-wrap .card {
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  margin: 0px;
}

.card-fullscreen-wrap .card .card-body {
  overflow-y: scroll;
}

ul.card-controls {
  float: right;
  padding: 0px;
  margin: 0px;
  list-style: none;
  position: relative;
}

ul.card-controls > li {
  float: left;
}

ul.card-controls > li > a {
  display: block;
  float: left;
  width: 36px;
  height: 36px;
  text-align: center;
  line-height: 34px;
  color: #ffffff;
  border: 1px solid #bbb;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin-left: 3px;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}

ul.card-controls > li > a.control-primary {
  color: #33414e;
  border-color: #33414e;
}

.theme-dark .card-controls > li > a.control-primary {
  color: #ffffff;
  border-color: #ccc;
}

ul.card-controls > li > a.control-success {
  color: #95b75d;
  border-color: #95b75d;
}

ul.card-controls > li > a.control-info {
  color: #3fbae4;
  border-color: #3fbae4;
}

ul.card-controls > li > a.control-warning {
  color: #fea223;
  border-color: #fea223;
}

ul.card-controls > li > a.control-danger {
  color: #b64645;
  border-color: #b64645;
}

ul.card-controls > li > a:hover {
  border-color: #999;
  color: #434a54;
}

ul.card-controls > li > a.rounded {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

ul.card-controls.card-controls-title {
  margin-top: 3px;
}

.card-hidden-controls ul.card-controls > li > a {
  opacity: 0;
  filter: alpha(opacity=0);
}

.card-hidden-controls:hover ul.card-controls > li > a {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.card-hidden-controls:hover ul.card-controls > li > a:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

ul.card-controls > li.label-control .label,
.label-form {
  display: inline-block;
  font-size: 11px;
  padding: 5px 10px;
  line-height: 12px;
  margin-top: 4px;
}

ul.card-controls > li > .dropdown-menu {
  left: auto;
  right: 3px;
}

ul.card-controls > li > .dropdown-menu:after,
ul.card-controls > li > .dropdown-menu:before {
  left: auto;
  right: 11px;
}

ul.card-controls > li > .dropdown-menu:after {
  margin-left: auto;
  margin-right: -5px;
}

ul.card-controls > li > .dropdown-menu:before {
  margin-left: auto;
  margin-right: -6px;
}

body span.tomato {
  font-size: 1.5em;
  color: Tomato;
  vertical-align: sub;
  margin-right: 10px;
}

.outline-0 {
  outline: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.theme-dark body mark {
  color: revert;
}
