.sell-buy .cell.sell-buy-right .legend.buy::before {
    border-color:#004957;
    background-color: rgba(0, 73, 87, .2);
}
.sell-buy .cell.sell-buy-right .legend.lease::before {
    border-color:#36a2eb;
    background-color: rgba(54, 162, 235, .2);
}
.chart header {
    min-height: 60px;
}

.graphs-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.graphs-layout .graph-panel {
    flex: 1 1 30rem;
    min-width: 0;
}

.graphs-layout .graph-figure {
    margin-bottom: 1.5rem;
}

.graphs-layout .graph-offers {
    margin-top: 1.5rem;
}

.graphs-data-section {
    margin-bottom: -48px;
}

.graphs-data-layout {
    margin-top: 1rem;
}

.graphs-data-layout .graph-data-panel {
    margin-bottom: 1rem;
}

.graphs-data-layout .graph-offers, .homepage .grid-x.graphs-data-layout {
    margin-bottom: 1rem;
}
.sell-buy.graphs-data-section .grid-x {
    padding-top: .5rem;
}

.graph-offers td {
    white-space: nowrap;
}
.graph-offers td.comment {
    white-space: normal;
}
.graph-summary h4 {
    font-size: 1.25rem;
    text-transform: uppercase;
    color: #373737;
    letter-spacing: 2px;
    padding-bottom: .5rem;
}
@media screen and (max-width:1024px) {
    .graph-summary h4 {
        padding-top: 2rem ;
    }
}
.chart header {
    height: auto;
}
.chart header h4 {
    font-size: 1.25rem;
}

.hero-content .graphs {
    padding-bottom: 70px;
}

.current-value {
    font-family: 'upgrade',sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    color: #373737;
    display: inline-block;
    margin-bottom: 0;
    margin-right: .5rem;
}

table.scroll {
    border-spacing: 0;
    border: none;
    width: 100%;
}

table.scroll tbody,
table.scroll thead {
    display: block;
}

table.scroll th {
    height: 25px;
    vertical-align: top;
    font-size: .9em;
    padding: 0 5px;
    vertical-align: bottom;
}

table.scroll td {
    vertical-align: top;
    font-size: .8em;
    padding: 10px 5px;
    border-bottom: 1px solid #ddd;
}

table.scroll tbody {
    height: 206px;
    overflow-y: auto;
    overflow-x: hidden;
    border-top: 2px solid #ddd;
}

table.scroll tbody tr {
    transition: 0.25s background-color ease-in-out;
}

table.scroll tbody tr:hover {
    cursor: pointer;
    background-color: rgba(201, 202, 206, .15);
}

table.scroll th:nth-child(1), table.scroll th:nth-child(2) {
    text-align: right;
}

table.scroll th:nth-child(4), table.scroll th:nth-child(5), table.scroll th:nth-child(6) {
    text-align: left;
}

table.scroll td:nth-child(1), table.scroll td:nth-child(2) {
    width: 75px;
    text-align: right;
}

table.scroll td:nth-child(3) {
    width: 75px;
    text-align: center;
}

table.scroll td:nth-child(4) {
    width: 30%;
    text-align: left;
}

table.scroll td:nth-child(5) {
    width: 52%;
}

table.scroll.comments td:nth-child(5) {
    width: 22%;
}

table.scroll.comments td:nth-child(6) {
    width: 22%;
}

.chart header h4 {
    padding-top:.3rem;
}
.chart .current-content {
    padding: 0 0 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.graph-summary .summary-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: .5rem 1.5rem;
}
.graph-summary .summary-item {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}
.graph-summary .summary-item span {
    font-size: 1.25rem;
    font-weight: 300;
    font-family: upgrade, sans-serif;
    margin-right: 5px;
}
.graph-summary .summary-item p {
    margin-bottom: 0;
}

.graph-summary {
    margin: 1rem 0 1.25rem;
    padding: 0 1.5rem;
}

@media screen and (max-width: 63em) {
    .graph-summary .summary-list {
        justify-content: flex-start;
    }

    .graph-summary {
        padding: 0;
    }

    .graphs-data-layout {
        margin-top: 0.5rem;
    }
}

@media screen and (min-width: 64em) {
    .page-modal .modal-content.small-modal {
        width: 45vw;
        height: 290px;
    }

    .page-modal .modal-content.small-modal .cell {
        padding-bottom: 0;
    }

    .page-modal .modal-content.small-modal .grid-x,
    .page-modal .modal-content.small-modal .card,
    .page-modal .modal-content.small-modal .card p {
        margin-bottom: 0;
    }

    .page-modal .agent-contact-form::before {
        box-shadow: none;
    }
}

@media screen and (max-width: 63em) {
    .modal-content a {
        word-break: break-all;
    }

    .page-modal .modal-content.small-modal .cell {
        padding-top: 4em;
    }

    .chart {
        margin-bottom: 3rem;
    }
}
