﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

.main .top-row {
    background-color: #da251d;
    border-bottom: 1px solid #da251d;
    justify-content: flex-end;
}

.main .top-row>a, .main .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, #292929 0%, #353535 70%);
    overflow-y: scroll;
    background-color: rgba(0, 0, 0, 0.4);
    /* height: 100vh;
    position: fixed;
    top: 0; */
}

/* Tamaño del scroll */
.sidebar::-webkit-scrollbar {
    overflow: hidden;
}

.sidebar .top-row {
    background-color: rgba(0, 0, 0, 0.4);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.sidebar .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.sidebar .nav-item:first-of-type {
    padding-top: 1rem;
}

.sidebar .nav-item:last-of-type {
    padding-bottom: 1rem;
}

.sidebar .nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: inherit;
}

.sidebar .nav-item a.active {
    background-color: #bd2921d3;
    color: white;
}

.sidebar .nav-item a:hover {
    background-color: #da261d;
    color: white;
}

.sidebar .nav-item a.active::after {
    content: "*";
    margin-left: 1em;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 0px !important;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }
    .main .top-row.auth {
        justify-content: space-between;
    }
    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }
    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        /* left: -250px; */
    }
    .main .top-row {
        position: sticky;
        /* top: 0; */
    }
    .main>div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
    .navbar-toggler {
        display: none;
    }
    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.show {
    display: block;
}

.hide {
    display: none;
}

.alinear-div {
    float: left;
}

.boton-circular-eliminar {
    width: 35px !important;
    height: 35px !important;
    background-color: red !important;
}

.boton-circular-editar {
    width: 35px !important;
    height: 35px !important;
    background-color: cornflowerblue !important;
}

.boton-circular-xml {
    width: 35px !important;
    height: 35px !important;
    background-color: grey !important;
    border: 1px solid grey !important;
}
.boton-circular-pagar {
    width: 35px !important;
    height: 35px !important;
    background-color: #008f18 !important;
}
.boton-circular-nopagado {
    width: 35px !important;
    height: 35px !important;
    background-color: grey !important;
}

.boton-aceptar {
    background-color: cornflowerblue !important;
}

.boton-cancelar {
    background-color: grey !important;
}


@media (min-width: 1000px) {
    .tabla-css {
        width: 100% !important;
        display: table !important;
        table-layout: fixed !important;
        overflow-x: auto !important;
    }
    .tabla-td {
        display: table-cell !important;
        text-align: center !important;
    }
}

.mdc-notched-outline__notch {
    width: auto !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* background-color: rgba(144, 144, 144, 0.5); */
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    --sk-color: #da251d;
}

.e-calendar .e-footer-container, .e-clear-icon {
    display: none !important;
}

.boton-upload-excel {
    border: green 1px solid;
    font-size: 14px;
    display: inline-block;
    transition: all .5s;
    cursor: pointer;
    padding: 7px 10px !important;
    width: fit-content;
    text-align: center;
    border-radius: 5px;
}

.boton-nuevo-registro {
    background-color: #008f18 !important;
    text-transform: none;
}

.boton-generar-factura {
    background-color: #ED2E38 !important;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}
.boton-generar-factura-azure {
    background-color: #0484e4 !important;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    padding-left: 12px;
    padding-right: 12px;
}


.boton-guardar-file {
    background-color: cornflowerblue !important;
}

.contenedor-centrado {
    margin: 0px auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.contenedor-imagen {
    margin: 0px auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.right {
    float: right;
}

.logox9 {
    width: 90%;
}

.texto-olvido-contrasena {
    color: black;
}

.texto-olvido-contrasena:hover {
    color: #1b6ec2 !important;
}

.tarjetas {
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 30px;
}

.encabezado-table {
    font-size: 14px !important;
}

.text-color-rojo {
    color: #da261d;
    font-size: 16px;
}

.text-enlace {
    color: cornflowerblue;
    text-decoration: none;
    border-bottom: 2px solid cornflowerblue;
}

.text-menu {
    font-size: 12px !important;
}




/* Estilos del contenedor */
.global {
    /* padding: 1rem 1.5rem; */
    width: 300px;
    height: 400px;
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    /* color: #333; */
    font-family: sans-serif;
    text-align: justify;
    /* line-height: 1.3; */
    overflow: auto;
  }
  
  .global p:not(:last-child) {
    margin-bottom: 1rem;
  }
  
  /* Tamaño del scroll */
  .global::-webkit-scrollbar {
    width: 8px;
  }
  
   /* Estilos barra (thumb) de scroll */
  .global::-webkit-scrollbar-thumb {
    background: #b7b7b7;
    border-radius: 4px;
  }
  
  .global::-webkit-scrollbar-thumb:active {
    background-color: #999999;
  }
  
  .global::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
  }
  
   /* Estilos track de scroll */
  .global::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 4px;
  }
  
  .global::-webkit-scrollbar-track:hover, 
  .global::-webkit-scrollbar-track:active {
    background: #d4d4d4;
  }
  .alinear-select
  {
    margin-bottom: 0px;
    margin-top: 23px;
  }
  .boton-regresar
  {
    background-color: #2B2926 !important;
    color: white !important;
  }
  
  .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
      padding-right: 15px !important;
      padding-left: 15px !important;
  }

  .caja-radio-btn
  {
    height: 31px !important;
    margin-top: 23px !important;
  }
  .caja-radio-principal-btn
  {
    height: 31px !important;
    margin-top: -12px !important;
  }

  .factura-relacionadas{
      height: 100px !important;
  }
  .caja-check-btn
  {
      text-align: center;
    height: 35px !important;
    margin-top: 23px !important;
  }
  .caja-check-principal-btn
  {
    text-align: center;
    height: 35px !important;
    margin-top: -12px !important;
  }

  /* .td-licencias
  {
      width: 250px !important;
      vertical-align: middle !important;
  }

  .scoll-horizontal
  {
    overflow-y: hidden; 
    overflow-x: auto;
    width: 250px !important;
    height: 350px !important;
    padding: 10px;
    white-space: nowrap;
  } */

  /* .scoll-horizontal div
  {
    table-layout: fixed;
    width: 100%;
  } */

.main {
    overflow-x:scroll;
    width:100%;
}
.horizontal-scroll {
    display : inline-flex;
    padding:1px;
}

.item-tabla {
    margin: 0px 10px;
    margin-right: 10px !important;
    min-width: 250px;
    padding: 0px;
    padding-right: 10px !important;
    vertical-align: middle !important;
}




.item-tabla-licencias {
    margin: 0px 10px;
    margin-right: 10px !important;
    min-width: 230px;
    padding: 0px;
    padding-right: 10px !important;
    vertical-align: middle !important;
} 

@media (min-width: 1500px)
{
    .item-tabla-licencias {
        margin: 0px 10px;
        margin-right: 10px !important;
        min-width: 320px;
        padding: 0px;
        padding-right: 10px !important;
        vertical-align: middle !important;
    } 
}


.list-licencias
{
    display: block;
    margin: 0;
    overflow: hidden;
    /* padding: 0.83em 0; */
    text-overflow: ellipsis;
}

.centrado-lista
{
    vertical-align: middle !important;
}

.parentDisable 
    {
        position:fixed;
        top:0;
        left:0;
        background:#000;
        opacity:0.4;
        z-index:998;
        height:100%;
        width:100%;
    }

    .popup
    {
           position:aboslute;
           z-index:999;
    } 

    .contrasenia-text
    {
        width: 90% !important;
        margin-top: auto !important;
        border-top-right-radius: 0% !important;
        border-bottom-right-radius: 0% !important;
    }
    
    .logo-contrasenia {
        padding-top: 3%;
        padding-left: 2%;
        width: 10% !important;
        border-top-right-radius: 12% !important;
        border-bottom-right-radius: 12% !important;
        border: #ced4da 1px solid;
        vertical-align: middle !important;
        border-left: 0px !important;
    }

    .logo-contrasenia:hover
    {
        background-color: #495057;
        color: white;;
    }

    .logo-contrasenia-error {
        padding-top: 3%;
        padding-left: 2%;
        width: 10% !important;
        border-top-right-radius: 12% !important;
        border-bottom-right-radius: 12% !important;
        border: red 1px solid;
        vertical-align: middle !important;
        border-left: 0px !important;
    }

    .logo-contrasenia-succes {
        padding-top: 3%;
        padding-left: 2%;
        width: 10% !important;
        border-top-right-radius: 12% !important;
        border-bottom-right-radius: 12% !important;
        border: green 1px solid;
        vertical-align: middle !important;
        border-left: 0px !important;
    }

    .logo-contrasenia-error:hover
    {
        background-color: #495057;
        color: white;;
    }

    .logo-contrasenia-succes:hover
    {
        background-color: #495057;
        color: white;;
    }

    .logo-select 
    {
        /* background-color: #26b050; */
        /* color: white; */
        color: #26b050;
    }

    .encabezado-select-cliente
    {
        margin-bottom: -20px;
        padding-top: 8px;
    }

    .padding-item-select
    {
        padding-top: 8px !important;
        padding-bottom:  8px !important;
    }

    /* clases de filtros */
    .inner-addon {
        position: relative;
      }
      .inner-addon .glyphicon {
        position: absolute;
        padding: 10px;
        z-index: 2;
      }
      .left-addon .glyphicon {
        left: 0px;
      }
      .right-addon .glyphicon {
        right: 0px;
      }
      .left-addon input {
        padding-left: 30px;
      }
      .right-addon input {
        padding-right: 30px;
      }
      .input-filter{
          border: 1px solid #dee2e6 !important;
      }











.e-grid .e-excelexport::before, .e-grid-menu .e-excelexport::before {
    content: none;
    min-width: 0px !important;
}

.e-excelexport .e-icons .e-btn-icon .e-icon-left {
    content: none;
    min-width: 0px !important;
}


.e-toolbar .e-tbar-btn {
    background: #495057;
    color: #f8f9fa;
}

.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
    margin: 0px !important;
    min-width: 0px !important;
    width: auto;
}

.e-btn .e-btn-icon.e-icon-left, .e-css.e-btn .e-btn-icon.e-icon-left {
    margin-left: -0.5em;
    /*width: 2em;*/
    padding: 0 8px;
}

.e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
    padding: 0px !important;
}

.btn-responsive {
    display: flex;
    justify-content: space-between;
}

.space-between {
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    height: auto;
    padding: 25px;
    margin: 10px auto;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

    .space-between label {
        align-self: center;
        margin: 0;
        padding: 5px;
    }

.space-between-2 {
    width: 100%;
    height: auto;
    margin: 10px auto;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

    .space-between-2 label {
        align-self: center;
        margin: 0;
        padding: 5px;
    }


.contenedor-icono i {
    font-size: 15px;
}