/* 스타일 정의 */
html {
    height: 100% 
}
body {
    height: 100%;
    margin: 0;
    padding: 0; 
}
h1 {
    text-align : center;
}
#map {
    width: 100%;
    height: calc(100vh - 13rem);
    margin-left:auto;
    margin-right:auto;
    margin-top: -2rem;
}
.wrap {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 288px;
    height: 132px;
    margin-left: -144px;
    text-align: left;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    
}
.wrap * {
    padding: 0;
    margin: 0;
    
}
.wrap .info {
    width: 286px;
    height: 120px;
    border-radius: 5px;
    border-bottom: 2px solid #ccc;
    border-right: 1px solid #ccc;
    overflow: hidden;
    background: #fff;
    
}
.wrap .info:nth-child(1) {
    border: 0;
    box-shadow: 0px 1px 2px #888;
    
}
.info .title {
    padding: 5px 0 0 10px;
    height: 30px;
    background: #eee;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
    font-weight: bold;
    
}
.info .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #888;
    width: 17px;
    height: 17px;
    background: url('https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/overlay_close.png');
    
}
.info .close:hover {
    cursor: pointer;
    
}
.info .body {
    position: relative;
    overflow: hidden;
    
}
.info .desc {
    position: relative;
    margin: 13px 0 0 90px;
    height: 75px;
    
}
.desc .ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    
}
.desc .jibun {
    font-size: 11px;
    color: #888;
    margin-top: -2px;
    
}
.info .img {
    position: absolute;
    top: 6px;
    left: 5px;
    width: 73px;
    height: 71px;
    border: 1px solid #ddd;
    color: #888;
    overflow: hidden;
    
}
.info:after {
    content: '';
    position: absolute;
    margin-left: -12px;
    left: 50%;
    bottom: 0;
    width: 22px;
    height: 12px;
    background: url('https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/vertex_white.png')
}
.info .link {
    color: #5085BB;
    
}




#map {
    width: 100vw;
    height: 100vh;
    z-index: 1;
}
.custom_marker_red {
    background-image: url(../img/icon3.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 3rem !important;
    height: 3.5rem !important;
}

.custom_marker_blue {
    background-image: url(../img/icon4.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 3rem !important;
    height: 3.5rem !important;

}

.leaflet-marker-icon {
    border-radius: 50%;
    text-align: center;
    
}
.leaflet-marker-icon div {
    line-height:40px;
    
}
.leaflet-marker-icon div span {
    font-size: 1.6rem;
    
}

.leaflet-popup {
    bottom: 4rem !important;
    
}
.leaflet-popup-content {
    font-size: 1.4rem;
    
}
.leaflet-popup-close-button span {
    font-size: 1.4rem;
    
}


.marker-cluster {
    width: 5rem !important;
    height: 5rem !important;
    border-radius: 50% !important;
    
}
.marker-cluster > div {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    position: absolute;
    margin-left: unset !important;
    margin-top: unset !important;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    
}

.sm {
    background-color: unset !important;
    /* width: 7rem !important;
    height: 7rem !important;
      */
}
.sm > div {
    background-color: #fab937 !important;
    border-radius: 50% !important;
    width: 4rem !important;
    height: 4rem !important;
    
}
.sm > div span {
    line-height:4rem;
    color: #fff;
    
}
.lg {
    background-color: unset !important;
    /* width: 7rem !important;
    height: 7rem !important;
      */
}
.lg > div {
    background-color: #54b85a !important;
    border-radius: 50% !important;
    width: 4rem !important;
    height: 4rem !important;
    
}
.lg > div span {
    line-height:4rem;
    color: #fff;
}


.marker_info {
    position: fixed;
    right: 1.5rem;
    top: 7rem;
    padding: 0.3rem 1rem;
    z-index: 9;
    background: #ffffffcf;
    border-radius: 10px;
    
}
.marker_info p {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0.6rem 0;
    
}
.marker_info p img {
    width: 2rem;
    margin-right: .7rem;
    
}


#info_box {
    position: fixed;
    bottom: 5rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
    z-index: 9;
    border-radius: .7rem .7rem 0 0 ;
    background: #fff;
    display: block;
}
#info_box.lh,
#info_box.newhome {
    padding: 2rem;
    box-shadow: rgb(149 157 165 / 30%) 0px -8px 8px;
}
#info_box.lh .name_link {
    border-radius: .7rem;
    
}
#info_box.newhome .name_link {
    border-radius: .7rem;
    
}
#info_box .name_link {
    display: block;
    width: 100%;
    /* padding-top: 0.5rem; */
    padding-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: #54b85a;
    text-align: center;
    position: relative;
    
}
#info_box .name_link:after {
    content:'';
    /* background: url(../img/map-arrow.png) no-repeat center / contain; */
    width: 1rem;
    height: 2rem;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    
}
#info_box .detail_wrap {
    background: #fff;
    /* padding: 1.5rem 0; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    
}
#info_box .detail_wrap .cls {
    width: 100%;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 600;
    
}
#info_box .detail_wrap .cls:before {
    content: "유형 : ";
    font-size: inherit;
    font-weight: unset;
    
}
#info_box .detail_wrap .state {
    width: 100%;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 600;
    
}
#info_box .detail_wrap .state:before {
    content: "공고상태 : ";
    font-size: inherit;
    color: #333;
    
}
#info_box .detail_wrap .period {
    font-size: 1.8rem;
    width: 100%;
    text-align: center;
    font-weight: 600;
    
}
#info_box .detail_wrap .period:before {
    content: '공고기간 : ';
    margin-right: 1rem;
    
}




.two-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}
.two-btn button {
    width: calc(100% / 2 - 0.5rem);
    height: 6.5rem;
    color: #fff;
    background-color: #e2377d;
    border-radius: 1rem;
    font-size: 1.6rem;
}
.two-btn button:nth-of-type(2) {
    background-color: #6660ff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.two-btn button img {
    width: 2rem;
    margin-right: 1rem;
}



.leaflet-top {
    position: fixed !important;
    top: 5rem !important;
    left: 0.5rem !important;
}

#info_box {
    display: none;
}

#info_box.show {
    display: block;
}


.leaflet-control-container {
    display: none;
}