.table-bordered {
  border: 0 !important;
}

.table-bordered>thead>tr>th {
  border: 0 !important;
  border-bottom: solid 1px #343a40 !important;
}

table.table-bordered.dataTable tbody td {
  border-bottom-width: 1px !important;
  max-height: 40px;
}


table.dataTable tbody th,
table.dataTable tbody td {
  padding: 5px 5px;
  /* e.g. change 8x to 4px here */
  white-space: nowrap;
}

/*
.dataTables_scrollBody {
  min-height: 150px;
}
*/

.table-bordered>tbody>tr>td {
  border: 0 !important;
  padding: 4px 4px;
  border-bottom: 1px solid #cccccc !important;
}

/*
tr.datatable-column-filter-row > th:nth-child(n + 1) > input[type="text"] {
  width: 100px;
}
.tr.datatable-column-filter-row > th > input {
  width: 100px;
}
*/

.is-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-md th,
.table-md td {
  padding: 0.55rem;
  font-size: 14px;
}

.card-footer {
  border-top: 1px solid #dee2e6;
}

.btn {
  color: white;
}


td.details-control {
  background: url("../lib/datatables-1.10.20/images/details_open.png") no-repeat center center;
  cursor: pointer;
}

tr.shown td.details-control {
  background: url("../lib/datatables-1.10.20/images/details_close.png") no-repeat center center;
}

.container {
  height: 500px;
  position: relative;
  border: 0px solid #dbe4ed;
  /* Border color is optional */
}

.image_center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.card_center {
  margin: 0;
  position: absolute;
  left: 50%;
  -ms-transform: translate(-50%, -0%);
  transform: translate(-50%, -0%);
}


.encima {
  z-index: 10;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.blink_me {
  animation: blinker 1s linear infinite;
}

.derecha {
  text-align: right;
}

.button_oculto {
  background-color: transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  overflow: hidden;
  outline: none !important;
}

.htmx-indicator {
  opacity: 0;
  transition: opacity 500ms ease-in;
}

.htmx-request .htmx-indicator {
  opacity: 1
}

.htmx-request.htmx-indicator {
  opacity: 1
}

.indicator-style {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-left: -50px;
  margin-top: -50px;
}

/* Centered Image Code */

.container {
  height: 500px;
  position: relative;
  border: 0px solid #dbe4ed;
  /* Border color is optional */
}

.image_center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* Para que los toogle estén alineados a la derecha */
.is-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-toggle[aria-expanded="true"]:after {
  transform: rotate(180deg);
}

/*for animation*/
.dropdown-toggle:after {
  transition: 0.7s;
}

/* Tables2 + htmx + */
/* Table style */

.table-container th.asc:after {
  content: '\0000a0\0025b2';
  float: right;
}

.table-container th.desc:after {
  content: '\0000a0\0025bc';
  float: right;
}

/*
.table-container table td:nth-child(1) {
  width: 5%;
}

.table-container table td:nth-child(2) {
  width: 20%;
}

.table-container table td:nth-child(3) {
  width: 50%;
}
*/
/* Progress bar */
.progress {
  height: 10px;
  width: 100%;
  border-radius: 2px;
  background-clip: padding-box;
  overflow: hidden;
  position: relative;
}

.progress {
  opacity: 0;
}

.htmx-request .progress {
  opacity: 1;
}

.htmx-request.progress {
  opacity: 1;
}

.progress .indeterminate {
  background-color: blue;
}

.progress .indeterminate:before {
  content: '';
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
  animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}

.progress .indeterminate:after {
  content: '';
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  -webkit-animation-delay: 1.15s;
  animation-delay: 1.15s;
}

@keyframes indeterminate {
  0% {
    left: -15%;
    right: 100%;
  }

  60% {
    left: 100%;
    right: -90%;
  }

  100% {
    left: 100%;
    right: -90%;
  }
}

@keyframes indeterminate-short {
  0% {
    left: -200%;
    right: 100%;
  }

  60% {
    left: 107%;
    right: -8%;
  }

  100% {
    left: 107%;
    right: -8%;
  }
}

/* Estilo para el navbar */

.navbar {
  background-color: #bf2b29;
}

.pie-pagina {
  background-color: rgb(200, 200, 200);
  color: rgb(150, 34, 34);
  padding: 10px;
  text-align: center;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}

.dropdown-menu>li:hover>.dropdown-submenu {
  display: block;
}

/*
.navbar1 {
  background-color: green;
}

.navbar1 .navbar-brand,
.navbar1 .navbar-nav .nav-link {
  color: white;
}
*/

/* Notificaciones */
.notification {
  color: #bf2b29;
  text-decoration: none;
  padding: 15px 26px;
  position: relative;
  display: inline-block;
  border-radius: 2px;
}

/* Make the badge float in the top right corner of the button */
.notification .badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 10px;
  border-radius: 50%;
  background: #343a40;
  color: white;
}

.notification-ui a:after {
  display: none;
}

.notification-ui_icon {
  position: relative;
}

.notification-ui_icon .unread-notification {
  display: inline-block;
  height: 7px;
  width: 7px;
  border-radius: 7px;
  background-color: #66BB6A;
  position: absolute;
  top: 7px;
  left: 12px;
}

@media (min-width: 900px) {
  .notification-ui_icon .unread-notification {
    left: 20px;
  }
}

.notification-ui_dd {
  padding: 0;
  border-radius: 10px;
  -webkit-box-shadow: 0 5px 20px -3px rgba(0, 0, 0, 0.16);
  box-shadow: 0 5px 20px -3px rgba(0, 0, 0, 0.16);
  border: 0;
  max-width: 400px;
}

@media (min-width: 900px) {
  .notification-ui_dd {
    min-width: 400px;
    position: absolute;
    left: -192px;
    top: 70px;
  }
}

.notification-ui_dd:after {
  content: "";
  position: absolute;
  top: -30px;
  left: calc(50% - 7px);
  border-top: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #fff;
  border-left: 15px solid transparent;
}

.notification-ui_dd .notification-ui_dd-header {
  border-bottom: 1px solid #ddd;
  padding: 15px;
}

.notification-ui_dd .notification-ui_dd-header h3 {
  margin-bottom: 0;
}

.notification-ui_dd .notification-ui_dd-content {
  max-height: 500px;
  overflow: auto;
}

.notification-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 20px 0;
  margin: 0 25px;
  border-bottom: 1px solid #ddd;
}

.notification-list--unread {
  position: relative;
}

.notification-list--unread:before {
  content: "";
  position: absolute;
  top: 0;
  left: -25px;
  height: calc(100% + 1px);
  border-left: 2px solid #29B6F6;
}

.notification-list .notification-list_img img {
  height: 48px;
  width: 48px;
  border-radius: 50px;
  margin-right: 20px;
}

.notification-list .notification-list_detail p {
  margin-bottom: 5px;
  line-height: 1.2;
}

.notification-list .notification-list_feature-img img {
  height: 48px;
  width: 48px;
  border-radius: 5px;
  margin-left: 20px;
}


.fa-solid {
  font-size: 26px;
}

.fa-solid[data-count]:after {
  position: absolute;
  right: 0%;
  top: 1%;
  content: attr(data-count);
  font-size: 36%;
  padding: .6em;
  border-radius: 999px;
  line-height: .75em;
  color: rgb(198, 238, 20);
  background: rgba(6, 17, 117, 0.85);
  text-align: center;
  min-width: 2em;
  font-weight: bold;
}

.white-mode {
  text-decoration: none;
  padding: 17px 40px;
  background-color: yellow;
  border-radius: 3px;
  color: black;
  transition: .35s ease-in-out;
  position: fixed;
  left: 15px;
  bottom: 15px
}

.modal-header {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  -webkit-border-top-left-radius: 6px;
  -webkit-border-top-right-radius: 6px;
  -moz-border-radius-topleft: 6px;
  -moz-border-radius-topright: 6px;
  background-color: coral;
}

/* Select2 */
.select2-selection__rendered {
  line-height: 31px !important;
}

.select2-container .select2-selection--single {
  height: 38px !important;
}

.select2-selection__arrow {
  height: 34px !important;
}