html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body{
    overflow-x:hidden;
    width:100%;
}

.waiting {
    background-color: rgba(51, 77, 130, 0.5);
    width: 100%;
    height: 100vh;
    top: 0;
    position: fixed;
    left: 0;
    z-index: 19998;
    /*opacity: 0.5;*/
}

.show-waiting {
    display: block;
}

.hidde-waiting {
    display: none;
}

.logowaiting {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: auto;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%); /* Safari and Chrome */
    -moz-transform: translate(-50%, -50%); /* Firefox */
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -o-transform: translate(-50%, -50%); /* Opera */
    z-index: 9999;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
    padding:10px;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsY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My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}



.e-grid .e-gridheader {
    background-color: #707DA5 !important;
    color: #FFFFFF !important;
}

.e-grid .e-headercell, .e-grid .e-detailheadercell {
    background-color: #707DA5 !important;
    color: #FFFFFF !important;
}

.e-grid .e-gridheader .e-icons:not(.e-icon-hide):not(.e-check):not(.e-stop):not(.e-icon-reorderuparrow):not(.e-icon-reorderdownarrow) {
    color: #FFFFFF !important;
}

.e-headertext {
    color: #FFFFFF !important;
}

.on-time-tracking {
    background-color: #BEFFCD;
    color: #49454F;
}

.delayed-tracking {
    background-color: #FFC6C6;
    color: #49454F;
    text-align: end;
}

.on-time-status {
    color: #43B25B;
    font-weight: 600;
}

.delayed-status {
    color: #972E2E;
    font-weight: 600;
}

.e-popup.e-popup-open.e-dialog {
    max-height: 100vh !important;
}

.background-color-red {
    background-color: #FFC6C6 !important;
}

.background-color-yellow {
    background-color: #FFFF00 !important;
}

.background-color-white {
    background-color: #FFFFFF !important;
}

.mapStyle {
    height: 500px
}

@media only screen and (max-width: 750px) {
    .mapStyle {
        height: 250px;
    }
}


.bg-index {
    background-image: url(../img/bg-index.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: fixed;
    top: 0px;
    left: 0px;
}

.bg-hypership {
    background-image: url(../img/bg-hypership.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    z-index: 2;
    top: 0px;
    left: 0px;
}

.logindialog {
    min-width: 0;
    word-wrap: break-word;
    background-color: #FFF;
    background-clip: border-box;
    border: 1 solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px
}

.e-btn.e-flat.e-primary, .e-css.e-btn.e-flat.e-primary, .e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]) {
    background: #E62332;
    border-color: #B81C28;
    color: #FFFFFF;
    width: 100%;
}

    .e-btn.e-flat.e-primary:hover, .e-css.e-btn.e-flat.e-primary:hover, .e-footer-content:hover .e-btn.e-primary.e-flat:not([DISABLED]), .e-btn.e-flat.e-primary:focus, .e-css.e-btn.e-flat.e-primary:focus {
        background: #B81C28;
        border-color: #E62332;
        color: #FFFFFF;
        width: 100%;
    }


    .e-input-group:not(.e-disabled):active:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-success):not(.e-warning):not(.e-error), .e-input-focus, .e-btn.e-flat.e-primary:focus {
        border-color: #B81C28 !important;
        box-shadow: 0 0 0 4px rgba(230, 35, 50,.25) !important;
    }


.bg-green-light {
    background-color: #9CC083;
    background-color: #E5FFE5 !important;
}

.bg-red {
    background-color: red !important;
    color: #ffffff !important;
}


.bg-FFE699 {
    background-color: #FFE699;
}


.bg-F4B084 {
    background-color: #F4B084;
}


.e-btn-sb-icons {
    font-family: 'button-icons';
    line-height: 1;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.e-play-icon::before {
    content: '\e701';
}

.e-pause-icon::before {
    content: '\e705';
}

.e-open-icon::before {
    content: '\e70d';
}

.e-add-icon::before {
    content: '\e727';
}

.e-headercell {
    background: #5D6B99 !important;
    color: #FFFFFF;
}

.pd-5px {
    padding: 5px !important;
}


#toast_types button {
    margin: 5px;
    min-width: 160px;
    max-width: 160px;
}

.toast-icons {
    font-family: 'Toast_icons' !important;
    speak: none;
    font-size: 55px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#toast_type .e-toast-icon.e-icons {
    height: auto;
    font-size: 30px;
}

.bootstrap5 #toast_type .e-toast-icon.e-icons,
.bootstrap5-dark #toast_type .e-toast-icon.e-icons {
    height: 25px;
}

.toast-icons.e-success::before {
    content: "\e701";
}

.toast-icons.e-error::before {
    content: "\e700";
}

.toast-icons.e-info::before {
    content: "\e704";
}

.toast-icons.e-warning::before {
    content: "\e703";
}

#toast_types {
    text-align: center;
}

.color-red {
    color: red !important;
}

.e-grid .e-gridheader .e-sortfilter .e-headercelldiv, .e-grid .e-gridheader .e-stackedheadercelldiv {
    padding: 0 0 0 0 !important;
}

.e-grid .e-headercell, .e-grid .e-detailheadercell {
    padding: 2px 5px 2px 5px !important;
}

.e-grid .e-headercell, .e-grid .e-detailheadercell {
    height: 28px !important;
}

.e-grid .e-rowcell {
    line-height: 12px !important;
}

.e-Deletebutton {
    padding: 0px 11px !important;
    line-height: 12px !important;
}

.e-grid .e-gridheader .e-icons:not(.e-icon-hide):not(.e-check):not(.e-stop):not(.e-icon-reorderuparrow):not(.e-icon-reorderdownarrow) {
    color: #ffffff !important;
}

.e-menu-wrapper.e-menu-popup, .e-menu-container.e-menu-popup {
    background: transparent;
}

.e-headercelldiv {
    text-overflow: ellipsis !important;
    white-space: normal !important;
    line-height: 14px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    height: auto !important;
    margin: auto !important;
    word-wrap: break-word;
    margin-right: 2px;
}

.e-grid th.e-headercell[aria-sort=ascending] .e-headertext, .e-grid th.e-headercell[aria-sort=descending] .e-headertext, .e-grid th.e-headercell[aria-sort=ascending] .e-sortfilterdiv, .e-grid th.e-headercell[aria-sort=descending] .e-sortfilterdiv {
    color: #FFFFFF;
    opacity: 1;
}

.e-toast-container .e-toast.e-toast-success {
    width: 98% !important;
}

.e-toast-container .e-toast.e-toast-danger {
    width: 98% !important;
}

.h2, .h5, h2, h5 {
    margin-top: 0;
    margin-bottom: 0;
}

.e-grid .e-headercell.headergrid5D6B99 {
    background-color: #40568D !important;
    color: #FFFFFF !important;
}

.e-grid .e-headercell.headergrid5D6B99Alt {
    background-color: #97B0DD !important;
    color: #FFFFFF !important;
}


.buttom-menu {
    background-color: #8FAADC !important;
}

.buttom-menu-icon {
    border-radius: 16px !important;
    background: transparent !important;
    height: 32px !important;
    width: 64px !important;
}

.buttom-menu-icon-alt {
    border-radius: 16px !important;
    background-color: #F9F9F9 !important;
    height: 32px !important;
    width: 64px !important;
}

.text-menu-buttom {
    color: #FFFFFF !important;
    text-align: center !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    letter-spacing: 0.5px;
}

.container, .container-md, .container-sm {
    max-width: 100%;
    min-height: calc(100vh - 75px) !important;
}

.columnColorKPIP3 {
    background-color: #D3D3D3 !important;
    color: rgba(85, 85, 85, 1) !important;
}

.columnColorKPIP {
    background-color: #E5FFE5 !important;
    color: forestgreen !important;
}

.columnColorKPIN {
    background-color: #FFE5E5 !important;
    color: rgba(255, 0, 0, 1) !important;
}

.columnColorConfirm {
    background-color: purple !important;
    color: white !important;
    border-left-width: 3px !important;
    border-left-color: #8A8384 !important;
    border-style: solid !important;
}

.columnColorConfirmAuto {
    background-color: purple !important;
    color: white !important;
    border-left-width: 3px !important;
    border-left-color: greenyellow !important;
    border-style: solid !important;
}

.columnColorConfirmAutoTSL {
    background-color: purple !important;
    color: white !important;
    border-left-width: 3px !important;
    border-left-color: black !important;
    border-style: solid !important;
}

.columnColorConfirmForOC {
    background-color: purple !important;
    color: white !important;
    border-left-width: 3px !important;
    border-left-color: purple !important;
    border-style: solid !important;
}

.columnColorConfirmBlue {
    background-color: #98B0DE !important;
    color: black !important;
    border-left-width: 3px !important;
    border-left-color: #8A8384 !important;
    border-style: solid !important;
}

.columnColorConfirmBlueAuto {
    background-color: #98B0DE !important;
    color: black !important;
    border-left-width: 3px !important;
    border-left-color: greenyellow !important;
    border-style: solid !important;
}

.columnColorConfirmBlueForOC {
    background-color: #98B0DE !important;
    color: #98B0DE !important;
}

.columnYellow {
    background-color: rgba(255,255,0, .5) !important;
    color: #000000 !important;
}


.cellBGD9D9D9 {
    background-color: #D9D9D9 !important;
    color: #000000 !important;
}

.cellBGD9D9D9-wt {
    background-color: #D9D9D9 !important;
    color: #D9D9D9 !important;
}

.columnColorKPIP2 {
    background-color: #A9D08E !important;
    color: black !important;
}

.cell1FrozenStellantis {
    background-color: #BBD5EB !important;
}

.cell2FrozenStellantis {
    background-color: #FFFF00 !important;
}

.col {
    padding-left: 5px;
    padding-right: 5px;
}

.columnColorDieselDif {
    background-color: #E2EFDA !important;
}

.columnColorDieselRend {
    background-color: #DDEBF7 !important;
}

.columnColorDieselDrvFuelEcon {
    background-color: #FFF2CC !important;
}

.columnColorDieselAvgEngLoad {
    background-color: #FCE4D6 !important;
}

/*Menu class*/
#dt-a,
#dt-a:hover,
#dt-a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/*
        .hideMovil{
            display: none;
            background-color: #981534;
        } */

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.5s ease-in-out;
    margin-top: -14px !important;
}

@media (max-width: 767px) {
    .overlay {
        margin-top: -20px !important;
        /* Cambia esto al valor que necesites */
    }
}

.overlay.active {
    display: block;
    opacity: 1;
}

.dt-btn {
    background-color: #B71C28 !important;
    z-index: 4000 !important;
}

#sidebar {
    padding-top: 70px;
    top: 0;
    width: 100px;
    height: 100vh;
    color: #fff;
    background: linear-gradient(to right, #4e4e4e 0%, #333333 100%); /* Gradiente que simula profundidad */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    #sidebar > .sidebar-nav {
        margin: 0.8rem auto;
        line-height: 40px;
        overflow-y: auto;
        overflow-x: hidden;
        width: 100px;
    }

    #sidebar span, #sidebar p {
        font-size: 0.7rem;
        display: inline-block;
        width: 80px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }

    #sidebar i {
        font-size: 1.5rem;
    }

    #sidebar a {
        text-decoration: none; /* Elimina el subrayado de los enlaces */
        color: inherit; /* Mantiene el color actual del texto */
    }

        #sidebar a:hover {
            text-decoration: none; /* Asegura que no aparezca subrayado al pasar el cursor */
            color: #ddd; /* Opcional: Cambia el color del enlace al pasar el cursor si lo deseas */
        }

    #sidebar .submenu a,
    #sidebar .submenu-item2 a {
        text-decoration: none; /* Asegura que también los submenús no tengan subrayado */
    }

        #sidebar .submenu a:hover,
        #sidebar .submenu-item2 a:hover {
            text-decoration: none; /* Sin subrayado al pasar el cursor sobre submenús */
        }


/*    #sidebar a:hover {
        color: rgb(245, 32, 58) !important;
    }

    #sidebar a:hover,
    .sidebar-nav .is-active {
        color: rgb(245, 32, 58) !important;
        border-left: 1px solid rgb(245, 32, 58);
    }*/

.submenu {
    margin-left: 100px;
    padding-top: 70px;
    background-color: #979A9A;
    height: 100vh;
    width: 250px;
    visibility: hidden;
    scroll-behavior: smooth;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    .submenu > .submenu-nav {
        line-height: 50px;
        overflow-y: auto;
        overflow-x: hidden;
    }


button {
    cursor: pointer;
}

.sub-title-item {
    font-weight: bold;
}

.submenu-item > a:hover {
    color: rgb(245, 32, 58) !important;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5); /* Negro semi-transparente, ajusta la opacidad según sea necesario */
    z-index: 1;
}

.sidebar-header img {
    position: relative;
    z-index: 2;
}

.top-title {
    width: 250px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #000000;
    display: flex !important;
    padding: 5px !important;
}

.submenu-item {
    margin: 0;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    text-align: left !important;
}

.text-dark {
    margin: 0;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #000000 !important;
    text-align: left !important;
    visibility: inherit !important;
    width: 180px !important;
}

.submenu-item2 {
    margin: 0;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #FFFFFF !important;
    text-align: left !important;
    visibility: inherit !important;
    width: 180px !important;
}

.zindex-10000 {
    z-index: 10000 !important;
}

.text-light {
    color: #f8f9fa !important;
    text-align: left !important;
    padding: 5px !important;
}

/*End Menu class*/

.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap {
    color: #000000 !important;
}

.e-tab .e-tab-header .e-toolbar-item.e-active.e-ileft .e-tab-text, .e-tab .e-tab-header .e-toolbar-item.e-active.e-iright .e-tab-text {
    color: #A70305;
    font-weight: bold;
}

.e-tab .e-tab-header:not(.e-vertical) .e-toolbar-item.e-active {
    background-color: #DEDEDE;
}

.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap:hover .e-tab-text, .e-tab .e-tab-header .e-toolbar-item .e-tab-wrap:hover .e-tab-icon {
    color: #000000;
    font-weight: bold;
}

.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap:hover .e-tab-text, .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap:hover .e-tab-icon {
    color: #A70305;
    font-weight: bold;
}

.sidebar-item:hover {
    background-color: crimson;
    color: white;
}

.side-item:hover {
    text-decoration: none;
}

.menuButton:hover{
    cursor:pointer
}

.showedSubMenuMobil {
    display: none
}

.showedSubMenuNormal {
    display: block
}


@media (max-width: 767px) {

    #sidebar {
        width: 100vw;
        height: auto;
    }

    #sidebar > .sidebar-nav {
        margin: 0.8rem;
        line-height: 40px;
        overflow-y: auto;
        overflow-x: hidden;
        width: 100vw
    }

    .showedSubMenuMobil {
        display:block
    }
    .showedSubMenuNormal {
        display: none
    }
}


/* Estilos para la nueva barra lateral */
.new-sidebar {
    z-index: 999 !important;
    width: 250px;
    height: 100vh;
    background-color: #343a40;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 80px;
    overflow-y: auto;
}

.new-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.new-submenu li:hover {
    background-color: crimson;
    cursor: pointer;
}

.new-menu-item {
    display: block;
    width: 100%;
    padding: 10px 15px;
    text-align: left;
    color: white;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

    .new-menu-item:hover {
        background-color: crimson;
    }

    .new-menu-item:active {
        background-color: crimson;
    }

.new-submenu {
    list-style: none;
    padding-left: 20px;
    margin: 5px 0;
    background: #4d545c;
}



    .new-submenu li {
/*        border-bottom: 1px solid;*/
        margin: 0px 0px 0px 10px;
        padding: 10px 10px;
    }

        .new-submenu li a {
            color: white;
            text-decoration: none;
            font-size: 14px;
        }

            .new-submenu li a:hover {
                text-decoration: underline;
            }


        .new-submenu li:hover {
            background-color: crimson;
            cursor: pointer;
        }



@media (max-width: 767px) {
    .new-sidebar {
        width: 100vw;
        height: auto;
        background-color: #343a40;
        color: white;
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 80px;
        overflow-y: auto;
    }



}
.bg-ligth-blue {
    background-color: #DEDEDE !important;
}