/* General Stuff */

@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@100..900&display=swap');


body { 
    font-family: "Encode Sans", sans-serif;
    font-size: 18px;
    color: #414042;
}

select, input[type="submit"], button { 
    padding: 5px;
    margin-right: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 160px;
    font-family: inherit;
}

button,
input[type="submit"] {
    background-color: #5cc5d3;
    color: #fff;
}

button:disabled,
input[type="submit"]:disabled {
    cursor: not-allowed;
    background-color: #f5f5f5;
    color: #999;
}

button:disabled:hover,
input[type="submit"]:disabled:hover {
    background-color: #f5f5f5;
}

button:hover,
input[type="submit"]:hover {
    background-color: #009aae;
}

th {
    background-color: #f0f0f0;
    text-align: left;
}

td, th {
    border: 1px solid #ccc;
    padding: 8px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #009aae;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

#logo {
    height: 100px;
    width: auto;
}

.bg-grey {
    background-color: #eaeaea;
}

.navbar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.navbar-toggler {
    width: auto;
}

.navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
}

.nav-link {
    padding: 10px 25px !important;
}

.nav-item .active {
    border-bottom: solid 10px #00aec3;
}

@media (max-width: 991px) {
    .nav-item .active {
        border-bottom: none;
    }
    li.nav-item {
        text-align: right;
    }
}

.carousel {
    background-color: #5cc5d3;
    color: #fff;
    padding: 120px 0;
}

.carousel .col-md-6 {
    font-size: 2.2rem;
    line-height: 2.5rem;
}

.carousel .col-md-5 {
    font-size: 1.5rem;
    line-height: 2rem;
}

footer {
    background-color: #eaeaea;
}

footer #logo {
    height: 260px;
}

.redes {
    background-color: #009aae;
}

@media (max-width: 991px) {
    footer .container .nav.me-auto {
        display: none;
    }
}

footer ul li {
    list-style-type: none;
    text-align: right;
}

.container.body {
    min-height: 300px;
}

#filterForm p i {
    margin-right: 12px;
}

.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

/* Dropdowns */
.dropdown-filter {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

.dropdown-filter input {
    padding: 6px;
    width: 200px;
    border: solid 1px #ccc;
    border-radius: 6px;
}

.dropdown-filter .dropdown-content {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
    display: none;
}

.dropdown-filter .dropdown-content div {
    padding: 8px;
    cursor: pointer;
}

.dropdown-filter .dropdown-content div:hover {
    background-color: #f1f1f1;
}

@media (max-width: 991px) {
    .dropdown-filter,
    .dropdown-filter input {
        width: 100% !important;
    }
    .dropdown-filter {
        margin-bottom: 10px;
    }
    #buscarBtn,
    #limpiarBtn {
        margin-bottom: 40px;
    }
}

/* Sort para la tabla */
.sort-icons {
    margin-left: 6px;
    font-size: 0.8em;
}

.sort-icons a {
    text-decoration: none;
    color: #333;
    margin-left: 2px;
    cursor: pointer;
}

.sort-icons a:hover {
    color: #007BFF;
}

.info-btn {
    width: 99%;
}

/* Responsive scroll en tabla */
table {
    border-collapse: collapse;
    width: 100%;
    border: 1;
    border-color: #716969;
    border-style: solid;
    border-width: 1px;
}

.table-scroll-wrapper {
    max-height: 60vh;
    overflow-y: auto;
    border: 1px solid #ccc;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    display: block;
}

.pagination a {
    margin: 0 auto;
    padding: 5px 10px;
    background: #eee;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.pagination a.active {
    font-weight: bold;
    background-color: #5cc5d3;
    color: white;
}

/* Tachito de basura */
.clear-icon {
    cursor: pointer;
    margin-left: 6px;
    color: #888;
    font-size: 24px;
    vertical-align: middle;
}

.clear-icon:hover {
    color: #000;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 500px;
    position: relative;
    top: 80px;
}

.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.accordion-button:not(.collapsed) {
    background-color: #cde7eb;
}

.btn-pba {
    background-color: #009aae;
    color: #fff;
}

.btn-pba:hover {
    background-color: #cde7eb;
}