.open_street_map .map {
    background-color: #f0f0f0;
    cursor: move;
    position: relative;
    width: 100%;
    height: 350px;
    border: 2px solid #bdbdbd;
    border-radius: 7px;
}

.open_street_map .map_overlay {
    align-items: center;
    background-color: rgba(234,234,234,.85);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 300;
    z-index: 1;
}

.open_street_map .map_overlay.show {
    opacity: 1;
    transition-delay: 0;
}

.open_street_map .map_overlay.show p {
    font-size: 120%;
    margin: 1.5em 3em;
    text-align: center;
}

.open_street_map .required_description {
    margin: 1.5em 0 0 0;
}

.open_street_map fieldset {
    padding: 0;
    margin: 0;
    border: 0;
}

.open_street_map .form_disclaimer {
    margin: 1.5em 0 0 0;
}

.open_street_map .plan_route {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 1.5em 0;
    position: relative;
}

.open_street_map .plan_route .saddr {
    flex-grow: 1;
    flex-shrink: 1;
}

.open_street_map .plan_route .select_wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 1em 1.5em 0 0;
    width: 100%;
    line-height: 0;
}

.open_street_map .plan_route .form_disclaimer {
    margin-top: 1.5em;
}

.open_street_map .plan_route .form_disclaimer {
    margin-top: 1.5em;
}


.open_street_map .label {
    display: flex;
    white-space: nowrap;
    margin-bottom: 5px;
    line-height: 1.8;
}

.open_street_map .required_asterisk {
    margin-left: 5px;
}

.open_street_map .ol-viewport {
    touch-action: pan-y !important;
}

.open_street_map .ol-overlaycontainer-stopevent button {
    align-items: center;
    background: white;
    border-radius: 0;
    color: #444;
    cursor: pointer;
    display: inline-flex;
    font-weight: bold;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0;
    text-decoration: none;
    transition: background 300ms, border 300ms, color 300ms;
    user-select: none;
    width: 44px;
    border-radius: 7px;
    border: 2px solid #467e99;
}

.open_street_map .ol-overlaycontainer-stopevent button:focus,
.open_street_map .ol-overlaycontainer-stopevent button:hover {
    background: #467e99;
    border: 1px solid #467e99;
    color: white;
    outline: 0;
}

.open_street_map .ol-overlaycontainer-stopevent button.disabled {
    cursor: default;
    opacity: 0.6;
}

.open_street_map .ol-attribution,
.open_street_map .ol-zoom-in,
.open_street_map .ol-zoom-out,
.open_street_map .ol-zoomslider {
    position: absolute;
    right: 5px;
    z-index: 99;
}

.open_street_map .ol-zoom-in {
    line-height: 1;
    top: 5px;
}

.open_street_map .ol-zoom-out {
    line-height: 1;
    top: 54px;
}

.open_street_map .ol-rotate-reset {
    display: none;
}

.open_street_map .ol-attribution {
    align-items: center;
    bottom: 0;
    cursor: default;
    display: flex;
    justify-content: flex-end;
    right: 0;
    text-align: right;
    user-select: none;
    z-index: 99;
}

.open_street_map .ol-attribution ul {
    align-items: center;
    background-image: none !important;
    background: rgba(255, 255, 255, 0.85) !important;
    color: black;
    display: flex;
    height: 44px;
    justify-content: flex-end;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
    transform-origin: center right;
    transition: transform 300, opacity 300;
}

.open_street_map .ol-attribution li {
    align-items: center;
    background-image: none !important;
    display: flex;
    font-size: 85%;
    margin: 0 1em !important;
    padding: 0 !important;
    color: #575757;
}

.open_street_map .ol-attribution li:before {
    display: none;
}

.open_street_map .ol-attribution a {
    align-items: center;
    color: #575757;
    text-decoration: underline;
    display: inline-flex;
    margin: 0 5px;
}

.open_street_map .ol-attribution a:hover,
.open_street_map .ol-attribution a:focus {
    text-decoration: none;
}

.open_street_map .ol-attribution button {
    display: none;
}

.open_street_map.disable_ui .ol-zoom-in,
.open_street_map.disable_ui .ol-zoom-out {
    display: none;
}

.open_street_map .form_disclaimer {
    background: #f2f2f2;
    border-radius: 0;
    margin-bottom: 1em;
    padding: 1em 1em;
}

.open_street_map .plan_route .select_wrapper select {
    width: 100%;
}

.open_street_map .plan_route .select_wrapper .select {
    margin-bottom: 0;
    width: 100%;
}

.open_street_map .plan_route .saddr input {
    margin-bottom: 0;
    padding: 7px;
    width: calc(100% - 14px);
}

.open_street_map .plan_route .button_wrapper {
    margin-top: 1em;
    margin-bottom: 0;
}

@media (min-width: 760px) {
    .open_street_map .map {
        height: 400px;
    }

    .open_street_map .plan_route .button_wrapper {
        margin-top: 0;
    }

    .open_street_map .plan_route {
        align-items: flex-end;
        flex-direction: row;
    }

    .open_street_map .plan_route .saddr {
        margin: 0 1.5em 0 0;
        max-width: 650px;
    }

    .open_street_map .plan_route .select_wrapper {
        margin-top: 0;
        width: auto;
    }

    .open_street_map .plan_route .button_wrapper button {
        margin-bottom: 0;
    }
}
