/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* CSS styles only for DEMO EXAMPLES */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
      * {
        box-sizing: border-box;
      }
      /* Define browser window centered via "html" */
      /* with left/right screen padding = 0.5rem   */
      /* for left/right fixed indent in browser    */
      html {
        width: calc(100% - 1rem);
        margin: 0 auto;
        font-size: 16px;
        scroll-behavior: smooth;
      }
      /* ----------------------------------------- */
      body {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        padding: 0;
      }
      p {
        margin-block-start: 0;
        margin-block-end: 0.5rem;
      }
      .txt-center {
        text-align: center;
        margin: 0 auto;
      }
      .txt-bold {
        font-weight: 600;
      }
      .txt-comment {
        color: #4466ff;
      }
      pre {
        display: inline-block;
        margin-block: .5rem;
      }
      code {
        padding: .5rem 1rem;
        background-color: #f0f0f0;
      }
      h1,
      h2,
      h3 {
        margin-block-start: 0;
        margin-block-end: 0;
      }
      h2 span {
        font-size: 75%;
        font-weight: 600;
      }
      h3 {
        padding: 0.75rem 0;
      }
      h3 span {
        font-size: 95%;
        font-weight: 400;
      }
      h4 {
        margin-block-start: 0.5rem;
        margin-block-end: 0.5rem;
      }
      h5 {
        margin-block-start: 0.375rem;
        margin-block-end: 0.1875rem;
      }
      i,
      h4 i,
      h3 i {
        font-weight: 600;
        color: #cc0000;
      }
      .large {
        font-size:large;
      }
      .larger {
        font-size:larger;
      }
      h3 span a {
        color: #fff;
      }

/* DEMO layout styles */
/* ------------------ */
      header {
        background-color: #333;
        color: #fff;
      }
      .container {
        max-width: 1400px;
      }
      .sample-wrapper {
        width: 100%;
        margin: 0 auto;
      }
      .section {
        width: 100%;
        margin: 0;
        padding: 0;
      }
      .color-gray,
      .color-bgrd-gray {
        background-color: #d0d0d0 !important;
      }
      .border-1px-gray {
        border-width: 1px !important;
        border-style: solid;
        border-color: #d0d0d0 !important;
      }
      .demo-red-border {
        padding: 1rem !important;
        border: 1px dashed #cc0000;
      }
      .color-red {
        color: #cc0000;
      }
      .color-blue {
        color: #4466ff;
      }
      .border-blue {
        border: 2px solid #4466ff !important;
      }
      .color-green {
        color: #008000 !important;
      }

    /* .row,
    .flex,
    .grid,
    .d-grid,
    .d-flex,
    .grid.row,
    .flex.row {
      &.border-1px-gray {
        border-width: 1px !important;

        border-style: solid;
        border-color: #d0d0d0 !important;

        .col,
        [class^="col-"] {
          border-width: 1px !important;
          border-style: solid;
          border-color: #d0d0d0 !important;
        }
      }
    } */

.class-name {
  display: inline-block;
  min-width: 100px;
  font-weight: 600;
  margin-right: 1rem;
}
.class-info {
  font-weight: 600;
  color: #4466ff;
}
.split:before {
  content: "\007C";
  padding: 0 .5rem 0 .375rem;
  color: #000;
}
i {
  /* color: #8998ff; */
  font-weight: 400;
}

    .border-1px-bottom {
      border-bottom: 1px solid #d0d0d0;
    }

      .border-2px-green {
        border-width: 2px !important;
        border-style: solid;
        border-color: #008000 !important;
      }
      .outline-2px-green {
        outline-width: 2px !important;
        outline-style: solid;
        outline-color: #008000 !important;
        outline-offset: 0;
      }

      /* box = wrapper for content in columns, to set margins/paddings */
      .box, 
      .box-fit {
        padding: .25rem .375rem !important; 
      }

      .h-100,
      .box.h-100,
      .box-fit.h-100 {
        background-color: #d0d0d0 !important;
      }

      .boxes-inline .box,
      .boxes-vertical .box,
      .boxes-inline .box-fit,
      .boxes-vertical .box-fit {
        color: #4466ff;
        border: 1px solid #4466ff;
        /* width: fit-content; */
        margin: 1px;
      }

      /* Demo GRIDBOX - background + borders for visibility in demo */
      .gridbox > [class^="col-"],
      .gridbox.grid-auto-fit div > [class^="col-"],
      .gridbox.grid-auto-fill div > [class^="col-"],
      .gridbox.grid-auto-fit div {
        background-color: #f5f5f5;
        /*outline: 1px solid #c0c0c0;*/ /* to show grid-column cell-pseudo-borders */
      }

      .gridbox.grid-auto-fit > [class^="box-fit"],
      .gridbox.grid-auto-fill > [class^="box-fit"] {
        background-color: #f5f5f5;
        /*outline: 1px solid #c0c0c0;*/ /* to show grid-column cell-pseudo-borders */
        padding-block: var(--universal-box-padding-block);
        padding-inline: var(--universal-box-padding-inline);
        margin: 0;
      }

      .gridbox.demo-red-borders div:not(.box-fit), 
      .gridbox.grid-auto-fit.demo-red-borders div:not(.box-fit),
      .gridbox.grid-auto-fill.demo-red-borders div:not(.box-fit)  {
          background-color: #f5f5f5;
          border: 1px solid #c0c0c0;
        }

      /* Demo Color coding for the 12-column gridbox DEMO */
      .demo-col-colors .col-8 {
        background-color: #cfe2ff !important;
      }
      .demo-col-colors .col-6 {
        background-color: #d1e7dd !important;
      }
      .demo-col-colors .col-6.h-100 {
          background-color: #d0d0d0 !important;
        }
      .demo-col-colors .col-4 {
        background-color: #fff3cd !important;
      }
      .demo-col-colors .col-3 {
        background-color: #f8d7da !important;
      }

      /* For Demo GRIDBOX fake DASHBOARD example */
      .dashboard-demo .grid-areas {
        display: grid;
        grid-template-areas:
          "header header header"
          "sidebar content content"
          "footer footer footer";
        grid-template-columns: 1fr 3fr;
        grid-template-rows: auto 1fr auto;
      }

      .dashboard-demo .grid-areas .header {
        grid-area: header;
      }
      .dashboard-demo .grid-areas .sidebar {
        grid-area: sidebar;
      }
      .dashboard-demo .grid-areas .content {
        grid-area: content;
      }
      .dashboard-demo .grid-areas .footer {
        grid-area: footer;
      }

      .dashboard-demo .grid-areas {
        min-height: 500px;
      }
      .dashboard-demo .grid-areas > div {
        padding: 1rem;
      }
      .dashboard-demo .grid-areas .header {
        background-color: #cfe2ff !important;
      }
      .dashboard-demo .grid-areas .sidebar {
        background-color: #d1e7dd !important;
      }
      .dashboard-demo .grid-areas .content {
        background-color: #fff3cd !important;
      }
      .dashboard-demo .grid-areas .footer {
        background-color: #f8d7da !important;
      }

      @media (max-width: 576px) {
        .dashboard-demo .grid-areas {
          grid-template-areas:
            "header"
            "sidebar"
            "content"
            "footer";
          grid-template-columns: 1fr;
        }
      }

      /* for Demo FLEXBOX - backgrounds + borders for visibility in demo */
      .flexbox .col,
      .flexbox [class^="col-"],
      .flexbox [class^="col-offset-"],
      .flexbox .row[class*="cols-"] > *,
      .flexbox.row .col,
      .flexbox.row [class^="col-"],
      .flexbox.row [class^="col-offset-"],
      .flexbox.row .row[class*="cols-"] > *,
      .row .col,
      .row [class^="col-"],
      .row [class^="col-offset-"],
      .row .row[class*="cols-"] > * {
        background-color: #f5f5f5;
        /* outline: 1px solid #c0c0c0; */ /* to show flex-column cell-pseudo-borders */

      }

      .demo-wh-100 .col-8 {
        background-color: #cfe2ff !important;
      }
      .demo-wh-100 .col-6 {
        background-color: #d1e7dd !important;
      }
      .demo-wh-100 .col-4 {
        background-color: #fff3cd !important;
      }
      .demo-wh-100 .col-3 {
        background-color: #f8d7da !important;
      }
      .demo-wh-100 .box-fit {
        background-color: transparent;
      }
      .demo-wh-100 .demo-flex-height-120px {
        min-height: 120px;
      }
      .demo-wh-100 .demo-flex-height-120px .box-fit {
        background-color: transparent;
        /* outline: 1px solid #c0c0c0; */
      }
      .demo-wh-100 .demo-flex-height-120px .box-fit.h-100 {
        background-color: #d0d0d0;
        /* outline: none; */
      }
      .height-120px {
        min-height: 120px;
      }

      .col-first,
      .col-sm-first {
        background-color: #d1e7dd !important;
      }
      .col-last,
      .col-sm-last {
        background-color: #fff3cd !important;
      }

      .col-sm-first .box-fit,
      .col-sm-last .box-fit {
        background-color: transparent;
      }

  /* OTHER TEST EXAMPLES */
  /* -------------------------------------------------------------------------------------------- */

  /* flexbox/gridbox borders when outline is not used for it */
  .demo-col-colors.border-test {
    margin: 0;
    padding: 0;
  }
  .demo-col-colors.border-test .row .col-sm-3:nth-child(4),
	.demo-col-colors.border-test .row .col-xl-3:nth-child(4) {
		background-color: #f0f0f0;
	}

/* SUBGRID demo - as Cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(248px, 100%), 1fr));
  gap: 1rem;
  padding: 0;
}
.card {
  overflow: hidden;
  grid-row: span 4;
  padding: 0;
  margin: 0 !important;
}
@supports (grid-template-rows: subgrid) {
  .card {
    display: grid;
    gap: 0;
    grid-template-rows: subgrid;
  }
}
@supports not (grid-template-rows: subgrid) {
  .card {
    display: flex;
    gap: 0;
    flex-direction: column;
  }
  .card .content {
    flex-grow: 1;
  }
}
.card .header,
.card .content,
.card .footer {
  border: 1px solid #dadada;
}
/* to prevent doubling borders between */
.card .content,
.card .footer {
  margin-top: -1px;
}

.card .header {
  margin: 0;
  padding: 1rem;
  background: #e9e9e9;
  font-weight: 600;
}
.card .content {
  margin: 0;
  padding: 1rem;
  background: #f0f0f0;
}
.card .footer {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  padding: 1rem;
  background: #f6f6f6;
}
.button {
    background-color: #fff;
    border: 1px solid #d0d0d0;
    color: #333;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-bottom: calc(.5rem - 1px);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: calc(.5rem - 1px);
    text-align: center;
    white-space: nowrap;
}

/* ---------------------------------------------------------------------------- */
  @media (max-width: 576px) {
    .txt-center strong {display: block;}
  }