.main-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.main-container {
    width: 100%;
    max-width: 100%;
    margin-left: calc(-50vw + 50%);
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-sizing: border-box;
}

.events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

/* event card styles */
.res-box {
    /*width: calc(33.33% - 20px);*/
    flex: 1 1 calc(33.333% - 16px);
    min-width: 250px;
    max-width: 450px;
    margin: 10px;
    position: relative;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.25);
    height: auto;
    /*background-color: #fff;*/
    /*border-radius: 32px;*/
}

.cbImgcon {
    background-position: 50%;
    background-repeat: no-repeat;
    height: 200px;
    position: relative;
    background-size: cover;
}

.cbcontentWrapper {
    padding: 10px 10px 20px 10px;
}

.title-subtext-wrapper {
    height: 112px;
}

.cbTitle {
    /*color: #000000;*/
    /*font-size: 16px;*/
    /*font-weight: bold;*/
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: wrap;
    width: 95%;
    line-height: 1.4;
}

.cbLocation {
    color: #00a09b;
    font-size: 14px;
}

.cbWhen {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #00a09b;
    font-weight: bold;
}

.cbBtncon {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cbBtncon a:first-child .button-class {
    margin-right: 10px;
}

.button-class {
    width: auto;
    height: 35px;
    /*background-color: #00a09b;*/
    /*color: #fff;*/
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    /*font-size: 14px;*/
    overflow: hidden;
    z-index: 0 !important;
    padding: 0 11px;
}

.cbBtncon a {
    text-decoration: none;
    width: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cbBtncon a.grayed {
    opacity: 0.3;
    pointer-events: none;
}

.cbFav {
    height: 56px;
    width: 56px;
    background-position: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 10px 0;
}

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

.divider-line {
    width: 100%;
    height: 4px;
    margin-top: 15px;
    background-image: linear-gradient(to right, #004251, #00a09b);
}

.divider-dashes-container {
    display: flex;
    height: 4px;
    width: 100%;
    margin-top: -4px;
}

.transparent-divider-1 {
    width: 95%;
    max-height: 100%;
    background-color: transparent;
}

.dash {
    width: 3px;
    background: #fff;
}

.transparent-divider-2 {
    width: 4%;
    max-height: 100%;
    background-color: transparent;
}

.transparent-divider-3 {
    width: 3%;
    max-height: 100%;
    background-color: transparent;
}

.transparent-divider-4 {
    width: 2%;
    max-height: 100%;
    background-color: transparent;
}

/* event card styles */

/* filters styles */
.search-container {
    margin-top: 16px;
}

.search-box input {
    height: 40px !important;
    padding: 5px 10px !important;
    font-size: 16px !important;
    outline: none !important;
    background: transparent !important;
    border: 1px solid #8b8b8b !important;
    border-radius: 5px;
    margin: 3px 0;
    width: 100%;
}

.filters-container {
    margin: 16px 0;
    align-items: center;
    gap: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.filter-group {
    font-size: 14px;
}

.filter-dropdown {
    position: relative;
    width: 100%;
}

.filter-dropdown-toggle {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    font-size: inherit; /* Hereda el tamaño del grupo */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Flecha indicadora - opcional */
.filter-dropdown-toggle::after {
    content: "▼";
    font-size: 10px;
    margin-left: 8px;
}

.filter-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* whit this hover works */
.filter-dropdown:hover .filter-dropdown-content {
    display: block;
}

.filter-checkbox-label {
    display: block;
    padding: 8px 0;
    cursor: pointer;
    font-size: inherit; /* Hereda el tamaño del grupo */
    align-items: center;
}

.filter-checkbox-label input {
    margin-right: 8px;
}

.clear-filters {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 0;
    text-decoration: none;
}

.clear-filters:hover {
    background-color: #f5f5f5;
}


/* filters styles */

/* pagination styles */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    font-size: 14px;
    color: #666;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .pagination-info {
        text-align: center;
        order: 2;
        margin-top: 10px;
    }

    .pagination-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    .page-link {
        padding: 6px 10px;
        min-width: 28px;
        font-size: 13px;
    }

    .page-link.prev-next {
        padding: 6px 8px;
    }
}

.pagination-info {

    margin-left: auto;
}

.pagination-controls {
    display: flex;
    gap: 5px;
}

.page-link {
    padding: 6px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    min-width: 32px;
    text-align: center;
}

.page-link.active {
    background-color: #30a49c;
    color: white;
    border-color: #30a49c;
}

.page-link.prev-next {
    font-weight: bold;
    padding: 6px 10px;
}

.page-link:not(.active):hover {
    background-color: #f5f5f5;
}


.page-link {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

/* pagination styles */

/* detail styles */
.detail-container {
    margin: 10px;
    max-width: 540px;
}

.detail-img-container {
    max-width: 540px;
    min-width: 25px;
    margin: 24px 0;
}

.detail-img-container .detail-img {
    border-width: 0;
    border-style: solid;
    height: auto;
    width: 100%;
    max-width: 100%;
}

.detail-when {
    text-align: center;
    font-weight: bold;
    color: #00a09b;
    font-size: 32px;
    margin-bottom: 16px;
}

.detail-description {
    color: #00a09b;
    margin-bottom: 16px;
    text-align: center;
}

.detail-register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px
}

.detail-register-container a {
    text-decoration: none;
    width: auto;
    height: 35px;
    background-color: #00a09b;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 12px;
    font-weight: bold;
}

.detail-register-container a.grayed {
    opacity: 0.3;
    pointer-events: none;
}

.small {
    font-size: 0.875em;
    font-weight: 400;
}

.text-muted {
    color: #6c757d;
}

/* detail styles */

@media (max-width: 768px) {
    .filters-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .filters-container {
        grid-template-columns: 1fr;
    }
    .filter-group {
    }
}
