html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

.btn-grey{
    background-color:#E5E5E5;
    color:#2F3A45;
    font-size:12px;
}
.btn-backgrey{
    background-color:gray;
    color:white;
}

.btn-gs-dark, btn-gs-dark:hover{
    background-color:#2F3A45 !important;
    color:white !important;
    border-radius:2px;
    padding:2px 4px;
}

.buttons-excel{
    background-color:transparent !important;
    padding: 0px !important;
    border:none !important;
    color:transparent !important;
    height:5px !important;
    font-size:4px !important;
    margin:0px !important;
    display:none !important;
}

.navbar-nav.navbar-center {
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
}
.navbar-gs-dark{
    background-color:#2F3A45 !important;
}
.tbl-gs-dark th{
    background-color:#2F3A45 !important;
    color:white;
    font-size:12px;
}

.tr-unidad-select {
    background-color: darkgray !important;
    border-top: 4px solid white;
    cursor:pointer;
}

.dt-body-center {
    text-align: center;
    align-items: center;
    align-content: center;
}

.dt-row-atiempo {
    background-color: #99ff99 !important;
}

.dt-row-demorado{
    background-color:#FFC99A !important;
}
.dt-row-critico{
    background-color:#FF938B !important;
}
.btn-gs-demorado {
    background-color: #FF7600 !important;
    color: white;
}

.form-check-input:checked{
    background-color:#404040 !important;
}

.form-control-gs {
    border: none !important;
    border-bottom: 1px solid #ddd !important;
    border-top-left-radius: 6px;
    background-color: whitesmoke;
    display: relative;
    flex:1 1 auto;
    width: 1%;
    min-width:0;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    float:left;
    
}
.form-control-gs:focus {
    border: none !important;
    border-bottom: 1px solid #ddd !important;
    border-top-left-radius: 6px;
    background-color: whitesmoke;
    display: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    float: left;
    outline:none;
}
.input-group-text-gs {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #404040;
    text-align: center;
    white-space: nowrap;
    background-color: whitesmoke;
    border-bottom: 1px solid #ddd;
    border-top-right-radius: 6px;
    float:left;
}

.btn-gs{
    color:white !important;
    padding:4px 8px;
    border-radius:15px;
    text-decoration:none;
    font-size:14px !important;
    overflow-wrap:normal !important;
    word-wrap:anywhere !important;
    cursor:pointer;
}

.modal-card {
    position: absolute;
    margin-left: 35%;
    margin-right: 35%;
    margin-top: -60%;
    width: 30%;
    z-index: 1060 !important;
}

.hora-proceso-realizado{
    font-size:10px;
    color:gray;
}
/* INICIA MENU DESPLEGABLE */
.menu_gral {
    margin: 0.9rem;
}

.menu_gral ul {
    list-style-type: none;
    text-align: center;
    font-size: 0;
    margin-left:-30px;
    /*border:1px solid red;*/
    line-height:0.9rem;
    margin-top:-50px;
}

.menu_gral > ul li {
    background: transparent;
    margin-top:-15px;
}

.menu_gral li a {
    display: block;
    text-decoration: none;
    font-size: 14px;
    /*line-height: 2.5rem;*/
    color: white;
}

    .menu_gral li a, .menu_gral li a {
        /*.menu_gral li:hover a, .menu_gral li a:focus {*/
        background: transparent;
        color: white;
    }

.menu_gral li ul {
    position: absolute;
    width: 0;
    overflow: hidden;
}
    .menu_gral li ul, .menu_gral li ul {
        /*.menu_gral li:hover ul, .menu_gral li:focus ul {*/
        width: 500px;
        margin: 23px -450px;
        padding: 10px 10px;
        background: transparent;
        z-index: 5;
    }

.menu_gral li li {
    display: block;
    width: auto;
}
    .menu_gral li li a, .menu_gral li li a {
        /*.menu_gral li:hover li a, .menu_gral li:focus li a {*/
        font-family: monospace;
        font-size: 12px;
        /*line-height: 1.7rem;*/
        border-top: 1px solid #e5e5e5;
        background: #f2f2f2;
        color: black;
        float: right;
        clear: left;
        padding: 10px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 2px 2px 1px #d9d9d9;
        text-align: center;
    }
        .menu_gral li li a, .menu_gral li li a {
            /*.menu_gral li li a:hover, .menu_gral li li a:focus {*/
            background: #e5e5e5;
            float: right;
            clear: left;
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
            box-shadow: 2px 2px 1px #00000036;
            text-align: center;
        }
/* TERMINA MENU DESPLEGABLE */

/* INICIO STATUS PETICIONES */
.status-bigcont {
    padding: 5px;
    color: white;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.sbc-porconfirmar {
    background: #838383;
}
.sbc-entregados{
    background:#4CAf50;
}
.sbc-cancelados{
    background:#F44336;
}
.sbc-total {
    background:#2F3A45;
}
.sbc-entrayectoria {
    background:#F5A800;
}

.sbc-entrayectoria-atiempo {
    color: #4CAf50;
}
.sbc-entrayectoria-demorado {
    color: #F5A800;
}
.sbc-entrayectoria-critico {
    color: #F44336;
}

#btnDescargarCatalogo {
    font-size: 18px; /* Increase font size */
    padding: 10px 20px; /* Increase padding */
    border-radius: 50px; /* Make the button rounder */
}

.status-smallcont {
    padding: 0px 2px;
    text-align: center;
    line-height:25px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.ssc-atiempo {
    background: white;
    border: 1px solid #0D6F11; /*#0D6688;*/
    border-top:0px !important;
    color: #0D6F11;
}
.ssc-demorado {
    background: white;
    border: 1px solid darkorange;
    border-top: 0px !important;
    color: #FF7600;
}
.ssc-critico {
    background: white;
    border: 1px solid brown;
    border-top: 0px !important;
    color: #CE0E2D;
}
.ssc-total{
    background:#F5A800;
    color:white;
}
/* TERMINA STATUS PETICIONES */


/* INICIA TABS TABLES ORDENES */
.tabs-tbl {
    background: #2F3A45;
    color: white;
    border-top-left-radius: 50px;
    border-top-right-radius: 15px;
    text-align:center;
    cursor:pointer;
}

.alink-tabs, .alink-tabs:hover{
    text-decoration:none;
    color:white;
}

.tt-confirmar:hover, .co-activo{
    background:#8c8c8c;
}
.tt-entrayecto:hover, .et-activo{
    background:orange;
}
.tt-entregados:hover, .en-activo{
    background:green;
}
.tt-cancelados:hover, .ca-activo{
    background:firebrick;
}
/* TERMINA TABS TABLES ORDENES */


/* ESTILOS GOOGLE MAPS */
#map {
    height: 100%;
}
#floating-panel {
    position: absolute;
    top: 10px;
    left: 25%;
    z-index: 5;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #999;
    text-align: center;
    font-family: "Roboto", "sans-serif";
    line-height: 30px;
    padding-left: 10px;
}

#floating-panel {
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: -180px;
    width: 350px;
    z-index: 5;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #999;
}

#latlng {
    width: 225px;
}
/* TERMINA ESTILOS GOOGLE MAPS */

/*INICIA ESTILOS CHAT*/
.mensaje_preview {
    max-width: 100%;
    width: 100%;
    display: block;
    font-size: 0.7rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nombre_preview {
    max-width: 70%;
    width: 100%;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fecha_mensaje_preview {
    font-size: 0.7rem !important;
    min-width: 30% !important;
}

.chat_individual:hover {
    outline: 0.1rem solid blue;
    cursor: pointer;
}

.chat_mensaje {
    display: flex;
    margin-bottom: 0;
}

.chat_mensaje_texto {
    width: 100%;
    flex-grow: 1;
    word-wrap: break-word;
    white-space: normal;
    color: black !important;
}

.chat_mensaje_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.chat_mensaje_usuario {
    font-size: 0.6rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.chat_mensaje_hora {
    font-size: 0.6rem !important;
    white-space: nowrap;
    margin-left: 10px;
    flex-shrink: 0;
    color: gray !important;
}

.chat_mensaje_contenido {
    font-size: 0.8rem !important;
    word-wrap: break-word;
    white-space: normal;
    margin-bottom: 5%;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    color: black !important;
    border-radius: 0.3rem;
}

#data_cliente span {
    font-size: 0.7rem !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.datos_generales div span {
    font-size: 0.7rem !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.div_estatus {
    font-size: 0.7rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.datos_direccion div span {
    font-size: 0.7rem !important;
    word-break: break-word;
}

.datos_pedido div span {
    font-size: 0.7rem !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.div_pedido:hover {
    outline: 0.1rem solid blue;
    cursor: pointer;
    background-color: whitesmoke;
}

#chatCliente {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Ajusta la altura para que ocupe toda la pantalla o usa una altura específica */
}

.contenido {
    flex-grow: 1; /* Permite que el contenido crezca y ocupe el espacio disponible */
    overflow-y: auto; /* Permite hacer scroll en los mensajes */
    padding: 10px;
}

.input-group {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.delete-btn {
    /*padding: 5px 10px;*/ /* Reducir el relleno */
    font-size: 0.5rem; /* Reducir el tamaño de la fuente */
    line-height: 1; /* Reducir el alto de línea para un ajuste más compacto */
}

.noty-title {
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap; /* Evita que el texto se divida en varias líneas */
    overflow: hidden; /* Oculta el texto que sobrepasa el ancho */
    text-overflow: ellipsis; /* Agrega "..." si el texto es muy largo */
    display: block; /* Asegura que el comportamiento se aplique correctamente */
    max-width: 90%; /* Limita el ancho para evitar que se desborde */
}

.noty-message {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limita el mensaje a 2 líneas */
    -webkit-box-orient: vertical;
    max-width: 90%;
}

.noty-buttons-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.noty-button {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    margin: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.noty-button-true {
    background-color: #28a745;
    color: white;
}

    .noty-button-true:hover {
        background-color: #218838;
    }

.noty-button-false {
    background-color: #dc3545;
    color: white;
}

    .noty-button-false:hover {
        background-color: #c82333;
    }

.noty-button i {
    font-size: 16px;
}


/*TERMINA ESTILOS CHAT*/
