/* Your custom styles */

@media only screen and (max-width : 1920px) {

  header,
  main,
  footer {
    padding-left: 20px;
  }
}

table.dataTable tbody td th {}

/*.progress-bar {
            width: 100%;
            background-color: #f1f1f1;
            border: 1px solid #ddd;
            height: 30px;
            position: relative;
        }

        .progress {
            height: 100%;
            background-color: #4caf50;
            position: absolute;
            text-align: center;
            line-height: 30px;
            color: white;
        }*/

/* Estilo para DataTable */
/*.dataTables_wrapper {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}*/

/* Reducir la altura de las celdas de datos */
table.dataTable tbody td {
  padding: 2px;
  /* Ajusta este valor según la altura deseada */
}

#colorIcon {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Reducir la altura de la cabecera */
table.dataTable thead th {
  padding: 2px;
  /* Ajusta este valor según la altura deseada */
}

table.dataTable {
  width: 100%;
  margin: 0 auto;
  clear: both;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: center;
  border-radius: 5px;
}

@media (min-width: 992px) {
  .col-lg-3 .alert .alert-success {
    margin-left: -275px;
  }
}



table.dataTable thead th {
  text-align: center;
}

/* Centrar horizontalmente el texto en las celdas de la cabecera de la DataTable */
table.dataTable thead th {
  text-align: center;
}



/* Estilo para los encabezados de las columnas */


/* Estilo para las celdas de datos */
table.dataTable tbody td {
  /* Borde de las celdas de datos */
  border-right: none;
  padding: 7px;
  /* Espaciado dentro de las celdas */

}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
  text-align: center
}



/* Resaltar filas alternas con un color de fondo diferente */
table.dataTable tbody tr:nth-child(odd) {
  background-color: #f2f2f2;
  border-right: none;
}

/* Estilo para el paginador */
.dataTables_paginate {
  text-align: center;
}

/* Estilo para el campo de búsqueda */
.dataTables_filter input {
  border: 1px solid #ccc;
  /* Borde del campo de búsqueda */
  border-radius: 5px;
  /* Redondear el campo de búsqueda */
  padding: 5px;
  /* Espaciado dentro del campo de búsqueda */
}

/* Estilo para el botón de búsqueda */
.dataTables_filter label::after {
  content: "\f002";
  /* Icono de búsqueda (puede personalizarlo) */
  font-family: FontAwesome;
  /* Utiliza una fuente de iconos, como FontAwesome */
  font-size: 14px;
  color: #555;
  margin-left: 5px;
  cursor: pointer;
}

/* Estilo para la información de la tabla */
.dataTables_info {
  margin-top: 10px;
}

/* Estilo para la longitud de la página */
.dataTables_length {
  margin-top: 10px;
}



.modal-contents {
  display: block;
  margin-top: 5rem;
  background-color: rgba(0, 0, 0, 0.9);
  margin: 5 5 5 5;
  width: 60vw;
  /* El ancho será el 60% del ancho de la ventana */
  height: auto;
  /* La altura se ajustará automáticamente para mantener la proporción de la imagen */
}

.myModal {
  display: block;
  margin-top: 5rem;
  background-color: rgba(0, 0, 0, 0.9);
}

.zoom-label {
  position: absolute;
  /*bottom: -25%;*/
  /*right: 50%;*/
  left: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px;
  border-radius: 5px;
  transform: translateX(-50%);
}


.closes {
  position: absolute;
  bottom: 100%;
  /*right: 50%;*/
  left: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 25px;
  padding: 11px;
  border-radius: 20px;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  /*position: absolute;
        top: 0;
        right:44%;
        left: 53%;
        color: #f1f1f1;
        font-size: 20px;
        font-weight: bold;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 5px;
        cursor: pointer;
         border-radius: 5px;
        transition: 0.3s;*/
  /*transform: translateX(125%); */
}

.closes:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-contents:hover::before {
  content: '\f06e';
  /* Código Unicode del icono Font Awesome */
  font-family: "Font Awesome 5 Free";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: rgba(255, 255, 255, 0.8);
  /* Cambia el color y la opacidad según tus preferencias */
  z-index: 1;
}




.box {
  display: flex;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.flex-container {
  border: 1px solid black;
  background: #ccc;
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 2em;
  width: 100%;
  justify-content: space-between;
  align-content: center;
  /*order: 2;*/
  /*padding: 20px;*/
  /*  display: flex;

  

  margin: 0 auto;
  width: 100%;
  */
}

#lock {
  width: 100%;
  height: calc(100% - 0vh);

  min-height: 180px;
}

.stars {
  margin: auto;
  display: block;
}

.lock-dots .drawn {
  fill: #3498db;
  /* Cambia el color como desees del patron */
}

.lock-lines path {
  stroke: #3498db;
  stroke-width: 2;
  fill: none;
  marker-end: url(#arrow);
}

.lock-dots text {
  font-size: 15px;
  text-anchor: middle;
  fill: #000;
  /* Cambia el color a negro */
  font-weight: bold;
  /* Añade negrita para resaltar */
  pointer-events: none;
  /* Evita que los números sean clickeables */
}

svg.patternlock g.lock-lines line {
  stroke-width: 1.5;
  stroke: black;
  opacity: 0.5;
}

svg.patternlock g.lock-dots circle {
  stroke: transparent;
  fill: #3595d9;
  stroke-width: 13.5;
}

svg.patternlock g.lock-actives circle {
  fill: black;
  opacity: .2;
  animation: lock-activate-dot .15s 0s ease 1;
  transform-origin: center;
}

svg.patternlock g.lock-lines line {
  stroke-width: 1.5;
  stroke-linecap: round;
}

svg.patternlock.success g.lock-actives circle {
  fill: green;
}

svg.patternlock.error g.lock-actives circle {
  fill: red;
}

@keyframes lock-activate-dot {
  0% {
    transform: scale(0);
  }

  75% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1.0);
  }
}


.kbw-signature {
  width: 200px;
  height: 100px;
}

#sig canvas {
  width: 100% !important;
  height: auto;
  color: #0080FF;
  -ms-touch-action: none;
}

.texto1 {

  order: 1;
}

.texto2 {

  order: 3;
}

.texto3 {

  order: 5;
}

.texto4 {

  order: 7;
}

.check1 {

  order: 2;
}


.check2 {

  order: 4;
}

.check3 {

  order: 6;
}

.check4 {

  order: 8;
}

/*  .boton { 
    display: inline-block;
    border-radius: 10px;
    border: 0;
    height: 17px;
    width: 17px;
 
  }



  .boton:hover{
		position: relative;
		top: 2px;
  }

  .verde{
  	background: #26c281;
  	border-bottom:4px solid #03a678 ;
  }

  .verde:hover{
  	border-bottom: 2px solid #03a678;
  }*/

#myChart2 {
  border-radius: 5px;
  /* Ajusta según tus preferencias */
}

#myChart2 .bar {
  border-radius: 5px;
  /* Ajusta según tus preferencias */
}

.boton {
  display: inline-block;
  font-size: 12px;
  font-weight: 200;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 20px;
}



.form-switch {
  display: inline-block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.form-switch i {
  position: relative;
  display: inline-block;
  margin-right: .5rem;
  width: 46px;
  height: 26px;
  background-color: #e6e6e6;
  border-radius: 23px;
  vertical-align: text-bottom;
  transition: all 0.3s linear;
}

.form-switch i::before {
  content: "";
  position: absolute;
  left: 0;
  width: 42px;
  height: 22px;
  background-color: grey;
  border-radius: 11px;
  transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
  transition: all 0.25s linear;
}

.form-switch i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
  transform: translate3d(2px, 2px, 0);
  transition: all 0.2s ease-in-out;
}

.alinear {
  position: relative;
  margin-left: 10px;
  display: inline-block;
  vertical-align: middle;
}

.form-switch:active i::after {
  width: 28px;
  transform: translate3d(2px, 2px, 0);
}

.form-switch:active input:checked+i::after {
  transform: translate3d(16px, 2px, 0);
}

.form-switch input {
  display: none;
}

.form-switch input:checked+i {
  background-color: #293655;
}

.form-switch input:checked+i::before {
  transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0);
}

.form-switch input:checked+i::after {
  transform: translate3d(22px, 2px, 0);
}



.btn-app>.fa,
.btn-app>.glyphicon,
.btn-app>.ion {
  font-size: 20px;
  display: block;
}

.pdf {
  background-color: #dc2f2f !important;
}

.imprimir {
  background-color: #512DA8 !important;
}

.barras {
  background-color: #4682B4 !important;
}

.excel {
  background-color: #3ca23c !important;
}

.btn-app:hover {
  border-color: #aaa;
  transform: scale(1.1);
}

.zoom:hover {
  transform: scale(1.3);
  /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}


.btns {
  display: inline-block;
  text-decoration: none;
  color: rgb(82, 142, 150);
  width: 122px;
  font-size: 20px;
  height: 120px;
  line-height: 120px;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
  box-shadow: inset 0px 2px 0 rgba(255, 255, 255, 0.3), 0 2px 2px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  border-bottom: solid 1px #549fa9;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.65);
  transition: .4s;
  cursor: pointer;
}

.btnss {
  display: inline-block;
  text-decoration: none;
  color: rgb(82, 142, 150);
  width: 122px;
  font-size: 20px;
  height: 120px;
  line-height: 120px;
  text-align: center;
  vertical-align: middle;
  overflow: hidden;

  font-weight: bold;

  transition: .4s;
  cursor: pointer;
}

.btns:active {
  -ms-transform: translateY(1px);
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.35);
  border-bottom: none;
}

.btns:hover {
  -webkit-transform: scale(1.4);
  -ms-transform: scale(1.4);
  transform: scale(1.4);
  /*box-shadow:  0 5px 5px #1E1F26, 0 15px rgba(30, 31, 3, 0.25) inset;*/
  /*background-color: #1E1F26;*/
  color: #1E1F26;
}

.btnss:active {
  -ms-transform: translateY(1px);
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0);
  border-bottom: none;
}

.btnss:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  /*box-shadow:  0 5px 5px #1E1F26, 0 15px rgba(30, 31, 3, 0.25) inset;*/
  /*background-color: #1E1F26;*/

}

.btnCrear:active {
  -ms-transform: translateY(1px);
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0);
  border-bottom: none;
}

.btnCrear:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  /*box-shadow:  0 5px 5px #1E1F26, 0 15px rgba(30, 31, 3, 0.25) inset;*/
  /*background-color: #1E1F26;*/

}

/*.tablaVentas{
  margin: 0 auto;
  width: 100%;
  clear: both;
  border-collapse: collapse;
  table-layout: fixed; // ***********add this
  word-wrap:break-word; // ***********and this
}*/

/*.tablaVentas {
  table-layout:fixed;
}
.tablaVentas td {
  word-wrap: break-word;
  max-width: 400px;
   white-space:inherit;
}*/

/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modals {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 60px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-contents {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 500px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#captions {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-contents,
#captions {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* The Close Button */
.closes {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 32px;
  font-weight: bold;
  transition: 0.3s;
}

.closes:hover,
.closes:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 600px) {
  .modal-contents {
    width: 100%;
  }
}

/* ============================================================
   XPERTECH - SELECT2 GLOBAL
   ============================================================ */

.select2-container {
  width: 100% !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/* ============================================================
   CAMPO CERRADO
   ============================================================ */

.select2-container--default .select2-selection--single {

  height: 42px !important;

  border: 1px solid #dbe4f0 !important;
  border-radius: 12px !important;

  background: #ffffff !important;

  box-shadow:
    0 1px 2px rgba(15, 23, 42, .03);

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}


/* TEXTO */

.select2-container--default .select2-selection--single .select2-selection__rendered {

  height: 40px !important;

  padding: 0 42px 0 13px !important;

  color: #334155 !important;

  font-size: 11px !important;
  font-weight: 650 !important;

  line-height: 40px !important;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* PLACEHOLDER */

.select2-container--default .select2-selection--single .select2-selection__placeholder {

  color: #94a3b8 !important;
  font-weight: 550 !important;
}


/* FLECHA */

.select2-container--default .select2-selection--single .select2-selection__arrow {

  top: 1px !important;
  right: 8px !important;

  width: 30px !important;
  height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {

  border-color: #64748b transparent transparent transparent !important;
  border-width: 5px 4px 0 4px !important;
}


/* ============================================================
   HOVER / FOCUS / ABIERTO
   ============================================================ */

.select2-container--default .select2-selection--single:hover {

  border-color: #bfdbfe !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,

.select2-container--default.select2-container--open .select2-selection--single {

  border-color: #60a5fa !important;

  box-shadow:
    0 0 0 3px rgba(37, 99, 235, .08) !important;
}


/* cuando abre abajo */

.select2-container--default.select2-container--open .select2-selection--single {

  border-radius: 12px !important;
}


/* ============================================================
   DROPDOWN
   ============================================================ */

.select2-dropdown {

  margin-top: 6px;

  padding: 7px;

  overflow: hidden;

  border: 1px solid #dbe4f0 !important;
  border-radius: 14px !important;

  background: rgba(255, 255, 255, .99) !important;

  box-shadow:
    0 20px 45px rgba(15, 23, 42, .14),
    0 5px 15px rgba(37, 99, 235, .05) !important;
}


/* ============================================================
   BUSCADOR
   ============================================================ */

.select2-search--dropdown {

  padding: 4px 3px 8px !important;
}

.select2-search--dropdown .select2-search__field {

  width: 100% !important;
  height: 37px !important;

  padding: 0 11px !important;

  border: 1px solid #dbe4f0 !important;
  border-radius: 9px !important;

  color: #334155 !important;

  background: #f8fafc !important;

  font-size: 10.5px !important;

  outline: 0 !important;

  box-shadow: none !important;
}

.select2-search--dropdown .select2-search__field:focus {

  border-color: #93c5fd !important;

  background: #ffffff !important;

  box-shadow:
    0 0 0 3px rgba(37, 99, 235, .07) !important;
}


/* ============================================================
   LISTADO DE OPCIONES
   ============================================================ */

.select2-results {

  padding: 0 !important;
}

.select2-results__options {

  max-height: 270px !important;

  padding: 0 !important;
}


/* OPCIÓN */

.select2-container--default .select2-results__option {

  min-height: 39px;

  display: flex;
  align-items: center;

  margin: 2px 0;
  padding: 8px 11px !important;

  border-radius: 9px;

  color: #475569 !important;

  background: transparent !important;

  font-size: 10.5px !important;
  font-weight: 600 !important;

  line-height: 1.35;

  transition:
    background .15s ease,
    color .15s ease,
    transform .15s ease;
}


/* HOVER */

.select2-container--default .select2-results__option--highlighted[aria-selected] {

  color: #1d4ed8 !important;

  background: #eff6ff !important;
}


/* SELECCIONADO */

.select2-container--default .select2-results__option[aria-selected="true"] {

  position: relative;

  padding-right: 34px !important;

  color: #ffffff !important;

  background:
    linear-gradient(135deg,
      #3b82f6,
      #2563eb) !important;

  font-weight: 750 !important;
}


/* CHECK DEL SELECCIONADO */

.select2-container--default .select2-results__option[aria-selected="true"]::after {

  content: "\f00c";

  position: absolute;

  right: 12px;
  top: 50%;

  color: #ffffff;

  font-family: "Font Awesome 5 Free";
  font-size: 9px;
  font-weight: 900;

  transform: translateY(-50%);
}


/* ============================================================
   SCROLL
   ============================================================ */

.select2-results__options::-webkit-scrollbar {

  width: 5px;
}

.select2-results__options::-webkit-scrollbar-thumb {

  border-radius: 999px;

  background: #cbd5e1;
}


/* ============================================================
   DISABLED
   ============================================================ */

.select2-container--default.select2-container--disabled .select2-selection--single {

  border-color: #e5e7eb !important;

  background: #f8fafc !important;

  opacity: .75;
}


/* ============================================================
   LABELS GENERALES
   ============================================================ */

.form-group>label,
.xo-field>label,
.caja-form-group>label,
.x-select-label {

  display: block;

  margin-bottom: 6px;

  color: #64748b;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: .035em;

  text-transform: uppercase;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

  .select2-container--default .select2-selection--single {

    height: 44px !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {

    height: 42px !important;

    line-height: 42px !important;

    font-size: 12px !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow {

    height: 42px !important;
  }
}

.select2-results {
  padding: 4px 4px 4px 6px !important;
}

.select2-results__options {
  max-height: 270px !important;

  padding-right: 7px !important;

  scrollbar-gutter: stable;
}