html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.custom-main-container {
    padding: 0;
}

#map {
    position: fixed;
    border: 1px solid #dfdfdf;
    width: 100%;
    height: calc(100vh);
}

.maplibregl-ctrl.maplibregl-ctrl-group.mapboxgl-ctrl.mapboxgl-ctrl-group {
    display: none !important;
}

.maplibregl-ctrl.maplibregl-ctrl-group {
    display: none !important;
}

.maplibregl-ctrl.maplibregl-ctrl-attrib {
    display: none !important;
}

.instruction-maneuver-li {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                     supported by Chrome, Edge, Opera and Firefox */
}

/* progress bar CSS */

.progress_container {
    padding: 0;
    margin: 15px;
    position: fixed;
    left: 0;
    right: 55px;
}

.progress-bar {
    background-color: #fffffff2;
    border: 3px #fffffff2 solid;
    border-radius: 12px;
    position: relative;
    margin: 4px 0;
    height: 100%; /*30px*/
    width: 100%;
}

.progress-bar .completed-bar {
    /*background: linear-gradient(to top, #6b6b6b, #939393);*/
    background: linear-gradient(to top, #ececec, #e3e3e3);
    border-radius: 8px;
    color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 7%;
    opacity: 1;
    transition: width 2s ease 0.4s;
    padding: 0 8px;
    z-index: 2;
}

.progress-bar .completed-bar-dashed {
    width: 96%;
    opacity: .65;
    border: 2px dashed #000000;
}

.progress-bar .completed-bar-truck {
    height: 1.5rem;
    opacity: .65;
    margin-left: 4px;
}

.progress-bar .progress-information {
    justify-content: space-between;
    padding: 0 4px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    position: absolute;
    right: 1%;
}

.progress-bar .progress-information .progress-information-text {
    padding-right: 8px;
    display: inline-block;
    width: auto;
    max-width: 50vw;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.progress-bar .progress-information .progress-information-icon {
    height: 24px;
}

@media only screen and (max-width: 576px) {
    .progress-bar .completed-bar-dashed {
        width: 96%;
        opacity: .65;
        border: 1px dashed #000000; /*1a1a1a*/
    }

    .progress-bar .completed-bar-truck {
        height: 1rem;
        opacity: .65;
        margin-left: 0;
    }
}

/* install pwa */

#install_panel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(0deg, #7c7c7c, #898989);
}

.color-animation {
    /*background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);*/
    background: linear-gradient(-45deg, #eed952, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    /*animation: gradient 15s ease infinite;*/
    animation: gradient 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes gradient {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

#install_panel .app-icon {
    margin: 10px 15px;
    border: 1px solid #fff;
    border-radius: 9px;
    width: 63px;
}

#install_panel .app-span {
    color: white;
    margin: 7px 11px;
    text-shadow: 1px 0 rgba(0, 0, 0, 0.37),
    -1px 0 rgba(0, 0, 0, 0.37),
    0 1px rgba(0, 0, 0, 0.37),
    0 -1px rgba(0, 0, 0, 0.37),
    1px 1px rgba(0, 0, 0, 0.37),
    -1px -1px rgba(0, 0, 0, 0.37),
    1px -1px rgba(0, 0, 0, 0.37),
    -1px 1px rgba(0, 0, 0, 0.37);
}

.install-btn {
    padding: 1px 10px;
    margin: 7px 11px;
    background: #e5e5e5;
    border-color: #0000005E;
    color: #393939;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
}

.install-icon {
    width: 16px;
    margin-right: 7px;
}

.ios-instruction-panel-container {
    background: #ffffff;
    border: 1px solid #d7d7d7;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    width: calc(100% - 20px);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9;
    padding: 0;
}

.ios-instruction-panel {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    padding: 8px 16px;
}

.ios-instruction-panel-close-btn {
    position: absolute;
    top: 1px;
    right: 1px;
}

/* FIX FOR autocomplete 2.0.2 */

.auto-is-loading:after {
    top: 0;
    bottom: 0;
}

.auto-clear {
    top: 0;
    bottom: 0;
}

.control-container-color-animation {
    border: 1px solid rgba(255, 121, 42, 0.85) !important;
    animation: colorChange 2s infinite alternate;
}

@keyframes colorChange {
    0% {
        background-color: #ffffffa6;
    }
    100% {
        background-color: rgba(253, 202, 173, 0.85);
    }
}

#routeRadioBtnGroup .btn-check:checked+.btn,
#routeRadioBtnGroup .btn.active,
#routeRadioBtnGroup .btn.show,
#routeRadioBtnGroup .btn:first-child:active,
#routeRadioBtnGroup .btn-check+.btn:active {
    color: #ffffff;
    background-color: #5192d7;
    border-color: #5192d7;
}

#routeRadioBtnGroup .btn-outline-primary {
    --bs-btn-color: #5192d7;
    --bs-btn-border-color: #5192d7;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5192d7;
    --bs-btn-hover-border-color: #5192d7;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #5192d7;
    --bs-btn-active-border-color: #5192d7;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #5192d7;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #5192d7;
    --bs-gradient: none;
}