* {
    box-sizing: border-box;
}

div.child {
    display: list-item;
}

.list-item {
    cursor: pointer;
    display: block;
}

input[type="text"] {
    width: 100%;
}

a {
    color: var(--text-main-color);
}

hr {
    margin: 8px 0;
    align-self: stretch;
}

.attribution-container {
    bottom: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    z-index: 1000;
}

.attribution {
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
    padding: 0 5px;
    pointer-events: auto;
}

.attribution a {
    text-decoration: none;
}

.attribution a:hover {
    text-decoration: underline;
}

.main {
    padding: 25px;
    display: flex;
    flex-direction: column;
    /* min-width: 100%; */
    height: 100%;
    overflow: auto;
    scroll-behavior: smooth;
}

#boothListing {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.top-container {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.searchBar-container,
.booth-info {
    position: relative;
}

.searchBar {
    padding-right: 60px;
}

.search-cancel {
    background-image: url(/images/search-icon-mobile.png);
    background-position: 0px -59px;
    border-radius: 4px;
    display: none;
    position: absolute;
    width: 30px;
    height: 30px;
    right: 30px;
}

.search-button {
    background: url(/images/search.png) no-repeat;
    background-size: 20px;
    background-position: center;
    border-radius: 4px;
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0;
}

.bookmark {
    position: absolute;
    top: 0;
    right: 0;
}

.booth {
    background-color: white;
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    border: 1px solid;
    padding: 20px;
    margin: 10px;
    border-radius: 12px;
    word-wrap: break-word;
    width: 300px;
    line-height: 1.3;
}

.booth>details:nth-of-type(2n+1),
.filter-container>details:nth-of-type(2n+1) {
    background-color: #ddd;
}

#boothListing-Result {
    display: block;
    text-align: center;
    font-weight: 600;
    color: var(--text-main-color);
    background-color: yellow;
}

.filter-list {
    max-height: 200px;
    overflow: auto;
}

.filter-selector {
    float: right;
    height: 1.5rem;
    margin: auto auto auto 0.5rem;
}

#go-to-top-button {
    display: none;
    position: sticky;
    bottom: 10px;
    place-self: end;

    text-decoration: none;
    padding: 10px 16px;
    color: #fff;
    background-color: var(--text-main-color);
    opacity: .5;
    border-radius: 50%;
    white-space: nowrap;
}

#go-to-top-button:hover {
    opacity: .8;
}

@media screen and (min-width: 768px) {
    .booth {
        flex-basis: 47%;
    }
}

@media screen and (min-width: 1200px) {
    .booth {
        flex-basis: 500px;
    }
}