.route-bg {

    font-size: 18px;
    margin-bottom: unset;
    border-bottom-right-radius: unset;
    border-bottom-left-radius: unset;
    box-shadow: none
}

.route-bg:hover {

    cursor: pointer;
}

.destinations-card {

    box-shadow: 0 1px 1px rgba(0,0,0,.2);
    border: 1px solid rgba(0,0,0,.125);
    border-top-style: none;
}

.show-hide-dest-btn {

    text-align: center;
    display: block;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

*::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

*::-webkit-scrollbar
{
    height: 8px;
    width: 8px;
    background-color: #F5F5F5;
}

*::-webkit-scrollbar-thumb
{
    background-color: #555;
}

body {
    overflow-y: scroll; /* Add the ability to scroll */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.badge-purple {
    background-color: #6f42c1;
    color: #ffffff;
}

.badge-dark {
    color: #ffffff;
    background-color: #343a40;
}

.badge-lime {
    color: #1F2D3D;
    background-color: #01ff70;
}

.badge-orange {
    color: #1F2D3D;
    background-color: #fd7e14;
}

.badge-fuchsia {
    color: #ffffff;
    background-color: #f012be;
}

.badge-brown {
    color: #ffffff;
    background-color: #8f4714;
}

.badge-lightblue {
    color: #ffffff;
    background-color: #3c8dbc;
}

.badge-olive {
    color: #ffffff;
    background-color: #3d9970;
}

.badge-pink {
    color: #ffffff;
    background-color: #e83e8c;
}

.badge-gray {
    color: #ffffff;
    background-color: #6c757d;
}

.badge-indigo {
    color: #ffffff;
    background-color: #6610f2;
}

.badge-blue {
    color: #ffffff;
    background-color: #1742af;
}

.badge-lemon {
    color: #1F2D3D;
    background-color: #efe514;
}

.badge-blood {
    color: #ffffff;
    background-color: #fc0000;
}

.badge-haki {
    color: #ffffff;
    background-color: #8f6f0e;
}

.badge-darkgreen {
    color: #ffffff;
    background-color: #004811;
}

.badge-maroon {
    color: #ffffff;
    background-color: #d81b60;
}

.badge-lilac {
    color: #ffffff;
    background-color: #a91bd8;
}

.badge-powder {
    color: #1F2D3D;
    background-color: #eea26b;
}

.badge-darkbrown {
    color: #ffffff;
    background-color: #4d3f2f;
}

.badge-toxic {
    color: #1F2D3D;
    background-color: #ccff00;
}

.badge-mastik {
    color: #ffffff;
    background-color: #ff00f2;
}

.badge-ocean {
    color: #1F2D3D;
    background-color: #00d9ff;
}

.badge-lightnavy {
    color: #ffffff;
    background-color: #171775;
}

.badge-sahara {
    color: #ffffff;
    background-color: #ff3800;
}

.badge-bordeaux {
    color: #ffffff;
    background-color: #690303;
}

.badge-selected {

    color: #ffffff !important;
    background-color: #007bff !important;
    font-size: larger !important;
}

#drop-area {
    border: 2px dashed #ccc;
    border-radius: 0.25rem;
    padding: 20px;
    text-align: center;
    background-color: white;
}

#drop-area.highlight {
    border-color: purple;
    background-color: aliceblue;
}

p {
    margin-top: 0;
}

.drop-box {
    background-color: aliceblue;
    padding: 10px;
}

#drop-box.highlight {
    background-color: white;
}

#upload-csv {
    display: none;
}

#upload-file {
    display: none;
}

#clickInputFile {
    color: #2ba6cb;
    text-decoration: underline;
    font-weight: bold;
}
#clickInputFile:hover {
    color: #016bc6;
    cursor: pointer;
}

.lockscreen-item:hover .lockscreen-image {
    background: #519bea;
}

.lockscreen-item:hover .fas {
    color: #519bea;
}

.select2-results__option[aria-selected=true] {
    display: none;
}

.timeline-hr-container {

    display: inline-flex;
    width: max-content;
    height: 4px;
    margin: 20px 10px 40px;
    background: #dee2e6;
}

.timeline-hr {
    display: inline-flex;
    width: fit-content;
    min-width: 30px;
    list-style: none;
    text-align: justify;
    padding-inline-start: 0;
}

.timeline-hr li {
    padding-inline-start: 25px;
    cursor: pointer;
    margin-top: -41px;
    padding-top: 30px;
    height: fit-content;
    position: relative;
}

.time-tag-timeline {
    font-size: unset;
    display: block;
    margin-left: -12px;
    margin-top: 7px
}

.tag-tooltip {
    position: absolute;
}

.order-count-tag {
    display: inline-block;
    position: absolute;
    top: 22px;
}

.driver option{
    color: black;
    background: white;
}

.hmt-close-card-btn {

    position: absolute;
    right: -15px;
    top: -10px;
    background: black;
    border-radius: 50%;
}

.hmt-search-result {

    min-width: 40%;
    margin-top: 3px;
    display: block;
    max-width: 100%;
    position: absolute;
    background: #fff;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    box-shadow: inset 0 0 0 transparent;
    z-index: 1000;
}

.tasks-timeline {
    margin: 0 0 45px;
    padding: 0;
    position: relative;
}

.tasks-timeline::before {
    border-radius: 0.25rem;
    background: #dee2e6;
    bottom: 0;
    content: '';
    left: 31px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 4px;
}

.tasks-timeline > div {
    margin-bottom: 15px;
    margin-right: 10px;
    position: relative;
}

.tasks-timeline > div::before, .tasks-timeline > div::after {
    content: "";
    display: table;
}

.tasks-timeline > div > .timeline-item {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    background: #ffffff;
    color: #495057;
    margin-left: 60px;
    margin-right: 15px;
    margin-top: 0;
    padding: 0;
    position: relative;
}

.tasks-timeline > div > .timeline-item > .time {
    color: #999;
    float: right;
    font-size: 12px;
    padding: 10px;
}

.tasks-timeline > div > .timeline-item > .timeline-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    color: #495057;
    font-size: 16px;
    line-height: 1.1;
    margin: 0;
    padding: 10px;
}

.tasks-timeline > div > .timeline-item > .timeline-header > a {
    font-weight: 600;
}

.tasks-timeline > div > .timeline-item > .timeline-body,
.tasks-timeline > div > .timeline-item > .timeline-footer {
    padding: 10px;
}

.tasks-timeline > div > .timeline-item > .timeline-body > img {
    margin: 10px;
}

.tasks-timeline > div > .timeline-item > .timeline-body > dl, .tasks-timeline > div > .timeline-item > .timeline-body ol, .tasks-timeline > div > .timeline-item > .timeline-body ul {
    margin: 0;
}

.tasks-timeline > div > .timeline-item > .timeline-footer > a {
    color: #ffffff;
}

.tasks-timeline > div > .fa,
.tasks-timeline > div > .fas,
.tasks-timeline > div > .far,
.tasks-timeline > div > .fab,
.tasks-timeline > div > .glyphicon,
.tasks-timeline > div > .ion {
    background: #adb5bd;
    border-radius: 50%;
    font-size: 15px;
    height: 30px;
    left: 18px;
    line-height: 30px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 30px;
}

.tasks-timeline > .time-label > span {
    border-radius: 4px;
    background-color: #ffffff;
    display: inline-block;
    font-weight: 600;
    padding: 5px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.drop-overlay {
    position: unset;
    top: 0; bottom: 0; right: 0; left: 0;
    opacity: 0;
    background: white;
    color: black;
    transition: 0.4s ease-out;
}

.drop-overlay p {
    margin: 0;
    font-size: 32px;
    text-align: center;
    position: absolute;
    top: 50%; left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.drop-task:hover .drop-overlay {
    position: absolute;
    opacity: 0.6;
}

li .waypoint-marker:not(:nth-last-child(2)):after {
    position: absolute;
    content: '';
    right: -125%;
    top: 0;
    width: 100%;
    height: 65%;
    border-bottom: 3px solid gray;
}

.shake-remainder {
    animation: tilt-shaking 5s infinite;
}

@keyframes tilt-shaking {
    0% { transform: rotate(0deg); }
    90% { transform: rotate(0deg); }
    91% { transform: rotate(5deg); }
    92% { transform: rotate(0deg); }
    93% { transform: rotate(-5deg); }
    94% { transform: rotate(0deg); }
    95% { transform: rotate(5deg); }
    96% { transform: rotate(0deg); }
    97% { transform: rotate(-5deg); }
    98% { transform: rotate(0deg); }
    99% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

body.dark-mode .content-wrapper,
body.dark-mode .main-footer,
body.dark-mode .modal-content {

    background: #343a40;
    color: #c2c7d0;
}

.dropdown-item {

    color: #212529 !important;
}

body.dark-mode .card,
body.dark-mode .dropdown-menu,
body.dark-mode .dropdown-item,
body.dark-mode .input-group-text:not(#collectMandatory),
body.dark-mode .select2-dropdown,
body.dark-mode .select2-selection,
body.dark-mode .select2-selection__rendered,
body.dark-mode input,
body.dark-mode select:not(.hmtSelectCustomColor),
body.dark-mode textarea {

    background-color: #2c2e33 !important;
    color: #c2c7d0 !important;
}

body .btn-group div.btn-block,
body .btnLikeCardInDark {

    border: 1px solid #dee2e6;
    background-color: #fff;
}

body.dark-mode .btn-group div.btn-block,
body.dark-mode .btnLikeCardInDark {

    border: 0;
    background-color: #2c2e33;
    color: #c2c7d0 !important;
}

body.dark-mode input:focus,
body.dark-mode textarea:focus {

    background-color: #2c2e33 !important;
    color: #80bdff !important;
}

body.dark-mode .page-link,
body.dark-mode .page-item.disabled > span {

    background-color: #343a40;
}

body.dark-mode tbody tr:hover {

    color: #80bdff !important;
}
