@import url('https://fonts.cdnfonts.com/css/inter?styles=169530,29139,29142,29132,29135,29137,29140,29128,29130,29126');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap');

.viewMap {
    position: relative;
    display: flex;
    justify-content: end;
}

#new .viewMap {
    top: 20px;
    margin-bottom: 20px;
}

.googlemap {
    width: 50%;
}

#mapArea {
    width: 100% !important;
    position: unset !important;
}

.searchAreaBtn {
    left: 70% !important;
}

.viewMap .wrap {
    position: relative !important;
    width: 50% !important;
    padding: 0px;
}

.viewMap__propertyDetail {
    width: 100%;
    padding: 0px;
    background-color: white;
}

.card {
    width: 100% !important;
}

.head {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0px 24px;
    box-sizing: border-box;
    margin-top: 33px;
}

.head .title {
    font-size: 30px;
    font-weight: 600;
    font-family: 'adobe-garamond-pro', serif;
    line-height: 1;
}

.head .total-count {
    font-size: 14px;
    font-weight: 400;
    color: #808080;
    font-family: 'inter', sans-serif;
}

.head .unitSort__result {
    padding-top: 0px !important;
    font-size: 14px;
    font-weight: 400;
    color: #808080;
    margin-top: 2px;
}

.head .sort-area {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #D8D8D8;
    margin-top: 23px;
}

.head .sort-area .button-group {
    display: flex;
}

.head .sort-area .button-group .button-primary ,
.head .sort-area .button-group .button-secondary {
    background-color: #F5F5F5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 17px 42px 15px 37px;
    color: #808080;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #D8D8D8;
    gap: 13px;
    font-family: 'jost', serif;
    border-bottom: 0px;
    cursor: pointer;
}

.head .sort-area .button-group .button-primary.active,
.head .sort-area .button-group .button-secondary.active
{
    background-color: #7D8595;
    color: white;
}

.head .sort-area .button-group .button-primary.active svg g path,
.head .sort-area .button-group .button-secondary.active svg g path
{
    fill: white !important;
}

.head .sort-area .sort-area-inner-wrapper {
    display: flex;
    gap: 7px;
    align-items: center;
}

.head .sort-area .sort-area-inner-wrapper .sort-title {
    font-size: 12px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.property-list-wrapper {
    width: 100%;
    display: grid;
    gap: 10px;
    box-sizing: border-box;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.property-list-wrapper .property-detail-wrapper .property-detail-card {
    width: 100% !important;
}

.unitSort__select {
    width: fit-content !important;
}

.inputSelect select {
    padding: 15px 32px 15px 12px !important
}

.propertyDetailList {
    min-height: 100vh;
}

.propertyDetail {
    text-align: center;
}

.propertyDetail {
    margin-top: 106px !important;
}

.propertyDetail h4 {
    font-size: 28px;
    line-height: 33px;
    margin-bottom: 16px;
    font-family: 'adobe-garamond-pro', serif;
    font-weight: 600;
}

.propertyDetail p {
    font-family: Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.emptyMsgMapSP {
    position: absolute;
    background: white;
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    bottom: 0;
    margin-top: 0px !important;
    padding: 72px 47px;
}

@media screen and (max-width: 860px) {
    .head {
        padding: 0px;
        margin-top: 22px;
    }

    .head .title {
        font-size: 22px;
    }

    .head .sort-area .sort-area-inner-wrapper {
        max-width: 40%;
    }

    .head .sort-area .button-group {
        width: 55%;
    }

    .head .sort-area .button-group .button-primary {
        gap: 7px;
        width: 50%;
        padding: 17px 0px;
    }

    .head .sort-area .button-group .button-secondary {
        width: 50%;
        gap: 7px;
        padding: 17px 0px;
    }

    .head .sort-area .sort-area-inner-wrapper .sort-title {
        display: none;
    }

    .unitSort__sort {
        margin-top: 0px !important;
    }

    .propertyDetailList {
        margin-top: 16px;
    }

    .googlemap {
        width: 100%;
    }

    .searchAreaBtn {
        left: 50% !important;
    }

    #new .viewMap {
        top: 0;
        margin-bottom: 0;
    }

    .viewMap .wrap {
        position: absolute !important;
        width: 100% !important;
        max-width: none;
    }

    .viewMap .propertyDetail--close {
        top: -20px;
        right: 10px;
        z-index: 2;
    }

    .viewMap .propertyDetail--close button{
        width: 36px !important;
        height: 36px !important;
        opacity: 0.5;
        border-radius: 100%;
    }

    .propertyDetail.list {
        margin-top: 72px !important;
    }

    .propertyDetail h4 {
        font-size: 24px;
        line-height: 18px;
    }

    .emptyMsgMapSP {
        display: flex;
    }

}