body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  background-color: white;
}

#wrapper {
  flex-flow: column;
  display: flex;
}

#top-menu {
  display: block;
  background: #5c6499;
  color: #ffffff;
  padding: 0.5em;
  flex: 0 1 auto;
  box-shadow: inset 0 -1px 0 #cccccc;
  height: 20px;
}

#logout {
  float: right;
  margin: 0 1em auto;
}

header {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  background-color: #2b3364;
  color: #ffffff;
  padding: 1rem;
}

#main-menu {
  display: block;
  background: #f2f2f2;
  margin: 0 -1.5em;
  padding: 0 1.5em;
  cursor: default;
  box-shadow: inset 0 -1px 0 #cccccc;
}

#main-menu ul {
  margin: 0;
  padding: 0;
}

#main-menu li {
  display: table-cell;
  width: 1%;
}

#main-menu li a {
  display: block;
  color: #777777;
  margin: 0;
  padding: 1em .5em;
  white-space: nowrap;
  text-align: center;
}

a {
  transition-duration: 0.3s;
  text-decoration: none;
}

thead tr th a {
  color: #777777;
}

a.selected {
  font-weight: 600;
  color: #4e1315;
}

#main-menu li a:hover {
  color: #4e1315;
  box-shadow: inset 0 -3px #4e1315
}

#main {
  display: flex;
  padding: 0 1.5em 0em;
}

#main #content {
  width: 100%;
}

fieldset {
  border: 0;
}

fieldset legend {
  width: 100%;
  border-bottom: 1px solid #cccccc
}

fieldset table {
  width: 30%;
}

select {
  width: 100%;
}


table.list tr:nth-child(even){
  background-color: #f2f2f2;
}

table.list {
  width: 100%;
}

table {
  text-align: left;
  color: #777777;
  border-collapse: collapse;
}

table.list th {
  border-bottom: 1px solid #c7c5c5;
  padding: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #dfdfdf;
  color: white;
}

table.list td {
  border-bottom: 1px solid #ddd;
  padding: 8px;
  white-space: nowrap;
}

.even {
  background-color: #f9f9f9 !important
}

table.list tbody tr:hover {
  background-color: rgba(0, 0, 0, .10);
}

table.list td:nth-last-child(-n + 1) {
  text-align: end;
}

.pagination {
  width: max-content;
  margin-right: auto;
  margin-left: auto;
}

.asc {
  background-image: url("file:///C:/Users/lgrando/OneDrive%20-%20Aconcagua%20Software%20Factory/Escritorio/sort_asc.png");
  background-repeat: no-repeat;
  background-position: 100% 50%;
  padding-right: 16px;
}

.desc {
  background-image: url("file:///C:/Users/lgrando/OneDrive%20-%20Aconcagua%20Software%20Factory/Escritorio/sort_desc.png");
  background-repeat: no-repeat;
  background-position: 100% 50%;
  padding-right: 16px;
}

.message-success {
  padding: 10px;
  background-color: green;
  color: white;
  margin-bottom: 15px;
  margin-top: 15px;
  text-align: center;
}

.message-error {
  padding: 10px;
  background-color: red;
  color: white;
  margin-bottom: 15px;
  text-align: center;
}

#submenu {
  margin-left: auto;
  max-width: max-content;
  margin-top: 1em;
  margin-bottom: 1em;
}

#login-form table {
  margin-top: 2em;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}

#login-form td {
  padding: 0.5em;
}

h2 {
  border-bottom: 0px solid #cccccc
}

h3 {
  border-bottom: 1px solid #cccccc
}

.box {
  background: #f9f9f9;
  padding: 1em 1em 0 0.5em;
  border: 1px solid #cccccc;
  margin: 1em 0;
}

.box p {
  min-height: 1.8em;
  margin: 0;
  padding-left: 15em;
  margin-bottom: 0.5em;
  clear: left;
}

.box p label {
  float: left;
  text-align: right;
  margin-left: -15em;
  margin-top: 7px;
  width: 14em;
  vertical-align: middle;
}

select {
  vertical-align: middle;
  margin-top: 1px;
  margin-bottom: 1px;
  width: 50%;
}

#img-login {
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 5em;
}

#img-home {
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding-bottom: 0.5em;
  width: 150px;
}

#img-home-sca {
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding-bottom: 0.5em;
  width: 300px;
}

#img-detail {
  width:500px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}

#img-qr {
  border: solid 2px;
}

.btn {
  background-color: #2b3364;
  color: #ffffff;
  padding: 0.375em 0.75em;
  display: inline-block;
  border-radius: 0.375em;
  cursor: pointer;
}

.btn-primary {
  background-color: #2b3364;
}

.btn-primary:hover {
  background-color: #404b90;
}

.btn-secondary {
  background-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #5c636a;
}

.btn-success {
  background-color: #198754;
}

.btn-success:hover {
  background-color: #157347;
}

.btn-danger {
  background-color: #dc3545;
}

.btn-danger:hover {
  background-color: #bb2d3b;
}

.btn-warning {
  background-color: #ffc107;
}

.btn-warning:hover {
  background-color: #ffca2c;
}

.btn-info {
  background-color: #0dcaf0;
}

.btn-info:hover {
  background-color: #31d2f2;
}

.btn-ligth {
  background-color: #f8f9fa;
  color: #000000;
}

.btn-ligth:hover {
  background-color: #d3d4d5;
  color: #000000;
}

/* Ver donde se usa */
.btn-red {
  background-color: red;
  color: #ffffff;
  padding: 0.5em;
  border-radius: 0.5em;
  float: right;
}

.btn:hover {
  /* background-color: #555d91; */
}

.row {
  display: block;
}

.col {
  flex: 1 0 0;
}

.list-group {
  border: 1px solid;
  border-radius: 0.5em;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.list-group a {
  color: #00000082;
}

.list-group-item {
  border: 1px solid;
  border-top-width: 0px;
  border-right-width: 0px;
  border-left-width: 0px;
  padding: 0.5em;
}

.list-group-item:first-child {
  border-top-left-radius: 0.5em;
  border-top-right-radius: 0.5em;
}

.list-group-item:last-child {
  border-bottom-left-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
}

.list-group-item-success {
  background-color: #d1e7dd;
  color: #0a3622;
}

.list-group-item-success:hover {
  background-color: #a3cfbb;
  color: #000000;
}

.list-group-item-warning {
  background-color: #fff3cd;
  color: #664d03;
}

.list-group-item-warning:hover {
  background-color: #ffe69c;
  color: #000000;
}

.list-group-item-error {
  background-color: #f8d7da;
  color: #58151c;
}

.list-group-item-error:hover {
  background-color: #f1aeb5;
  color: #000000;
}

.list-group-title {
  text-align: center;
  padding: 0.5em;
}

.list-group-item-action {
  text-align: end;
}

.authentication {
  width: 100%;
  margin: 5em auto;
}

@media (min-width: 544px) {
  .authentication {
    width: 24rem;
    margin: 5em auto;
  }
}

.authentication-header {
  text-align: center;
}

.authentication-body form {
  gap: 20px;
}

.authentication-body label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
  margin-top: 0.25rem;
  color: #1f2328;
}

.authentication-body input:not([type=submit]) {
  width: 100%;
  height: 40px;
  padding: 5px 12px;
  border: 1px solid #d1d9e0;
  border-radius: 6px;
}

.authentication-body input:not([type=submit]):focus-visible {
  border-color: #0969da;
  box-shadow: inset 0 0 0 1px #0969da;
}

.authentication-body input[type=submit] {
  width: 100%;
  height: 40px;
  background-color: #1f883d;
  color: #ffffff;
  margin-top: 1rem;
  cursor: pointer;
  border: 1px solid #1f883d;
  border-radius: 6px;
}

.authentication-body a {
  color: #0969da;
}

.authentication-error-message {
  padding: 10px;
  background-color: #ed9c9d;
  color: white;
  margin-bottom: 15px;
  text-align: center;
  border: solid 1px #ffaaaa;
  border-radius: 6px;
}

table a {
  color: #0969da;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  border: 1px solid #d1d9e0;
  border-radius: 6px;
  font-size: 1rem;
}

.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

textarea {
  resize: vertical;
}

.row {
  display: flex;
}

.col {
  padding: 0.5rem;
}

input::file-selector-button {
  background-color: #4CAF50; /* Green background */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tab {
  display: flex;
  flex-wrap: wrap;
}

.tab-content {
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
}

.tab-content a {
  padding: 1em;
  color: #777777;
  border-bottom: 1px solid #ffffff;
}

.tab-content a:hover {
  color: #4e1315;
  border-bottom: 1px solid #4e1315;
}

.nav {
  padding: 1em;
}

.nav a {
  color: #0969da;
}

.form-error-message {
  color: #ff0000;
}

.permission {
  margin-left: 2em;
}

/*input[type="text"] {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  border: 1px solid #d1d9e0;
  border-radius: 6px;
  font-size: 1rem;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}*/

nav {
  background-color: #dfdfdf;
  width: 400px;
  height: 100vh;
  position: fixed;
  z-index: 10;
  border-right: 1px solid #c7c5c5;
}

.nav-hidden {
  left: -401px;
}

nav ul {
  color: #ffffff;
  list-style: none;
}

nav ul a {
  color: #777777;
  display: flex;
  gap: 10px;
  padding: 10px 20px;
  text-decoration: none;
}

nav ul a:hover {
  color: #4e1315;
}

#menu-close-button {
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  background-color: #dfdfdf;
  color: #8a7e7e;
  padding: 1rem;
}

.menu-header {
  align-items: end;
  text-align: end;
}

.menu-footer {
  text-align: center;
  margin-top:5rem;
}

#menu-button {
  background-color: #2b3364;
  cursor: pointer;
  border: none;
  margin-right: 10px;
  color: #ffffff;
  font-size: 1.5rem
}

.chat {
	background-color: #528133;
	height: 48px;
	width: 48px;
	position: fixed;
	bottom: 48px;
	right: 48px;
	border-radius: 50%;
	cursor: pointer;
	text-align: center;
	align-content: center;
	color: white;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.06), 0 2px 32px 0 rgba(0, 0, 0, 0.16);
}

.table {
  overflow-x: auto;
}
