html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  background:#1e1e2d;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  background:#1e1e2d;
  color:#fff;
}

footer.footer{
  border-top:0 !important;
  color: #fff;
  line-height:20px !important;
  text-align: center;
  font-size: 10px;
  line-height: 20px;
}

.btn-primary{
  background:#009ef7;
  border-color: #009ef7;
  color:#fff;
  font-weight: bold;
  font-size: 1.1em;
}

.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle, .btn-primary:hover {
  background:#009ef7;
  border-color: #009ef7;
  color:#fff;
}

.custom-button {
  font-weight: bold;
  background-color: #fff;
  color: #000;
  border: 1px solid;
}

.form-group {
  margin-bottom: 1rem;
}
label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

form .btn-primary{
  width:100%;
  line-height:30px;
}

.navbar-brand {
  padding:0;
}

.navbar {
  padding-top: 0.2rem !important;
  padding-bottom: 0.2rem !important;
}

.navbar-brand img {
  max-height:45px;
}

.btn-success {
  color:#fff;
  background-color: #009ef7;
  border-color: #009ef7;
}

.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
  text-align: center;
  line-height: 60px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 4px;
}

.primary-button {
  color: #fff;
  background-color: #084298;
  border-color: #084298;
  width: 100%;
  font-weight: bold;
}

.secondary-button {
  color: #084298;
  background-color: #fff;
  border-color: #084298;
  width: 100%;
  font-weight: bold;
}

.index-button {
  text-align: center;
  line-height: 60px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 4px;
  border: 1px solid;
}

.login-separator {
  text-align:center;
}

.alert {
  padding:0;
  border:none;
}

.group {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.overview-section {
  margin-bottom:20px;
}

.overview-section-title {
  background: #084298;
  color: #06104a;
  padding: 5px 10px;
  font-size: 17px;
  margin-bottom: 10px;
}

.overview-section-detail {
  background: #fff;
  color: #001e38;
  border-radius: 4px;
  box-shadow: 0 3px 5px rgba(0,0,0,.4);
}

.col-4.overview-section-detail {
  width: calc((100% - 20px)/3);
}

.col-6.overview-section-detail {
  width: calc((100% - 10px)/2);
}

.overview-section-detail-title {
  border-bottom: 2px solid #084298;
  padding: 5px 10px;
  line-height: 17px;
  font-weight: 500;
  font-size: 15px;
}

.overview-section-detail-title.two-line {
  min-height: 46px;
}

.overview-section-detail-content {
  padding: 5px 10px;
  font-weight: 700;
  font-size: 28px;
  line-height: 32px;
}

#online-gw {
  cursor:pointer;
}

#gatewaysDetailsModal {
  color: #001e38;
}

#gatewaysDetailsModal .badge:empty {
  display: inline-block;
  width: 18px;
  height: 18px;
  align-self: center;
}

#gatewaysDetailsModal .list-group-item {
  padding: .5rem .5rem;
  color: #001e38;
}

#gatewaysDetailsModal .accordion-flush .accordion-item .accordion-button {
  display: grid;
  align-items: center;
  grid-auto-flow: column;
}

#gatewaysDetailsModal .modal-body {
  padding: 0;
}

#gatewaysDetailsModal .accordion-button {
  padding: 1rem;
}

#gatewaysDetailsModal .accordion-body {
  padding: 0 1rem;
}

#gatewaysDetailsModal table {
  font-size: .85em;
}
#gatewaysDetailsModal .accordion-button:focus {
  box-shadow: none;
}

#article-result table,
#link-history table{
  background: #fff;
  border-radius:4px;
}

#article-result table td{
  border-bottom:none;
  vertical-align: middle;
}

#article-result i{
  color: #ff0000;
  font-size: 24px;
  line-height: 24px;
}

.form-switch{
  padding-left: 0;
  margin-bottom: 30px;
}

.form-check-input{
  height:1.2em;
  border-radius: 2.5em;
}

.form-check-label{
  line-height: 1.8em;
  margin-bottom: 0;
  float: left;
}

.form-switch .form-check-input{
  width: 2.2em;
  margin-top: 5px;
  margin-left: 1em;
}

#companyStoreSelectorModal{
  color:#000;
}

.navbar .navbar-nav{
  justify-content: end;
}

/* ACCORDION ALABARANES ARTICULOS */

#albaranesAccordion .accordion-button {
    padding: 0.6rem 1rem;
}
#albaranesAccordion .accordion-body {
    padding: 1rem 1rem 0;
}
#albaranesAccordion .accordion-button:focus {
    box-shadow: none;
}
#albaranesAccordion dl {
    margin-bottom: 0;
    padding: 1px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #084298;
}
#albaranesAccordion dl:last-child {
    border-bottom: none;
}
#albaranesAccordion dd {
    margin-bottom: 0;
    text-align: right;
    display: flex;
}
#albaranesAccordion dd .badge {
    align-self: center;
}
/* END ACCORDION ALABARANES ARTICULOS */

#article-list-container dl {
    margin-bottom: 0;
    padding: 1px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #084298;
}
#article-list-container dl:last-child {
    border-bottom: none;
}
#article-list-container dd {
    margin-bottom: 0;
    text-align: right;
    display: flex;
}
#article-list-container dd .badge {
    align-self: center;
}

.overview-section dl {
  margin-bottom: 0;
  padding: 1px 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid #084298;
}
.overview-section dl:last-child {
  border-bottom: none;
}

.overview-section dd{
  margin-bottom: 0;
  text-align: right;
  display: flex;
}

.overview-section dd .badge{
  align-self: center;
}

h4.overview-section-title{
  font-size:16px;
}

.button-group{
  display: grid;
  grid-column-gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.button-group .btn{
  line-height:1;
  width: 100%;
  height: 100%;
}

.navbar-light .navbar-toggler{
  padding: .15rem .41rem;
  color: #000;
  border-color: #000;
}

.navbar-toggler:focus{
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.select2-container{
  color:#444 !important;
}

.select2-container--default .select2-selection--single{
  border:none;
  height: 34px;
}

/*.select2-container--default .select2-selection--single .select2-selection__rendered{
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  border: 1px solid #ced4da;
  border-radius: .25rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 33px;
}*/

.has-feedback{
  position: relative;
}

.form-control-feedback {
  position: absolute;
  top: 22px;
  right: 12px;
  z-index: 2;
  display: block;
  width: 25px;
  height: 33px;
  text-align: center;
  pointer-events: none;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  color: #373d43;
}

.form-control-clear {
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 1.5 16 16'%3e%3cpath fill='%23343a40' d='M11.383 13.644A1.03 1.03 0 0 1 9.928 15.1L6 11.172 2.072 15.1a1.03 1.03 0 1 1-1.455-1.456l3.928-3.928L.617 5.79a1.03 1.03 0 1 1 1.455-1.456L6 8.261l3.928-3.928a1.03 1.03 0 0 1 1.455 1.456L7.455 9.716z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.175em + .1875rem) center;
  background-size: calc(.4em + .375rem) calc(.4em + .375rem);
}

.required{
  color: red;
  margin-left: 2px;
}

#fishFormModal .form-group{
  margin-bottom: 0.7rem;
}

.select2-container {
  display: block !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #212529 !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  appearance: none !important;
  border-radius: 0.25rem !important;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.select2-container .select2-selection--single {
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  padding: 0.375rem 0.75rem !important;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0 !important;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 32px !important;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"],
.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"]{
  background-position: right .45rem center, center right 1.95rem;
}

.was-validated .form-control.has-feedback:valid,
.was-validated .form-control.has-feedback:valid{
  padding-right: 3.525rem;
  background-position: center right 1.95rem;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e")
}

.form-select.is-invalid:not([multiple]):not([size]),
.form-select.is-invalid:not([multiple])[size="1"],
.was-validated .form-select:invalid:not([multiple]):not([size]),
.was-validated .form-select:invalid:not([multiple])[size="1"]{
  background-position: right .45rem center, center right 1.95rem;
}

.form-control.has-feedback.is-invalid,
.was-validated .form-control.has-feedback:invalid{
  padding-right: 3.525rem;
  background-position: center right 1.95rem;
}

.modal .form-switch {
  padding-left: 2.5em;
  margin-bottom: .125rem;
}

.modal .form-switch .form-check-input {
  height: 1.2em;
  width: 2.2em !important;
  margin-right: 0.7em;
  margin-left: -2.5em;
}

.modal .form-check-label{
  line-height: 2em;
  float: none;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus{
  box-shadow: none;
}

.chart-container{
  position:relative;
  margin: auto;
}

.percentage{
  font-weight:normal;
  font-size: 14px;
}

.open-keyboard{
  color: #6c757d;
  border-color: #ced4da;
  background-color: #e9ecef;
  border-left: none;
}

.scan-nfc{
  color: #6c757d;
  border-color: #ced4da;
  background-color: #e9ecef;
}

.btn-check:focus+.scan-nfc.btn-outline-secondary,
.btn-check:checked+.scan-nfc.btn-outline-secondary:focus {
  box-shadow:none;
}

.scan-nfc.btn-outline-secondary:active{
  background-color: transparent;
  color: #6c757d;
  border-color: #ced4da;
}
.scan-nfc.btn-outline-secondary:hover{
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d !important;
}

.btn-check:checked+.scan-nfc.btn-outline-secondary{
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d !important;
}

#index-menu .material-symbols-outlined {
  font-size:36px;
}

.btn-outline-secondary:hover {
  color: #fff !important;
  background-color:#cd2122 !important;
  border-color:#cd2122 !important;
}

.btn {
  line-height: 1.7;
}

.signin-qrcode-button,
.signin-pass-button,
.signin-microsoft-button,
.signin-google-button  {
  display:flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height:41px;
  padding:12px;
  color:#1F1F1F;
  background-color:#ffffff;
  border: 1px solid #8c8c8c;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size:15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: .25rem;
}

.signin-google-button img {
  width:21px;
  height:21px;
}

.otp-input {
  width: 45px;
  height: 50px;
  outline: none;
  transition: border-color 0.2s;
}

.otp-input:focus {
  border-color: #009ef7 !important;
  box-shadow: 0 0 5px rgba(0, 158, 247, 0.5) !important;
}

.otp-input::-webkit-outer-spin-button,
.otp-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.otp-input[type=number] {
  -moz-appearance: textfield;
}

@media (min-width: 576px) {
  .navbar-expand-sm .navbar-toggler {
      display: none !important;
  }
}