/*!
 * Bootstrap3 Compatibility Layer
 * For Bootstrap 5.3.x
 */

/* ======================================
   Grid System
====================================== */

[class*="col-xs-"] {
  position: relative;
  min-height: 1px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  float: left;
}

.row::before,
.row::after {
  display: table;
  content: " ";
}

.row::after {
  clear: both;
}

.col-xs-1 {
  width: 8.33333333%;
}
.col-xs-2 {
  width: 16.66666667%;
}
.col-xs-3 {
  width: 25%;
}
.col-xs-4 {
  width: 33.33333333%;
}
.col-xs-5 {
  width: 41.66666667%;
}
.col-xs-6 {
  width: 50%;
}
.col-xs-7 {
  width: 58.33333333%;
}
.col-xs-8 {
  width: 66.66666667%;
}
.col-xs-9 {
  width: 75%;
}
.col-xs-10 {
  width: 83.33333333%;
}
.col-xs-11 {
  width: 91.66666667%;
}
.col-xs-12 {
  width: 100%;
}
.btn.btn-primary {
  font-size: 13px;
}

/* ======================================
   Pull
====================================== */

.pull-left {
  float: left !important;
}

.pull-right {
  float: right !important;
}

/* ======================================
   Center Block
====================================== */

.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ======================================
   Image Responsive
====================================== */

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ======================================
   Hidden / Visible
====================================== */

.hidden {
  display: none !important;
}

@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }

  .visible-xs {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .visible-xs {
    display: none !important;
  }
}

/* ======================================
   Text Align
====================================== */

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

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

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

/* ======================================
   Button Default
====================================== */

.btn-default {
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
}

.btn-default:hover {
  background: #f5f5f5;
}

/* ======================================
   Panel
====================================== */

.panel {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
}

.panel-body {
  padding: 15px;
}

.panel-footer {
  padding: 10px 15px;
  border-top: 1px solid #ddd;
}

/* ======================================
   Modal Footer Fix
====================================== */

.modal-footer::after {
  content: "";
  display: block;
  clear: both;
}
.modal-footer button[type="button"] {
  margin: 0;
}
/* ======================================
   List Group
====================================== */

.list-group-item {
  position: relative;
}

/* ======================================
   Bootstrap3 Modal Header
====================================== */

.modal-header {
  padding: 15px;
}

.modal-title {
  margin: 0;
  line-height: 1.5;
  font-size: 15px;
}

/* ======================================
   Legacy Close Button
====================================== */

.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.2;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  opacity: 0.5;
}

button.close {
  appearance: none;
}

.modal-header .close {
  margin-top: -2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.in {
  opacity: 1;
}

.btn-block {
  width: 100%;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.pagination li {
  display: inline-block;
  border-bottom: none !important;
}

.pagination li a,
.pagination li span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border: 1px solid #409eff;
  background: #fff;
  color: #409eff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  user-select: none;
}

.pagination li a:hover {
  background: #409eff;
  color: #fff;
}

.pagination li.active a,
.pagination li.active span {
  background: #409eff;
  color: #fff;
}

.pagination li.first a,
.pagination li.last a {
  padding: 0 16px;
  font-size: 15px;
}

.pagination li.hidden {
  display: none;
}
