:root {
  --primary-blue: #1e36ad !important;
  --primary-red: #d9004c !important;
  --background-switch-off: #908b8b;
  --gray: #495057;
}
@media (min-width: 992px) {
  .sidebar-mini.sidebar-collapse .main-sidebar,
  .sidebar-mini.sidebar-collapse .main-sidebar::before {
    margin-left: -4.6rem;
  }
  .sidebar-mini.sidebar-collapse .content-wrapper,
  .sidebar-mini.sidebar-collapse .main-footer,
  .sidebar-mini.sidebar-collapse .main-header {
    margin-left: 0px !important;
  }
}
body {
  background-color: #f4f6f9 !important;
}
.bold {
  font-weight: bold;
}
.thead-blue {
  color: #fff;
  background-color: var(--primary-blue);
}
a:not(nav .nav-link) {
  color: var(--gray);
}
.page-item.disabled .page-link {
  color: #495057;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #dbe1ee;
}
nav.navbar {
  background: var(--primary-blue);
}
aside .nav-link {
  width: 100% !important;
}
nav .nav-link.active {
  border-radius: 0;
  background: var(--primary-red) !important;
}
.pt-blue:not(.active),
.text-primary-blue {
  color: var(--primary-blue);
}
.pt-blue:not(.active):hover,
.text-primary-red {
  color: var(--primary-red) !important;
}
aside {
  overflow-x: hidden;
}
.card-content {
  background: #fff;
  border-radius: 5px;
}
.border-top-red {
  border-top: 4px solid var(--primary-red) !important;
}
.border-top-gray {
  border-top: 4px solid gray !important;
}
.espacio-search {
  padding-right: 8%;
}
.cont-file-img {
  width: fit-content;
  height: fit-content;
  max-height: 405px;
  margin: 0 auto;
  cursor: pointer;
  border: 2px dashed #cbcbcb !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nomaxheight {
  max-height: none!important
}
.cont-file-img .imagenProductDay {
  max-width: 200px;
  max-height: 200px;
}
.btn-primary-red,
.btn-primary-red:hover {
  background-color: var(--primary-red);
  color: #fff !important;
}
.tiny-text {
  font-size: 0.7rem;
}
.btn-outline-red {
  border: 2px solid var(--primary-red);
  color: var(--primary-red) !important;
}
.btn-outline-red:hover {
  background: var(--primary-red);
  color: #fff !important;
}
.hidden {
  display: none !important;
}
.img-maxh-100 {
  max-height: 100% !important;
}
.labelInput {
  font-weight: 300 !important;
}
/************* Estilos para las tablas ****************/
.search-custom {
  height: 28px;
  border-radius: 20px;
}
.search-custom::placeholder {
  font-size: 0.8rem;
}
.search-custom + img {
  top: 5px;
  right: 15px;
}
table {
  text-align: center;
}
th, td { vertical-align:middle !important; 
}
div.dataTables_filter[id*="_filter"] {
  display: none !important;
}
.paginate_button {
  border-top: 1px solid;
  border-bottom: 1px solid;
}
.page-link:focus {
  box-shadow: none;
}
.paginate_button .page-link {
  padding: 3px 15px;
  font-size: 0.9rem;
}
.paginate_button.active .page-link {
  background: transparent;
  color: var(--primary-blue) !important;
  border: 0;
  font-weight: bold;
}
.paginate_button.previous {
  border: 1px solid;
  border-right: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.paginate_button.next {
  border: 1px solid;
  border-left: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
div.dataTables_length,
div.dataTables_info {
  text-align: left !important;
}
/************* Se sobreescriben los estilos para el checkbutton (switch) en las tablas ****************/
.custom-control-label{
  cursor:pointer;
}
.custom-switch.custom-switch-off-danger
  .custom-control-input
  ~ .custom-control-label::before {
  background-color: var(--background-switch-off);
  border-color: var(--background-switch-off);
}
.custom-switch.custom-switch-off-danger
  .custom-control-input
  ~ .custom-control-label::after {
  background-color: #fff;
}
.custom-switch.custom-switch-on-success
  .custom-control-input:checked
  ~ .custom-control-label::before {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}
.custom-switch.custom-switch-on-success
  .custom-control-input:checked
  ~ .custom-control-label::after {
  background-color: #fff;
}
/******* Estilos para file input ********/
.custom-input-file {
  cursor: pointer;
  font-weight: bold;
  position: relative;
  text-align: center;
  overflow: hidden;
  margin: 0 auto;
}

.input-file {
  position: absolute;
  right: -1000px;
  top: -1000px;
}

.file-group.invalid-param .cont-file-img {
  border: 2px dashed var(--primary-red) !important;
}
/******* Estilos para file input con texto a la derecha ********/
.inputRewardCost {
  border-right: none;
}
.textRewardCost {
  border-left: none;
  margin-left: -3px;
  font-weight: 300;
}
.textActive {
  background-color: white;
}
.btn-caracteristica {
  border-color: black;
  color: black;
  background-color: white;
  box-shadow: none;
}
.active-caracteristica {
  border-color: #1e36ad;
  background-color: #1e36ad;
  color: white !important;
  box-shadow: none;
}

.btn-caracteristica:hover {
  border-color: #1e36ad;
  background-color: #1e36ad;
  color: white !important;
  box-shadow: none;
}


.btn-blue {
  color: #fff;
  background-color: #1e36ad;
  border-color: #1e36ad;
  box-shadow: none;
}

.btn-blue:hover {
  color: #fff;
  background-color: #1e36ad;
  border-color: #1e36ad;
}

.btn-blue:focus, .btn-blue.focus {
  color: #fff;
  background-color: #1e36ad;
  border-color: #1e36ad;
  box-shadow: 0 0 0 0 rgba(38, 143, 255, 0.5);
}

.btn-blue.disabled, .btn-blue:disabled {
  color: #fff;
  background-color: #1e36ad;
  border-color: #1e36ad;
}

.btn-blue:not(:disabled):not(.disabled):active, .btn-blue:not(:disabled):not(.disabled).active,
.show > .btn-blue.dropdown-toggle {
  color: #fff;
  background-color: #1e36ad;
  border-color: #1e36ad;
}

.btn-blue:not(:disabled):not(.disabled):active:focus, .btn-blue:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0 rgba(38, 143, 255, 0.5);
}

.dataTables_info {
  padding-left: 28px;
}
.pagination {
  margin-top: 15px !important;
  padding-right: 25px;
}

/* última actualizacion 2022-05-10 */