.bs-icon {
  --bs-icon-size: .75rem;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: var(--bs-icon-size);
  width: calc(var(--bs-icon-size) * 2);
  height: calc(var(--bs-icon-size) * 2);
  color: var(--bs-primary);
}

.bs-icon-xs {
  --bs-icon-size: 1rem;
  width: calc(var(--bs-icon-size) * 1.5);
  height: calc(var(--bs-icon-size) * 1.5);
}

.bs-icon-sm {
  --bs-icon-size: 1rem;
}

.bs-icon-md {
  --bs-icon-size: 1.5rem;
}

.bs-icon-lg {
  --bs-icon-size: 2rem;
}

.bs-icon-xl {
  --bs-icon-size: 2.5rem;
}

.bs-icon.bs-icon-primary {
  color: var(--bs-white);
  background: var(--bs-primary);
}

.bs-icon.bs-icon-primary-light {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .2);
}

.bs-icon.bs-icon-semi-white {
  color: var(--bs-primary);
  background: rgba(255, 255, 255, .5);
}

.bs-icon.bs-icon-rounded {
  border-radius: .5rem;
}

.bs-icon.bs-icon-circle {
  border-radius: 50%;
}

.category-totals {
  padding-left: .25rem;
}

.table-container {
  display: block;
}

.cell-body.cell-lg-text p {
  margin-bottom: 0.35rem;
}

.home-page .main-container {
  padding: 0 .75rem;
  overflow-y: hidden;
}

.home-page .header-section h3 {
  padding-left: 0;
}

#primary-nav .navbar-brand img {
  max-width: 80px;
}

.dropdown-menu.dark-theme {
  --bs-dropdown-min-width: 10rem;
  --bs-dropdown-padding-x: 0;
  --bs-dropdown-padding-y: 0;
  --bs-dropdown-spacer: 0.125rem;
  --bs-dropdown-font-size: .95rem;
  --bs-dropdown-color: #ffffff;
  --bs-dropdown-bg: #303030;
  --bs-dropdown-border-color: none;
  --bs-dropdown-border-radius: 0.225rem;
  --bs-dropdown-border-width: 1px;
  --bs-dropdown-inner-border-radius: calc(0.375rem - 1px);
  --bs-dropdown-divider-bg: var(--bs-border-color-translucent);
  --bs-dropdown-divider-margin-y: 0.5rem;
  --bs-dropdown-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-dropdown-link-color: #ffffff;
  --bs-dropdown-link-hover-color: #333333;
  --bs-dropdown-link-hover-bg: #e9ecef;
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: #0d6efd;
  --bs-dropdown-link-disabled-color: #adb5bd;
  --bs-dropdown-item-padding-x: 1rem;
  --bs-dropdown-item-padding-y: 0.65rem;
  --bs-dropdown-header-color: #6c757d;
  --bs-dropdown-header-padding-x: 1rem;
  --bs-dropdown-header-padding-y: 0.5rem;
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: var(--bs-dropdown-min-width);
  padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
  margin: 0;
  font-size: var(--bs-dropdown-font-size);
  color: var(--bs-dropdown-color);
  text-align: left;
  list-style: none;
  background-color: var(--bs-dropdown-bg);
  background-clip: padding-box;
  border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
  border-radius: var(--bs-dropdown-border-radius);
}

.navbar-nav .nav-link.active, .navbar-nav .show > .nav-link {
  color: var(--bs-verde-td);
}

:root {
  --bs-azul-td: #00395c;
  --bs-verde-td: #006862;
}

.navbar-nav .nav-link {
  font-weight: 700;
}

.main-container {
  background-color: var(--bs-white);
  padding: 1.5rem 1rem;
  border-radius: .35rem;
  box-shadow: 0 0 15px rgba(0,0,0,.05);
}

.header-section h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--bs-verde-td);
  padding-left: 1rem;
}

.nav-description {
  font-size: .85rem;
  font-weight: 600;
  color: var(--bs-gray-500);
  margin-bottom: 4px;
}

.nav-partner {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--bs-verde-td);
}

.form-label {
  margin-bottom: .18rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--bs-gray-600);
  padding-left: .25rem;
}

.form-control, .form-select {
  display: block;
  width: 100%;
  padding: .475rem .65rem;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.5;
  color: #62696d;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #d9dfe4;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .15rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-control:focus, .form-select:focus {
  color: #3e4247;
  background-color: #fff;
  border-color: var(--bs-verde-td);
  outline: 0;
  box-shadow: none;
}

.label-lead label {
  /*font-weight: 600;*/
}

span.input-group-text {
  font-size: .80rem;
  font-weight: 800;
  color: var(--bs-gray-600);
}

.add-row {
  font-size: .75rem;
}

.total-heading {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--bs-gray-700);
  margin-bottom: .5rem;
}

.total-heading-h6 {
  color: var(--bs-gray-700);
  font-weight: 500;
  font-size: .90rem;
}

.totales-bloques p {
  font-size: .85rem;
  margin-bottom: 0.125rem;
}

.buttons-block .btn {
  padding: 0.40rem 1.25rem;
}

.last-save-data {
  font-weight: 800;
}

.last-save {
  font-size: .9rem;
  color: var(--bs-gray-600);
  padding-left: .5rem;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-verde-td);
  --bs-btn-border-color: var(--bs-verde-td);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #00524d;
  --bs-btn-hover-border-color: #00524d;
  --bs-btn-focus-shadow-rgb: none;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #003431;
  --bs-btn-active-border-color: #003431;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--bs-verde-td);
  --bs-btn-disabled-border-color: var(--bs-verde-td);
}

.header-login h2 {
  font-weight: 800;
  display: block;
  font-size: 1.8rem;
  color: var(--bs-verde-td);
}

.login-box a {
  font-size: .85rem;
  text-decoration: snow;
  color: #3e4247;
}

.login-box {
  box-shadow: 0px 0px 20px rgba(31,49,67,0.15);
  border: none;
  border-radius: .75rem;
  background-color: #ffffff;
}

.login-row .card {
  border: none;
  background: none;
}

.login-page {
  /*background: url("bg-login.jpg") center center / cover no-repeat;*/
}

#toast-container > div {
  opacity: 1;
  box-shadow: 0 0 8px rgba(0,0,0,0.025);
  padding: 17px 15px 17px 65px;
  background-size: 30px;
  /*font-weight: 700;*/
  min-width: 360px;
  line-height: 1.30;
  /*display: flex;*/
  border-radius: .25rem;
  transition: 250ms all ease-in-out;
}

#toast-container > div:hover {
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

#toast-container .toast-message {
  margin-top: 2px;
  font-weight: 500!important;
  font-size: .82rem;
  line-height: 1.22;
}

#toast-container .toast-title {
  font-weight: 800;
  font-size: .95rem;
}

.row-header .cell-header {
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: var(--bs-azul-td);
}

.cell-body.cell-lg-text {
  line-height: 1.2;
}

.cell-body.cell-lg-text small {
  display: block;
}

.row-body .cell-body {
  padding: 1.65rem .75rem;
  font-size: .9rem;
  color: var(--bs-gray-800);
}

.first-col {
  max-width: 110px;
}

.cell-header.date-col, .cell-body.date-col {
  max-width: 180px;
}

.row-body {
  border-bottom: 1px solid #ebebeb;
}

.btn-sm-fixed {
  padding: .55rem 1rem;
}

.row-body.status-finished {
  background-color: rgba(151,180,208,0.15);
  position: relative;
}

.row-body.status-finished .cell-body {
  color: var(--bs-gray-600);
}

.row-body:not(.status-finished) {
  cursor: pointer;
}

.row-body:not(.status-finished):hover {
  background-color: rgba(151,180,208,0.15);
}

.row-item .col:last-of-type .add-note {
  width: 20px;
  text-align: center;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(calc(-50% - 6px));
  cursor: pointer;
  color: #a1aab0;
  padding: 0 .5rem;
  z-index: 150;
}

.row-item .col:last-of-type, div.label-lead:not(.no-notes) .col:last-of-type {
  position: relative;
  padding-right: 40px!important;
  max-width: 32px;
  padding: 0;
}

.row-item .col:last-of-type .add-note:hover {
  color: var(--bs-azul-td);
}

.green-brand {
  color: var(--bs-verde-td);
  /*font-weight: 700!important;*/
}

.triunfo-logo {
  filter: brightness(65%);
  max-width: 110px;
}

.row-body.status-finished:after {
  position: absolute;
  z-index: 150;
  top: 0;
  right: 0;
  padding: .25rem 1rem;
  content: '\f1c1 \00a0 \00a0 Descargar PDF';
  background-color: var(--bs-verde-td);
  font-size: .86rem;
  font-weight: 700;
  box-shadow: 0 3px 5px rgba(0,0,0,.15);
  color: #FFFFFF;
  border-radius: 0 0 0 .5rem;
  display: none;
  transition: all 150ms ease-in-out;
  cursor: pointer;
  font-family: 'Font Awesome 5 Free', 'Nunito', sans-serif;
}

.row-body.status-finished:hover:after {
  display: block;
}

.form-search {
  position: relative;
}

.search-btn {
  position: absolute;
  right: 0;
  border: none;
  color: var(--bs-gray-500);
  font-size: .9rem;
  padding-top: 0.55rem;
  box-shadow: none;
}

.modal-header-primary {
  background-color: var(--bs-verde-td);
  color: #FFFFFF;
}

.p-aclaraciones {
  font-size: .9rem;
  line-height: 1.32;
  color: #3e4247;
}

.modal-footer-xs {
  padding: .5rem;
}

.modal-footer-xs .btn {
  font-size: .88rem;
}

.col-xs {
  max-width: 140px;
}

.thumb-container {
  border: 1px solid #d7d7d7;
  display: inline-flex;
  border-radius: .25rem;
  overflow: hidden;
  transition: 250ms all ease-in-out;
  padding: 0px;
}

.thumb-container:hover {
  border: 1px solid var(--bs-verde-td);
  transform: scale(1.05);
}

.thumb-container img {
  height: 130px;
  width: auto;
}

.thumb-container {
  margin-right: .75rem;
  margin-bottom: .75rem;
  position: relative;
}

.fotografias-preview {
  margin-top: .5rem;
}

#overlay-actions {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: rgba(0,104,98,0.79);
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 250ms all ease-in-out;
}

#overlay-actions a {
  padding: .25rem .5rem;
}

.thumb-container:hover #overlay-actions {
  opacity: 1;
}

.brand-header {
  max-width: 120px;
}