.mainapp {
  display: grid;
  grid-template-rows: 70px minmax(0, 1fr);
  grid-template-columns: 290px minmax(0, 1fr);
  grid-template-areas:
    "sidenav topnav"
    "sidenav maincontent";
  height: 100%;
  max-height: 100%;
  /* overflow: hidden; */
  width: 100%;
  transition: 0.3s;
  justify-content: stretch;
}

.mainapp.sidebar-hide {
  grid-template-columns: 60px 1fr;
  transition: 0.3s;
}

.mainapp.sidebar-hide .components,
.mainapp.sidebar-hide h4 span {
  display: none;
}

.mainapp h4 {
  margin-top: 3px;
}

.navwrapper {
  display: contents;
}
.table {
  white-space: nowrap;
}
.container {
  max-width: 100% !important;
}
.sidenav {
  /* display: contents; */
  grid-area: "sidenav";
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.topnav {
  grid-area: "topnav";
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.apps {
  grid-area: "maincontent";
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  padding: 2em;
  justify-self: stretch;
  align-self: stretch;
  max-width: 100%;
  min-width: 100%;
  overflow: auto;
}

.sidenav {
  display: grid;
  grid-template-rows: 70px minmax(0, 1fr);
}

.sidenav :first-child {
  grid-row: 1/2;
}

.sidenav :nth-child(2) {
  grid-row: 2/3;
}

#sidebar .sidebar-header {
  padding: 20px;
  color: #4a4a4a;
  font-weight: 600;
  padding-left: 35px;
  padding-top: 15px;
}

.mainapp.sidebar-hide #sidebar .sidebar-header {
  padding: auto;
  padding-left: 0px;
  padding-top: 15px;
}

/* stuff in main.html */
.navbar-index .navbar-light .navbar-nav .nav-link {
  display: flex;
  align-items: center;
}

.navbar-index .dropdown-item {
  color: #b6b6b7;
  font-size: 16px;
  font-weight: 500;
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar-index .dropdown-item:not(:last-child) {
  border-bottom: solid 1px #f2f2f2;
  position: relative;
}

.navbar-index .dropdown-item:not(:last-child):hover .submenu {
  display: block;
}

.navbar-index .dropdown-item .icon {
  padding-right: 10px;
}

.etiquetas .danger,
.danger .dropdown-toggle,
.danger .selected-tag {
  border-color: #dc3545;
  font: 400 11px system-ui;
  text-rendering: auto;
  font-size: 100%;
  color: #dc3545;
}

.table thead th {
  white-space: nowrap;
  overflow: hidden;
}

/* hace que los v select no tengan overfloww.... */
.vs__selected-options {
  overflow: hidden;
  flex-wrap: nowrap !important;
}

.selected-tag {
  white-space: nowrap;
}

.v-select .dropdown-toggle {
  padding: 3px 0 4px !important;
}

span.search {
  width: 50px;
}

#divInput,
.inSearch {
  width: 320px;
}

/* v-select incorrecto y correcto */

.multiselect__tag {
  background: ghostwhite !important;
  color: black !important;
}
.multiselect__tag-icon:hover {
  background: lavender !important;
  color: black !important;
}
.multiselect__option.multiselect__option--highlight {
  background: gray !important;
}

.was-validated .custom-file-input:valid ~ .custom-file-label,
.custom-file-input.is-valid ~ .custom-file-label {
  border-color: #ced4da !important;
}
.mx-datepicker.is-invalid .mx-input, .form-control.is-invalid,
.v-select.is-invalid .dropdown-toggle,
.multiselect.is-invalid > .multiselect__tags,
.b-form-file.is-invalid > .custom-file-label {
  border-color: #dc3545 !important;
}

.novalidate,
.novalidate .dropdown-toggle {
  border-color: #ced4da !important;
}

.input-error-date .mx-input {
  border-color: #dc3545 !important;
}

.multiselect__tag {
  background: ghostwhite !important;
  color: black !important;
}
.multiselect__tag-icon:hover {
  background: lavender !important;
  color: black !important;
}
.multiselect__option.multiselect__option--highlight {
  background: gray !important;
}

.mx-input {
  font-family: inherit !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem !important;
}

.mx-input:disabled,
.mx-input.disabled {
  background: #e9ecef !important;
  opacity: 1 !important;
  color: #212529 !important;
}

.mx-datepicker.disabled {
  opacity: 1 !important;
}

.no-padding {
  padding: 0 !important;
}

#selTipo .dropdown-toggle {
  border: none !important;
}

/* Voltear icono de expandir en reportes */
.toggleExpandir {
  transform: rotateZ(180deg);
}

.v-select.loading .spinner,
.v-select .spinner,
.spinner .spinner:after {
  border-color: #00a1bd;
  border-right-color: transparent !important;
  opacity: 0.55 !important;
  font-size: 4px;
}
