.splitter {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    flex: 1;
}

#separator {
    cursor: col-resize;
    background-color: #ccc;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='7' height='30'><path d='M2 0 v30 M5 0 v30 M8 0 v30' fill='none' stroke='darkslategray'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    width: 8px;
    height: 100vh;

    /* Prevent the browser's built-in drag from interfering */
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#first {
    background-color: #dde;
    width: 20%;
    height: auto;
    min-width: 10px;
    overflow-y: auto;
    flex-basis: 100%;
}

#second {
    background-color: #eee;
    width: 80%;
    height: auto;
    min-width: 10px;
    flex-basis: 100%;
}

#map_and_info {
    min-height: 100%;
    height: 100%;
    width: 80%;
    float: left;
}

#map {
    width: 100%;
    height: 100%;
}

#info {
    position: absolute;
    bottom: 0;
    padding: 5px;
    min-height: 2em;
    height: 5vh;
    width: 100%;
    background-color: black;
    color: gold;
}

#list {
    float: left;
    width: 20%;
    overflow-y: auto;
    height: 100%;
}

table {
    width: 100%;
    line-height: 150%;
    overflow-y: auto;
    height: auto;
}

td.lot:hover {
    cursor: pointer;
    cursor: hand;
}

th {
    background-color: white;
}

td.lot {
    text-align: center;
}

a {
    color: black;
    text-decoration: none;
}

html,
body {
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: Trebuchet MS, Lucida Grande, Lucida Sans, Tahoma, sans-serif;

}

#list tbody tr.stripe {
    background-color: #e4e6e2;
}
/* --- collapsible sidebar --- */

#map_and_info {
    /* anchor for the toggle tab and the lot overlay */
    position: relative;
}

#sidebar-toggle {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 18px;
    height: 46px;
    padding: 0;
    border: 1px solid #999;
    border-left: none;
    border-radius: 0 4px 4px 0;
    background-color: rgba(255, 255, 255, 0.9);
    color: #222;
    font-size: 16px;
    line-height: 44px;
    cursor: pointer;
    /* sits mid-edge to stay clear of Google's corner controls */
}

#sidebar-toggle:hover {
    background-color: #fff;
}

body.sidebar-collapsed #list {
    display: none;
}

body.sidebar-collapsed #map_and_info {
    width: 100%;
}

/* --- selected lot overlay --- */

#lotinfo {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: none;
    max-width: 60%;
    padding: 6px 14px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.75);
    color: gold;
    text-align: center;
    pointer-events: none;
    /* top-centre keeps clear of the map type, fullscreen and zoom controls */
}

#lotinfo.visible {
    display: block;
}

.lotinfo-lot {
    font-weight: bold;
}

.lotinfo-owner {
    color: #fff;
    font-size: 90%;
}


/* --- sortable / searchable list header --- */

#list thead {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: white;
}

#list th {
    padding: 0;
}

/* anchors the search icon to the right-hand end of the header */
#list thead th:nth-child(2) {
    position: relative;
}

.sort-btn {
    background: none;
    border: none;
    font: inherit;
    font-weight: bold;
    color: inherit;
    cursor: pointer;
    padding: 4px 6px;
    /* keep the sort arrow on the same line as the label in the narrow
       Lot column, where "Lot &#9650;" would otherwise wrap */
    white-space: nowrap;
}

.sort-btn:hover {
    text-decoration: underline;
}

.sort-ind {
    font-size: 85%;
}

#search-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 0;
}

#search-toggle:hover {
    color: #000;
}

#search-row td {
    padding: 4px;
    background-color: #f4f4f4;
}

#search-input {
    width: calc(100% - 64px);
    box-sizing: border-box;
    padding: 3px 5px;
    font: inherit;
}

#search-clear {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 2px 5px;
}

#search-clear:hover {
    color: #000;
}

#search-count {
    font-size: 80%;
    color: #555;
}
