/* @import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); */

:root {
  --dp-appbar-h: 65px;
  --dp-footer-h: 92px;
}

html, body {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'Segoe UI', sans-serif !important;
  height: 100%;
  overflow: hidden;
}

h1:focus {
  outline: none;
}

a, .btn-link {
  color: #0071c1;
}

.dp-toolbar-filter-labels label {
  color: #F5A623;
  font-weight: bold;
}

.scrollToTop {
  bottom: calc(var(--dp-footer-h) + 10px);
  position: fixed;
  right: 24px !important;
  pointer-events: auto;
  z-index: 1400;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
  padding-top: 1.1rem;
}

.dp-sidebar-drawer .mud-nav-link.dp-nav-link-active,
.dp-sidebar-drawer .mud-nav-link.active,
.dp-sidebar-drawer .mud-nav-link.mud-nav-link-active,
.dp-sidebar-drawer .mud-nav-link[aria-current="page"] {
  background-color: rgba(var(--mud-palette-primary-rgb), 0.10);
  box-shadow: inset 4px 0 0 var(--mud-palette-primary);
  color: var(--mud-palette-primary) !important;
  font-weight: 600;
}

  .dp-sidebar-drawer .mud-nav-link.dp-nav-link-active .mud-nav-link-text,
  .dp-sidebar-drawer .mud-nav-link.active .mud-nav-link-text,
  .dp-sidebar-drawer .mud-nav-link.mud-nav-link-active .mud-nav-link-text,
  .dp-sidebar-drawer .mud-nav-link[aria-current="page"] .mud-nav-link-text {
    color: var(--mud-palette-primary) !important;
  }

.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  color: red;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

  #blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
  }

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

  .blazor-error-boundary::after {
    content: "An error has occurred."
  }


.borderAndBg {
  border: 1px solid black;
  background-color: pink;
}

.myInputTxt {
  height: 50px;
  /*width: 75%;*/
}

.mud-select-input {
  height: 20px;
}


.mud-input {
  height: 40px !important;
}


.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, 20rem);
  grid-gap: 2rem;
  justify-content: left;
  padding-left: 0;
}

  .product-cards > li {
    height: 10rem;
    position: relative;
    background-size: cover;
    border-radius: 0.5rem;
    list-style-type: none;
    box-shadow: 0 3px 4px rgba(0,0,0,0.4);
    transition: 0.1s ease-out;
  }

    .product-cards > li:hover {
      transform: scale(1.02);
    }

.product-info {
  border-radius: 0.5rem;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  background: linear-gradient(rgba(0,0,0,0.7) 30%, rgba(0,0,0,0) 80%);
  padding: 1rem 1rem;
  color: #fff2cc;
  cursor: pointer;
  text-shadow: 0 2px 2px rgba(0,0,0,0.5);
  line-height: 1.25rem;
}

  .product-info .title {
    color: white;
    font-size: 1.4rem;
    display: block;
    margin: 0.2rem 0 0.4rem 0;
    font-family: 'Bahnschrift', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
  }

  .product-info .price {
    /*background-color: #08af08;*/
    background-color: grey;
    border-radius: 4px;
    bottom: 0.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    padding: 0rem 0.7rem;
    position: absolute;
    right: 1rem;
  }

.price::after {
  content: '\20AC';
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 0.2rem;
}

/*.main-content {*/
/*.mud-main-content {
  background-color: red;
  display: flex;
  flex-direction: column;
  height: calc(102vh - var(--mud-appbar-height));
  overflow-y: auto;
  padding-top: 0 !important;
}*/

/*mud-table for MudDataGrid's*/
.mud-table-cell {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Para forzar alineación a la izq. (override default class)*/
.mud-table-pagination {
  /* border: 1px solid orange; */
  display: flex !important;
  justify-content: flex-start !important;
}

/* Para remover el borde superior de la celda interior (override default class)*/
.mud-table-pagination-toolbar {
  border-top: none !important;
  /* margin-top: 5px; */
}

.small-button {
  /*display: inline-block;*/
  height: 25px;
  max-width: fit-content !important;
  min-width: fit-content !important;
  width: fit-content !important;
}

.gridFilterDates {
  /*display: inline-block;*/
  max-width: fit-content !important;
  min-width: fit-content !important;
  width: fit-content !important;
}


/*.custom-underline .mud-input-root {
  position: relative;
}

  .custom-underline .mud-input-root::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;*/ /* Ajusta el grosor del subrayado */
/*background-color: #1976d2;*/ /* Color del subrayado */
/*width: calc(100% - 20px);*/ /* Ajusta la longitud del subrayado según el contenido */
/*transition: width 0.3s ease-in-out;
  }

.custom-underline input {
  border-bottom: none;*/ /* Elimina el subrayado predeterminado */
/*}*/

.mud-input > textarea.mud-input-root {
  vertical-align: top !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}


.markdown-editor-textarea {
  background-color: var(--mud-palette-surface);
  border: 1px solid var(--mud-palette-divider);
  border-radius: 6px;
  color: var(--mud-palette-text-primary);
  font-size: 0.95rem;
  resize: vertical;
}


.markdown-body {
  border: 1px solid var(--mud-palette-divider);
  border-radius: 6px;
  color: #2e2e2e;
  /*font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;*/
  padding: 1rem;
}

  .markdown-body h1, .markdown-body h2, .markdown-body h3 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.3em;
  }

  .markdown-body pre {
    background-color: #f6f8fa;
    padding: 1em;
    overflow-x: auto;
    border-radius: 6px;
  }


.markdown-diff-viewer {
  display: flex;
  flex-direction: column;
  font-family: monospace;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.diff-line {
  display: flex;
  border-bottom: 1px solid #eee;
}

.diff-left, .diff-right {
  width: 50%;
  padding: 0.4rem 0.8rem;
  white-space: pre-wrap;
}

/*.diff-left {
  width: 50%;
  border-right: 1px solid #ccc;
}

.diff-right {
  width: 50%;
}*/

.diff-equal {
  background-color: white;
}


.diff-container {
  border: 1px solid #ddd;
  border-radius: 6px;
  max-height: 80vh;
  overflow-x: auto;
}

.diff-table {
  width: 100%;
  border-collapse: collapse;
  font-family: monospace;
  font-size: 0.9rem;
}

  .diff-table td {
    padding: 4px 8px;
    vertical-align: top;
    white-space: pre-wrap;
  }

  .diff-table td, .diff-table th {
    padding: 6px 12px;
    vertical-align: top;
    white-space: pre-wrap;
  }

.diff-equal {
  background-color: white;
}

.diff-added {
  background-color: #e6ffed;
}

.diff-removed {
  background-color: #ffeef0;
}

.diff-modified {
  background-color: #fff5cc; /* amarillo */
}

.collapsed-indicator {
  font-style: italic;
}

.line-number {
  width: 40px;
  text-align: right;
  padding-right: 8px;
  color: #888;
  font-size: 0.85rem;
  vertical-align: top;
}

.markdown-body img {
  max-width: 95%;
  height: auto;
  display: block;
  margin: 0.5rem auto;
  border-radius: 4px;
}

.autocomplete-popover .mud-list {
  max-height: 140px;
  overflow-y: auto;
}

.dp-tracklist textarea {
  min-height: 300px;
  /*white-space: pre-wrap;*/
}

.dp-comments textarea {
  min-height: 150px;
  /*white-space: pre-wrap;*/
}

.dp-price {
  font-size: 16px
}

.dp-mt2 {
  margin-top: 2px !important;
}

.nativeInput {
  background-color: white;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  font-size: 0.80rem;
  /*font-size: 0.95rem;*/
  height: 25px;
  padding: 2px 2px;
  width: 100%;
}

  .nativeInput:focus {
    outline: none;
    border-color: #ff9800;
  }

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

  input[type="number"]::-webkit-outer-spin-button,
  input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

.boxLink {
  align-items: center;
  background-color: white;
  border: 1px solid black;
  border-radius: 3px;
  color: black;
  display: inline-flex;
  justify-content: center;
  /*font-family: Arial, Helvetica, sans-serif;*/
  font-size: 12px;
  line-height: 1;
  min-width: 30px;
  height: 18px;
  margin: 1px;
  padding: 1px 4px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

  .boxLink:hover {
    background-color: #f5f5f5;
    color: black;
    text-decoration: none;
  }


.w100px {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.numericField {
  max-width: 100px !important;
}

.wrapperButtons {
  display: flex;
  justify-content: center;
  width: 100%;
}

.buttonFitContent {
  margin: 10px;
  width: fit-content;
}

.fitWidth {
  width: 1%;
  white-space: nowrap;
}

/*OrderSummary*/
.tablePageFooter {
  border: 2px solid black;
  height: 115px;
  margin-top: 20px;
  padding: 0px;
  text-align: right;
  width: 100%;
}

.paddR10 {
  padding-right: 10px;
}

.paddR20 {
  padding-right: 20px;
}

.paddR50 {
  padding-right: 50px;
}

.tdBorderBottom {
  border-bottom: 1px solid black !important;
}

.tdBorderLeft {
  border-left: 1px solid black !important;
}

.tdBorderRight {
  border-right: 1px solid black !important;
}

.tdBorderTop {
  border-top: 1px solid black !important;
}

.tdBorderTL {
  border-top: 1px solid black;
  border-left: 1px solid black;
}

.tdBorderTRL {
  border-top: 1px solid black;
  border-right: 1px solid black;
  border-left: 1px solid black;
}
/*OrderSummary*/

.tC {
  text-align: center !important;
}

.tL {
  text-align: left !important;
}

.tR {
  text-align: right !important;
}

.tpv-red {
  background: transparent !important;
  color: red !important;
}

.tpv-nowrap {
  white-space: nowrap;
}

.tpv-section {
  font-weight: bold;
  padding-top: 12px;
}

.tpv-total-box {
  border-bottom: 2px solid black;
  border-left: 2px solid black;
  border-top: 2px solid black;
  font-weight: bold;
}

.tpv-full-box {
  border: 2px solid black;
  font-weight: bold;
  text-align: center;
}

.tpv-ticket-rule {
  border-top: 2px solid #555;
  height: 0;
  margin: 0;
  width: 100%;
}
