body {
  background-image: unset;
  background-color: white;
  font-family: Helvetica, Arial, sans-serif;
}

#block-deportes-theme-content {
  grid-column: unset;
  width: 100%;
}

#content {
  all: unset;
}

table th,
table td {
  max-width: 250px;
}

table td:last-child {
  max-width: 510px;
  width: 510px;
  display: inline-block;
}

.form-group {
  margin-top: 12.5px;
}

table td {
  overflow: auto;
}

.table-container::-webkit-scrollbar {
  height: 8px;
}

.table-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-track {
  background-color: #eee;
}

.a-no-style,
.a-no-style:hover {
  text-decoration: none;
  color: inherit;
}

/* Estilos personalizados para el pop-up */
.modal {
  display: none; /* Ocultar el pop-up de forma predeterminada */
  position: fixed; /* Posición fija para cubrir la pantalla */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
}

.modal-content {
  background-color: #fff;
  margin: 10% auto; /* Centrar verticalmente */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 1.3em;
}

.close {
  color: #888;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

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

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

.select2-selection {
  height: 50px !important;
}

.select2-container--bootstrap .select2-selection--single {
  height: calc(1.5em + 0.75rem + 2px);
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  line-height: 1.5;
  background-color: #fff;
  color: #495057;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select2-container--bootstrap .select2-selection--single:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.select2-container--bootstrap
  .select2-selection--single
  .select2-selection__arrow {
  height: calc(1.5em + 0.75rem + 2px);
  position: absolute;
  top: 1px;
  right: 1px;
  width: 1.5em;
  padding: 0.375rem;
}

.select2-selection__rendered {
  line-height: 45px !important;
}

.tabla-oculta {
  opacity: 0;
  transition: opacity 1s ease;
}

.tabla-mostrar {
  opacity: 1 !important;
}

@keyframes blink {
  0% {
    background-color: white;
  }
  25% {
    background-color: #4a84cfc2;
  }
  50% {
    background-color: white;
  }
  75% {
    background-color: #4a84cf1c;
  }
  100% {
    background-color: white;
  }
}

.input-group-append {
  margin-top: 3px;
}

.ver-btn {
  min-width: 100px;
}

@media (max-width: 700px) {
  #crudAddElementToggleButton {
    width: 75% !important;
    margin-bottom: 10px;
  }
}

.btn-control-crud {
  max-width: 105px;
  min-height: 54px;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 2px;
}

#closeBtnConfirmation {
  all: unset;
  transition: transform 0.5s;
}

#closeBtnConfirmation:hover {
  color: #000;
  transform: scale(1.5);
  transition: transform 0.5s;
  cursor: pointer;
}

.ver-btn {
  width: 105px !important;
}

.fa-arrow-up,
.fa-arrow-down {
  padding-left: 5px;
}

#searchInput {
  border-radius: 5px;
  max-width: 90px;
  transition: max-width 2s;
}

#searchInput:hover,
#searchInput:focus {
  max-width: 335px;
}

.btn {
  transition: transform 0.5s ease !important;
  transform: scale(1);
}

.btn:hover {
  transform: scale(1.03) !important;
}

@media (max-width: 600px) {
  #bottom-crud-btns > div {
    flex-direction: column;
  }

  #bottom-crud-btns > div > div {
    margin-left: unset !important;
    margin-top: 10px;
  }

  #bottom-crud-btns > div > label {
    margin-bottom: 10px;
  }

  #bottom-crud-btns > div > select {
    margin-left: 0;
  }
}

#block-deportes-theme-content {
  max-width: 99.3%;
}

.ck.ck-balloon-panel.ck-balloon-panel_position_border-side_right.ck-powered-by-balloon {
  display: none;
}

@media (max-width: 600px) {
  #extra-buttons-crud-bot button {
    padding-left: 0;
    padding-right: 0;
  }
}

.botones-lr-fijos {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  z-index: 1000;
  display: block;
  width: 7%;
  text-align: center;
  transition: top 1s;
}

#tabla-container {
  overflow-y: scroll;
  max-height: 100vh;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #ededed;
}

.card-animate-appearance {
  display: none;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s, transform 0.5s;
}

select[readonly],
input[readonly] {
  cursor: not-allowed;
}

.table > :not(caption) > * > * {
  padding: 1rem 0.75rem;
  padding-bottom: 10px;
  padding-top: 10px;
}

input:required::after {
  content: " *";
  color: red;
  vertical-align: top;
}

label:has(+ input:required):after,
label:has(+ select:required):after,
label:has(+ textarea:required):after {
  content: " *";
  color: red;
}

label::first-letter {
  text-transform: capitalize;
}

span.select2-selection--multiple {
  height: auto !important;
}
