.leaflet-searchbox-wrapper {
    display: flex;
    justify-content: right;
}

@media only screen and (min-device-width: 740px) {

    .leaflet-searchbox-container {
        top: 12px;
        right: 55px;
    }
}

@media only screen and (min-device-width: 893px) {
    .leaflet-searchbox-container-places {
        top: 12px;
        right: 126px;
    }
}

@media only screen and (max-device-width: 740px) {

    .leaflet-searchbox-container {
        display: none;
    }
}

@media only screen and (max-device-width: 893px) {

    .leaflet-searchbox-container-places {
        display: none;
    }
}

.leaflet-searchbox-wrapper .leaflet-searchbox {
    width: 300px;
    transition-delay: 0.1s;
    z-index: 702;
    font-size: 13px;
}

.leaflet-searchbox-wrapper .leaflet-searchbox,
.leaflet-searchbox-wrapper .leaflet-searchbox-button {
    background-color: white;
    border: 1px rgb(0, 0, 0, .15) solid;
    outline: none;
    transition-duration: 0.2s;
}

.leaflet-searchbox-autocomplete {
    list-style-type: none;
    position: relative;
    border-top: none;
    z-index: 701;
    width: 360px;
    padding-left: 4px;
    padding-right: 4px;

}

.leaflet-searchbox-container-places .leaflet-searchbox-autocomplete,
.leaflet-searchbox-container .leaflet-searchbox-autocomplete,
.leaflet-searchbox-autocomplete .leaflet-searchbox-autocomplete-item {
    background-color: white;
    border: 1px rgb(0, 0, 0, 0.15) solid;
    outline: none;
    transition-duration: 0.2s;
}

.leaflet-searchbox-wrapper .leaflet-searchbox-left {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-right: none;
    padding: 0px 0px 0px 15px;
}

.leaflet-searchbox-wrapper .leaflet-searchbox-right {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-left: none;
    padding: 0px 15px 0px 0px;
}

.leaflet-searchbox-clear-button {
    background-color: white;
    border-top: 1px rgb(0, 0, 0, .15) solid;
    border-bottom: 1px rgb(0, 0, 0, .15) solid;
    border-left: none;
    border-right: none;
    transition-duration: 0.2s;
    height: 30px;
    width: 30px;
}

.leaflet-searchbox-wrapper .leaflet-searchbox-button {
    padding-top: 4px;
    transition-delay: 0s;
    z-index: 702;
}

.leaflet-searchbox-wrapper .leaflet-searchbox-clear-button {
    padding-top: 4px;
    transition-delay: 0s;
    z-index: 702;
}

    .leaflet-searchbox-wrapper .leaflet-searchbox-button:hover,
    .leaflet-searchbox-wrapper .leaflet-searchbox-clear-button:hover {
        cursor: pointer;
    }

/* Round Corners Near Button */
.leaflet-searchbox-wrapper .leaflet-searchbox-button-right {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    height: 30px;
    width: 30px;
    border-left: none;
}

.leaflet-searchbox-wrapper .leaflet-searchbox-button-left {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    height: 30px;
    width: 30px;
    border-right: none;
}

.leaflet-searchbox-wrapper .leaflet-searchbox-button i {
    font-size: 24px;
}

.leaflet-searchbox-container-places .leaflet-searchbox-icon,
.leaflet-searchbox-container .leaflet-searchbox-icon {
    width: 69%;
    height: auto;
}

.leaflet-searchbox-container-places .leaflet-searchbox-autocomplete:empty,
.leaflet-searchbox-container .leaflet-searchbox-autocomplete:empty {
    display: none;
}

.leaflet-searchbox-autocomplete .leaflet-searchbox-autocomplete-item {
    width: 100%;
    border: none;
    z-index: 701;
    font-size: 13px;
    cursor: pointer;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow: hidden;
}

.leaflet-searchbox-autocomplete .leaflet-searchbox-autocomplete-item:hover {
    background-color: #f3f3f3;
    width: 100%;
}

/* collapsed search box */
.collapsed .leaflet-searchbox {
    width: 0px !important;
    padding: 0px;
    transition-delay: 0s;
}

.collapsed .leaflet-searchbox {
    border-left: none;
    border-right: none;
}

.collapsed .leaflet-searchbox-button {
    border-radius: 50%;
    padding: 3px 3px 3px 3px;
    transition-delay: 0.2s;
    border: .2rem rgb(1, 1, 1, 1) solid;
}

.collapsed .leaflet-searchbox-clear-button {
    display: none;
}

.collapsed .leaflet-searchbox-autocomplete {
    display: none;
}

.leaflet-searchbox-wrapper.open .leaflet-searchbox,
.leaflet-searchbox-wrapper.open .leaflet-searchbox-button,
.leaflet-searchbox-wrapper.open .leaflet-searchbox-clear-button {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* Progress */
.leaflet-progress-div {
    position: relative;
    background-color: white;
    border: none;
}

.leaflet-progress-icon-left,
.leaflet-progress-icon-right {
    position: absolute;
    top: 4px;
    background-color: white;
    width: 25px;
    height: 25px;
    outline: none;
    z-index: 777;
}

.leaflet-progress-icon-left {
    right: 30px;
}

.leaflet-progress-icon-right {
    left: 30px;
}

.animate-progress {
    z-index: 100;
    animation: spinAnimation 1s infinite;
}

@keyframes spinAnimation {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    75% {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }


    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
