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

.ep-main-container {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-sizing: border-box;
}

.ep-main-container.locked {
    pointer-events: none;
}

.events-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ep-event-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

/* event card styles */
.res-box {
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.cbImgcon {
    height: 300px;
    overflow: hidden;
}

.cbImgcon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.cbButtonsWrapper {
    padding: 0 10px 10px 10px;
    margin-top: auto;
}

.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;
    margin: 4px 0;
}

.cb-subtitle {
    color: #808080;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
}

.cbExtraContent {
    margin: 4px 0;
}

.cbExtraContent p {
    margin: 0;
}

.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;
    gap: 8px;
}

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

.ep-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;
}

.ep-closed {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
    text-decoration: 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 */
.ep-search-container {
    margin-top: 16px;
}

input.ep-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%;
}

.ep-filters-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ep-filter-group {
    font-size: 14px;
    flex-grow: 1;
    padding: 8px;
}

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

.ep-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 */
.ep-filter-dropdown-toggle::after {
    content: "▼";
    font-size: 10px;
    margin-left: 8px;
}

.ep-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 */
.ep-filter-dropdown:hover .ep-filter-dropdown-content {
    display: block;
}

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

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

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

.ep-clear-filters:hover {
    background-color: #f5f5f5;
}
/* filters styles */

/* pagination styles */
.ep-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;
    padding: 20px;
}

.ep-pagination-info {
    margin-left: auto;
}

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

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

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

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

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

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

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

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

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

    .ep-page-link.prev-next {
        padding: 6px 8px;
    }
}
/* pagination styles */

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

.cbImageDetail {
    max-width: 540px;
    min-width: 25px;
    margin: 24px 0;
}

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

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

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

.cbDescriptionDetail {
    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 {
    width: auto;
    height: 35px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    /*text-decoration: none;*/
    /*background-color: #00a09b;*/
    /*color: #fff;*/
    /*border-radius: 5px;*/
    /*font-size: 14px;*/
    /*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;
}

.cb-subtitle-detail {
    color: #808080;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
}

.cbExtraContentDetail {
    margin: 8px 0;
}

.cbExtraContentDetail p {
    margin: 0;
}

/* styles for no results message */
.ep-error {
    background-color: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c2c7;
    border-left: 5px solid #d32f2f;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 6px;
    font-size: 14px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* detail styles */
@media (min-width: 1080px) {
    .ep-filter-group {
        width: calc(33.33% - 8px);
        max-width: calc(33.33% - 8px);
    }
}

@media (max-width: 1079px) and (min-width: 768px) {
    .ep-filter-group {
        width: calc(50% - 5px);
        max-width: calc(50% - 5px);
    }
}

@media (max-width: 767px) {
    .ep-event-row {
        flex-direction: column;
    }

    .ep-filter-group {
        width: 100%;
    }
}
