.section-top-banner {
    width: 100%;
    background: #000 url(../jpg/forsaletop.jpg) no-repeat center;
    background-size: cover;
    background-position: center;
    padding-bottom: clamp(493px,calc(740*100vw/1920),9999px);
    position: relative;
    height: clamp(493px,calc(740*100vw/1920),9999px);
}

.section-top-banner .section-top-banner-wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -100px;
    background: transparent;
}

.section-top-banner .page-title {
    font-size: 3.333vw;
    color: white;
    font-family: "adobe-garamond-pro", serif;
    font-weight: 600;
    line-height: 56px;
}

.section-top-banner .section-top-banner-wrapper > * {
    width: 100%;
}

.section-top-banner .section-title-wrapper {
    text-align: center;
}

.section-top-banner .page-sub-title {
    font-size:max(1.25vw,16px);
    color: white;
    font-weight: 400;
    font-family: "jost",serif;
    margin-top: 10px;
}

.section-top-banner .tabs {
    margin-top: 1.5rem;
}

.section-top-banner .tabs .tabs-nav {
    display: inline-flex;
    gap: 5px;
    width: auto;
    margin-bottom: 2rem;
}

.section-top-banner .tabs .tabs-nav ul {
    display: flex;
    background: black;
    color: #808080;
    gap: 15px;
    padding: 5px;
    border: 0.5px solid white;
    border-radius: 8px;
}

.section-top-banner .tabs .tabs-nav ul li {
    padding: 8px 15px;
    border-radius: 5px;
    min-width: 12rem;
    font-size: 1.3rem;
    font-weight: 500;
    font-family: "jost",serif;
    cursor: pointer;
    align-items: center;
    display: flex;
    justify-content: center;
}

.section-top-banner .tabs .tabs-nav ul li.active {
    color: black;
    background: white;
}

.section-top-banner .tabs .tabs-panel {
    display: none;
}

.section-top-banner .tabs .tabs-panel.active {
    display: block;
}

.section-top-banner .search-form {
    max-width: 700px;
    display: block;
    margin: 0 auto;
}

.section-top-banner .search-form .form .form-group {
    display: flex;
    margin: 0 auto;
    gap: 5px;
    align-items: center;
    background: white;
    padding: 1.5rem;
}

.section-top-banner .search-form .form .form-group .form-input {
    width: 100%;
    padding: 0px;
    font-size: 18px;
    border: none;
    outline: none;
    font-family: Helvetica,Arial,sans-serif;
}

.section-top-banner .search-form .form .form-group .form-icon {
    cursor: pointer;
    align-self: stretch;
    margin-top: -1.5rem;
    margin-bottom: -1.5rem;
    margin-right: -1.5rem;
    display: flex;
    align-items: center;
    padding-right: 1.5rem;
    background: white;
}

.top_search .autoComplete {
    height: 0;
    overflow: hidden;
}

.top_search .section-top-banner-wrapper {
    transform: translateY(100px);
    transition: transform 0.3s ease-out;
}

.top_search.open .section-top-banner-wrapper {
    transform: translateY(0px);
}

.top_search.open {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    z-index: 100;
    overflow-y: auto;
}
.top_search.open .section-top-banner-wrapper {
    position: relative;
    height: auto;
    padding: 0px;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 70px;
}
.top_search.open .section-top-banner {
    padding: 0;
    background: #052157;
    z-index: 2;position: fixed;
    height: 100%;
    overflow-y: auto;
}
.top_search.open .page-title {
    animation: hidden-parts 0s 0.2s forwards;
}

.top_search.open .page-sub-title {
    animation: hidden-parts 0s 0.2s forwards;
}

@keyframes hidden-parts {
    100% {
        height: 0;
        overflow: hidden;
    }
}
.top_search.open .autoComplete {
    height: auto;
}
.top_search .close {
    position: absolute;
    right: 2.5%;
    z-index: 3;
    cursor: pointer;
    top: 2%;
    display: none;
}
.top_search.open .close {
    display: block;
}

@media screen and (max-width: 860px) {
    .section-top-banner {
        padding-bottom: 0;
        height: 428px;
        background: url(../png/forsaletopsp.png) no-repeat center;
        background-size: cover;
    }
}

@media screen and (max-width: 860px) {
    .section-top-banner {
        height: 428px;
    }

    .top_search.open .section-top-banner-wrapper {
        margin-top: 50px;
    }

    .section-top-banner .section-top-banner-wrapper {
        margin-top: -84px;
    }

    .section-top-banner .search-form .form .form-group {
        padding: 18px;
    }

    .section-top-banner .page-title {
        font-size: var(--font-size-38);
    }
    .section-top-banner .page-sub-title {
        font-size: var(--font-size-18);
    }
    .section-top-banner .search-form .form .form-group .form-input {
        font-size: var(--font-size-16);
    }

    .section-top-banner .search-form {
        padding: 0 1.5rem;
    }

    .section-top-banner .tabs .tabs-nav ul li {
        min-width: 9em;
        padding: 0.5rem 1.5rem;
    }
}
