:root {
  --bs-primary: #159145;
  --bs-primary-light: #47d67e;
}
.form-select:focus {
  border-color: #a1fabe !important;
  outline: 0;
  box-shadow: 0 0 0 2px #a1fabe !important;
}

.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 2px var(--bs-primary-light);
}

.form-range::-webkit-slider-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: -0.25rem;
  background-color: #a1fabe;
  border: 0;
  border-radius: 1rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  appearance: none;
}

.btn-libros {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.btn-awaiting_delivery {
  background-color: var(--bs-awaiting-delivery);
  border-color: var(--bs-awaiting-delivery);
  color: #fff;
}

.btn-cancelled {
  background-color: var(--bs-cancelled);
  border-color: var(--bs-cancelled);
  color: #fff;
}

.btn-shipped {
  background-color: var(--bs-shipped);
  border-color: var(--bs-shipped);
  color: #fff;
}

.btn-returned {
  background-color: var(--bs-returned);
  border-color: var(--bs-returned);
  color: #fff;
}

.btn-dispute {
  background-color: var(--bs-dispute);
  border-color: var(--bs-dispute);
  color: #fff;
}

.btn-future_shipment {
  background-color: var(--bs-future-shipment);
  border-color: var(--bs-future-shipment);
  color: #fff;
}

.btn-libros:hover {
  background-color: var(--bs-primary-light);
}

a:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

/* General */
.pagination {
  --bs-pagination-active-bg: #159145;
  --bs-pagination-active-border-color: #159145;
  --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(161, 250, 190, 0.25);
}
.page-item.active .page-link {
  color: #fff;
}
.navbar-vertical .navbar-nav > .nav-item .nav-link.active .icon {
  background-image: linear-gradient(310deg, #159145 0%, #159145 100%);
  color: #fff;
}

.bg-gradient-primary {
  background-image: linear-gradient(310deg, #a1fabe 0%, #159145 100%);
}
.focused {
  box-shadow: 0 0 0 2px #a1fabe;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.no-focus-style.focused {
  box-shadow: none;
  transition: none;
}

.no-focus-style.focused .input-group-text {
  border-color: inherit;
}

.no-focus-style .form-control:focus {
  border-color: initial;
  box-shadow: initial;
}

.no-focus-style.input-group .form-control:focus {
  border-left: initial !important;
  border-right: 1px #495057 solid !important;
}

.is-focused .choices__inner,
.is-open .choices__inner {
  box-shadow: 0 0 0 2px #a1fabe;
  border-color: #a1fabe;
}
body .chosen-container-single .chosen-single, body .chosen-container-active.chosen-with-drop .chosen-single{
  border-radius: 0.5rem;
  border-top-right-radius: 0.5rem !important;
  border-bottom-right-radius: 0.5rem !important;
  border-left-width: 1px;
  border: 1px solid #d2d6da;
  background-clip: padding-box;
  line-height: 1.4rem;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  font-size: 0.875rem !important;
  font-weight: 400;
  color: #495057;
  background-color: #fff;
  padding: 0.5rem 0.75rem;
  height: 40px;
}


body .chosen-container-single .chosen-single{
  height: 40px !important;
  padding-top: 0.5rem !important;
  line-height: 24.5px !important;
  font-size: 14px !important;
}



.btn.btn-icon-only{
  margin-bottom: 0px;
}

/* NAVBAR */
.navbar-brand-img {
  max-height: 3rem !important;
}

/* Datatables */
.dataTables_length {
  float: left;
}

div.dataTables_wrapper div.dataTables_length label {
  padding: 0.5rem 1.5rem 1.2rem 1.5rem;
}

div.dataTables_wrapper div.dataTables_filter label {
  padding: 0.5rem 1.5rem 1.2rem 1.5rem;
}

div.dataTables_wrapper .form-select {
  background-position: right 0.25rem center;
}

.html5buttons {
  float: right;
  padding-right: 1.2rem;
}

.dataTables_filter {
  text-align: right;
}
div.dataTables_wrapper div.dataTables_info {
  padding-left: 1.5rem;
  padding-bottom: 0.25rem;
  font-weight: 400;
  font-size: 10px;
}

table.dataTable td,
table.dataTable th {
  padding-left: 1.5rem;
}

div.dataTables_wrapper div.dataTables_paginate {
  margin-bottom: 1rem !important;
  padding-right: 1rem;
}

.table-responsive .html5buttons .btn-create {
  background-color: #4cc77b;
  border-color: #4cc77b;
}
.table-responsive .html5buttons .btn-create:hover {
  background-color: #159145;
  border-color: #159145;
}

.page-link.active, .active>.page-link {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
}


/* CHOSEN */
body .chosen-container {
  width: 100% !important;
  max-width: 100%;
}

body .chosen-container-multi .chosen-choices {
  display: block;
  width: 100%;
  height: auto !important;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.52857;
  color: #495057;
  background-color: #fff;
  background-image: none;
  border: 1px solid #dde6e9;
  border-radius: 0.25rem;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  font-size: 0.875rem;
  height: 35px;
}
@media (prefers-reduced-motion: reduce) {
  body .chosen-container-multi .chosen-choices {
    transition: none;
  }
}
body .chosen-container-multi .chosen-choices:focus {
  color: #495057;
  background-color: #fff;
  border-color: #66afe9;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
body .chosen-container-multi .chosen-choices[disabled],
body .chosen-container-multi .chosen-choices[readonly],
fieldset[disabled] body .chosen-container-multi .chosen-choices {
  cursor: not-allowed;
  background-color: #edf1f2;
  opacity: 1;
}

body
  .chosen-container-multi
  .chosen-choices
  li.search-field
  input[type="text"] {
  height: auto;
  padding: 0;
}

body .chosen-container-multi .chosen-choices li.search-choice {
  margin: 0 5px 3px 0;
  background-color: #f5f6f7;
  border: 1px solid #e7e9ec;
  background-image: none;
}

body .chosen-container .chosen-results li.highlighted {
  background-color: #a1a2a3;
  background-image: none;
}

body .chosen-container .chosen-drop {
  border-color: #ddd;
}

body .chosen-container .chosen-results li.group-result {
  color: #747576;
  letter-spacing: 0.02em;
}

body .chosen-container-single .chosen-single,
body .chosen-container-active.chosen-with-drop .chosen-single {
  display: block;
  width: 100%;
  height: 2.1875rem;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.52857;
  color: #495057;
  background-color: #fff;
  background-image: none;
  border: 1px solid #dde6e9;
  border-radius: 0.25rem;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  font-size: 0.875rem;
  height: 35px;
  box-shadow: 0 0 0 #000;
}
@media (prefers-reduced-motion: reduce) {
  body .chosen-container-single .chosen-single,
  body .chosen-container-active.chosen-with-drop .chosen-single {
    transition: none;
  }
}
body .chosen-container-single .chosen-single:focus,
body .chosen-container-active.chosen-with-drop .chosen-single:focus {
  color: #495057;
  background-color: #fff;
  border-color: #66afe9;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
body .chosen-container-single .chosen-single[disabled],
body .chosen-container-single .chosen-single[readonly],
fieldset[disabled] body .chosen-container-single .chosen-single,
body .chosen-container-active.chosen-with-drop .chosen-single[disabled],
body .chosen-container-active.chosen-with-drop .chosen-single[readonly],
fieldset[disabled]
  body
  .chosen-container-active.chosen-with-drop
  .chosen-single {
  cursor: not-allowed;
  background-color: #edf1f2;
  opacity: 1;
}

body .chosen-search-input {
  border: 0;
}

body .chosen-container-active .chosen-single,
body .chosen-container-active .chosen-choices {
  border: 1px solid #66afe9;
  box-shadow: 0 0 0 #000;
}

body .chosen-container-single .chosen-drop {
  margin-top: -3px;
}

body .chosen-container-single .chosen-single div {
  top: 6px;
  right: 5px;
}

body
  .chosen-container-multi
  .chosen-choices
  li.search-field
  input[type="text"] {
  color: #b7bac9;
  display: initial;
}


.all_content {
  min-height: 82vh;
}

.tr-hover-libros {
  cursor: pointer;
}

.tr-hover-libros:hover {
  background-color: var(--bs-primary-light);
  color: black;
}

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


.select2-container--default .select2-selection--single {
    border-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
    border-bottom-right-radius: 0.5rem !important;
    border-left-width: 1px !important;
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4rem;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d2d6da;
    appearance: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    min-height: 2.8em;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px;
    right: 2px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0px 2px 1px;
    line-height: 1.4rem;
}
