html {
    font-size: 16px;
}

body {
    /* font-family: 'Indie Flower', cursive; */
    font-family: Arial, Helvetica, sans-serif;
}

/* Manejo de colores  */
.bg-gris-1 {
    background-color: #eee;
}

.bg-rosa {
    background-color: #d89c9c;
}

.w-index {
    height: 100vh;
    width: 100vw;
    background: #05314a;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #05314a, #05314a);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #05314a, #05314a);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.tabla-general {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    width: 100%;
    margin-bottom: 1rem;
}

.tabla-general th,
.tabla-general td {
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 0.5px solid #ccc;
    border-left: 0.5px solid #ccc;
}

.tabla-general th {
    padding-top: 5px;
    padding-bottom: 5px;
}

.tabla-general thead {
    background-color: #eee;
    text-align: center;
    border-top: 0.5px solid #ccc;
    border-right: 0.5px solid #ccc;
}
.tabla-general tfoot {
    background-color: #eee;
    text-align: right;
}
.tabla-general tfoot td{
    border-top: 0.5px solid #ccc;
    border-right: 0.5px solid #ccc;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.tabla-general tbody {
    border-right: 0.5px solid #ccc;
}

.tabla-general tbody tr:hover {
    background-color: beige;
}

.fila-seleccionada {
    background-color: rgb(178, 202, 247);
    /* background-color: red; */
}

.filas-seleccionadas {
    background-color: #326295;
}

.fila-seleccionada:hover {
    background-color: rgb(178, 202, 247) !important;
}

/* Bootstrap */
.tab-pane {
    border: 1px solid #dee2e6;
    min-height: 100px;
    border-top-color: #fff;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.form-check-input {
    border-color: #999;
}

.form-floating textarea {
    min-height: 250px;
}

.w-5 {
    width: 5%;
}

.w-10 {
    width: 10%;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-60 {
    width: 60%;
}

.w-65 {
    width: 65%;
}


/* Bootbox */
button.bootbox-close-button.close {
    background-color: transparent;
    border: 0px;
}

/* Planillas */

.c_planillas {
    width: 1040px;
    page-break-after: always;
}

.c_planillas td {
    border: 1px solid #aaaaaa;
    padding: 5px;
    margin: 0px;
}

.basesPlanilla {
    font-size: 12px;
    vertical-align: top;
    border: 0px solid white !important;
    padding: 2px 0px 0px 0px !important;
}


.c_planillas td:nth-child(3) {
    background-color: rgb(255, 255, 153);
}

.c_planillas td:nth-child(4) {
    background-color: rgb(253, 233, 217);
}

.c_planillas td:nth-child(9) {
    background-color: rgb(255, 255, 153);
}

.c_planillas td:nth-child(10) {
    background-color: rgb(253, 233, 217);
}

.form-control-1 {
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-form-control-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.editable {
    border-style: solid;
    border-color: #C0C0C0 #326295 #326295 #326295;
    border-radius: 3px;
    border-width: 1px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    max-width: 28px;
    text-align: center;
}

/* Página de partidos - Ingreso de resultados de los partidos  */
.w-partidos .cls-hora {
    padding: 10px 5px 3px 5px;
}

.w-partidos .cls-partido {
    display: flex;
    width: 100%;
    padding: 10px 5px;
    background-color: #eee;
    border-radius: 5px;
    font-size: 0.75rem;
    margin-bottom: 2px;

}

.w-partidos .cls-partido>div {
    display: inline-block;
    box-sizing: border-box;
    padding-left: 3px;
    padding-right: 3px;
    text-align: center;
}

.w-partidos .cls-partido input {
    max-width: 28px;
    width: 100%;
}

.w-partidos .cls-partido>div:nth-child(1) {
    width: 10%;
    font-weight: bolder;
    font-size: 1.2rem;
}

.w-partidos .cls-partido>div:nth-child(2) {
    width: 12%;
}

.w-partidos .cls-partido>div:nth-child(3) {
    width: 22%;
    text-align: right;
}

.w-partidos .cls-partido>div:nth-child(4) {
    width: 8%;
    text-align: center;
}

.w-partidos .cls-partido>div:nth-child(5) {
    width: 8%;
    text-align: center;
}

.w-partidos .cls-partido>div:nth-child(6) {
    width: 22%;
    text-align: left;
}

.w-partidos .cls-partido>div:nth-child(7) {
    width: 8%;
    text-align: center;
}

.w-partidos .cls-partido>div:nth-child(8) {
    width: 10%;
    text-align: center;
}

.w-partidos .cls-partido a {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Select con autocompletar  */
.autocomplete-items {
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
}
.autocomplete-item {
    padding: 10px;
    cursor: pointer;
}
.autocomplete-item:hover, .autocomplete-item.selected {
    background-color: #e9e9e9;
}



/* Pantalla de Compras  */
.tabla-compras-1 th:nth-child(14),
.tabla-compras-1 th:nth-child(15),
.tabla-compras-1 th:nth-child(16), 
.tabla-compras-1 th:nth-child(17),
.tabla-compras-1 th:nth-child(18),
.tabla-compras-1 th:nth-child(19)  {
    display: none;
}
.tabla-compras-1 td:nth-child(14),
.tabla-compras-1 td:nth-child(15),
.tabla-compras-1 td:nth-child(16), 
.tabla-compras-1 td:nth-child(17),
.tabla-compras-1 td:nth-child(18),
.tabla-compras-1 td:nth-child(19)  {
    display: none;
}

.tabla-compras-1 .sire td {
    background-color: rgb(41, 189, 100);
}

.tabla-compras-1 .sire-gestion td {
    background-color: rgb(39, 162, 88);
}


/* Responsive */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .w-eventos .filtros {
        display: none;
    }

    .w-eventos .tabla-general th:nth-child(4),
    .w-eventos .tabla-general td:nth-child(4) {
        display: none;
    }

    .w-index .row {
        height: auto !important;
        padding-top: 30px;
    }

    .w-evento #tabla-jugadores {
        font-size: 0.6;
    }

    .w-evento #tabla-jugadores th:nth-child(4),
    .w-evento #tabla-jugadores td:nth-child(4),
    .w-evento #tabla-jugadores th:nth-child(6),
    .w-evento #tabla-jugadores td:nth-child(6),
    .w-evento #tabla-jugadores th:nth-child(7),
    .w-evento #tabla-jugadores td:nth-child(7),
    .w-evento #tabla-jugadores th:nth-child(8),
    .w-evento #tabla-jugadores td:nth-child(8),
    .w-evento #tabla-jugadores th:nth-child(9),
    .w-evento #tabla-jugadores td:nth-child(9) {
        display: none;
    }
    .pdf-icon { width: 100%;}


}


/************************************************* Pantalla de ventas  **********************************/

/* Ocultar todas las columnas de la tabla .t-ventas */
.t-ventas td,
.t-ventas th {
    display: none;
}

/* Mostrar las columnas específicas */
.t-ventas.vista-1 td:nth-child(2),
.t-ventas.vista-1 th:nth-child(2),
.t-ventas.vista-1 td:nth-child(4),
.t-ventas.vista-1 th:nth-child(4),
.t-ventas.vista-1 td:nth-child(8),
.t-ventas.vista-1 th:nth-child(8),
.t-ventas.vista-1 td:nth-child(11),
.t-ventas.vista-1 th:nth-child(11),
.t-ventas.vista-1 td:nth-child(12),
.t-ventas.vista-1 th:nth-child(12),
.t-ventas.vista-1 td:nth-child(14),
.t-ventas.vista-1 th:nth-child(14),
.t-ventas.vista-1 td:nth-child(16),
.t-ventas.vista-1 th:nth-child(16),
.t-ventas.vista-1 td:nth-child(25),
.t-ventas.vista-1 th:nth-child(25),
.t-ventas.vista-1 td:nth-child(40),
.t-ventas.vista-1 th:nth-child(40),
.t-ventas.vista-1 td:nth-child(41),
.t-ventas.vista-1 th:nth-child(41),
.t-ventas.vista-1 td:nth-child(44),
.t-ventas.vista-1 th:nth-child(44),
.t-ventas.vista-1 td:nth-child(45),
.t-ventas.vista-1 th:nth-child(45),
.t-ventas.vista-1 td:nth-child(46),
.t-ventas.vista-1 th:nth-child(46), 
.t-ventas.vista-1 td:nth-child(47),
.t-ventas.vista-1 th:nth-child(47) {
    display: table-cell; /* Asegúrate de que se muestren como celdas de tabla */
}

.w-ventas .detallePagosContenedor{
    height: 150px;
    overflow-y: auto;
    border: 1px solid #ccc;    
    border-radius: 5px;
}
.w-ventas #detallePagos td:nth-child(1),
.w-ventas #detallePagos th:nth-child(1){
    display: none;
}
