:root{
    /* ===== Colors ===== */
    --body-color-home: #E4E9F7;
    --sidebar-color: #FFF;
    --sidebar-color-icon:#145b9c;
    --primary-color-home: #145b9c;
    --primary-color-home-light: #F6F5FF;
    --toggle-color-home: #DDD;
    --text-color-home: #aacfdd;
    --text-color-home-dark: #F6F5FF;
    --background-color-cards:#FFF;

    /* ====== Transition ====== */
    --tran-03: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.3s ease;
    --tran-05: all 0.3s ease;
}
body.dark{
    --body-color-home: #18191a;
    --sidebar-color: #242526;
    --primary-color-home: #941305;
    --toggle-color-home: #fff;
    --text-color-home: #aacfdd;
    --sidebar-color-icon: #aacfdd;
    --background-color-cards:#b0c3c9;
}


.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open>.btn-warning.dropdown-toggle {
    color: #ED8D00;
    border-color: #ED8D00;
}




/* ? Si utilizo */


.dropdown-item:hover{
    width: auto;
}


    /* Google Font Import - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


body{
    height: calc(100%);
    background-color: var(--body-color-home);
    transition: var(--tran-05);
}

.modal-content{
  background-color: var(--background-color-cards);
}


::selection{
    background-color: var(--primary-color-home);
    color: #fff;
}



/* ===== Sidebar ===== */
 .sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100%);
    width: 260px;
    padding: 10px 14px;
    background: var(--sidebar-color);
    transition: var(--tran-05);
    z-index: 100;
}

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

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



/* ===== Reusable code - Here ===== */
.sidebar li{
    height: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.sidebar header .image,
.sidebar .icon{
    min-width: 60px;
    border-radius: 6px;
}

.sidebar .icon{
    min-width: 45px;
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sidebar .text,
.sidebar .icon{
    color: var(--sidebar-color-icon);
    transition: var(--tran-03);
}

.sidebar .text{
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
}


/* =========================== */

.sidebar header{
    position: relative;
}

.sidebar header .image-text{
    display: flex;
    align-items: center;
}
.sidebar header .logo-text{
    display: flex;
    flex-direction: column;
}
header .image-text .name {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 600;
}

header .image-text .profession{
    font-size: 16px;
    margin-top: -2px;
    display: block;
}

.sidebar header .image{
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar header .image img{
    width: 100%;
    border-radius: 6px;
}

.sidebar header .toggle{
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%) rotate(180deg);
    height: 25px;
    width: 25px;
    background-color: var(--primary-color-home);
    color: var(--sidebar-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;

}

body.dark .sidebar header .toggle{
    color: var(--text-color-home);
}



.sidebar .menu{
    margin-top: 0px;
}
#allvehicles{
    width: 26%;

}


.sidebar li.search-box{
    border-radius: 6px;
    background-color: var(--primary-color-home-light);
    cursor: pointer;
    transition: var(--tran-05);
}
.inputsVehicleGroups{
    width: 26%;
    background-color: var(--primary-color-home-light);
}
.vehicleGroups{
    display:none;
    align-items: center;
    z-index: 100;
    position: absolute;
    top: 10px;
    left: 10px;
    border-top-left-radius: 7px;
    align-content: center;
    justify-content: center;
    justify-items: center;
}

.sidebar li.search-box input{
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    background-color: var(--primary-color-home-light);
    color: var(--text-color-home);
    border-radius: 6px;
    font-size: 17px;
    font-weight: 500;
    transition: var(--tran-05);
}
.sidebar li a{
    list-style: none;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    width: 170%;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--tran-03);
}

.sidebar li a:hover{
    background-color: var(--primary-color-home);
    color: var(--text-color-home)!important;
}
.sidebar li a:hover .icon,
.sidebar li a:hover .text{
    color: var(--text-color-home);
}
body.dark .sidebar li a:hover .icon,
body.dark .sidebar li a:hover .text{
    color: var(--text-color-home);
}

.sidebar .menu-bar{
    height: calc(100% - 150px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.menu-bar::-webkit-scrollbar{
    display: none;
}
.sidebar .menu-bar .mode{
    border-radius: 6px;
    background-color: var(--body-color-home);
    position: relative;
    transition: var(--tran-05);
}
/* Side Bar Close */

.sidebar.close{
    height:  calc(100% + 40px);
    width: 85px;
    opacity: 10 !important;
}
.sidebar.close .text{
    opacity: 0;
}
.sidebar.close .menu-clients{
    opacity: 10;
}

.sidebar.close .toggle{
    transform: translateY(-50%) rotate(0deg);
}
.sidebar.close ~ .home{
    left: 70px;
    height: 95vh;
    width: 100%;
}

.menu-bar .mode .sun-moon{
    height: 50px;
    width: 60px;
}

.mode .sun-moon i{
    position: absolute;
}
.mode .sun-moon i.sun{
    opacity: 0;
}
.mode .sun-moon span.sun{
    color: var(--text-color-home);
    opacity: 0;
}
body.dark .mode .sun-moon i.sun{
    opacity: 1;
}
body.dark .mode .sun-moon i.moon{
    opacity: 0;
}

.menu-bar .bottom-content .toggle-switch{
    position: absolute;
    right: 0;
    height: 100%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    background-color: var(--body-color-home);
}
.bottom-content li a{
    opacity: 10;
}
.dropdown-menu{
    background-color: var(--body-color-home);
}
.toggle-switch .switch{
    position: relative;
    height: 22px;
    width: 40px;
    border-radius: 25px;
    background-color: var(--toggle-color-home);
    transition: var(--tran-05);
}
.dpitem{
    width: 100% !important;

}

.switch::before{
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    background-color: var(--sidebar-color);
    transition: var(--tran-04);
}

body.dark .switch::before{
    left: 20px;
}
.card{
    background: var(--background-color-cards);
}

.home{
    padding: 30px;
    position: relative;
    top: 0px;
    left: 260px;
    height: 100vh;
    width: 95.5%;
    padding-right: 76px;
    background-color: var(--body-color-home);
    transition: var(--tran-05);
}
.home .text{
    font-size: 30px;
    font-weight: 500;
    color: var(--text-color-home);
    padding: 12px 60px;
}

body.dark .home .text{
    color: var(--text-color-home);
}

#fleetStatusTable{
    font-size: small;
}

.footer{

    background-color: var(--body-color-home);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    color: white;
}
.footer-text{
    color: var(--text-color-home);
    background-color: var(--body-color-home);

}
.collapsibleBlock{
    width: 500px;
    position: absolute;
    top: 25px;
    left: 30px;
    border: 3px #1a2139 solid;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    overflow: hidden;
}
.collapsibleBlock .container{
    background-color: var(--body-color-home);
}
.button-menu:hover{
    cursor: pointer;
}
/* ?Container de sidebars*/
.avaibleParameters{
    align-items: left;
    cursor:pointer;
}
.avaibleParameters:hover{
    background-color:var(--primary-color-home);
}
.card-body{
    justify-content: center;
}
.mapClass{
    width: 96.3%;
    z-index: 0;
    padding: 0;
    height: 100vh!important;
}
.fleetStatusClass{
    display:none;
    z-index: 100;
    position:absolute;
    top: 20px;
    left: 10px;
    border-top-left-radius: 7px;
    padding: 10px;
}

.img-icon{
    width: 30px;
    height: 30px;
    padding: 0px;
    margin: 3px;

}
.modal-header{
    color:#fff!important;
    background-color: #3e7dc0;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    padding: 10px;
}



.list-filter-container{

	justify-content: space-around;
	width: 26%;
    padding: 7px;
    display: contents;

    background-color: #fafafa;
}
.filtred-content{
    display: flex;
    align-items: center;
}
.tabs-container{
	display: flex;
	width: 100%;
	justify-content: space-evenly;

}
.body-back{
    background-color: var(--background-color-cards);
}
.tabs-item-container{
    display: flex;
    width: 100%;
    z-index: 1000;
}

.header-container{
    background-color: var(--primary-color-home)!important;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    text-align: center;
}
.modal-header{
    background-color: var(--primary-color-home)!important;
}

.td-vehicle{
    width: 30%;
}
::-webkit-scrollbar-thumb {
    background-color: var(--primary-color-home) !important;
    border: 1px;
    border-style: groove;
    border-color: #c1c1c1;
    border-bottom-right-radius: 20px!important ;
    border-bottom-left-radius: 20px !important;
    border-top-left-radius: 20px!important;
    border-top-right-radius: 20px!important;
}

.my-custom-scrollbar {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: var(--background-color-cards);
    position: relative;
    height: 74vh;
    overflow: auto;
    }
    .bs-tooltip-left,
    .bs-tooltip-auto[x-placement^=left] {
      padding: 0 0.4rem;
    }

    .bs-tooltip-left .arrow,
    .bs-tooltip-auto[x-placement^=left] .arrow {
      right: 0;
      width: 0.4rem;
      height: 0.8rem;
    }

    .bs-tooltip-left .arrow::before,
    .bs-tooltip-auto[x-placement^=left] .arrow::before {
      left: 0;
      border-width: 0.4rem 0 0.4rem 0.4rem;
      border-left-color: #000;
    }

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .collapsibleBlock{
        width: 350px;
        height:  calc(90%);
    }
    .tabs-container{
        width: 350px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .collapsibleBlock{
        width: 400px;
        height:  calc(90%);
    }
    .tabs-container{
        width: 400px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .collapsibleBlock{
        width: 400px;
        height:  calc(90%);
    }
    .tabs-container{
        width: 400px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .collapsibleBlock{
        width: 500px;
        height:  calc(90%);
    }
    .tabs-container{
        width: 500px;
    }
    .mapClass{
        width: 96.3%;
        z-index: 0;
        padding: 0;
        height:  calc(100%);
    }
}
@media only screen and (min-width: 1340px) {
    .mapClass{
        width: 96.3%;
        z-index: 0;
        padding: 0;
        height:  calc(100%);
    }
}


.labels {
    background-color: white;
    font-family: "Lucida Grande", "Arial", sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    margin: 3px;
    border: 1px solid black;
    margin-top: 60px;
  }

#mySidenav-rutas{
    position: absolute;
}

.flexy {
    overflow-y: auto;    /* Trigger vertical scroll    */
    overflow-x: hidden;
    width:100%;
    height:65vh;
}

#distanceKm{
    width: 30%;
}

.modal-header{
    background-color:#b91622!important
}

.botonrojo{
    background-color:#b91622!important
}

/* div.dataTables_wrapper {
        width: 95%!important;
        margin: 0 auto;
    } */
