.bg-dark {
  background-color: #343a40 !important;
}
#wrapper #content-wrapper {
  background-color: #fff;
}
.sidebar {
    background-color: #212529;
    min-height: calc(100vh - 56px);
}
body,.form-control,.sidebar .nav-item .nav-link span,.dropdown-menu,.btn{
	font-size: 12px;
}
.sidebar .nav-item .nav-link {
  color: rgba(255, 255, 255, 0.5);
}
.sidebar .nav-item .nav-link:hover {
	color: rgb(255, 255, 255);
}
#wrapper #content-wrapper {
    overflow-x: hidden;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 40px;

}


/* sm */
@media (max-width: 576px) {
  .hide-sm{
  	display: none !important;
  }
   .show-sm{
  	display: block !important;
  }
  .text-center-sm{
  	text-align: center !important;
  }
}

/* md */
@media (max-width: 768px) {
 .hide-md{
  	display: none !important;
  }
  .show-md{
  	display: block !important;
  }
}

/* lg */
@media (max-width: 992px) {
 .hide-lg{
  	display: none !important;
  }
  .show-lg{
  	display: block !important;
  }
}

/* xl */
@media (max-width: 1200px) {
  .hide-xl{
  	display: none !important;
  }
  .show-xl{
  	display: block !important;
  }
}



/* .collapse:not(.show) { */
/*     display: none !important; */
/* } */

#ul-top-menu-sm{
	-ms-flex-direction: column !important;
    flex-direction: column !important;
}

#navbarSupportedContent{
	-ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-align: center;
    align-items: center;
}
.table-vm>thead>tr>th, .table-vm>tbody>tr>td{
	vertical-align: middle;
}
.clear-both-0, .clr0{
	clear: both; 
	width: 100%; 
	height: 0px;
}
.clear-both-5, .clr5{
	clear: both; 
	width: 100%; 
	height: 5px;
}
.clear-both-10, .clr10{
	clear: both; 
	width: 100%; 
	height: 10px;
}
.clear-both-20, .clr20{
	clear: both; 
	width: 100%; 
	height: 20px;
}
.clear-both-30, .clr30{
	clear: both; 
	width: 100%; 
	height: 30px;
}
.clear-both-40, .clr40{
	clear: both; 
	width: 100%; 
	height: 40px;
}
/*****************************/
/** TABLE SCROLLABLE - INI **/
/*****************************/
.table-fixed {
  margin: 0 auto;
  display: block;
  overflow-x: auto;
}

.table-fixed thead,
.table-fixed tbody {
  display: inline-block;
}

.table-fixed thead {
  position: sticky;
  top: 0px;
  z-index: 999;
}

.table-fixed tbody {
  max-height: 280px;
  min-height: 0px;
}

.table-fixed td,
.table-fixed th {
  min-width: 140px;
  max-width: 140px;
  word-wrap: break-word;
}

.table-fixed th {
/* 	background-color: #212529; */
/* 	border-color: #32383e; */
/* 	color: #fff; */
	text-align: center;
}

.table-fixed .fixed {
	background-color: #212529;
	color: #fff;
  position: sticky;
  left: 0;
  top: auto;
  z-index: 99;
}
tbody .table-fixed tbody .fixed {
/* 	background-color: #212529; */
}
.table-fixed .fixed-right {
/*   background-color: #5a5c69; */
/*   border-color: #6c6e7e; */
	background-color: #212529;
	color: #fff;
  position: sticky;
  right: 0;
  top: auto;
  z-index: 99;
  padding: 0px;
}

.table-fixed td:not(.fixed), .table-fixed td:not(.fixed-right) {
  z-index: 0;
}
.close span{
	color: red;
}
thead .container-fixed{
	border-bottom-width: 0px;
}
.container-fixed{
	border-left: 1px solid #6c6e7e;
	border-right: 1px solid #6c6e7e;
	border-bottom: 1px solid #6c6e7e;
	padding: 3.8px;
}
.table-fixed td.fixed>.btn-circle ,.table-fixed td.fixed-right>.btn-circle {
	border: 1px solid rgba(255,255,255,0.6);
}
.table-fixed td.fixed>.btn-circle .fas,.table-fixed td.fixed-right>.btn-circle .fas{
	color: rgba(255,255,255,0.6);
}
.table-fixed td.fixed>.btn-circle:hover ,.table-fixed td.fixed-right>.btn-circle:hover {
	border: 1px solid white;
}
.table-fixed td.fixed>.btn-circle:hover .fas,.table-fixed td.fixed-right>.btn-circle:hover .fas{
	color: white;
}
.table-fixed td.fixed>.btn-circle:active ,.table-fixed td.fixed-right>.btn-circle:active {
	border: 1px solid #212529;
	background-color: white;
}
.table-fixed td.fixed>.btn-circle:active .fas,.table-fixed td.fixed-right>.btn-circle:active .fas{
	color: #212529;
}
/*****************************/
/** TABLE SCROLLABLE - FIN **/
/*****************************/
.table .thead-dark th {
	color: #fff;
	background-color: #212529;
	border-color: #32383e;
}
.page-item.disabled.focus>a{
	color: #fff;
	background-color: #5a5c69;
	border-color: #6c6e7e;
}
.sub-table{
	width: 100%;
}
.sub-table td{
	border: 0px;
}
.sub-table td:not(:last-child){
	border-right: 1px solid #e3e6f0;
}
.sub-table tr:not(:last-child){
	border-bottom: 1px solid #e3e6f0;
}
td:has(.sub-table){
	padding: 0px;
}
.sub-table>tbody>tr>td{
	vertical-align: middle;
}
.dots{
	display: inline-block;
    width: 180px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}
.vm-color-1, .vm-mostaza{
	color: rgb(255,199,0);
}
.vm-color-2, .vm-celeste{
	color: rgb(0,171,247);
}
.vm-color-3, .vm-morado{
	color: rgb(111,41,139);
}
.bg-vm-color-1, .bg-vm-mostaza{
	background-color: rgba(255,199,0,0.5);
}
.bg-vm-color-2, .bg-vm-celeste{
	background-color: rgba(0,171,247,0.5);
}
.bg-vm-color-3, .bg-vm-morado{
	background-color: rgba(111,41,139,0.5);
}
.btn-vm-morado {
    color: #fff;
    background-color: rgb(111,41,139);
    border-color: rgb(111,41,139);
}
.va-middle{
	vertical-align: middle;
}
.va-top{
	vertical-align: top;
}
.va-bottom{
	vertical-align: bottom;
}
table.table-sm>thead>tr>td, table.table-sm>thead>tr>th, table.table-sm>tbody>tr>td {
	vertical-align: middle;
}
.tooltip > .tooltip-inner {
	border: 1px solid white;
}

/* SCROLLBAR */
textarea, div{
	scrollbar-width: thin;
}
textarea::-webkit-scrollbar, div::-webkit-scrollbar{
	width: 5px;
}
textarea::-webkit-scrollbar-track, div::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
textarea::-webkit-scrollbar-thumb, div::-webkit-scrollbar-thumb {
  background: #888 !important; 
}
textarea::-webkit-scrollbar-thumb:hover, div::-webkit-scrollbar-thumb:hover {
  background: #555 !important; 
}

/* TYPE NUMBER - QUITAR ARROWS */
input[type='number']{
	-moz-appearance: textfield;
}
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
#content-wrapper{
	position: relative;
}
#content{
	min-height: 99.5%;
	margin-bottom: 20px;
}
footer.sticky-footer{
	background-color: #343a40 !important;
	padding: 15px 0;
	color: #fff;
	position: absolute;
	width: 100%;
}

/*  UTIL */
.mr-5{
	margin-right: 5px;
}
.mr-10{
	margin-right: 10px;
}