﻿/*evitar scroll horizontal*/
html, body {
    overflow-x: hidden;
    width: 100%;
}
/*ajustes de fuente*/
* {
    font-size: 1rem;
}
.login-bg {
    height: 100vh;
    width: 100vw;
    margin: 0 0;
    background: url("../images/mg4.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.movilgas-bg {
    /*background: linear-gradient(to top, #f1f1f1, #e9eaea, #d4dae0);*/
    background: #fafafa;
}

.movilgas-headers {
    text-transform: uppercase;
    font-weight: inherit;
    border: 1px solid #cccccc;
    border-left: none;
    border-right: none;
}

.movilgas-sub-headers {
    color: #333;
    text-transform: uppercase;
    background-color: #2e406b !important;
    font-weight: inherit;
    border: 1px solid #cccccc;
    border-left: none;
    border-right: none;
}


.v-data-footer {
    text-transform: capitalize !important;
}

@media(max-width: 960px) {
    .margenMobile {
        position: relative !important;
        left: 35% !important;
        margin-bottom: 10px !important;
    }
}

.v-data-footer__pagination {
    text-transform: lowercase !important;
}

.hide {
    display: none;
}

.show {
    display: flex;
}

.map_cell {
    padding: 15px;
    display: table-cell;
    border: 1px solid #eee;
}

.main_live_block {
    display: flex;
    flex-flow: column;
    width: auto;
    height: 100%;
}

.live_box {
    min-width: 160px;
    min-height: 260px;
    float: left;
    border-radius: 2px;
    border: 2px solid #bebebe;
    padding: 10px;
    margin: 3px;
}

.live_box_highligth {
    background-color: lightgoldenrodyellow;
    min-width: 160px;
    min-height: 260px;
    float: left;
    border-radius: 2px;
    border: 2px solid #bebebe;
    padding: 10px;
    margin: 3px;
}

.live_box_grabbable {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
    user-select: none;
    float: left;
    cursor: dragable;
    margin: 5px;
    padding: 15px;
    border-radius: 5px;
    border: solid 1px #ccc;
}

    /* (Optional) Apply a "closed-hand" cursor during drag operation. */
    .live_box_grabbable:active {
        cursor: grabbing;
        cursor: -moz-grabbing;
        cursor: -webkit-grabbing;
    }

.live_box_alert {
    min-width: 250px;
    border: 2px solid #bebebe;
    margin: 3px;
}

.alert_title {
    cursor: pointer;
    padding: 3px;
    background-color: #f44336;
    color: yellow;
}

.main_alerts {
    display: inline-block;
}

.pki_item {
    background-color: #d1f6bd;
}

.pki_item_oee {
    background-color: #ffd5a5;
}

.pki_item_provisional {
    background-color: #d1f6bd;
    color: red;
}

.pki_item_oee_provisional {
    background-color: #ffd5a554;
    color: red;
}


.pki_description {
    background-color: #f5f5f5;
}

.external-login {
    margin-top: 3%;
}
/*select rows datatable*/
html:not([dir=rtl]) .custom-select-sm {
    padding-left: .5rem;
    padding-right: 1.5rem;
}
/*Mensajes de error en formularios*/
.field-validation-error {
    margin-top: .25rem;
    margin-left: 4em;
    font-size: 80%;
}
/*Div de notificaciones*/
#rowDynamicNotification {
    position: absolute;
    right: 0px;
    bottom: 0px;
    margin-bottom: 4em;
    margin-right: 1em;
}

.v-data-table-header {
    text-transform: uppercase;
    background-color: #1d345c;
}

.theme--light.v-data-table > .v-data-table__wrapper > table > thead > tr > th {
    color: white !important;
    font-weight: 500 !important;
    background-color: #2e406b;
}

.bkg-white {
    background-color: white !important;
}

.v-toolbar__content, .v-toolbar__extension {
    justify-content: space-between;
}

.v-breadcrumbs {
    padding: 12px 12px !important;
}

.breadcrum-row {
    background-color: white !important;
    height: 40px;
    position: sticky;
    top: 65px;
    z-index: 2;
    box-shadow: 0px 0px 2px black;
}

.v-expansion-panel--active > .v-expansion-panel-header {
    min-height: 45px !important;
}

.v-application--is-ltr .v-input--selection-controls__input {
    margin-right: 6px !important;
}

.notebook {
    border-radius: 4px !important;
    border-left-color: #2e406b !important;
    border-left-width: 1rem !important;
    border-left-style: solid !important;
}

.stasts_container {
    border: 2px solid #bebebe;
    margin-top: 5px;
    margin-right: 5px;
    margin-left: unset;
    padding: 20px;
    width: 100%;
    background-color: #f1f1f1;
    display: inline-block;
}

.segment_box {
    border: 1px solid #ddd;
    margin: 3px;
    background-color: #efefef;
    width: 100%;
    min-width: 250px;
    height: 100%;
}

.pkis_box {
    min-width: 220px;
    background-color: #8080801c;
    margin: 0px;
    padding: 10px;
    /*height: 100%;*/
}

.external_work_title {
    font-size: large;
    font-weight: bold;
    padding: 5px;
    text-align: center;
}

    .external_work_title .subtitle {
        background-color: lightblue;
        font-size: 9pt;
        font-weight: normal;
        padding: 10px;
        margin: unset;
        border: 1px dashed #aaa;
    }

.segment_box_topic {
    background-color: #d0f87e;
    margin: 2px;
    padding: 9px;
    border: 1px solid #ccc;
    font-weight: bold;
    height: 40px;
}

.segment_box_subtitle {
    background-color: #10ff0024;
    margin: 2px;
    padding: 9px;
    border: 1px solid #ccc;
}

.segment_box_metric_item {
    margin: 1px;
    padding: 3px;
    border: 1px solid #ccc;
    font-size: 10pt;
}

.mapping_summary_box {
    flex-grow: unset;
    min-width: 220px;
    min-height: 360px;
    background-color: #8080801c;
    margin: 0px;
    padding: 10px;
}

.mapping_summary_title {
    background-color: #c8dddd;
    margin: 2px;
    padding: 9px;
    border: 1px solid #ccc;
    font-weight: bold;
    font-size: 14pt;
}

.mapping_summary_subtitle {
    background-color: #c8dddd;
    margin: 2px;
    padding: 9px;
    border: 1px solid #ccc;
    font-size: 14pt;
    font-weight: bold;
}

.warning_segment_quantities {
    /*background-color: #ff000036;
    color: #424242;
    padding: 6px;*/
    font-weight: bold;
    color: red;
}

.blink_me {
    /*animation: blinker 10s linear infinite;*/
    padding: 3px;
    background-color: #eee;
    color: red;
    font-weight: bold;
    text-align: center;
}

@keyframes blinker {
    1% {
        opacity: 0.5;
    }
}

.blink {
    animation: blink-animation 1s steps(1, end) 1;
}

@keyframes blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.grabbable {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
    background-color: #ff98008f;
    user-select: none;
    float: left;
    cursor: dragable;
    margin: 2px;
    padding: 5px;
    border-radius: 5px;
    border: solid 1px #ccc;
}

    /* (Optional) Apply a "closed-hand" cursor during drag operation. */
    .grabbable:active {
        cursor: grabbing;
        cursor: -moz-grabbing;
        cursor: -webkit-grabbing;
    }

.demo_tools {
    position: fixed;
    top: 141px;
    right: 15px;
    width: 304px;
    background-color: white;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #aaa;
    text-align: center;
}

.demo_options {
    display: flex;
    flex-flow: wrap;
}

.graph_container {
    border: 1px solid #eee;
}

.segment_input_materials_container {
    display: flex;
}

.segment_material_input {
    display: inline-grid;
    border-right: 13px solid #b9d1ba;
}

.segment_material_output {
    display: inline-grid;
    border-left: 13px solid #b9d1ba;
}

.intermediate_lots_container {
    display: flex;
    flex-flow: column;
    /*flex-flow: wrap;*/
    width: 100%;
}

.lot_work {
    border: 1px solid #ccc;
    margin: 5px;
    width: 99%;
    background-color: #fefefe8c;
}

.lot_work_flexible_view {
    border: 1px solid #ccc;
    margin: 5px;
    width: 99%;
    background-color: #fefefe8c;
}

.lot_work_prod_info {
    display: flex;
    padding: 3px;
    width: 100%;
    background: #d3e2e74f;
}

    .lot_work_prod_info .lot_title {
        margin: 2px;
        padding: 9px;
        font-weight: bold;
        height: 40px;
    }

    .lot_work_prod_info .prod_item {
        margin: 2px;
        padding: 4px;
        border: 1px solid #ccc;
        font-weight: bold;
    }


.external_work_body_section {
    width: 100%;
    margin: unset;
}

.lot_title_items {
    margin: 1px;
    padding: 10px;
    border: 1px solid #aaa;
}

.external_work {
    background-color: #efefef;
    /*display: inline-flex;*/
    border: 2px solid #bebebe;
    padding: 5px;
    width: 100%;
    margin: 3px;
}

.external_summary {
    display: flex;
    background-color: #9ca3a54f;
}

.external_work_flexible_view {
    background-color: #efefef;
    display: inline-flex;
    border: 2px solid #bebebe;
    width: 100%;
    margin: 3px;
}

.intermediate_segment_container {
    /*	float: left;*/
    display: flex;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
    padding: 3px;
}

.mapping_dates_title {
    border: 1px solid #aaa;
    margin: 3px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14pt;
    font-weight: bold;
    background-color: #e4f0f4
}


.stats_container_summary {
    background-color: #f6f6f6;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}

.stats_summary_box {
    border: 1px solid #ddd;
    margin: 3px;
    background-color: #efefef;
    width: 100%;
    min-width: 300px;
    height: 100%;
}

.stats_summary_detail_box {
    margin: 1px;
    padding: 3px;
    border: 1px solid rgb(204, 204, 204);
    background-color: #ffffff;
    font-size: medium;
}

.stats_summary_box_topic {
    background-color: #d5d7d8;
    margin: 2px;
    padding-top: 9px;
    padding-bottom: 9px;
    border: 1px solid #ccc;
    font-weight: bold;
    height: 40px;
}

.stats_summary_box_metric_item {
    margin: 1px;
    padding: 3px;
    border: 1px solid #ccc;
    font-size: 12pt;
}

.alerts_dropdown_list {
    display: flex;
    flex-direction: column;
    width: 400px;
    position: absolute;
    top: 69px;
    right: 0px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: black;
}

/* Cabecera del dropdown */
.alerts_dropdown_header {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    background-color: #f5f5f5;
    text-align: center;
    margin: 0; /* Para eliminar espacio extra de <p> si lo deseas */
}

/* Estilo base de la notificación */
.alerts_dropdown_item {
    max-width: 400px;
    background-color: white;
    cursor: pointer;
    padding: 10px; /* algo de padding interno */
    border-bottom: 1px solid #eee; /* línea divisoria sutil */
}

/* Estilo cuando la notificación fue vista */
.alerts_dropdown_item_viewed {
    background-color: #f0f0f0; /* Un gris claro */
}

.debug_stop_box_label {
    margin: 5px;
    color: #5f5f5f;
    font-weight: bold;
    font-size: 12pt;
    text-align: center;
    padding: 6px;
    top: 5px;
    height: 75px;
    width: 200px;
    background: lightblue;
    /*border: 1px solid #3f51b5d4;*/
    box-shadow: 1px 1px 5px 0px #3f51b547 inset, -1px -1px 5px 0px #3f51b547 inset;
}

.debug_segment_box_label {
    margin: 5px;
    color: #5f5f5f;
    font-weight: bold;
    font-size: 12pt;
    text-align: center;
    padding: 6px;
    top: 5px;
    height: 75px;
    width: 200px;
    background: #CDDC39;
    /*border: 1px solid #8BC34A;*/
    box-shadow: 1px 1px 5px 0px rgba(86,166,63,0.45) inset, -1px -1px 5px 0px rgba(86,166,63,0.45) inset;
}

.debug_intersection_box_label {
    margin: 5px;
    color: white;
    font-weight: bold;
    font-size: 12pt;
    text-align: center;
    padding: 6px;
    top: 5px;
    height: 75px;
    width: 200px;
    background: #F44336;
    /*border: 1px solid #FF5722;*/
    box-shadow: 1px 1px 2px 0px #ffeb3ba6 inset, -1px -1px 2px 0px #ffeb3ba6 inset;
}

.debug_stop_bar {
    z-index: 4;
    font-size: small;
    position: absolute;
    top: 5px;
    writing-mode: vertical-lr;
    text-orientation: upright;
    background: lightblue;
    /*border: 1px solid #3f51b5d4;*/
    border-radius: 3px;
    box-shadow: 1px 1px 5px 0px #3f51b547 inset, -1px -1px 5px 0px #3f51b547 inset;
}

.debug_segment_bar {
    z-index: 6;
    font-size: small;
    position: absolute;
    writing-mode: vertical-lr;
    text-orientation: upright;
    margin-bottom: 2px;
    background: #CDDC39;
    /*border: 1px solid #8BC34A;*/
    border-radius: 3px;
    box-shadow: 1px 1px 5px 0px rgba(86,166,63,0.45) inset, -1px -1px 5px 0px rgba(86,166,63,0.45) inset;
}

.debug_intersection_bar {
    z-index: 8;
    font-size: 9pt;
    position: absolute;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background: #F44336;
    /*border: 1px solid #ff9800;*/
    border-radius: 3px;
    box-shadow: 1px 1px 2px 0px #ffeb3ba6 inset, -1px -1px 2px 0px #ffeb3ba6 inset;
}

.debug_extra_info_box_label {
    margin: 5px;
    color: #333;
    font-weight: bold;
    font-size: 12pt;
    text-align: center;
    padding: 6px;
    top: 5px;
    height: 75px;
    width: 200px;
    background: #f0f0f0;
    /*border: 1px solid #333;*/
    box-shadow: 1px 1px 20px 5px #ccc inset, -1px -1px 20px 5px #ccc inset;
}

.debug_total_time_box_label {
    margin: 5px;
    color: white;
    font-weight: bolder;
    font-size: 12pt;
    text-align: center;
    padding: 6px;
    top: 5px;
    height: 75px;
    width: 200px;
    background: #F44336;
    /*border: 1px solid #333;*/
    box-shadow: 1px 1px 20px 0px #4b484a40 inset, -1px -1px 20px 0px #4b484a40 inset;
}

.debug_stops_main_content {
    z-index: 5; 
    position: relative; 
    border-top: 1px solid #ddd;
    margin-top: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

/*links <a> del Menu Left*/
.v-application a .menu-left-links {
    color: white !important;
    text-decoration: none !important;
    display: flex;
    width: 100%;
}