/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
  }
  
  /*
   * Remove text-shadow in selection highlight:
   * https://twitter.com/miketaylr/status/12228805301
   *
   * Vendor-prefixed and regular ::selection selectors cannot be combined:
   * https://stackoverflow.com/a/16982510/7133471
   *
   * Customize the background color to match your design.
   */
  
  ::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
  }
  
  ::selection {
    background: #b3d4fc;
    text-shadow: none;
  }
  
  /*
   * A better looking default horizontal rule
   */
  
  hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
  }
  
  /*
   * Remove the gap between audio, canvas, iframes,
   * images, videos and the bottom of their containers:
   * https://github.com/h5bp/html5-boilerplate/issues/440
   */
  
  audio,
  canvas,
  iframe,
  img,
  svg,
  video {
    vertical-align: middle;
  }
  
  /*
   * Remove default fieldset styles.
   */
  
  fieldset {
    border: 0;
    margin: 0;
    padding: 0;
  }
  
  /*
   * Allow only vertical resizing of textareas.
   */
  
  textarea {
    resize: vertical;
  }
  
  /* ==========================================================================
     Author's custom styles
     ========================================================================== */
  
     html,
     body {
       height: 100%;
     }

     .addeventatc_dropdown {
    z-index: 999999 !important;
}

    header .dropdown-menu { margin-left: -150px!important; }


     .bootbox-close-button { display: none!important; }

     .dataTables_wrapper { width: 100%!important; margin-top: 10px; }

     .close { display: none; }

     .navbar-sidenav {
      background-color: #D3D3D3 !important;
     }

     .bg-menu-header {
      background-color: #D3D3D3;
    }

    .bg-menu-header a {
      color: #123936;
    }

    .dropdown-menu span { padding-left: 10px; }
    
    a.bg-menu-header:hover, a.bg-menu-header:focus,
    button.bg-menu-header:hover,
    button.bg-menu-header:focus {
      background-color: white !important;
    }
     
     .formatoLogin {
      height: 100vh;
        background: white;
       display: flex;   
       align-items: center;
       padding-top: 40px;
       padding-bottom: 40px;
       border-right: 2px solid #002932;
     }

     .imagenLogin {
      background-image: url(../img/login-showroom.jpg);
      background-size: 100% auto;
      background-position: center top;
      background-repeat: no-repeat;
      filter: brightness(0.5);
     }

     h1 {
        color: #133332;
        font-size: 28px!important;
     }

     h4 {
      font-size: 18px!important;
   }

   @media (min-width: 576px) {
      .modal-dialog {
          max-width: 800px!important;
          margin: 1.75rem auto;
      }
   }

/* ==========================================================================
   Modern Look & Feel: Cards, Tables, DataTables, Badges & Action Buttons
   ========================================================================== */

/* Tarjetas y Contenedores */
.card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07) !important;
  background-color: #ffffff;
  margin-bottom: 1.5rem;
}

.card-header {
  background-color: #ffffff !important;
  border-bottom: 2px solid #212529 !important;
  padding: 1rem 1.25rem !important;
}

.card-header h3 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #212529 !important;
  margin-bottom: 0.2rem;
}

.card-header h4 {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #6c757d !important;
}

/* Tablas y Encabezados */
table.dataTable,
.table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin: 15px 0 !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 8px !important;
  overflow: hidden;
}

table.dataTable thead th,
.table thead th {
  background-color: #212529 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.4px !important;
  padding: 12px 14px !important;
  border: none !important;
  vertical-align: middle !important;
  text-align: left;
}

table.dataTable tbody td,
.table tbody td {
  padding: 10px 14px !important;
  vertical-align: middle !important;
  font-size: 0.88rem !important;
  color: #212529 !important;
  border-top: 1px solid #f1f3f5 !important;
  border-bottom: none !important;
  background-color: #ffffff;
}

table.dataTable tbody tr:nth-of-type(even) td {
  background-color: #f8f9fa !important;
}

table.dataTable tbody tr:hover td {
  background-color: #e9ecef !important;
  transition: background-color 0.15s ease-in-out;
}

/* Badges y Pastillas de Estado */
.badge,
.badge-warning,
.badge-success,
.badge-danger,
.badge-info,
.badge-secondary,
.badge-primary,
.bg-warning,
.bg-success,
.bg-danger,
.bg-secondary,
.bg-primary {
  padding: 5px 11px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.3px !important;
  display: inline-block;
}

.badge-success, .bg-success { background-color: #198754 !important; color: #fff !important; }
.badge-warning, .bg-warning { background-color: #ffc107 !important; color: #212529 !important; }
.badge-danger, .bg-danger { background-color: #dc3545 !important; color: #fff !important; }
.badge-secondary, .bg-secondary { background-color: #6c757d !important; color: #fff !important; }
.badge-info, .bg-info { background-color: #0dcaf0 !important; color: #212529 !important; }
.badge-primary, .bg-primary { background-color: #0d6efd !important; color: #fff !important; }

/* Botones de DataTables (Excel, PDF, Print, Copiar) */
.dt-buttons,
div.dt-buttons {
  margin-bottom: 12px !important;
  display: inline-block;
}

.dt-button,
.dt-buttons .btn,
button.dt-button,
div.dt-buttons .dt-button {
  background: #343a40 !important;
  color: #ffffff !important;
  border: 1px solid #343a40 !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  margin-right: 6px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.dt-button:hover,
button.dt-button:hover,
div.dt-buttons .dt-button:hover {
  background: #212529 !important;
  border-color: #212529 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Buscador y Controles de Paginación */
.dataTables_filter {
  margin-bottom: 12px !important;
  float: right;
}

.dataTables_filter label {
  font-weight: 600 !important;
  color: #495057 !important;
  font-size: 0.88rem !important;
}

.dataTables_filter input {
  border: 1px solid #ced4da !important;
  border-radius: 6px !important;
  padding: 5px 10px !important;
  margin-left: 8px !important;
  outline: none !important;
  font-size: 0.88rem !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dataTables_filter input:focus {
  border-color: #212529 !important;
  box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.15) !important;
}

.dataTables_length {
  float: left;
  margin-bottom: 12px !important;
}

.dataTables_length label {
  font-weight: 500 !important;
  color: #6c757d !important;
  font-size: 0.85rem !important;
}

.dataTables_length select {
  border: 1px solid #ced4da !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  margin: 0 4px !important;
}

.dataTables_info {
  font-size: 0.85rem !important;
  color: #6c757d !important;
  padding-top: 15px !important;
}

.dataTables_paginate {
  padding-top: 10px !important;
  float: right;
}

.dataTables_paginate .paginate_button {
  border-radius: 6px !important;
  border: 1px solid #dee2e6 !important;
  background: #ffffff !important;
  color: #495057 !important;
  padding: 5px 12px !important;
  margin: 0 2px !important;
  font-size: 0.85rem !important;
  cursor: pointer;
  display: inline-block;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.dataTables_paginate .paginate_button:hover {
  background: #e9ecef !important;
  border-color: #ced4da !important;
  color: #212529 !important;
}

.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover {
  background: #212529 !important;
  border-color: #212529 !important;
  color: #ffffff !important;
}

/* Iconos de Acciones en Filas */
table.dataTable tbody td a,
.table tbody td a {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  margin: 0 2px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

table.dataTable tbody td a:hover,
.table tbody td a:hover {
  background-color: #e2e6ea;
  transform: scale(1.08);
}

table.dataTable tbody td a i,
.table tbody td a i {
  font-size: 13px !important;
}

table.dataTable tbody td a i.fa-trash,
.table tbody td a i.fa-trash {
  color: #dc3545 !important;
}

table.dataTable tbody td a i.fa-edit,
.table tbody td a i.fa-edit {
  color: #0d6efd !important;
}

table.dataTable tbody td a i.fa-map-marker-alt,
.table tbody td a i.fa-map-marker-alt {
  color: #198754 !important;
}

     .form-signin {
       width: 100%;
       max-width: 400px;
       padding: 40px;
       margin: auto;
      
    
    
     }
     
     .form-signin .checkbox {
       font-weight: 400;
     }
     
     .form-signin .form-floating:focus-within {
       z-index: 2;
     }
     
     .form-signin input[type="email"] {
       margin-bottom: -1px;
       border-bottom-right-radius: 0;
       border-bottom-left-radius: 0;
     }
     
     .form-signin input[type="password"] {
       margin-bottom: 10px;
       border-top-left-radius: 0;
       border-top-right-radius: 0;
     }

    .mainFooter {
      background-color: #474747;
      color: #FAFAFA;
      height: 70px;
      position:fixed; bottom:0; z-index:999999;
      display: flex;   
      align-items: center;
      justify-content: center;
      flex-direction: row;
    }

    .boxFooter {
      padding: 0 15px;
    }

    .boxFooter a {
      text-decoration: none;
      color: #FAFAFA;
    }

    .boxFooter a:hover {
      color: #FFC000;
    }
    
    .card-header {
      
      color: grey;
      border-bottom: 2px solid rgb(18,57,54);
    }

    .buscadorFechas {
      margin: 15px 0 25px 0;
    }

    .form-inline label {
      padding-right: 15px;
    }

    .fondoOperacionesIngresadas {
      background: #f6f0f0;
      border: none!important;
      padding: 25px;
    }

    .fondoOperacionesIngresadas .card i {
      text-align: center;
      color: #FFC000;
      font-size: 24px;
    }

    i.fa-filter,
    .card-body i.fa-filter {
      font-size: 13px !important;
      color: #334155 !important;
      vertical-align: middle !important;
    }

    /* Iconos en Alertas */
    .alert i,
    .alert svg,
    .alert .fa,
    .alert .fas {
      font-size: 14px !important;
      width: auto !important;
      height: auto !important;
      vertical-align: middle !important;
    }

    .alert-danger i,
    .alert-danger svg,
    .alert-danger .fa,
    .alert-danger .fas {
      color: #842029 !important;
    }

    /* Iconos y Botones Generales */
    .btn i,
    .btn svg,
    button i,
    button svg,
    .btn .fa,
    .btn .fas,
    .btn .far,
    .btn .fa-solid {
      font-size: 14px !important;
      width: auto !important;
      height: 14px !important;
      max-width: 16px !important;
      max-height: 16px !important;
      vertical-align: middle !important;
      margin-right: 6px !important;
      color: inherit !important;
      display: inline-block !important;
      line-height: 1 !important;
    }

    /* Botones de acción (excluyendo dropdowns de bootstrap-select) */
    .btn:not(.dropdown-toggle) {
      font-size: 0.9rem !important;
      font-weight: 500 !important;
      padding: 7px 18px !important;
      border-radius: 6px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      transition: all 0.15s ease-in-out !important;
      line-height: 1.5 !important;
    }

    /* Estilos para Inputs y Textareas nativos */
    input.form-control:not([type="checkbox"]):not([type="radio"]),
    select.form-control:not(.selectpicker):not(.bs-select-hidden) {
      height: 38px !important;
      min-height: 38px !important;
      border: 1px solid #ced4da !important;
      border-radius: 6px !important;
      font-size: 0.9rem !important;
      padding: 6px 12px !important;
      background-color: #ffffff !important;
      color: #212529 !important;
      box-shadow: none !important;
    }

    textarea.form-control {
      border: 1px solid #ced4da !important;
      border-radius: 6px !important;
      font-size: 0.9rem !important;
      padding: 8px 12px !important;
      background-color: #ffffff !important;
      color: #212529 !important;
      box-shadow: none !important;
    }

    /* Ocultar completamente el <select> original de Bootstrap-Select para evitar doble borde/caja */
    select.selectpicker,
    select.bs-select-hidden,
    .bootstrap-select > select {
      display: none !important;
      border: none !important;
      min-height: 0 !important;
      height: 0 !important;
      padding: 0 !important;
      margin: 0 !important;
      opacity: 0 !important;
      position: absolute !important;
      pointer-events: none !important;
    }

    /* Estilos del botón y menú de Bootstrap-Select */
    .bootstrap-select {
      width: 100% !important;
      position: relative !important;
      display: block !important;
      background-color: transparent !important;
      border: none !important;
      padding: 0 !important;
    }

    .bootstrap-select > .btn.dropdown-toggle,
    .bootstrap-select > button.dropdown-toggle {
      width: 100% !important;
      height: 38px !important;
      min-height: 38px !important;
      border: 1px solid #ced4da !important;
      border-radius: 6px !important;
      background-color: #ffffff !important;
      color: #212529 !important;
      padding: 6px 12px !important;
      font-size: 0.9rem !important;
      box-shadow: none !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      text-align: left !important;
    }

    .bootstrap-select > .btn.dropdown-toggle .filter-option,
    .bootstrap-select > button.dropdown-toggle .filter-option {
      flex: 1 1 auto;
      text-align: left;
    }

    /* Menú desplegable contenido exactamente en el ancho del select */
    .bootstrap-select .dropdown-menu {
      position: absolute !important;
      top: 100% !important;
      left: 0 !important;
      width: 100% !important;
      min-width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      z-index: 1050 !important;
      border: 1px solid #ced4da !important;
      border-radius: 6px !important;
      box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
      background-color: #ffffff !important;
      padding: 4px 0 !important;
      margin-top: 2px !important;
      transform: none !important;
    }

    .bootstrap-select .dropdown-menu.inner {
      position: static !important;
      max-height: 250px !important;
      overflow-y: auto !important;
      width: 100% !important;
    }

    .bootstrap-select .dropdown-menu li {
      width: 100% !important;
    }

    .bootstrap-select .dropdown-menu li a {
      padding: 7px 14px !important;
      font-size: 0.88rem !important;
      color: #212529 !important;
      display: block !important;
      text-decoration: none !important;
      white-space: normal !important;
      width: 100% !important;
    }

    .bootstrap-select .dropdown-menu li a:hover,
    .bootstrap-select .dropdown-menu li.active a,
    .bootstrap-select .dropdown-menu li.selected a {
      background-color: #e9ecef !important;
      color: #0d6efd !important;
    }

    .bootstrap-select .bs-searchbox {
      padding: 6px 10px !important;
    }

    .bootstrap-select .bs-searchbox input.form-control {
      height: 32px !important;
      min-height: 32px !important;
      font-size: 0.85rem !important;
      padding: 4px 8px !important;
    }

    .bootstrap-select > .btn.dropdown-toggle:focus,
    .form-control:focus {
      border-color: #86b7fe !important;
      box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
      outline: 0 !important;
    }

    .btn-primary {
      background-color: #0d6efd !important;
      border-color: #0d6efd !important;
      color: #ffffff !important;
    }

    .btn-primary:hover {
      background-color: #0b5ed7 !important;
      border-color: #0a58ca !important;
      color: #ffffff !important;
    }

    .btn-danger {
      background-color: #dc3545 !important;
      border-color: #dc3545 !important;
      color: #ffffff !important;
    }

    .btn-danger:hover {
      background-color: #bb2d3b !important;
      border-color: #b02a37 !important;
      color: #ffffff !important;
    }

    .eliminar i {
      color:#133332;
      font-size: 24px;
    }

    .eliminar i:hover {
      color:red;
      font-size: 24px;
    }

    .modificar i {
      color:#133332;
      font-size: 24px;
    }

    .modificar i:hover {
      color: blue;
      font-size: 24px;
    }

    .fondoOperacionesIngresadas .card {
    background: rgb(18,57,54);
    padding: 15px 10px;
    text-align: center;
    color: white;
    border-bottom: 2px solid #FFC000;
    height: 130px;
    margin-bottom: 10px;
}

    .btn-secondary {
      border-bottom: 1px solid #FFC000;
    }
    
    .btn-secondary:hover {
      border-bottom: 1px solid #FFC000;
    }

    .footerLegales {
      width: 100%;
      display: flex;
      align-items: center;
      color: white;
      height: 60px;
      position: fixed; bottom:0; z-index: 999;
      font-size: 14px;
    }

    .form-group {
      padding-bottom: 20px;
    }


  /* ==========================================================================
     Helper classes
     ========================================================================== */
  
  /*
   * Hide visually and from screen readers
   */
  
  .hidden,
  [hidden] {
    display: none !important;
  }
  
  /*
   * Hide only visually, but have it available for screen readers:
   * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
   *
   * 1. For long content, line feeds are not interpreted as spaces and small width
   *    causes content to wrap 1 word per line:
   *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
   */
  
  .sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
  }
  
  /*
   * Extends the .sr-only class to allow the element
   * to be focusable when navigated to via the keyboard:
   * https://www.drupal.org/node/897638
   */
  
  .sr-only.focusable:active,
  .sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
  }
  
  /*
   * Hide visually and from screen readers, but maintain layout
   */
  
  .invisible {
    visibility: hidden;
  }
  
  /*
   * Clearfix: contain floats
   *
   * For modern browsers
   * 1. The space content is one way to avoid an Opera bug when the
   *    `contenteditable` attribute is included anywhere else in the document.
   *    Otherwise it causes space to appear at the top and bottom of elements
   *    that receive the `clearfix` class.
   * 2. The use of `table` rather than `block` is only necessary if using
   *    `:before` to contain the top-margins of child elements.
   */
  
  .clearfix::before,
  .clearfix::after {
    content: " ";
    display: table;
  }
  
  .clearfix::after {
    clear: both;
  }
  
  /* ==========================================================================
     EXAMPLE Media Queries for Responsive Design.
     These examples override the primary ('mobile first') styles.
     Modify as content requires.
     ========================================================================== */
  
  @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
  }
  
  @media print,
    (-webkit-min-device-pixel-ratio: 1.25),
    (min-resolution: 1.25dppx),
    (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
  }
  
  /* ==========================================================================
     Print styles.
     Inlined to avoid the additional HTTP request:
     https://www.phpied.com/delay-loading-your-print-css/
     ========================================================================== */
  
  @media print {
    *,
    *::before,
    *::after {
      background: #fff !important;
      color: #000 !important;
      /* Black prints faster */
      box-shadow: none !important;
      text-shadow: none !important;
    }
  
    a,
    a:visited {
      text-decoration: underline;
    }
  
    a[href]::after {
      content: " (" attr(href) ")";
    }
  
    abbr[title]::after {
      content: " (" attr(title) ")";
    }
  
    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
      content: "";
    }
  
    pre {
      white-space: pre-wrap !important;
    }
  
    pre,
    blockquote {
      border: 1px solid #999;
      page-break-inside: avoid;
    }
  
    /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
      display: table-header-group;
    }
  
    tr,
    img {
      page-break-inside: avoid;
    }
  
    p,
    h2,
    h3 {
      orphans: 3;
      widows: 3;
    }
  
    h2,
    h3 {
      page-break-after: avoid;
    }
  }
  
  