.breadcrumbs-nav {
    max-width: 1750px;
}

.main-content {
    position: relative;
    max-width: 1750px;
    padding: 0 20px;
}

.module-page-content {
    margin-block: 10px;
}

.structure-type-info-button {
    position: absolute;
    top: -45px;
    right: 20px;
}

.site-filters {
    margin-bottom: 10px;
}

.site-filters .filter-row {
    grid-template-columns: 2fr 1fr auto;
}

.structure-count {
    display: flex;
    column-gap: 5px;
    margin-bottom: 5px;
}

.map-section {
    display: flex;
    flex-direction: column;
    margin-block: 10px;
}

.map-section .top {
    display: flex;
}

.map-section .loading-section {
    margin-top: 15px;
    font-size: 1.875rem;
}

.map-section .map-canvas {
    width: 100%;
    height: 550px;
}

.map-section .map-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.map-section .close-map-panel-wrapper {
    margin-left: 20px;
}

.map-section .close-map-panel-wrapper .close-map-panel {
    display: flex;
    align-items: center;
    column-gap: 8px;
    width: max-content;
    padding: 6px 12px;
}

.map-section .structure-info {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.map-section .structure-info .previous-addresses,
.map-section .structure-info .time-of-construction {
    display: flex;
    align-items: center;
    column-gap: 5px;
    color: #666;
}

.map-section .structure-info .records-section {
    display: flex;
    flex-direction: column;
    margin-block: 10px;
}

.map-section .structure-info .records-section .record {
    display: flex;
    column-gap: 25px;
    border-bottom: 1px solid #f4f4f4;
}

.map-section .structure-info .records-section .record .timeline .info {
    margin-block: 8px;
}

.map-section .structure-info .records-section .record .timeline .info .notes {
    font-size: 1rem !important;
    line-height: 1.4 !important;
}

.map-section .structure-info .records-section .record .timeline {
    position: relative;
    display: grid;
    grid-template-columns: 120px 5px auto;
}

.map-section .structure-info .records-section .record .timeline .line {
    height: calc(100% + 1px);
    background: #cce3f5;
}

.map-section .structure-info .records-section .record:first-child .timeline .line {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.map-section .structure-info .records-section .record .timeline .dot {
    position: absolute;
    left: 115px;
    top: 15px;
    width: 15px;
    height: 15px;
    background: #fff;
    border: 2px solid #0072ce;
    border-radius: 17px;
}

.map-section .structure-info .records-section .record .record-name {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.map-section .structure-info .records-section .record .record-name .name {
    font-size: 1.25rem;
}

.map-section .structure-info .records-section .record .record-name .name.italic {
    font-style: italic;
}

.map-section .structure-info .records-section .record .timeline .info {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    margin-left: 15px;
}

.map-section .structure-info .records-section .record .images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.map-section .structure-info .records-section .record .images .image {
    position: relative;
}

.map-section .structure-info .records-section .record .images .image .open-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: start;
    justify-content: right;
    padding: 10px;
    width: 100%;
    height: 100%;
    color: #fff;
    background: rgba(0,0,0,0.2) !important;
    font-size: 18px;
    cursor: pointer;
}

.map-section .structure-info .records-section .record .images .image:hover .open-image-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6) !important;
}

html[data-font-size="2"] .map-section .structure-info .records-section .record .timeline {
    grid-template-columns: 245px 5px auto;
}

html[data-font-size="2"] .map-section .structure-info .records-section .record .timeline .dot {
    left: 239px;
    top: 20px;
    width: 17px;
    height: 17px;
    border-radius: 17px;
}

html[data-font-size="2"] .map-section .structure-info .records-section .record .timeline .name {
    width: 350px;
}

html[data-font-size="4"] .map-section .structure-info .records-section .record .timeline {
    grid-template-columns: 320px 5px auto;
}

html[data-font-size="4"] .map-section .structure-info .records-section .record .timeline .dot {
    left: 312px;
    top: 24px;
    width: 21px;
    height: 21px;
    border-radius: 21px;
}

html[data-font-size="4"] .map-section .structure-info .records-section .record .timeline .name {
    width: 400px;
    margin-left: 20px;
}

html[data-font-size="4"] .map-section .structure-info .records-section .record .timeline .name {
    width: 400px;
    margin-left: 20px;
}

html[data-contrast="high"] .map-section .structure-info .records-section .record .timeline .line {
    background: #ff0 !important;
}

html[data-contrast="high"] .map-section .structure-info .records-section .record .timeline .dot {
    border-color: #ff0 !important;
}

html[data-contrast="inverted"] .map-section .structure-info .records-section .record .timeline .line {
    background: #fff !important;
}

.map-section .previous-records-toggle {
    margin-top: 5px;
    cursor: pointer;
}

.structure-type-markers {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.structure-type-markers .marker-row {
    display: flex;
    column-gap: 5px;
    align-items: center;
}

@media all and (max-width: 992px) {
    .map-section .top {
        flex-direction: column;
        padding-bottom: 10px;
    }

    .map-section .top .close-map-panel-wrapper {
        margin: 12px 0 0;
    }

    .map-section .structure-info {
        margin: 0;
    }
}
