.all__events--page {
    background: #262626;
}

.all__events--filters {
    background: #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2em;
}

.all__events--filters .filter__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.all__events--filters .filter__title p {
    font-weight: bold;
    font-size: 18px;
    color: #1E1E1E;
    margin: 0;
}

.all__events--filters .filter__title .open__filter--mobile {
    display: none;
    background: #00FF00;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #1E1E1E;
    width: 102px;
    height: 40px;
    border: 0;
}

.all__events--filters .filter__form {
    min-width: 100%;
}

.all__events--filters .filter__form form {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.all__events--filters .filter__form form input,
.all__events--filters .filter__form form select {
    width: 190px;
    height: 40px;
    border: 0;
    border-radius: 5px;
    background: #fff;
    color: #1E1E1E;
    padding: .7em;
}

.all__events--filters .filter__form form button {
    width: 134px;
    height: 40px;
    background: #00FF00;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #1E1E1E;
    outline: none;
    border: 0;
    cursor: pointer;
}

.all__events--filters .filter__form form a.filter__clean {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 134px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #1E1E1E;
    text-decoration: none;
    outline: none;
    border: 0;
    cursor: pointer;
}

.all__events--section {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: url("../../img/all_events_background.png") no-repeat top center;
    background-size: cover;
    position: relative;
}

.all__events--section .shadow__box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
    -webkit-box-shadow: inset 0px -20px 40px 10px #262626;
    box-shadow: inset 0px -20px 40px 10px #262626;
}

.all__events--section .all__events--container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.all__events--section .all__events--item {
    width: 18%;
    margin: 10px;
}

.all__events--section .all__events--item .image {
    height: 180px;
    overflow: hidden;
    background: #fff;
}

.all__events--section .all__events--item .image img {
    max-width: 100%;
}

.all__events--section .all__events--item .item__content {
    background: #fff;
    margin: 0 auto;
    padding: 20px;
}

.all__events--section .all__events--item .item__content .event__name--div {
    margin-bottom: 10px;
}

.all__events--section .all__events--item .item__content .event__name--div .event__date {
    background: #000;
    color: #fff;
    padding: 5px;
    font-weight: bold;
    font-size: 10px;
}

.all__events--section .all__events--item .item__content .event__name {
    font-weight: 600;
    font-size: 13px;
    color: #1E1E1E;
    margin-bottom: 5px;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.all__events--section .all__events--item .item__content .event__local {
    font-size: 12px;
    color: #1E1E1E;
    font-weight: normal;
}

.all__events--section .pagination {
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.all__events--section .pagination .page-item.disabled .page-link {
    display: none !important;
}

.all__events--section .pagination .page-item {
    margin: 10px;
}

.all__events--section .pagination .page-item .page-link {
    border: 1px solid #BDBDBD;
    border-radius: 5px;
    width: 43px;
    height: 43px;
    background: transparent;
    font-weight: normal;
    font-size: 16px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.all__events--section .pagination .page-item:first-child .page-link,
.all__events--section .pagination .page-item:last-child .page-link {
    background: #00FF00;
    width: 159px;
    height: 43px;
    border: 0;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}


@media (max-width: 1024px) {
    .all__events--filters .filter__form {
        min-width: 100%;
    }

    .all__events--filters .filter__form form {
        justify-content: center;
    }

    .all__events--filters .filter__form .filter__form--field {
        margin: 10px;
    }

    .all__events--section .all__events--item {
        width: 22%;
    }
}


@media (max-width: 768px) {
    .all__events--section .all__events--item {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .all__events--section .all__events--item {
        width: 45%;
    }

    .all__events--section .all__events--item .item__content .event__name {
        height: auto;
    }
}

@media (max-width: 480px) {
    .all__events--filters .filter__form form {
        flex-direction: column;
    }

    .all__events--filters .filter__form .filter__form--field,
    .all__events--filters .filter__form form input,
    .all__events--filters .filter__form form select,
    .all__events--filters .filter__form form button,
    .all__events--filters .filter__form form a.filter__clean {
        width: 100%;
    }

    .all__events--filters .filter__form .filter__form--field {
        margin: 10px 0;
    }

    .all__events--filters .filter__title p {
        max-width: 50%;
        font-size: 16px;
    }

    .all__events--filters .filter__title .open__filter--mobile {
        display: block;
    }

    .all__events--filters .filter__form {
        display: none;
    }

    .all__events--filters {
        padding: 1em;
    }

    .all__events--section .pagination .page-item .page-link {
        width: 36px;
        height: 36px;
    }

    .all__events--section .pagination .page-item:first-child .page-link,
    .all__events--section .pagination .page-item:last-child .page-link {
        font-size: 14px;
        width: 129px;
        height: 35px;
    }
}

@media (max-width: 426px) {
    .all__events--section .all__events--item {
        width: 42%;
    }

    .all__events--section {
        padding: 10px;
    }
}
