#mapa {
    height: 90vh;
    margin-top: -28px;
}

#map-details {
    z-index: 1000;
    position: fixed;
    top: 70%;
    left: 0;
    right: 0;
    bottom: 50px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 25px;
    box-sizing: border-box;
    box-shadow: 4px 4px 10px rgb(0 0 0 / 25%);
    border-radius: 5px;
    overflow-y: auto;
}

.map-details-header {
    display: flex;
    align-items: start;
    justify-content: flex-start;
    gap: 20px;
    width: 90%;
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 15px;
    top: 32px;
    position: absolute;
}

.map-details-header h3 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 1.5em;
    line-height: 22px;
    color: var(--secundario);
    margin: 0 0 5px;
    position: relative;
    
}

.map-details-header img {
    height: 60px;
}

.map-details-header .direccion-container {
    display:flex; 
    flex-direction: row; 
    gap: 5px;
    width: 90%;
}

.map-details-body {
    padding-top: 5px;
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    margin-top: 15px;
    position: absolute;
    top: 114px;
}

#map-details-link-call {
    border-radius: 4px;
    background: #408E5C;
    color: #fff;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-details-body-ubicacion {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.map-details-body-ubicacion span {
    color: #333;
}

.gray-chip {
    background: #DCDCDC;
    border-radius: 4px;
    padding: 2px 10px;
    color: #333;
    margin-right: 10px;
    width: 35px;
}

.collapseButton {
    width: 100%;
    height: 40px;
    top: 5px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
}

#detailsCloseButton {
    position: absolute;
    right: 5px;
}



.map-details-more {
    position: absolute;
    top: 182px;
    width: 90%;
}

.map-details-more .p {
    color: #333;
    font-family: Open Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.map-details-more .span {
    color: #333;
    font-family: Open Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 15px;
}

#map-details-especialidades {
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
    padding-top: 10px;
}

#map-details-galeria {
    margin-bottom: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

#map-details-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

#map-details-especialidades > p {
    color: #333;
    font-family: Open Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 0px;
    width: 40%;
}

.map-search {
    z-index: 999;
    position: fixed;
    top: 105px !important;
    width: 90%;
    margin-left: 5%;
}

.map-search-results {
    z-index: 998;
    position: fixed;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
}

.map-search-results-div {
    margin-top: 150px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    margin-top: 10px;
    height: 60vh;
    overflow-y: auto;
}

.map-search-result {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #F0F0F0;
}

.map-search-result-nombre {
    color: #333;
    font-family: Open Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.map-search-result-direccion {
    color: #333;
    font-family: Open Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.centerMap {
    position: absolute;
    top: 86%;
    left: 92%;
    transform: translate(-50%, -50%);
}


#modalImage {
    width: 100vw;
    height: 100vh;
    background-color: #FFF;
    position: fixed;
    z-index: 10001;
    top: 0;
    bottom: 0;
    overflow: auto;
}

.modalImage {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.modalImage__close {
    position: fixed;
    top: 50px;
    right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}