html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #ED1C24;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

a {
    text-decoration: none;
}

.index-page {
    width: 100%;
    height: 75vh;
    display: flex;
    align-items: center;
}

.btn-custom-red {
    background-color: #ED1C24;
    border-color: #ED1C24;
    color: white;
}

    .btn-custom-red:hover {
        background-color: #D0171F;
        border-color: #D0171F;
        color: white;
    }

.form-right i {
    font-size: 100px;
}

.form-right {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .form-right img {
        max-width: 80%;
        height: auto;
    }

html, body {
    width: 100%;
    overflow-x: hidden;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: 0;
    margin-left: 0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 1rem;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    table-layout: auto;
    text-align: left;
}

.venta-page {
    width: 100%;
    float: left;
}

.container, .container-fluid {
    max-width: 100% !important;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .pagination .page-item {
        display: none;
    }

        .pagination .page-item:first-child,
        .pagination .page-item:last-child,
        .pagination .page-item.active,
        .pagination .page-item:nth-child(2),
        .pagination .page-item:nth-last-child(2) {
            display: block;
        }

            .pagination .page-item.active ~ .page-item:nth-child(3),
            .pagination .page-item.active ~ .page-item:nth-child(4),
            .pagination .page-item.active ~ .page-item:nth-child(5) {
                display: block;
            }

            .pagination .page-item.active ~ .page-item:nth-last-child(3),
            .pagination .page-item.active ~ .page-item:nth-last-child(4),
            .pagination .page-item.active ~ .page-item:nth-last-child(5) {
                display: block;
            }

@media (min-width: 576px) {
    .pagination .page-item {
        display: block;
    }
}

.btn-custom-green {
    background-color: #28A745;
    border-color: #28A745;
    color: white;
}

    .btn-custom-green:hover {
        background-color: #218838;
        border-color: #1E7E34;
        color: white;
    }
