body {
    background-color: #f5f5f5;
}

.events_title {
    color: #353a47;
    font-weight: bold;
    position: relative;
    width: fit-content;
    margin-bottom: 16px;

    &::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 50%;
        height: 4px;
        background-color: #3c5c95;
    }
}

.main_events_container {
    .breadcrumb {
        padding-inline-start: 0
    }

    .events_row {
        display: flex;
        flex-wrap: wrap;
    }

    #middle_column{
        @media(max-width:1200px){
            width:70%;
        }
        @media(max-width:991px){
            width:100%;
        }
    }
    .events_list {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        background-color: #fff;
        padding: 24px 9px 0;
        border-radius: 16px;
        margin: 0;
        height: 100%;

        .single_event {
            flex-basis: 50%;
            padding: 0 15px;
            margin: 0;
            display: flex;
            list-style: none;
            @media(max-width:767px){
                width:100%;
                flex-basis:100%;
                
            }

            .event_content {
                padding: 16px;
                background-color: #f8f8f8;
                margin-bottom: 24px;
                border: 1px solid #eaeaea;
                border-radius: 8px;
                width: 100%;

                h4 {
                    margin-bottom: 16px;

                    a {
                        color: #353a47;
                        font-weight: bold;
                        margin-inline-end: 6px;
                        text-transform: capitalize;
                    }
                }

                .event_data {
                    margin-bottom: 12px;
                    color: #b0a9a8;

                    i {
                        margin-inline-end: 4px;
                    }
                }

                .event_data:last-of-type {
                    margin-bottom: 0;
                }
            }
        }

    }
}


/*categories */
.events_categories {
    @media(max-width:1200px){
        width:30%
    }
    @media(max-width:991px){
        width:100%;
        margin-bottom: 24px;
    }
    .nav-pills {
        background-color: #fff;
        height: 100%;
        overflow: hidden;
        border-radius: 16px;

        li {
            a {
                color: #b6bab7;
                transition: .3s all ease-in-out;
                padding: 8px 16px;
                font-weight: 600;
                margin-bottom: 8px
            }
        }

        li.active a {
            background-color: #e1e6ef;
            color: #3c5c95
        }
    }
}


/*media */

@media(max-width:767px) {
    .single_event {
        flex-basis: 100%;

        .event_content {
            h4 {
                font-size: 16px
            }
        }
    }
}

/*global styles */

.fa-fw {
    width: unset;
}