
#resultstitle {
    display: flex;
    flex-direction: row;
}

#resultstitle p {
    margin: 0;
    margin-top: 8px;
    margin-left: 5px;
    font-size: 14px;
}

html {
    margin: 0;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
}

img {
    max-width: 100%;
    object-fit: contain;
}

body {
    margin: 0;
    max-width: 100%;
    height: 100%;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    background: #f6f3ef;
    color: #2c2c2c;
    overflow: hidden;
}

#topbar {
    background: #222;
    color: white;
    padding: 5px;
    padding-left: 1.5px;
    padding-right: 1.5px;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

#nameRow {
    display: flex;
    height: 5vh;
    margin: 0;
    z-index: 2000;
}

#nameRow h2 {
    font-size: 3.5vh;
    /* Apply the stroke: width and color */
    text-shadow: -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000, 0.9px 0.9px 0 #000;
    margin: 0;
    padding: 0;
    margin-left: 2px;
    padding-left: 3px;
    padding-right: 3px;
    background-color: #e67e22;
    font-weight: 700;
    border-radius: 1px;
}

#searchRow {
    height: 5vh;
    display: flex;
    gap: 5px;
    margin-bottom: 4px;
}

#searchInput {
    flex: 1;
    width: 180px;
    padding: 6px;
    font-size: 16px !important;
}

.row {
    display: flex;
    gap: 4px;
}

#filterRow {
    display: flex;
    gap: 10px;
}

#locationRow {
    margin-left: 7px;
}

#cityFilter {
    width: 105px;
}

#countryFilter {
    width: 55px;
}

#stateFilter {
    width: 60px;
}

#typeFilter {
    width: 55px;
}

.filter {
    width: 80px;
}

#typeRow {
    display: flex;
    overflow-x: auto;
    padding: 5px;
    padding-left: 0px;
    margin-left: 6px;
    padding-bottom: 0px;
    white-space: nowrap;
}

/*#activeFilters {
    margin-left: 1px;
}

#inactiveFilters {

}*/

#typeRow::-webkit-scrollbar {
    display: none; /* optional: hide scrollbar on mobile */
}

.filter-chip {
    padding: 2px 12px;
    border-radius: 18px;
    border: 1px solid #ccc;
    background: #e67e22;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    font-size: 13px;
}

.filter-chip.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

#topbar select,
#topbar button {
    padding: 5px;
}

#container {
    display: flex;
    height: calc(90vh - 50px);
    height: 100%;
    flex-direction: column;
    overflow-x:hidden;
    max-width: 100%;
}

#map-container {
    display: flex;
    flex: 1;
    min-height: calc(35vh - 50px);
    max-height: calc(40vh - 50px);
    /*
    width: 100%;
    height: calc(60vh - 50px);
    min-width: 400px;
    max-width: 700px;*/
}

@media (min-width: 768px) {
    #container {
    flex-direction: row;
    }
    #map-container {
    min-height: calc(50vh - 50px);
    max-height: calc(100vh - 50px);
    }
}

#map {
    width: 100%;
}

#feed {
    flex: 1;
    padding: 1%;
    padding-bottom: 10%;
    overflow-x: hidden;
    border-left: 1px solid #ccc;
    max-width: 98%;
}

#feed h2 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 16px;
}

.hamburger {
    width: 30px;
    height: 30px;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 3000;
}

.hamburger span {
    position: absolute;
    height: 2px;
    width: 70%;
    margin-left:25%;
    background: white;
    left: 0;
    transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 5px; }
.hamburger span:nth-child(2) { top: 12px; }
.hamburger span:nth-child(3) { top: 19px; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 13px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 13px;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    background: #222;
    color: white;

    transform: translateX(-100%);
    transition: transform 0.35s ease;

    z-index: 2000;
    padding-top: 80px;
}

.side-menu.open {
    transform: translateX(0);
}

.side-menu ul {
    list-style: none;
    padding: 0;
}

.side-menu li {
    padding: 15px 25px;
}

.side-menu a {
    color: white;
    text-decoration: none;
}

.leaflet-control {
    z-index: 100;
}

#searchButton {
    position: absolute;
    top: 12px;
    right: 5px;
    transform: translateY(-50%);
    z-index: 10;

    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
}

#activeFilters,
#inactiveFilters {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.entry {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.entry p {
    font-size: 14px;
}

.entry_title {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.entry_title img {
    margin-right: 2%;
}

.entry_title_text {
    display: flex;
    flex-direction: column;
    width: 70%;
}


.entry_title_text p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.entry_title_text h3 {
    margin-top: 0;
    margin-bottom: 1%;
}

.thumbnail {
    padding: 0;
    margin: 0;
    object-fit: cover;
    min-width: 135px;
    max-width: 150px;
    max-height: 155px;
}