.button {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0); /* fix safari overflow bug when animating */
}
.button:not(.disabled) {
    cursor: pointer;
}
.button > .ripple {
    position: absolute;
    border-radius: 50%;
    width: 5px;
    height: 5px;
    animation: ripple 0.5s 1;
    opacity: 0;
    z-index: 1;
}
.button > .uiFade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    animation: uiFade 0.88s;
    animation-fill-mode: forwards;
    z-index: 1;
}
.button > .uifio {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    animation: uiFadeIn 0.2s ease;
    animation-fill-mode: forwards;
    z-index: 1;
}
@keyframes uiFade {
    0% {opacity: 0;}
    100% {opacity: 0.3;}
}
@keyframes uiFadeIn {
    0% {opacity: 0;}
    100% {opacity: 0.4;}
}
@keyframes uiFadeOut {
    0% {opacity: 0.4;}
    100% {opacity: 0;}
}
@keyframes ripple {
    0% {transform: scale(1); opacity: 0.4;}
    100% {transform: scale(100); opacity: 0;}
}

.textBox.multiline {
    overflow: hidden;
}

.bottomSheet {
    position: absolute;
    width: 100%;
    height: 200%;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    box-shadow: 0 -4px 20px 0px rgba(53, 57, 94, 0.1);
    z-index: 100;
}
.bottomSheet[state='releasing'] {
    transition: transform 0.35s ease; 
}
.bottomSheet > .handle {
    padding-top: 8px;
    padding-bottom: 28px;
    cursor: pointer;
}
.bottomSheet > .handle > div {
    width: 40px;
    height: 4px;
    border-radius: 16px;
    margin-right: auto;
    margin-left: auto;
    background-color: #7f7f7f;
}
.bottomSheet .scrollable {
    overflow-y: auto;
}

.map {
    position: absolute;
    overflow: auto;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 1980;
}
.map > .recenter {
    position: absolute;
    top: 128px;
    right: 10px;
    width: 30px;
    height: 30px;
    z-index: 401;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}
.map > .recenter > .animation {
    animation: spin 2s linear 0s 5;
}
.map > .container {
    width: 100%;
    height: 100%;
}
.map > .container > .centerMarker {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1501;
    margin-left: -23px;
    margin-top: -67px;
    height: 67px;
    width: 46px;
    background: url('../img/pin.svg') no-repeat;
}
.map > .button {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    cursor: pointer;
}
.map > .leaflet-bottom {
    display: none;
}

.contextMenu {
    position: absolute;
}
.contextMenu > .items > .button {
    overflow: hidden;
}