html, body, #wrapper, #content-wrapper, #content {
    height: 100%;
}
body{
    font-family: Meiryo, sans-serif;
}
#loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#map-container {
    height: calc(100vh - 0px);
}
#buttonDiv {
    height: auto;
    padding: 10px;
}

.clusterGroup {
}

.clusterGroup img {
    width: 50px;
    position: relative;
}

.clusterGroup span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-weight: 600;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
    color: gray;
}

#addAlert {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: calc(100% - 20px);
    background-color: black;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid crimson;
    z-index: 1000;
    border-radius: 20px;
    color: white;
    padding: 10px;
}
#addAlert_baby {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: calc(100% - 20px);
    background-color: black;
    background-color: rgba(250, 245, 235, 1);
    border: 2px solid crimson;
    z-index: 1000;
    border-radius: 20px;
    color: #53514e;
    padding: 10px;
}


#ageModal {
    display: none;
    position: absolute;
    bottom: calc(35% + 100px);;
    right: 10px;
    height: 30%;
    width: calc(100% - 20px);
    background-color: white;
    border: 2px solid black;
    z-index: 1000;
    border-radius: 20px;
    color: black;
    padding: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.box1 {
    float: left;
    width: 100px;
    height: 100px;
    background-color: gainsboro;
    border-radius: .35rem;
}

 .box2 {
    display:inline-block;
    width: calc(100% - 130px);
    height:100px;
    margin-left:10px;
 }

.customModal {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 10px;
    height: calc(100vh - 70px);
    width: calc(100% - 20px);
    background-color: black;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid crimson;
    z-index: 1000;
    border-radius: 20px;
    color: white;
    padding: 10px;
}
.unStyled-button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.info-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    margin: 10px 0;
    font-size: 16px;
    font-weight: 500;
}

.img-list img {
    max-width: 100px;
    max-height: 100px;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.img-list {
    display: flex;
    flex-wrap: wrap;
}

.info-card .label {
    display: inline-block;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
}

.info-card .value {
    display: inline-block;
    margin-left: 5px;
}

.custom-div-icon {
    background: none;
    border: none;
}

.marker-image {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(to right, red, #000);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    border: 1px solid gray;
}

.marker-pin::after {
    content: '';
    width: 32px;
    height: 32px;
    margin: 3px 0 0 3px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
    border: 1px solid lightgray;
}

.button-image {
    max-width: 20px; /* 최대 너비 */
    max-height: 20px; /* 최대 높이 */
    width: auto; /* 비율 유지 */
    height: auto; /* 비율 유지 */
}

.button-text {
    font-size: xx-small;
    margin-bottom: 0;
}


.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
    -webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
    -moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
    -o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
    transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
    /* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
    -webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
    -moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
    -o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
    transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}

.marker-cluster-small {
    /*background-color: rgba(181, 226, 140, 0.6);*/
}
.marker-cluster-small div {
    /*background-color: rgba(110, 204, 57, 0.6);*/
}

.marker-cluster-medium {
    /*background-color: rgba(241, 211, 87, 0.6);*/
}
.marker-cluster-medium div {
    /*background-color: rgba(240, 194, 12, 0.6);*/
}

.marker-cluster-large {
    /*background-color: rgba(253, 156, 115, 0.6);*/
}
.marker-cluster-large div {
    /*background-color: rgba(241, 128, 23, 0.6);*/
}

/* IE 6-8 fallback colors */
.leaflet-oldie .marker-cluster-small {
    background-color: rgb(181, 226, 140);
}
.leaflet-oldie .marker-cluster-small div {
    background-color: rgb(110, 204, 57);
}

.leaflet-oldie .marker-cluster-medium {
    background-color: rgb(241, 211, 87);
}
.leaflet-oldie .marker-cluster-medium div {
    background-color: rgb(240, 194, 12);
}

.leaflet-oldie .marker-cluster-large {
    background-color: rgb(253, 156, 115);
}
.leaflet-oldie .marker-cluster-large div {
    background-color: rgb(241, 128, 23);
}

.marker-cluster {
    background-clip: padding-box;
    border-radius: 20px;
}
.marker-cluster div {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;

    text-align: center;
    border-radius: 15px;
    font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.marker-cluster span {
    line-height: 30px;
}
