a {
  color: #3c8dbc;
}
pre {
  margin-bottom: 0 !important;
}
.navbar {
  width: auto !important;
}
.main-header .nav-item .active {
  color: #5fad80 !important;
  font-weight: bold;
}
.card .card-header {
  padding: 0.3rem 1rem !important;
}
.card .card-footer {
  overflow: auto !important;
}
.content-wrapper .content-header {
  padding: 5px 0.2rem;
}
.content-wrapper .content {
  padding: 0;
}
.popover-md {
  min-width: 280px !important;
}
.modal-dialog {
  margin: 3rem auto;
}
.modal-dialog .modal-content {
  border-radius: 0.4rem !important;
}
.modal-dialog .modal-content .modal-header {
  background-color: #5fad80;
  color: white;
  padding: 0.5rem !important;
}
.modal-dialog .modal-content .modal-header .close {
  padding: 1.3rem;
  opacity: 0.5;
}
.modal-dialog .modal-content .modal-body {
  padding: 0.5rem !important;
}
.modal-dialog .modal-content .modal-footer {
  display: flex !important;
  background-image: url(https://ddyyxc-1254110062.image.myqcloud.com/static/logo/y.png);
  background-size: 2.5rem;
  background-repeat: no-repeat;
  background-position: 5px;
  padding: 0.3rem !important;
}
.modal-dialog .modal-content .callout {
  padding: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}
.callout a {
  text-decoration: none !important;
}
.page-item .page-link {
  color: #3c8dbc;
}
.page-item.active .page-link {
  background-color: #3c8dbc;
  border-color: #3c8dbc;
}
.text-sm .content-header {
  padding: 1px 0.3rem !important;
}
.img-edit-text {
  color: #3c8dbc;
}
.img-icon-edit {
  margin: 0;
  padding: 0.1em;
  min-width: 24px !important;
  height: 100%;
}
.img-icon-edit i {
  display: block !important;
}
.detailview-multi-column th {
  width: 1% !important;
}
.crud-datatable td {
  vertical-align: middle !important;
  padding: 0.3rem 0.3rem !important;
}
.kv-grid-toolbar button.ui-corner-all {
  border-radius: 0 4px 4px 0 !important;
  height: 34px;
}
.kv-grid-toolbar button.ui-corner-all > span.ui-button-text {
  background: #fff;
}
.kv-grid-table thead th:first-child {
  width: 10px !important;
}
.kv-panel-before {
  padding: 2px;
}
#ajax-crud-modal .table th,
#vip-resource-create .table th,
#ajax-crud-modal .table td,
#vip-resource-create .table td {
  padding: 0.3rem !important;
}
#ajax-crud-modal .select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered,
#vip-resource-create .select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered {
  padding: 2px 0 !important;
}
#ajax-crud-modal .select2-container--bootstrap .select2-selection--single,
#vip-resource-create .select2-container--bootstrap .select2-selection--single {
  height: 38px !important;
  padding-top: 8px;
}
#ajax-crud-modal .select2-container--krajee-bs4,
#vip-resource-create .select2-container--krajee-bs4 {
  width: 100% !important;
}
#ajax-crud-modal .select2-selection,
#vip-resource-create .select2-selection {
  border-bottom-left-radius: 0 !important;
}
#ajax-crud-modal .select2-selection__clear,
#vip-resource-create .select2-selection__clear {
  font-size: 14px !important;
  right: 0.5rem !important;
}
#ajax-crud-modal .field-village-id .select2-selection,
#vip-resource-create .field-village-id .select2-selection {
  height: 4.2rem !important;
}
#ajax-crud-modal .field-village-id .select2-selection .select2-selection__clear,
#vip-resource-create .field-village-id .select2-selection .select2-selection__clear {
  padding-top: 1rem !important;
}
#ajax-crud-modal .form-group,
#vip-resource-create .form-group {
  display: flex;
  white-space: nowrap;
  margin-bottom: 0.1rem;
}
#ajax-crud-modal .form-group > label,
#vip-resource-create .form-group > label {
  padding: 0.5rem !important;
  text-align: right;
  vertical-align: middle;
  display: inline-block;
  margin: 0 !important;
  border-left: 1px solid #ced4da !important;
  border-bottom: 1px solid #ced4da !important;
  border-top-left-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}
#ajax-crud-modal .form-group .form-control,
#vip-resource-create .form-group .form-control {
  border-bottom-left-radius: 0 !important;
}
#ajax-crud-modal .form-group .form-check,
#vip-resource-create .form-group .form-check {
  float: left;
  padding-right: 1rem;
}
#ajax-crud-modal .form-group .invalid-feedback,
#vip-resource-create .form-group .invalid-feedback {
  padding: 8px !important;
  max-width: 160px !important;
}
#ajax-crud-modal .invalid-feedback,
#vip-resource-create .invalid-feedback {
  width: auto !important;
}
#ajax-crud-modal .img-list-view .files,
#vip-resource-create .img-list-view .files {
  float: left;
  position: relative;
  padding: 0;
  margin: 0;
}
#ajax-crud-modal .img-list-view .img-list-view-input,
#vip-resource-create .img-list-view .img-list-view-input,
#ajax-crud-modal .img-list-view .img-list-view-item,
#vip-resource-create .img-list-view .img-list-view-item {
  position: relative;
  color: #999999;
  border: 2px dashed #999999;
  border-radius: 7px;
  float: left;
  margin: 3px;
  background-size: cover;
  background-position: center center;
  background-origin: border-box;
  list-style: none;
}
#ajax-crud-modal .upload-kit .upload-kit-input,
#vip-resource-create .upload-kit .upload-kit-input {
  height: 120px !important;
  width: 120px !important;
  margin: 4px !important;
}
#ajax-crud-modal .upload-kit .upload-kit-item,
#vip-resource-create .upload-kit .upload-kit-item {
  margin: 2px !important;
}
#ajax-crud-modal .single-media .upload-kit-input,
#vip-resource-create .single-media .upload-kit-input {
  height: 150px;
  width: 100%;
}
#ajax-crud-modal .single-media .upload-kit-item,
#vip-resource-create .single-media .upload-kit-item {
  margin: 0;
}
#ajax-crud-modal .single-media .upload-kit-item.image > img,
#vip-resource-create .single-media .upload-kit-item.image > img {
  height: 100%;
  width: 100%;
  border-radius: 7px;
}
#ajax-crud-modal .single-media .upload-kit-item.image > img,
#vip-resource-create .single-media .upload-kit-item.image > img {
  width: auto !important;
}
#ajax-crud-modal .img-list-view img,
#vip-resource-create .img-list-view img,
#ajax-crud-modal .upload-kit img,
#vip-resource-create .upload-kit img {
  height: 120px !important;
}
.kv-form-bs4 .form-group .form-check {
  float: left;
  padding-right: 1rem;
}
.pjax-loading-container {
  opacity: 90%;
}
.pjax-loading-container .pjax-loading {
  background: center center no-repeat !important;
  position: absolute !important;
  top: 30% !important;
  left: 50% !important;
  width: 100px;
  height: 50px;
  z-index: 999999;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pjax-loading-container .pjax-loading .lc {
  margin-top: 50%;
  margin-left: -100px;
  width: 100px;
  height: 50px;
  font-size: 20px;
  text-align: center;
}
.pjax-loading-container .pjax-loading .lc .l1 {
  background-color: #fff0a5;
  -webkit-animation-delay: -0.55s;
  animation-delay: -0.55s;
}
.pjax-loading-container .pjax-loading .lc .l2 {
  background-color: #77e8ff;
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
.pjax-loading-container .pjax-loading .lc .l3 {
  background-color: #39bd7b;
  -webkit-animation-delay: -0.45s;
  animation-delay: -0.45s;
}
.pjax-loading-container .pjax-loading .lc > div {
  margin: 0 5px;
  background-color: #fca2e7;
  height: 100%;
  width: 10px;
  display: inline-block;
  -webkit-animation: sk-stretchdelay 0.6s infinite ease-in-out;
  animation: sk-stretchdelay 0.6s infinite ease-in-out;
}
@keyframes sk-stretchdelay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
  }
}
.text-cut {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.file-uploader {
  width: 100% !important;
}
.file-uploader .file-preview {
  border-radius: 0 !important;
}
.file-uploader .file-drop-zone-title {
  padding: 1px 10px !important;
  font-size: 1rem !important;
}
.dark-mode .table .table-primary th {
  color: #111111 !important;
}
.dark-mode .table .table-warning th {
  color: #111111 !important;
}
.dark-mode .close,
.dark-mode .mailbox-attachment-close {
  color: gray !important;
}
.dark-mode .select2-selection--single {
  background-color: #343a40 !important;
  border-color: #6c757d !important;
}
.dark-mode .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
}
.dark-mode .bootstrap-tagsinput {
  background-color: #343a40 !important;
  border-color: #6c757d !important;
}
.dark-mode .bootstrap-tagsinput input {
  color: #fff !important;
}
.dark-mode .sticky-value {
  color: #000;
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  box-shadow: inset 0 0 0 transparent;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.dark-mode .nav-pills .nav-link {
  color: #fff;
}
.card-search .form-inline .form-control {
  width: 8rem;
}
.card-search .form-group {
  margin-bottom: 0;
}
.uuid-label {
  display: inline-block;
}
.uuid-label:before {
  font-family: serif;
  content: "U";
  text-decoration: underline dotted #5fad80;
  color: #5fad80;
  font-size: 0.3521rem;
}
.status-label:before {
  font-family: serif;
  content: "S";
  text-decoration: underline dotted #5fad80;
  color: #5fad80;
  font-size: 0.3521rem;
}
.book-isbn-404 {
  border-left: 1px solid #ced4da;
  border-bottom: 1px solid #333333;
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
  background: #9cc;
}
.book-scan-card .row {
  padding: 0.5rem;
  border-left: 1px solid rgba(0, 0, 0, 0.125);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: calc(0.25rem - 1px) 0 0 0;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.9rem;
}
.book-scan-card label {
  display: block;
  padding: 0 0.3rem;
}
