table tbody tr td.sdm_td {
    padding: 0
}

table tbody tr td.sdm_td .sdm_box {
    border: 0;
    margin-bottom: 0
}

.sdm_box {
    color: #2c2c2c;
    background-color: #fff;
    border: 1px solid #ddd;
    position: relative;
    padding: 10px 15px;
    margin-bottom: 12px
}

.sdm_box-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.sdm_box .destination {
    margin-right: 10px;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 26px;
    font-weight: 400;
}

.sdm_box .not-select-destination {
    color: #ff6159;
}

.sdm_box .delivery-selection {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px
}

.sdm_box input {
    flex-grow: 1;
    min-width: 240px;
    width: 100%;
    padding: 3px 6px;
    border: 1px solid #dfdfdf
}

.sdm_box .sdm-map-button{
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin-top: 0;
}


.sdm_box .sdm-map-button:hover, .sdm_box .sdm-map-button:focus, .sdm_box .sdm-map-button.focus {
    text-decoration: underline;
    cursor: pointer;
}

.sdm-package-input {
    margin-right: 10px;
    font-size: 15px;
    line-height: 26px;
    color: rgb(255, 97, 89);
    font-weight: 400;
}

#map_bg {
    position: relative;
    display: none;
    pointer-events: none
}

#map_bg.open {
    display: block;
    pointer-events: all;
    position: fixed;
    z-index: 99999;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 100vh;
    width: 100vw;
    background-color: rgba(51, 51, 51, .8)
}

#map_bg.open #map {
    width: 100%;
    height: 100%;
    z-index: 9999
}

#map_bg .map-container {
    max-height: 100%;
    height: calc(50vh + 400px) !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translatex(-50%);
    background: #000;
    z-index: 9998;
    max-width: 100%;
    width: calc(60vw + 200px)
}

#map_bg .map-container #map-loader {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: hsla(0, 0%, 100%, .6666666667);
    z-index: 9999;
    display: flex
}

#map_bg .map-container #map-loader .progress {
    display: block;
    margin: 20px;
    width: 100%;
    align-self: center
}

#map_bg .map-container .map_close_btn {
    width: 40px;
    height: 40px
}

#map_bg .map-container .map_close_btn i {
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 0%, 10% 20%, 20% 10%, 50% 40%, 80% 10%, 90% 20%, 60% 50%, 90% 80%, 80% 90%, 50% 60%, 20% 90%, 10% 80%, 40% 50%, 10% 20%, 0% 0%);
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, .5333333333);
    display: inline-block;
    pointer-events: none
}

#map_bg .map-container .mapblock {
    padding: 8px 10px;
    background: rgba(0, 0, 0, .5333333333);
    color: #fff;
    pointer-events: none
}

#map_bg .map-container .mapinfoblock {
    font-size: calc(1vw + 10px)
}

#map_bg .map-container .mapnavblock {
    padding: 6px 8px;
    font-weight: bold;
    font-size: 10px
}

#map_bg .btn {
    padding: 6px 12px
}

.leaflet-popup .btn {
    display: block;
    min-width: 85%;
    margin: 25px auto 0;
    border-radius: 10px;
    transition: background-color .3s
}

.leaflet-popup-content {
    padding: 15px 0
}

.leaflet-popup.point-removed .leaflet-popup-content-wrapper {
    background: #d03131;
    color: #fff
}

.leaflet-popup.point-removed .leaflet-popup-content {
    padding-top: 100px;
    font-size: 1.2em
}

.leaflet-popup.point-removed .leaflet-popup-tip {
    background: #d03131 !important
}

.leaflet-popup.point-removed .leaflet-popup-close-button {
    width: 100px;
    height: 100px;
    font-size: 90px;
    line-height: 100px;
    box-sizing: border-box;
    left: calc(50% - 50px);
    padding: 0;
    background: #fae6e6;
    border-radius: 20px;
    color: #d03131
}

body.map_active {
    pointer-events: none;
    overflow: hidden
}

.sdm_box .sdm_ajax_loader {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: hsla(0, 0%, 100%, .8)
}

.sdm_box.ajax .sdm_ajax_loader {
    display: block
}

.sdm_ajax_loader p {
    display: flex;
    flex-flow: column;
    height: 100%;
    align-items: center;
    justify-content: center
}

#easypack-widget .type-filter, #widget-modal .type-filter {
    background-color: #fff
}

#easypack-widget .type-filter .label, #widget-modal .type-filter .label {
    color: #000
}

.easypack-widget .easypack-dropdown__select {
    background-color: #f5f5f5
}

.leaflet-popup a.leaflet-popup-close-button {
    font-size: xx-large;
    margin: 20px 10px 0 0;
    direction: rtl
}

#map_bg .mapsearchbar {
    pointer-events: auto;
    clear: none;
    transition: 200ms all;
    width: 500px;
    max-width: 70vw;
    border: 3px solid #888;
    padding: 8px 20px;
    font-size: 18px
}

.autocomplete-suggestions {
    margin-top: -1px;
    border-color: #aaa;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1) inset;
    pointer-events: all
}

.autocomplete-suggestion {
    color: #333;
    padding: 8px 20px;
    border-bottom: 1px solid #eee
}

.autocomplete-suggestion.selected {
    background: #ddd
}
