/* Ésto estaba en el head */

.input-group .select2-container, .form-group .select2-container {
  position: relative !important;
  z-index: 2;
  float: left !important;
  width: 100% !important;
  margin-bottom: 0 !important;
  display: table !important;
  table-layout: fixed !important;
}

.bg-reltid {
  background-color: rgba(152, 150, 199, 1) !important;
}

.sw-theme-default>ul.step-anchor>li>a, .sw-theme-default>ul.step-anchor>li>a:hover {
  color: #bbb !important;
}

/* Fin: esto estaba en el head */

.row {
  margin: 0px;
}

.contenido {
  background-color: #fff;
  border-radius: 0px 10px 10px 10px;
  padding: 15px 0px;
  box-shadow: 2px 5px 8px rgb(53, 64, 82, 0.13);
  z-index: 50;
}

.contenido-2 {
  background-color: #fff;
  border-radius: 10px 10px 10px 10px;
  padding: 10px;
  box-shadow: 2px 5px 8px rgb(53, 64, 82, 0.13);
  z-index: 50;
}

/* TABS GRaNDES */

.contenedor_botones {
  overflow: auto;
}

@media (max-width: 998px) {
  .contenedor_botones {
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .contenedor_botones:hover, .contenedor_botones:focus, .contenedor_botones:scope {
    overflow: auto;
  }
}

.btn-reltid {
  display: inline-block;
  flex: none;
  padding: 8px 25px;
  margin-right: 15px;
  border-radius: 10px 10px 0px 0px !important;
  background-color: #cccbe0;
  color: #353355 !important;
  font-size: 16px;
  font-weight: bolder;
  text-transform: capitalize;
}

.btn-reltid:hover {
  background-color: rgb(134, 132, 182);
}

.btn-reltid.active {
  background-color: #fff;
  color: rgba(152, 150, 199, 1);
  box-shadow: 2px -3px 6px 1px rgb(53 64 82 / 8%);
}

/* TABS SECUNDARIAS */

@media (max-width: 998px) {
  .modal .nav.nav-tabs li {
    padding: 2px 2px;
  }

  .modal .nav.nav-tabs a {
    border: 1px solid rgba(152, 150, 199, 1);
    border-bottom: 1px solid rgba(152, 150, 199, 1) !important;
    border-left: 1px solid rgba(152, 150, 199, 1) !important;
  }

  .modal .nav-tabs {
    border-bottom: 1px solid rgba(152, 150, 199, 0.2);
  }
}

.nav.nav-tabs a {
  display: inline-block;
  border: 1px solid rgba(152, 150, 199, 1);
  text-transform: capitalize;
  font-weight: bold;
  color: #2e2e2e;
  padding: 8px 20px;
  border-bottom: none;
  border-left: none;
  padding-top: 11px;
}

.nav.nav-tabs a:hover {
  text-decoration: none;
}

.nav.nav-tabs a:nth-child(1) {
  border-left: 1px solid rgba(152, 150, 199, 1);
}

.nav.nav-tabs a.active {
  border-top: 4px solid #353355;
  padding-top: 8px;
}

.nav-tabs {
  border-bottom: 1px solid rgba(152, 150, 199, 1);
}

/* ESTRUCTURA DE LA PÁGINA */

.content-header h3 {
  margin-bottom: 15px;
}

/* INPUTS */

.contenido input:not(.btn), .contenido select {
  border-radius: 8px;
  border: 1px solid rgba(152, 150, 199, 1);
  color: #033333;
}
.input-group-prepend div {
  border-radius: 0px 8px 8px 0px!important;
  border: 1px solid rgba(152, 150, 199, 1);
  color: rgb(226, 226, 255);
  background: #2b3149;
  font-weight: bold;
}


label:has(+ input), label:has(+ select) {
  color: rgba(152, 150, 199, 1)
}

/* BOTONES */

.btn {
  border: none;
  border-radius: 8px;
}

.btn:hover {
  outline: none;
}

.btn-primary {
  background-color: #333955;
}

.btn-primary:hover {
  background-color: #2b3149;
}

/* OTROS */
.tabla_reltid {
  border-radius: 6px;
  overflow: hidden;
}

.alinear-derecha {
  width: 100%;
  display: flex;
  justify-content: end;
}

.tabla_reltid th, .tabla_reltid td {
  border: 1px solid rgb(236, 235, 243);
}

.tabla_reltid th {
  background-color: rgb(219, 218, 235);
  color: #333955;
  text-transform: capitalize !important;
  font-weight: bold;
}

.tabla_reltid tbody tr td:nth-child(1) {
  background-color: rgb(233, 232, 241);
}

.tabla_total_fila tbody>tr:last-child td {
  background-color: rgb(219, 218, 235) !important;
  color: #333955 !important;
  font-weight: bold !important;
}

.tabla_total_columna tbody>tr>td:last-child {
  background-color: rgb(219, 218, 235) !important;
  color: #333955 !important;
  font-weight: bold !important;
}

.modal th {
  text-align: center !important;
}

.hide {
  display: none;
}

.scroll-x {
  display: block;
  overflow-x: hidden;
}

.scroll-x:hover, .scroll-x:focus, .scroll-x:scope {
  overflow-x: scroll;
}

/*********** SCROLLBAR */

::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

body::-webkit-scrollbar {
  width: 8px;
  height: 3px;
}

::-webkit-scrollbar-thumb {
  background: #e1e1e1;
  border: 0px dotted #ffffff;
  border-radius: 39px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}

::-webkit-scrollbar-thumb:active {
  background: #000000;
}

::-webkit-scrollbar-track {
  background: #666666;
  border: 0px none #ffffff;
  border-radius: 39px;
}

::-webkit-scrollbar-track:hover {
  background: #666666;
}

::-webkit-scrollbar-track:active {
  background: #333333;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

@media (max-width:476px) {
  main.content {
    padding: 0.6rem !important;
  }
}

.sin-datos {
  background: #fafafa;
  border: 1px solid rgb(226, 226, 235);
  border-left: 3px solid rgb(134, 132, 182);
  border-radius: 4px 6px 6px 4px;
  margin: 10px 15px;
}

.sin-datos p {
  display: block;
  padding: 6px 12px;
  margin: 5px 0px;
  margin-left: 15px;
}

.apexcharts-toolbar {
  left: 6px !important;
  right: inherit;
}

.apexcharts-legend-marker {
  border: 3px solid rgb(228, 228, 228) !important;
  box-shadow: 0px 0px 1px rgb(116, 114, 153) !important;
}

.apexcharts-custom-tooltip {
  padding: 0px;
  padding-bottom: 5px;
  border-radius: 15px;
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.2);
  z-index: 50 !important;
}

.apexcharts-custom-tooltip p {
  padding: 0px;
  margin: 0px;
}
.apexcharts-custom-tooltip > p {
  padding: 5px 15px;
}

.apexcharts-custom-tooltip p span {
  font-weight: bold;
}

.custom-tooltip-category {
  padding: 5px 0px 5px;
  border-top: 1px solid #eee;
  font-weight: bold;
  text-align: center;
  color: #000;
}

.apexcharts-tooltip {
  box-shadow: none !important;
  border: none !important;
  background-color: none !important;
  border-radius: 15px;
  overflow: visible !important;
}

.apexcharts-tooltip::before {
  content: "";
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  top: 20px;
  left: -7px;
  transform: rotate(45deg);
  /* background: white; */
  /* box-shadow: -3px 0px 3px rgba(0, 0, 0, 0.1); */
  z-index: 0;
}

/* dropbox */
.dropdown-menu {
  border-radius: 6px !important;
  border: none !important;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15) !important;
}

.dropdown-item:hover {
  background-color: #DEDDF3 !important;
}

.dropdown-item:focus, .dropdown-item:active {
  background-color: #9896C7 !important;
}