.collectionViewToggle{
    height: 2.8em;
    padding: 0.65rem 1rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    color: rgb(25, 31, 29);
    background-color: rgb(142, 213, 182);
    border: 1px solid rgb(142, 213, 182);
    width: 8em;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.collectionFilterToggle{
    height: 2.8em;
    padding: 0.65rem 1rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    color: rgb(25, 31, 29);
    background-color: rgb(142, 213, 182);
    border: 0px;
    outline: 1px solid rgb(142, 213, 182);
    width: 8em;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.close{
         background-color: rgb(106, 111, 114);
    outline: 2px solid rgb(173, 173, 173);

}
.tableButtons{
    width: 8em;
    display: flex;
    flex-direction:row-reverse;
    
}
#tableView{
    width: 2.8em;
    background-image: url(/img/table.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.8em;
}
#gridView{
    width: 2.8em;
    background-image: url(/img/grid.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.8em;
    
}
.specimenMessage{
    color:rgb(209, 209, 209);
}
#filterShow{
    width: 2.8em;
    background-image: url(/img/filtersOn.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.8em;
    margin-left: -1em;
    background-color: rgb(0, 0, 0, 0);
    border: 0px;
    outline: 0px;
    
}
.searchBarGroup{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 40vw;
    
}
.collectionPage {
    width: min(100% - 2rem, 74rem);
    margin-inline: auto;
    color: rgb(211, 211, 211);
}
.collectionKeywordGroup{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5em;
}
.taxonSearchSection {
    min-height: 22vh;
   
    align-items: center;
    justify-content: center;
    padding: 5vh 0em 0rem;
}
.collectionFieldFilters{
    width: 100%;
   
   
    margin-top: 2em;
}
.specimenFilterBox{
 background-color: rgb(83, 88, 91);
    border: 1px solid rgb(104, 104, 104);
    border-radius: 0.25rem;
    padding: 1em;
}
.taxonSearchPanel {
    margin-left: 20%;
    margin-right: 20%;
   
    text-align: center;
}

.taxonSearchHeading h1 {
    margin: 0 0 0.35rem;
    color: rgb(255, 255, 255);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
}

.taxonSearchHeading p {
    margin: 0 0 1.25rem;
    color: rgb(180, 180, 180);
}

.taxonSearchForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    filter: drop-shadow(0 0.35rem 0.8rem rgba(0, 0, 0, 0.18));
}

#searchID {
    position: relative;
    min-width: 0;
    width: 100%;
    height: 2.1em;
    padding: 0.92em 0.5em;
    font: inherit;
    font-size: 1em;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgb(104, 104, 104);
    border-right: 0;
    border-radius: 4px 0 0 4px;
    outline: 0;
}

#searchID::placeholder {
    color: rgb(171, 171, 171);
    opacity: 1;
}



.taxonSearchButton {
    flex: 0 0 2.1em;
    width: 2.1em;
    height: 2.1em;
    padding: 0;
    font: inherit;
    font-size: 1em;
    cursor: pointer;
    background-color: rgb(142, 213, 182);
    background-image: url(/img/search.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.3em;
    border: 1px solid rgb(104, 104, 104);
    border-left: 0;
    border-radius: 0 4px 4px 0;
}



.taxonSearchButton:focus-visible {
    outline: 2px solid rgb(255, 255, 255);
    outline-offset: 2px;
}

.specimenFilters {
    margin-bottom: 2.5rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    background-color: rgb(83, 88, 91);
    border: 1px solid rgb(104, 104, 104);
    border-radius: 0.25rem;
}

.specimenFiltersHeader {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgb(104, 104, 104);
}

.specimenFiltersHeader h2 {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 600;
}

.specimenFiltersHeader p {
    margin: 0;
    color: rgb(180, 180, 180);
    font-size: 0.95rem;
}

.specimenFilterGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.specimenFilterField {
    min-width: 0;
}

.specimenFilterField label {
    display: block;
    margin-bottom: 0.4rem;
    color: rgb(225, 225, 225);
    font-size: 0.9rem;
    font-weight: 550;
}

.specimenFilterField input,
.specimenFilterField select {
    width: 100%;
    min-width: 0;
    height: 2.65rem;
    padding: 0.65rem 0.75rem;
    font: inherit;
    color: rgb(255, 255, 255);
    background-color: rgb(61, 64, 68);
    border: 1px solid rgb(104, 104, 104);
    border-radius: 4px;
    outline: 0;
}

.specimenFilterField input::placeholder {
    color: rgb(150, 150, 150);
    opacity: 1;
}



.specimenFilterField input[type="date"] {
    color-scheme: dark;
}

.specimenFilterActions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid rgb(104, 104, 104);
}

.filterButton {
    min-height: 2.65rem;
    padding: 0.65rem 1rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.filterButtonPrimary {
    color: rgb(25, 31, 29);
    background-color: rgb(142, 213, 182);
    border: 1px solid rgb(142, 213, 182);
}



.filterButtonSecondary {
    color: rgb(235, 235, 235);
    background-color: transparent;
    border: 1px solid rgb(128, 128, 128);
}




.visuallyHidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media only screen and (max-width: 900px) {
    .specimenFilterGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 600px) {
    .collectionPage {
        width: min(100% - 1rem, 74rem);
    }

    .taxonSearchSection {
        min-height: 26vh;
        padding-top: 2rem;
    }

    .specimenFilterGrid {
        grid-template-columns: 1fr;
    }

    .specimenFilterActions {
        flex-direction: column-reverse;
    }

    .filterButton {
        width: 100%;
    }
}