@font-face {
    font-family: Vazir;
    src: url('../fonts/vazir/Vazir.eot');
    src: url('../fonts/vazir/Vazir.eot?#iefix') format('embedded-opentype'), url('../fonts/vazir/Vazir.woff') format('woff'), url('../fonts/vazir/Vazir.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/vazir/Vazir-Bold.eot');
    src: url('../fonts/vazir/Vazir-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/vazir/Vazir-Bold.woff') format('woff'), url('../fonts/vazir/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: FDVazir;
    src: url('../fonts/vazir/Vazir-FD-WOL.eot');
    src: url('../fonts/vazir/Vazir-FD-WOL.eot?#iefix') format('embedded-opentype'), url('../fonts/vazir/Vazir-FD-WOL.woff') format('woff'), url('../fonts/vazir/Vazir-FD-WOL.ttf') format('truetype');
    font-weight: bold;
}

/* @font-face {
    font-family: Vazir;
    src: url('../fonts/vazir/Vazir-Light.eot');
    src: url('../fonts/vazir/Vazir-Light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/vazir/Vazir-Light.woff') format('woff'),
         url('../fonts/vazir/Vazir-Light.ttf') format('truetype');
    font-weight: 50;
} */

html {
    position: relative;
    width: 100%;
    height: 100%;
}

body {
    font-family: Vazir;
    height: 100%;
    min-height: 100%;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-size: 14px;
    overflow: hidden;
}

a:active, a:focus, a:focus-visible {
    /* outline: 2px dotted #000A; */
    /* background-color: red; */
}


.drawer-menu {
    transition: all 0.2s ease-in-out;
}

.menu_active {
    transform: scale(1.25);
}

/****************************/

.verticle-center {
    display: flex;
    align-items: center;
    flex-flow: row;
}

.no-border {
    border: 0 !important;
}

.input-field.required label::before,
.input-field-chekbox.required label::before {
    content: '*';
    display: inline-block;
    color: #CF0000;
    padding: 0 3px;
    line-height: 32px;
    vertical-align: top;
}

input:invalid {
    border-color: #CF0000 !important;
    box-shadow: 0 1px 0 0 #CF0000 !important;
}


.input-field .action-btn{
     position: absolute;
    top: 0;
    right: 0px;
    bottom: 0;
    height: 3rem;
    margin: 0 0 20px 0;
    font-size: 2.2rem;
    line-height: 3rem;
    color: inherit;
    transition: 0.3s color;
    cursor: pointer;
    z-index: 10;
}

.input-field .info-btn,
.input-field-chekbox .info-btn {
    position: absolute;
    top: 0;
    left: 30px;
    bottom: 0;
    height: 3rem;
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    line-height: 3rem;
    color: #0000DD00;
    transition: 0.3s color;
    cursor: pointer;
    z-index: 10;
}
.input-field-chekbox .info-btn {
    line-height: 2rem;
    right: -15px;
    left: auto;
    top: -5px;
}

.input-field :focus ~ .info-btn,
.input-field :hover ~ .info-btn,
.input-field-chekbox :focus ~ .info-btn ,
.input-field-chekbox :hover ~ .info-btn {
    color: #0000DD55;
}

.info-btn:hover {
    color: #0000DDFF;
}

.eye-show-password ~ .info-btn {
    left: 60px;
}

.count-data {
    overflow: visible;
}
.count-data::before {
    display: block;
    content: attr(data-count);
    float: right;
    font-size: 12px;
    font-weight: bold;
    background: orange;
    line-height: 10px;
    margin: 1px -2px -21px 0;
    padding: 4px 5px;
    position: relative;
    border-radius: 10px;
    color: white;
    z-index: 2;
}

.secondary-text {
    color: gray;
    font-size: 0.8em;
    line-height: 1em;
    padding: 0 0.2em;
}

.sample-color {
    display: block;
    margin: -14px -16px;
    padding: 14px 16px;
    text-align: center;
    direction: ltr;
}

li.active .sample-color {
    margin: -4px -6px;
    padding: 4px 6px;
}

.force-ltr {
    direction: ltr;
}

hr.separator {
    border-color: #CCCCCC;
    border-width: 0 0 1px 0;
}

.clear-after::after {
    content: ' ';
    display: block;
    clear: both;
}

/******** plate-field *******/
.plate-field {
    margin-bottom: 20px;
}

.plate-wrapper {
    position: relative;
    background: black url("../images/plate-left.svg") left center no-repeat;
    background-size: contain;
    padding: 21% 0 0 0;
    height: 0;
    margin-top: 10px;
    border-radius: 5px;
    border: 2px solid black;
}

.bike-plate .plate-wrapper {
    background: black url("../images/plate-bike.svg") left top no-repeat;
    background-size: 20%;
    padding: 60% 0 0 0;
}

.plate-wrapper .plate-part {
    position: absolute;
    top: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    font-size: 2rem;
    text-align: center;
    background-color: white;
}

.plate-wrapper .part-city {
    width: calc(23% - 2px);
    right: 0;
    border-radius: 3px;
    padding: 5% 0 0;
    background: white url(../images/plate-iran.svg) center 10%/75% no-repeat;
}
.plate-wrapper .plate-part.part-city input {
    top: 25% !important;
    height: 75% !important;
}
.plate-wrapper .part-long {
    width: 32%;
    right: 23%;
    border-radius: 0 3px 3px 0;
}
.plate-wrapper .part-letter {
    width: 17%;
    right: 55%;
    border-radius: 0;
}
.plate-wrapper .part-small {
    width: 18%;
    right: 72%;
    border-radius: 0;
}

.bike-plate .plate-wrapper .part-city {
    display: none;
}
.bike-plate .plate-wrapper .part-long {
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0 0 3px 3px;
}
.bike-plate .plate-wrapper .part-letter {
    display: none;
}
.bike-plate .plate-wrapper .part-small {
    top: 0;
    right: 0;
    width: 80%;
    bottom: 50%;
    border-radius: 0 3px 0 0;
}

.plate-wrapper .plate-part input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    text-align: center;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    font-size: 2rem !important;
    border: none !important;
    font-family: FDVazir;
}

.plate-wrapper .error-content {
    top: 100%;
    font-size: 0.7rem;
    position: absolute;
    text-align: right;
}

.plate-wrapper .plate-part .select-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.plate-wrapper .plate-part .select-wrapper .caret {
    margin-bottom: 0px;
}

.plate-wrapper .plate-part .select-wrapper input {
    /* font-family: "Material Icons", "FDVazir"; */
    height: 95% !important;
}
/******** layout-box ********/

.layout-box {
    position: absolute !important;
    left: 0;
    right: 0;
    min-height: 3px;
    /* overflow: auto; */
    padding: 0 !important;
    z-index: 200;
}

.layout-box:first-child {
    top: 0;
}

.layout-box:last-child {
    bottom: 0;
}

.layout-handle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    cursor: ns-resize;
    background-color: #1A181C;
}

.layout-dragging {
    cursor: ns-resize;
}

.layout-dragging .layout-handle:hover {
    background-color: #F0F0F0;
}

.layout-dragging .layout-handle.active {
    background-color: #AAA;
}

.layout-handle:hover,
.layout-handle.active {
    background-color: #AAA;
}

#locations-box {
    display: block;
    transition: inherit;
    z-index: 2 !important;
}

#locations-box #unassigned-stops {
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    top: 3px;
    left: 95px;
    right: 0;
    bottom: 0;
}


/****************************/


/******** side-drawer *******/
#warning_edit_update {
    position: absolute;
    z-index: 1990;
    right: 330px;
    padding: 15px 20px 15px 15px;
    margin: 5px 0 0;
    background: #f60;
    border-radius: 35px;
    display: flex;
    gap: 15px;
    color: white;
    align-items: center;
    cursor: pointer;
}

#warning_edit_update h6 {
    font-weight: bold;
}

.side-drawer {
    position: fixed;
    max-width: 90%;
    width: 400px;
    bottom: -15px;
    right: -405px;
    top: -15px;
    margin: 0;
    padding: 0 0 60px;
    z-index: 1950;
    overflow-y: auto;
    will-change: right;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: right 0.2s cubic-bezier(.95, .05, .8, .04);
    /* cubic-ease-in */
}

.sub-drawer {
    position: fixed;
    max-width: 90%;
    width: 350px;
    bottom: -15px;
    right: -305px;
    top: -15px;
    margin: 0;
    z-index: 1900;
    overflow: hidden;
    will-change: right;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: right 0.4s cubic-bezier(.95, .05, .8, .04);
    /* cubic-ease-in */
}

.sub-drawer-wrapper {
    top: 15px;
    left: 0;
    right: 0;
    bottom: 15px;
    position: absolute;
    /* padding: 15px 15px; */
}

.sub-drawer-content {
    position: absolute;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 15px;
}

.side-drawer-close {
    display: inline-block;
    text-align: left;
    font-size: 0;
    position: absolute;
    right: -55px;
    z-index: 500;
    width: 40px;
    top: 15px;
    will-change: right;
    background-color: #CCC;
    color: white;
    cursor: pointer;
    transition: all 0.5s;
    /* cubic-ease-in */
}

.sub-drawer-close {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 135px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0009;
    text-align: right;
    color: white;
    padding: 10px;
    z-index: 2;
}

.sub-drawer-content hr {
    margin: 20px -15px 19px;
    border-color: #0002;
    border-style: solid;
    border-top-width: 0;
}

.open .side-drawer {
    right: 0;
}

.open .sub-drawer {
    right: 35px;
}

.open .side-drawer-close {
    right: 385px;
}

.open-sub .sub-drawer {
    right: 400px;
}

.sub-drawer .progress {
    margin: 0;
    height: 10px;
    border-radius: 0 0 2px 2px;
}

.progress .determinate {
    transition: width 1s linear !important;
}

.progress-description {
    font-size: 0.8em;
    font-weight: bold;
    margin-top: 1.4em;
}

#route-progress {
    margin: 0;
    overflow: visible;
    transition: 0.3s;
    background-color: #BF0000;
    box-shadow: 0px 0px 4px #6F0000;
    z-index: 10;
    width: 0%;
}

#route-progress::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 40px;
    box-shadow: -1px 0px 3px #BF0000;
    z-index: 100;
}

#route-progress::before {
    content: ' ';
    position: absolute;
    left: 40px;
    top: 1px;
    height: 2px;
    width: 20px;
    box-shadow: -1px 0px 3px #BF0000;
    z-index: 100;
}

.open-sub .side-drawer-close {
    background-color: grey !important;
    transition-delay: 0.5s;
    right: 735px;
}

.drawer-title {
    height: 135px;
    width: 100%;
    padding: 80px 20px 10px;
    position: relative;
    z-index: 5;
}

.modal-search,
.drawer-search {
    position: relative;
    background-color: #00000099;
}

.modal-search.hide+.search-result-box,
.drawer-search.hide+.drawer-body {
    top: 135px;
}

.modal-search .input-field,
.drawer-search .input-field {
    margin-top: 0;
}

#drawer-search, #modal-search {
    margin-bottom: 0;
    height: 30px;
    line-height: 20px;
    font-size: 0.9rem;
    color: white;
    border: none !important;
    box-shadow: none !important;
}

.modal-search .material-icons.prefix,
.drawer-search .material-icons.prefix {
    line-height: 2rem;
    color: white;
}

.drawer-body {
    position: absolute;
    z-index: 1;
    top: 165px;
    left: 0;
    right: 0;
    bottom: 15px;
    overflow-y: auto;
    margin-bottom: 0;
}

/* .multiaction-wrapper .drawer-body {
    top: 240px;
} */

#drawer-mass-actions {
    transition: 0.3s;
    overflow: hidden;
    position: absolute;
    z-index: 10;
    height: 45px;
    padding: 2px;
    background: #444444;
    margin: -8px 0 0 0;
    border-radius: 0 25px 25px 0;
    box-shadow: 0px 2px 3px #0009;
    left: -100%;
}

#drawer-mass-actions.active {
    left: 0;
}

/****************************/


/******* menu-wrapper *******/

.menu-wrapper {
    position: absolute;
    z-index: 1990;
    right: 0;
    top: 0;
    margin: 5px 0 0;
    padding: 15px 20px 15px 0;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(3px);
    border-radius: 35px 0 0 35px;
    /* box-shadow: -1px 1px 15px #00000060; */
}

.menu-wrapper.panel-menu {
    padding: 15px 30px 15px 0;
    background: #33008255;
}
.menu-wrapper.panel-menu::before {
    content: ' ';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 18px;
    background: linear-gradient(90deg, rgba(51,0,130,0) 0%, rgb(51, 0, 130) 20%, rgb(51, 0, 130) 100%);
}

.open .menu-wrapper, 
.open .menu-wrapper.panel-menu::before {
    background: none;
    box-shadow: none;
    backdrop-filter: blur(0px);
}

.menu-wrapper .btn-floating {
    margin-left: 15px;
}

#menu-about.grey i {
    filter: blur(1.6px);
}

#menu-account i {
    color: transparent;
    text-shadow: 0 0 0 #616161;
    transition: 0.3s;
}

#menu-account.grey {
    background-color: #FFFA !important;
}

#menu-account.grey i {
    text-shadow: 0 0 3px #616161;
}

#menu-branchs i {
    color: transparent;
    text-shadow: 0 0 0 #2196F3;
    transition: 0.3s;
}

#menu-branchs.grey {
    background-color: #FFFA !important;
}

#menu-branchs.grey i {
    text-shadow: 0 0 3px #2196F3;
}

#menu-users i {
    color: transparent;
    text-shadow: 0 0 0 #F50057;
    transition: 0.3s;
}

#menu-users.grey {
    background-color: #FFFA !important;
}

#menu-users.grey i {
    text-shadow: 0 0 3px #F50057;
}

#menu-unavailable-reasons i {
    color: transparent;
    text-shadow: 0 0 0 #f46214;
    transition: 0.3s;
}

#menu-unavailable-reasons.grey {
    background-color: #FFFA !important;
}

#menu-unavailable-reasons.grey i {
    text-shadow: 0 0 3px #f46214;
}

#menu-vehicles i {
    color: transparent;
    text-shadow: 0 0 0 #B71C1C;
    transition: 0.3s;
}

#menu-vehicles.grey {
    background-color: #FFFA !important;
}

#menu-vehicles.grey i {
    text-shadow: 0 0 3px #B71C1C;
}


#menu-distributors i {
    
    color: royalblue;
    /* text-shadow: 0 0 0 #B71C1C; */
    transition: 0.3s;
}

#menu-distributors.grey {
    background-color: #FFFA !important;
}

#menu-distributors.grey i {
    text-shadow: 0 0 3px #B71C1C;
}

#menu-locations i {
    color: transparent;
    text-shadow: 0 0 0 #2E7D32;
    transition: 0.3s;
}

#menu-locations.grey {
    background-color: #FFFA !important;
}

#menu-locations.grey i {
    text-shadow: 0 0 3px #2E7D32;
}

#menu-settings i {
    color: transparent;
    text-shadow: 0 0 0 #3f51b5;
    transition: 0.3s;
}

#menu-settings.grey {
    background-color: #FFFA !important;
}

#menu-settings.grey i {
    text-shadow: 0 0 3px #3f51b5;
}

#menu-facilities i {
    color: transparent;
    text-shadow: 0 0 0 #3f51b5;
    transition: 0.3s;
}

#menu-facilities.grey {
    background-color: #FFFA !important;
}

#menu-facilities.grey i {
    text-shadow: 0 0 3px #3f51b5;
}

.drawer-list-wrapper .drawer-list-item {
    cursor: pointer;
}

.card-left-actions {
    white-space: nowrap;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.drawer-list-wrapper .drawer-list-item .card-content {
    display: flex;
    justify-content: space-between;
}

.drawer-list-wrapper .link-edit-vehicle {
    border-left-style: solid;
    border-left-color: grey;
    border-left-width: 8px;
}
.drawer-list-wrapper .link-edit-distributor {
    border-left-style: solid;
    border-left-color: grey;
    border-left-width: 8px;
}

.drawer-list-wrapper .card.drawer-list-item.active {
    background-color: #0001;
    box-shadow: none;
}

.drawer-item-details {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    flex-grow: 1;
}

.drawer-item-details .badge {
    font-size: 0.8rem;
    border-radius: 2px;
    font-weight: 700;
}

.drawer-item-details .badge.right {
    line-height: 20px;
    height: 20px;
    padding: 0 5px;
    min-width: auto;
    margin-left: 6px;
}

.badge.left {
    margin-left: 0;
    margin-right: 2px;
}

.badge.right {
    margin-left: 2px;
    margin-right: 0;
}

.badge.border {
    border-color: grey;
    border-style: solid;
    border-width: 1px;
}

.badge.border.green-border {
    border-color: green;
}

.badge.border.orange-border {
    border-color: orange;
}

.badge .material-icons {
    margin: 0 -5px 0 2px;
    line-height: 22px;
    font-size: 22px;
    float: right;
}

/****************************/


/******** routes-box ********/

#routes-box {
    flex-direction: column;
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
}

#time-slider {
    position: absolute;
    top: 0px;
    left: 20px;
    right: 300px;
    bottom: 0px;
    background-color: #FFFFFF22;
    cursor: col-resize;
    border-radius: 2px;
    border: 1px solid #FFF5;
    z-index: 11;
}

#toggle-placement {
    margin: 1px -7px;
    /* float: right; */
}

#toggle-placement.switch label input[type="checkbox"]:checked+.lever {
    background-color: #7986cb;
}

#toggle-placement.switch label .lever::after {
    font-family: 'Material Icons';
    content: '%' !important;
    line-height: 16px;
    font-size: 14px;
    text-align: center;
}

#toggle-placement.switch label input[type="checkbox"]:checked+.lever::after {
    content: 'access_time' !important;
    background-color: #3f51b5;
    line-height: 20px;
    font-size: 20px;
    color: white;
}

.route-action {
    margin: -9px 0;
}

.route-action i {
    font-size: 1.4rem;
}

.route-action:hover i {
    color: white;
}

.editing #edit-routes i.drag_edit_icon, 
.isOpen #edit-routes i.drag_edit_icon {
    color: #3f51b5;
    text-shadow: white 1px 1px 0px,
        white -1px 1px 0px,
        white 1px -1px 0px,
        white -1px -1px 0px,
        white -2px 0px 0px,
        white 0px -2px 0px,
        white 2px 0px 0px,
        white 0px 2px 0px;
}

.form-info {
    background-color: blue;
    padding: 5px 15px !important;
    display: block;
    border-radius: 15px;
    margin: 5px 0 !important;
    clear: both;
}
.form-info::before {
    content: 'warning';
    font-family: "Material icons";
    font-size: 1.4rem;
    vertical-align: middle;
    padding-left: 10px;
    color: white;
}

#edit-routes-form,
#search-routes {
    display: flex;
    height: 0px;
    margin: 0px auto 0;
    padding: 0px 15px;
    border-radius: 15px 15px 0 0;
    gap: 15px;
    overflow: hidden;
    transition: 1s;
    flex-shrink: 0;
}

.editing #edit-routes-form ,
.isOpen #search-routes  {
    height: 65px;
    margin: -65px auto 0;
}

#edit-routes-form a,
#search-routes input {
    margin: 15px 0;
}

#time-slider .handle-time {
    position: absolute;
    display: none;
    top: 1px;
    right: 0;
    width: 5px;
    bottom: 1px;
    border-radius: 2px 0 0 2px;
    background-color: #FFFFFF99;
    cursor: w-resize;
}

#time-bar:hover #time-slider .handle-time,
#time-bar #time-slider .handle-time.active {
    display: block;
}

#time-bar {
    width: 100%;
    min-height: 18px;
    display: block;
    font-size: 12px;
    position: relative;
    margin-top: 3px;
    border-bottom: 2px solid #505459;
}

#time-bar>.time-indicator {
    margin-left: 41px;
}

#time-bar .tick {
    text-align: center;
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 1px;
    z-index: 10;
    padding: 0 2px;
    margin-left: 0px;
    font-size: 0.7rem;
    font-weight: bold;
}

#time-bar .tick::before {
    content: ' ';
    display: block;
    height: 5px;
    width: 0;
    border-left: 2px solid #505459;
    position: absolute;
    left: -1px;
    bottom: 0;
}

#routes-ruler-slider .tick::before {
    height: 14px;
    margin: 0;
    top: 0;
    position: absolute;
    left: -2px;
}

#routes-ruler-slider .tick {
    top: 0;
    height: 17px;
    font-size: 0.6rem;
    padding: 4px 0 0 2px;
    margin-left: 1px;
}

#time-slider .handle-left {
    right: auto;
    left: 0;
    border-radius: 0 2px 2px 0;
    cursor: e-resize;
}

#time-slider .handle-time::after,
#time-slider .handle-time::before {
    content: ' ';
    display: block;
    position: absolute;
    top: 2px;
    width: 1px;
    right: 1px;
    bottom: 2px;
    background-color: #555555;
}

#time-slider .handle-time::before {
    right: 3px;
}

#time-slider .handle-right::before {
    top: 3px;
    bottom: 3px;
}

#time-slider .handle-left::after {
    top: 3px;
    bottom: 3px;
}

.right-gap {
    width: 300px;
    padding: 0;
    max-height: 16px;
}

#routes-mass-actions {
    display: inline-block;
    vertical-align: top;
    white-space: nowrap;
    font-size: 0;
    width: auto;
    max-width: 350px;
    height: 22px;
    padding: 0 1px;
    margin: -3px 0;
    overflow: hidden;
    transition: 0.3s all;
    position: relative;
    border-radius: 20px 0 0 20px;
    background-color: #5550;
    z-index: 1;
}

#routes-mass-actions > * {
    display: inline-block;
    vertical-align: top;
    max-width: 70px;
}

#routes-mass-actions.active {
    max-width: 670px;
}

#routes-mass-actions.active,
#routes-mass-actions:hover {
    z-index: 100;
    height: 40px;
    margin: -12px 0;
    overflow: visible;
    padding: 9px 1px 9px 0px;
    background-color: #555F;
    box-shadow: 1px 1px 3px #0009;
}
#routes-mass-actions::before {
    position: absolute;
    top: 0;
    left: 0px;
    width: 0px;
    bottom: 0;
    background: #FFF6;
    content: ' ';
    border-radius: 20px;
}
#routes-mass-actions.active::before {
    width: 350px;
}

#routes-mass-actions .multiaction {
    display: none;
}

#routes-mass-actions.active .multiaction {
    display: inline-block;
}

#multi-action-routes {
    transition: 0.3s all;
}

#multi-action-routes.active {
    background-color: #EEEF;
}

#multi-action-routes.active i {
    color: grey;
}

.left-gap {
    width: 20px;
    float: left;
    display: flex;
    flex-direction: column;
    text-align: center;
    row-gap: 2px;
    height: 35px;
    margin-bottom: -20px;
    position: relative;
    z-index: 200;
}

.left-gap .timeline-button {
    display: block;
    color: #FFF6;
    cursor: pointer;
    font-size: 14px;
    max-height: 17px;
    line-height: 17px;
    font-weight: bold;
    user-select: none;
    overflow: hidden;
    z-index: 2;
}

.left-gap .timeline-button.zoomin {
    background: linear-gradient(#1A181C, #505459);
}

.left-gap .timeline-button.zoomout {
    background: linear-gradient(#505459, #212b31);
}

.left-ball {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: grey;
    margin: 3px 4px 2px;
    z-index: 100;
    position: relative;
    box-shadow: 1px 1px 2px #0009;
}

#time-ticks {
    position: absolute;
    right: 340px;
    left: 20px;
    top: 1px;
}

#routes-ruler-slider {
    height: 17px;
    position: absolute;
    min-width: 100%;
    top: 0;
    left: 0;
}


/****************************/


/************ map ***********/

.location-popup {
    font-family: Vazir;
    text-align: right;
    /* overflow: hidden; */
    min-width: 200px;
    max-height: 350px;
    overflow: auto;
    padding-left: 10px;
}

.branch-popup {
    font-family: Vazir;
    text-align: center;
}

.popup-title {
    font-size: 1rem;
    font-weight: bold;
}

.popup-action {
    text-align: left;
    overflow: hidden;
}

.leaflet-touch .map-settings-icon {
    font-size: 22px;
}

.leaflet-touch .map-settings-icon.active {
    color: white;
    background-color: black;
}

.map-settings-wrapper {
    position: absolute;
    background: #CCC;
    top: -72px;
    left: 32px;
}

.leaflet-draw-tooltip {
    white-space: nowrap;
    background: #FFFA;
    border-radius: 20px;
    padding: 2px 5px;
    color: black;
    font-weight: bold;
}

/****************************/


/******* import-excel *******/

/* Inline #7 | http://localhost:8000/map/1 */

#import-drop-description {
    margin-bottom: -24px;
    /* max-height: 325px; */
    text-align: right;
    overflow-y: auto;
    direction: ltr;
}

#import-drop-description p {
    direction: rtl;
}

#import-drop-area {
    border: 5px dashed #CCC;
    border-radius: 25px;
    height: 270px;
    position: relative;
    padding-top: 140px;
}

#import-drop-area.hover-drag {
    border-color: green;
}

#import-drop-area .file-path {
    margin-bottom: 5px;
}

#import-drop-area .file-path-wrapper {
    padding: 0;
}

#import-drop-area .file-path {
    text-align: center;
}

#import-drop-area::before {
    content: 'اینجا رها کنید';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #CCC;
    font-size: 3rem;
    line-height: 9rem;
    text-align: center;
    font-weight: bolder;
}

#import-drop-area.hover-drag::before {
    color: green;
}

#import-drop-area .file-field input[type="file"] {
    bottom: -100%;
    cursor: pointer;
}

#import-drop-area .file-path {
    cursor: pointer;
}

#import-drop-area .file-path-wrapper {
    cursor: pointer;
}

#upload-modal {
    max-height: 460px;
}

#upload-modal .btn input[type="checkbox"]:indeterminate + label::before,
#upload-modal .btn input[type="checkbox"]:checked + label::before {
    border-color: transparent  white white transparent !important;
}

#upload-modal .errors .material-icons {
    vertical-align: middle;
}

.material-icons.micro {
    font-size: 0.6rem;
}

/****************************/

/********** common **********/

.loading::after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0005;
    background-image: url("../images/loading.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 15%;
    z-index: 110;
    height: 100%;
}

.loading.progress-loading::before {
    content: attr(data-progress)"%";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 30px;
    z-index: 120;
    color: white;
    font-weight: bold;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    transform: translateY(-50%);
}

.loading.btn-floating::after,
.loading.small-loading::after {
    background-size: 100%;
}
.loading.input-field::after {
    right: auto;
    width: 30px;
    background-size: 100%;
    background-color: transparent;
}

span.badge {
    font-size: 0.8rem;
    border-radius: 2px;
    font-weight: 700;
    background-color: #9e9e9e;
    color: white;
    margin: 0 2px 2px 0;
}

span.card-content {
    display: block;
}

.direction-ltr,
.direction-ltr * {
    direction: ltr !important;
}

.red-switch label .lever::before {
    background-color: #B71C1C0F;
}

.red-switch input[type="checkbox"]:checked:not(:disabled)~.lever:active::before,
.red-switch input[type="checkbox"]:checked:not(:disabled).tabbed:focus~.lever::before {
    background-color: #B71C1C26;
}

.red-switch label input[type="checkbox"]:checked+.lever::after {
    background-color: #B71C1C;
}

.red-switch label input[type="checkbox"]:checked+.lever {
    background-color: #B71C1C26;
}

.green-switch label .lever::before {
    background-color: #1CB71C0f;
}

.green-switch input[type="checkbox"]:checked:not(:disabled)~.lever:active::before,
.green-switch input[type="checkbox"]:checked:not(:disabled).tabbed:focus~.lever::before {
    background-color: #1CB71C26;
}

.green-switch label input[type="checkbox"]:checked+.lever::after {
    background-color: #1CB71C;
}

.green-switch label input[type="checkbox"]:checked+.lever {
    background-color: #1CB71C26;
}

.btn-flat:hover {
    background-color: #0003;
}

.btn.rounded {
    border-radius: 20px;
}

/****************************/


/* OOOOOOOOOOOOOOOOOOOOOOOO */

.route {
    display: flex;
    flex-direction: row;
    position: relative;
}

#routes {
    border: none;
    max-height: 95%;
    flex-shrink: 1;
    flex-grow: 1;
    overflow: auto;
    position: relative;
    direction: ltr;
}

#routes * {
    direction: rtl;
}

#routes-ruler {
    position: absolute;
    /* margin-top: 2px; */
    top: 100%;
    left: 20px;
    right: 300px;
    height: 17px;
    background: #0002;
    backdrop-filter: blur(100px);
    z-index: 100;
    overflow: hidden;
}

#routes-ruler::before {
    content: ' ';
    width: 20px;
    left: -20px;
    height: 17px;
    position: absolute;
    background: #34303988;
}

#routes-container {
    padding-top: 15px;
    position: relative;
}

#routes-right-bg {
    width: 300px;
    position: absolute;
    top: -3px;
    right: 0;
    bottom: -15px;
    /* background-color: #545059; */
    box-shadow: 5px 0px 10px #000000AA inset;
}

#routes .right-part {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    width: 300px;
    overflow: hidden;
    /* cursor: pointer; */
}

#routes .right-part.multiaction {
    width: 270px;
}

.multiaction-wrapper-item {
    min-width: 28px;
    max-width: 28px;
}

.multiaction-all {
    width: 40px;
    height: 16px;
    display: flex;
    white-space: nowrap;
    border-radius: 15px;
    background-color: #FFF4;
    margin: 3px 10px 0 5px;
}

.multiaction-all p {
    padding: 0;
    width: 20px;
    height: 20px;
    margin: -2px -1px 0 0;
    display: inline-block;
    vertical-align: top;
}

.multiaction-all i {
    margin: -4px -4px 0 0;
    cursor: pointer;
}

li.type_active {
    background-color: #034C53 !important;
}
li.type_active span {
    color: white !important
}

.drawer-search .multiaction-all {
    margin: 7px 0;
}

.multiaction-wrapper-item p {
    padding: 0;
    margin: 14px 10px 14px 0;
    height: 20px;
    width: 20px;
}

.round-checkbox label {
    padding: 0;
}

.round-checkbox [type="checkbox"].filled-in:not(:checked) + label::after {
    background-color: #FFF3;
    border: 2px solid white;
    border-radius: 10px;
}

.round-checkbox.grey {
    background-color: transparent !important;
}

.round-checkbox.grey [type="checkbox"].filled-in:not(:checked) + label::after {
    background-color: #0003;
    border: 2px solid #777777;
    border-radius: 10px;
}

.round-checkbox [type="checkbox"].filled-in:checked + label::after {
    border: 2px solid #4caf50;
    background-color: #4caf50;
    border-radius: 10px;
}

.round-checkbox [type="checkbox"].filled-in.tabbed:checked:focus + label::after {
    background-color: #4caf50;
    border-color: #4caf50;
    border-radius: 10px;
}

.round-checkbox [type="checkbox"].filled-in:indeterminate + label::before {
    top: 3px;
    left: none;
    right: 5px !important;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: white;
    border-top: 2px solid white;
    border-left: 2px solid white;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

.btn-route {
    display: block;
    min-width: 32px;
    width: 32px;
    height: 32px;
    margin: 2px;
    line-height: 32px;
    text-align: center;
}

.btn-driver {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 1px 5px;
    height: 26px;
    margin: 5px 5px 5px 0px;
    line-height: 36px;
    text-align: center;
    /* background: #545059; */
    border-radius: 15px;
    box-shadow: 1px 1px 3px #0009 inset;
    color: white;
}

.route-name {
    flex-grow: 1;
}

.btn-driver span {
    display: inline-block;
    padding: 0 5px;
    line-height: 26px;
    vertical-align: super;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 135px;
    text-align: right;
}
.route-locked .btn-driver span {
    max-width: 110px;
}

#routes .right-part.multiaction .btn-driver span {
    max-width: 105px;
}

.route-fleet {
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    min-height: 35px;
    overflow: hidden;
    margin: 2px 15px 2px 0;
    padding: 0;
    border-width: 0 !important;
    border-radius: 3px 17px 17px 3px !important;
    flex-grow: 1;
    box-shadow: 1px 1px 3px #0009;
}

.route-fleet .btn-route i {
    opacity: 0.1;
    /* filter: opacity(0.1); */
    transition: all 0.5s;
}

.route-fleet:hover .btn-route i,
.route-fleet .btn-route.invisible i {
    opacity: 1;
    filter: opacity(1);
}

.route-fleet-name {
    padding-right: 10px;
}

.fleet-driver-image {
    float: right;
    height: 48px;
    width: 48px;
    margin-left: 5px;
    background-position: center;
    background-size: cover;
}

.route-stops {
    position: relative;
    padding: 0 5px;
    flex-grow: 1;
}

.route-line {
    background-color: grey;
    margin-top: 17px;
    margin-left: -8px;
    margin-right: 0;
    height: 5px;
    /* width: 100%; */
    /* border-radius: 9px; */
}

.route .route-stops {
    position: relative;
    margin: 6px 0px;
    height: 36px;
    padding: 0;
}

.marker-slider-wrapper {
    margin: -22px -5px 0 -20px;
    overflow: hidden;
    height: 36px;
    position: relative;
    padding: 0 40px;
    z-index: 20;
}

.report-marker {
    line-height: 0;
}

.marker-slider {
    margin: 0px 20px 0 20px;
    height: 36px;
    position: absolute;
}

.icon-marker {
    display: block;
    height: 22px;
    width: 22px;
    border-radius: 11px;
    border-width: 2px;
    border-style: solid;
    text-align: center;
    line-height: 20px;
    box-shadow: -0.5px 1px 2px #0009;
}

.stop {
    padding: 3px 5px;
    cursor: pointer;
    text-align: center;
    min-width: 30px;
    font-weight: bold;
}

.stop.warehouse {
    border-radius: 50%;
    padding: 4px 6px 0 5px;
    min-width: 31px;
    text-align: center;
    z-index: 300;
}

.stop .material-icons {
    line-height: 32px;
}

.stop-minimal-marker {
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    box-sizing: border-box;
    width: 100%;
    height: 4px;
    line-height: 16px;
    font-size: 0;
}
.stop-minimal-marker.number {
    font-family: Vazir;
}
.stop-minimal-marker.material-icons {
    background-color: #FFFA !important;
    color: black !important;
    font-size: 1.2rem;
    line-height: 21px;
    height: 25px;
    width: 25px;
    border-radius: 15px;
}

.stop-minimal-marker.stop-minimal-marker-1 {
    background-color: #FFFA !important;
    color: #444 !important;
}
.stop-minimal-marker.stop-minimal-marker-1::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(
        -45deg,
        #DF0006 12.5%,
        #00000000 12.5%, #00000000 37.5%,
        #DF0006 37.5%, #DF0006 62.5%,
        #00000000 62.5%, #00000000 87.5%,
        #DF0006 87.5%);
    background-size: 10px 10px;
    background-position: 0 0;
}
.stop-minimal-marker.stop-minimal-marker-2 {
    background-color: #ffffffAA !important;
    color: #444444 !important;
}

#dragging-stop {
    position: absolute;
    top: 0;
    left: 0;
    height: 33px;
    width: 40px;
    background: white;
    line-height: 34px;
    padding: 0;
    margin: 8px 0 0 0;
    border-radius: 2px;
    color: black;
    transform: translateX(-50%);
    z-index: 100;
}

#dragging-shadow {
    position: absolute;
    top: 0;
    left: 0;
    height: 33px;
    width: 40px;
    background: rgba(0, 0, 0, .5);
    line-height: 34px;
    padding: 0;
    margin: 8px 0 0 0;
    border-radius: 2px;
    color: white;
    /* transform: translateX(-50%); */
    z-index: 900;
    text-align: center;
    cursor: move;
}

.dragged-stop {
    background-color: grey !important;
    color: white;
}

.unsaved-stop {
    overflow: hidden;
}

#unassigned-stops #dragging-stop {
    background-color: grey !important;
    color: white !important;
}

#unassigned-stops .stop.dragged-stop {
    display: none;
}

#unassigned-stops #dragging-stop,
#unassigned-stops .unsaved-stop {
    position: relative;
    margin: 3px 3px 0 0;
    overflow: hidden;
    top: unset !important;
    left: unset !important;
    line-height: 20px;
    vertical-align: top;
    transform: unset !important;
    width: 32px !important;
}

.unsaved-stop::after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    background: red;
    z-index: 111;
    position: absolute;
    left: -2px;
    top: -7px;
    border-color: black red;
    border-style: solid;
    border-width: 10px 10px 10px 0px;
    border-radius: 0;
    transform: rotate(45deg);
}
.dragged-stop.unsaved-stop::after {
    display: none !important;
}

.route {
    transition: 0.3s;
}

.route:hover {
    opacity: 1 !important;
}

.route.route-state-0 {
    display: none;
}

.route.route-state-3 {
    opacity: 0.4;
}

.editing .route {
    opacity: 0.2;
}

.editing .route.route-state-0,
.editing .route.route-state-1 {
    opacity: 1;
}

.editing .route.route-locked:hover::after,
.editing .route.route-state-2:hover::after,
.editing .route.route-state-3:hover::after {
    content: "این مسیر قابل ویرایش نیست";
    display: block;
    border-radius: 50px;
    margin: 0 auto;
    position: absolute;
    bottom: 6px;
    top: 7px;
    background: #000000DD;
    left: 50%;
    transform: translateX(-50%);
    line-height: 35px;
    color: white;
    padding: 0 20%;
    z-index: 50;
    white-space: nowrap;
}

.route.unfetched::after {
    content: attr(over-message);
    display: block;
    border-radius: 50px;
    margin: 0 auto;
    position: absolute;
    bottom: 7px;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 35px;
    color: white;
    padding: 0 20%;
    z-index: 50;
    white-space: nowrap;
    background-color: #00000088;
    background-image: url("../images/loading.svg");
    background-position: right;
    background-repeat: no-repeat;
    background-size: 35px;
}

#locations-box.unfetched::after {
    padding: 0 25px 0 5px;
    transform: none;
    right: 5px;
    left: auto;
    top: 7px;
    background-color: #000000CC;
    display: inline-block;
    bottom: auto;
    position: relative;
    height: auto;
    line-height: 20px;
    overflow: hidden;
    max-height: 20px;
    background-size: 20px;
}

#unassigned-stops.editing .stop.no-location {
    display: none;
}

#unassigned-stops.editing.moving-locations .stop.no-location {
    display: inline-block;
}


#search-routes button {
    width: 30px;
    height: 30px;
    background: red;
    outline: none;
    border: none;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search-routes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}


.route .stop {
    position: absolute;
    margin-left: -16px;
    top: 2px;
    width: 32px;
    height: 33px;
    padding: 0;
    line-height: 33px;
    /* transition: 0.3s; */
    box-shadow: 1px 1px 2px #0009;
}

.route .stop:hover {
    z-index: 500 !important;
}

.route .stop.warehouse.time-width {
    border-bottom: 0;
    border-top: 0;
    border-right-width: 2.5px;
    border-left-width: 2.5px;
    border-style: solid;
    border-color: gray;
    border-radius: 2px;
    overflow: hidden;
    min-width: 0px !important;
    max-width: 0px !important;
    padding: 0;
    margin: 0 0 0 -5px;
}

.route .stop.customer.time-width {
    border: 0;
    border-radius: 2px;
    overflow: hidden;
    min-width: 5px;
    padding: 0;
    margin: 0;
}

.route .stop.rest.time-width {
    padding: 0;
    margin: 0;
    z-index: 1;
    font-size: 20px;
    font-weight: bold;
    background-color: gray !important;
    overflow: hidden;
    line-height: 27px;
    height: 27px;
    top: 5px;
    border-radius: 2px !important;
}

.route .stop.rest.time-width i.material-icons {
    font-size: 20px;
    line-height: 27px;
}

#unassigned-stops .stop {
    display: inline-block;
    background-color: #FFF;
    position: relative;
    border-radius: 2px;
    line-height: 20px;
    padding: 1px 0 0;
    margin: 3px 3px 0 0;
    color: #444;
    height: auto;
    top: 0;
}

.unassigned-action-wrapper {
    position: absolute;
    top: 3px;
    left: 0;
    height: 24px;
    width: min-content;
    padding: 0;
    margin: 0px 5px 0 5px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.unassigned-action-wrapper .btn-route {
    line-height: 20px;
    width: 24px;
    height: 24px;
    margin: 0;
}

#routes .left-part {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    width: 20px;
    overflow: visible;
    min-height: 40px;
    z-index: 20;
}

.time-indicator {
    left: 0px;
    width: 1px;
    height: 100%;
    display: none;
    margin-left: 1px;
    position: absolute;
    background: #FFF3;
    box-shadow: 0 0 2px #0009;
}

.time-indicator[data-time]::after {
    content: attr(data-time);
    display: block;
    border-radius: 2px;
    position: absolute;
    top: -1px;
    transform: translateX(-50%);
    line-height: 10px;
    color: #CCC;
    z-index: 50;
    white-space: nowrap;
    background-color: #505459;
    font-style: initial;
    padding: 1px 3px;
    left: 50%;
    font-size: 0.8rem;
}

.routeset-options {
    float: left;
    height: 35px;
    overflow: hidden;
    border-width: 0 !important;
    border-radius: 2px !important;
    box-shadow: 1px 1px 3px #0009;
    margin: 6px 0 1px 4px;
    font-size: 0;
    width: auto;
    padding: 3px 5px 5px 1px;
    white-space: nowrap;
    background-color: white;
}

.route-options {
    position: absolute;
    left: 5px;
    height: 35px;
    overflow: hidden;
    /* cursor: pointer; */
    border-width: 0 !important;
    border-radius: 5px 20px 20px 5px !important;
    flex-grow: 1;
    box-shadow: 1px 1px 3px #0009;
    margin: 1px 0 1px 0px;
    font-size: 0;
    width: auto;
    max-width: 35px;
    padding: 3px 8px 3px 12px;
    white-space: nowrap;
    transition: 0.5s all;
}

.ui-sortable-helper .route-options,
.route-options:hover {
    max-width: 350px;
}

.route-options .route-option.route-arrow {
    display: inline-block;
    margin: 0 -10px 0 10px;
    opacity: 0.6;
}

.ui-sortable-helper .route-options .route-option.route-arrow,
.route-options:hover .route-option.route-arrow {
    display: none;
}

.move-option {
    position: absolute;
    cursor: move;
    top: 1px;
    left: 1px;
    bottom: 1px;
    width: 12px;
    border-radius: 4px;
    background: url("../images/handle-bg.png") left center repeat;
}

.route-option {
    display: inline-block;
    width: 28px;
    overflow: hidden;
    height: 28px;
    padding: 0;
    margin: 0 0 0 2px;
    text-align: center;
}

.route-option i {
    padding: 0;
    font-size: 14pt;
    cursor: pointer;
    line-height: 28px;
}

.bg-route {
    background-color: #f8f9fa;
    /* border: 2px solid #505459; */
    border-radius: 7px;
    font-weight: bold;
}

.popover.color-popover {
    padding: 0;
    background: none;
    margin: -11px 0 0 -100px;
    border: 0;
}

.color-option-wrapper {
    height: 18px;
    font-size: 0;
    margin: 0px auto 0px;
}

.color-option-wrapper:nth-child(6n-5) {
    padding-right: 30px;
}

.color-option-wrapper:nth-child(8n-6),
.color-option-wrapper:nth-child(8n-2) {
    padding-right: 20px;
}

.color-option-wrapper:nth-child(8n-5),
.color-option-wrapper:nth-child(8n-3) {
    padding-right: 10px;
}

.color-option {
    cursor: pointer;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0px;
    border-radius: 10px 10px 10px 3px;
    /* rotate: -45deg; */
    transform: rotate(-45deg) translateZ(1px);
    z-index: 100;
    border: 0px solid white;
    box-sizing: border-box;
}

.color-option.close-icon {
    background-color: black;
    color: white;
    border-radius: 20px;
    font-size: 20px;
    /* rotate: 0deg; */
    transform: rotate(0deg) translateZ(1px);
    text-align: center;
    line-height: 24px;
    vertical-align: bottom;
}

.route-issues {
    position: relative;
    padding-left: 15px;
}

.route-issues span.badge {
    position: absolute;
    top: 0;
    left: 0;
}

.popover-body .color-option:last-child {
    margin-left: 0;
}


/* Tooltip Fix */

.bs-tooltip-auto[x-placement^=left] .arrow,
.bs-tooltip-left .arrow {
    right: 1px;
    left: auto;
    transform: rotate(180deg);
}

.bs-tooltip-auto[x-placement^=right] .arrow,
.bs-tooltip-right .arrow {
    left: 1px;
    right: auto;
    transform: rotate(180deg);
}

.material-tooltip {
    z-index: 2005 !important;
}

.timing-problem {
    border-color: black;
}

.stop.marker {
    border-radius: 50%;
    max-height: 0px;
    max-width: 0px;
    top: 13px !important;
    border-width: 6px;
    margin-left: -6px !important;
    min-width: 0;
    z-index: 300;
}

.hovering-buttons {
    display: none;
    position: absolute;
    left: 10px;
    top: 36px;
}

.inline-icon-button {
    border: 0;
    margin-top: 1px;
    padding: 10px 8px 5px 8px;
}

.image-modal {
    background: white url('../images/loading.svg') center center no-repeat;
    background-size: 10%;
}

.image-modal .modal-image,
.map-modal .modal-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.modal.modal-fixed-footer.map-modal .modal-content.modal-map {
    padding: 0;
    height: 100%;

}
.image-modal .modal-menu-wrapper {
    display: flex;
}

.image-modal .modal-menu-item {
    width: 40px;
    height: 40px;
    margin: 0 2px 0 3px;
}

.image-modal .modal-menu-item.active {
    outline: 2px solid #505459;
}

.image-modal .modal-menu-image {
    height: 0;
    padding: 100% 0 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
    cursor: pointer;
}


/*add code*/

.material-tooltip {
    max-width: 50% !important;
    text-align: justify;
}

.min-height-medium > #map-content-modal{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.modal-overlay{
        z-index: 2000 !important;
}
.modal{
    z-index: 2001 !important;
    overflow: visible;
}
.modal.modal-fixed-footer .modal-content.modal-custom{
    overflow: hidden;
}
#manage-route-menu {
    overflow-y: auto;
}
/*#region map*/
.btn-more-content {
    position: relative;
}

#routes-box .btn-route i {
    line-height: 32px !important;
}
.modal-overlay.forward-all{
    z-index: 2000 !important;
}
.modal.forward-all{
z-index: 2001 !important;
}
.btns-more-content-open{
    width: 32px;
    height: 32px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    position: absolute;
    top: 8px;
    padding: 0;
    background-color: #fff0;
    z-index: 100;
    text-align: right;
    overflow: hidden;
    transition: .5s;
}
.btns-more-content-open.open{
    background-color: #ffff;
    overflow: hidden;
}
.btns-more-content-open .btn-route{
    margin: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    background-color: transparent;
}
.btn-more,.btn-more i{
    background-color: transparent !important;
}

.btn-layers {
    position: relative;
}
.layers-wrapper {
    top: 58px;
    left: 100%;
    display: none;
    background: white;
    position: absolute;
    border: 2px solid #CCC;
    border-radius: 3px;
    margin-left: 10px;
    min-width: 100px;;
    z-index: 500;
}
.layers-wrapper.areas{
    top: 118px;
}

.layers-wrapper a {
    display: inline-block;
    width: 100% !important;
    height: auto !important;
    font-size: 14px;
    cursor: pointer;
    font-family: vazir;
    padding: 0 5px;
}
.layers-wrapper a:hover{
    width: 100%;
    height: auto;
}

.layers-wrapper a.active{
    background: #007bff;
    color: white;
}

.map-custom .leaflet-bar a:last-child {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}
.map-custom .leaflet-bar a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    white-space: nowrap;
}
.map-custom .map-settings-icon {
    font-size: 22px;
}
.map-custom .map-settings-icon.active {
    color: white;
    background-color: black;
}
.map-custom .leaflet-control-attribution,
.map-custom .leaflet-control-layers,
.map-custom .leaflet-bar {
    box-shadow: none;
}
.map-custom .leaflet-control-layers,
.map-custom .leaflet-bar {
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
}
.logo-icon {
    background-image: url(/static/images/logo.min.png);
    background-size: cover;
    background-position: center center;
    display: inline-block;
    width: 100% !important;
    height: 100% !important;
    background-repeat: no-repeat;
}
/*#endregion map*/

.modal.modal-fixed-footer.modal-achive .modal-content{
    padding: 0;
    height: 100%;
}
.modal-achive .picker__box{
    height: 100%;
}
.input-field-chekbox p{
    margin:0;
    position: relative;
}
.input-field-chekbox .get-location-map {
    position: absolute;
    top: 0px;
    left: 0px;
    color: #888888;
}
.input-field-chekbox.input-field-height {
    margin: 25px 0 0;
    margin-left: 0px;
}

.modal-achive .datepicker-content{
    height: 100%;
}
.date-picker-custom .picker__weekday-display,
.date-picker-custom .picker__day-display,
.date-picker-custom .picker__month-display {
        font-size: 1.5rem;
}
.date-picker-custom .picker__weekday-display{
display: inline-block;
margin-left: 10px;
}
.date-picker-custom .picker__day.picker__day--infocus{
    display: block;
}

.date-picker-custom .picker__day {
    width: 3.5rem;
    height: 3.5rem;
    line-height: 1.3rem;
}

.picker__range__picker__wrapper {
    display: flex;
    flex-direction: row;
}
.picker__range__picker__wrapper {
    display: flex;
    flex-direction: row;
}

.picker__range__button_box {
    border-left: 1px solid #DDD;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    padding: 35px 15px;
    text-align: right;
    background: #26a69a;
}

.picker__range__button_box .btn-flat {
    white-space: nowrap;
    font-size: 1.1rem;
    padding: 0 1rem;
    text-align: right;
    color: white !important;
}

.picker__range__display {
    border-bottom: 1px solid #DDD;
    padding: 35px 15px;
    min-height: 96px;
    display: flex;
    text-align: center;
    row-gap: 10px;
    align-items: center;
}

.picker__range__display div {
    width: 50%;
    margin: 0 auto;
}

.picker__range__display i {
    vertical-align: text-top;
}
.picker__range__display span {
    display: inline-block;
    width: 30px;
}

.picker__range__from {
    border-left: 1px solid #DDD;
}

.picker__day--range-between {
    background-color: #26a69a44;
}

.picker__day--range-from {
    border-radius: 0 50% 50% 0 !important;
    -webkit-transform: none !important;
    transform: none !important;
}

.picker__day--range-to {
    border-radius: 50% 0 0 50% !important;
    -webkit-transform: none !important;
    transform: none !important;
}

.picker__day--range-from.picker__day--range-to {
    border-radius: 50% !important;
}

.picker__day--selected,
.picker__day--selected:hover,
.picker--focused .picker__day--selected {
    background-color: #26a69a !important;
}

.picker__day--disabled,
.picker__day--disabled:hover,
.picker--focused .picker__day--disabled {
    background: none;
    border-color: transparent !important;
    color: #bbbbbb;
    cursor: default;
}

.picker__footer {
    text-align: end;
}


.truncate  {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

@media only screen and (min-width: 601px) {
    .picker--range .picker__frame {
        max-width: 950px
    }
}

.btn-map-container {
    position: absolute;
    left:0;
    /* right:0; */
    bottom: 0;
    display: flex;
    padding: 10px 15px;
    flex-direction: row-reverse;
    column-gap: 10px;
    z-index: 500;
}

#track-viewer .btn-map-container {
    right: 0;
}

.map-modal-input {
    flex-grow: 1;
}

.map-modal-input input {
    margin: 1px 0;
    height: 34px;
    max-width: 300px;
    background-color: #FFFA;
    border: none;
    direction: ltr;
    text-align: right;
    padding: 0 5px;
}

.drawer-list-item .menu-box {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.eye-show-password {
    position: absolute;
    left: 23px;
    top: 10px;
    color: #888;
}

.overflow-unset {
    overflow: unset;
}
.close-action{
    position: absolute;
    top: 0;
    right: -23px;
    color: #fff;
}

.position-relative{
    position: relative;
}
.overflow-unset{
    overflow: unset;
}
.overflow-hidden{
    overflow: hidden;
}
.vehicle-details{
    position: absolute;
    top: 110%;
    right:0;
    left: 0;
    font-size: 12px;
    color: #222;
    line-height: 1.4;
    text-align: right;
    transition: .5s ;
    -webkit-transition: .5s;
    visibility: hidden;
    opacity: 0;
    font-size: 9px;
    z-index: 10;
    padding: 2.5px;
    min-height: 80px;
    pointer-events: none;
}
.show-details:hover .vehicle-details{
    visibility: visible;
    opacity: 1;
    top: -15px;
    border-radius: 5px;
}
.show-details-route-summary b{
    font-size: 13px;
    font-weight: bolder;
}


.pannel-title {
    max-width: 95%;
}

.log-out-button-panel {
    left: 5px !important;
}


.vehicle-details .row {
    margin: 0;
    display: flex;
    display: -webkit-flex;
    align-items:center;
    -webkit-align-items:center;
    flex-flow: wrap;
    margin-bottom: 2px;
}
.vehicle-details .row >div.custom {
    direction: ltr;
    /* width: 100%; */
}
.vehicle-details .row >div.first{
    font-size: 9px;
    display: block;
    width: 100%;
    margin-bottom: 2px;
    padding-right: 5px;
    font-weight: bold;
}
.vehicle-details .row >div.last{
    margin-right: 10px;
}
.open-left .vehicle-details{
    left: 0;
    right: unset;
}
.open-left .vehicle-details::after{
    left: 10px;
    right: unset;
}

.card-title-vehicle-route a {
    float: left;
    line-height: 30px;
    height: 30px;
    margin: -5px 0px 0 0;
}

.marker-slider-wrapper .waiting {
    z-index: 1;
    font-size: 20px;
    font-weight: bold;
    background-color: #ffffff;
    overflow: hidden;
    line-height: 23px;
    height: 23px;
    top: 7px;
    border-radius: 50px 0 0 50px !important;
}
.marker-slider-wrapper .waiting i {
    line-height: 23px;
    font-size: 20px;
}

.marker-slider-wrapper .stop.customer.invalid {
    border-bottom: #f00 4px solid;
}

.marker-slider-wrapper .stop.customer.edited {
    border-top: #ccc 4px solid;
}

.bg-route.finished {
    background-color:#ffffff !important;
    color:#444444 !important;
    line-height: 31px !important;
}
span.badge.small-text{
    font-size: 10px;
}

.back-to-sub-draver-view {
    float: right;
    margin: -10px -15px 0 0;
    height: 50px;
}

.picker__day.has-route{
    position: relative;
}
.picker__day.has-route::after{
    background-color: #079992;
    display: inline-block;
    content: " ";
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    width: 10px;
    height: 10px;
}
.picker__day.has-location{
    position: relative;
}
.picker__day.has-location::after{
    background-color: orange;
    display: inline-block;
    content: " ";
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    width: 10px;
    height: 10px;
}
.picker__date-display{
    position: relative;
}

.stop.canceled{
    background-image: url(../images/back_canceled.png);
    background-repeat:round;
    background-size:auto;
}

.input-field-chekbox {
    margin:0;
    display: block;
    padding:0 10px;
    position: relative;
}
.input-field-chekbox p {
    margin:0;
}
.input-field-chekbox .get-location-map:hover {
    color: #555;
}
.traffic-content{
    display: inline-block;
    width: 100%;
    padding: 10px;
}

.box-flexable {
    display: flex;
    display: -webkit-flex;
}
.align-center {
    align-items: center;
    -webkit-align-items: center;
}
.d-inline-block{
    display: inline-block;
}
.w-100{
    width: 100%;
}
.checkbox-top-input{
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}
.checkbox-top-input [type="checkbox"]+label{
    font-size: 11px;
    padding-right: 25px;
}

.modal.modal-large {
    top: 10px !important;
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    height: auto;
    max-height: 100%;
}

.modal-large .close-action {
    color: black;
    background-color: #FFFC;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    z-index: 500;
    padding: 1px;
    border-radius: 4px;
    border: 2px solid rgba(0,0,0,0.2);
}

.modal-track-player {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

.modal-track-player .modal-track-player-bar {
    flex-grow: 1;
}

.modal-track-player .modal-track-player-bar::before {
    content: ' ';
    position: absolute;
    top: 13px;
    left: -5px;
    right: -5px;
    bottom: 13px;
    display: block;
    border-radius: 5px;
    background-color: #0005;
}

.modal-track-player .modal-track-player-bar {
    position: relative;
    margin: 0 10px;
}

.modal-track-player .player-indicator {
    position: absolute;
    left: 0px;
    top: 9px;
    height: 18px;
    width: 18px;
    margin: 0 -9px;
    background-color: #FFF8;
    border: 3px solid #000A;
    border-radius: 10px;
    transition: 0.3s;
    cursor: grab;
    z-index: 3;
}

.modal-track-player .player-indicator.no-transition {
    transition: none !important;
    -o-transition: none !important;
    -ms-transition: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
}

.modal-track-player .player-stop {
    position: absolute;
    left: 100%;
    top: 12px;
    height: 12px;
    margin: 0 -1.5px;
    width: 3px;
    border: 1px solid #f60;
    background-color: white;
    cursor: pointer;
    z-index: 1;
}

.modal-track-player .player-speed-wrapper {
    width: 40px;
    border-radius: 20px;
    background-color: white;
    height: 40px;
    border: 2px solid #CCC;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    cursor: pointer;
    margin: -2px 0;
    font-size: 0.9rem;
}

.modal-track-dropdown-wrapper .btn-floating,
.modal-track-player .btn-floating {
    margin: -2px 0;
}

.leaflet-control-layers {
    cursor: pointer;
}

.leaflet-control-layers.hide-layer {
    background-color: #0003;
}

.leaflet-control-layers.hide-layer::after {
    content: ' ';
    border-top: 2px solid red;
    border-radius: 2px;
    width: 30px;
    height: 0px;
    position: absolute;
    transform: rotateZ(-45deg) translate(-10px, 10px);
}

.leaflet-control-layers::before {
    content: ' ';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px;
    height: 20px;
}

.leaflet-control-layers.layer-route_path::before {
    box-sizing: border-box;
    border-style: solid;
    border-radius: 3px;
    border-color: #0054cbaa;
    border-width: 5px;
}

.leaflet-control-layers.layer-track_path::before {
    box-sizing: border-box;
    border-style: solid;
    border-radius: 5px;
    border-color: black;
    border-width: 1px;
}

.leaflet-control-layers.layer-match_path::before {
    box-sizing: border-box;
    border-style: dotted;
    border-radius: 3px;
    border-color: #0054cbaa;
    border-width: 5px;
}

.leaflet-control-layers.layer-locations::before {
    box-sizing: border-box;
    border-radius: 10px 10px 10px 1px;
    border-color: #0054cb;
    border-width: 2px;
    border-style: solid;
    background-color: #0054cb66;
    transform: rotateZ(-45deg) translate(1.4px, -1.4px);
}

.leaflet-control-layers.layer-tracks::before {
    box-sizing: border-box;
    border-style: solid;
    border-radius: 15px;
    border-color: #008000;
    border-width: 0.4px;
    background: #00800033;
}

.leaflet-control .material-icons {
    margin: 2px;
}
.leaflet-control.layer-start-polygon::after {
    content: attr(title);
    position: absolute;
    top: 5px;
    left: 30px;
    height: 20px;
    padding: 0 5px;
    border-radius: 2px;
    white-space: nowrap;
    background-color: #FFFC;
    border-left: 2px solid black;
}

.leaflet-control.layer-start-polygon.active::after {
    content: '';
    display: none;
}

.modal-thin {
    overflow-y: auto;
    max-width: 300px;
    height: auto;
}

.modal-content.collection {
    border: 0;
    margin: 0;
    padding: 0;
}

.modal-content.collection .search-result-box {
    position: relative;
    max-height: 300px;
    max-height: 50vh;
    overflow: auto;
}

.search-result-box {
    text-align: center;
    font-size: 0.8em;
    line-height: 2em;
}

.search-result-box * {
    text-align: start;
    font-size: 1rem;
    line-height: 1rem;
}

.search-result-box .secondary-text {
    font-size: 0.7em;
    line-height: 1.2em;
}

.actions-content{
    margin-top: 2px;
    min-width: 48px;
}
.actions-content .btn-floating{
    width: 20px;
    height: 20px;
    line-height: 0;
}
.actions-content .btn-floating i{
    line-height:20px;
    font-size: 1.0rem;
}
.request-item {
    clear: both;
    margin: 0px -10px 0 -10px;
    border-top: 1px solid #CCC;
    text-align: right;
    padding: 5px 5px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    -webkit-justify-content:space-between;
}
.request-item.custom {
    justify-content:flex-start;
    -webkit-justify-content:flex-start;
    flex-direction: row;
    -webkit-flex-direction: row;
    margin: 0px -15px 0 -15px;
}
.sub-drawer-title, .drawer-title {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items:center;
    -webkit-align-items:center;
    column-gap: 5px;
    -webkit-column-gap: 5px;
    align-items: flex-start;
    -webkit-align-items: flex-start;
}
.sub-drawer-title {
    margin-bottom: 15px;
}
.sub-drawer-title .btn-floating, .drawer-title .btn-floating {
    min-width: 40px;
}
.sub-drawer-title h5, .drawer-title h5 {
    flex-grow: 1;
    max-width: 180px;
    max-width: calc(100% - 90px);
    overflow-wrap: break-word;
}
/* .card-title-custom-font */
.card .card-title {
    font-size: 18px;
}

.requests-content,
.preferred-content{
    margin-bottom: 30px;
}

.modal-areas #modal-content {
    display: flex;
}

.modal-areas #map-content-modal {
    flex-grow: 10;
    position: relative !important;
}

#modal-side {
    flex-grow: 1;
    width: 300px;
    min-width: 300px;
    background: #f1f1f1;
    position: relative;
}
#modal-side::before {
    content: ' ';
    position: absolute;
    top: -10px;
    left: 0;
    right: -10px;
    bottom: -10px;
    box-shadow: 0px 0px 10px inset;
}

.modal-areas .drawer-item-details {
    white-space: break-spaces;
}

#modal-side .side-wrapper {
    overflow: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
}

.side-wrapper .drawer-list-wrapper {
    overflow: auto;
    padding: 0 1rem;
}

/*#region modal-areas-search-filter*/
.modal-areas #modal-side {
    width: 320px;
    min-width: 320px;
}

.areas-search-filter-container {
    padding: 8px 12px 0 12px;
    position: relative;
    z-index: 10;
}

.areas-search-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    direction: rtl;
}

.areas-search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

#areas-search-input {
    height: 36px !important;
    line-height: 36px !important;
    padding: 0 32px 0 28px !important;
    margin: 0 !important;
    font-size: 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 18px !important;
    background: #fff !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

#areas-search-input:focus {
    border-color: #1565c0 !important;
    box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.15) !important;
}

.areas-search-input-wrapper .search-icon {
    position: absolute;
    right: 8px;
    font-size: 18px;
    color: #888;
    pointer-events: none;
}

.areas-search-input-wrapper .clear-search-icon {
    position: absolute;
    left: 8px;
    font-size: 18px;
    color: #888;
    cursor: pointer;
    transition: color 0.15s;
}

.areas-search-input-wrapper .clear-search-icon:hover {
    color: #d32f2f;
}

#btn-toggle-areas-filter {
    width: 36px;
    height: 36px;
    min-width: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: all 0.2s;
}

#btn-toggle-areas-filter:hover {
    background: #e8e8e8;
}

#btn-toggle-areas-filter.active {
    background: #e3f2fd !important;
    border-color: #1565c0 !important;
}

#btn-toggle-areas-filter.active .material-icons {
    color: #1565c0 !important;
}

.filter-active-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background-color: #1565c0;
    border-radius: 50%;
    border: 1.5px solid #fff;
}

#areas-filter-panel {
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-top: 8px;
    direction: rtl;
    position: relative;
    z-index: 20;
}

.filter-section {
    margin-bottom: 10px;
}

.filter-section:last-of-type {
    margin-bottom: 6px;
}

.filter-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.filter-section-title {
    font-size: 11.5px;
    font-weight: bold;
    color: #424242;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.filter-actions a,
.filter-section-header a {
    color: #1565c0;
    text-decoration: none;
    cursor: pointer;
    font-size: 11px;
}

.filter-actions a:hover,
.filter-section-header a:hover {
    text-decoration: underline;
}

.filter-actions .divider {
    color: #ccc;
}

.filter-days-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    direction: rtl;
}

.filter-day-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    border: 1px solid #bdbdbd;
    background-color: #f5f5f5;
    color: #616161;
    cursor: pointer;
    text-decoration: none !important;
    user-select: none;
    transition: all .15s;
    display: inline-block;
}

.filter-day-badge:hover {
    background-color: #e0e0e0;
}

.filter-day-badge.active {
    background-color: #1565c0 !important;
    border-color: #1565c0 !important;
    color: #fff !important;
    font-weight: 500;
}

.filter-selected-branches {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
    max-height: 70px;
    overflow-y: auto;
}

.filter-branch-chip {
    margin: 2px 0 !important;
    font-size: 11px !important;
    height: 24px !important;
    line-height: 24px !important;
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 8px !important;
    border-radius: 12px !important;
}

.close-branch-chip {
    font-size: 14px !important;
    cursor: pointer;
    color: #0369a1 !important;
    margin-right: 2px !important;
    line-height: inherit !important;
}

.close-branch-chip:hover {
    color: #d32f2f !important;
}

.filter-branch-autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.filter-branch-search-input {
    height: 30px !important;
    line-height: 30px !important;
    padding: 0 26px 0 8px !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background: #fafafa !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s !important;
    outline: none !important;
    box-shadow: none !important;
}

.filter-branch-search-input:focus {
    border-color: #1565c0 !important;
    background: #fff !important;
    box-shadow: 0 0 0 1.5px rgba(21, 101, 192, 0.15) !important;
}

.branch-search-icon {
    position: absolute;
    right: 6px;
    top: 6px;
    font-size: 16px;
    color: #9e9e9e;
    pointer-events: none;
}

.filter-branch-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 150px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    direction: rtl;
}

.branch-dropdown-item {
    padding: 6px 10px;
    font-size: 11.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    transition: background 0.1s;
}

.branch-dropdown-item:hover {
    background: #f0f7ff;
}

.branch-dropdown-item.selected {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 500;
}

.branch-dropdown-item .check-icon {
    font-size: 16px;
    color: #9e9e9e;
}

.branch-dropdown-item.selected .check-icon {
    color: #0284c7;
}

.branch-dropdown-empty {
    padding: 8px 10px;
    font-size: 11.5px;
    color: #9e9e9e;
    text-align: center;
}

.filter-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #f0f0f0;
}

#btn-reset-all-areas-filters {
    font-size: 11px;
    color: #757575;
    display: flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    cursor: pointer;
}

#btn-reset-all-areas-filters:hover {
    color: #d32f2f;
}

#btn-reset-all-areas-filters i {
    font-size: 14px;
}

.areas-list-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    direction: rtl;
}

.areas-filter-count {
    font-size: 11.5px;
    color: #757575;
}

.areas-select-all-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    /* margin-right: auto; */
    cursor: pointer;
    user-select: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.areas-select-all-wrapper:hover {
    background: rgba(0, 0, 0, 0.04);
}

.areas-select-all-wrapper p {
    font-size: 12.5px;
    margin: 0;
    color: #424242;
    font-weight: 500;
    cursor: pointer;
}

.check-all-region-routes {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    border: 1.5px solid #757575 !important;
    border-radius: 4px !important;
    background: #fff !important;
    outline: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

.check-all-region-routes:hover {
    border-color: #1565c0 !important;
    background: #f0f7ff !important;
}

.check-all-region-routes.checked {
    border-color: #2e7d32 !important;
    background: #e8f5e9 !important;
}

.check-all-region-routes-icon {
    font-size: 16px !important;
    color: #2e7d32 !important;
    line-height: 1 !important;
    display: block;
    margin: 0 auto;
}

.areas-no-results-msg {
    display: none;
    padding: 30px 16px;
    text-align: center;
    color: #888;
}

.areas-no-results-msg i {
    font-size: 36px;
    color: #bdbdbd;
    display: block;
    margin: 0 auto 6px auto;
}

.areas-no-results-msg span {
    font-size: 12.5px;
}
/*#endregion modal-areas-search-filter*/

/*#region area-edit-card*/
.area-edit-card {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin: 8px 0;
    direction: rtl;
}

.area-edit-card .area-edit-input-wrapper {
    margin-bottom: 10px;
}

.area-edit-card .area-edit-input-label {
    display: block;
    font-size: 11.5px;
    font-weight: bold;
    color: #424242;
    margin-bottom: 4px;
}

.area-edit-card .area-edit-name-input {
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    font-size: 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background: #fafafa !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

.area-edit-card .area-edit-name-input:focus {
    border-color: #1565c0 !important;
    background: #fff !important;
    box-shadow: 0 0 0 1.5px rgba(21, 101, 192, 0.15) !important;
}

.area-edit-card .area-edit-days-section {
    margin-top: 8px;
    margin-bottom: 10px;
}

.area-edit-card .area-edit-days-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.area-edit-card .area-edit-days-title-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.area-edit-card .area-edit-days-title {
    font-size: 11.5px;
    font-weight: bold;
    color: #424242;
}

.area-edit-card .area-edit-days-title-wrapper .helper-tooltip {
    font-size: 15px;
    color: #9e9e9e;
    cursor: help;
}

.area-edit-card .area-edit-days-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.area-edit-card .area-edit-days-actions a {
    color: #1565c0;
    text-decoration: none;
    cursor: pointer;
    font-size: 11px;
}

.area-edit-card .area-edit-days-actions a:hover {
    text-decoration: underline;
}

.area-edit-card .area-edit-days-actions .divider {
    color: #ccc;
}

.area-edit-card .area-edit-days-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    direction: rtl;
}

.area-edit-card .area-edit-day-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    border: 1px solid #bdbdbd;
    background-color: #f5f5f5;
    color: #616161;
    cursor: pointer;
    text-decoration: none !important;
    user-select: none;
    transition: all .15s;
    display: inline-block;
}

.area-edit-card .area-edit-day-badge:hover {
    background-color: #e0e0e0;
}

.area-edit-card .area-edit-day-badge.active {
    background-color: #1565c0 !important;
    border-color: #1565c0 !important;
    color: #fff !important;
    font-weight: 500;
}

.area-edit-card .area-edit-footer {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.area-edit-card .btn-area-edit-cancel {
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 12px !important;
    font-size: 11.5px !important;
    color: #616161 !important;
    background: transparent !important;
    border-radius: 4px !important;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    transition: all 0.15s;
}

.area-edit-card .btn-area-edit-cancel:hover {
    background: #f5f5f5 !important;
    color: #333 !important;
}

.area-edit-card .btn-area-edit-save {
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 14px !important;
    font-size: 11.5px !important;
    color: #fff !important;
    background: #1565c0 !important;
    border-radius: 4px !important;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    border: none;
    transition: all 0.15s;
}

.area-edit-card .btn-area-edit-save:hover {
    background: #0d47a1 !important;
}
/*#endregion area-edit-card*/

/*#region areas-bulk-actions*/
.areas-subbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.areas-bulk-actions-wrapper {
    position: relative;
    display: inline-block;
}

.btn-areas-bulk-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    height: 24px !important;
    line-height: 24px !important;
    padding: 0 8px !important;
    font-size: 11.5px !important;
    color: #424242 !important;
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    user-select: none !important;
    box-shadow: none !important;
}

.btn-areas-bulk-actions:hover {
    background: #f5f5f5 !important;
    border-color: #999 !important;
    color: #1565c0 !important;
}

.btn-areas-bulk-actions.active {
    background: #e3f2fd !important;
    border-color: #1565c0 !important;
    color: #1565c0 !important;
}

.areas-bulk-actions-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 175px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    direction: rtl;
    padding: 4px 0;
    overflow: hidden;
}

.bulk-action-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 12px !important;
    font-size: 11.5px !important;
    color: #333 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.12s ease !important;
}

.bulk-action-item:hover {
    background: #f0f7ff !important;
}

.bulk-action-item.delete-item:hover {
    background: #ffebee !important;
}

.bulk-action-item i {
    font-size: 16px !important;
    line-height: 1 !important;
}

.bulk-action-item.delete-item {
    color: #d32f2f !important;
}

.bulk-action-divider {
    height: 1px;
    background: #eee;
    margin: 4px 0;
}
/*#endregion areas-bulk-actions*/

/*#region area-status-badge*/
.area-status-badge {
    font-size: 10.5px;
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 500;
    line-height: 1.4;
    user-select: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.area-status-badge.active {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.area-status-badge.inactive {
    background-color: #f5f5f5;
    color: #757575;
    border: 1px solid #e0e0e0;
}
/*#endregion area-status-badge*/




/*#endregion map*/
/*#region animate*/

@keyframes spinner-border {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spinner-border-button-after {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}
/*#endregion animate*/


.collection-header.collection-header-btn {
    position: relative;
    overflow: visible;
}

.close-notify {
    margin: 2px;
    padding: 0;
    height: 1.3rem;
    line-height: 1.3rem;
    width: 1.3rem;
    font-size: 1.3rem;
    text-align: center;
}

.card.company-info {
    background-color: #333D51 !important;
    color: white;
    text-align: center;
    line-height: 60px;
    font-weight: bolder;
}

.h150 {
    max-height: 150px;
    overflow-y: auto;
}

.h300{
    max-height: 200px;
    overflow-y: auto;
}

.f10 {
    font-size: 13px
}

.distributor_menu{
     -webkit-filter: blur(1px)
}
.request-accept_status{
    font-size: 11px;
    padding: 0px 2px;
    width: 14px;
    height: 14px;
    text-align: center;
    border-radius: 50%;
}

.request-item {
    position: relative;
}

.request-item::after{
    content: "";
    position: absolute;
    right: 0;
    height: 30px;
    top: 4px;
    bottom: 0;
    width: 4.5px;
    border-radius: 10px;
}


.small-route-action-style::before {
    width: 310px !important;
}

.request-item.request-orange::after{
    background-color:#ff9800;
}
.request-item.request-green::after{
    background-color: #4CAF50 ;
}

.request-item.request-red::after{
    background-color: #f44336;
}



.mt-12{
    margin-top:12px !important;
}
.report-date label{
    padding-right: 14px;
}

.mb-16{
    margin-bottom: 16px;
}
.unavailable-reason-title{
    font-size: 20px;
    margin-bottom: 10px;
    color: #1b1313;
}
.unavailablereason-item{
    flex-grow: 1;
}
.grey-circle {
    font-size: 0.8rem;
    border-radius: 2px;
    font-weight: 700;
}
.f-12 {
    font-size: 12px;

}
.custum-icon-size{
    width:35px ;
    height:35px ;
    margin-right:2px ;
}

.version-box{
    text-align: center;
    color: #888682;
}
.btn-areas-area-capacity{
    width: 100%;
}
.pt-5{
    padding-top: 5px !important;
}
.area-capacity-circle-box{
    min-height: 100px;
    padding-top: 21px;
}

.warning_vehicle_area{
    font-size: 20px !important;
    color: orange !important;
}
.request-reason{
    margin-top: 7px;
    margin-bottom: 7px;
    border-bottom: 1px solid gray;
    padding: 1px 0 5px 0;
}

.request-reason span.request-reason-title{
    font-size: 12px;
    text-align: justify;
    background-color: red;
    color: white;
    margin-right: 2px;
}

p.request-reason-desc {
    margin-right: 2px !important;
}

.request-reason span.request-reason-desc{
    font-size: 10px;
    text-align: justify;

}


#vehicle_start_time_modal {
    padding-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

#vehicle_start_time_modal > * {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    
}

#vehicle_start_time_modal i {
        display: none !important;
}
        
#vehicle_start_time_modal input::placeholder {
    font-size: 12px !important;
    
}

.location_marker_map {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: #c30b82;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    
  }
  .location_marker_map::after {
      content: '';
      width: 24px;
      height: 24px;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      position: absolute;
      border-radius: 50%;
   }
  
  .location_marker_map_icon i {
     position: absolute;
     width: 24px;
     font-size: 20px;
     left: 0;
     right: 0;
     margin: 10px auto;
     text-align: center;
  }

  .location_marker_map_icon span {
    position: absolute;
    font-size: 16px;
    text-align: center;
    z-index: 9999;
    transform: rotate(45deg) translate(-50%, -50%);
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    margin: 20px 0;
 }


  .card_description_customer {
    padding: 2px 5px;
  }


  .card_description_customer span{
    font-size: 12px;
  }



  .customer_description {
      background-color: rgba(255,255,255,1);
      box-shadow: 0 0 4px 1px rgba(0, 0, 0, .1);
      border-radius: 2px;
      padding: 1px 8px !important;
      margin-top: 10px;
      width: 100%;
    }

.location_popup_content {
      background-color: rgba(255,255,255,0.3) !important;

  }
  
  .customer_description h2{
    font-size: 18px;
    font-weight: 500;
  }


  .customer_description p{
    font-size: 13px;
  }


  .driver_description h2{
    font-size: 12px;
    display: inline;
    padding: 2px 3px;
    color: white;
    background-color: #478CCF;
    font-weight: 500;
  }
  .driver_description p{
    font-size: 11px;
    margin-top: -2px;
  }


  @keyframes blindAnimate {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100%{
        opacity: 1;
    }
  }


  .tracker_circle_icon {
        width: 33px;
        height: 33px;
        display: flex;
        align-items:  center;
        justify-content:  center;
        border-radius: 50%;
        padding: 5px;
        color:white;
        position: relative;
        outline: 2px solid white;
        outline-offset: -3px;
        animation: 2s ease-in 1s infinite both blindAnimate;
}   

.tracker_circle_icon i{
    width: 20px;
    height: 20px;
    background: inherit;
    color:white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    right: unset;
} 



.tracker_icon_indicator {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.tracker_icon_indicator::after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    top: 5px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -5;
    background-color: inherit;
    transition: transform 0.5s ease;
}
  

  
  .select-wrapper + label {
    font-size: 12px !important;
    color: rgb(119, 119, 119) !important;
    font-weight: 400 !important;
}

.select-wrapper > input {
    font-size: 13px !important;
  }


  .track_icon_info{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-family: Vazir;
  }

  .track_icon_info--name{
    font-size: 20px;
    font-weight: 600;
    color:rgba(0, 0, 0, .6)
  }

  .track_icon_info--time{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 500;
    gap: 5px;
    color:rgba(0, 0, 0, .4)
  }
  .track_icon_info--time:last-child {
    font-size: 12px;
    font-weight: 200;
    text-wrap: nowrap;
  }
@keyframes stopBlind {
    0% { opacity: 1; transform: scale(1);}
    50%{opacity: 0.3; transform: scale(1.2);}
    100% {opacity: 1; transform: scale(0.8)}
}

.stop-blind {
    animation: 2s ease-in infinite forwards stopBlind;
}


.log_action_button {
    /* position: absolute; */
    /* bottom: 0; */
    /* left: 0; */
    /* right: 0; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    gap: 4px;
}

.log_action_button a {
    flex: 1;
}


.log-card{
 padding: 5px 6px;
border-radius: 5px;
    margin: 10px 0;

}

.log-title {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
    
}

.log-header {
    display: flex;
    align-items: center;
    gap:5px;
    justify-content: start;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    padding: 10px;
}

.log-card p {
    line-height: 1.2rem;
    margin: 0;
    padding: 2px 0;
    font-size: 14px;
}


.log-card.edit {
    background-color: oklch(74.581% 0.1803 56.766 / 0.07);
    color: oklch(55.3% 0.195 38.402);
    border:1px dashed oklch(55.3% 0.195 38.402);
}
.log-card.create {
    background-color: oklch(58.8% 0.158 241.966 / 0.07);
    color: oklch(29.3% 0.066 243.157);
    border:1px dashed oklch(29.3% 0.066 243.157);
}
.log-card.delete {
    background-color: oklab(65.391% 0.19986 0.09683 / 0.07);
    color: oklch(65.391% 0.19986 0.09683);
    border:1px solid oklch(65.391% 0.19986 0.09683);
}


.log_action_button a.disabled {
    background-color: gray;
}



.regionInfo {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 0;
    bottom:0;
    z-index: 9999999;
    background: #f00
}



 table.info {
            border-collapse: separate;
            border-spacing: 0;
            width: 100%;
            background: white;
            overflow: hidden;
            position: absolute;
            font-family: 'vazir';
            right: 0;
            bottom: 0;
            z-index: 9999999;
            max-width: 500px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        table.info thead {
            background: linear-gradient(135deg, #4a6cf7 0%, #3a56e0 100%);
            color: white;
        }
        
        table.info thead th {
            padding: 5px 2px;
            font-weight: 600;
            font-size: 16px;
            text-align: center;
            border: none;
            position: relative;
        }
                
        table.info thead th:last-child:after {
            display: none;
        }
        
        table.info tbody th {
            padding: 6px 7px;
            text-align: right;
            font-weight: 500;
            color: #495057;
            border-bottom: 1px solid #edf2f7;
            background: rgba(248, 249, 252, 0.7);
            transition: all 0.3s ease;
            border-radius: 0 !important;
        }
        
        table.info tbody td {
            padding: 6px 5px;
            text-align: center;
            font-weight: 500;
            color: #495057;
            border-bottom: 1px solid #edf2f7;
            transition: all 0.3s ease;
            border-radius: 0 !important;
        }
        
        table.info tbody tr {
            transition: all 0.2s ease;
            border-radius: 0 !important;
        }
        
        table.info tfoot {
            background: #f8f9fc;
        }
        
        table.info tfoot th {
            padding: 5px 6px;
            text-align: right;
            font-weight: 600;
            color: #3a56e0;
            border-top: 2px dashed #dbe4ff;
        }
        
        table.info tfoot td {
            padding: 6px 5px;
            text-align: center;
            font-weight: 600;
            color: #3a56e0;
            border-top: 2px dashed #dbe4ff;
        }


        .red-lines {
            background-color: rgba(0, 128, 0, 0.24);
        }
        .green-lines {
            background-color: rgba(128, 0, 0, 0.24);
        }


.center-point-popup {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap:15px;
    justify-content: space-between;
    padding: 4px 0px;
    font-family: 'vazir';
}



.center-point-popup span {
    text-align: right;
}


.center-point-popup a {
    flex-shrink: 0;
}


.chip-vehicle-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.vehicle_chip {
    max-width: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.view-name-vehicle,
.view-name-dist
{
    cursor: pointer;
}

.branches-search-input {
    border: none !important;
    outline: none !important;
    height: 25px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.remove-unassign-locations-info {
    position: absolute;
    right: -210%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: none !important;   
    width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
    display: flex;
    align-items: center;
    justify-content: center;
   
}
.remove-unassign-locations-info i{
    background-color: white;
    border-radius: 4px;
    border: 2px solid rgba(0, 0, 0, 0.2);
     width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
    }




    .badge-edited{
        border-radius:3px;
        font-size: 10px !important;
        font-style: italic;

    }