@media (min-width: 1200px) {
    #sp-main-body .container {
        max-width: 1440px;
    }
}

.detail-page-main {
    padding-top: 1.5rem;
}

.list-detail-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 32px;
    row-gap: 8px;
    align-items: baseline;
    margin-bottom: 12px;
}

.list-detail-header-price {
    grid-column: 1;
    grid-row: 1;
}

.list-detail-header-building {
    grid-column: 2;
    grid-row: 1;
}

.list-detail-header-address {
    grid-column: 1;
    grid-row: 2;
}

.list-detail-header-land {
    grid-column: 2;
    grid-row: 2;
}

.list-price {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.18;
    color: #203864;
}

.list-price .list-size {
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: flex-end;
}

.list-price .list-size .list-size-unit {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.1;
    margin-left: 5px;
    color: #203864;
}

.list-address p {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #7b7b7b;
    margin-bottom: 0;
}

.list-detail-header-metric {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.list-detail-header-metric-value {
    font-size: 28px;
    line-height: 1.08;
    font-weight: 700;
    color: #203864;
}

.list-detail-header-metric-unit {
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    color: #7b7b7b;
}

@media (max-width: 768px) {
    .list-detail-header {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .list-detail-header-price,
    .list-detail-header-building,
    .list-detail-header-address,
    .list-detail-header-land {
        grid-column: 1;
        grid-row: auto;
    }

    .list-price,
    .list-detail-header-metric-value {
        font-size: 26px;
    }

    .list-detail-header-metric {
        justify-content: flex-start;
    }

    .list-detail-header-metric-unit {
        font-size: 17px;
    }

    .list-address p {
        font-size: 18px;
        line-height: 22px;
    }
}

.view-list-detail hr {
    border-top: 0.5px solid #00122E;
    opacity: 1;
    margin: 30px 0;
}

.list-public-remarks {
    padding: 0 0.5rem;
    margin-bottom: 2rem;
}

.list-field-title {
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    color: #203864;
    margin: 20px 0 5px;
}

.list-public-remarks p {
    color: #203864;
}

.financing-requirements {
    margin-top: 2rem;
}

.financing-requirements .list-field-title {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #203864;
}

.financing-requirements ul {
    list-style-type: none;
    padding-left: 0px;
    color: #203864;
}

.list-information {
    margin-top: 2rem;
}

.list-information tr {
    width: 100%;
    /*display: flex;*/
}

/*.list-information tr td:first-child {*/
/*    width: 40%;*/
/*}*/

/*.list-information tr td:last-child {*/
/*    width: 60%;*/
/*}*/
.list-information table {
    border: none !important;
}

.list-information tr td {
    font-size: 14px;
    line-height: 30px;
    border: none;
}

.table-striped>tbody>tr {
    background: none !important;
    border-bottom: 1px solid #ccc !important;
}

.table-striped>tbody>tr td {
    color: #203864 !important;
    background: none !important;
    box-shadow: none !important;
}

.list-information tr td .list-info-label {
    font-weight: 600;
    margin-right: 0.5em;
}

.list-information tr td .list-info-value {
    overflow-wrap: anywhere;
}

.list-information tr td.list-information-wide {
    width: 100%;
}

.list-information tr td.list-information-wide .list-info-label,
.list-information tr td.list-information-wide .list-info-value {
    display: block;
}

.list-information tr td.list-information-wide .list-info-value {
    line-height: 24px;
    margin-top: 6px;
}

.more-info {
    padding: 30px 40px;
    background: #00122E;
    margin-bottom: 35px;
}

.more-info-tile {
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.more-info p {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
}

.agent-tips {
    padding: 20px 30px;
    background: #00122E;
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
    color: #fff;
}

.agent-tips a {
    color: #fff;
}

.agent-tips a:hover {
    color: #bcbcbc;
}

.list-google-map .tabs {
    margin-bottom: 5px;
}

#street-view,
#bird {
    display: none;
}

#map,
#street-view,
#bird {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.tab-btn {
    background: #b4373d;
    border: none;
    color: #fff;
    padding: 6px 10px;
    font-size: 15px;
}

.tab-btn.open {
    background: #203864;
}

.agent-card {
    background: #FFFFFF;
    border: 1px solid #BEAF87;
    margin-bottom: 0.5rem;
}

.agent-card .card-top {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.agent-card .card-image {
    width: 110px;
    flex-shrink: 0;
    margin-right: 30px;
}

.agent-card .card-info h3 {
    font-family: inherit !important;
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;
    color: #203864;
}

.agent-phone {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    color: #203864;
}

.agent-phone span i {
    font-size: 15px;
}

.agent-card .card-bottom {
    display: block;
    background: #BEAF87;
    padding: 10px;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF;
    text-align: center;
    cursor: pointer;
}

.modal-dialog .modal-content {
    border-radius: 0;
}

.modal-form {
    padding: 20px 60px;
}

.modal-form h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: #203864;
}

.modal-form p {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #203864;
}

.modal-form #send-btn {
    background: #1E2F57;
    border-radius: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    padding: 11px 27px;
}

.modal-form #send-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
}

.modal-form .form-control {
    border: 1px solid #1E2F57;
    border-radius: 0;
}

.modal-form textarea.form-control {
    min-height: 100px;
}

.additional-file {
    margin-bottom: 10px
}

.additional-information {
    margin-bottom: 20px;
}

.additional-file a {
    color: #203864;
    font-weight: bold;
    font-size: 1rem;
}

.additional-file a:hover,
.additional-file a:focus {
    color: #0d6efd;
}

.additional-file a i {
    color: #b4373d;
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

#inquiryModal {
    z-index: 9999;
}

.video-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.video-wrapper > iframe {
    display: block;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    height: auto;
}

.video-wrapper > blockquote {
    width: 100%;
    max-width: 605px;
    margin: 0;
}

.video-wrapper img {
    height: 60px;
    cursor: pointer;
}

#tiktokModal,
#youtubeModal {
    z-index: 9999;
}

#tiktokModal .modal-body {
    padding: 0;
}

/*custom slider style*/
.lSSlideOuter .lSPager.lSGallery img {
    height: 50px !important;
    object-fit: cover;
    width: 100%;
}

.lslide>img {
    margin: 0 auto;
    max-height: 500px;
}

.lSSlideOuter .lSPager.lSGallery li.active,
.lSSlideOuter .lSPager.lSGallery li:hover {
    border: 2px solid #11316b;
    border-radius: 0;
}
