html {
  min-height: 100%;
  position: relative;
  background: #fafafa;
  font-size: 13px !important;
}
body {
  margin: 0;
  margin-bottom: 40px;
  background: #fafafa;
  font-size: 13px !important;
}
/*footer {
  text-align: center;
  border-top: 1px solid #f1f1f1;
  background-color: #fafafa;
  color: #8A1D22;
  font-weight: bold;
  padding: 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
  margin-top: 15px;

}
*/
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: 0px !important;
    margin-left: -12px;
}

footer {
  text-align: center;
  border-top: 1px solid #f1f1f1;
  background-color: #fff;
  color: #8A1D22;
  font-weight: bold;
  width: 100%;
  height: 40px;
  position:fixed;
  bottom: 0;
  left: 0;
  padding: 10px;
}

.login-box {
  border:1px solid #666666;
  vertical-align: top;
}
.left { text-align: left; }
.right { text-align: right; }
.center { text-align: center; }

.invalid-feedback {
  display: block !important;
}

.border-left-primary {
  border-left: 0.25rem solid #4e73df !important;
  padding:10px !important;
}

.border-bottom-primary {
  border-bottom: 0.25rem solid #4e73df !important;
  padding:10px !important;
}

.border-left-secondary {
  border-left: 0.25rem solid #858796 !important;
  padding:10px !important;
}

.border-bottom-secondary {
  border-bottom: 0.25rem solid #858796 !important;
  padding:10px !important;
}

.border-left-success {
  border-left: 0.25rem solid #1cc88a !important;
  padding:10px !important;
}

.border-bottom-success {
  border-bottom: 0.25rem solid #1cc88a !important;
  padding:10px !important;
}

.border-left-info {
  border-left: 0.25rem solid #36b9cc !important;
  padding:10px !important;
}

.border-bottom-info {
  border-bottom: 0.25rem solid #36b9cc !important;
  padding:10px !important;
}

.border-left-warning {
  border-left: 0.25rem solid #f6c23e !important;
  padding:10px !important;
}

.border-bottom-warning {
  border-bottom: 0.25rem solid #f6c23e !important;
  padding:10px !important;
}

.border-left-danger {
  border-left: 0.25rem solid #e74a3b !important;
  padding:10px !important;
}

.border-bottom-danger {
  border-bottom: 0.25rem solid #e74a3b !important;
  padding:10px !important;
}

.border-left-light {
  border-left: 0.25rem solid #f8f9fc !important;
  padding:10px !important;
}

.border-bottom-light {
  border-bottom: 0.25rem solid #f8f9fc !important;
  padding:10px !important;
}

.border-left-dark {
  border-left: 0.25rem solid #5a5c69 !important;
  padding:10px !important;
}

.border-bottom-dark {
  border-bottom: 0.25rem solid #5a5c69 !important;
  padding:10px !important;
}

.grid-botones-uuxxxxs { width: 40px !important; }
.grid-botones-uxxxxs { width: 60px !important; }
.grid-botones-xxxxs { width: 80px !important; }
.grid-botones-xxxs { width: 110px !important; }
.grid-botones-xxs { width: 150px !important; }
.grid-botones-xs { width: 180px !important; }
.grid-botones { width:200px !important; }
.grid-botones-md { width: 250px !important; }
.grid-botones-lg { width:300px !important; }
.grid-botones-xl { width:402px !important; }
.grid-botones-xxl { width:452px !important; }
.grid-botones-xxxl { width:500px !important; }

.t10 { width: 10% !important; }
.t20 { width: 20% !important; }
.t25 { width: 25% !important; }
.t30 { width: 30% !important; }
.t40 { width: 40% !important; }
.t45 { width: 45% !important; }
.t50 { width: 50% !important; }
.t60 { width: 60% !important; }
.t70 { width: 70% !important; }
.t80 { width: 80% !important; }
.t90 { width: 90% !important; }
.t100 { width: 100% !important; }

.c50 { width: 50px; }
.c100 { width: 100px; }
.c200 { width: 200px; }
.c400 { width: 400px; }
.c600 { width: 600px; }
.c700 { width: 700px; }
.c800 { width: 800px; }
.c900 { width: 900px; }
.c1000 { width: 1000px; }
.c1100 { width: 1100px; }
.c1200 { width: 1200px; }
.c1300 { width: 1300px; }
.c1400 { width: 1400px; }
.c1500 { width: 1500px; }
.c1600 { width: 1600px; }

.p5 { padding: 5px; }
.p10 { padding: 10px; }
.p20 { padding: 20px; }
.p30 { padding: 30px; }
.p40 { padding: 40px; }

.m10 { margin: 10px; }
.m20 { margin: 20px; }
.m30 { margin: 30px; }
.m40 { margin: 40px; }

.bd-callout {
    padding: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem;
    background: white;
    color: #555555 !important;
}

.bd-callout-info { border-left-color: #5bc0de;  }
.bd-callout-warning { border-left-color: #FFF3CD; }
.bd-callout-danger { border-left-color: #F8D7DA; }
.bd-callout-success { border-left-color: #D4EDDA; }
.bd-callout-primary { border-left-color: #CCE5FF; }
.bd-callout-dark { border-left-color: #FFFFFF; }


.modal-body { background: #f8f9fc; }

.table-white tr { background: white; }

.table-white .table-hover tr:hover { background: #E6E6E9; }

.form-inline .form-group, .form-inline label { margin: 10px 0px 6px 0px !important; }

.center-all { position: relative;top: 50%;transform: translateX(50%) translateY(-50%); }


.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

/*.page a {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page a:hover {
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.page a:focus {
  z-index: 2;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.page a:not(:disabled):not(.disabled) {
  cursor: pointer;
}
*/
.first a {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.first a:hover {
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.first a:focus {
  z-index: 2;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.first a:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.previous a {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.previous a:hover {
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.previous a:focus {
  z-index: 2;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.previous a:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.next a {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.next a:hover {
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.next a:focus {
  z-index: 2;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.next a:not(:disabled):not(.disabled) {
  cursor: pointer;
}


.last a {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.last a:hover {
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.last a:focus {
  z-index: 2;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.last a:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.page.selected {
  background-color: #F8D7DA;
}

.page.selected a {
  z-index: 1;
  color: red;
  font-weight: bold;
  /*background-color: #007bff;*/
  border-color: #007bff;
}

.first.hidden a {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}
.previous.hidden a {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

.next.hidden a {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

.last.hidden a {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}
.pagination-sm a {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.pagination-sm .page:first-child a {
  border-top-left-radius: 0.2rem;
  border-bottom-left-radius: 0.2rem;
}

.pagination-sm .page:last-child a {
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}

.modal-dialog-vertical-xl {height:100%;max-width:500px;margin:0}
.modal-dialog-vertical-xl .modal-content{height:inherit;border-width:0 1px 0 0;border-radius:0}
.modal-dialog-vertical-xl .modal-header{border-radius:inherit}
.modal-dialog-vertical-xl .modal-body{height:inherit;overflow-y:auto}
.modal.fade .modal-dialog-vertical-xl{transform:translateX(-100%)}
.modal.show .modal-dialog-vertical-xl{transform:translateX(0)}

.modal-m {max-width:500px !important;}
.modal-l {max-width:750px !important;}
.modal-xl {max-width:1000px !important;}

span.required { color: red; }

.navbar-light .navbar-nav .nav-link {
    color: #8A1D22 !important;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #B15040 !important;
}

.bg-danger {
  color: #721c24 !important;
  background-color: #f8d7da !important;
  border-color: #f5c6cb !important;
}

.bg-danger:hover {
  background-color:#F8D7DA !important;
}



.alert-danger {
  color: #721c24 !important;
  background-color: #f8d7da !important;
  border-color: #f5c6cb !important;
}

.alert-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}
.alert-warning {
    color: #856404 !important;
    background-color: #fff3cd !important;
    border-color: #ffeeba !important;
}
.alert-info {
  color: #0c5460 !important;
  background-color: #d1ecf1 !important;
  border-color: #bee5eb !important;
}

.bg-success {
  color: #155724 !important;
  background-color: #d4edda !important;
  border-color: #c3e6cb !important;
}
.bg-warning {
  color: #856404 !important;
  background-color: #fff3cd !important;
  border-color: #ffeeba !important;
}
.bg-info {
  color: #0c5460 !important;
  background-color: #d1ecf1 !important;
  border-color: #bee5eb !important;
}


.text-black {
  color:#000000 !important;
}

.text-grey {
  color:#666666 !important;
}