/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
.ew-map-person-map {
    position: relative;
}
.ew-map-person, .ew-map-person * {
    box-sizing: border-box;
}
.ew-map-person-persons {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ew-map-person {
    padding: 2px;
}
.ew-map-person ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.ew-map-person-inner  {
    display: grid;
    gap: 20px;
    grid-template-columns: 55% auto;
}
@media screen and (max-width: 959px) {
    .ew-map-person-inner {
        grid-template-columns: 1fr;
    }
}

.ew-map-person-inner > * {
    padding: 2px;
}
.ew-map-person-list {
    max-height: 80vh;
    overflow-x: auto;
}
.ew-map-persons-person {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    height: 140px;
    margin-bottom: 12px;
}
.ew-person-image img {
    aspect-ratio: 111 / 142 !important;
    display: block;
    object-fit: cover;
    width: auto;
    height: 140px !important;
}
.ew-person-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin-left: 24px;
}
.ew-person-data > * {
    margin-top: 0;
    margin-bottom: 0;
}
.ew-person-name {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 0;
}
.ew-person-title {
    font-weight: 300;
    margin-top: 6px;
    opacity: 0.66;
}
.ew-map-person-input {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.66);
    padding: 10px 20px;
    position: absolute;
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
    width: 240px;
}
.ew-map-person-input:focus {
    outline: none;
}

.ew-person-contact {
    margin-top: 12px;
}
.ew-person-contact a {
    text-decoration: none;
}
.ew-person-map-email, .ew-person-map-phone {
    display: block;
    font-size: 16px;
    padding-left: 20px;
    position: relative;
}

.ew-person-map-email::before, .ew-person-map-phone:before {
    aspect-ratio: 1 / 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    content: '';
    display: block;
    width: 16px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.ew-person-map-email::before {
    background-image: url(assets/icons/env.svg);
}
.ew-person-map-phone::before {
    background-image: url(assets/icons/phone.svg);
}