body,
html {
  height: 100vh;
  margin: 0;
  padding: 0;
}

#description-area {
  height: 200px;
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.container {
  max-width: 1200px;
}


.max-length {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.detail-buttons {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: start;
}


.ratio8511 {
  /* --bs-aspect-ratio: 129.411764706%; */
  width: 1275px;
  /* aspect-ratio: 8.5 / 11; */
  height: 1650px;
  overflow-x: auto;
  position: relative;
  /* transform: translate(200%, -50%); */
  transform-origin: top left;
}

.scaleable-wrapper {
  resize: both;
  position: relative;
  transform-origin: top left;
  width: auto;
  /* --bs-aspect-ratio: 129.411764706%; */
  /* height: 1650px; */
  /* aspect-ratio: 8.5 / 11; */
  /* width: 1275px; */
}


table.table-fit {
  width: auto !important;
  table-layout: auto !important;
}

table.table-fit thead th,
table.table-fit tfoot th {
  width: auto !important;
}

table.table-fit tbody td,
table.table-fit tfoot td {
  width: auto !important;
}

#metaDescription {
  height: 150px;
}

#content {
  padding: 54px 0 0;

}

/* ------------------------- sidebar ---------------------------- */
.body-container {
  overflow: auto;
}

.sidebar {
  overflow: auto;
  /* max-width: 280px; */
  /* min-height: 550px; */
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

html {
  height: -webkit-fill-available;
}

.bi {
  vertical-align: -.125em;
  /* pointer-events: none; */
  fill: currentColor;
}

.dropdown-toggle {
  outline: 0;
}

.nav-flush .nav-link {
  border-radius: 0;
}

.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: .25rem .5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, .65);
  background-color: transparent;
  border: 0;
}

.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(0, 0, 0, .85);
  background-color: #d2f4ea;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(0, 0, 0, .85);
}

.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  display: inline-flex;
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #d2f4ea;
}

.scrollarea {
  overflow-y: auto;
}

.fw-semibold {
  font-weight: 600;
}

.lh-tight {
  line-height: 1.25;
}

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100;
  /* Behind the navbar */
  padding: 54px 0 0;
  /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}


.parent-link {
  display: grid;
  position: relative;
  grid-template-areas: repeat(2 1fr);
}

.child-image {
  grid-row-start: 1;
  /* grid-row-end: 2; */
  grid-column-start: 1;
  /* grid-column-end: 2; */
}

.child-delete {
  position: absolute;
  top: 0;
  right: 0;
  /* grid-row-start: 1; */
  /* grid-column-start: 1; */
}


.image-button {
  z-index: 1005;
}

.thumb-button {
  position: fixed;
  top: 0;
  right: 0;
  color: blue;
  /* z-index: 1000; */
}

.card h2 {
  margin-bottom: 0;
}

@media print {
  @page {
    size: auto;
    /* auto is the initial value */
    margin: 0mm;
    /* this affects the margin in the printer settings */
  }

  /* main {
    display: block;
    page-break-inside: avoid;

  } */

  html,
  body {
    height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  div {
    border: 1px solid white;
  }


  body * {
    visibility: hidden;
  }


  /* .container {
    max-width: 1275px;
  } */

  /* main, */
  #scaleable-wrapper,
  #scaleable-wrapper * {

    /* float: left; */
    page-break-inside: avoid;
    visibility: visible;
    /* overflow: auto; */
    /* height: 99%; */
  }

  #scaleable-wrapper {
    display: block;
    max-width: 1250px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
  }

  #scaleable-wrapper,
  #scaleable-design {
    padding-bottom: 0;
    margin-bottom: 0;

  }
}



@media (max-width: 991.98px) {


  .offcanvas-collapse {
    position: fixed;
    top: 56px;

    bottom: 0;
    left: 0%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #545454;
    transition: transform .3s ease-in-out,
      visibility .3s ease-in-out;

  }

  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}