body.page-template-page-careers-metalabs .h26-mid {
    display: none;
}

.metalabs-hero #hero-i {
    background-position: center center;
}

.metalabs-hero #hero-i .container {
    min-height: 200px;
}

.metalabs-jobs-title {
    text-align: center;
    font-family: 'Normalidad Wide';
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 28px;
    line-height: 1.3;
    color: #121e23;
    margin: 48px auto 32px auto;
    padding: 0 24px;
}

#job-map {
    padding: 0;
}

#job-map .job-map-wrap {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

#job-map .job-map-main {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 80vh;
}

@media screen and (min-width: 769px) {
    #job-map .job-map-sidebar {
        height: 80vh;
    }

    #job-map .job-map-list {
        flex: 1;
        overflow-y: auto;
    }
}

#job-map-canvas {
    width: 100%;
    height: 100%;
}

#job-map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-weight: 600;
    z-index: 500;
    pointer-events: none;
}

#job-map-hint {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 500;
    background: rgba(18, 30, 35, 0.75);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 1;
}

#job-map-hint.is-hidden {
    opacity: 0;
}

#job-map .job-map-sidebar {
    width: 380px;
    max-width: 100%;
    flex-shrink: 0;
    background: #f5f7f9;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e2e6e9;
}

#job-map .job-map-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0 24px;
}

#job-map .job-map-sidebar-title {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    color: #121e23;
}

#job-map #job-map-reset {
    background: none;
    border: 0;
    color: #0275b3;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

#job-map .job-map-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 24px 0 24px;
}

#job-map .job-map-filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#job-map .job-map-filters-row select,
#job-map .job-map-filter-full {
    width: 100%;
}

#job-map .job-map-filter-zip-radius {
    display: flex;
    gap: 10px;
    min-width: 0;
}

#job-map .job-map-filter-zip-radius[hidden] {
    display: none;
}

#job-map .job-map-filter-zip-radius input {
    flex: 1.6;
}

#job-map .job-map-filter-zip-radius select {
    flex: 1;
}

#job-map .job-map-filters input[aria-invalid="true"] {
    border-color: #e0554f;
}

#job-map .job-map-filters select,
#job-map .job-map-filters input {
    display: flex;
    align-items: center;
    height: 36px;
    background-color: #fff;
    border: 1px solid #d4d9dd;
    border-radius: 6px;
    color: #121e23;
    font-size: 13px;
    padding: 0 10px;
}

#job-map .job-map-filters select {
    flex: 1.2;
    min-width: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    line-height: normal;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23a3adb3' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

#job-map .job-map-filters input {
    flex: 1;
    min-width: 0;
}

/* Direct children of the column-flex .job-map-filters (the Location select
   and the keyword search input) must not stretch along the main (vertical)
   axis like the row-flex selects/inputs do. */
#job-map .job-map-filters select.job-map-filter-full,
#job-map .job-map-filters input.job-map-filter-full {
    flex: none;
}

#job-map .job-map-filters select option {
    color: #121e23;
}

#job-map .job-map-filters input::placeholder {
    color: #8b949a;
}

#job-map .job-map-filters select:focus,
#job-map .job-map-filters input:focus {
    outline: none;
    border-color: #0275b3;
}

#job-map .job-map-sidebar-count {
    padding: 6px 24px 16px 24px;
    margin: 0;
    font-size: 13px;
    color: #6b7379;
    border-bottom: 1px solid #e2e6e9;
}

#job-map .job-map-list {
    padding: 8px 24px 24px 24px;
}

#job-map .job-map-card {
    padding: 16px 0;
    border-bottom: 1px solid #e2e6e9;
    cursor: pointer;
    text-align: left;
}

#job-map .job-map-card:hover {
    background: rgba(18, 30, 35, 0.03);
}

#job-map .job-map-card-title {
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 6px 0;
    color: #121e23;
}

#job-map .job-map-card-location,
#job-map .job-map-card-pay {
    font-size: 13px;
    color: #6b7379;
    margin: 0 0 2px 0;
}

#job-map .job-map-card-pay {
    color: #0275b3;
    font-weight: 600;
}

#job-map .job-map-card-req-id {
    font-size: 12px;
    color: #6b7379;
    margin: 0;
}

.job-pin-popup {
    text-align: left;
    font-family: "Open Sans", sans-serif;
}

.job-pin-popup .job-pin-title {
    font-weight: 700;
    margin: 0 0 4px 0;
}

.job-pin-popup .job-pin-location,
.job-pin-popup .job-pin-pay {
    font-size: 13px;
    margin: 0 0 4px 0;
}

.job-pin-popup .job-pin-req-id {
    font-size: 12px;
    color: #6b7379;
    margin: 0 0 4px 0;
}

.job-pin-popup .job-pin-apply {
    display: inline-block;
    margin-top: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    color: #0275b3;
}

@media screen and (max-width: 768px) {
    #job-map {
        margin-bottom: 48px;
    }

    #job-map .job-map-wrap {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        width: calc(100vw - 32px);
        margin-left: calc(50% - 50vw + 16px);
    }

    #job-map .job-map-main {
        flex: 0 0 60vh;
        height: 60vh;
    }

    #job-map .job-map-sidebar {
        width: 100%;
        border-left: 0;
        border-top: 1px solid #e2e6e9;
    }
}

/* Subtle styling for required CARTO/OpenStreetMap tile attribution */
#job-map .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.55);
    color: #9aa3ac;
    font-size: 9px;
    line-height: 1.2;
    padding: 1px 5px;
    border-radius: 3px 0 0 0;
    box-shadow: none;
}

#job-map .leaflet-control-attribution a {
    color: #9aa3ac;
}

#job-map .leaflet-control-attribution:hover {
    background: rgba(255, 255, 255, 0.85);
}

.job-map-scrolltop {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 600;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0275b3;
    color: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(18, 30, 35, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.job-map-scrolltop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.job-map-scrolltop:hover,
.job-map-scrolltop:focus {
    background: #186188;
}
