a:hover,
a:focus,
a:active {
    text-decoration: none;
}

.toggle-btn {
    display: inline-block;
}

.toggle-btn__inner {}

.toggle-btn .toggle-btn__text-active {
    display: none;
}

.toggle-btn.toggle-btn--active .toggle-btn__text-active {
    display: inline;
}

.toggle-btn.toggle-btn--active .toggle-btn__text {
    display: none;
}

.toggle-btn__text,
.toggle-btn__text-active {
    line-height: 30px;
    text-transform: uppercase;
    margin-left: 15px;
}

.toggle-btn__control {
    /*background: url(/images/icons/toggle-btn.png);*/
    background-size: cover;
    background-repeat: no-repeat;
    height: 17px;
    width: 29px;
    cursor: pointer;
    display: inline-block;
    fill: #fff;
}

.toggle-btn.toggle-btn--active .toggle-btn__control {
    /*background-image: url(/images/icons/toggle-btn.png);*/
    transform: rotate(180deg);
}

.route-switch-btns a {
    height: 30px;
    float: left;
    text-transform: uppercase;
    font-size: 12px;
    padding: 0 8px;
    line-height: 25px;
    display: inline-block;
    text-decoration: none;
    color: #fff;
}

.route-switch-btns svg {
    height: 30px;
    fill: white
}

.route-switch-btns>a.is-active {
    background: rgba(0, 0, 0, .3);
}

.route-panel__header {
    padding-left: 15px;
    overflow: hidden;
    padding: 0px 15px;
    background: #1b64b0;
    color: #fff;
    display: flex;
    justify-content: space-between;
}
.action-group {
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.action-group > * {
    margin-right: 10px;
}
.action-group button {
    color: #333;
    border: 1px solid #333;
    border-radius: 3px;
}
.toggle-btn__inner {
    display: flex;
    align-items: center;
}

.route-left-layout {
    position: absolute;
    padding-left: 15px;
    width: 214px;
    line-height: 24px;
    z-index: 2;
    background: #1b64b0;
    border-right: solid 1px #fff;
}

.long-haul .route-left-layout {
    padding: 0;
    width: 215px;
}

.route-tile--store.route-tile--locked {
    background: #bee3c0;
}

.route-tile--store.route-tile--loading {
    border: 1px solid #ff5a5a;
    color: #ff5a5a;
}

.route-timeline {
    background: #18497c;
}

.route-left-layout.driver {
    padding-left: 5px;
}

.route-tile {
    display: flex;
    align-items: center;
}

.route-tile--feature::after {
    position: absolute;
    height: 100px;
    width: 19px;
    /* background: transparent; */
    border-width: 1px 1px 1px 0;
    border-style: dashed;
    border-color: #388e3c;
    content: "";
    display: block;
    right: 10px;
    bottom: 50%;
    /* width: 10px; */
}

.routes--actual .route-tile--feature::after {
    height: 140px;
}

.route-tile--between {
    justify-content: space-between;
}

.route-tile__item+.route-tile__item {
    margin-left: 16px;
}

.route__left--driver .route-tile__item+.route-tile__item {
    margin-left: 7px;
}

.unlock {
    background-image: url(/images/icons/unlock-white.png);
    width: 15px;
    height: 15px;
}

.unlock--black {
    background-image: url(/images/icons/unlock-black.png);
}

.eye {
    background-image: url(/images/icons/white-eye.png);
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center center;
}

.eye--active {
    color: #343e4c;
}

.eye--deactive {
    color: #a3a3a3;
}

.truck-icon {
    width: 32px;
    height: 25px;
    fill: #343e4c;
    cursor: pointer;
}

.time-container {
    margin-left: 215px;
    white-space: nowrap;
    font-size: 0;
}

.long-haul .time-container {
    margin-left: auto;
}

.timeline-section {
    margin-left: 215px;
    white-space: nowrap;
    font-size: 0;
}

.timeline-section>div {
    display: inline-block;
    font-size: 18px;
}

.time-line-day {
    background: #18497c;
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    position: relative;
    /*box-shadow: -1px 0 1px #262a2f;*/
    text-indent: 10px;
    display: flex;
    justify-content: space-around;
}

.time-line-day>span {
    /* position: absolute; */
}

.time-index {
    width: 100px;
    font-size: 13px;
    padding: 3px 0;
    display: inline-block;
    background: #1b64b0;
}

.long-haul .time-index {
    /*background: #fff;*/
    /*color: #415065;*/
    padding: 1px 0;
}

.timeline-index {
    font-size: 13px;
    padding: 3px 0;
    display: inline-block;
    background: #18497c;
    border-right: solid 1px #fff;
}

.timeline-index:last-child {
    border-right: unset;
}

.time-index__text {
    display: inline-block;
    float: right;
    transform: translate(50%);
}

.timeline-index__text {
    text-align: center;
}

.time-index:last-child>.time-index__text {
    transform: initial;
}

.long-haul .time-index:last-child>.time-index__text {
    transform: translate(50%)
}

.timeline-title {
    height: 30px;
    line-height: 30px;
    background: #18497c;
    text-align: center;
    box-shadow: 1px 0 #fff;
}

.timeline-vehicle {
    background: #1b64b0;
    /*color: #3b4757;*/
    line-height: 20px;
    text-align: center;
    border-right: 1px solid #415065;
    box-shadow: 1px 0 #ffff;
    text-transform: uppercase;
}

.routes__left {
    padding-left: 15px;
    border-right: 1px solid #ddd;
    width: 214px;
    position: absolute;
    background: #F5F5F5;
    z-index: 10;
    box-shadow: 1px 0 1px #ddd;
}

.route__left--driver {
    padding-left: 5px;
}

. .timeline-bg__item:last-child {
    border-right: 1px solid #d2d2d2;
}

.timeline-bg__day {
    display: inline-block;
}

.route-tile--vehicle {
    height: 100px;
    position: relative;
}
.routes--container > .routes__left > .route-tile{
    height: 80px;
    position: relative;
    border-bottom: 1px solid #d2d2d2;
    padding-left: 10px;
}
.routes--container > .routes__left {
    padding-left: 0;
}
.routes--container .timeline-bg__item {
    height: 80px;
    border-bottom: 1px solid #ebebeb;
}

.routes--actual .route-tile--vehicle {
    margin-bottom: 40px;
}

/*.routes--actual .driver-route-container {
	display: none;
}
.routes--actual .driver-route-container.is-locked {
	display: flex;
}*/

.vehicle {
    max-width: 129px;
    min-width: 65px;
}

.route__left--driver .vehicle {
    width: 120px;
}

.vehicle>p {
    line-height: 18px;
    margin: 0;
    white-space: nowrap;
}

.vehicle__plate {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.routes__main {
    padding-left: 215px;
}

.route {
    position: relative;
}

/*.route.active .driver-route-container.is-locked {
	opacity: 0;
	visibility: hidden;
	transition: all .5 ease-out;
}*/

.driver-route-container.is-locked {
    opacity: 0.5;
}

.driver-route-container {
    position: absolute;
    top: 25px;
    height: 50px;
}

.driver-route-container>.route-tile {
    position: absolute;
    cursor: pointer;
}

.route-tile--source {
    height: 37px;
    background: #FFFFFF;
    border: 1px solid #4a5563;
    /* box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25); */
    border-radius: 3px;
    border-radius: 0.5em;
    position: relative;
    justify-content: space-around;
    padding: 0 3px;
}


.route-tile--inverse {
    background: #FFFFFF;
    border: solid 1px #eeee;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}

.route-tile--source.route-tile--locked,
.route-tile--inverse.route-tile--locked {
    background: #bee3c0;
    border: 1px solid #aaa;
}

.is-highlight .route-tile--source {
    background: #388E3C;
    color: white;
    border-color: #388E3C;
}

.is-highlight .route-tile--inverse {
    background: #388E3C;
    border-color: #388E3C;
}

.is-highlight .big-depot-icon {
    fill: white;
    border-color: #388E3C;
}

.depot_metrics {
    font-size: 14px;
    font-weight: 300;
}

.big-depot-icon {
    height: 25px;
    fill: #343e4c;
    width: 25px;
}

.last-depot-icon {
    height: 17px;
    fill: #343e4c;
    width: 17px;
}

.timeline-bg {
    white-space: nowrap;
    font-size: 0
}

.timeline-bg__item {
    width: 100px;
    height: 100px;
    border-right: 1px solid #ebebeb;
    display: inline-block;
}


.routes--actual .timeline-bg__item {
    height: 140px;
}

.route.active .timeline-bg__item {
    border-bottom: 1px dashed #f59306;
}

.route.active:first-child .timeline-bg__item {
    border-top: 1px dashed #f59306;
}

.route.active .timeline-bg__item:first-child {
    border-left: 1px dashed #f59306;
;
}

.route.hover .timeline-bg__item {
    background-color: #f7debcb3;
    border-right: 1px solid #ccc;
}

.color-tile {
    position: absolute;
    left: 0;
    top: 40px;
    height: 7px;
    width: 100%;
    background: white;
    display: flex;
    border: 1px solid #eee;
}

.color-tile>* {
    width: 33.33%;
}

.color-tile .box {
    width: 20px;
    height: 20px;
    background-size: cover;
    background-position: center center;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: -8px;
}

.color-tile>*:first-child {
    border-radius: 5px 0 0 5px;
}

.color-tile>*:last-child {
    border-radius: 0 5px 5px 0;
}

.color-f.is-active {
    background-color: #03A8F3;
}

.color-a.is-active {
    background-color: #FFB64D;
}

.color-c.is-active {
    background-color: #80C683;
}

.table-striped .locked-order {
    background: #eee;
}

.table-striped>tbody>tr.locked-order {
    background: #eee;
}

.route-box {
    height: 31px;
    width: 31px;
    border-radius: .5em;
    border: 1px solid #4a5563;
    justify-content: space-around;
}

.route-tile--store {
    border: 1px solid #343e4c;
    background: #fff;
    color: #343e4c;
}

.route-tile--rest {
    background-color: #ccc;
    height: 15px;
}

.is-highlight .route-tile--store {
    border: 1px solid #388E3C;
    color: #388E3C;
}

.is-highlight .route-tile--store.route-tile--loading {
    border: 1px solid #ff5a5a;
}

.is-highlight .moved_store.route-tile--store {
    color: #fff;
}

.is-highlight .last-depot-icon {
    fill: #fff;
    border: 1px solid #388E3C;
}

.xdock-as-store {
    width: 17px;
    height: 17px;
    fill: #343e4c;
}

.cross-line {
    position: absolute;
    bottom: 50%;
    width: 100%;
    transform: translateY(4px);
    border-bottom: 7px solid #415065;
    height: 40px;
    border-top: 1px dashed #ccc;
    border-right: 1px dashed #ccc;
    border-left: 1px dashed #ccc;
}

.cross-line--planned {
    border-style: dashed;
}

.cross-line--finalized, .cross-line--locked {
    border-style: solid;
}

.cross-line--oneline {
    border-top: none;
    border-right: none;
    border-left: none;
}

.is-highlight .cross-line {
    border-color: #388E3C;
}

.cross-line__controls {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -13px;
}

.action-box {
    position: absolute;
    width: 100%;
    height: 100px;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #777;
}
.fa-small-left {
    font-size: 0.8em;
    margin-right: 0.3em;
}
.fa-small-right {
    font-size: 0.8em;
    margin-left: 0.5em;
}

.cross-line__controls > * {
    cursor: pointer;
    text-decoration: none;
}

.cross-line__controls>*+* {
    margin-left: 8px;
}

.cross-line__sticker {
    width: 27px;
    height: 27px;
    top: -14px;
    border-radius: .5em;
    justify-content: space-around;
    cursor: pointer;
}

.assigned-driver-icon {
    width: 24px;
    height: 23px;
}

.route-panel__content {
    overflow-y: hidden;
    overflow-x: auto;
}

.routes {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    display: inline-block;
    transition: height .3s ease-out;
}

.route-header-timeline {
    background: #1b64b0;
    color: #fff;
}

.long-haul .routes {
    border-top: 1px solid #ccc;
}

.route-header {
    background: #415065;
    color: #fff;
}

.origin-customer {
    margin-top: 10px;
    display: inline-block;
}

.route-metrics {
    text-transform: uppercase;
    color: #343e4c;
    text-align: center;
    line-height: 1;
    font-size: 10px;
}

.route-metrics>p:first-child {
    margin: 8px 5px 2px;
}

.route-metrics>p:last-child {
    margin: 0 6px 6px;
}

.route-panel__footer {
    padding-left: 15px;
}

.route-panel__footer .route-metrics:first-child {
    margin-left: -9px;
}

.round-btn {
    display: flex;
    align-items: center;
    border-radius: 25px;
    height: 31px;
    padding: 0 15px;
    color: #fff;
    text-decoration: none;
    fill: #fff;
    border-width: 1px;
    border-color: #aaa;
    margin-left: 2px;
    white-space: nowrap;
}

.round-btn:hover {
    color: #fff;
    text-decoration: none;
}

.round-btn[disabled] {
    opacity: 0.3;
}

.btn-icon {
    height: 16px;
    width: 11px;
    margin-right: 10px;
}

.btn--1st {
    background-color: #388E3C;
}

.btn--2nd {
    background-color: #FFB64D;
}

.btn--3rd {
    background-color: #f55e06;
}

.btn--5rd {
    background-color: #FF4444;
}

.optimize-grp > * + * {
    margin-left: 10px;
}

.modal-info {
    position: absolute;
    right: 0;
    top: 0;
    width: 351px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-out;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: none;
}

.modal-info.show {
    visibility: visible;
    opacity: 1;
}

/* .modal-info-depot .modal-info__header{
	color: rgb(27, 100, 176);
	font-weight: bold;
} */

.modal-info__header {
    padding: 9px 16px 9px 15px;
    background: linear-gradient(to right, rgb(27, 100, 176), rgb(27, 100, 176));
    display: flex;
    justify-content: space-between;
    color: white;
}

.modal-info__body {
    background: #fff;
    padding: 20px 2px 20px 15px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-info__body--feature {
    height: calc(100vh - 87px);
    padding: 20px 0 0;
}

.modal-info__body--feature .mt-checkbox,
.mt-radio {
    padding-left: 10px;
}

.modal-info__body--feature .material-icons {
    font-size: 18px;
}

.modal-info__body--feature .btn:not(.md-skip).btn-sm {
    margin-left: 8px;
    margin-bottom: 10px;
    padding: 5px 8px 3px 5px;
}

.modal-info__body--feature .btn:not(.md-skip).btn-sm[disabled] {
    opacity: 0.3;
}

.modal-info__body--feature form {
    padding: 18px 8px;
}

.modal-info__body--feature md-input-container {
    margin: 0;
}

.modal-info__footer {
    padding: 13px 10px 15px 10px;
    background: white;
}

.modal-info__footer .footer_actions {
    padding: 0px 5px 5px 0px;
    text-align: center;
    border-radius: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.modal-info__footer .footer_actions a {
    color: #1b64b0;
    font-size: 15px;
}

.submit-group {
    margin-left: -8px;
    margin-top: 18px;
}

.modal-info__body--feature .fca .btn {
    height: 15px;
}

.modal-info__row {
    font-size: 13px;
    display: table;
}

.modal-info__row>* {
    display: table-cell;
}

.modal-info__row+.modal-info__row {
    margin-top: 16px;
}

.modal_info__label {
    width: 140px;
}

.modal-info__close>img {
    width: 18px;
    height: 18px;
    color: white;
}

.vehicle__name {
    text-transform: capitalize;
    cursor: pointer;
}

.driver-task-container {
    position: absolute;
    top: 92px;
}

.driver-task-container>* {
    position: absolute;
}

.feature-box {
    height: 31px;
    width: 10px;
    background: #18CE0F;
    border-radius: 3px;
    left: 60px;
}

.driver-task-container:before {
    content: "";
    position: absolute;
    top: 14px;
    height: 4px;
    left: 0;
    right: 0;
    background: #6876F3;
}

.origin-list {
    margin-left: 10px;
}

.moved_store {
    background: #388E3C;
    border-color: #388E3C;
    color: #fff;
}

.nav-tabs>li.add-new-tab>a:hover,
.nav-tabs>li.add-new-tab>a:focus {
    background: none;
    border: none;
}

.nav>li>a.tab-closable {
    padding-right: 7px
}

.route-tile--store.route-tile--locked {
    background: #bee3c0;
}

.route-tile--store.route-tile--loading {
    border: 1px solid #ff5a5a;
    color: #ff5a5a
}

/*.route-tile--store.route-tile--loading {
    border: 1px solid #388e3c;
    color: #388e3c;
}*/

.is-highlight .route-tile--loading {
    border: 1px solid #388e3c;
    /*color: #388e3c;*/
}

.store {
    border: 1px solid #ddddff;
    background: #ffffff;
    border-radius: 3px;
    height: 31px;
    display: flex;
    justify-content: center;
    color: #fff;
}

.text-muted[disabled] {
    color: #ccc;
    cursor: default;
}
