.display-5 {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.breadcrumb li:first-child:before {
  display: none;
}

.site-logo img {
  height: auto;
}

.underline-none {
  color: inherit;
  text-decoration: none !important;
}

ul.nav-menu li a {
  color: #666 !important;
}

ul.nav-menu li a:hover {
  color: #fff !important;
  background: linear-gradient(to right, #1F601D, #FBCF18);
  background-color: #1F601D !important;
}

ul.nav-menu li.active a {
  background-color: #1F601D !important;
  color: #fff !important;
}

.form-control:focus {
  box-shadow: none;
  border-color: #1F601D;
}

.btn-primary {
  color: #fff;
  background-color: #1F601D;
  border-color: #1F601D;
}

.btn-primary:hover {
  color: #fff;
  background-color: #89A410;
  border-color: #89A410;
}

.btn-link {
  color: #1F601D;
}

a,
.btn-link:hover {
  color: #89A410;
}

.gx-main-content,
body {
  background-color: #fafafa;
}

.page-item.active .page-link {

  z-index: 1;
  color: #fff;
  background-color: #1F601D;
  border-color: #1F601D;

}

a,
.page-link {
  color: #1F601D;
}

table.dataTable td,
table.dataTable th {
  padding: 10px;
}

table.dataTable {
  border-collapse: collapse !important;
  margin-top: 20px !important;
  background: #fff;
  border: 1px solid #ccc;
}

.clear {
  clear: both !important;
}

.card-header,
.card-footer {
  padding: 15px 20px;
}


.bg-primary {
  background: linear-gradient(to right, #1F601D, #FBCF18) !important;
}

.table-hover tbody tr:hover .text-muted {
  /* color:#fff !important; */
}

.table-hover tbody tr:hover {
  /* background: linear-gradient(to right, #1F601D , #FBCF18) !important;
    color:#fff; */
  background-color: #eee !important;
}

.bg-filter-result {
  background-color: #ffeacc;
  color: #854f00;
}

.breadcrumb {
  background: #eee;
}

.breadcrumb a {
  color: #666;
  font-weight: bold;
}

.breadcrumb li:first-child:before {
  content: "\f015";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  padding-right: 7px;
}

.hide {
  display: none;
}

.nav-tabs .nav-link.active {
  background: linear-gradient(to right, #1F601D, #FBCF18) !important;
  color: #fff;
}

.nav-tabs .nav-link {
  margin-bottom: -1px;
  border: 1px solid #ddd;
  background: #f6f6f6;
  color: #666;
}

.bordered {
  border-width: 1px !important;
}

.noborder {
  border: none !important;
}

.transparent {
  background: transparent !important;
}

.tab-content .card-body {
  border: 1px solid #ddd;
  border-top: none;
  background: #fff;
}

.table-text-center td {
  text-align: center;
}

@media screen and (max-width: 480px) {
  .pagination .page-item {
    display: none !important;
  }

  .pagination .page-item.disabled,
  .pagination .page-item.previous,
  .pagination .page-item.next {
    display: inline-block !important;
  }

  .gx-main-content {
    padding: 5px;
    height: calc(100vh);
  }

  .gx-main-container {
    overflow: auto;
  }
}

/* Form */

.custom-form-inline {
  display: inline;
}

.custom-form-inline .custom-control-inline {
  width: auto;
}


/* Badge */

.badge-warning {
  color: #fff;
}

.badge-yellow {
  background-color: yellow;
  color: #000;
}

table > tbody > tr > td:first-child .badge {
  font-weight: 500;
  font-size: 100%;
}

.chart .bagde {
  display: inline-block;
  min-width: 60px;
  min-height: 26px;
  margin-right: 8px;
  padding: 5px;
  text-align: center;
}

.chart .c3-target-Toma-de-datos > text {
  fill: #000;
}

.fa-star {
  color: #fbcf18;
}


/* Alert */

.badge-wrapper {
  position: relative;
}

.badge-wrapper .badge {
  border-radius: 20%;
  display: inline-block;
  font-size: 12px;
  left: 15px;
  padding: 2px 4px;
  position: absolute;
  top: -5px;
}

/* Progress bar */

.progress.progress-out-label {
  overflow: initial;
}

.progress.progress-out-label .progress-bar {
  text-align: left;
}

.progress.progress-out-label .progress-bar::before {
  color: #5c5c5c;
  font-weight: bold;
  position: relative;
  top: -18px;
}

.progress.progress-out-label .progress-bar:not(:first-child):before {
  left: -16px;
}


/* Select2 */

.select2-container .select2-selection--single {
  height: 36px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 16px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 35px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px !important;
}

.select2 .badge {
  margin-bottom: 0;
  vertical-align: text-bottom;
}


/* DATATABLES */
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child::before,
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child::before {
  top: 12px;
  left: 4px;
  height: auto;
  width: auto;
  display: block;
  position: absolute;
  color: #333;
  border: none;
  border-radius: none;
  box-shadow: none;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  line-height: auto;
  content: '\f055';
  background-color: transparent;
  font-family: 'Fontawesome';
  font-size: 24px;
}

table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child::before,
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child::before {
  content: '\f056';
  background-color: transparent;
}

.fooicon {
  font-size: 24px;
  color: #333 !important;
  font-family: 'Fontawesome' !important;
  opacity: 1 !important;
}

.fooicon-plus:before {
  content: '\f055';
}

.fooicon-minus:before {
  content: '\f056';
}


/* Buscador AJAX */

.search-box {
  display: none;
  border: 1px solid #ccc;
  margin-top: -10px;
  max-height: 155px;
  overflow-x: auto;
}

.search-box p {
  border-bottom: 1px solid #eee;
  padding: 10px 5px;
  margin: 0;
}

.search-box p:hover {
  cursor: pointer;
  background-color: #eee;
}

/* Fin Buscador AJAX */


/* LOADING */

#loading {
  background: rgba(255,255,255,.5);
  display: none;
  height: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

#loading img {
    margin: auto;
}

body.loading {
  overflow: hidden;
}

body.loading #loading {
  display: flex;
}
