body,
html {
    line-height: 1.8;
    font-family: 'Overpass', sans-serif;
    color: #726B6B;
    background-color: #FFF;
    text-transform: capitalize;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    font-weight: 400;
    margin: 0px;
    padding: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4 {
    font-weight: 400;
    line-height: 1.5em;
    color: #241549;
}

p {
    font-size: 15px;
    line-height: 24px;
    color: #726B6B;
}

a {
    color: #333;
    font-weight: 400;
}

button:focus {
    box-shadow: none;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    outline: 0;
    border: 0;
}

ul,
ol {
    padding: 0;
    margin: 0px;
    list-style: none;
}

a,
a:hover,
a:focus {
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://example.com/MaterialIcons-Regular.eot);
    /* For IE6-8 */
    src: local('Material Icons'), local('MaterialIcons-Regular'), url(https://example.com/MaterialIcons-Regular.woff2) format('woff2'), url(https://example.com/MaterialIcons-Regular.woff) format('woff'), url(https://example.com/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

.wrapper {
    position: relative;
    width: 100%;
    overflow: auto;
}


/* ---------------------------------------------------
    SIDEBAR STYLE start
----------------------------------------------------- */

#sidebar {
    position: fixed;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 11;
    width: 260px;
    overflow: auto;
    transition: all 0.3s;
    background: rgb(198, 172, 152);
    background: linear-gradient(180deg, #273C9333 0%, #CBD0E6 100%);
    box-shadow: 0 10px 30px -12px rgb(0 0 0 / 42%), 0 4px 25px 0px rgb(0 0 0 / 12%), 0 8px 10px -5px rgb(0 0 0 / 20%);
}

#sidebar ul li img {
    margin-right: 8px;
    color:#fff;
}

#sidebar ul li a svg {
    margin-right: 8px;
    color:#ffffff;
}

#sidebar.active ul li img {
    margin-right: 0px;
}

#sidebar::-webkit-scrollbar {
    width: 5px;
    border-radius: 10px;
    background-color: #eee;
    display: none;
}

#sidebar::-webkit-scrollbar-thumbs {
    width: 5px;
    border-radius: 10px;
    background-color: #333;
    display: none;
}

#sidebar:hover::-webkit-scrollbar {
    display: block;
}

#sidebar:hover::-webkit-scrollbar-thumbs {
    display: block;
}

#sidebar .sidebar-header {
    padding: 5px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.sidebar-header h3 {
    color: #333;
    font-size: 17px;
    margin: 0px;
    text-transform: uppercase;
    transition: all 0.5s ease;
    font-weight: 600;
}

.sidebar-header h3 img {
    width: 45px;
    margin-right: 10px;
}

#sidebar ul li {
    padding: 2px 7px;
}

#sidebar.active .sidebar-header {
    padding: 20px 5px;
}

#sidebar ul li.active>a {
    color: #333;
    background-color: rgba(200, 200, 200, 0.2);
}

#sidebar ul li a:hover {
    color: #333;
    background-color: rgba(200, 200, 200, 0.2);
}

.dropdown-toggle::after {
    position: absolute;
    right: 10px;
    top: 23px;
}

#sidebar ul li.drodown {
    position: sticky;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 10px;
    line-height: 30px;
    border-radius: 5px;
    font-size: 16px;
    position: relative;
    font-weight: 500;
    display: block;
}

#sidebar ul li a span {
    text-transform: capitalize;
    display: inline-block;
}

#sidebar ul li a i {
    position: relative;
    margin-right: 10px;
    top: 5px;
    color: #555555;
    margin-left: 10px;
}


/* ---------------------------------------------------
   sidebar end
----------------------------------------------------- */


/*=======================================================
   main-content navbar-design start
   ===============================================*/

#content {
    position: relative;
    transition: all 0.3s;
    background-color: #fff;
}

.top-navbar {
    width: 100%;
    z-index: 9;
    position: relative;
}

.main-content {
    padding: 10px 20px 0px 20px;
    position: relative;
    width: 100%;
    height: 100vh;
}

.navbar {
    color: #FFFFFF;
    background: rgb(198, 172, 152);
    background: linear-gradient(180deg, #273C9333 0%, #CBD0E6 100%);
}

.navbar-brand {
    color: #FFFFFF;
}

.navbar button {
    background-color: transparent;
    border: none;
}

.navbar button span {
    color: #fff;
}

#sidebarCollapse {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    margin-right: 20px;
    border: none;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.09);
}

#sidebarCollapse span {
    margin: 9px;
    padding: 0px;
}

.navbar-nav>li.active {
    color: #FFFFFF;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.08);
}

.navbar-nav>li>a {
    color: #241549;
}

.navbar .notification {
    position: absolute;
    top: 5px;
    right: 10px;
    display: block;
    font-size: 9px;
    border: 0px;
    font-size: 10px;
    background: #72655b;
    min-width: 15px;
    text-align: center;
    padding: 1px 5px;
    height: 16px;
    border-radius: 50%;
    line-height: 16px;
}

.navbar-nav>li.show .dropdown-menu {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li>a {
    font-size: 13px;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 2px;
    font-weight: 400;
    transition: all 150ms linear;
}

.navbar-nav>.active>a:focus {
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.08);
}

.navbar-nav li a {
    position: relative;
    display: block;
    padding: 10px 15px!important;
}


/*=======================================================
   main-content navbar-design end
   ===============================================*/


/*=======================================================
   main-content navbar-design start
   ===============================================*/


/*=======================================================
   main-content inner design like card start
   ===============================================*/

.card {
    margin: 10px 0;
}

.card {
    border-radius: 0px!important;
}

.card {
    display: inline-block;
    position: relative;
    border: none!important;
    width: 100%;
    margin: 15px 0;
    box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
    border-radius: 6px;
    color: rgba(0, 0, 0, 0.87);
    background: #fff;
}

.card-stats .card-header {
    float: left;
    text-align: center;
}

.card .card-header {
    padding: 15px 20px 0;
    z-index: 3;
    background-color: #fff!important;
    border-bottom: none;
}

.card .card-footer .stats .material-icons {
    position: relative;
    top: 4px;
    font-size: 16px;
}

.card-stats .card-header span {
    font-size: 36px;
    line-height: 56px;
    width: 56px;
    height: 56px;
}

.icon.icon-warning {
    color: #ff9800;
}

.icon.icon-rose {
    color: #e91e63;
}

.icon.icon-success {
    color: #4caf50;
}

.icon.icon-info {
    color: #00bcd4;
}

.card .card-footer {
    margin: 0 7px 0px;
    padding-top: 10px;
    background-color: #fff;
    border-top: 1px solid #eeeeee;
}

.text-info {
    color: #03A9F4!important;
}

.card-stats .card-content {
    text-align: right;
    padding-top: 10px;
}

.card .card-content {
    padding: 15px 20px;
    position: relative;
}

.card .card-content .category {
    margin-bottom: 0;
}

.card .category:not([class*="text-"]) {
    color: #241549;
    font-size: 14px;
    font-weight: 400;
}

.card .card-title:not(.card-calendar .card-title) {
    margin-top: 0;
    margin-bottom: 5px;
}

.card-stats .card-title {
    margin: 0 !important;
    text-align: left;
}

.card .card-footer .stats {
    line-height: 22px;
    color: #555555;
    font-size: 15px;
}

.card .card-footer div {
    display: inline-block;
}

.card .card-header-text h4 {
    margin-top: 0;
    margin-bottom: 3px;
    font-size: 19px;
    font-weight: 400;
    color: #222222;
    text-decoration: none;
}

.table>thead>tr>th {
    border-bottom-width: 1px;
    font-size: 16px;
    font-weight: 400;
}

.card .card-content {
    padding: 15px 20px;
    position: relative;
}

.streamline .sl-primary {
    border-left-color: #188ae2;
}

.streamline .sl-item {
    position: relative;
    padding-bottom: 12px;
    border-left: 1px solid #ccc;
}

.streamline .sl-item:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    background-color: #ccc;
    width: 12px;
    height: 12px;
    border-radius: 100%;
}

.streamline .sl-primary:before,
.streamline .sl-primary:last-child:after {
    background-color: #188ae2;
}

.streamline .sl-danger:before,
.streamline .sl-danger:last-child:after {
    background-color: #ff5b5b;
}

.streamline .sl-success {
    border-left-color: #10c469;
}

.streamline .sl-success:before,
.streamline .sl-success:last-child:after {
    background-color: #10c469;
}

.streamline .sl-warning {
    border-left-color: #f9c851;
}

.streamline .sl-warning:before,
.streamline .sl-warning:last-child:after {
    background-color: #f9c851;
}

.streamline .sl-danger {
    border-left-color: #ff5b5b;
}

.streamline .sl-item .sl-content {
    margin-left: 24px;
}

.streamline .sl-item .text-muted {
    color: inherit;
    opacity: .6;
    font-size: 12px;
}

.streamline .sl-item p {
    font-size: 14px;
    color: #333;
}


/*=======================================================
   main-content inner design like card end
   ===============================================*/


/*=============================================
  footer design start
  =========================================*/

.footer {
    border-top: 1px solid #e7e7e7;
}

footer {
    padding: 10px 0;
    position: relative;
    width: 100%;
}

footer ul li {
    display: inline-block;
}

footer ul li a {
    color: inherit;
    padding: 15px;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 3px;
    text-decoration: none;
    position: relative;
    display: block;
}

footer .copyright {
    padding: 15px;
    font-size: 14px;
    margin: 0;
}


/*=============================================
  footer design end
  =========================================*/

#sidebar.show-nav,
.body-overlay.show-nav {
    transform: translatex(0%);
    opacity: 1;
    display: block;
    visibility: visible;
    z-index: 15;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media only screen and (min-width:992px) {
    #sidebar.active {
        width: 80px;
        height: 1000px;
        position: absolute!important;
        overflow: visible!important;
        top: 0!important;
        z-index: 666;
        /* float: left!important; */
        bottom: 0!important;
        text-align: center;
    }
    #sidebar.active .sidebar-header h3 span {
        display: none;
        transition: all 0.5s ease;
    }
    #sidebar.active ul li a span {
        display: none;
        transition: all 0.5s ease;
    }
    #sidebar.active .dropdown-toggle::after {
        display: none;
        transition: all 0.5s ease;
    }
    #content {
        width: calc(100% - 260px);
        position: relative;
        float: right;
        transition: all 0.3s;
        background-color: #fff;
    }
    #content.active {
        width: calc(100% - 80px);
    }
    #sidebar.active .menu {
        position: absolute;
        left: 81px;
        background-color: white;
        width: 180px;
        height: auto;
        margin: 5px 0;
        top: 0;
        border: 1px solid #dcd9d9;
        z-index: 4;
    }
}

@media only screen and (min-width:992px) {
    .dropdown-menu {
        border: 0;
        box-shadow: 0 2px 5px 0 rgb(0 0 0 / 26%);
        transform: translate3d(0, -20px, 0);
        visibility: hidden;
        transition: all 150ms linear;
        display: block;
        min-width: 15rem;
        right: 0;
        left: auto;
        opacity: 0;
    }
}


/*===============small-screen overlay sidebar design media queries==============*/

@media only screen and (max-width:992px) {
    #sidebar {
        position: fixed;
        height:100%;
        top: 0;
        bottom: 0;
        z-index: 10;
        width: 260px;
        transform: translatex(-100%);
        transition: all 150ms linear;
        box-shadow: none!important;
    }
    .body-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        visibility: hidden;
        opacity: 0;
        z-index: 3;
        transition: all 150ms linear;
        background-color: rgba(0, 0, 0, 0.5);
    }
}


/*=======================================================
   Map Details
   ===============================================*/

.cx-main {
    height: calc(100vh - 70px);
    padding: 0;
}

.cx-map-outer {
    width: 100%;
    height: 100%;
    position: relative;
}

#cx-map {
    margin-right: 400px;
    transition: all .5s;
}

.cx-map-outer.cx-margin #cx-map {
    margin-right: 0;
}

.cx-tdetails {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #FAF5F5;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, .05);
    width: 400px;
    height: 100%;
    padding: 20px;
    overflow-y: auto;
    transition: all .5s;
}

.cx-tdetails.cx-toggle {
    right: -400px;
}

.cx-tdetails.cx-tdetails-small {
    display: none;
}

.cx-tdetails-card {
    background: #FCF9F9;
    padding: 20px;
    box-shadow: 0 4px 16px 0 rgba(142, 48, 50, .05);
    border-radius: 10px;
    margin-bottom: 20px;
}

.cx-tdetails-card:nth-last-child(1) {
    margin-bottom: 0;
}

.cx-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cx-title h4 {
    text-transform: uppercase;
    font-size: 14px;
    color: #8E3032;
    margin: 0;
}

button.cx-trans-btn {
    background: transparent;
    border: 0px solid transparent;
    padding: 0;
}

.cx-route {
    padding-bottom: 10px;
    border-bottom: 1px solid #EFEFEF;
}

.cx-route li {
    position: relative;
    padding-left: 25px;
}

.cx-route li img {
    position: absolute;
    top: 8px;
    left: 0;
}

.cx-route li p {
    margin-bottom: 10px;
}

.cx-route li img.cx-line {
    top: 27px;
    left: 3px;
}

.cx-route li label {
    color: #BAB3B3;
    margin-bottom: 0;
}

.cx-detail-list {
    padding: 20px 0;
}

.cx-detail-list li label {
    font-size: 14px;
}

.cx-detail-list li {
    display: flex;
    justify-content: space-between;
}

.cx-detail-list li strong {
    font-size: 14px;
    color: #190808;
    text-align: right;
}

.cx-status {
    width: 220px;
    text-align: center;
    border-radius: 50px;
    padding: 5px 0;
}

.cx-status.cx-safe {
    background: rgba(0, 149, 0, .03);
    border: 1px solid rgba(0, 149, 0, .5);
    color: #009500;
    font-weight: bold;
}

.cx-status.cx-enroute {
    background: rgba(255, 78, 0, .03);
    border: 1px solid rgba(255, 78, 0, .5);
    color: #FF4E00;
    font-weight: bold;
}

.cx-mark {
    width: 78px;
    height: 78px;
}

.cx-home {
    width: 120px;
}

.cx-panic {
    width: 120px;
}

.cx-panic-notes {
    display: none;
}

.cx-panic-notes p {
    text-align: center;
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 20px;
}

.cx-dtoggler {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 399px;
    margin: auto;
    transition: all .5s;
    height: 120px;
}

.cx-dtoggler.cx-toggle {
    right: 0;
}

.cx-ndriver span {
    margin-left: 12px;
}

.cx-toggler-img {
    position: relative;
}

.cx-toggle-arrow {
    position: absolute;
    top: -5px;
    left: 20px;
    right: 0;
    bottom: 0;
    margin: auto;
    transition: all .5s;
}

.cx-dtoggler.cx-toggle .cx-toggle-arrow {
    transform: rotate(180deg);
}

#cx-map {
    height: calc(100vh - 70px);
}

.cx-trip-btns .cx-dtoggler-sm {
    display: none;
}


/* Modal */

#cx-report-modal .modal-content {
    border-radius: 15px;
    border: 0;
}

#cx-report-modal .modal-header {
    justify-content: center;
    border-bottom: 1px solid #e9ecef;
}

#cx-report-modal .modal-header h5 {
    font-size: 14px;
    font-weight: bold;
    color: #8E3032;
}

#cx-report-modal .modal-footer {
    justify-content: center;
    border-top: 0;
    padding: 30px;
    padding-bottom: 0;
}

#cx-report-modal .modal-footer button {
    margin: 7px 10px;
    margin-top: 0;
}

.cx-btn {
    background: #EA5356;
    color: #ffffff;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50px;
    width: 100px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cx-btn.cx-btn-border {
    border: 1px solid #EA5356;
    background: transparent;
    color: #EA5356;
}

#cx-report-modal .modal-body {
    padding: 30px;
}

#cx-report-modal .modal-body textarea {
    background: #F3F3F3;
    border-radius: 15px;
    height: 100px;
}

#cx-report-modal .modal-body .form-group {
    margin-bottom: 0;
}

#cx-report-modal .modal-body h4 {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
}


/* Route Modal */

#cx-route-modal .modal-content {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    width: 450px;
    height: 100%;
    border: 0;
    border-radius: 0;
}

#cx-route-modal .modal-dialog {
    position: relative;
    transform: translate(0);
    margin: 0;
    width: 100%;
}

#cx-route-modal .modal-header h5 {
    font-size: 14px;
    font-weight: bold;
    color: #8E3032;
}

.cx-route-list li {
    position: relative;
    padding-left: 40px;
}

.cx-route-list li h4 {
    font-size: 16px;
    margin: 0;
}

.cx-route-list li p {
    font-size: 12px;
    margin-bottom: 30px;
}

.cx-route-list li::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #AF0000;
    outline: #F7AB5D solid 6px;
}

.cx-route-list li.ncx-reached::before {
    top: 7px;
    background: #BAB3B3;
    outline: #F7AB5D solid 0;
}

.cx-route-list li svg {
    position: absolute;
    top: 32px;
    left: 13px;
}

.cx-route-list li.cx-nreached svg #ic_colored_dots g path {
    fill: #BAB3B3;
}

.cx-route-list li:nth-last-child(1) svg {
    display: none;
}


/* ---------------------------------------------------
 MEDIAQUERIES
----------------------------------------------------- */

@media (min-width: 576px) {
    #cx-route-modal .modal-dialog {
        max-width: 100%;
        margin: 0;
    }
    #cx-route-modal .modal-dialog-centered {
        min-height: 100%;
    }
}

@media only screen and (min-width:992px) {
    #sidebar.active {
        width: 80px;
        height: 1000px;
        position: absolute!important;
        overflow: visible!important;
        top: 0!important;
        z-index: 666;
        /* float: left!important; */
        bottom: 0!important;
        text-align: center;
    }
    #sidebar.active .sidebar-header h3 span {
        display: none;
        transition: all 0.5s ease;
    }
    #sidebar.active ul li a span {
        display: none;
        transition: all 0.5s ease;
    }
    #sidebar.active .dropdown-toggle::after {
        display: none;
        transition: all 0.5s ease;
    }
    #content {
        width: calc(100% - 260px);
        position: relative;
        float: right;
        transition: all 0.3s;
        background-color: #fff;
    }
    #content.active {
        width: calc(100% - 80px);
    }
    #sidebar.active .menu {
        position: absolute;
        left: 81px;
        background-color: white;
        width: 180px;
        height: auto;
        margin: 5px 0;
        top: 0;
        border: 1px solid #dcd9d9;
        z-index: 4;
    }
}

@media only screen and (min-width:992px) {
    .dropdown-menu {
        border: 0;
        box-shadow: 0 2px 5px 0 rgb(0 0 0 / 26%);
        transform: translate3d(0, -20px, 0);
        visibility: hidden;
        transition: all 150ms linear;
        display: block;
        min-width: 15rem;
        right: 0;
        left: auto;
        opacity: 0;
    }
}


/*===============small-screen overlay sidebar design media queries==============*/

@media only screen and (max-width:992px) {
    #sidebar {
        position: fixed;
        height:100%;
        top: 0;
        bottom: 0;
        z-index: 10;
        width: 260px;
        transform: translatex(-100%);
        transition: all 150ms linear;
        box-shadow: none!important;
    }
    .body-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        visibility: hidden;
        opacity: 0;
        z-index: 3;
        transition: all 150ms linear;
        background-color: rgba(0, 0, 0, 0.5);
    }
    .cx-tdetails {
        display: block;
        right: 0;
        left: 0;
        margin: 0;
        top: unset;
        bottom: 0;
        width: 100%;
        height: 215px;
        overflow-y: hidden;
    }
    .cx-trip-btns .cx-dtoggler-sm {
        margin-left: 10px;
        display: inline-block;
    }
    .cx-tdetails.cx-toggle-sm {
        height: 100%;
        overflow-y: auto;
    }
    .cx-dtoggler {
        display: none;
    }
    .cx-dtoggler-sm.cx-toggle {
        transform: rotate(180deg);
    }
    #cx-map {
        margin-right: 0;
        height: calc(100vh - 285px);
    }
}