/** General **/

body {
  background-color: #fff;
  color: #333;
  font-family: 'Open Sans', sans-serif;
  font-size: medium;
}

a {
  color: #000;
  outline: 0 !important;
  text-decoration: none;
}

  a:hover {
    color: #ff0031;
    text-decoration: none;
  }

.alert {
  border-radius: 10px !important;
  margin-bottom: 0px;
}

@media screen and (max-width: 576px) {
  .alert {
    text-align: center;
  }
}

/*.grecaptcha-badge {
      visibility: hidden !important;
}*/

.custom-file-control::before {
  content: "Buscar";
}

.custom-file-control:empty::after {
  content: "Seleccionar los archivos...";
}

.form-control-plaintext {
  background-color: transparent !important;
  border: 1px solid transparent !important;
  font-weight: bold;
}

hr {
  border: 0;
  border-top: 2px solid rgba(255, 0, 49, .5);
}

  hr.separator {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
  }

@media screen and (max-width: 576px) {
  hr.separator {
    margin-top: 0.5rem;
    margin-bottom: 0rem;
  }
}

i {
  vertical-align: middle;
}

.input-group > button > i {
  font-size: large;
}

.input-group-text {
  background-color: #ff0031;
  border-color: #ff0031;
  color: #fff;
}

ul.navbar-nav > li > .nav-link {
  border-radius: var(--bs-border-radius);
}

  ul.navbar-nav > li > .nav-link:active {
    background-color: var(--bs-primary);
  }

  ul.navbar-nav > li > .nav-link:hover {
    background-color: var(--bs-gray-200);
  }

  ul.navbar-nav > li > .nav-link > i {
    font-size: 32px;
    vertical-align: middle;
  }

.vr {
  border: 0;
  border-left: 2px solid var(--bs-gray-200);
}

/** Datepicker **/

.datepicker {
  z-index: 1030 !important;
}

/** Footer **/
.btn-up {
  position: fixed;
  left: calc(100% - 100px);
  bottom: 50px;
  right: 50px;
  height: 60px;
  width: 60px;
  background-color: rgba(255, 0, 49, .7) !important;
  color: #fff;
  padding: 5px;
  border-radius: 30px;
  z-index: 1035;
  display: none;
}

  .btn-up:hover {
    color: #fff;
  }

  .btn-up i {
    font-size: 50px;
  }

.no-scroll {
  overflow-y: hidden;
}

/** Carousel **/

#divAdjuntos {
  background-color: rgba(255, 0, 49, .1);
  border-radius: 4px;
  border: 1px solid #ff0031;
}

  #divAdjuntos .carousel-item {
    padding: 16px;
    text-align: center;
  }

    #divAdjuntos .carousel-item > a {
      cursor: pointer;
      display: flex;
      flex-direction: column;
      margin-left: 40px;
      margin-right: 40px;
    }

    #divAdjuntos .carousel-item > span {
      cursor: pointer;
      display: inline-block;
      margin: 10px;
    }

    #divAdjuntos .carousel-item img {
      display: inline-block;
      height: 60px;
    }

    #divAdjuntos .carousel-item i {
      font-size: 2rem;
    }

    #divAdjuntos .carousel-item > a > span {
      display: block;
      margin: 8px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

  #divAdjuntos .carousel-caption {
    align-items: center;
    background-color: rgba(88, 88, 88, .5);
    bottom: 0px;
    display: flex;
    flex-direction: column;
    left: 0px;
    right: 0px;
    top: 0px;
  }

    #divAdjuntos .carousel-caption > div {
      align-items: center;
      display: flex;
      height: 100%;
    }

      #divAdjuntos .carousel-caption > div > span {
        background-color: rgba(88, 88, 88, .7);
        border-radius: 50%;
        color: #fff;
        cursor: pointer;
        height: 4rem;
        line-height: 4rem;
        margin: 10px;
        width: 4rem;
      }

        #divAdjuntos .carousel-caption > div > span:hover {
          -webkit-transform: scale(1.1);
          -moz-transform: scale(1.1);
          -o-transform: scale(1.1);
          -ms-transform: scale(1.1);
          transform: scale(1.1);
        }

  #divAdjuntos .carousel-control-next:focus,
  #divAdjuntos .carousel-control-next:hover,
  #divAdjuntos .carousel-control-prev:focus,
  #divAdjuntos .carousel-control-prev:hover {
    color: #000;
  }

.carousel-control-next-icon, .carousel-control-prev-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: no-repeat 50%/100% 100%;
}

.carousel-control-next:focus, .carousel-control-next:hover, .carousel-control-prev:focus, .carousel-control-prev:hover {
  text-decoration: none;
  outline: 0;
  opacity: .9;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 16 16'%3e%3cpath fill='%23d90324' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 16 16'%3e%3cpath fill='%23d90324' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/** Links **/

.cool-link {
  display: inline-block;
  color: rgba(255, 0, 49, 1);
  text-decoration: none;
}

  .cool-link:hover {
    color: rgba(255, 0, 49, 1);
  }

  .cool-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgba(255, 0, 49, 1);
    transition: width .3s;
  }

  .cool-link:hover::after {
    width: 100%;
  }

/** Progress **/

div.progress-wrapper {
  position: fixed;
  cursor: wait;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 6000;
}

  div.progress-wrapper > div.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 8px solid #f2f2f2;
    border-radius: 50%;
    border-top: 8px solid #ff0031;
    width: 150px;
    height: 150px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }

  div.progress-wrapper > div.progress-wrapper-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, .9);
    border-radius: 10px;
    margin: auto;
    padding: 10px;
    top: 50%;
    height: auto;
    width: 240px;
    z-index: 1;
  }

    div.progress-wrapper > div.progress-wrapper-upload > progress::-webkit-progress-bar {
      background-color: rgba(88, 88, 88, .5);
      width: 100%;
    }

    div.progress-wrapper > div.progress-wrapper-upload > progress::-webkit-progress-value {
      background-color: #ff0031 !important;
    }

    div.progress-wrapper > div.progress-wrapper-upload > progress::-moz-progress-bar {
      background-color: #ff0031 !important;
    }

    div.progress-wrapper > div.progress-wrapper-upload > progress {
      background-color: rgba(88, 88, 88, .5);
      color: #ff0031;
      height: 5px;
      margin: 5px;
      width: 100%;
    }

    div.progress-wrapper > div.progress-wrapper-upload > img {
      margin: 5px;
      width: 50px;
      -webkit-animation: inout 1s linear infinite;
      animation: inout 1s linear infinite;
    }

    div.progress-wrapper > div.progress-wrapper-upload > span:first-of-type {
      margin: 5px;
      text-align: center;
    }

    div.progress-wrapper > div.progress-wrapper-upload > span:last-of-type {
      background-color: rgba(255, 0, 49, 1);
      border-radius: 5px;
      color: #fff;
      font-weight: bold;
      margin: 5px;
      padding: 5px;
      text-align: center;
      width: 70px;
    }

.progress-upload::-webkit-progress-bar {
  background-color: rgba(88, 88, 88, .5);
  width: 100%;
}

.progress-upload::-webkit-progress-value {
  background-color: #ff0031 !important;
}

.progress-upload::-moz-progress-bar {
  background-color: #ff0031 !important;
}

.progress-upload {
  background-color: rgba(88, 88, 88, .5);
  color: #ff0031;
  display: none;
  height: 5px;
  width: 100%;
}

/** Tablas  **/

tr.tpager-light {
  border-bottom: none !important;
  background-color: transparent !important;
}

  tr.tpager-light table > tbody > tr > td {
    display: inline-block;
    padding: 0;
    padding-bottom: 10px;
    padding-top: 10px;
    margin: 0;
    border: none;
  }

.tpager-light table > tbody > tr {
  background-color: transparent !important;
}

  .tpager-light table > tbody > tr > td > a, .tpager-light table > tbody > tr > td > span {
    font-weight: bold;
    position: relative;
    float: left;
    padding: 8px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ff0031;
    color: #ff0031;
    margin-left: -1px;
  }

  .tpager-light table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 8px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    margin-left: -1px;
    z-index: 2;
    color: #fff;
    background-color: #ff0031;
    border-color: #ff0031;
    cursor: default;
  }

    .tpager-light table > tbody > tr > td > a:hover, .tpager-light table > tbody > tr > td > span:hover, .tpager-light table > tbody > tr > td > a:focus, .tpager-light table > tbody > tr > td > span:focus {
      background-color: #ff0031;
      border-color: #ff0031;
      color: #fff;
    }

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(240, 240, 240, .5);
}

.table {
  font-size: inherit;
  margin-bottom: 0px;
}

  .table thead, .table .thead-light, .table .thead-light th,
  .table thead, .table .thead-light, .table .thead-light row th {
    background-color: #ff0031;
    border-color: transparent;
    color: #fff !important;
  }

@media screen and (max-width: 576px) {
  .table thead, .table .thead-light, .table .thead-light th,
  .table thead, .table .thead-light, .table .thead-light row th {
    display: none;
  }
}

.table thead th:first-child, .table .thead-light th:first-child,
.table thead th:first-child, .table .thead-light row th:first-child {
  border-top-left-radius: 10px !important;
}

.table thead th:last-child, .table .thead-light th:last-child,
.table thead th:last-child, .table .thead-light row th:last-child {
  border-top-right-radius: 10px !important;
}

.table thead th, .table .thead-light th {
  border-bottom: none;
  font-weight: normal;
}

@media screen and (max-width: 576px) {
  .table thead th, .table .thead-light th {
    display: none;
  }
}

.table .thead-light th.header-center {
  text-align: center;
}

.table .thead-light th.header-right {
  text-align: right;
}

.table td, .table th {
  border-top-color: transparent;
  border-bottom: none !important;
  vertical-align: middle;
}

.table > tbody > tr {
  align-items: center;
  border-bottom: 1px solid #ff0031;
  cursor: pointer;
}

@media screen and (max-width: 576px) {
  .table > tbody > tr {
    background-color: rgba(240, 240, 240, .5);
    border-radius: 10px;
    border-color: #fff;
    display: flex;
    flex-direction: column;
    font-size: small;
    margin-bottom: 10px;
  }

    .table > tbody > tr:last-child {
      margin-bottom: 0px;
    }
}

.table, .table > tbody > tr > td {
  border: none;
}

@media screen and (max-width: 576px) {
  .table, .table > tbody > tr > td {
    text-align: center;
    width: 100% !important;
  }
}

.table > tbody > tr > td {
  font-size: small;
}

  .table > tbody > tr > td > span {
    display: inline-block;
  }

    .table > tbody > tr > td > span > a {
      color: #000;
      margin-right: 10px;
    }

  .table > tbody > tr > td > input[type="text"] {
    min-width: 180px;
  }

  .table > tbody > tr > td > input[type="image"] {
    vertical-align: middle;
  }

  .table > tbody > tr > td.active, .table > tbody > tr > th.active, .table > tbody > tr.active, .table > tbody > tr.active > th {
    background-color: rgba(255, 0, 49, .1) !important;
    color: #000;
  }

.table > tbody > tr:hover {
  background-color: rgba(255, 0, 49, .1);
  color: #000;
}

.table > tbody > tr.table-row-content.active, .table > tbody > tr.table-row-content > td.active {
  background-color: transparent !important;
  color: #000;
}

.table > tbody > tr.table-row-content:hover {
  background-color: transparent !important;
  color: #000;
}

.table .table-empty,
.table .tno-data {
  background-color: transparent !important;
  border: 0px solid transparent !important;
  color: #ff0031 !important;
  font-size: medium;
  text-align: center;
}

.table > tbody > tr.footer {
  background-color: #fff;
  border-bottom: none;
  border-top: 4px double #001e3b;
  margin-top: 5px;
}

  .table > tbody > tr.footer > td > * {
    color: black !important;
    font-weight: bold;
  }

.table td > input[type="text"].aspNetDisabled {
  display: block !important;
  width: 100% !important;
  padding: .375rem 0 !important;
  margin-bottom: 0 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  color: #212529 !important;
  background-color: transparent !important;
  border: solid transparent !important;
  border-width: 1px 0 !important;
}

.table > tbody > tr > td > input[type="image"] {
  vertical-align: middle;
  width: 36px;
}

.table > tbody > tr > td i {
  color: black !important;
  font-size: 2rem !important;
  font-weight: normal;
  margin: .5rem;
}

  .table > tbody > tr > td i:hover {
    color: #ff0031 !important;
  }

/** Solapas **/

@media screen and (max-width: 576px) {
  .nav-tabs .nav-item {
    width: 100%;
    text-align: center;
  }
}

.nav-tabs .nav-link {
  color: #000;
}

  .nav-tabs .nav-link.active {
    color: #ff0031;
  }

  .nav-tabs .nav-link span {
    color: #fff;
    background-color: rgba(255, 0, 49, .9);
    border-radius: 5px;
    padding: 2px;
    padding-right: 5px;
    padding-left: 5px;
    text-align: center;
  }

/** Imagenes **/

.loader-image {
  border: 1px solid #ff0031;
  border-radius: 3px;
  display: block;
  width: 120px;
  height: 120px;
  padding: 5px;
}

  .loader-image img {
    width: 100%;
    height: 100%;
  }

  .loader-image span {
    display: block;
    float: right;
  }

/** Textos **/

span.barcode128 {
  display: inline-block;
  font-family: 'BarCode 128';
  white-space: nowrap;
}

@media screen and (max-width: 576px) {
  span.barcode128-label {
    font-size: xx-small;
  }
}

.text-bold {
  font-weight: bold !important;
}

/* Layout */

.row.spacing > .col-12, .row.spacing > .col-md-6, .row.spacing > .col-md-4 {
  margin-bottom: 15px;
  margin-top: 15px;
}

/** Paneles **/

.panel-indicator {
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 4px solid rgba(255, 0, 49, 1);
  border-radius: 10px 10px 0 0;
  color: #000;
  text-align: center;
  width: 100%;
  height: auto;
  padding: 5px;
  margin-bottom: 30px;
  margin-top: 30px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

  .panel-indicator > div.row > div.col-12, .panel-indicator > div.row > div.col-6 {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .panel-indicator span {
    font-size: 1rem;
    color: #ff0031;
    text-transform: uppercase;
    text-align: center;
  }

    .panel-indicator span.counter {
      color: #fff;
      background-color: #ff0031;
      border-radius: 5px;
      padding: 2px;
      padding-right: 5px;
      padding-left: 5px;
      text-align: center;
    }

.panel-action {
  align-items: center;
  display: flex;
  flex-direction: column;
  color: #000;
  text-align: center;
  width: 100%;
  height: 160px;
  margin-bottom: 30px;
  margin-top: 30px;
}

  .panel-action div {
    background-color: rgba(255, 0, 49, .1);
    border-radius: 50%;
    padding: 20px;
    width: 100px;
    height: 100px;
    outline: 0;
  }

    .panel-action div > img, .panel-action div > i, .panel-action div > svg {
      font-size: 60px;
      width: 60px;
      height: 60px;
      outline: 0;
    }

  .panel-action:hover img, .panel-action:hover i, .panel-action:hover svg {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }

  .panel-action p {
    color: #000;
    font-size: 1rem;
    margin-top: 8px;
    text-align: center;
  }

  .panel-action div span {
    font-size: 1.5rem;
    font-weight: bold;
    background-color: rgba(255, 91, 44, .9);
    border-radius: 50%;
    position: absolute;
    left: calc(50% + 10px);
    top: 10px;
    color: #000;
    text-transform: uppercase;
    text-align: center;
    line-height: 3rem;
    width: 3rem;
    height: 3rem;
    -webkit-animation: inout 1s linear infinite;
    animation: inout 1s linear infinite;
  }

input[type="image"]:focus {
  outline: 0;
}

.panel-toolbar {
  align-items: center;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 576px) {
  .panel-toolbar > div {
    width: 100% !important;
  }
}

.panel-toolbar > div > * {
  width: 100% !important;
}

.panel-label {
  align-items: center;
  display: flex;
  flex-direction: column;
  color: #000;
  position: relative;
  text-align: center;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  margin-top: 20px;
}

  .panel-label div {
    background-color: rgba(255, 0, 49, .1);
    border-radius: 50%;
    padding: 15px;
    width: 80px;
    height: 80px;
    outline: 0;
  }

  .panel-label.panel-label-no-required div {
    background-color: rgba(200, 200, 200, .1);
  }

  .panel-label div > img, .panel-label div > i, .panel-label div > svg {
    font-size: 50px;
    width: 50px;
    height: 50px;
    outline: 0;
  }

  .panel-label p {
    color: #000;
    font-size: 1rem;
    margin-top: 8px;
    text-align: center;
  }

  .panel-label div span {
    font-size: 1rem;
    font-weight: bold;
    background-color: rgba(88, 88, 88, .8);
    border-radius: 50%;
    position: absolute;
    left: calc(50% + 15px);
    top: -15px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 2rem;
    width: 2rem;
    height: 2rem;
  }

.panel-toggle {
  align-items: center;
  display: flex;
  flex-direction: column;
  color: #000;
  text-align: center;
  width: 100%;
  height: auto;
}

  .panel-toggle > a {
    color: #000;
    margin-top: 20px;
    transform: rotate(180deg);
    transition: all linear 0.25s;
  }

    .panel-toggle > a.collapsed {
      transform: rotate(0deg);
    }

    .panel-toggle > a > div {
      background-color: rgba(255, 0, 49, .1);
      border-radius: 50%;
      padding: 15px;
      width: 60px;
      height: 60px;
      outline: 0;
    }

      .panel-toggle > a > div > img, .panel-toggle > a > div > i, .panel-toggle > a > div > svg {
        font-size: 30px;
        width: 30px;
        height: 30px;
        outline: 0;
      }

      .panel-toggle > a > div:hover > img, .panel-toggle > a > div:hover > i, .panel-toggle > a > div:hover > svg {
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
      }

/** Labels **/

.label-badge {
  border-radius: 5px;
  color: #000;
  font-size: 1rem;
  margin: .25rem;
  padding: .5rem
}

  .label-badge.label-badge-light {
    background-color: rgba(200, 200, 200, .7);
  }

  .label-badge.label-badge-dark {
    background-color: rgba(88, 88, 88, .7);
    color: #fff;
  }

/** Modal **/

div.modal-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  overflow: visible;
  margin: auto;
  padding-right: 0px !important;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1040;
}

  div.modal-wrapper > div.modal-container {
    position: absolute;
    z-index: 1;
    margin: 1rem;
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    -webkit-animation: in .3s linear;
    animation: in .3s linear;
  }

    div.modal-wrapper > div.modal-container > .card-body::-webkit-scrollbar {
      width: 6px !important;
    }

    div.modal-wrapper > div.modal-container > .card-body::-webkit-scrollbar-track {
      background-color: rgba(255, 255, 255, .5);
      border-radius: 0px;
    }

    div.modal-wrapper > div.modal-container > .card-body::-webkit-scrollbar-thumb {
      background: rgba(255, 0, 49, .7);
      border-radius: 3px;
    }

      div.modal-wrapper > div.modal-container > .card-body::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 0, 49, 1);
      }

.panel-title {
  background-color: #fff;
  color: #000;
  font-weight: bold;
  margin: auto;
  margin-bottom: 20px;
  margin-top: 6px;
  padding: 10px;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #ff0031;
}

@media screen and (max-width: 576px) {
  .text-header {
    width: 100%;
  }
}
