﻿body {
    margin: 0;
}

.font {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hide {
    display: none;
}

#filtered-event-schedule-container {
    display: flex;
    flex-direction: column;
    height:100vh;
    padding: 1rem;
    box-sizing: border-box;
    background-color: lightgray;
}

#filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: .5rem;
    max-width: 100%;
    min-height: 5rem;
    color: white;
    background-color: #1a283a;
    font-size: 1.7rem;
    font-weight: 400;
}

#toggle-filters-btn {
    min-width: 6rem;
    margin-right: 2rem;
    padding: .5rem;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #BA0C2F;
    font-size: large;
    cursor: pointer;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

    #toggle-filters-btn:hover {
        background-color: #9e0b29;
    }



#filter-container {
    background-color: whitesmoke;
    transition: max-height 0.5s ease;
}

#filtered-event-search-form {
    display: flex;
    flex-direction: row;
    gap:1.5rem;
    height: fit-content;
    margin: 0;
    padding: 1rem;
}

#filtered-events-search-term {
    width: 16rem;
    height: 2.5rem;
    padding: .7rem;
    padding-left: .75rem;
    border: solid;
    border-width: thin;
    border-color: lightgray;
    background-image: url('/Content/img/icon-search-gray.png');
    background-repeat: no-repeat;
    background-position: right .5rem center;
}

    #filtered-events-search-term::placeholder {
        color: #aba9a9;
    }


#filtered-events-state-dropdown-container {
    position: relative;
}

#filtered-events-state-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #BA0C2F;
    color: white;
    padding: .30rem;
    border: none;
    cursor: pointer;
    min-width: 10rem;
    max-width: 10rem;
    height: 2.5rem;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

    #filtered-events-state-btn:hover {
        background-color: #9e0b29;
    }

.filtered-events-state-dropdown {
    display: none;
    margin-top: .3rem;
    border: solid;
    border-width: thin;
    background-color: #f7f7f7;
    min-width: 10rem;
    max-height: 20rem;
    position: absolute;
    overflow-y: auto;
    z-index: 1;
}

.filtered-events-state-dropdown-content {
    text-align: center;
    padding: .75rem;
    text-decoration: none;
    color: inherit;
    font-family: 'Birdseye';
    font-size: large;
    font-weight: 100;
}

#filtered-event-search-btn {
    min-width: 10rem;
    max-width: 10rem;
    height: 2.5rem;
    padding: .5rem;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #003057;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    #filtered-event-search-btn:hover {
        background-color: #001c33;
    }

    #filtered-event-search-btn:active {
        opacity: 0.7;
    }

#filtered-event-table-container {
    margin-top: 1rem;
    flex: 1;
    overflow-y: auto;
}

.show {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 650px) {

    #filtered-event-search-form {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

}