.rp-content {
    margin-top: 0;
}
.rp-head {
    position: unset;
}
.rp-main {
    /*width: 1600px;*/
    margin: 0 auto;
    display: flex;
    gap: 0;
}
.rp-left {
    width: 640px;
    height: calc(100vh - 68px - 76px);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(194, 190, 188, 0.5);
}
.rp-right {
    /*width: 960px;*/
    position: relative;
    flex: 1;
}
.rp-left-head {
    background: #FAFAFA;
    border-bottom: 1px solid rgba(194, 190, 188, 0.5);
    display: flex;
    padding: 12px 24px;
    gap: 20px;
    height: 56px;
    align-items: center;
}
.rp-left-head-action-active {
    position: absolute;
    height: 3px;
    background: #478579;
    width: 24px;
    bottom: -14px;
    left: 6px;
    border-radius: 5px;
}
.rp-left-head-right {
    margin-left: auto;
    display: flex;
    gap: 8px;
}
.rp-left-head-action {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}
.rp-left-head-action a {
    display: flex;
    height: 100%;
    align-items: center;
}
.rp-left-head-action a img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(7456%) hue-rotate(322deg) brightness(88%) contrast(102%);
    width: 13px;
    height: 13px;
    margin-right: 5px;
    z-index: 0;
}
.rp-section-active {
    color: #478579 !important;
}
.rp-section-f1 {
    font-family: "Roboto Slab", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 26px;
    color: #0C0A08;
    margin: 0;
}
.rp-section-f1:hover {
    /*color: #478579;*/
}
.rp-section-f2 {
    font-family: "Satoshi", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    color: #08080C;
    /*text-transform: uppercase;*/
    transition: all 300ms ease;
}
.rp-section-f3 {
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: 12px;
    /*line-height: 20px;*/
    color: #0C0A08;
    text-transform: uppercase;
}
.rp-section-f4 {
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #0C0A08;
}
.rp-section-f5 {
    font-family: "Roboto Slab", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 34px;
    color: #0C0A08;
    margin: 0;
}
.rp-section-f6 {
    font-family: "Satoshi", sans-serif !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 22px !important;
    color: #8A8480 !important;
}
.rp-section-f7 {
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #0C0A08;
    margin: 0;
}
.rp-section-f8 {
    font-family: "Satoshi", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 26px;
    color: #0C0A08;
}
.rp-left-head-add .rp-section-f2 {
    text-transform: uppercase;
}
.rp-left-head-add:hover .rp-section-f2 {
    transition: color 300ms ease;
    color: #606060;
}
.rp-left-head-add:hover img {
    transition: filter 300ms ease;
    filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(1272%) hue-rotate(175deg) brightness(88%) contrast(84%);
}
.rp-left-config h2 {
    font-family: "Roboto Slab", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 34px;
    color: #0C0A08;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rp-left-config {
    display: flex;
    flex-direction: column;
    padding: 0 24px;
}
.rp-left-start-time .rp-section-f3 {
    color: white;
}
.rp-left-start-time:hover {
    transition: background 300ms ease;
    background: #e05200;
}
.rp-left-start-time {
    transition: background 300ms ease;
    background: #0C0A08;
    border-radius: 8px;
    padding: 6px 12px;
    border: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.rp-left-start {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.rp-fastest-route {
    cursor: pointer;
}
.rp-options-add-point:hover {
    background: #396a60;
    transition: all 0.4s ease 0s;
}
.rp-options-add-point {
    transition: all 0.4s ease 0s;
    background: #478579;
    border-radius: 8px;
    padding: 12px 20px;
    color: white;
    font-family: Satoshi, sans-serif;
    font-weight: 500;
    font-size: 12.4px;
    line-height: 20px;
    border: 0;
    text-transform: uppercase;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.rp-footer-hide {
    display: none;
}
.rp-left-info {
    margin-top: auto;
    border-top: 1px solid rgba(194, 190, 188, 0.5);
    background: #FAFAFA;
}
.rp-left-info-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 24px;
    padding: 12px;
}
.rp-left-info-content span {
    text-align: center;
}
.rp-left-info-content img {
    height: 20px;
}
.rp-left-info-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.rp-bottom-bar {
    height: 76px;
    display: flex;
    align-items: center;
    background: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid rgba(228, 228, 231, 0.5);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
}
.rp-bottom-inner {
    width: 640px;
    /*margin: 0 auto;*/
    display: flex;
    gap: 20px;
    /*justify-content: center;*/
    margin-left: 20px;
}
.rp-bottom-push {
    width: 960px;
}
.rp-bottom-pdf {
    padding: 16px 24px !important;
    font-family: "Satoshi", sans-serif !important;
    font-size: 14.8px !important;
    font-weight: 500 !important;
    line-height: 20px;
    gap: 8px !important;
}
.rp-bottom-save {
    width: 467px;
    text-transform: capitalize;
    font-family: "Satoshi", sans-serif !important;
    font-size: 14.8px !important;
    font-weight: 500 !important;
    line-height: 20px;
    gap: 8px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
.rp-left-info-bottom .rp-section-f2 {
    text-decoration-color: transparent;
    transition: all 0.4s ease 0s;
}
.rp-left-info-bottom .rp-section-f2:hover {
    color: #08080C;
    text-decoration: underline;
    text-decoration-color: #FF640A;
    text-underline-offset: 3px;
}
.rp-left-info-bottom {
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(194, 190, 188, 0.5);
}
.rp-left-points-container {
    overflow: scroll;
    height: 100%;
    scrollbar-width: none;
    margin-top: 24px;
}
.rp-left-points {
    height: 100%;
    background-image: url('/img/route-planner.png');
    background-repeat: no-repeat;
    background-position: 50% 101%;
    margin: 0 24px 0 24px;
    /*overflow-y: scroll;*/
    /*scrollbar-width: none;*/
    position: relative;
}
.rp-points-loading, .rp-map-error {
    display: none;
    position: absolute;
    width: 100px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 99;
}
.rp-points-container:last-child {
    box-shadow: 0 14px 16px -11px rgba(0, 0, 0, 0.08);
    height: auto;
    padding-bottom: 10px;
}
.rp-points-container {
    height: 44px;
    display: flex;
    background: #FFFFFF;
    gap: 10px;
    cursor: move;
    user-select: none;
    transition: opacity 0.2s ease 0s;
    align-items: center;
}
.rp-points-drag-element {
    position: absolute;
    z-index: 9999;
    box-shadow: 0 6px 9px 3px rgba(41, 41, 122, 0.12) !important;
    border-radius: 10px;
    padding: 4px !important;
    width: 80%;
    left: 50% !important;
    transform: translateX(-50%);
    height: auto;
    pointer-events: none;
    cursor: pointer;
    /*background: rgba(255, 255, 255, 0.8);*/
    opacity: 0.9;
}
.rp-points-drag-over {
    opacity: 0.2;
}
.rp-points-interval-drag {
    display: flex;
    align-items: center;
}
.rp-points-interval-drag-line-container {
    height: 40px;
    flex: 1;
    display: flex;
    align-items: center;
}
.rp-points-interval-drag-line {
    flex: 1;
    padding: 10px 0;
}
.rp-points-interval-drag-line-inner {
    height: 2px;
    background: transparent;
    transition: all 0.2s ease 0s;
}
.rp-points-right {
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center;
}
.rp-points-actions-box {
    display: none;
    position: absolute;
    width: 154px;
    top: calc(100% + 2px);
    right: 0;
    border-radius: 4px;
    background: white;
    box-shadow: 0px 0px 20px 0px rgba(11, 10, 10, 0.15);
    z-index: 9;
    padding: 0 6px;
}
.rp-points-actions-edit:hover, .rp-points-actions-delete:hover {
    text-decoration: underline;
    text-decoration-color: #FF640A;
    text-underline-offset: 3px;
    transition: all 0.4s ease 0s;
}
.rp-points-actions-edit {
    text-decoration-color: transparent;
    transition: all 0.4s ease 0s;
    cursor: pointer;
    padding: 6px 12px 8px;
    border-bottom: 1px solid #EEEDEC;
}
.rp-points-actions-delete {
    text-decoration-color: transparent;
    transition: all 0.4s ease 0s;
    cursor: pointer;
    color: #CC0022;
    padding: 6px 12px 8px;
}
.rp-points-index {
    border: 1px solid rgba(224, 82, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FBEDE4 url('/img/rp-dots.png') no-repeat 6%;
    font-family: "Roboto Slab", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #0C0A08;
}
.rp-points-address {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rp-points-address .rp-section-f4 {
    color: #55514E;
}
.rp-points-right-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.rp-edit-point img {
    width: 15px;
}
.rp-edit-point {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*.rp-points-actions:active + .rp-points-actions-box {*/
/*    display: block;*/
/*}*/
.rp-points-actions {
    display: flex;
    align-items: center;
    position: relative;
    height: fit-content;
}
.rp-points-interval {
    position: relative;
    width: 44px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.rp-points-interval-lines {
    width: 1px;
    background: rgba(224, 82, 0, 0.5);
    height: 50%;
}
.rp-points-interval-duration {
    color: #E05200;
    white-space: nowrap;
}
.rp-points-interval-container {
    background: white;
}
.rp-open-edit-day {
    filter: brightness(0) saturate(100%) invert(3%) sepia(12%) saturate(1178%) hue-rotate(349deg) brightness(93%) contrast(97%);
    cursor: pointer;
}

/* Modals */
.rp-modal-content {
    display: flex;
    max-width: 960px;
    margin-top: 100px;
    margin-right: auto;
    margin-left: auto;
    /*padding: 12px 8px 12px 40px;*/
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    align-items: stretch;
    border-radius: 8px;
    background-color: #fff;
}
.rp-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(231, 229, 228, 0.5);
    padding: 12px 8px 12px 40px;
}
.rp-modal-close:hover {
    background: #e4e5e7;
    transition: all 300ms ease;
}
.rp-modal-close {
    background: white;
    transition: all 300ms ease;
    width: 44px;
    height: 44px;
    color: #08080C;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.rp-modal-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.rp-modal-input {
    height: 52px !important;
    padding: 3px 45px !important;
    font-family: "Satoshi", sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #0C0A08 !important;
    border-radius: 8px !important;
    border: 1px solid #EEEDEC !important;
}
.rp-modal-error {
    display: none;
    padding: 20px 40px 0;
    color: #e05200;
}
.rp-modal-input-error {
    border: 1px solid #e05200 !important;
}
.rp-modal-start-day {
    background: #FAFAFA url("/img/rp-info-3.svg") no-repeat 15px 50% !important;
}
.rp-modal-start-time {
    background: #FAFAFA url("/img/timer-black.svg") no-repeat 15px 50% !important;
}
input.rp-modal-start-time[type="time"]::-webkit-calendar-picker-indicator {
    display: none;
    background: none;
}
.rp-modal-address {
    background: #FAFAFA url("/img/location-black.svg") no-repeat 15px 50% !important;
}
.rp-modal-pause {
    background: #FAFAFA url("/img/timer-black.svg") no-repeat 15px 50% !important;
}
.rp-modal-food {
    background: #FAFAFA url("/img/thumb-up-black.svg") no-repeat 15px 50% !important;
}
.rp-modal-name {
    background: #FAFAFA url("/img/nr-name.svg") no-repeat 15px 50% !important;
}
.rp-modal-address-suggest .rp-section-f4 {
    color: #55514E;
}
.rp-address-no-results {
    padding: 20px;
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    font-size: 16px;
}
.rp-modal-address-suggest ul {
    margin: 0;
    padding: 10px 0;
    list-style: none;
}
.rp-modal-address-suggest ul li h3 {
    margin: 0;
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: #0C0A08;
}
/*.rp-modal-address-suggest ul li:hover, .rp-modal-address-suggest-selected {*/
.rp-modal-address-suggest-selected {
    background: #efefef;
}
.rp-modal-address-suggest ul li:last-child {
    border-bottom: none;
}
.rp-modal-address-suggest ul li {
    padding: 5px 20px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    /*border-radius: 4px;*/
    border-bottom: 1px solid #EEEDEC;
}
.rp-modal-address-suggest {
    position: absolute;
    z-index: 9;
    width: 100%;
    box-shadow: 0px 0px 20px 0px rgba(11, 10, 10, 0.15);
    margin-top: 4px;
    background: white;
    border-radius: 4px;
    display: none;
}
.rp-modal-start-time:focus, .rp-modal-address:focus, .rp-modal-pause:focus, .rp-modal-food:focus, .rp-modal-name:focus, .rp-modal-start-day:focus {
    border: 1px solid #EEEDEC !important;
}
.rp-modal-start-time:focus ~ label {
    opacity: 1 !important;
    transform: scale(0.85) translateY(-1.3rem) translateX(0) !important;
}
.rp-modal-start-time:not(:placeholder-shown) ~ label {
    opacity: 1 !important;
    transform: scale(0.85) translateY(-1.3rem) translateX(0) !important;
}
.rp-modal-input-box label {
    padding: 0 !important;
    left: 45px !important;
    top: 14px !important;
}
.rp-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
.rp-right-time-bar {
    position: absolute;
    z-index: 100;
    border-radius: 8px;
    padding: 6px 12px 12px 12px;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px 0px rgba(11, 10, 10, 0.15);
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rp-right-time-bar-info {
    display: flex;
    justify-content: space-between;
}
.rp-right-time-bar-visual {
    height: 8px;
    border-radius: 4px;
    background: #DBD9D7;
}
.rp-right-time-bar-visual-fill {
    width: 0;
    background: #1EA112;
    height: 100%;
    /*border-top-left-radius: 4px;*/
    /*border-bottom-left-radius: 4px;*/
    border-radius: 4px;
}
.rp-map {
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
}
.rp-waypoint-marker {
    border: none;
    cursor: pointer;
    background: url(/img/mapbox-marker.svg) top no-repeat;
    background-size: 100% auto;
    width: 37.5px !important;
    height: 60px !important;
    z-index: 1;
    margin-left: 0;
    margin-top: -16px;
    color: white;
    font-size: 20px;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    font-weight: 700;
    font-family: "Satoshi", sans-serif;
}
.rp-map-zoom-in {
    display: none;
    position: absolute;
    z-index: 9;
    right: 20px;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
}
.rp-map-zoom-out img {
    filter: invert(87%) sepia(100%) saturate(0%) hue-rotate(248deg) brightness(112%) contrast(101%);
}
.rp-map-zoom-out {
    display: none;
    position: absolute;
    background-color: #0C0A08;
    border-radius: 8px;
    padding: 6px 12px;
    color: white;
    z-index: 9;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
}
.rp-map-zoom-out-show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.rp-map-add-zoom {
    height: calc(100svh - 48px - 56px - 76px) !important;
}
.rp-modal-flex {
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.rp-route-upload-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #F5F4F4;
    cursor: pointer;
    border: 1px solid #8A8480;
    padding: 24px 32px;
    flex-direction: column;
    gap: 10px;
}
.rp-process-import img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7480%) hue-rotate(182deg) brightness(105%) contrast(108%);
}
#routeExcelUpload {
    display: none;
}
.rp-route-upload-ap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.rp-drop-is-dragover {
    /*background-color: #d9d9d9 !important;*/
    border: 1px dashed #8A8480;
}

@keyframes rp-blink {
    /*0%, 100% { box-shadow: 0 0 10px #e05200, 0 0 20px #e05200; }*/
    /*50% { box-shadow: 0 0 5px #e05200, 0 0 10px #e05200; }*/

    /*0% { box-shadow: 0 0 5px rgba(224, 82, 0, 0.5); }*/
    /*50% { box-shadow: 0 0 20px #e05200; }*/
    /*100% { box-shadow: 0 0 5px rgba(224, 82, 0, 0.5); }*/

    0% {
        /*transform: translateX(-5px);*/
        transform: scale(1.05);
        /*box-shadow: 0 0 20px #e05200;*/
    }
    /*25% {*/
    /*    box-shadow: 0 0 5px rgba(224, 82, 0, 0.5);*/
    /*}*/
    50% {
        /*transform: translateX(5px);*/
        transform: scale(1);
        /*box-shadow: 0 0 20px #e05200;*/
    }
    /*75% {*/
    /*    box-shadow: 0 0 5px rgba(224, 82, 0, 0.5);*/
    /*}*/
    100% {
        /*transform: translateX(-5px);*/
        transform: scale(1.05);
        /*box-shadow: 0 0 20px #e05200;*/
    }
}

.rp-save-blink:hover {
    animation-play-state: paused;
}
.rp-save-blink {
    animation: rp-blink 1s infinite;
    animation-play-state: running;
}

.rp_push_class {
    display: none;
}
.scroll-lock-html {
    overflow: hidden;
}
.scroll-lock-body {
    overflow: hidden;
    position: relative;
}

@media screen and (max-width: 991px) {
    .rp-main {
        margin-top: 48px;
        display: flex;
        flex-direction: column-reverse;
    }
    .rp-left {
        width: 100%;
        height: auto;
        /*margin-top: 328px;*/
    }
    .rp-right {
        position: sticky;
        top: 0;
        width: 100%;
    }
    .rp-map {
        height: 272px;
        position: relative;
    }
    .rp-right-time-bar {
        position: initial;
    }
    .rp-bottom-bar {
        position: sticky;
        padding: 0 20px;
    }
    .rp-bottom-inner {
        margin-left: unset;
        flex-shrink: 0;
        width: 100%;
    }
    .rp-left-info-list {
        scrollbar-width: none;
        overflow-x: scroll;
    }
    .rp-left-info-content {
        min-width: 130px;
    }
    .rp-left-config {
        padding: 0 20px;
    }
    .rp-left-head {
        padding: 8px 20px;
    }
    .rp-left-head-action-active {
        bottom: -9px;
        height: 2px;
    }
    .rp-left-points {
        margin: 0 20px 0 20px;
    }
    .rp-bottom-save {
        width: 100%;
    }
    .rp-import-word {
        display: none;
    }
    .rp-import {
        padding: 6px !important;
        justify-content: center;
        align-items: center;
    }
    .rp-import img {
        width: 21px;
    }
    .rp-modal-grid {
        grid-template-columns: 1fr;
    }
    .rp-modal-body {
        padding: 40px 20px;
    }
    .rp-modal-head {
        padding: 12px 8px 12px 20px;
    }
    .rp-points-right-time span {
        white-space: nowrap;
    }
    .rp-points-address span {
        white-space: nowrap;
    }
    .rp-points-address {
        overflow: hidden;
    }
    .rp-points-index {
        flex-shrink: 0;
    }
    .rp-modal-content {
        border-radius: 0;
    }
    .rp-map-zoom-in {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }
    #rpInfoModal .rp-modal-content {
        margin-top: 0;
    }
    .rp-route-upload-box {
        padding: 35px 32px;
    }
}
@media screen and (max-width: 400px) {
    .rp-left-head-action span {
        font-size: 12px;
        white-space: nowrap;
    }
    .rp-export-word {
        display: none;
    }
}
