/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   ESTILOS PARA ERP ARLEQUIN
   TRANSORTES ARLEQUIN, S.A. DE C.V.
   https://tarlequin.com
   ------------------------------------------------------------------------
   COPYRIGHT 2024
   PROHIBIDA SU REPRODUCCION PARACIAL O TOTAL
   ------------------------------------------------------------------------
   ING. FELIPE CERDA <felipe.cerda@tarlequin.com>
   ING. JAVIER VELEZ <javier.velez@tarlequin.com>
   ING. ANTONIO CARDONA <antonio.cardona@tarlequin.com>
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  */

/* @import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,600,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,500,600,700&display=swap'); */


/* +++++++++++++++++++++++++++++++++++++++ FONTS ++++++++++++++++++++++++++++++++++++++++++++ */
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-ExtraLight.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-Bold.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-BoldItalic.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-ExtraLightItalic.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-ExtraLightItalic.woff') format('woff');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-Italic.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-Light.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-MediumItalic.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-SemiBold.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-LightItalic.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-Regular.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-SemiBoldItalic.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-SemiBoldItalic.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-Medium.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-ThinItalic.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-ThinItalic.woff') format('woff');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('arleFonts/IBMPlexSans-Thin.woff2') format('woff2'),
      url('arleFonts/IBMPlexSans-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Slab';
  src: url('arleFonts/RobotoSlab-Regular.woff2') format('woff2'),
      url('arleFonts/RobotoSlab-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* +++++++++++++++++++++++++++++++++++++++ BODY ++++++++++++++++++++++++++++++++++++++++++++ */
body {
    font-family: 'IBM Plex Sans', Tahoma, 'Arial', sans-serif;
    font-size:1em;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-user-select:none;
    background: #f9f9f9;
}

* {-webkit-tap-highlight-color:rgba(0,0,0,0);}
.btn:active {outline:0 !important;}
.btn:focus {outline:0 !important;}
.btn:hover {outline:0 !important;}

::placeholder { color:#e0e0e1 !important; opacity: 1; text-transform: none; }
:-ms-input-placeholder { color:#e0e0e1 !important; text-transform: none; }
::-ms-input-placeholder { color:#e0e0e1 !important;text-transform: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    font-weight: 500;
    margin-bottom:0;
}

a, a:visited { color:#0053b0; font-weight: 400; }
a:hover, a:active { color: #e70f2c; }

input[type='text']:focus,
input[type='password']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='search']:focus,
input[type='date']:focus,
select.form-control:focus,
textarea:focus {
    border-width: 2px;  border-color: rgba(0,52,30,0.10);  -webkit-box-shadow: none; box-shadow: none;
}

/*        Input type file   */
[type=file] { color: #c3c3c6; }

/*        Widths            */
.w45 { width:45px !important; }
.w50 { width:50px !important; }
.w55 { width:55px !important; }
.w60 { width:60px !important; }
.w70 { width:70px !important; }
.w80 { width:80px !important; }
.w90 { width:90px !important; }
.w100 { width:100px !important; }
.w110 { width:110px !important; }
.w120 { width:120px !important; }
.w130 { width:130px !important; }
.w140 { width:140px !important; }
.w150 { width:150px !important; }
.w160 { width:160px !important; }
.w170 { width:170px !important; }
.w180 { width:180px !important; }
.w200 { width:200px !important; }

/*        Weights            */
.weight500 { font-weight: 500; }
.weight600 { font-weight: 600; }


.ucfirst:first-letter{
    text-transform: capitalize
}

.btn-purple { background: #5F4B8B; color: #ffffff; }
.btn-purple:hover, .btn-purple:active { background: #4F3B7B; color: #f4f4f6; }

.arle-total { background: #5F4B8B; color: #ffffff; }
.arle-total:hover, .arle-total:active { background: #4F3B7B !important; color: #f4f4f6 !important; }
.arle-total td { padding:2em 0 !important; }

.arle-totales { background: #5F4B8B; color: #ffffff; }
.arle-totales:hover, .arle-totales:active { background: #4F3B7B !important; color: #f4f4f6 !important; }
.arle-totales td { padding:0.8em 0 !important; }

/* +++++++++++++++++++++++++++++++++++++++ LOGIN ++++++++++++++++++++++++++++++++++++++++++++ */
#main-100vh { height:100vh; padding:0 0.2rem; }
#footer-login { line-height: 1em; padding-left:1em; position: fixed; bottom: 0; width:100%; color:rgba(255,255,255,0.35); background: rgba(255,255,255,0.1); }
#footer-login a { color:rgba(255,255,255,0.30); }

/*  +++++++++++++++++++++++++++++++++++ LOADER CSS  ++++++++++++++++++++++++++++++++++++++++ */
#loader { height: 4px; width: 100%; position: fixed; overflow: hidden; background-color:transparent; top:0; z-index:11000; }
#loader:before{ display: block; position: absolute; content: ""; left: -200px; width: 200px; height: 4px; background-color: rgba(255,255,255,0.60); animation: loading 1.5s linear infinite; }
@keyframes loading { from {left: -200px; width: 30%;} 50% {width: 30%;} 70% {width: 70%;} 80% { left: 50%;} 95% {left: 120%;} to {left: 100%;} }

/* ++++++++++++++++++++++++++++++++++++++ MODALES ++++++++++++++++++++++++++++++++++++++++++++ */
#modal-frame .modal-dialog { margin:0; width:100%; max-width: 100%; }
#modal-frame .modal-content { color:#e6e6e6; border-bottom:1px solid #e6e6e6; border-radius: 0 !important; }
#modal-frame .modal-body p { margin-bottom: 0.5em; }
#modal-frame .modal-body span { margin-top: 0.3em; }
#modal-preview { font-size: 0.95em; }
#modal-preview .modal-body { padding: 1rem; }

.modal-header { color: #ffffff; padding:0.5em 0.75em; font-size:1.2em; font-weight: 500; }


/* +++++++++++++++++++++++++++++++++++++ NAVBAR SIDE +++++++++++++++++++++++++++++++++++++++++ */
.navbar .dropdown-menu { left: inherit; right: 0; }
.navbar .dropdown-menu a, .navbar .dropdown-menu a:visited { color: #ffffff;}
#nav-fmtkd { padding: 0.15rem 1rem; }
#title-navbar { font-family: 'Roboto Slab', serif; font-weight: 400; font-size: 0.9em; margin-left: 0.5rem; color: #e2e2e8; }

/* +++++++++++++++++++++++++++++++++++++ SIDEBAR ++++++++++++++++++++++++++++++++++++++++++++ */
.wrapper { display: flex; width: 100%; align-items: stretch; }
#content { width:100%; max-width: 100%; overflow: hidden; padding:0.5rem; margin-top:62px; }
#sidebar { min-width: 210px; max-width: 210px;  min-height: calc(100vh - 56px); margin-top: 56px; background: #1e1e20; color: #f0f0f0;  }
#sidebar-email { font-size:0.65em; text-overflow: ellipsis; max-width: 100%; overflow: hidden; color:#909096; }
#sidebar.active { margin-left: -200px; }
#sidebar-caret { font-size:16px; height: 100%; width:10px; float: right; background: rgba(0,0,0,0.2); cursor: pointer; display: flex; }

#sidebar .side-title { border-bottom:1px solid rgba(255,255,255,0.1); }

#sidebar ul p { color: #f0f0f0; padding: 10px; }
#sidebar ul li a { color:#f0f0f0; font-size:0.95em; padding:5px 0 5px 1em; display: block; }
#sidebar > ul > li > ul > li > a { padding-left:2.6em; font-size: 0.85em; }
#sidebar ul li a:hover { color: #f0f0f0; background: #878797; transition: 0.3s ease-in; opacity: 1; }
#sidebar > ul > li > ul  { background: #25252a; }
#sidebar > ul > li { border-bottom:1px solid rgba(255,255,255,0.1); }
#sidebar > ul > li > ul >li { border-bottom:1px solid rgba(255,255,255,0.03); }

#sidebar .dropdown-toggle::after { display: block; position: absolute; top: 50%; right: 16px; transform: translateY(-50%); }
#sidebar a[data-toggle="collapse"] { position: relative; }

/* +++++++++++++++++++++++++++++++++++++ BREADCRUMB ++++++++++++++++++++++++++++++++++++++++++++ */
.breadcrumb-item+.breadcrumb-item::before { content:""; padding-right: 0; }
.breadcrumb-item+.breadcrumb-item { padding-left:0; }

/*+++++++++++++++++++++++++++++++++++ MEJORAS ING.ANGEL CONTRERAS DATATABLES */
.cabecerabread{background-color: 0053B0 !important; color: #fff !important;}
.tabla-generica {
  width: 100%;
  margin: 0 auto !important;
  clear: both;
  border-collapse: collapse;
  word-wrap: break-word;
  color: #212529;
}

.tabla-generica th {
  padding-top: 0.4rem;
  padding-bottom: 0.3rem;
  padding-left: 0.3rem;
  background-color: #0053b0;
  font-size: 0.85em;
  color: #f2f2f2;
  font-weight: 500;
}

.tabla-generica td {
  font-size: 0.75em;
  vertical-align: middle;
  padding: 0.1rem 0.3rem;
  font-weight: 500;
}

.tabla-generica .sorting_1 {
  background-color: #d8d8da;
}

.tabla-generica tbody tr:hover {
  background-color: #f9ddc0;
}

.table-botonera {
  min-width: 80px !important;
  text-align: center;
}

.btn-table {
  margin: 0;
  padding: 3px 8px !important;
  border-radius: 0;
}

.btns-export {
  padding: 6px 12px !important;
  margin: 4px 2px 0 0;
}

.btn-table:hover, .btns-export:hover {
  opacity: 0.85;
}

.dataTables_info {
  font-size: 0.9em;
}

.dataTables_filter label {
  margin-bottom: 0;
  padding-bottom: 2px !important;
  padding-top: 6px;
  font-size: 0.9em;
}

.pagination .page-item.active .page-link {
  color: #4A4A4F;
  background-color: transparent;
  font-weight: 500;
  font-size: 0.8em;
  box-shadow: none;
  border: 1px solid #e3e3e3;
}

.pagination .page-item.active .page-link:hover, 
.pagination .page-item.active .page-link:focus {
  color: #ffffff !important;
  background-color: #4d82ac !important;
  border: 1px solid #4d82ac;
}

div.dataTables_wrapper div.dataTables_info {
  font-size: 0.8em;
}

div.dataTables_wrapper div.dataTables_paginate {
  padding-top: 0.5rem !important;
  padding-bottom: 0 !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  margin-bottom: 0;
}

.dataTables_length {
  padding-top: 0.3rem;
  font-size: 0.8em;
}

.tabla-generica .dataTables_empty {
  padding: 0.75rem 0;
  font-size: 0.9em;
  color: #4A4A4F;
}

.row1 {
  background-color: #e0e0e0;
}

.row2 {
  background-color: #ffffff;
}

/* -- Datatables fixedHeader -- */
table.fixedHeader-floating th {
  padding-top: 0.4rem;
  padding-bottom: 0.3rem;
  padding-left: 0.3rem;
  background-color: #0053b0;
  font-size: 0.82em;
  color: #f2f2f2;
  font-weight: 500;
  text-align: center;
}
/*+++++++++++++++++++++++++++++++++++++CIERRE DATATABLES GENERICA+++++++++++++++++++++*/
/*  +++++++++++++++++++++++++++++++++++ DATATABLES  ++++++++++++++++++++++++++++++++++++++++ */
#tDatos { width:100%; margin: 0 auto !important; clear: both; border-collapse: collapse;  word-wrap:break-word; color:#212529;}
#tDatos1 { width:100%; margin: 0 auto !important; clear: both; border-collapse: collapse;  word-wrap:break-word; color:#212529;}


table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before {
    bottom:0.2em !important;
}

#tDatos th { padding-top:0.4rem; padding-bottom:0.3rem; padding-left:0.3rem; background-color: #0053b0 ; font-size:0.85em; color:#f2f2f2; font-weight: 500; }
#tDatos td { font-size:0.75em; vertical-align: middle; padding:0.1rem 0.3rem; font-weight: 500; }

#tDatos .sorting_1 { background-color: #d8d8da; }
#tDatos tbody tr:hover { background-color: #f9ddc0; }

#tDatos1 th { padding-top:0.4rem; padding-bottom:0.3rem; padding-left:0.3rem; background-color: #0053b0 ; font-size:0.85em; color:#f2f2f2; font-weight: 500; }
#tDatos1 td { font-size:0.75em; vertical-align: middle; padding:0.1rem 0.3rem; font-weight: 500; }

#tDatos1 .sorting_1 { background-color: #d8d8da; }
#tDatos1 tbody tr:hover { background-color: #f9ddc0; }

.table-botonera { min-width: 80px !important; text-align: center; }
.btn-table { margin:0; padding:3px 8px !important; border-radius: 0; }
.btns-export { padding:6px 12px !important;  margin:4px 2px 0 0; }
.btn-table:hover, .btns-export:hover { opacity: 0.85;}

.dataTables_info { font-size:0.9em; }
.dataTables_filter label { margin-bottom:0; padding-bottom:2px !important; padding-top:6px; font-size:0.9em; }

.pagination .page-item.active .page-link { color: #4A4A4F; background-color: transparent; font-weight: 500; font-size:0.8em; box-shadow: none; -moz-box-shadow: none; border:1px solid #e3e3e3; }

.pagination .page-item.active .page-link:hover, .pagination .page-item.active .page-link:focus {
    color: #ffffff !important;
    background-color: #4d82ac !important;
    border:1px solid #4d82ac;
}

div.dataTables_wrapper div.dataTables_info { font-size:0.8em; }
div.dataTables_wrapper div.dataTables_paginate { padding-top: 0.5rem !important; padding-bottom: 0 !important; }
div.dataTables_wrapper div.dataTables_paginate ul.pagination { margin-bottom:0; }

.dataTables_length { padding-top:0.3rem; font-size:0.8em; }

#tDatos .dataTables_empty { padding: 0.75rem 0; font-size:0.9em; color: #4A4A4F;}

.row1 { background-color: #e0e0e0; }
.row2 { background-color: #ffffff; }

/* -- Datatables fixedHeader -- */
table.fixedHeader-floating th { padding-top:0.4rem; padding-bottom:0.3rem; padding-left:0.3rem; background-color: #0053b0 ; font-size:0.82em; color:#f2f2f2; font-weight: 500; text-align: center; }

/* ++++++++++++++++++++++++++++++++++++++++ FORMAS ++++++++++++++++++++++++++++++++++++++++++++++++ */
#form-container { background-color: #f8f8fa; padding:0.75rem 0.5rem; }

#form-container .form-label { margin-bottom: 0; font-size: 0.9em; }

#form-container .form-group label, .form-group small{ color: #909092; }
#form-container .form-control:focus{ border:2px solid #0053b0; -webkit-box-shadow: none; box-shadow: none; }

#form-container .input-group-text { min-width: 41px; }
#form-container h4, #form-container h5, #form-container h6 { background: #e3e3e6; padding: 0.3em; }

#form-container .col-md-2, #form-container .col-lg-2, #form-container .col-md-1 { padding-left: 6px; padding-right: 6px; }

.form-buttons-bar { background-color: #f0f0f4; }

.title-col-form { color:#909092; font-size: 0.9em; }

.arle-input-total { color: #0053b0; font-weight: 500;}

.arle-input-main { color: #0053b0; font-weight: 600; background-color: #eaeaff;}

.arle-file-label { background-color: #e3e3e5; font-weight: 500; min-width: 175px !important; padding-left: 0.5rem; padding-right: 0.5rem; }

.arle-a-button, .arle-a-button:visited { color:#f4f4f4; }
.arle-a-button:hover, .arle-a-button:active { color: #d4d4d4; }

.form-docs .select2-container--default .select2-selection--single .select2-selection__rendered {
    color:#0053b0;
    font-size:1.2em;
    font-weight: 600;
    line-height: 1.2em;
}
/* Estilo general para el acordeón */
.accordion {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  /* Estilo para los encabezados de las secciones del acordeón */
  .accordion-header {
    background-color: #ffffff;
    color: #fff;
    cursor: hand;
    padding: 18px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #fffcfc;
    transition: background-color 0.3s ease-in-out;
  }
  
  /* Estilo para los encabezados de las secciones del acordeón cuando se les da click */
  .accordion-header.active {
    background-color: #ffffff;
  }
  
  /* Estilo para el contenido de las secciones del acordeón */
  .accordion-content {
    padding: 6px;
    background-color: #fcfbfbf1;
    color: #fff;
    font-size: 20px;
    line-height: 1.8;
    border-bottom: 2px solid #757474;
  }
  
  .accordion {
    background-color: #ffffff;
    color: #fff;
    cursor: hand;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.9s;
    margin-bottom: 10px;
  }
  
  .accordion-active, .accordion:hover {
    background-color: #ffffff;
  }
  
  .elemento {
    border: none;
  }
  
  .accordion:after {
    content: '\002B';
    color: #fff;
    font-weight: bold;
    float: right;
    margin-left: 8px;
  }
  
  .accordion-active:after {
    content: "\2212";
  }
  
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  .accordion-content.show {
    max-height: 800px; /* Ajusta el valor al necesario */
  }
  
  ul li:before {
    list-style-type: none;
  }

/* ------------------------------------------------------------------------------------------------------------------ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++ BREAKPOINTS +++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (max-width: 575px) {
    #main-100vh { padding-top: 85px; align-items: initial !important; }
    #form-login { width: 98vw; }
}


@media all and (max-width: 767px) {
    #modal-preview .modal-dialog { max-width: 763px;}
}

@media all and (min-width: 768px) {
    #modal-preview .modal-dialog { max-width: 980px;}
}

/* ing angel contreras */
#overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(22 20 20 / 80%);
  z-index: 9999; /* Coloca el div por encima de todo */
  display: flex;
  justify-content: center;
  align-items: center;
}

#overlay img {
  width: 100px; /* Ancho del gif por defecto */
  height: 100px; /* Alto del gif por defecto */
  z-index: 9999; /* Coloca el div por encima de todo */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Consultas de medios para ajustar el tamaño del gif en diferentes tamaños de pantalla */
@media screen and (max-width: 768px) {
  /* Para pantallas más pequeñas que 768px */
  #overlay img {
      width: 80px; /* Ancho del gif para pantallas pequeñas */
      height: 80px; /* Alto del gif para pantallas pequeñas */
  }
}

@media screen and (min-width: 769px) and (max-width: 1080px) {
  /* Para pantallas entre 769px y 1080px */
  #overlay img {
      width: 120px; /* Ancho del gif para pantallas medianas */
      height: 120px; /* Alto del gif para pantallas medianas */
  }
}