/*agregado por mi para los mensajes de error*/
body {
  /*fsilva*/
  margin: 0px;
  padding: 0;
  color: #404040;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #dfe3e8;
  font-size: 13px;
  scrollbar-face-color: #dddddd;
  scrollbar-arrow-color: #444444;
}

body.sgd-document-viewer-open {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.sgd-document-viewer {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.sgd-document-viewer.is-open {
  display: block;
}
.sgd-document-viewer-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(10, 28, 42, 0.68);
}
.sgd-document-viewer-dialog {
  position: absolute;
  top: 3vh;
  right: 2vw;
  bottom: 3vh;
  left: 2vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}
.sgd-document-viewer-header {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 62px 8px 20px;
  color: #fff;
  background: #123a5a;
}
.sgd-document-viewer-heading {
  min-width: 0;
}
.sgd-document-viewer-header h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}
.sgd-document-viewer-document-name {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #d5e5f0;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sgd-document-viewer-document-name:empty {
  display: none;
}
.sgd-document-viewer-info-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  color: #fff;
  background: transparent;
}
.sgd-document-viewer-close {
  position: absolute;
  top: 3px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid #b42318;
  border-radius: 6px;
  color: #fff;
  background: #b42318;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
  font-size: 16px;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.sgd-document-viewer-close:hover {
  border-color: #b42318;
  color: #b42318;
  background: #fff;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.3);
}
.sgd-document-viewer-close:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.sgd-document-viewer-close:active {
  border-color: #b42318;
  color: #b42318;
  background: #fff;
  box-shadow: inset 0 2px 4px rgba(143, 28, 19, 0.2);
}
.sgd-document-viewer-body {
  display: flex;
  flex: 1;
  min-height: 0;
}
.sgd-document-viewer-info {
  width: 31%;
  min-width: 280px;
  max-width: 420px;
  box-sizing: border-box;
  padding: 20px;
  overflow-y: auto;
  border-right: 0;
  background: #f5f8fa;
  box-shadow: 5px 0 14px rgba(32, 58, 76, 0.08);
  z-index: 1;
}
.sgd-document-viewer-info-title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2c6e9e;
  color: #123a5a;
  font-size: 16px;
  font-weight: 600;
}
.sgd-document-viewer-fields {
  margin: 0;
}
.sgd-document-viewer-fields dt {
  margin-top: 13px;
  color: #526777;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sgd-document-viewer-fields dd {
  margin: 3px 0 0;
  color: #243744;
  line-height: 1.45;
  overflow-wrap: break-word;
}
.sgd-document-viewer-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  background: #e7edf2;
}
.sgd-document-viewer-preview iframe {
  display: none;
  flex: 1;
  min-height: 0;
  width: 100%;
  height: auto;
  border: 0;
  background: #fff;
}
.sgd-document-viewer-actions {
  display: none;
  flex: 0 0 auto;
  justify-content: flex-end;
  padding: 8px 12px;
  border-top: 1px solid #c9d5de;
  background: #f5f8fa;
}
.sgd-document-viewer-actions.is-available {
  display: flex;
}
.sgd-document-viewer-open-pdf {
  display: none;
}
.sgd-document-viewer .sgd-document-viewer-open-pdf.is-available,
.sgd-document-viewer .sgd-document-viewer-open-pdf.is-available:visited {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid var(--sgd-primary-800);
  border-radius: 5px;
  color: #fff !important;
  background: var(--sgd-primary-800);
  box-shadow: 0 2px 6px rgba(18, 58, 90, 0.2);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.sgd-document-viewer .sgd-document-viewer-open-pdf.is-available:hover {
  color: var(--sgd-primary-800) !important;
  background: var(--sgd-surface-blue);
  border-color: var(--sgd-primary-800);
  text-decoration: none;
  box-shadow: none;
}
.sgd-document-viewer .sgd-document-viewer-open-pdf.is-available:focus,
.sgd-document-viewer .sgd-document-viewer-open-pdf.is-available:focus-visible {
  color: #fff !important;
  background: var(--sgd-primary-800);
  border-color: var(--sgd-primary-800);
  text-decoration: none;
  outline: 3px solid var(--sgd-primary-700);
  outline-offset: 2px;
}
.sgd-document-viewer .sgd-document-viewer-open-pdf.is-available:active {
  color: #fff !important;
  background: var(--sgd-primary-900);
  border-color: var(--sgd-primary-900);
  box-shadow: none;
}
.sgd-document-viewer-status {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  max-width: 520px;
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid #c9d5de;
  border-radius: 6px;
  color: #40586a;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
  transform: translate(-50%, -50%);
}
.sgd-document-viewer-status.sgd-document-viewer-error {
  border-color: var(--sgd-error-border, #fca5a5);
  color: var(--sgd-error, #b42318);
  background: var(--sgd-error-surface, #fee2e2);
}
.sgd-document-viewer-retry {
  display: none;
  min-height: 34px;
  margin: 14px auto 0;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: inherit;
  background: transparent;
  font-weight: 600;
}
.sgd-document-viewer-retry:hover,
.sgd-document-viewer-retry:focus {
  color: #fff;
  background: var(--sgd-error, #b42318);
}
.sgd-document-viewer-retry:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.sgd-document-viewer-signatures {
  border-top: 1px solid #d9d9d9;
  background: #fff;
}
.sgd-signatures-header {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 12px;
  border-bottom: 1px solid #d9d9d9;
  background: #fff;
}
.sgd-signatures-icon {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  color: #526777;
  font-size: 17px;
}
.sgd-signatures-heading {
  display: flex;
  align-items: baseline;
  flex: 1;
  min-width: 0;
  gap: 10px;
}
.sgd-signatures-title {
  color: var(--sgd-signature, #6d28d9);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.sgd-signatures-report {
  color: var(--sgd-text-muted, #526777);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.sgd-signatures-loading {
  margin-right: 8px;
  color: #526777;
  font-weight: 400;
  font-size: 12px;
}
.sgd-signatures-summary {
  margin-right: 10px;
  padding: 3px 8px;
  border: 1px solid #c9d5de;
  border-radius: 999px;
  color: #526777;
  background: #f5f8fa;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.sgd-signatures-summary:empty {
  display: none;
}
.sgd-signatures-summary-valid {
  border-color: var(--sgd-success-border, #86efac);
  color: var(--sgd-success, #15803d);
  background: var(--sgd-success-surface, #dcfce7);
}
.sgd-signatures-summary-invalid {
  border-color: var(--sgd-error-border, #fca5a5);
  color: var(--sgd-error, #b42318);
  background: var(--sgd-error-surface, #fee2e2);
}
.sgd-signatures-valid .sgd-signatures-icon,
.sgd-signatures-invalid .sgd-signatures-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  font-size: 18px;
}
.sgd-signatures-valid .sgd-signatures-icon {
  color: var(--sgd-success, #15803d);
}
.sgd-signatures-invalid .sgd-signatures-icon {
  color: var(--sgd-error, #b42318);
}
.sgd-signatures-toggle {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #bdbdbd;
  border-radius: 50%;
  background: #fff;
  color: #777;
  line-height: 28px;
  text-align: center;
}
.sgd-signatures-toggle:hover,
.sgd-signatures-toggle:focus {
  border-color: #2ca7df;
  background: #f3fbff;
  color: #1689bd;
}
.sgd-signatures-toggle:focus {
  outline: 2px solid #1689bd;
  outline-offset: 2px;
}
.sgd-signatures-body {
  max-height: 420px;
  overflow-y: auto;
  transition: max-height 0.25s ease;
}
.sgd-document-viewer-signatures.sgd-signatures-collapsed .sgd-signatures-body {
  max-height: 0;
  overflow: hidden;
}
.sgd-signatures-valid .sgd-signatures-header {
  border-bottom-color: #d9d9d9;
}
.sgd-signature-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  column-gap: 7px;
  margin: 0;
  padding: 10px 12px 10px 8px;
  border-bottom: 1px solid #e6e6e6;
  border-left: 4px solid transparent;
  background: #fff;
}
.sgd-signature-item.sgd-signature-valid {
  border-left-color: var(--sgd-success, #15803d);
}
.sgd-signature-item.sgd-signature-invalid {
  border-left-color: var(--sgd-error, #b42318);
}
.sgd-signature-person-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #526777;
  font-size: 18px;
  line-height: 1;
}
.sgd-signature-content {
  min-width: 0;
}
.sgd-signature-name {
  margin-bottom: 2px;
  color: #222;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.sgd-signature-status {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.sgd-signature-status-valid {
  color: var(--sgd-success, #15803d);
  background: var(--sgd-success-surface, #dcfce7);
}
.sgd-signature-status-invalid {
  color: var(--sgd-error, #b42318);
  background: var(--sgd-error-surface, #fee2e2);
}
.sgd-signature-line,
.sgd-signature-time-source {
  color: #222;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.sgd-signature-line strong {
  font-weight: 400;
}
.sgd-signature-time-source {
  margin: 1px 0;
}
.sgd-signature-checks {
  display: flex;
  grid-column: 2;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 6px 0 0;
  color: #222;
  font-size: 12px;
}
.sgd-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.sgd-check-valid {
  color: var(--sgd-success, #15803d);
}
.sgd-check-invalid {
  color: var(--sgd-error, #b42318);
}
.sgd-check-unverified {
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 400;
}
.sgd-signature-empty,
.sgd-signature-error {
  padding: 12px 20px;
  color: #526777;
  font-size: 13px;
}
.sgd-signature-error { color: var(--sgd-error, #b42318); }

@media (max-width: 767px) {
  .sgd-document-viewer-signatures {
    border-top: 1px solid #d9d9d9;
  }
  .sgd-signatures-header {
    min-height: 44px;
    padding: 7px 8px;
    align-items: flex-start;
  }
  .sgd-signatures-heading {
    display: block;
    padding-top: 2px;
  }
  .sgd-signatures-title,
  .sgd-signatures-report {
    display: block;
    white-space: normal;
  }
  .sgd-signatures-title {
    font-size: 15px;
  }
  .sgd-signatures-report {
    margin-top: 2px;
    font-size: 11px;
  }
  .sgd-signatures-loading {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sgd-signatures-summary {
    max-width: 105px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sgd-signatures-body {
    max-height: 300px;
  }
  .sgd-signatures-collapsed .sgd-signatures-body {
    max-height: 0;
  }
  .sgd-signature-item {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 9px 8px 9px 5px;
  }
  .sgd-signature-checks {
    grid-column: 2;
    justify-self: start;
    padding: 5px 0 0;
  }
  .sgd-document-viewer-dialog {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 0;
    min-height: 100dvh;
  }
  .sgd-document-viewer-body {
    flex-direction: column;
  }
  .sgd-document-viewer-header {
    padding: calc(8px + env(safe-area-inset-top)) 62px 8px 14px;
  }
  .sgd-document-viewer-heading {
    flex: 1;
  }
  .sgd-document-viewer-info-toggle {
    display: inline-block;
    margin-right: 8px;
    min-height: 40px;
    padding: 5px 9px;
  }
  .sgd-document-viewer-info-toggle:hover,
  .sgd-document-viewer-info-toggle:focus {
    color: #123a5a;
    background: #fff;
  }
  .sgd-document-viewer-info-toggle:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  .sgd-document-viewer-actions {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .sgd-document-viewer-open-pdf.is-available {
    width: 100%;
    justify-content: center;
  }
  .sgd-document-viewer-info {
    width: auto;
    min-width: 0;
    max-height: 30%;
    border-right: 0;
    border-bottom: 0;
    box-shadow: 0 5px 14px rgba(32, 58, 76, 0.08);
  }
  .sgd-document-viewer.info-collapsed .sgd-document-viewer-info {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sgd-document-viewer-close,
  .sgd-signatures-body {
    transition: none;
  }
}
.ui-messages-info,
.ui-messages-warn,
.ui-messages-error,
.ui-messages-fatal {
  border: 1px solid;
  margin: 10px 0;
  padding: 10px;
}
.ui-messages-info,
.ui-message-info {
  background-color: #bde5f8;
  color: #00529b;
}

.ui-messages-info-icon,
.ui-messages-warn-icon,
.ui-messages-error-icon,
.ui-messages-fatal-icon {
  height: 24px;
  margin-top: -4px;
  width: 24px;
}
.ui-message-info-icon,
.ui-message-warn-icon,
.ui-message-error-icon,
.ui-message-fatal-icon {
  height: 16px;
  width: 16px;
}
.ui-messages-info-summary,
.ui-messages-warn-summary,
.ui-messages-error-summary,
.ui-messages-fatal-summary,
.ui-message-info-summary,
.ui-message-warn-summary,
.ui-message-error-summary,
.ui-message-fatal-summary {
  font-weight: bold;
  margin-left: 10px;
}
.ui-messages-info-detail,
.ui-messages-warn-detail,
.ui-messages-error-detail,
.ui-messages-fatal-detail,
.ui-message-info-detail,
.ui-message-warn-detail,
.ui-message-error-detail,
.ui-message-fatal-detail {
  margin-left: 5px;
}
.ui-messages-warn,
.ui-message-warn {
  background-color: #feefb3;
  color: #9f6000;
}
.ui-messages-error,
.ui-message-error {
  background-color: #ffbaba;
  color: #d8000c;
}
.ui-messages-fatal,
.ui-message-fatal {
  background-color: #cc0000;
  color: #000000;
}
.ui-messages ul {
  list-style-type: none;
  margin: 0 0 0 25px;
  padding: 0;
}

.ui-messages-info-icon {
  background-position: 0 -68px;
}
.ui-messages-warn-icon {
  background-position: 0 -102px;
}
.ui-messages-error-icon {
  background-position: 0 0;
}
.ui-messages-fatal-icon {
  background-position: 0 -34px;
}

/*agregado por mi para los mensajes para las tablas*/

.ui-datatable table {
  border-collapse: collapse;
  width: 100%;
}

.ui-datatable .ui-datatable-header,
.ui-datatable .ui-datatable-footer {
  padding: 4px 8px;
  text-align: center;
}
.ui-datatable .ui-datatable-header {
  border-bottom: 0 none;
}
.ui-datatable .ui-datatable-footer {
  border-top: 0 none;
}
.ui-datatable th,
.ui-datatable tfoot td {
  padding: 4px 8px;
  text-align: center;
  white-space: nowrap;
  font-size: 12px;
}
.ui-datatable-data,
.ui-datatable-data-empty {
}

.ui-datatable-data tr:hover {
  background: #fdf5ce;
  color: #c77405;
  cursor: pointer;
  outline: 1px solid #fbcb09;
}
.ui-datatable-data tr:hover td {
  border: 1px solid #fbcb09;
}

/*ecueva*/
.ui-datatable-data row_selected {
  background: #fdf5ce;
  color: #c77405;
  outline: 1px #fbcb09;
}

/*.row_selected {background: #fdf5ce; color: #c77405;outline: 1px #fbcb09;}*/

.ui-datatable .ui-datatable-data td,
.ui-datatable .ui-datatable-data-empty td {
  border: 1px solid #9db9dc;
  padding: 3px 5px;
}

.ui-datatable-fixed table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

.ui-datatable-fixed tbody td,
.ui-datatable-fixed .ui-datatable-fixed-data-empty td {
  border: 1px solid #9db9dc;
  padding: 4px 5px;
  overflow: hidden;
  /*white-space:nowrap;*/
}

.ui-datatable-fixed tbody tr:hover {
  background: #fdf5ce;
  color: #c77405;
  cursor: pointer;
  outline: 1px solid #fbcb09;
}
.ui-datatable-fixed tbody tr:hover td {
  border: 1px solid #fbcb09;
}

/* Keep the complete DD/MM/YYYY value visible without changing column widths. */
#tblRefEmiDocAdm tbody td:nth-child(5) {
  padding-left: 2px;
  padding-right: 2px;
}

#tblRefEmiDocAdm tbody td:nth-child(5) input[type="text"] {
  box-sizing: border-box;
  width: 100%;
}
/*
.row_select {color: #004370; outline: 2px solid #fbcb09;}
.row_select td{border: 1px solid #fbcb09;}

.ui-datatable-fixed tbody tr:focus{background: #fdf5ce; color: #c77405; outline: 1px solid #fbcb09;}
.ui-datatable-fixed tbody tr:focus td{border: 1px solid #fbcb09;}
*/

.ui-datatable .ui-paginator {
  margin: 0;
  padding: 2px;
  text-align: center;
}
.ui-datatable .ui-paginator-top {
  border-bottom: 0 none;
}
.ui-datatable .ui-paginator-bottom {
  border-top: 0 none;
}
.ui-datatable .ui-sortable-column {
  cursor: pointer;
}
.ui-datatable .ui-sortable-column-icon {
  float: right;
}
.ui-datatable .ui-column-filter {
  display: block;
  margin: auto;
  width: 100px;
}
.ui-datatable .ui-expanded-row {
  border-bottom: 0 none;
}
.ui-datatable .ui-expanded-row-content {
  border-top: 0 none;
}
.ui-datatable .ui-row-toggler {
  cursor: pointer;
}
.ui-datatable .ui-cell-editor-input {
  display: none;
}
.ui-datatable .ui-row-editor-column {
}
.ui-datatable .ui-row-editor {
}
.ui-datatable .ui-row-editor span {
  cursor: pointer;
  float: left;
}
.ui-datatable tr.ui-state-highlight {
  cursor: pointer;
}
.ui-datatable .ui-selection-column {
  width: 20px;
}
.ui-datatable-cab {
  background: #b4c4e7;
}
.ui-datatable-odd {
  background: #f6f6f6;
}
.ui-datatable-even {
  background: #ffffff;
}

.ui-datatable-scrollable {
}
.ui-datatable-scrollable-header {
}
.ui-datatable-scrollable-body {
  overflow: auto;
}
.ui-datatable-fixed-scrollable-body {
  overflow: auto;
}
.ui-datatable-scrollable .ui-datatable-scrollable-body table,
.ui-datatable-scrollable .ui-datatable-scrollable-header table,
.ui-datatable-scrollable .ui-datatable-scrollable-footer table {
  width: auto;
}
.ui-datatable-fixed-scrollable .ui-datatable-fixed-scrollable-body table,
.ui-datatable-fixed-scrollable .ui-datatable-fixed-scrollable-header table,
.ui-datatable-fixed-scrollable .ui-datatable-fixed-scrollable-footer table {
  width: 100%;
}
.ui-datatable .ui-widget .ui-datatable-scrollable {
  width: 100%;
}
.ui-datatable a {
  color: #228ef1;
}
.ui-datatable a:hover {
  color: blue;
}

.txt_footer {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: normal;
  color: #004370;
  text-decoration: none;
  text-align: left;
}
.txt_footer a {
  color: #428bca;
}

.txt_footer a:hover {
  color: #5cb85c;
}

#titulo_interno {
  color: #004370;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: normal;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
}

#main_links {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: normal;
  text-decoration: none;
  color: #000000;
}
#main_links:hover {
  color: #ea5932;
  font-weight: normal;
}

#txt_nav {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: normal;
  color: #004370;
  text-decoration: none;
  text-align: left;
}
.txt_nav2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: normal;
  color: #004370;
  text-decoration: none;
  text-align: left;
}

.txt_nav2 > a {
  color: #004370;
}
.txt_nav2 > a:hover,
.txt_nav2 > a:focus {
  text-decoration: underline;
  color: #5cb85c;
}
.txt_nav2 > a:link {
  text-decoration: linen;
}

/************************************/
/*****************************/
/* Aqui Nuevos Cambios*/
/*****************************/

/*
#ulMenu{ padding: 10px;}
#ulMenu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;

        }
#ulMenu ul li {
background-image: url(../images/ico_bullet.png);
background-repeat: no-repeat;
background-position: 0;
padding-left: 30px;
}
#ulMenu td { padding: 10px; }

*/

/*
#menuSio a.menu_lista {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #333;
    text-decoration: none;
    text-align: left;
    line-height: 20px;
}

#menuSio a.menu_lista:hover {
    color:#EA5932;
    font-weight: normal;
}

#menuSio a.menu_offline {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #999;
    text-decoration: none;
    text-align: left;
    line-height: 20px;
    pointer-events: none;
    cursor: default;
}

*/
/*****************************/
/* DESDE AQUI ERA EL ORIGINAL*/
/*****************************/

/*
body{
    margin: 0px;
    padding: 0;
    color: #404040;
    font-family: Arial, Helvetica, sans-serif;
    background-color:#DFE3E8;
    font-size: 11px;
    scrollbar-face-color:#DDDDDD;
    scrollbar-arrow-color:#444444;
}*/

/*FORM*/
form,
ul,
div {
  margin: 0px;
}

a {
  color: #fff;
  /*text-decoration: none;*/
  /*font-size: 0.9em;*/
}
h3 {
  text-align: center;
  color: #004080;
}

a:hover {
  color: #228ef1;
}

input,
select,
textarea,
.inputGrid {
  font-family: Arial, Helvetica, sans-serif;
  /*font-size: 14px; COMENTADO*/
  font-weight: normal;
  color: #333333;
  background-color: #ffffff;
  padding: 2px 5px;
  border: 1px solid #aaa;
  text-transform: uppercase;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit--box-sizing: border-box;
}
select,
textarea {
  text-transform: uppercase;
  min-height: 22px;
}

input[disabled] {
  background-color: #a2a7af;
  color: #333333;
}

select[disabled] {
  color: #333333;
}

input[readonly] {
  color: #333333;
  background-color: #eff3f7;
  /*    background-color: #F0F0F0;*/
}

input[type="checkbox"] {
  padding: 3px;
  border: none;
  background-color: transparent;
}

input[type="radio"] {
  padding: 3px;
  border: none;
  background-color: transparent;
}

/*fieldset{border: 1px solid #9DB9DC; padding: 0.3em 0.8em;}*/

.enlaceSimple a {
  text-decoration: none;
  color: #084d86;
}

.enlaceSimple a:hover {
  color: red;
  text-decoration: underline;
}
.td_sombra {
  /*background: #F6F6F6;*/
  /*border: 1px solid #DDDDDD;*/
  text-align: right;
  color: #004370;
}

.td_right {
  /*background: #F6F6F6;*/
  /*border: 1px solid #DDDDDD;*/
  text-align: right;
  padding: 2px;
}

.th_left {
  /*background: #F6F6F6;*/
  color: #004370;
}

.tlb {
  border-collapse: collapse;
  background: #ffffff;
}
.tlb td {
  padding: 2px;
}
.tlbCollapse {
  border-collapse: collapse;
  /*background: #F6F6F6;*/
}

#bcMain {
  /*position:absolute;left:50%; margin:0 0 0 -550px; width: 1200px; padding: 0px; background-color: #fff;1°*/
  /*position:absolute;left:50%; margin:0 0 0 -585px; width: 1200px; padding: 0px; background-color: #fff; ecueva*/
  /*position:absolute;left:1%; width: 98%; padding: 0px; background-color: #fff; */
  position: absolute;
  min-width: 1280px;
  width: 100%;
  padding: 0px;
  background-color: #fff;
}
#headPanel {
  overflow: hidden;
}

#headPanel_top {
  background-color: #ffffff;
  /*background-image:url(/recursos/images/banner_top.jpg);*/
  background-position: left center;
  background-repeat: no-repeat;
  height: 50px;
  overflow: hidden;
  padding: 1px;
}

#leftPane {
  /*width: 1150px;*/
  /*width: 1185px; ecueva */
  width: 100%;
}
#leftPane .accordion {
  width: 400px;
  height: 300px;
  overflow: hidden;
}
#bottomPanel {
  background-color: #535455;
  background-image: url(../images/fondoPie.jpg);
  background-position: center top;
  background-repeat: repeat-x;
  height: 80px;
  vertical-align: top;
  padding: 0px;
}
#applicationPanel {
  background: #dfe3e8;
  top: 300px;
  left: 339px;
  right: 5px;
  bottom: 42px;
}
/*
#headPanel a:hover, #applicationPanel a:hover {
    color: #228EF1;
}

#applicationPanel a {
    color: #084D86;
}*/

/*Inicio de Login*/
#dlglogin_principal {
  background-color: #ffffff;
  position: absolute;
  width: 820px;
  top: 50%;
  left: 50%;
  margin: -200px 0px 0px -400px;
}
#dlglogin {
  background-color: #ffffff;
  position: relative;
}
#dlglogin .input {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: normal;
  padding: 4px;
  width: 230px;
}

#dlglogin .input16 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  padding: 3px;
  color: #004370;
  background-color: #ffffff;
  border-color: #cccccc;
  width: 205px;
  padding: 4px;
  height: 33px;
}

#dlglogin .ui-button {
  font-size: 12px;
}

#dlglogin input.ui-button {
  padding: 0.8em 1em;
}

#dlgchange {
}
#dlgchange .input {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: normal;
  padding: 4px;
  width: 200px;
}

#titulo_servicios {
  color: #004370;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: bold;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
}

#subti_noti {
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  text-decoration: none;
}

.subti_noti {
  color: #333333;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  text-decoration: none;
}

table.padded-table10 td {
  padding: 5px 5px 5px 5px;
}

/*Fin de Login*/

.actions {
  text-align: center;
  margin-top: 10px;
  border-top: 1px solid #446995;
  padding: 6px;
}

.panel .mainDiv {
  background-color: #02277d;
  height: 22px;
  border-top: 1px solid #fff;
  color: #fff;
  padding: 2px;
  min-width: 1120px;
}
.mainDiv table {
  width: 100%;
}
.tdRigth1 {
  text-align: right;
  padding-right: 10px;
}
.logout {
  position: absolute;
  right: 15px;
  top: 5px;
  width: 130px;
}
.txtbox {
  border: 1px solid #9db9dc;
  text-transform: uppercase;
  background: #fff;
  padding: 1px;
}

.box {
  border: 1px solid #dddddd;
  background-color: #f9f9f9;
  position: absolute; /* cuando es absolute no sirve margin: 0px auto*/
  font-weight: bold;
  padding: 5px;
  left: 50%;
  top: 50%;
  font-size: 10px;
  height: 80px;
  width: 280px;
  margin-left: -140px;
  margin-top: -60px;
  z-index: 9999;
}
.box .line1 {
  font-size: 16px;
  text-align: center;
  float: left;
  width: 200px;
  border-bottom: 2px solid silver;
  padding: 2px;
}
.box .line2 {
  float: left;
  width: 200px;
  font-size: 12px;
  text-align: left;
  padding-top: 10px;
}
.box .image {
  padding: 8px 8px;
  width: 50px;
  height: 50px;
  float: left;
}

.oculto {
  background-color: #ccc;
  display: none;
  position: absolute;
  top: 0pt;
  left: 0pt;
  width: 100%;
  height: 100%;
  filter: alpha(opacity=20);
  float: left;
  -moz-opacity: 0.5;
  opacity: 0.5;
}
.footerdiv {
  position: fixed;
  bottom: 0px;
  z-index: 1000;
  width: 100%;
  font-size: 0.9em;
  height: 16px;
  padding: 3px;
  background: #004080;
  color: #fff;
}
.footerdiv span {
  font-weight: bold;
}

.mensaje {
  color: Navy;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.error {
  color: red;
  font-weight: bold;
  font-family: Arial, sans-serif;
}
.noimage {
  background: url(../images/noimage.jpg) no-repeat center center;
  text-align: center;
}

.ajaxStatus {
  width: 48px;
  height: 48px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -40px 0px 0px -140px;
}

.small {
  font-size: 0.9em;
  color: #004370;
}

/*input:focus, textarea:focus, .inputGrid:focus, select:focus {
    //font-weight: bold;
    border:1px solid #fbcb09;
    background-color: #fdf5ce;
}*/

input:focus,
textarea:focus,
.inputGrid:focus,
select:focus {
  border-color: #66afe9;
  background-color: #f0f7fd;
  outline: 0;
  /*
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    */
}

.right {
  text-align: right;
}
.tdright {
  background-color: #f0f0fe;
  text-align: right;
}

.bold {
  font-weight: bold;
}

.clear {
  height: 5px;
  clear: both;
}

.fullwidth {
  width: 900px;
}
.closeBtn {
  text-align: center;
  margin-top: 5px;
}
.closeBtn a {
  width: 130px;
  line-height: 1.5em;
}
.closeBtn a div {
  margin: 6px;
  padding-left: 20px;
  height: 16px;
}
.closeBtn a div strong {
  line-height: 1.3em;
}

.ui-widget-content .seleccionado {
  background: #ffd358 repeat-x bottom;
}

/* a .label element inside tooltip */
.tooltip .label {
  color: yellow;
  width: 35px;
}

.tooltip a {
  color: #ad4;
  font-size: 11px;
  font-weight: bold;
}
.icon_owner_image {
  background-image: url("../images/iconbar.png");
}

.icon_anclar_right {
  background-repeat: no-repeat;
  background-position: right 0px;
}
.icon_top_right {
  background-repeat: no-repeat;
  background-position: right -16px;
}
.icon_bootom_right {
  background-repeat: no-repeat;
  background-position: right -32px;
}
.icon_half_right {
  background-repeat: no-repeat;
  background-position: right -48px;
}
.icon_full_right {
  background-repeat: no-repeat;
  background-position: right -64px;
}
.icon_plus_zoom {
  background-repeat: no-repeat;
  background-position: right -80px;
}
.icon_minus_zoom {
  background-repeat: no-repeat;
  background-position: left -96px;
}
.icon_clip {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: center -528px;
}
.icon_pdf {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: center -255px;
}
.icon_blanco {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: center -272px;
}
.icon_save {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -240px;
}

.icon_isok {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -288px;
}
.icon_stop {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -320px;
}

.icon_off {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -352px;
}
.icon_exit {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -368px;
}
.icon_zoom_plus {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: right -80px;
}
.icon_zoom_minus {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: right -96px;
}
.icon_search {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -112px;
}
.icon_reload {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -128px;
}
.icon_add {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -144px;
}
.icon_edit {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -432px;
}
.icon_delete {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -192px;
}
.icon_open {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -400px;
}

.icon_sec_close {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -416px;
}

.icon_obs {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -448px;
}
.icon_down {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -464px;
}
.icon_finish {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -480px;
}
.icon_info {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -496px;
}
.icon_close {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -512px;
}
.titulo_btn_close {
  background-image: url(../images/iconbar.png) !important;
  background-repeat: no-repeat;
  background-position: left -512px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  float: right;
  margin-top: -1px;
  margin-right: -5px;
}

.btn_close_modal {
  width: 16px;
  height: 16px;
  cursor: pointer;
  float: right;
  margin-top: -20px;
  margin-right: -5px;
  font-size: 16px;
  color: #004370;
}
.btn_close_modal:hover,
.btn_close_modal:focus {
  color: #d43f3a;
}

.dg1ca {
  width: 25px;
}
.dg1cb {
  width: 49px;
}
.dg1cc {
  width: 97px;
}
.dg1cd {
  width: 97px;
}
.dg1ce {
  width: 80px;
}
.dg1cf {
  width: 105px;
}
.dg1cg {
  width: 70px;
}
.dg1ch {
  width: 35px;
}
.dg1ci {
  width: 35px;
}
.dg1cj {
  width: 90px;
}
.dg1cj .txt {
  font-size: 0.95em;
}
.dg1ck {
  width: 95px;
}
.dg1cl {
  width: 80px;
}
.dg1cm {
  width: 80px;
}
.dg1cn {
  width: 50px;
}
.dg1co {
  width: 100px;
}
.dg1cp {
  width: 180px;
}
.dg1cq {
  width: 160px;
}
.dg1cr {
  width: 360px;
}
.dg1cs {
  width: 150px;
}
.dg2c1 {
  width: 49px;
}
.dg2c2 {
  width: 360px;
}
.dg2c3 {
  width: 105px;
  text-align: center;
}
.dg2c4 {
  width: 115px;
  text-align: center;
}
.dg3c1 {
  width: 230px;
}
.dg3c2 {
  width: 190px;
}
.dg3c3 {
  width: 200px;
}
.dg4c1 {
  width: 60px;
}
.dg4c2 {
  width: 300px;
}
.dg4c3 {
  width: 120px;
}
.dg4c4 {
  width: 260px;
}

.fchcaduca {
  background-color: #ffd4cd;
  border-color: #ff6347;
  color: red;
  font-weight: bold;
}
.ui-widget .divobs textarea {
  font-size: 0.8em;
  width: 235px;
}

/*#menu {position:absolute; left:1px; display:none;background:#D8E0FD; border:1px solid #3B4A7B; padding: 30px 0}*/

/*dock styling...*/
/*...set the cursor...*/
/*#menu div.jqDock {cursor:pointer;}*/
/*label styling...*/
div.jqDockLabel {
  font-weight: bold;
  white-space: normal;
  color: #000;
  cursor: pointer;
  text-align: right;
}
div.jqDockLabelText {
  position: absolute;
  left: -20px;
  top: -20px;
  z-index: 9999;
}

#divDetalleConfig {
  width: 1100px;
  margin: 0px auto;
}
#divConfiguracionTramite {
  width: 750px;
  margin: 0px auto;
}
#divFotos {
  background-color: white;
}
#searchDiv {
  width: 900px;
  float: left;
}
#searchDiv2 {
  width: 860px;
  margin: 0 auto;
}
.searchDiv {
  margin: 2px auto;
  width: 1200px;
}
#divMasDatos {
  padding: 10px 0;
}
#dvResAni,
#dvDatAni,
#dvPadAni {
  margin-left: 55px;
  min-width: 1120px;
}
#dvMainMov {
  margin-left: 55px;
  background-color: #d8e0fd;
  border: 1px solid #ffffff;
  padding: 0.5em 1em;
  width: 1020px;
  min-width: 1010px;
}
#dvResRec {
  margin-left: 5px;
  min-width: 1120px;
}
#pnlResAni {
  padding: 0px;
  border-width: 0px;
}
.pnlRecibo {
  width: 964px;
  margin: 0px auto;
}
#feRemitoNotif input {
  width: 75px;
}
.labelresult {
  color: #3b4a7b;
  font-weight: bolder;
}
.labelR1 {
  color: #3b4a7b;
  font-weight: bolder;
  width: 170px;
  float: left;
  padding: 1px;
  margin: 7px;
  background: #fffff2;
  border: 1px solid #fbcb09;
}
.labelR1 .divClr1 {
  background-color: red;
  height: 8px;
  width: 11px;
  float: left;
  margin: 3px 5px;
}
.labelR1 .divlab1 {
  float: left;
  width: 75px;
}
.labelR1 .divClr2 {
  background-color: blue;
  height: 8px;
  width: 11px;
  float: left;
  margin: 3px 5px;
}

.mainField {
  background: #ffeed2;
  border: 1px solid #ea5932;
  padding: 1px 5px;
}
.mainField .label {
  margin-left: 25px;
}
.mainField .txt {
  border-color: #ea5932;
  background: #ffeed2;
  font-weight: bold;
}
.highlight input {
  border-color: #ea5932;
  background: #ffeed2;
  font-weight: bold;
}
.mainField .nuDni {
  width: 70px;
}
.mainField .nombres {
  width: 320px;
}
.mainField .edad {
  width: 20px;
}
.mainField .genero {
  width: 80px;
}

.dirField {
  margin-top: 2px;
  padding: 1px 5px;
}

legend {
  padding: 0 5px;
  color: #004370;
  font-size: 12px;
  font-weight: bold;
}

.mainLeyend {
  background: #ffeed2;
  color: #004370;
  border: 1px solid #ea5932;
}
.table1 {
  border-collapse: collapse;
}
.table2 {
  border-collapse: collapse;
  margin-bottom: 10px;
}
.bloque1 {
  margin: 0pt 0pt 5px;
}
.bloque1 .divImg {
  margin-left: 1px;
  height: 16px;
  width: 36px;
  float: left;
}
.margin10 {
  margin: 0 10px;
}
.foto {
  position: relative;
  cursor: pointer;
}
.divFoto {
  position: absolute;
  text-align: center;
  min-height: 110px;
}
.tdfotos {
  border: 1px solid #fff;
  padding: 2px;
}

.ui-widget-content .tlbP {
  color: blue;
}
.ui-widget-content .tlbE {
  color: red;
}
.ui-widget-content .tlbM {
  color: #a52a2a;
}

.ui-panel {
  padding: 0.2em;
  background-color: #ffffff;
  border: 1px solid #446995; /*ecueva #DDDDDD - cambiado por #446995*/
}

.ui-panel .ui-panel-titlebar {
  padding: 0.3em 1em;
  font-size: 12px;
}
.ui-panel .ui-panel-body {
  padding: 0.5em;
}

.tablita,
.tlbautoc {
  background: #fffaff;
  border: 1px solid #fff;
  border-collapse: collapse;
  color: #616161;
  font-family: Arial, sans-serif;
  font-size: 11px;
  margin-bottom: 3px;
}

.tablita td,
.tablita th {
  border: 1px solid #fff;
  padding: 2px;
}

.tlbautoc td {
  border: 0px;
  padding: 2px;
}

.tlbautoc thead th,
tfoot th td,
.tablita thead th,
tfoot th td {
  background: #ececec none repeat scroll 0 0;
  border: 1px solid #ddd;
  color: #888;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 2px;
  text-align: center;
}

.tlbautoc.odd,
.tablita.odd {
  background: #f9f9f9 none repeat scroll 0 0;
}

.tlbautoc tbody tr.over,
.tablita tbody tr.over {
  background: #fff7e0 repeat-x bottom;
  color: #000000;
}

.tlbautoc tbody tr:hover th,
tbody tr.odd:hover th,
.tablita tbody tr:hover th,
tbody tr.odd:hover th {
  background: #ececec repeat-x bottom;
}

.tlbautoc tr.seleccionado:hover td,
.tlbautoc tr.seleccionado td,
.tablita tr.seleccionado:hover td,
.tablita tr.seleccionado td {
  background: #ffd358 repeat-x bottom;
}
.tablita .tit1 {
  color: white;
  background-color: #3b4a7b;
}

.bx_sb {
  /* background-color:#F6F6F6;*/
  padding: 1px;
}
.hidden {
  display: none;
}
.tablita tr:hover {
  border: 1px solid #fbcb09;
  background: #fdf5ce;
  font-weight: bold;
  color: #c77405;
}

.bloquea {
  background-color: #6e6e6e;
  position: fixed;
  top: 0pt;
  left: 0pt;
  width: 100%;
  height: 100%;
  filter: alpha(opacity=30);
  float: left;
  -moz-opacity: 0.3;
  opacity: 0.3;
}

.cuadrow {
  position: absolute;
  /*padding:0px;*/
}
.cuadrow > .panel > .panel-body {
  max-height: calc(100vh - 150px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cuadrow .titulo {
  background-color: #c3d9ff;
  border-bottom: 1px solid #fff;
  margin: 1px;
  text-align: center;
  color: #000;
  cursor: move;
  line-height: 1.5em;
}
.sgd-modal-handle,
.sgd-big-text-header {
  cursor: move;
  user-select: none;
}
body.sgd-modal-dragging,
body.sgd-modal-dragging * {
  cursor: move !important;
}
.sgd-big-text-header {
  padding: 7px 10px;
  border-bottom: 1px solid #d8dde2;
  color: #404040;
  font-weight: bold;
  text-align: left;
}

/***ADD TAB****/
div.tabArea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  padding: 3px 0;
  border-bottom: 1px solid #6d9ed8;
}

a.tab {
  background-color: #89bcfb; /*#B5DFED;  #f0f0f0; color de fondo*/
  border: 1px solid #6d9ed8;
  border-bottom-width: 0px;
  padding: 2px 1em 2px 1em;
  text-decoration: none;
}

a.tab,
a.tab:visited {
  color: #083366; /*#808080;*/
}

a.tab:hover {
  background-color: #ffffff; /*#083366; #d0d0d0;*/
  color: #6d9ed8; /*#B5DFED; #606060;*/
  text-decoration: none;
}
a.tab.activeTab,
a.tab.activeTab:hover,
a.tab.activeTab:visited {
  background-color: #ffffff; /*#c0c0c0; #70C1DC;*/
  color: #000000;
}

/***END TAB****/
.capturaSumary {
  background-color: #ffeed2;
}

.center {
  text-align: center;
}

#errorDetail {
  margin: 0px auto;
  width: 850px;
  padding: 5px;
}
#errorDetail h1 {
  color: red;
  text-align: left;
  margin-left: 25px;
}
#errorDetail h2 {
  text-align: left;
  margin-left: 25px;
}
#errorDetail h3 {
  text-align: left;
  margin-left: 25px;
}

.ui-button,
.ui-button:link,
.ui-button:visited,
.ui-button:hover,
.ui-button:active {
  background: #446995;
  color: #ffffff;
}

/* Estilo que muestra la capa flotante */
#divflotante_des {
  position: absolute;
  display: none;
  font-family: Arial;
  font-size: 0.8em;
  /*width:300px;*/
  border: 1px solid #2779aa;
  background-color: #2779aa;
  padding: 5px;
  color: #ffffff;
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
}

.divTip {
  position: absolute;
  display: none;
  font-family: Arial;
  font-size: 1em;
  background: #eee;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;

  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  width: 300px;
}

/* arrows - :before and :after */

.divTip:after,
.divTip:before {
  bottom: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  display: inline-block;
  pointer-events: none;
}
.divTip:before {
  border-top: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #eee;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  left: 20px;
}

.divTip:after {
  border-top: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #eee;
  left: 20px;
}

/******************************/
.row_selected {
  background: #fdf5ce;
  color: #c77405;
  outline: 1px solid #fbcb09;
  border: 1px solid #fbcb09;
}

#myTableFixed thead th {
  /*padding: 3px 18px 3px 10px;*/
  cursor: pointer;
  /* cursor: hand;*/
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables sorting
 */

.sorting_asc {
  background: url("../images/dataTable/sort_asc.png") no-repeat center right;
}

.sorting_desc {
  background: url("../images/dataTable/sort_desc.png") no-repeat center right;
}

.sorting {
  background: url("../images/dataTable/sort_both.png") no-repeat center right;
}

.sorting_asc_disabled {
  background: url("../images/dataTable/sort_asc_disabled.png") no-repeat center
    right;
}

.sorting_desc_disabled {
  background: url("../images/dataTable/sort_desc_disabled.png") no-repeat center
    right;
}
table.display thead th {
  /*border-bottom:1px solid black;*/
  cursor: pointer;
  font-weight: bold;
  padding: 3px 18px 3px 10px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables row classes
 */
#myTableFixed.display tr.odd.gradeA {
  background-color: #f6f6f6;
}

#myTableFixed.display tr.even.gradeA {
  background-color: #ffffff;
}

#myTableFixed.tbody.tr.odd {
  background-color: #f6f6f6;
}

#myTableFixed.tbody.even {
  background-color: #ffffff;
}

#myTableFixed.display tr.even.row_selected td {
  /*color: #004370; outline: 2px solid #fbcb09;border: 1px solid #fbcb09;*/
  background: #fdf5ce;
  color: #c77405;
  outline: 1px #fbcb09;
}
#myTableFixed.display tr.even.row_selected {
  border: 1px solid #fbcb09;
}

#myTableFixed.display tr.odd.row_selected td {
  background: #fdf5ce;
  color: #c77405;
  outline: 1px #fbcb09;
}
#myTableFixed.display tr.odd.row_selected {
  border: 1px solid #fbcb09;
}

/*.icon_edit2{
    background-image: url(../images/edit.png)  !important;
    background-repeat: no-repeat;
}

.icon_delete2{
    background-image: url(../images/delete.png)  !important;
    background-repeat: no-repeat;
}*/

.icon_nuevo {
  background-image: url(../images/plus-sign.png) !important;
  background-repeat: no-repeat;
}

.button_Estilo1 {
  font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
  display: block;
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-align: center;
  padding: 10px;
  margin: 15px 0px 0px 15px;
  font-size: 16px;
  background: #446995;
  color: #fff;
  border: 1px none;
  outline: 0px none;
}

.button_Estilo1:hover {
  background: #74a599;
}
.button_Estilo1:active {
  background: #f6a953;
}

.resizable {
  width: 651px;
  height: 180px;
  padding: 0.5em;
}

.tree ul.dynatree-container {
  /*height: calc(100% - 20px);*/
  overflow: auto;
  position: absolute;
  /*width: calc(100% - 20px);*/
}

/*estilo emision doc tabla de destinatario*/
.ui-datatable-edit-data tr:hover {
  background: #fdf5ce;
  color: #c77405;
  cursor: pointer;
  outline: 1px solid #fbcb09;
}
.ui-datatable-edit-data tr:hover td {
  border: 1px solid #fbcb09;
}

/*ecueva*/
.ui-datatable-edit-data row_selected {
  background: #fdf5ce;
  color: #c77405;
  outline: 1px #fbcb09;
}

/*.row_selected {background: #fdf5ce; color: #c77405;outline: 1px #fbcb09;}*/

.ui-datatable .ui-datatable-edit-data td,
.ui-datatable .ui-datatable-edit-data-empty td {
  border: 1px solid #9db9dc;
  /*padding:4px 8px;*/
}

.ui-datatable .ui-datatable-edit-data td input,
.inputGrid,
.ui-datatable .ui-datatable-edit-data td select {
  font-family: Arial, Helvetica, sans-serif;
  /*font-size: 14px; COMENTADO*/
  font-weight: normal;
  color: #333333;
  background-color: #ffffff;
  padding: 2px;
  padding-bottom: 2.5px;
  border: 1px solid #cccccc;
  /*text-transform: uppercase;*/
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  position: relative;
  margin-right: 0px;
}
.ui-datatable .ui-datatable-edit-data td input:focus,
.ui-datatable .ui-datatable-edit-data td select:focus {
  /*font-weight: bold;*/
  border: 1px solid #fbcb09;
  background-color: #fdf5ce;
  /*font-size: 11px;*/
}

.ui-datatable .ui-datatable-edit-data button {
  padding: 2px 5px;
  /*font-size: 12px;
    line-height: 1.5;*/
  border-radius: 0px;
  vertical-align: top;
  border-left: 0px;
  margin-left: 0px;
}

.bandeja {
  margin-top: 15px;
  margin-left: 15px;
  max-width: 483px;
}
.bandeja a {
  color: #428bca;
  text-decoration: none;
}
.bandeja h4 {
  font-size: 18px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
.imagenInicio {
  margin-left: 40px;
}

.toolbar-left-vertical {
  margin-top: 25px;
  background-color: #f6f6f6;
  line-height: 20%;
}

.toolbar-left-vertical .vertical-action:focus {
  outline: none;
  box-shadow: none;
}

.toolbar-left-vertical .vertical-action.btn-success:focus-visible {
  outline: 2px solid #398439;
  outline-offset: 2px;
}

.toolbar-left-vertical .vertical-action.btn-danger:focus-visible {
  outline: 2px solid #ac2925;
  outline-offset: 2px;
}

.notification {
  float: right;
  position: absolute;
  display: inline-block;
  font-size: 1.3em;
  padding: 0.5em;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.5);
  z-index: 1100;
}

.notification_shadow {
  float: right;
  position: absolute;
  display: inline-block;
  font-size: 1.3em;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.5);
  z-index: 1100;
}

.delUpperCase {
  text-transform: none;
}
.selectFecha {
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  border-radius: 7px;
  padding: 5px;
  border-collapse: separate;
}
.seleccionaFecha {
  background: white;
  border: #cccccc 1px solid;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  border-radius: 7px;
  padding: 5px;
  display: inline-block;
  position: relative;
}
.seleccionaFecha ul li {
  background: none repeat scroll 0 0 #f5f5f5;
  border: 1px solid #f5f5f5;
  border-radius: 5px;
  color: #0088cc;
  cursor: pointer;
  font-size: 13px;
  margin-bottom: 8px;
  padding: 3px 12px;
  list-style: none outside none;
}
.seleccionaFecha .selectContent .input-mini {
  background-color: #eeeeee;
  border: 1px solid #cccccc;
  border-radius: 4px;
  color: #555555;
  display: block;
  font-size: 12px;
  height: 30px;
  line-height: 30px;
  margin: 0 0 9px;
  /*padding: 0 6px;*/
  vertical-align: middle;
  width: 65px;
}
.seleccionaFecha .datePicker-range-fields {
  width: 180px;
}
.seleccionaFecha .datePicker-range-field {
  float: none;
  margin: 0 0 8px;
  width: 100%;
}
.seleccionaFecha .datePicker-range-field label {
  display: block;
}
.seleccionaFecha .datePicker-range-field .input-mini {
  box-sizing: border-box;
  width: 100%;
}
.seleccionaFecha .selectContent li.active,
.seleccionaFecha .selectContent ul li:hover {
  background: none repeat scroll 0 0 #0088cc;
  border: 1px solid #0088cc;
  color: #ffffff;
}

.datePickerClass {
  display: none;
}
.seleccionaFecha.openCachito:before {
  position: absolute;
  top: -7px;
  left: 9px;
  display: inline-block;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-left: 7px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  content: "";
}

.seleccionaFecha.openCachito:after {
  position: absolute;
  top: -6px;
  left: 10px;
  display: inline-block;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  border-left: 6px solid transparent;
  content: "";
}

.rangoFechas,
.anioMes {
  display: none;
}
.seleccionaFecha .rangoFechas,
.seleccionaFecha .selectContent,
.seleccionaFecha .anioMes,
.rangoFechas .fechaIni,
.rangoFechas .fechaFin {
  float: left;
  margin: 4px;
}

.cajaFechas {
  /* background: white;
    border: 1px solid #CCCCCC;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 5px;
    display: inline-block;
    width: 240px;*/
  font-family: Arial, Helvetica, sans-serif;
  /*font-size: 14px; COMENTADO*/
  font-weight: normal;
  color: #333333;
  background-color: #ffffff;
  padding: 3px 7px;
  border: 1px solid #aaa;
  text-transform: uppercase;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit--box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
}
.cajaFechas .cajaEtiqueta {
  text-align: center;
  min-width: 250px;
}
.cajaTriangulo,
.cajaEtiqueta,
.cajaIcono {
  font-size: 14px;
  float: left;
}
.comboFechas {
  color: #0088cc;
  margin: 12px;
  font-size: 13px;
}
.comboFechas select {
  /*    background-color: #FFFFFF;*/
  border: 1px solid #cccccc;
  font-size: 14px;
}

.bigText {
  background: whitesmoke;
  border-collapse: inherit;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  border-radius: 7px;
  padding: 5px;
}
.bigTextClass {
  display: none;
}
.sgd-big-text-block {
  width: 530px !important;
  max-width: calc(100vw - 24px) !important;
  box-sizing: border-box;
}
.sgd-big-text-modal {
  width: 100%;
  max-width: 530px;
  box-sizing: border-box;
}
.sgd-big-text-modal .bigText {
  width: 100%;
  box-sizing: border-box;
}
.sgd-big-text-modal textarea {
  display: block;
  width: 100% !important;
  max-width: 520px;
  box-sizing: border-box;
  resize: vertical;
}
.bigText-character-count {
  position: absolute;
  left: -184px;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .bigText-character-count {
    right: 0;
    left: auto;
    bottom: 100%;
  }
}
.animated {
  -webkit-transition: height 0.2s;
  -moz-transition: height 0.2s;
  transition: height 0.2s;
}

.navbar-login {
  margin: 5px 5px;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  font-size: 13px;
  text-align: center;
}
.navbar-login > li {
  display: inline-block;
}
.navbar-login > li > a {
  padding-left: 20px;
  /*padding-bottom: 10px;*/
  line-height: 15px;
  color: #004370;
}
.navbar-login > li > a:hover,
.navbar-login > li > a:focus {
  text-decoration: underline;
  color: #5cb85c;
}
.navbar-login > li > a:link {
  text-decoration: none;
}

.confirmClass {
  background: whitesmoke;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  font-size: 1.3em;
  padding: 15px 15px 4px 15px;
  position: relative;
  height: 130px;
  min-height: 130px;
  min-width: 260px;
}
#deployJavaPlugin {
  display: none;
  visibility: hidden;
}
.redondito {
  border: 3px solid #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  height: 30px;
  margin: 3px;
  width: 30px;
}
.estadoVenAtendido {
  color: #00529b;
  background-color: #bde5f8;
}
.estadoVenNormal {
}
.estadoVenPorVencer {
  color: #4f8a10;
  background-color: #dff2bf;
}
.estadoVenProximoVencer {
  color: #9f6000;
  background-color: #feefb3;
}
.estadoVenVenceHoy {
  color: #d63301;
  background-color: #ffccba;
}
.estadoVenVencido {
  color: #d8000c;
  background-color: #ffbaba;
}
.cuadradoVencimiento {
  border: 6px solid #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  display: table-cell;
  font-size: 1.5em;
  height: 20px;
  padding: 3px 3px 3px 7px;
  vertical-align: middle;
  width: 133px;
}
.tooltip-link,
.tooltip-link:hover {
  color: #404040;
}
.aniEnviar {
  -webkit-animation: efectoOcultar 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  -moz-animation: efectoOcultar 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation: efectoOcultar 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
/*-------------- modulo de Adm Empleado ----------*/
.input-full-row {
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
/*----------------------------------------------------*/
@-webkit-keyframes efectoOcultar {
  0% {
  }
  20% {
    -webkit-transform: scale(0.75);
  }
  100% {
    -webkit-transform: scale(0.75) translate(0px, -3000px);
    display: none;
  }
}
@-moz-keyframes efectoOcultar {
  0% {
  }
  20% {
    -moz-transform: scale(0.75);
  }
  100% {
    -moz-transform: scale(0.75) translate(0px, -3000px);
    display: none;
  }
}
@keyframes efectoOcultar {
  0% {
  }
  20% {
    transform: scale(0.75);
  }
  100% {
    transform: scale(0.75) translate(0px, -3000px);
    display: none;
  }
}

/*FERNANDO TICONA*/
.tooltipObligatorio {
  color: red !important;
  font-weight: bold !important;
  text-decoration: none !important;
  margin: auto 2px !important;
}
.btnPequenoSGD {
  padding: 3px 7px !important;
  font-size: 12px !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}

.anchoTotal {
  width: 100% !important;
  box-sizing: border-box !important;
  -moz-box-sizing: border-box;
  -webkit--box-sizing: border-box;
}

.bootbox-body {
  font-size: 14px !important;
}
.divTipTable {
  position: absolute;
  display: none;
  z-index: 1001;
  font-family: Arial;
  font-size: 1em;
  background: #eee;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;

  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  width: auto !important;
  max-width: 300px !important;
}

/* arrows - :before and :after */

.divTipTable:after,
.divTipTable:before {
  bottom: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  display: inline-block;
  pointer-events: none;
}
.divTipTable:before {
  border-top: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #eee;
  border-bottom-color: rgba(0, 0, 0, 0.2);

  left: 20px;
}

.divTipTable:after {
  border-top: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #eee;
  left: 20px;
}
/*FERNANDO TICONA*/

/*YUAL*/
.RowCenter {
  text-align: center;
}

.RowLeft {
  text-align: left;
}

.checkSgd {
  -ms-transform: scale(1.3); /* IE */
  -moz-transform: scale(1.3); /* FF */
  -webkit-transform: scale(1.3); /* Safari and Chrome */
  -o-transform: scale(1.3); /* Opera */
}

.RowJustify {
  text-align: justify;
}

.RowNoLeido {
  /*color:#0067B0 !important;*/
}

/* Paleta institucional SGD. Use these tokens instead of literal colors in new components. */
:root {
  --sgd-primary-900: #0b253a;
  --sgd-primary-800: #123a5a;
  --sgd-primary-700: #1e5a8a;
  --sgd-primary-600: #2f80c0;
  --sgd-primary: var(--sgd-primary-800);
  --sgd-primary-dark: var(--sgd-primary-900);
  --sgd-primary-action: var(--sgd-primary-700);
  --sgd-primary-hover: var(--sgd-primary-600);
  --sgd-bg: #f4f7fa;
  --sgd-surface: #ffffff;
  --sgd-surface-blue: #eaf3fa;
  --sgd-border: #d6e1ea;
  --sgd-text: #1f2933;
  --sgd-text-muted: #5b6773;
  --sgd-row-hover: #dceeff;
  --sgd-link: var(--sgd-primary-700);
  --sgd-info: #0369a1;
  --sgd-accent: #d97706;
  --sgd-error: #b42318;
  --sgd-success: #15803d;
  --sgd-signature: #6d28d9;
  --sgd-signature-hover: #5b21b6;
  --sgd-signature-surface: #ede9fe;
  --sgd-warning: #8a5a00;
  --sgd-info-surface: #eaf3fa;
  --sgd-success-surface: #dcfce7;
  --sgd-warning-surface: #fef3c7;
  --sgd-error-surface: #fee2e2;
  --sgd-accent-surface: #fff7ed;
  --sgd-success-border: #86efac;
  --sgd-warning-border: #fcd34d;
  --sgd-error-border: #fca5a5;
}

body,
#applicationPanel {
  color: var(--sgd-text) !important;
  background-color: var(--sgd-bg) !important;
}

#bcMain,
#headPanel_top,
#dlglogin_principal,
#dlglogin,
.ui-panel,
.panel,
.tlb,
.selectFecha,
.seleccionaFecha {
  background-color: var(--sgd-surface) !important;
}

#titulo_interno,
#txt_nav,
.txt_nav2,
.txt_nav2 > a,
#titulo_servicios,
.txt_footer,
.td_sombra,
.th_left,
.small,
legend,
.mainLeyend,
.btn_close_modal,
.navbar-login > li > a,
.mensaje {
  color: var(--sgd-primary) !important;
}

a:hover,
.ui-datatable a,
.bandeja a,
.comboFechas,
.seleccionaFecha ul li,
.txt_footer a {
  color: var(--sgd-link) !important;
}

.txt_footer a:hover,
.txt_nav2 > a:hover,
.txt_nav2 > a:focus,
.navbar-login > li > a:hover,
.navbar-login > li > a:focus {
  color: var(--sgd-success) !important;
}

#main_links:hover,
#menuSio a.menu_lista:hover,
.mainField .txt,
.highlight input {
  color: var(--sgd-accent) !important;
}

#bottomPanel,
.footerdiv {
  background-color: var(--sgd-primary-dark) !important;
  color: #ffffff !important;
}

.mainDiv,
.ui-button,
.ui-button:link,
.ui-button:visited,
.ui-button:hover,
.ui-button:active,
.button_Estilo1,
.tablita .tit1,
#divflotante_des,
.seleccionaFecha .selectContent li.active,
.seleccionaFecha .selectContent ul li:hover {
  background: var(--sgd-primary-action) !important;
  background-color: var(--sgd-primary-action) !important;
  color: #ffffff !important;
}

.button_Estilo1:hover {
  background: var(--sgd-primary-hover) !important;
  background-color: var(--sgd-primary-hover) !important;
}

.button_Estilo1:active {
  background: var(--sgd-accent) !important;
  background-color: var(--sgd-accent) !important;
}

input,
select,
textarea,
.inputGrid,
.txtbox,
.cajaFechas,
.ui-datatable .ui-datatable-edit-data td input,
.ui-datatable .ui-datatable-edit-data td select {
  color: var(--sgd-text) !important;
  background-color: var(--sgd-surface) !important;
  border-color: #aab7c4 !important;
}

input[readonly],
input:focus,
textarea:focus,
.inputGrid:focus,
select:focus,
.ui-datatable .ui-datatable-edit-data td input:focus,
.ui-datatable .ui-datatable-edit-data td select:focus {
  background-color: var(--sgd-surface-blue) !important;
  border-color: var(--sgd-primary-hover) !important;
}

input[disabled] {
  background-color: #cbd5e1 !important;
  color: var(--sgd-text-muted) !important;
}

.ui-datatable-cab,
a.tab,
.cuadrow .titulo {
  background: var(--sgd-surface-blue) !important;
  background-color: var(--sgd-surface-blue) !important;
  color: var(--sgd-primary) !important;
}

.ui-datatable .ui-datatable-data td,
.ui-datatable .ui-datatable-data-empty td,
.ui-datatable-fixed tbody td,
.ui-datatable-fixed .ui-datatable-fixed-data-empty td,
.ui-datatable .ui-datatable-edit-data td,
.ui-datatable .ui-datatable-edit-data-empty td,
.ui-panel,
.txtbox,
a.tab,
div.tabArea,
.mainLeyend {
  border-color: var(--sgd-border) !important;
}

.ui-datatable-data tr:hover,
.ui-datatable-data tr:focus-within,
.ui-datatable-fixed tbody tr:hover,
.ui-datatable-fixed tbody tr:focus-within,
.ui-datatable-edit-data tr:hover,
.ui-datatable-edit-data tr:focus-within,
.tablita tr:hover,
.tablita tr:focus-within,
.row_selected,
#myTableFixed.display tr.even.row_selected td,
#myTableFixed.display tr.odd.row_selected td {
  background: var(--sgd-row-hover) !important;
  background-color: var(--sgd-row-hover) !important;
  color: var(--sgd-primary-action) !important;
  outline-color: var(--sgd-primary-hover) !important;
}

.ui-datatable-data tr:hover td,
.ui-datatable-data tr:focus-within td,
.ui-datatable-fixed tbody tr:hover td,
.ui-datatable-fixed tbody tr:focus-within td,
.ui-datatable-edit-data tr:hover td,
.ui-datatable-edit-data tr:focus-within td,
#myTableFixed.display tr.even.row_selected,
#myTableFixed.display tr.odd.row_selected,
.row_selected {
  border-color: var(--sgd-primary-hover) !important;
}

/* Tables select a row on click; make hover, keyboard focus, and selection explicit. */
.ui-datatable-fixed tbody tr,
.ui-datatable-data tr,
.ui-datatable-edit-data tr {
  cursor: pointer;
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.ui-datatable-fixed tbody tr:hover td:first-child,
.ui-datatable-fixed tbody tr:focus-within td:first-child,
.ui-datatable-data tr:hover td:first-child,
.ui-datatable-data tr:focus-within td:first-child,
.ui-datatable-edit-data tr:hover td:first-child,
.ui-datatable-edit-data tr:focus-within td:first-child {
  box-shadow: none;
}

.ui-datatable-fixed tbody tr.row_selected td,
.ui-datatable-data tr.row_selected td,
.ui-datatable-edit-data tr.row_selected td {
  background-color: #cbe7ff !important;
  box-shadow: none;
}

.mainField,
.mainField .txt,
.highlight input,
.mainLeyend,
.capturaSumary {
  background: var(--sgd-accent-surface) !important;
  background-color: var(--sgd-accent-surface) !important;
  border-color: var(--sgd-accent) !important;
}

.ui-messages-info,
.ui-message-info,
.estadoVenAtendido {
  background-color: var(--sgd-surface-blue) !important;
  color: var(--sgd-primary) !important;
}

.ui-messages-warn,
.ui-message-warn,
.estadoVenProximoVencer {
  background-color: var(--sgd-warning-surface) !important;
  color: var(--sgd-warning) !important;
}

.ui-messages-error,
.ui-message-error,
.estadoVenVencido {
  background-color: var(--sgd-error-surface) !important;
  color: var(--sgd-error) !important;
}

.ui-messages-fatal,
.ui-message-fatal {
  background-color: var(--sgd-error) !important;
  color: #ffffff !important;
}

.estadoVenPorVencer {
  background-color: var(--sgd-success-surface) !important;
  color: var(--sgd-success) !important;
}

.estadoVenVenceHoy {
  background-color: #ffedd5 !important;
  color: var(--sgd-warning) !important;
}

/* Login: 60/40 split with one institutional image and a centered access card. */
body.sgd-login-body {
  overflow-x: hidden;
  background: #ffffff !important;
}

.sgd-login-page {
  --login-block-height: clamp(560px, calc(100vh - 32px), 680px);
  --login-block-height: clamp(560px, calc(100dvh - 32px), 680px);
  --login-form-width: clamp(360px, 32vw, 460px);
  --login-card-padding: clamp(16px, 2vw, 20px);
  --login-column-gap: clamp(16px, 2vw, 24px);
  --login-form-gap: clamp(8px, 1.2vh, 12px);
  --login-logo-width: clamp(160px, 16vw, 220px);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  box-sizing: border-box;
}

.sgd-login-shell {
  position: static !important;
  width: 100% !important;
  max-width: none;
  height: var(--login-block-height);
  min-height: 0;
  margin: 0 !important;
  top: auto !important;
  left: auto !important;
  background: transparent !important;
}

.sgd-login-card {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
  gap: var(--login-column-gap);
  height: 100%;
  min-height: 0;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.sgd-login-hero {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 20px;
  background: var(--sgd-primary);
}

.sgd-login-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sgd-login-brand-header {
  text-align: center;
  margin-bottom: 22px;
}

.sgd-login-brand-header .sgd-login-logo {
  display: block;
  width: min(var(--login-logo-width), 100%);
  height: auto;
  margin: 0 auto 12px;
}

.sgd-login-brand-header h1 {
  margin: 0;
  color: var(--sgd-primary);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.sgd-login-intro {
  margin: 8px 0 0;
  color: var(--sgd-text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.sgd-login-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--sgd-primary-action);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sgd-login-form-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: auto;
  min-height: 0;
  padding: 0;
  background: #ffffff;
  overflow: visible;
  box-sizing: border-box;
}

.sgd-login-access-card {
  width: 100%;
  max-width: var(--login-form-width);
  max-height: 100%;
  padding: var(--login-card-padding);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(18, 58, 90, 0.12);
  box-sizing: border-box;
}

.sgd-login-form-panel #rightPane,
.sgd-login-form-panel #loginMaster,
.sgd-login-form-panel form {
  width: 100%;
  max-width: none;
}

.sgd-login-form-card {
  display: grid;
  gap: var(--login-form-gap);
  width: 100%;
  background: transparent !important;
}

.sgd-login-form-card .sgd-login-brand-header,
.sgd-login-form-card .sgd-login-field,
.sgd-login-form-card .sgd-login-submit,
.sgd-login-form-card .sgd-login-password-link {
  margin-top: 0;
  margin-bottom: 0;
}

.sgd-login-form-card .sgd-login-submit {
  margin-top: 6px;
  margin-bottom: 2px;
}

.sgd-login-brand-header + .sgd-login-field {
  margin-top: 2px;
}

.sgd-login-heading {
  margin-bottom: 22px;
  text-align: center;
}

.sgd-login-heading h2,
.sgd-login-heading #titulo_servicios {
  margin: 0 0 8px;
  color: var(--sgd-primary) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-align: center !important;
}

.sgd-login-heading p {
  margin: 0;
  color: var(--sgd-text-muted);
  font-size: 14px;
}

.sgd-login-field {
  position: relative;
  margin-bottom: 24px;
}

.sgd-login-field label,
.sgd-login-field #subti_noti {
  position: absolute;
  z-index: 1;
  top: -7px;
  left: 13px;
  display: block;
  margin: 0;
  padding: 0 7px;
  background: #ffffff;
  color: var(--sgd-primary) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

.sgd-login-control {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid var(--sgd-border);
  border-radius: 11px;
  box-shadow: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.sgd-login-control:focus-within {
  border-color: var(--sgd-primary-hover);
  box-shadow:
    0 0 0 4px rgba(47, 128, 192, 0.15),
    0 12px 26px rgba(18, 58, 90, 0.12);
}

.sgd-login-control > .glyphicon {
  flex: 0 0 auto;
  margin-right: 12px;
  color: var(--sgd-primary-action);
  font-size: 16px;
}

.sgd-login-password-toggle {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-left: 8px;
  padding: 0;
  color: var(--sgd-primary-action);
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.sgd-login-password-toggle:hover,
.sgd-login-password-toggle:focus-visible {
  color: var(--sgd-primary);
  background: var(--sgd-surface-blue);
}

.sgd-login-password-toggle:focus-visible {
  outline: 3px solid rgba(47, 128, 192, 0.3);
  outline-offset: 1px;
}

.sgd-login-control input,
.sgd-login-control .form-control,
.sgd-captcha-input {
  width: 100% !important;
  height: 46px !important;
  padding: 0 !important;
  color: var(--sgd-text) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 15px !important;
  outline: none !important;
}

#coUsuario,
#captcha {
  text-transform: uppercase;
}

#dePass {
  text-transform: none;
}

.sgd-login-control input[readonly],
.sgd-login-control .form-control[readonly] {
  color: var(--sgd-text-muted) !important;
}

.sgd-login-control-action {
  padding-right: 6px;
}

.sgd-login-control-action .btn {
  flex: 0 0 42px;
  width: 42px;
  height: 38px;
  margin-left: 8px;
  color: #ffffff !important;
  background: var(--sgd-primary-action) !important;
  border: 0 !important;
  border-radius: 11px !important;
}

.sgd-login-control-action .btn:disabled {
  color: var(--sgd-text-muted) !important;
  background: #e2e8f0 !important;
  cursor: not-allowed;
  opacity: 1;
}

.sgd-login-field-status {
  min-height: 16px;
  margin: 6px 4px -10px;
  color: var(--sgd-text-muted);
  font-size: 11px;
  line-height: 1.35;
}

.sgd-login-captcha {
  padding: 20px 14px 14px;
  background: var(--sgd-surface-blue);
  border: 1px solid var(--sgd-border);
  border-radius: 11px;
}

.sgd-captcha-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 10px;
}

.sgd-captcha-row img {
  width: 180px;
  max-width: calc(100% - 48px);
  height: 52px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--sgd-border);
  border-radius: 12px 0 0 12px;
}

.sgd-captcha-row .btn {
  width: 48px;
  height: 52px;
  color: #ffffff !important;
  background: var(--sgd-primary-action) !important;
  border: 0 !important;
  border-radius: 0 12px 12px 0 !important;
}

.sgd-captcha-input {
  height: 42px !important;
  padding: 0 14px !important;
  background: #ffffff !important;
  border: 1px solid var(--sgd-border) !important;
  border-radius: 12px !important;
}

.sgd-login-submit {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    var(--sgd-primary-action),
    var(--sgd-primary-hover)
  ) !important;
  border: 0 !important;
  border-radius: 11px !important;
  box-shadow: none;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.sgd-login-submit.btn,
.sgd-login-submit.btn:hover,
.sgd-login-submit.btn:focus,
.sgd-login-submit.btn:active {
  color: #ffffff !important;
}

.sgd-login-submit .glyphicon,
.sgd-login-submit:hover .glyphicon,
.sgd-login-submit:focus .glyphicon {
  color: #ffffff !important;
}

.sgd-login-submit:hover,
.sgd-login-submit:focus {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: none;
}

.sgd-login-submit:focus-visible {
  outline: 3px solid var(--sgd-primary-dark) !important;
  outline-offset: 3px;
}

.sgd-login-submit:active {
  filter: brightness(0.94);
  transform: translateY(0);
  box-shadow: none;
}

.sgd-login-submit .glyphicon {
  margin-right: 8px;
}

.sgd-login-password-link {
  display: inline-flex;
  width: 100%;
  margin-top: 14px;
  padding: 7px 10px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--sgd-primary-action);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.sgd-login-password-link:hover,
.sgd-login-password-link:focus-visible {
  color: var(--sgd-primary);
  background: var(--sgd-surface-blue);
}

.sgd-login-password-link:focus-visible {
  outline: 3px solid rgba(47, 128, 192, 0.3);
  outline-offset: 2px;
}

.sgd-login-support {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--sgd-border);
  text-align: center;
}

.sgd-login-support-title {
  color: var(--sgd-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sgd-login-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  max-width: none;
  width: 100%;
}

.sgd-login-links > li {
  display: flex !important;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
}

.sgd-login-links > li > a,
.sgd-login-links > li > .sgd-login-password-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 100%;
  min-height: 38px;
  margin: 0;
  padding: 5px 6px;
  color: var(--sgd-primary-action) !important;
  background: transparent;
  border: 1px solid var(--sgd-primary-action);
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  box-sizing: border-box;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.sgd-login-links > li > a .glyphicon,
.sgd-login-links > li > .sgd-login-password-link .glyphicon {
  position: static;
  flex: 0 0 auto;
  color: inherit !important;
  line-height: 1;
}

.sgd-login-links > li > a:hover,
.sgd-login-links > li > a:focus,
.sgd-login-links > li > .sgd-login-password-link:hover,
.sgd-login-links > li > .sgd-login-password-link:focus {
  color: var(--sgd-primary) !important;
  background: var(--sgd-surface-blue);
  text-decoration: none !important;
}

.sgd-login-links > li > a:focus-visible,
.sgd-login-links > li > .sgd-login-password-link:focus-visible {
  outline: 3px solid rgba(18, 58, 90, 0.24);
  outline-offset: 2px;
}

.sgd-login-version {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--sgd-border);
  color: #718096;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.sgd-login-page.sgd-login-captcha-visible .sgd-login-support,
.sgd-login-page.sgd-login-captcha-visible .sgd-login-version {
  display: none;
}

.sgd-login-form-card .ui-messages,
.sgd-login-form-card .alert {
  margin: 0;
  border-radius: 14px;
}

@media (min-width: 1051px) and (max-width: 1439px) {
  .sgd-login-page {
    --login-form-width: clamp(360px, 36vw, 440px);
    --login-column-gap: 16px;
    --login-logo-width: clamp(160px, 15vw, 200px);
  }
}

@media (max-width: 1050px) {
  .sgd-login-page {
    --login-block-height: clamp(520px, calc(100vh - 32px), 680px);
    --login-block-height: clamp(520px, calc(100dvh - 32px), 680px);
    --login-form-width: min(460px, calc(100vw - 32px));
    --login-logo-width: clamp(160px, 32vw, 200px);
    padding: 16px;
  }

  .sgd-login-shell {
    height: var(--login-block-height);
    min-height: 0;
    max-width: 520px;
  }

  .sgd-login-card {
    grid-template-columns: 1fr;
    gap: 0;
    height: 100%;
    min-height: 0;
  }

  .sgd-login-hero {
    display: none;
  }

  .sgd-login-form-panel {
    padding: 0;
  }

}

@media (max-width: 900px) {
  .sgd-login-brand-header .sgd-login-logo {
    width: min(var(--login-logo-width), 100%);
  }

  .sgd-login-brand-header h1 {
    font-size: 20px;
  }

  .sgd-login-heading h2,
  .sgd-login-heading #titulo_servicios {
    font-size: 22px !important;
  }
}

@media (max-width: 767px) {
  .sgd-login-page {
    --login-form-width: min(430px, calc(100vw - 24px));
    --login-card-padding: 14px;
    --login-logo-width: 180px;
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-height: 800px) {
  .sgd-login-page {
    --login-block-height: clamp(480px, calc(100vh - 24px), 600px);
    --login-block-height: clamp(480px, calc(100dvh - 24px), 600px);
    --login-card-padding: 16px;
    --login-form-gap: 10px;
    --login-logo-width: 180px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .sgd-login-form-panel {
    justify-content: center;
    padding: 0;
  }

  .sgd-login-access-card {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .sgd-login-form-card {
    gap: 10px;
  }

  .sgd-login-support {
    margin-top: 10px;
    padding-top: 8px;
  }
}

@media (max-width: 520px) {
  .sgd-login-page {
    --login-block-height: clamp(480px, 100vh, 640px);
    --login-block-height: clamp(480px, 100dvh, 640px);
    --login-form-width: 100%;
    --login-logo-width: clamp(140px, 42vw, 180px);
    padding: 0;
  }

  .sgd-login-shell {
    height: var(--login-block-height);
  }

  .sgd-login-card {
    height: 100%;
    min-height: 0;
  }

  .sgd-login-form-panel {
    padding: 8px 12px;
  }

  .sgd-login-access-card {
    padding: 14px 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .sgd-login-form-card {
    gap: 10px;
  }

  .sgd-login-brand-header .sgd-login-logo {
    width: min(var(--login-logo-width), 100%);
    margin-bottom: 12px;
  }

  .sgd-login-brand-header h1 {
    font-size: 17px;
  }

  .sgd-login-intro {
    margin-top: 6px;
    font-size: 12px;
  }

  .sgd-login-brand-header + .sgd-login-field {
    margin-top: 2px;
  }

  .sgd-login-control {
    min-height: 40px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .sgd-login-control input,
  .sgd-login-control .form-control {
    height: 40px !important;
    font-size: 14px !important;
  }

  .sgd-login-control > .glyphicon {
    margin-right: 9px;
    font-size: 14px;
  }

  .sgd-login-password-toggle,
  .sgd-login-control-action .btn {
    height: 34px;
  }

  .sgd-login-field-status {
    min-height: 12px;
    margin-top: 3px;
    font-size: 10px;
  }

  .sgd-login-submit {
    height: 44px;
    font-size: 15px !important;
  }

  .sgd-login-support {
    margin-top: 12px;
    padding-top: 10px;
  }

  .sgd-login-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px !important;
    padding: 0 !important;
  }

  .sgd-login-links > li,
  .sgd-login-links > li > a,
  .sgd-login-links > li > .sgd-login-password-link {
    width: 100%;
    justify-content: center;
  }

  .sgd-login-links > li > a,
  .sgd-login-links > li > .sgd-login-password-link {
    min-height: 38px;
    padding: 5px 6px;
    font-size: 10px;
  }

  .sgd-login-version {
    margin-top: 8px;
    padding: 8px 0 0;
    font-size: 10px;
    line-height: 1.35;
  }
}

@media (max-height: 680px) {
  .sgd-login-page {
    --login-block-height: clamp(460px, calc(100vh - 16px), 560px);
    --login-block-height: clamp(460px, calc(100dvh - 16px), 560px);
    --login-card-padding: 12px;
    --login-form-gap: 8px;
    --login-logo-width: 140px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .sgd-login-access-card {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .sgd-login-form-card {
    gap: 8px;
  }

  .sgd-login-brand-header .sgd-login-logo {
    width: min(var(--login-logo-width), 100%);
    margin-bottom: 6px;
  }

  .sgd-login-brand-header h1 {
    font-size: 17px;
  }

  .sgd-login-intro,
  .sgd-login-support-title {
    display: none;
  }

  .sgd-login-support {
    margin-top: 8px;
    padding-top: 8px;
  }

  .sgd-login-links {
    margin-top: 0 !important;
  }

  .sgd-login-version {
    margin-top: 6px;
    padding-top: 6px;
  }

  .sgd-login-control {
    min-height: 42px;
  }

  .sgd-login-control input,
  .sgd-login-control .form-control {
    height: 42px !important;
  }

  .sgd-login-submit {
    height: 44px;
  }

  .sgd-login-captcha {
    padding: 14px 10px 10px;
  }

  .sgd-captcha-row {
    margin-bottom: 6px;
  }

  .sgd-captcha-row img,
  .sgd-captcha-row .btn {
    height: 44px;
  }

  .sgd-captcha-input {
    height: 38px !important;
  }
}

@media (max-height: 560px) {
  .sgd-login-page {
    --login-block-height: clamp(440px, calc(100vh - 8px), 520px);
    --login-block-height: clamp(440px, calc(100dvh - 8px), 520px);
    --login-logo-width: 120px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .sgd-login-support,
  .sgd-login-version {
    display: none;
  }

  .sgd-login-brand-header h1 {
    font-size: 16px;
  }
}

@media (min-width: 1051px) {
  .sgd-login-page {
    --login-block-height: calc(100vh - 32px);
    --login-block-height: calc(100dvh - 32px);
  }
}

/* Login right panel redesign. The support links below remain on their existing styles. */
.sgd-login-right-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  padding: clamp(18px, 3vw, 42px);
  background: #ffffff;
  box-sizing: border-box;
}

.sgd-login-right-surface {
  width: 100%;
  max-width: 470px;
  max-height: 100%;
  padding: clamp(24px, 3vw, 38px) clamp(22px, 3vw, 36px) 24px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #dce8ee;
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(18, 58, 90, 0.14);
  box-sizing: border-box;
}

.sgd-login-right-panel #rightPane,
.sgd-login-right-panel #loginMaster,
.sgd-login-right-panel form {
  width: 100%;
  max-width: none;
}

#dlglogin.sgd-login-right-form {
  display: grid;
  gap: 16px;
  position: static;
  width: 100%;
  background: transparent !important;
}

.sgd-login-right-header {
  position: relative;
  margin: 0 0 10px;
  padding-bottom: 20px;
  text-align: center;
}

.sgd-login-right-header::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 46px;
  height: 4px;
  content: "";
  background: var(--sgd-primary-action);
  border-radius: 99px;
  transform: translateX(50%);
}

.sgd-login-right-logo {
  display: block;
  width: min(182px, 72%);
  height: auto;
  margin: 0 auto 18px;
}

.sgd-login-right-header h1 {
  margin: 0;
  color: var(--sgd-primary) !important;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 800;
  line-height: 1.2;
}

.sgd-login-right-intro {
  margin: 9px 0 0;
  color: var(--sgd-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.sgd-login-right-field {
  position: relative;
  margin: 0;
}

.sgd-login-right-field > label,
.sgd-login-right-field > #subti_noti {
  display: block;
  position: static;
  margin: 0 0 8px;
  padding: 0;
  color: var(--sgd-primary) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

.sgd-login-right-control {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  background: #fbfdfe;
  border: 1px solid #d5e2e9;
  border-radius: 14px;
  box-shadow: inset 0 1px 1px rgba(18, 58, 90, 0.03);
  box-sizing: border-box;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.sgd-login-right-control:focus-within {
  background: #ffffff;
  border-color: var(--sgd-primary-action);
  box-shadow: 0 0 0 4px rgba(47, 128, 192, 0.14);
}

.sgd-login-right-control > .glyphicon {
  flex: 0 0 auto;
  margin-right: 12px;
  color: var(--sgd-primary-action);
  font-size: 16px;
}

.sgd-login-right-control input,
.sgd-login-right-control .form-control {
  width: 100% !important;
  height: 50px !important;
  min-width: 0;
  padding: 0 !important;
  color: var(--sgd-text) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 15px !important;
  outline: none !important;
}

.sgd-login-right-control input::placeholder {
  color: #91a3ae;
  opacity: 1;
}

.sgd-login-right-control input[readonly],
.sgd-login-right-control .form-control[readonly] {
  color: var(--sgd-text-muted) !important;
}

.sgd-login-right-password-toggle {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-left: 8px;
  padding: 0;
  color: var(--sgd-primary-action);
  background: transparent;
  border: 0;
  border-radius: 9px;
}

.sgd-login-right-password-toggle:hover,
.sgd-login-right-password-toggle:focus-visible {
  color: var(--sgd-primary);
  background: var(--sgd-info-surface);
}

.sgd-login-right-password-toggle:focus-visible {
  outline: 3px solid rgba(47, 128, 192, 0.25);
  outline-offset: 1px;
}

.sgd-login-right-control-action {
  padding-right: 7px;
}

.sgd-login-right-control-action .btn {
  flex: 0 0 42px;
  width: 42px;
  height: 40px;
  margin-left: 8px;
  color: #ffffff !important;
  background: var(--sgd-primary-action) !important;
  border: 0 !important;
  border-radius: 11px !important;
  box-shadow: 0 5px 12px rgba(47, 128, 192, 0.2);
}

.sgd-login-right-control-action .btn:hover,
.sgd-login-right-control-action .btn:focus-visible {
  background: var(--sgd-primary-hover) !important;
}

.sgd-login-right-control-action .btn:disabled {
  color: var(--sgd-text-muted) !important;
  background: #e2e8f0 !important;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.sgd-login-right-field-status {
  min-height: 16px;
  margin: 6px 4px -4px;
  color: var(--sgd-text-muted);
  font-size: 11px;
  line-height: 1.35;
}

.sgd-login-right-captcha {
  padding: 18px 14px 14px;
  background: var(--sgd-info-surface);
  border: 1px solid #d5e5ef;
  border-radius: 14px;
}

.sgd-login-right-captcha-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 10px;
}

.sgd-login-right-captcha-row img {
  width: 180px;
  max-width: calc(100% - 46px);
  height: 50px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid #d5e2e9;
  border-radius: 10px 0 0 10px;
}

.sgd-login-right-captcha-row .btn {
  width: 46px;
  height: 50px;
  color: #ffffff !important;
  background: var(--sgd-primary-action) !important;
  border: 0 !important;
  border-radius: 0 10px 10px 0 !important;
}

.sgd-login-right-captcha-input {
  width: 100%;
  height: 44px !important;
  padding: 0 13px !important;
  color: var(--sgd-text) !important;
  background: #ffffff !important;
  border: 1px solid #d5e2e9 !important;
  border-radius: 11px !important;
  box-shadow: none !important;
  box-sizing: border-box;
  outline: none;
}

.sgd-login-right-captcha-input:focus {
  border-color: var(--sgd-primary-action) !important;
  box-shadow: 0 0 0 4px rgba(47, 128, 192, 0.14) !important;
}

.sgd-login-right-submit {
  width: 100%;
  height: 52px;
  margin: 4px 0 0;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--sgd-primary-action), var(--sgd-primary-hover)) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 20px rgba(47, 128, 192, 0.2);
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.sgd-login-right-submit:hover,
.sgd-login-right-submit:focus {
  color: #ffffff !important;
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 13px 24px rgba(47, 128, 192, 0.26);
}

.sgd-login-right-submit:focus-visible {
  outline: 3px solid rgba(18, 58, 90, 0.28) !important;
  outline-offset: 3px;
}

.sgd-login-right-submit:active {
  filter: brightness(0.95);
  transform: translateY(0);
}

.sgd-login-right-submit .glyphicon {
  margin-right: 8px;
  color: #ffffff !important;
}

#dlglogin.sgd-login-right-form .ui-messages,
#dlglogin.sgd-login-right-form .alert {
  margin: 0;
  border-radius: 12px;
}

@media (max-width: 1050px) {
  .sgd-login-right-panel {
    padding: 18px;
  }

  .sgd-login-right-surface {
    max-width: 500px;
  }
}

@media (max-width: 520px) {
  .sgd-login-right-panel {
    height: auto;
    min-height: 100%;
    padding: 12px;
  }

  .sgd-login-right-surface {
    max-height: none;
    padding: 24px 18px 20px;
    border-radius: 20px;
  }

  #dlglogin.sgd-login-right-form {
    gap: 14px;
  }

  .sgd-login-right-logo {
    width: min(170px, 76%);
    margin-bottom: 14px;
  }

  .sgd-login-right-header {
    padding-bottom: 16px;
  }

  .sgd-login-right-header h1 {
    font-size: 19px;
  }

  .sgd-login-right-control {
    min-height: 48px;
  }

  .sgd-login-right-control input,
  .sgd-login-right-control .form-control {
    height: 46px !important;
    font-size: 14px !important;
  }

  .sgd-login-right-submit {
    height: 48px;
  }
}

/* Main application shell: shares the palette and typography of the login. */
body {
  background: var(--sgd-bg) !important;
  font-family: Arial, Helvetica, sans-serif;
}

#bcMain {
  position: relative;
  min-width: 0;
  min-height: 100vh;
  background: var(--sgd-bg);
}

#headPanel {
  overflow: visible;
  background: var(--sgd-surface);
  border-bottom: 1px solid var(--sgd-border);
  box-shadow: 0 2px 10px rgba(19, 52, 77, 0.08);
}

#headPanel_top {
  height: auto;
  min-height: 68px;
  padding: 0;
  background-color: var(--sgd-surface);
  background-position: 20px center;
}

.sgd-main-header-content {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(280px, 1.15fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 8px 24px 8px clamp(285px, 22vw, 330px);
  box-sizing: border-box;
}

#titulo_interno.sgd-main-header-title {
  color: var(--sgd-primary) !important;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

#txt_nav.sgd-main-header-user {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--sgd-text-muted) !important;
  font-size: 12px;
  line-height: 1.35;
}

.sgd-main-header-label,
.sgd-main-footer-label {
  color: var(--sgd-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#txt_nav .txt_nav2 {
  overflow: hidden;
  color: var(--sgd-primary) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#txt_nav .txt_nav2:hover,
#txt_nav .txt_nav2:focus {
  color: var(--sgd-primary-hover) !important;
  text-decoration: underline;
}

.sgd-main-header-person {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#main_links.sgd-main-header-exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  color: #ffffff !important;
  background: var(--sgd-primary-action);
  border: 1px solid var(--sgd-primary-action);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

#main_links.sgd-main-header-exit:hover,
#main_links.sgd-main-header-exit:focus {
  color: #ffffff !important;
  background: var(--sgd-primary-hover);
  border-color: var(--sgd-primary-hover);
}

#leftPane {
  width: 100%;
  padding-bottom: 24px;
}

#divBandejaEntrada > table {
  width: min(1240px, calc(100% - 48px));
  margin: 28px auto 0;
  border-collapse: separate;
}

#divBandejaEntrada > table > tbody > tr {
  display: grid;
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 14px 28px;
  align-items: start;
}

#divBandejaEntrada > table > tbody > tr > td {
  display: block !important;
  padding: 0;
  vertical-align: top;
}

#divBandejaEntrada > table > tbody > tr > td:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
}

#divBandejaEntrada > table > tbody > tr > td:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

#divBandejaEntrada > table > tbody > tr > td:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

#divBuscarExpediente {
  margin: 0 !important;
}

.bandeja {
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: var(--sgd-surface);
  border: 1px solid var(--sgd-border);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(19, 52, 77, 0.08);
}

.bandeja .list-group-item {
  margin: 0;
  padding: 10px 12px;
  position: relative;
  color: var(--sgd-primary) !important;
  background: var(--sgd-surface);
  border-color: var(--sgd-border);
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.bandeja .list-group-item.active {
  min-height: 64px;
  color: #ffffff !important;
  background: var(--sgd-primary-action);
  border-color: var(--sgd-primary-action);
}

.bandeja .list-group-item:hover,
.bandeja .list-group-item:focus {
  background: var(--sgd-surface-blue);
  box-shadow: 0 6px 14px rgba(19, 52, 77, 0.12);
  transform: translateY(-1px);
}

.bandeja .list-group-item.active:hover,
.bandeja .list-group-item.active:focus {
  color: #ffffff !important;
  background: var(--sgd-primary-hover);
}

.bandeja h4 {
  margin: 0 0 2px;
  color: inherit;
  font-size: 15px;
  line-height: 1.35;
}

.bandeja .list-group-item-text {
  color: inherit;
  font-size: 11px;
  line-height: 1.35;
  opacity: 0.8;
}

.bandeja .list-group-item-text > a {
  display: block;
}

.bandeja .list-group-item-heading {
  color: inherit;
}

.bandeja .list-group-item-text > div[style="float:right;"] {
  display: flex;
  align-items: center;
  position: absolute;
  right: 12px;
  bottom: 10px;
  float: none !important;
  gap: 3px;
  margin: 0;
  padding: 0;
}

.bandeja .list-group-item-text > div[style="float:right;"]:before {
  display: none;
}

.bandeja .list-group-item-text > div[style="float:right;"] .badge {
  min-width: 30px;
  padding: 3px 6px;
  border-radius: 4px !important;
  font-size: 10px;
  text-align: center;
}

.bandeja .list-group-item-text > div[style="float:right;"] .badge + .badge {
  margin-left: 0 !important;
}

.bandeja .badge {
  min-width: 26px;
  padding: 5px 8px;
  color: #ffffff;
  background: var(--sgd-primary-action);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.bandeja .list-group-item.active .badge {
  color: var(--sgd-primary);
  background: #ffffff;
}

#titleBandejaEntrada .list-group-item-heading {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 17px !important;
  line-height: 1.35;
  text-align: left !important;
}

#div_etiquetasSGD .list-group-item-heading {
  margin: 0;
  color: inherit;
  font-size: 13px !important;
  font-style: normal !important;
  line-height: 1.4;
}

#carousel-example-generic {
  width: 100%;
  margin-left: 0 !important;
  overflow: hidden;
  background: var(--sgd-surface);
  border: 1px solid var(--sgd-border);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(19, 52, 77, 0.08);
}

#carousel-example-generic .imagenInicio {
  display: block;
  width: 100%;
  max-height: 510px;
  margin: 0;
  object-fit: contain;
  background: var(--sgd-surface-blue);
}

#carousel-example-generic .carousel-control {
  width: 11%;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(11, 37, 58, 0.65);
}

#carousel-example-generic .carousel-indicators {
  bottom: 8px;
}

#carousel-example-generic .carousel-indicators li {
  width: 9px;
  height: 9px;
  margin: 2px;
  border-color: #ffffff;
}

#carousel-example-generic .carousel-indicators .active {
  width: 10px;
  height: 10px;
  background: var(--sgd-primary-hover);
}

#divBandejaEntrada .alert {
  grid-column: 1 / -1;
  width: auto !important;
  margin: 18px 0 0;
  border-radius: 8px;
}

#divBandejaEntrada > table > tbody > tr:nth-child(2) {
  display: block;
}

#divBandejaEntrada > table > tbody > tr:nth-child(2) > td {
  width: 100%;
}

#bottomPanel {
  height: auto;
  min-height: 104px;
  padding: 20px 24px;
  color: #ffffff;
  background: var(--sgd-primary-dark);
  background-image: none;
  box-sizing: border-box;
}

.sgd-main-footer-content {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(220px, 1.2fr) minmax(
      220px,
      1.4fr
    );
  gap: 24px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.sgd-main-footer-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  color: #d8eaf8;
  font-size: 12px;
  line-height: 1.45;
}

.sgd-main-footer-section strong {
  color: #ffffff;
  font-weight: 700;
}

.sgd-main-footer-label {
  color: #9fd2ff;
}

.sgd-main-footer-route a {
  overflow: hidden;
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .sgd-main-header-content {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding-left: 190px;
  }

  #txt_nav.sgd-main-header-user {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  #divBandejaEntrada > table {
    width: min(720px, calc(100% - 32px));
  }

  #divBandejaEntrada > table > tbody > tr {
    grid-template-columns: 1fr;
  }

  #divBandejaEntrada > table > tbody > tr > td:nth-child(1),
  #divBandejaEntrada > table > tbody > tr > td:nth-child(2),
  #divBandejaEntrada > table > tbody > tr > td:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }

  .sgd-main-footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  #headPanel_top {
    background-image: none !important;
  }

  .sgd-main-header-content {
    grid-template-columns: 1fr;
    padding: 14px 18px;
  }

  #txt_nav.sgd-main-header-user {
    grid-column: auto;
    grid-row: auto;
  }

  #titulo_interno.sgd-main-header-title {
    font-size: 22px;
  }

  #main_links.sgd-main-header-exit {
    width: fit-content;
  }

  #divBandejaEntrada > table {
    width: calc(100% - 24px);
    margin-top: 16px;
  }

  #bottomPanel {
    padding: 18px;
  }

  .sgd-main-footer-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Stable main layout for the legacy application shell. */
#headPanel_top {
  height: 58px;
  min-height: 0;
  overflow: hidden;
}

.sgd-main-header-content {
  display: block;
  width: 90%;
  min-height: 58px;
  margin-left: 10%;
  padding: 0;
}

.sgd-main-header-table {
  height: 58px;
}

.sgd-main-header-table td {
  padding: 0 12px;
}

#titulo_interno {
  color: var(--sgd-primary) !important;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

#txt_nav {
  color: var(--sgd-text-muted) !important;
  font-size: 12px;
  line-height: 1.3;
}

#txt_nav .sgd-main-header-label {
  display: block;
  margin-bottom: 1px;
}

#txt_nav .txt_nav2 {
  display: block;
  color: var(--sgd-primary) !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

#main_links.sgd-main-header-exit {
  display: inline-block;
  min-height: 0;
  padding: 8px 12px;
  line-height: 1.2;
}

#divTablaBandejaEntrada {
  padding-bottom: 8px;
}

#divTablaBandejaEntrada > .list-group-item:not(.active),
#div_etiquetasSGD > .list-group-item {
  margin: 6px 10px 0;
  border: 1px solid var(--sgd-border);
  border-left: 5px solid var(--sgd-primary-hover);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(19, 52, 77, 0.06);
}

#div_BANDEJAFIRMA {
  border-left-color: var(--sgd-primary-hover) !important;
}

#div_BANDEJAVB,
#div_BANDEJAPROYECTO {
  border-left-color: #7c3aed !important;
}

#div_BANDEJAENTRADA {
  border-left-color: var(--sgd-success) !important;
}

#div_BANDEJAENTRADA,
#div_BANDEJADELEGADOS {
  min-height: 82px;
}

#div_BANDEJADELEGADOS {
  margin-left: 28px !important;
  border-left-color: #9333ea !important;
}

#div_BANDEJADELEGADOS:before {
  position: absolute;
  top: 50%;
  left: -17px;
  width: 12px;
  height: 1px;
  background: #9333ea;
  content: "";
}

#div_BANDEJAENVIADOS,
#div_BANDEJASALIDA {
  border-left-color: #6366f1 !important;
}

#div_BANDEJAMUYURGENTE {
  border-left-color: var(--sgd-error) !important;
}

#div_BANDEJAURGENTE {
  border-left-color: var(--sgd-warning) !important;
}

#titleBandejaEntrada .list-group-item-text {
  color: #ffffff !important;
  opacity: 0.88;
}

#bottomPanel {
  min-height: 0;
  margin: 24px 8px 8px;
  padding: 18px 26px;
  color: var(--sgd-text);
  background: var(--sgd-surface);
  border: 1px solid var(--sgd-border);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(19, 52, 77, 0.06);
}

.sgd-main-footer-table {
  width: min(1240px, 100%);
  margin: 0 auto;
  color: var(--sgd-text);
  font-size: 12px;
  line-height: 1.65;
}

.sgd-main-footer-table td {
  padding: 0 24px;
}

.sgd-main-footer-table strong {
  color: var(--sgd-primary);
}

.sgd-main-footer-table .sgd-main-footer-label {
  color: var(--sgd-primary-action);
}

.sgd-main-footer-table a {
  color: var(--sgd-link) !important;
  font-weight: 700;
  text-decoration: underline;
}

.sgd-main-footer-cell {
  border-right: 1px solid var(--sgd-border);
}

.sgd-main-footer-cell-last {
  border-right: 0;
}

.sgd-main-footer-icon {
  float: left;
  width: 26px;
  margin-top: 3px;
  color: var(--sgd-primary-action);
  font-size: 18px;
  text-align: left;
}

.sgd-main-footer-copy {
  margin-left: 30px;
}

#bottomPanel .sgd-main-footer-copy > span:not(.sgd-main-footer-label) {
  color: var(--sgd-text-muted) !important;
}

#bottomPanel .sgd-main-footer-note {
  display: block;
  margin-top: 4px;
  color: var(--sgd-text-muted) !important;
  font-size: 11px;
  line-height: 1.45;
  text-align: justify;
}

.sgd-main-footer-copy a {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
}

@media (max-width: 900px) {
  .sgd-main-header-content {
    width: 82%;
    margin-left: 18%;
  }

  #titulo_interno {
    font-size: 21px;
  }
}

@media (max-width: 600px) {
  #headPanel_top {
    height: auto;
    overflow: visible;
  }

  .sgd-main-header-content {
    width: 100%;
    margin: 0;
  }

  .sgd-main-header-table,
  .sgd-main-header-table tbody,
  .sgd-main-header-table tr,
  .sgd-main-header-table td,
  .sgd-main-footer-table,
  .sgd-main-footer-table tbody,
  .sgd-main-footer-table tr,
  .sgd-main-footer-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .sgd-main-header-table td {
    padding: 8px 18px;
    text-align: left !important;
  }

  #titulo_interno {
    font-size: 22px;
  }

  #bottomPanel {
    margin: 16px 8px 8px;
    padding: 16px 18px;
  }

  .sgd-main-footer-table td {
    padding: 0 0 14px;
  }

  .sgd-main-footer-cell {
    border-right: 0;
    border-bottom: 1px solid var(--sgd-border);
  }

  .sgd-main-footer-cell-last {
    border-bottom: 0;
  }
}

/* Dashboard layout: the inbox is a true left sidebar, independent of the carousel. */
.sgd-dashboard {
  display: flex;
  align-items: flex-start;
  width: calc(100% - 48px);
  max-width: 1440px;
  margin: 28px 24px 0;
}

.sgd-dashboard-sidebar,
.sgd-dashboard-main {
  display: block;
}

.sgd-dashboard-sidebar {
  flex: 0 0 330px;
  width: 330px;
}

.sgd-dashboard-search {
  margin-bottom: 14px;
}

.sgd-dashboard-main {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1040px;
  margin-left: 30px;
}

.sgd-dashboard-main #carousel-example-generic {
  margin: 0 !important;
}

.sgd-dashboard-alert {
  width: calc(100% - 48px);
  max-width: 1440px;
  margin: 18px 24px 0;
  border-radius: 8px;
}

/* The legacy palette used !important; these overrides intentionally reset the footer to the light card design. */
#bottomPanel {
  min-height: 0 !important;
  color: var(--sgd-text) !important;
  background: var(--sgd-surface) !important;
  background-color: var(--sgd-surface) !important;
  background-image: none !important;
  border: 1px solid var(--sgd-border) !important;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(19, 52, 77, 0.06);
}

#bottomPanel .sgd-main-footer-table,
#bottomPanel .sgd-main-footer-table strong,
#bottomPanel .sgd-main-footer-table span {
  color: var(--sgd-text) !important;
}

#bottomPanel .sgd-main-footer-table strong {
  color: var(--sgd-primary) !important;
}

#bottomPanel .sgd-main-footer-table .sgd-main-footer-label {
  color: var(--sgd-primary-action) !important;
}

#bottomPanel .sgd-main-footer-table a {
  color: var(--sgd-link) !important;
}

/* Footer support information is concise and visually distinct from the application content. */
#bottomPanel {
  margin: 20px 8px 8px;
  padding: 16px 24px;
  background: #f7fafc !important;
  border-top: 3px solid var(--sgd-primary) !important;
  box-shadow: 0 4px 14px rgba(19, 52, 77, 0.05);
}

#bottomPanel .sgd-main-footer-table {
  font-size: 12px;
  line-height: 1.5;
}

#bottomPanel .sgd-main-footer-table td {
  padding: 0 22px;
}

#bottomPanel .sgd-main-footer-cell {
  border-right-color: #dce6ee;
}

#bottomPanel .sgd-main-footer-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#bottomPanel .sgd-main-footer-copy {
  margin-left: 32px;
}

#bottomPanel .sgd-main-footer-note {
  max-width: 360px;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.5;
}

#bottomPanel .sgd-main-footer-copy a {
  margin-top: 5px;
  font-weight: 700;
}

@media (max-width: 900px) {
  #bottomPanel {
    margin: 16px 8px 8px;
    padding: 14px 18px;
  }

  #bottomPanel .sgd-main-footer-table td {
    padding: 0 0 14px;
  }
}

@media (max-width: 900px) {
  .sgd-dashboard {
    display: block;
    width: calc(100% - 32px);
    margin: 20px 16px 0;
  }

  .sgd-dashboard-sidebar {
    width: 330px;
    max-width: 100%;
  }

  .sgd-dashboard-main {
    width: 100%;
    margin: 24px 0 0;
  }

  .sgd-dashboard-alert {
    width: calc(100% - 32px);
    margin-left: 16px;
  }
}

/* Header refinement: keep identity, system name and user information on a calm, readable bar. */
#headPanel {
  border-bottom: 0;
  box-shadow: none;
}

#headPanel_top {
  height: 74px;
  background-position: 24px center;
  border-top: 1px solid var(--sgd-border);
  border-bottom: 1px solid var(--sgd-border);
}

.sgd-main-header-content,
.sgd-main-header-table {
  min-height: 74px;
  height: 74px;
}

.sgd-main-header-table td {
  vertical-align: middle;
}

#titulo_interno {
  padding-top: 0;
  font-size: 27px;
  letter-spacing: 0.01em;
}

#txt_nav {
  padding-left: 18px;
  border-left: 1px solid var(--sgd-border);
}

#txt_nav .sgd-main-header-label {
  color: var(--sgd-primary-action);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#txt_nav .txt_nav2 {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

#main_links.sgd-main-header-exit {
  min-width: 64px;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 600px) {
  #headPanel_top,
  .sgd-main-header-content,
  .sgd-main-header-table {
    height: auto;
    min-height: 0;
  }

  #txt_nav {
    padding-left: 18px;
    border-left: 0;
  }
}

/* Final menu reset: menu.css is legacy image-based, so neutralize its inherited states here. */
#menu {
  position: relative;
  z-index: 100;
  clear: both;
  height: 46px;
}

#menu > ul.menu {
  display: block;
  height: 46px;
  min-height: 46px;
  padding-left: 54px;
}

#menu > ul.menu > li {
  height: 46px;
  background: none !important;
}

#menu > ul.menu > li > a {
  display: table;
  float: none;
  height: 46px;
  padding: 0 17px;
  line-height: normal;
}

#menu > ul.menu > li > a > span {
  display: table-cell;
  padding: 0 !important;
  color: var(--sgd-primary) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: normal !important;
  text-transform: none;
  vertical-align: middle;
}

#menu > ul.menu > li > a:hover > span,
#menu > ul.menu > li > a:focus > span {
  color: var(--sgd-primary-action) !important;
}

#menu > ul.menu > li > div {
  position: absolute !important;
  top: 46px !important;
  left: 0 !important;
  max-height: calc(100vh - 62px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px;
  background-image: none !important;
  transform: none !important;
  visibility: hidden !important;
}

#menu > ul.menu > li.submenu-open > div {
  visibility: visible !important;
}

/* Configuration has enough entries to use the available width instead of one tall column. */
#menu > ul.menu > li.menu-configuracion > div {
  width: 560px !important;
  max-width: calc(100vw - 70px);
  max-height: calc(100vh - 44px);
  max-height: calc(100dvh - 44px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 12px;
  box-sizing: border-box;
}

#menu > ul.menu > li.menu-configuracion > div > ul {
  display: grid;
  float: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  box-sizing: border-box;
}

#menu > ul.menu > li.menu-configuracion > div > ul > li {
  display: block;
  float: none;
  break-inside: avoid;
  page-break-inside: avoid;
}

#menu > ul.menu > li.menu-configuracion > div > ul > li > a {
  width: 100%;
  box-sizing: border-box;
}

#menu > ul.menu > li.menu-configuracion > div > ul > li:last-child > a {
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  #menu > ul.menu > li.menu-configuracion > div {
    width: calc(100vw - 70px) !important;
    max-width: none;
  }

  #menu > ul.menu > li.menu-configuracion > div > ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Status indicator supplied by the local applet/web socket service. */
#leftPane {
  position: relative;
}

#appletIco,
#appletDoc,
#appletAux {
  position: absolute !important;
  top: 7px;
  left: 10px;
  margin: 0 !important;
  z-index: 120;
}

#appletIco {
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  left: 10px !important;
  right: auto;
}

#menu {
  clear: none;
  margin-left: 0;
}

#menu > ul.menu {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

#menu > ul.menu > li:first-child {
  margin-left: 56px !important;
}

.sgd-requirement-success {
  color: var(--sgd-success) !important;
}

.sgd-requirement-warning {
  color: var(--sgd-warning) !important;
}

.sgd-requirement-error {
  color: var(--sgd-error) !important;
}

.sgd-status-success {
  color: var(--sgd-success) !important;
}

/* Exit actions leave the current module, so they share a distinct destructive color. */
button[title^="Salir"],
a[title^="Salir"],
button#btn-salir,
a#btn-salir,
button#btn_salir,
a#btn_salir,
.sgd-main-header-exit {
  background-color: var(--sgd-error) !important;
  border-color: var(--sgd-error) !important;
  color: #ffffff !important;
}

button[title^="Salir"]:hover,
button[title^="Salir"]:focus,
a[title^="Salir"]:hover,
a[title^="Salir"]:focus,
button#btn-salir:hover,
button#btn-salir:focus,
a#btn-salir:hover,
a#btn-salir:focus,
button#btn_salir:hover,
button#btn_salir:focus,
a#btn_salir:hover,
a#btn_salir:focus,
.sgd-main-header-exit:hover,
.sgd-main-header-exit:focus {
  background-color: #a51b1b !important;
  border-color: #a51b1b !important;
  color: #ffffff !important;
}

/* Reception detail keeps its legacy table markup, while these scoped rules provide the current SGD visual system. */
.reception-document-detail {
  width: calc(100% - 32px) !important;
  max-width: 1280px;
  margin: 16px auto !important;
  background: var(--sgd-surface);
  border: 1px solid var(--sgd-border) !important;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(19, 52, 77, 0.08);
}

.reception-document-detail > .ui-panel-titlebar {
  padding: 12px 16px;
  background: var(--sgd-primary) !important;
  border: 0 !important;
  border-radius: 9px 9px 0 0 !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.reception-document-detail > .ui-panel-body {
  padding: 12px 14px 16px;
}

.reception-document-detail fieldset {
  min-width: 0;
  margin: 0 0 10px;
  padding: 10px 12px 12px;
  background: #ffffff;
  border: 1px solid var(--sgd-border);
  border-radius: 8px;
}

.reception-document-detail legend {
  width: auto;
  margin: 0;
  padding: 0 5px;
  border: 0;
  color: var(--sgd-primary);
  font-size: 12px;
  font-weight: 700;
}

.reception-document-detail fieldset fieldset {
  margin: 0;
  padding: 7px;
  background: var(--sgd-surface-blue);
}

.reception-document-detail td {
  padding: 3px 4px;
  color: var(--sgd-text);
  font-size: 12px;
  vertical-align: middle;
}

.reception-document-detail input,
.reception-document-detail select,
.reception-document-detail textarea {
  max-width: 100%;
  border-radius: 4px;
  box-sizing: border-box;
}

.reception-document-detail input[readonly],
.reception-document-detail textarea[readonly] {
  background-color: var(--sgd-surface-blue) !important;
}

.reception-document-detail #divToolBarRecAdm {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.reception-document-detail #divToolBarRecAdm > .btn-group,
.reception-document-detail #divToolBarRecAdm .btn-group .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  float: none !important;
}

.reception-document-detail #divToolBarRecAdm .btn {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--sgd-primary-dark) !important;
  border-radius: 5px !important;
  background: var(--sgd-primary-action) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
}

.reception-document-detail #divToolBarRecAdm .btn .glyphicon {
  color: inherit !important;
}

.reception-document-detail #divToolBarRecAdm .btn:hover,
.reception-document-detail #divToolBarRecAdm .btn:focus {
  background: var(--sgd-primary-hover) !important;
  border-color: var(--sgd-primary-action) !important;
  color: #ffffff !important;
}

.reception-document-detail #divToolBarRecAdm .btn:focus {
  outline: 3px solid var(--sgd-primary-dark);
  outline-offset: 2px;
}

.reception-document-detail #divToolBarRecAdm .btn:active,
.reception-document-detail #divToolBarRecAdm .btn.active {
  background: var(--sgd-primary-dark) !important;
  border-color: var(--sgd-primary-dark) !important;
  color: #ffffff !important;
}

.reception-document-detail #divToolBarRecAdm .dropdown-toggle .caret {
  border-top-color: #ffffff !important;
}

.reception-document-detail #divToolBarRecAdm .dropdown-toggle:hover .caret,
.reception-document-detail #divToolBarRecAdm .dropdown-toggle:focus .caret,
.reception-document-detail #divToolBarRecAdm .open > .dropdown-toggle .caret {
  border-top-color: #ffffff !important;
}

.reception-document-detail #divToolBarRecAdm button[title="Recibir Documento"],
.reception-document-detail
  #divToolBarRecAdm
  button[title="Grabar Cambios del Documento"] {
  background: var(--sgd-success) !important;
  border-color: var(--sgd-success) !important;
  color: #ffffff !important;
}

.reception-document-detail
  #divToolBarRecAdm
  button[title="Recibir Documento"]:hover,
.reception-document-detail
  #divToolBarRecAdm
  button[title="Recibir Documento"]:focus,
.reception-document-detail
  #divToolBarRecAdm
  button[title="Grabar Cambios del Documento"]:hover,
.reception-document-detail
  #divToolBarRecAdm
  button[title="Grabar Cambios del Documento"]:focus {
  background: #116b35 !important;
  border-color: #116b35 !important;
  color: #ffffff !important;
}

.reception-document-detail #divToolBarRecAdm button[title^="Salir"] {
  background: var(--sgd-error) !important;
  border-color: var(--sgd-error) !important;
  color: #ffffff !important;
}

.reception-document-detail #divToolBarRecAdm button[title^="Salir"]:hover,
.reception-document-detail #divToolBarRecAdm button[title^="Salir"]:focus {
  background: #a51b1b !important;
  border-color: #a51b1b !important;
  color: #ffffff !important;
}

.reception-document-detail .reception-status {
  padding: 7px 12px;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.reception-document-detail #btn-etiquetaRecep {
  border-color: var(--sgd-border) !important;
  background: #ffffff !important;
  color: var(--sgd-primary) !important;
}

.reception-document-detail .ui-datatable-scrollable-header table {
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

@media (max-width: 760px) {
  .reception-document-detail {
    width: calc(100% - 16px) !important;
    margin: 8px auto !important;
  }

  .reception-document-detail > .ui-panel-body {
    padding: 8px;
  }

  .reception-document-detail > .ui-panel-body > form > table,
  .reception-document-detail > .ui-panel-body > form > table > tbody,
  .reception-document-detail > .ui-panel-body > form > table > tbody > tr,
  .reception-document-detail > .ui-panel-body > form > table > tbody > tr > td {
    display: block;
    width: 100% !important;
  }

  .reception-document-detail #divToolBarRecAdm .btn {
    flex: 1 1 130px;
  }

  .reception-document-detail #divToolBarRecAdm > .btn-group,
  .reception-document-detail #divToolBarRecAdm .btn-group .btn-group {
    width: 100%;
  }
}

/* Administrative emission variants share the same detail visual language without changing their workflows. */
.emission-document-detail {
  width: calc(100% - 32px) !important;
  max-width: 1440px;
  margin: 16px auto !important;
  background: var(--sgd-surface);
  border: 1px solid var(--sgd-border) !important;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(19, 52, 77, 0.08);
}

.emission-document-detail > .ui-panel-titlebar {
  padding: 12px 16px;
  background: var(--sgd-primary) !important;
  border: 0 !important;
  border-radius: 9px 9px 0 0 !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.emission-document-detail > .ui-panel-body {
  padding: 12px 14px 16px;
}

.emission-document-detail fieldset {
  min-width: 0;
  margin: 0 0 10px;
  padding: 10px 12px 12px;
  background: #ffffff;
  border: 1px solid var(--sgd-border);
  border-radius: 8px;
}

.emission-document-detail legend {
  width: auto;
  margin: 0;
  padding: 0 5px;
  border: 0;
  color: var(--sgd-primary);
  font-size: 12px;
  font-weight: 700;
}

.emission-document-detail fieldset fieldset {
  margin: 0;
  padding: 7px;
  background: var(--sgd-surface-blue);
}

.emission-document-detail td {
  padding: 3px 4px;
  color: var(--sgd-text);
  font-size: 12px;
  vertical-align: middle;
}

.emission-document-detail input,
.emission-document-detail select,
.emission-document-detail textarea {
  max-width: 100%;
  border-radius: 4px;
  box-sizing: border-box;
}

.emission-document-detail input[readonly],
.emission-document-detail textarea[readonly] {
  background-color: var(--sgd-surface-blue) !important;
}

.emission-document-detail #divToolBarEmiAdm {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.emission-document-detail #divToolBarEmiAdm > .btn-group,
.emission-document-detail #divToolBarEmiAdm .btn-group .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  float: none !important;
}

.emission-document-detail #divToolBarEmiAdm .btn-group > .btn,
.emission-document-detail #divToolBarEmiAdm .btn-group > .btn-group {
  float: none !important;
}

.emission-document-detail #divToolBarEmiAdm .btn-group .btn + .btn,
.emission-document-detail #divToolBarEmiAdm .btn-group .btn + .btn-group,
.emission-document-detail #divToolBarEmiAdm .btn-group .btn-group + .btn,
.emission-document-detail #divToolBarEmiAdm .btn-group .btn-group + .btn-group {
  margin-left: 0;
}

.emission-document-detail #divToolBarEmiAdm > .pull-right {
  margin-left: auto;
}

.emission-document-detail #divToolBarEmiAdm .btn {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--sgd-primary-dark) !important;
  border-radius: 5px !important;
  background: var(--sgd-primary-action) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
}

.emission-document-detail #divToolBarEmiAdm .btn .glyphicon {
  color: inherit !important;
}

.emission-document-detail #divToolBarEmiAdm .btn:hover,
.emission-document-detail #divToolBarEmiAdm .btn:focus {
  background: var(--sgd-primary-hover) !important;
  border-color: var(--sgd-primary-action) !important;
  color: #ffffff !important;
}

.emission-document-detail #divToolBarEmiAdm .btn:focus {
  outline: 3px solid var(--sgd-primary-dark);
  outline-offset: 2px;
}

.emission-document-detail #divToolBarEmiAdm .btn:active,
.emission-document-detail #divToolBarEmiAdm .btn.active {
  background: var(--sgd-primary-dark) !important;
  border-color: var(--sgd-primary-dark) !important;
  color: #ffffff !important;
}

.emission-document-detail
  #divToolBarEmiAdm
  button[title="Grabar Cambios del Documento"],
.emission-document-detail #divEmitirDoc .btn,
.emission-document-detail #divEmitirDocFir .btn {
  background: var(--sgd-success) !important;
  border-color: var(--sgd-success) !important;
  color: #ffffff !important;
}

.emission-document-detail
  #divToolBarEmiAdm
  button[title="Grabar Cambios del Documento"]:hover,
.emission-document-detail
  #divToolBarEmiAdm
  button[title="Grabar Cambios del Documento"]:focus,
.emission-document-detail #divEmitirDoc .btn:hover,
.emission-document-detail #divEmitirDoc .btn:focus,
.emission-document-detail #divEmitirDocFir .btn:hover,
.emission-document-detail #divEmitirDocFir .btn:focus {
  background: #116b35 !important;
  border-color: #116b35 !important;
  color: #ffffff !important;
}

.emission-document-detail #divToolBarEmiAdm button[title="Anular Documento"],
.emission-document-detail #divToolBarEmiAdm button[title="Eliminar Documento"],
.emission-document-detail #divToolBarEmiAdm button[title="Devolver Documento"] {
  border-color: var(--sgd-error) !important;
  background: var(--sgd-error-surface) !important;
  color: var(--sgd-error) !important;
}

.emission-document-detail #divToolBarEmiAdm button[title^="Salir"] {
  background: var(--sgd-error) !important;
  border-color: var(--sgd-error) !important;
  color: #ffffff !important;
}

.emission-document-detail #divToolBarEmiAdm button[title^="Salir"]:hover,
.emission-document-detail #divToolBarEmiAdm button[title^="Salir"]:focus {
  background: #a51b1b !important;
  border-color: #a51b1b !important;
  color: #ffffff !important;
}

/* The professional emission view renders this shared toolbar outside the detail panel. */
#divToolBarEmiAdm {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

#divToolBarEmiAdm > .btn-group,
#divToolBarEmiAdm .btn-group .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  float: none !important;
}

#divToolBarEmiAdm .btn-group > .btn,
#divToolBarEmiAdm .btn-group > .btn-group {
  float: none !important;
}

#divToolBarEmiAdm .btn-group .btn + .btn,
#divToolBarEmiAdm .btn-group .btn + .btn-group,
#divToolBarEmiAdm .btn-group .btn-group + .btn,
#divToolBarEmiAdm .btn-group .btn-group + .btn-group {
  margin-left: 0;
}

#divToolBarEmiAdm .btn {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--sgd-primary-dark) !important;
  border-radius: 5px !important;
  background: var(--sgd-primary-action) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
}

#divToolBarEmiAdm .btn .glyphicon {
  color: inherit !important;
}

#divToolBarEmiAdm .btn:hover,
#divToolBarEmiAdm .btn:focus {
  background: var(--sgd-primary-hover) !important;
  border-color: var(--sgd-primary-action) !important;
  color: #ffffff !important;
}

#divToolBarEmiAdm .btn:focus {
  outline: 3px solid var(--sgd-primary-dark);
  outline-offset: 2px;
}

#divToolBarEmiAdm .btn:active,
#divToolBarEmiAdm .btn.active {
  background: var(--sgd-primary-dark) !important;
  border-color: var(--sgd-primary-dark) !important;
  color: #ffffff !important;
}

#divToolBarEmiAdm button[title="Grabar Cambios del Documento"],
#divEmitirDoc .btn,
#divEmitirDocFir .btn {
  background: var(--sgd-success) !important;
  border-color: var(--sgd-success) !important;
  color: #ffffff !important;
}

#divToolBarEmiAdm button[title="Grabar Cambios del Documento"]:hover,
#divToolBarEmiAdm button[title="Grabar Cambios del Documento"]:focus,
#divEmitirDoc .btn:hover,
#divEmitirDoc .btn:focus,
#divEmitirDocFir .btn:hover,
#divEmitirDocFir .btn:focus {
  background: #116b35 !important;
  border-color: #116b35 !important;
  color: #ffffff !important;
}

#divToolBarEmiAdm button[title^="Salir"] {
  background: var(--sgd-error) !important;
  border-color: var(--sgd-error) !important;
  color: #ffffff !important;
}

#divToolBarEmiAdm button[title^="Salir"]:hover,
#divToolBarEmiAdm button[title^="Salir"]:focus {
  background: #a51b1b !important;
  border-color: #a51b1b !important;
  color: #ffffff !important;
}

.emission-document-detail #accordion .panel {
  border-color: var(--sgd-border);
  border-radius: 6px;
  box-shadow: none;
}

.emission-document-detail #accordion .panel-heading {
  background: var(--sgd-surface-blue);
  color: var(--sgd-primary);
}

.emission-document-detail .ui-datatable-scrollable-header table {
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

@media (max-width: 760px) {
  .emission-document-detail {
    width: calc(100% - 16px) !important;
    margin: 8px auto !important;
  }

  .emission-document-detail > .ui-panel-body {
    padding: 8px;
  }

  .emission-document-detail > .ui-panel-body > form > table,
  .emission-document-detail > .ui-panel-body > form > table > tbody,
  .emission-document-detail > .ui-panel-body > form > table > tbody > tr,
  .emission-document-detail > .ui-panel-body > form > table > tbody > tr > td,
  .emission-document-detail table[width="1260px"] > tbody > tr > td {
    display: block;
    width: 100% !important;
  }

  .emission-document-detail table[width="1260px"],
  .emission-document-detail iframe {
    width: 100% !important;
    max-width: 100%;
  }

  .emission-document-detail #divToolBarEmiAdm > .btn-group,
  .emission-document-detail #divToolBarEmiAdm .btn-group .btn-group {
    width: 100%;
  }

  .emission-document-detail #divToolBarEmiAdm .btn {
    flex: 1 1 130px;
  }

  .emission-document-detail #divToolBarEmiAdm > .pull-right {
    margin-left: 0;
  }
}

/* Reception list follows the detail and emission screens while preserving its existing search and grid behavior. */
.reception-document-list {
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  background: var(--sgd-surface);
  border: 1px solid var(--sgd-border) !important;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(19, 52, 77, 0.08);
}

.reception-document-list > .ui-panel-titlebar {
  padding: 12px 16px;
  background: var(--sgd-primary) !important;
  border: 0 !important;
  border-radius: 9px 9px 0 0 !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Main action panels share the institutional header across modules and modals. */
.emission-document-list > .ui-panel-titlebar,
.sgd-main-panel > .ui-panel-titlebar,
.sgd-main-modal > .panel-heading,
#divProveedorMain > .cuadrow > .panel > .panel-heading {
  padding: 12px 16px;
  background: var(--sgd-primary) !important;
  border: 0 !important;
  border-radius: 9px 9px 0 0 !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sgd-main-modal > .panel-heading > .panel-title,
#divProveedorMain > .cuadrow > .panel > .panel-heading > .panel-title {
  color: inherit;
  font: inherit;
}

.sgd-mp-wide-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sgd-mp-wide-list #divTblConsulDocumentoExterno {
  max-width: 100%;
  overflow-x: auto;
}

.emission-document-list > .ui-panel-body,
.reception-document-list > .ui-panel-body,
.sgd-mp-list-panel > .ui-panel-body {
  padding: 12px 14px 16px;
}

.emission-document-list fieldset,
.reception-document-list fieldset,
.sgd-mp-list-panel fieldset {
  min-width: 0;
  margin: 0 0 10px;
  padding: 10px 12px 12px;
  background: #ffffff;
  border: 1px solid var(--sgd-border);
  border-radius: 8px;
}

.emission-document-list legend,
.reception-document-list legend,
.sgd-mp-list-panel legend {
  width: auto;
  margin: 0;
  padding: 0 5px;
  border: 0;
  color: var(--sgd-primary);
  font-size: 12px;
  font-weight: 700;
}

.emission-document-list fieldset fieldset,
.reception-document-list fieldset fieldset,
.sgd-mp-list-panel fieldset fieldset {
  margin: 0;
  padding: 7px;
  background: var(--sgd-surface-blue);
}

.reception-document-list td {
  padding: 3px 4px;
  color: var(--sgd-text);
  font-size: 12px;
  vertical-align: middle;
}

.reception-document-list input,
.reception-document-list select,
.reception-document-list textarea {
  max-width: 100%;
  border-radius: 4px;
  box-sizing: border-box;
}

.reception-document-list .reception-list-actions .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reception-document-list .reception-list-actions .btn {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--sgd-primary-dark) !important;
  border-radius: 5px !important;
  background: var(--sgd-primary-action) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
}

.reception-document-list .reception-list-actions .btn .glyphicon {
  color: inherit !important;
}

.reception-document-list .reception-list-actions .btn:hover,
.reception-document-list .reception-list-actions .btn:focus {
  border-color: rgba(255, 255, 255, 0.78) !important;
  color: #ffffff !important;
}

.reception-document-list .reception-list-actions .btn:focus {
  outline: 3px solid var(--sgd-primary-dark);
  outline-offset: 2px;
}

.reception-document-list .reception-list-actions .btn:active,
.reception-document-list .reception-list-actions .btn.active {
  background: var(--sgd-primary-dark) !important;
  border-color: var(--sgd-primary-dark) !important;
  color: #ffffff !important;
}

.reception-document-list #btnRecDocumentos {
  background: var(--sgd-success) !important;
  border-color: var(--sgd-success) !important;
  color: #ffffff !important;
}

.reception-document-list #btnRecDocumentos:hover,
.reception-document-list #btnRecDocumentos:focus {
  background: var(--sgd-success-surface) !important;
  border-color: var(--sgd-success) !important;
  color: var(--sgd-success) !important;
}

.reception-document-list .reception-list-actions button[title^="Salir"] {
  background: var(--sgd-error) !important;
  border-color: var(--sgd-error) !important;
  color: #ffffff !important;
}

.reception-document-list .reception-list-actions button[title^="Salir"]:hover,
.reception-document-list .reception-list-actions button[title^="Salir"]:focus {
  background: #a51b1b !important;
  border-color: #a51b1b !important;
  color: #ffffff !important;
}

.reception-document-list #divConfigBusqueda,
.reception-document-list #divConfigFiltro {
  margin-top: 8px;
  padding: 8px;
  background: var(--sgd-surface-blue);
  border: 1px solid var(--sgd-border);
  border-radius: 6px;
}

.reception-document-list > .ui-panel-body > form > table {
  table-layout: fixed;
}

.reception-document-list > .ui-panel-body > form > table > tbody > tr > td {
  vertical-align: top;
}

.reception-document-list #divGrdLstDocRecepResult {
  overflow-x: auto;
}

.btn-group.sgd-action-toolbar {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
  align-items: center;
}

.sgd-action-toolbar > .btn,
.sgd-action-toolbar > .btn-group {
  float: none !important;
}

.sgd-action-toolbar > .btn + .btn,
.sgd-action-toolbar > .btn + .btn-group,
.sgd-action-toolbar > .btn-group + .btn,
.sgd-action-toolbar > .btn-group + .btn-group,
.sgd-action-toolbar > .btn-group > .btn + .btn {
  margin-left: 0 !important;
}

.sgd-action-toolbar .btn {
  min-height: 34px;
  padding: 6px 10px !important;
  border: 1px solid var(--sgd-primary-dark) !important;
  border-radius: 5px !important;
  background: var(--sgd-primary-action) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.sgd-action-toolbar .btn .glyphicon {
  color: inherit !important;
}

.sgd-action-toolbar .btn:hover {
  background: var(--sgd-surface-blue) !important;
  border-color: var(--sgd-primary-action) !important;
  color: var(--sgd-primary-action) !important;
  box-shadow: none !important;
}

.sgd-action-toolbar .btn:focus {
  outline: none;
}

.sgd-action-toolbar .btn:focus-visible {
  outline: 3px solid var(--sgd-primary-dark);
  outline-offset: 2px;
}

.sgd-action-toolbar .btn:active,
.sgd-action-toolbar .btn.active {
  background: var(--sgd-primary-dark) !important;
  border-color: var(--sgd-primary-dark) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  transform: translateY(0);
}

.sgd-action-toolbar > .btn-group {
  display: inline-flex;
  border-radius: 5px;
}

.sgd-action-toolbar > .btn-group > .btn {
  float: none !important;
}

.sgd-action-toolbar > .btn-group > .btn:first-child {
  border-radius: 5px 0 0 5px !important;
}

.sgd-action-toolbar > .btn-group > .btn:last-child {
  border-radius: 0 5px 5px 0 !important;
}

.sgd-action-toolbar .sgd-action-exit,
.sgd-action-toolbar button[title^="Salir"] {
  background: var(--sgd-error) !important;
  border-color: var(--sgd-error) !important;
  color: #ffffff !important;
}

.sgd-action-toolbar .sgd-action-exit:hover,
.sgd-action-toolbar button[title^="Salir"]:hover,
.sgd-action-toolbar button[title^="Salir"]:focus-visible {
  background: var(--sgd-error-surface) !important;
  border-color: var(--sgd-error) !important;
  color: var(--sgd-error) !important;
  box-shadow: none !important;
}

/* Keep the legacy reception list on the same action-toolbar contract. */
.reception-document-list .reception-list-actions > .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px !important;
  align-items: center;
}

.reception-document-list .reception-list-actions > .btn-group > .btn + .btn {
  margin-left: 0 !important;
}

.reception-document-list .reception-list-actions > .btn-group > .btn-group {
  gap: 0 !important;
}

.reception-document-list .reception-list-actions .btn-group .btn {
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.reception-document-list .reception-list-actions .btn:hover {
  background: var(--sgd-surface-blue) !important;
  border-color: var(--sgd-primary-action) !important;
  color: var(--sgd-primary-action) !important;
  box-shadow: none !important;
}

.reception-document-list .reception-list-actions .btn:focus {
  outline: none !important;
}

.reception-document-list .reception-list-actions .btn:focus-visible {
  outline: 3px solid var(--sgd-primary-dark) !important;
  outline-offset: 2px;
}

.reception-document-list .reception-list-actions .btn:active,
.reception-document-list .reception-list-actions .btn.active {
  box-shadow: none !important;
  transform: translateY(0);
}

.reception-document-list .reception-list-actions button[title^="Salir"]:focus {
  background: var(--sgd-error) !important;
  border-color: var(--sgd-error) !important;
  box-shadow: none !important;
}

.reception-document-list .reception-list-actions button[title^="Salir"]:hover,
.reception-document-list
  .reception-list-actions
  button[title^="Salir"]:focus-visible {
  background: var(--sgd-error-surface) !important;
  border-color: var(--sgd-error) !important;
  color: var(--sgd-error) !important;
  box-shadow: none !important;
}

/* Document edit toolbars are inserted by AJAX and share this visual contract. */
.sgd-document-toolbar,
#divToolBarDocVobo > .sgd-document-toolbar,
#divToolBarRecAdm > .sgd-document-toolbar,
#divToolBarEmiAdm > .sgd-document-toolbar,
#divToolBarEmiDocExt > .sgd-document-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px !important;
  align-items: center;
  --sgd-document-background: var(--sgd-primary-action);
  --sgd-document-hover: var(--sgd-info-surface);
  --sgd-document-color: var(--sgd-info);
  --sgd-document-active: var(--sgd-primary-dark);
}

.sgd-document-toolbar > .btn-group {
  display: inline-flex;
  gap: 0 !important;
}

.sgd-document-toolbar > .btn,
.sgd-document-toolbar > .btn-group {
  float: none !important;
}

.sgd-document-toolbar > .btn + .btn,
.sgd-document-toolbar > .btn + .btn-group,
.sgd-document-toolbar > .btn-group + .btn,
.sgd-document-toolbar > .btn-group + .btn-group,
.sgd-document-toolbar > .btn-group > .btn + .btn {
  margin-left: 0 !important;
}

.sgd-document-toolbar .btn,
#divToolBarDocVobo > .sgd-document-toolbar .btn,
#divToolBarRecAdm > .sgd-document-toolbar .btn,
#divToolBarEmiAdm > .sgd-document-toolbar .btn,
#divToolBarEmiDocExt > .sgd-document-toolbar .btn {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--sgd-document-color) !important;
  border-radius: 5px !important;
  background: var(--sgd-document-background) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.sgd-document-toolbar > .btn-group > .btn:first-child {
  border-radius: 5px 0 0 5px !important;
}

.sgd-document-toolbar > .btn-group > .btn:last-child {
  border-radius: 0 5px 5px 0 !important;
}

.sgd-document-toolbar .btn:hover {
  background: var(--sgd-document-hover) !important;
  border-color: var(--sgd-document-color) !important;
  box-shadow: none !important;
  color: var(--sgd-document-color) !important;
  transform: none;
}

.sgd-document-toolbar > .btn-group > .btn:hover {
  transform: translateY(0);
}

.sgd-document-toolbar .btn:focus {
  outline: none !important;
}

.sgd-document-toolbar .btn:focus-visible {
  outline: 3px solid var(--sgd-document-color) !important;
  outline-offset: 2px;
}

.sgd-document-toolbar .btn:active,
.sgd-document-toolbar .btn.active {
  background: var(--sgd-document-active) !important;
  border-color: var(--sgd-document-active) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  transform: translateY(0);
}

.sgd-document-toolbar .btn.sgd-document-action-primary,
.sgd-document-toolbar > .btn-group.sgd-document-action-primary > .btn {
  --sgd-document-background: var(--sgd-primary-action);
  --sgd-document-hover: var(--sgd-info-surface);
  --sgd-document-color: var(--sgd-info);
  --sgd-document-active: var(--sgd-primary-dark);
}

.sgd-document-toolbar .btn.sgd-document-action-success,
.sgd-document-toolbar > .btn-group.sgd-document-action-success > .btn {
  --sgd-document-background: var(--sgd-success);
  --sgd-document-hover: var(--sgd-success-surface);
  --sgd-document-color: var(--sgd-success);
  --sgd-document-active: #116b35;
}

.sgd-document-toolbar .btn.sgd-document-action-signature,
.sgd-document-toolbar > .btn-group.sgd-document-action-signature > .btn {
  --sgd-document-background: var(--sgd-signature);
  --sgd-document-hover: var(--sgd-signature-surface);
  --sgd-document-color: var(--sgd-signature);
  --sgd-document-active: var(--sgd-signature-hover);
}

.sgd-document-toolbar .btn.sgd-document-action-danger,
.sgd-document-toolbar > .btn-group.sgd-document-action-danger > .btn {
  --sgd-document-background: var(--sgd-error);
  --sgd-document-hover: var(--sgd-error-surface);
  --sgd-document-color: var(--sgd-error);
  --sgd-document-active: #8f1515;
}

/* AJAX toolbar selectors include IDs, so they override the legacy detail rules. */
#divToolBarDocVobo .sgd-document-toolbar .btn,
#divToolBarRecAdm .sgd-document-toolbar .btn,
#divToolBarEmiAdm .sgd-document-toolbar .btn,
#divToolBarEmiDocExt .sgd-document-toolbar .btn {
  background: var(
    --sgd-document-background,
    var(--sgd-info-surface)
  ) !important;
  border-color: var(--sgd-document-color, var(--sgd-info)) !important;
  color: #ffffff !important;
}

/* Action variants take precedence over title-specific rules from legacy AJAX views. */
#divToolBarDocVobo .sgd-document-toolbar .btn[class*="sgd-document-action-"],
#divToolBarRecAdm .sgd-document-toolbar .btn[class*="sgd-document-action-"],
#divToolBarEmiAdm .sgd-document-toolbar .btn[class*="sgd-document-action-"],
#divToolBarEmiDocExt .sgd-document-toolbar .btn[class*="sgd-document-action-"] {
  background: var(
    --sgd-document-background,
    var(--sgd-info-surface)
  ) !important;
  border-color: var(--sgd-document-color, var(--sgd-info)) !important;
  color: #ffffff !important;
}

#divToolBarDocVobo .sgd-document-toolbar .btn:hover,
#divToolBarRecAdm .sgd-document-toolbar .btn:hover,
#divToolBarEmiAdm .sgd-document-toolbar .btn:hover,
#divToolBarEmiDocExt .sgd-document-toolbar .btn:hover {
  background: var(--sgd-document-hover, var(--sgd-info-surface)) !important;
  border-color: var(--sgd-document-color, var(--sgd-info)) !important;
  box-shadow: none !important;
  color: var(--sgd-document-color, var(--sgd-info)) !important;
  transform: none;
}

#divToolBarDocVobo .sgd-document-toolbar > .btn-group > .btn:hover,
#divToolBarRecAdm .sgd-document-toolbar > .btn-group > .btn:hover,
#divToolBarEmiAdm .sgd-document-toolbar > .btn-group > .btn:hover,
#divToolBarEmiDocExt .sgd-document-toolbar > .btn-group > .btn:hover {
  transform: translateY(0);
}

#divToolBarDocVobo .sgd-document-toolbar .btn:focus,
#divToolBarRecAdm .sgd-document-toolbar .btn:focus,
#divToolBarEmiAdm .sgd-document-toolbar .btn:focus,
#divToolBarEmiDocExt .sgd-document-toolbar .btn:focus {
  background: var(
    --sgd-document-background,
    var(--sgd-info-surface)
  ) !important;
  border-color: var(--sgd-document-color, var(--sgd-info)) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
}

#divToolBarDocVobo .sgd-document-toolbar .btn:focus-visible,
#divToolBarRecAdm .sgd-document-toolbar .btn:focus-visible,
#divToolBarEmiAdm .sgd-document-toolbar .btn:focus-visible,
#divToolBarEmiDocExt .sgd-document-toolbar .btn:focus-visible {
  outline: 3px solid var(--sgd-document-color, var(--sgd-info)) !important;
  outline-offset: 2px;
}

#divToolBarDocVobo .sgd-document-toolbar .btn:active,
#divToolBarDocVobo .sgd-document-toolbar .btn.active,
#divToolBarRecAdm .sgd-document-toolbar .btn:active,
#divToolBarRecAdm .sgd-document-toolbar .btn.active,
#divToolBarEmiAdm .sgd-document-toolbar .btn:active,
#divToolBarEmiAdm .sgd-document-toolbar .btn.active,
#divToolBarEmiDocExt .sgd-document-toolbar .btn:active,
#divToolBarEmiDocExt .sgd-document-toolbar .btn.active,
#divToolBarDocVobo .sgd-document-toolbar > .btn-group.open > .dropdown-toggle,
#divToolBarRecAdm .sgd-document-toolbar > .btn-group.open > .dropdown-toggle,
#divToolBarEmiAdm .sgd-document-toolbar > .btn-group.open > .dropdown-toggle,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group.open
  > .dropdown-toggle {
  background: var(--sgd-document-active, var(--sgd-primary-dark)) !important;
  border-color: var(--sgd-document-active, var(--sgd-primary-dark)) !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

/* Signing and visa actions represent authorization, not a successful save. */
#divToolBarDocVobo button[title^="Visar Documento"],
#divToolBarDocVobo button[title^="Visar Documento"]:focus,
#divToolBarDocVobo button[title^="Visar Documento"] + .dropdown-toggle,
#divToolBarDocVobo button[title^="Visar Documento"] + .dropdown-toggle:focus,
.emission-document-detail #divToolBarEmiAdm button[title^="Firmar Documento"],
.emission-document-detail
  #divToolBarEmiAdm
  button[title^="Firmar Documento"]:focus,
.emission-document-detail
  #divToolBarEmiAdm
  button[title^="Firmar Documento"]
  + .dropdown-toggle,
.emission-document-detail
  #divToolBarEmiAdm
  button[title^="Firmar Documento"]
  + .dropdown-toggle:focus,
#divToolBarEmiAdm button[title^="Firmar Documento"],
#divToolBarEmiAdm button[title^="Firmar Documento"]:focus,
#divToolBarEmiAdm button[title^="Firmar Documento"] + .dropdown-toggle,
#divToolBarEmiAdm button[title^="Firmar Documento"] + .dropdown-toggle:focus {
  background: var(--sgd-signature) !important;
  border-color: var(--sgd-signature) !important;
  color: #ffffff !important;
}

#divToolBarDocVobo button[title^="Visar Documento"]:hover,
#divToolBarDocVobo button[title^="Visar Documento"] + .dropdown-toggle:hover,
.emission-document-detail
  #divToolBarEmiAdm
  button[title^="Firmar Documento"]:hover,
.emission-document-detail
  #divToolBarEmiAdm
  button[title^="Firmar Documento"]
  + .dropdown-toggle:hover,
#divToolBarEmiAdm button[title^="Firmar Documento"]:hover,
#divToolBarEmiAdm button[title^="Firmar Documento"] + .dropdown-toggle:hover {
  background: var(--sgd-signature-surface) !important;
  border-color: var(--sgd-signature) !important;
  color: var(--sgd-signature) !important;
}

/* Core document actions must not depend on AJAX classification or CSS variables. */
.sgd-document-toolbar button[title^="Grabar"],
.sgd-document-toolbar button[title^="Guardar"],
.sgd-document-toolbar button[title^="Recibir"],
.sgd-document-toolbar button[title^="Emitir"],
#divToolBarDocVobo button[title^="Grabar"],
#divToolBarRecAdm button[title^="Grabar"],
#divToolBarRecAdm button[title^="Recibir"],
#divToolBarEmiAdm button[title^="Grabar"],
#divToolBarEmiDocExt button[title^="Grabar"] {
  background: #15803d !important;
  border-color: #15803d !important;
  color: #ffffff !important;
}

.sgd-document-toolbar button[title^="Grabar"]:hover,
.sgd-document-toolbar button[title^="Guardar"]:hover,
.sgd-document-toolbar button[title^="Recibir"]:hover,
.sgd-document-toolbar button[title^="Emitir"]:hover,
#divToolBarDocVobo button[title^="Grabar"]:hover,
#divToolBarRecAdm button[title^="Grabar"]:hover,
#divToolBarRecAdm button[title^="Recibir"]:hover,
#divToolBarEmiAdm button[title^="Grabar"]:hover,
#divToolBarEmiDocExt button[title^="Grabar"]:hover {
  background: #dcfce7 !important;
  border-color: #15803d !important;
  color: #15803d !important;
}

.sgd-document-toolbar button[title^="Firmar"],
.sgd-document-toolbar button[title^="Firmar"] + .dropdown-toggle,
.sgd-document-toolbar button[title^="Visar"],
.sgd-document-toolbar button[title^="Visar"] + .dropdown-toggle,
#divToolBarDocVobo button[title^="Visar"],
#divToolBarDocVobo button[title^="Visar"] + .dropdown-toggle,
#divToolBarEmiAdm button[title^="Firmar"],
#divToolBarEmiAdm button[title^="Firmar"] + .dropdown-toggle {
  background: #6d28d9 !important;
  border-color: #6d28d9 !important;
  color: #ffffff !important;
}

.sgd-document-toolbar button[title^="Firmar"]:hover,
.sgd-document-toolbar button[title^="Firmar"] + .dropdown-toggle:hover,
.sgd-document-toolbar button[title^="Visar"]:hover,
.sgd-document-toolbar button[title^="Visar"] + .dropdown-toggle:hover,
#divToolBarDocVobo button[title^="Visar"]:hover,
#divToolBarDocVobo button[title^="Visar"] + .dropdown-toggle:hover,
#divToolBarEmiAdm button[title^="Firmar"]:hover,
#divToolBarEmiAdm button[title^="Firmar"] + .dropdown-toggle:hover {
  background: #ede9fe !important;
  border-color: #6d28d9 !important;
  color: #6d28d9 !important;
}

.sgd-document-toolbar button[title^="Salir"],
#divToolBarDocVobo button[title^="Salir"],
#divToolBarRecAdm button[title^="Salir"],
#divToolBarEmiAdm button[title^="Salir"],
#divToolBarEmiDocExt button[title^="Salir"] {
  background: #b42318 !important;
  border-color: #b42318 !important;
  color: #ffffff !important;
}

.sgd-document-toolbar button[title^="Salir"]:hover,
#divToolBarDocVobo button[title^="Salir"]:hover,
#divToolBarRecAdm button[title^="Salir"]:hover,
#divToolBarEmiAdm button[title^="Salir"]:hover,
#divToolBarEmiDocExt button[title^="Salir"]:hover {
  background: #fee2e2 !important;
  border-color: #b42318 !important;
  color: #b42318 !important;
}

/* Destructive document actions remain semantic even when AJAX styling is unavailable. */
.sgd-document-toolbar button[title^="Anular"],
.sgd-document-toolbar button[title^="Eliminar"],
.sgd-document-toolbar button[title^="Devolver"],
#divToolBarDocVobo button[title^="Anular"],
#divToolBarRecAdm button[title^="Anular"],
#divToolBarEmiAdm button[title^="Anular"],
#divToolBarEmiAdm button[title^="Eliminar"],
#divToolBarEmiAdm button[title^="Devolver"],
#divToolBarEmiDocExt button[title^="Anular"] {
  background: #b42318 !important;
  border-color: #b42318 !important;
  color: #ffffff !important;
}

.sgd-document-toolbar button[title^="Anular"]:hover,
.sgd-document-toolbar button[title^="Eliminar"]:hover,
.sgd-document-toolbar button[title^="Devolver"]:hover,
#divToolBarDocVobo button[title^="Anular"]:hover,
#divToolBarRecAdm button[title^="Anular"]:hover,
#divToolBarEmiAdm button[title^="Anular"]:hover,
#divToolBarEmiAdm button[title^="Eliminar"]:hover,
#divToolBarEmiAdm button[title^="Devolver"]:hover,
#divToolBarEmiDocExt button[title^="Anular"]:hover {
  background: #fee2e2 !important;
  border-color: #b42318 !important;
  color: #b42318 !important;
}

/* Semantic variants must override legacy reception and emission toolbar states. */
.sgd-document-toolbar .btn.sgd-document-action-success:hover,
#divToolBarDocVobo .sgd-document-toolbar .btn.sgd-document-action-success:hover,
#divToolBarRecAdm .sgd-document-toolbar .btn.sgd-document-action-success:hover,
#divToolBarEmiAdm .sgd-document-toolbar .btn.sgd-document-action-success:hover,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-success:hover {
  background: #dcfce7 !important;
  border-color: #15803d !important;
  color: #15803d !important;
}

.sgd-document-toolbar .btn.sgd-document-action-signature:hover,
#divToolBarDocVobo
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:hover,
#divToolBarRecAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:hover,
#divToolBarEmiAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:hover,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:hover {
  background: #ede9fe !important;
  border-color: #6d28d9 !important;
  color: #6d28d9 !important;
}

.sgd-document-toolbar .btn.sgd-document-action-danger:hover,
#divToolBarDocVobo .sgd-document-toolbar .btn.sgd-document-action-danger:hover,
#divToolBarRecAdm .sgd-document-toolbar .btn.sgd-document-action-danger:hover,
#divToolBarEmiAdm .sgd-document-toolbar .btn.sgd-document-action-danger:hover,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-danger:hover {
  background: #fee2e2 !important;
  border-color: #b42318 !important;
  color: #b42318 !important;
}

.sgd-document-toolbar .btn.sgd-document-action-success:focus:not(:hover),
#divToolBarDocVobo
  .sgd-document-toolbar
  .btn.sgd-document-action-success:focus:not(:hover),
#divToolBarRecAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-success:focus:not(:hover),
#divToolBarEmiAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-success:focus:not(:hover),
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-success:focus:not(:hover) {
  background: #15803d !important;
  border-color: #15803d !important;
  color: #ffffff !important;
}

.sgd-document-toolbar .btn.sgd-document-action-signature:focus:not(:hover),
#divToolBarDocVobo
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:focus:not(:hover),
#divToolBarRecAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:focus:not(:hover),
#divToolBarEmiAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:focus:not(:hover),
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:focus:not(:hover) {
  background: #6d28d9 !important;
  border-color: #6d28d9 !important;
  color: #ffffff !important;
}

.sgd-document-toolbar .btn.sgd-document-action-danger:focus:not(:hover),
#divToolBarDocVobo
  .sgd-document-toolbar
  .btn.sgd-document-action-danger:focus:not(:hover),
#divToolBarRecAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-danger:focus:not(:hover),
#divToolBarEmiAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-danger:focus:not(:hover),
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-danger:focus:not(:hover) {
  background: #b42318 !important;
  border-color: #b42318 !important;
  color: #ffffff !important;
}

.sgd-document-toolbar .btn.sgd-document-action-success:active,
.sgd-document-toolbar .btn.sgd-document-action-success.active,
#divToolBarDocVobo
  .sgd-document-toolbar
  .btn.sgd-document-action-success:active,
#divToolBarDocVobo
  .sgd-document-toolbar
  .btn.sgd-document-action-success.active,
#divToolBarRecAdm .sgd-document-toolbar .btn.sgd-document-action-success:active,
#divToolBarRecAdm .sgd-document-toolbar .btn.sgd-document-action-success.active,
#divToolBarEmiAdm .sgd-document-toolbar .btn.sgd-document-action-success:active,
#divToolBarEmiAdm .sgd-document-toolbar .btn.sgd-document-action-success.active,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-success:active,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-success.active {
  background: #116b35 !important;
  border-color: #116b35 !important;
  color: #ffffff !important;
}

.sgd-document-toolbar .btn.sgd-document-action-signature:active,
.sgd-document-toolbar .btn.sgd-document-action-signature.active,
#divToolBarDocVobo
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:active,
#divToolBarDocVobo
  .sgd-document-toolbar
  .btn.sgd-document-action-signature.active,
#divToolBarRecAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:active,
#divToolBarRecAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-signature.active,
#divToolBarEmiAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:active,
#divToolBarEmiAdm
  .sgd-document-toolbar
  .btn.sgd-document-action-signature.active,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-signature:active,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-signature.active {
  background: #5b21b6 !important;
  border-color: #5b21b6 !important;
  color: #ffffff !important;
}

.sgd-document-toolbar .btn.sgd-document-action-danger:active,
.sgd-document-toolbar .btn.sgd-document-action-danger.active,
#divToolBarDocVobo .sgd-document-toolbar .btn.sgd-document-action-danger:active,
#divToolBarDocVobo .sgd-document-toolbar .btn.sgd-document-action-danger.active,
#divToolBarRecAdm .sgd-document-toolbar .btn.sgd-document-action-danger:active,
#divToolBarRecAdm .sgd-document-toolbar .btn.sgd-document-action-danger.active,
#divToolBarEmiAdm .sgd-document-toolbar .btn.sgd-document-action-danger:active,
#divToolBarEmiAdm .sgd-document-toolbar .btn.sgd-document-action-danger.active,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-danger:active,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  .btn.sgd-document-action-danger.active {
  background: #8f1515 !important;
  border-color: #8f1515 !important;
  color: #ffffff !important;
}

.sgd-document-toolbar
  > .btn-group.open.sgd-document-action-success
  > .dropdown-toggle,
#divToolBarDocVobo
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-success
  > .dropdown-toggle,
#divToolBarRecAdm
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-success
  > .dropdown-toggle,
#divToolBarEmiAdm
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-success
  > .dropdown-toggle,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-success
  > .dropdown-toggle {
  background: #dcfce7 !important;
  border-color: #15803d !important;
}

.sgd-document-toolbar
  > .btn-group.open.sgd-document-action-signature
  > .dropdown-toggle,
#divToolBarDocVobo
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-signature
  > .dropdown-toggle,
#divToolBarRecAdm
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-signature
  > .dropdown-toggle,
#divToolBarEmiAdm
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-signature
  > .dropdown-toggle,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-signature
  > .dropdown-toggle {
  background: #ede9fe !important;
  border-color: #6d28d9 !important;
}

.sgd-document-toolbar
  > .btn-group.open.sgd-document-action-danger
  > .dropdown-toggle,
#divToolBarDocVobo
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-danger
  > .dropdown-toggle,
#divToolBarRecAdm
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-danger
  > .dropdown-toggle,
#divToolBarEmiAdm
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-danger
  > .dropdown-toggle,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group.open.sgd-document-action-danger
  > .dropdown-toggle {
  background: #fee2e2 !important;
  border-color: #b42318 !important;
}

/* Split dropdown buttons expose separate actions with a consistent visual separation. */
.sgd-action-toolbar > .btn-group.sgd-action-primary,
.reception-document-list
  .reception-list-actions
  > .btn-group
  > .btn-group.sgd-action-primary,
.sgd-document-toolbar > .btn-group[class*="sgd-document-action-"] {
  gap: 2px !important;
}

.sgd-action-toolbar > .btn-group.sgd-action-primary > .btn + .dropdown-toggle,
.reception-document-list
  .reception-list-actions
  > .btn-group
  > .btn-group.sgd-action-primary
  > .btn
  + .dropdown-toggle,
.sgd-document-toolbar
  > .btn-group[class*="sgd-document-action-"]
  > .btn
  + .dropdown-toggle {
  margin-left: 0 !important;
}

.sgd-action-toolbar > .btn-group.sgd-action-primary > .btn,
.reception-document-list
  .reception-list-actions
  > .btn-group
  > .btn-group.sgd-action-primary
  > .btn,
.sgd-document-toolbar > .btn-group[class*="sgd-document-action-"] > .btn {
  border-radius: 5px !important;
}

.sgd-action-toolbar .btn.sgd-action-primary,
.sgd-action-toolbar > .btn-group.sgd-action-primary > .btn {
  background: var(--sgd-primary-action) !important;
  border-color: var(--sgd-primary-action) !important;
  color: #ffffff !important;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.sgd-action-toolbar .btn.sgd-action-primary:hover {
  background: var(--sgd-surface-blue) !important;
  border-color: var(--sgd-primary-action) !important;
  color: var(--sgd-primary-action) !important;
}

.sgd-action-toolbar .btn.sgd-action-primary:focus:not(:hover) {
  background: var(--sgd-primary-action) !important;
  border-color: var(--sgd-primary-action) !important;
  color: #ffffff !important;
}

.sgd-action-toolbar .btn.sgd-action-primary:active,
.sgd-action-toolbar .btn.sgd-action-primary.active {
  background: var(--sgd-primary-dark) !important;
  border-color: var(--sgd-primary-dark) !important;
  color: #ffffff !important;
}

.sgd-action-toolbar.btn-group
  > .btn-group.open.sgd-action-primary
  > .dropdown-toggle,
.sgd-action-toolbar > .btn-group.open.sgd-action-primary > .dropdown-toggle {
  background: var(--sgd-surface-blue) !important;
  border-color: var(--sgd-primary-action) !important;
  color: var(--sgd-primary-action) !important;
  box-shadow: none !important;
}

.sgd-action-toolbar .btn.sgd-action-primary:hover .caret,
.sgd-action-toolbar.btn-group
  > .btn-group.open.sgd-action-primary
  > .dropdown-toggle
  .caret,
.sgd-action-toolbar
  > .btn-group.open.sgd-action-primary
  > .dropdown-toggle
  .caret {
  border-top-color: var(--sgd-primary-action) !important;
}

.sgd-document-toolbar > .btn-group > .dropdown-toggle .caret,
#divToolBarDocVobo .sgd-document-toolbar > .btn-group > .dropdown-toggle .caret,
#divToolBarRecAdm .sgd-document-toolbar > .btn-group > .dropdown-toggle .caret,
#divToolBarEmiAdm .sgd-document-toolbar > .btn-group > .dropdown-toggle .caret,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle
  .caret {
  border-top-color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

.sgd-document-toolbar > .btn-group > .dropdown-toggle:hover,
#divToolBarDocVobo .sgd-document-toolbar > .btn-group > .dropdown-toggle:hover,
#divToolBarRecAdm .sgd-document-toolbar > .btn-group > .dropdown-toggle:hover,
#divToolBarEmiAdm .sgd-document-toolbar > .btn-group > .dropdown-toggle:hover,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle:hover {
  background: var(--sgd-document-hover) !important;
  border-color: var(--sgd-document-color) !important;
  color: var(--sgd-document-color) !important;
}

.sgd-document-toolbar > .btn-group > .dropdown-toggle:hover .caret,
#divToolBarDocVobo
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle:hover
  .caret,
#divToolBarRecAdm
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle:hover
  .caret,
#divToolBarEmiAdm
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle:hover
  .caret,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle:hover
  .caret {
  border-top-color: var(--sgd-document-color) !important;
  border-bottom-color: var(--sgd-document-color) !important;
}

.sgd-document-toolbar > .btn-group > .dropdown-toggle:active,
.sgd-document-toolbar > .btn-group > .dropdown-toggle.active,
#divToolBarDocVobo .sgd-document-toolbar > .btn-group > .dropdown-toggle:active,
#divToolBarDocVobo .sgd-document-toolbar > .btn-group > .dropdown-toggle.active,
#divToolBarRecAdm .sgd-document-toolbar > .btn-group > .dropdown-toggle:active,
#divToolBarRecAdm .sgd-document-toolbar > .btn-group > .dropdown-toggle.active,
#divToolBarEmiAdm .sgd-document-toolbar > .btn-group > .dropdown-toggle:active,
#divToolBarEmiAdm .sgd-document-toolbar > .btn-group > .dropdown-toggle.active,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle:active,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle.active,
.sgd-document-toolbar > .btn-group.open > .dropdown-toggle,
#divToolBarDocVobo .sgd-document-toolbar > .btn-group.open > .dropdown-toggle,
#divToolBarRecAdm .sgd-document-toolbar > .btn-group.open > .dropdown-toggle,
#divToolBarEmiAdm .sgd-document-toolbar > .btn-group.open > .dropdown-toggle,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group.open
  > .dropdown-toggle {
  background: var(--sgd-document-hover) !important;
  border-color: var(--sgd-document-color) !important;
  color: var(--sgd-document-color) !important;
}

.sgd-document-toolbar > .btn-group > .dropdown-toggle:active .caret,
.sgd-document-toolbar > .btn-group > .dropdown-toggle.active .caret,
#divToolBarDocVobo
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle:active
  .caret,
#divToolBarDocVobo
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle.active
  .caret,
#divToolBarRecAdm
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle:active
  .caret,
#divToolBarRecAdm
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle.active
  .caret,
#divToolBarEmiAdm
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle:active
  .caret,
#divToolBarEmiAdm
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle.active
  .caret,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle:active
  .caret,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group
  > .dropdown-toggle.active
  .caret,
.sgd-document-toolbar > .btn-group.open > .dropdown-toggle .caret,
#divToolBarDocVobo
  .sgd-document-toolbar
  > .btn-group.open
  > .dropdown-toggle
  .caret,
#divToolBarRecAdm
  .sgd-document-toolbar
  > .btn-group.open
  > .dropdown-toggle
  .caret,
#divToolBarEmiAdm
  .sgd-document-toolbar
  > .btn-group.open
  > .dropdown-toggle
  .caret,
#divToolBarEmiDocExt
  .sgd-document-toolbar
  > .btn-group.open
  > .dropdown-toggle
  .caret {
  border-top-color: var(--sgd-document-color) !important;
  border-bottom-color: var(--sgd-document-color) !important;
}

/* State selectors mirror document split buttons while preserving state colors. */
.sgd-state-selector.btn-group,
.sgd-state-selector .btn-group {
  display: inline-flex;
  gap: 2px !important;
  vertical-align: middle;
}

.sgd-state-selector.btn-group > .btn,
.sgd-state-selector > .btn,
.sgd-state-selector .btn-group > .btn {
  float: none !important;
  min-height: 34px;
  padding: 6px 10px !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.428571429;
  white-space: nowrap;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.sgd-state-selector.btn-group > .btn + .btn,
.sgd-state-selector > .btn + .btn,
.sgd-state-selector .btn-group > .btn + .btn {
  margin-left: 0 !important;
}

.sgd-state-selector .btn:focus {
  outline: 3px solid var(--sgd-state-color, var(--sgd-primary-action)) !important;
  outline-offset: 2px;
}

.sgd-state-selector .btn:focus:not(:focus-visible) {
  outline: none !important;
}

.sgd-state-selector .btn.btn-danger {
  --sgd-state-color: #d9534f;
  --sgd-state-border: #d43f3a;
  --sgd-state-surface: var(--sgd-error-surface);
  --sgd-state-active: #d2322d;
  --sgd-state-active-border: #ac2925;
  background: var(--sgd-state-color) !important;
  border-color: var(--sgd-state-border) !important;
  color: #ffffff !important;
}

.sgd-state-selector .btn.btn-success {
  --sgd-state-color: #5cb85c;
  --sgd-state-border: #4cae4c;
  --sgd-state-surface: var(--sgd-success-surface);
  --sgd-state-active: #47a447;
  --sgd-state-active-border: #398439;
  background: var(--sgd-state-color) !important;
  border-color: var(--sgd-state-border) !important;
  color: #ffffff !important;
}

.sgd-state-selector .btn.btn-default {
  --sgd-state-color: var(--sgd-primary);
  --sgd-state-border: var(--sgd-border);
  --sgd-state-surface: var(--sgd-surface-blue);
  --sgd-state-active: var(--sgd-border);
  --sgd-state-active-border: var(--sgd-primary-hover);
  background: var(--sgd-bg) !important;
  border-color: var(--sgd-state-border) !important;
  color: var(--sgd-state-color) !important;
}

.sgd-state-selector .btn-danger:hover,
.sgd-state-selector .btn-success:hover,
.sgd-state-selector .btn-default:hover {
  background: var(--sgd-state-surface) !important;
  border-color: var(--sgd-state-color) !important;
  color: var(--sgd-state-color) !important;
}

.sgd-state-selector .btn:not([onclick]):not(.dropdown-toggle),
.sgd-state-selector .btn-readonly {
  cursor: default !important;
  pointer-events: none;
}

.sgd-state-selector .btn:focus-visible {
  outline: 3px solid var(--sgd-state-color, var(--sgd-primary-action)) !important;
  outline-offset: 2px;
}

.sgd-state-selector .btn-danger:active,
.sgd-state-selector .btn-danger.active,
.sgd-state-selector .btn-success:active,
.sgd-state-selector .btn-success.active,
.sgd-state-selector .btn-default:active,
.sgd-state-selector .btn-default.active {
  background: var(--sgd-state-active) !important;
  border-color: var(--sgd-state-active-border) !important;
  color: #ffffff !important;
}

.sgd-state-selector .btn-default:active,
.sgd-state-selector .btn-default.active {
  color: var(--sgd-state-color) !important;
}

.sgd-state-selector .dropdown-toggle:active,
.sgd-state-selector .dropdown-toggle.active {
  background: var(--sgd-state-surface) !important;
  border-color: var(--sgd-state-color) !important;
  color: var(--sgd-state-color) !important;
}

.sgd-state-selector .btn-readonly.btn-danger:active,
.sgd-state-selector .btn-readonly.btn-danger.active,
.sgd-state-selector .btn-readonly.btn-success:active,
.sgd-state-selector .btn-readonly.btn-success.active,
.sgd-state-selector .btn-readonly.btn-default:active,
.sgd-state-selector .btn-readonly.btn-default.active {
  background: var(--sgd-state-color) !important;
  border-color: var(--sgd-state-border) !important;
  color: #ffffff !important;
}

.sgd-state-selector.btn-group.open > .dropdown-toggle.btn-danger,
.sgd-state-selector.btn-group.open > .dropdown-toggle.btn-success,
.sgd-state-selector.btn-group.open > .dropdown-toggle.btn-default,
.sgd-state-selector .btn-group.open > .dropdown-toggle.btn-danger,
.sgd-state-selector .btn-group.open > .dropdown-toggle.btn-success,
.sgd-state-selector .btn-group.open > .dropdown-toggle.btn-default {
  background: var(--sgd-state-surface) !important;
  border-color: var(--sgd-state-color) !important;
  box-shadow: none !important;
  color: var(--sgd-state-color) !important;
}

.sgd-state-selector .btn-danger:hover .caret,
.sgd-state-selector .btn-success:hover .caret,
.sgd-state-selector .btn-default:hover .caret,
.sgd-state-selector.btn-group.open > .dropdown-toggle .caret,
.sgd-state-selector .btn-group.open > .dropdown-toggle .caret {
  border-top-color: var(--sgd-state-color) !important;
  border-bottom-color: var(--sgd-state-color) !important;
}

.sgd-state-selector .dropdown-toggle:active .caret,
.sgd-state-selector .dropdown-toggle.active .caret {
  border-top-color: var(--sgd-state-color) !important;
  border-bottom-color: var(--sgd-state-color) !important;
}

.sgd-state-selector .btn-danger.disabled,
.sgd-state-selector .btn-danger[disabled],
.sgd-state-selector .btn-danger.disabled:hover,
.sgd-state-selector .btn-danger[disabled]:hover,
.sgd-state-selector .btn-success.disabled,
.sgd-state-selector .btn-success[disabled],
.sgd-state-selector .btn-success.disabled:hover,
.sgd-state-selector .btn-success[disabled]:hover {
  background: var(--sgd-state-color) !important;
  border-color: var(--sgd-state-border) !important;
  color: #ffffff !important;
}

.sgd-state-selector .btn-default.disabled,
.sgd-state-selector .btn-default[disabled],
.sgd-state-selector .btn-default.disabled:hover,
.sgd-state-selector .btn-default[disabled]:hover {
  background: var(--sgd-bg) !important;
  border-color: var(--sgd-state-border) !important;
  color: var(--sgd-state-color) !important;
}

.sgd-state-selector .dropdown-menu {
  margin-top: 2px;
}

@media (max-width: 760px) {
  .reception-document-list {
    width: 100% !important;
    margin: 0 !important;
  }

  .emission-document-list > .ui-panel-body,
  .reception-document-list > .ui-panel-body,
  .sgd-mp-list-panel > .ui-panel-body {
    padding: 8px;
  }

  .reception-document-list > .ui-panel-body > form > table,
  .reception-document-list > .ui-panel-body > form > table > tbody,
  .reception-document-list > .ui-panel-body > form > table > tbody > tr,
  .reception-document-list > .ui-panel-body > form > table > tbody > tr > td {
    display: block;
    width: 100% !important;
  }

  .reception-document-list .reception-list-actions > .btn-group > .btn {
    flex: 1 1 130px;
  }

  .sgd-action-toolbar > .btn {
    flex: 1 1 130px;
  }

  .sgd-document-toolbar > .btn {
    flex: 1 1 130px;
  }
}
