#md-article {
  margin-bottom: 7rem;
  padding: 1rem 0;
}

#md-article [id] {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#md-article [id]:target {
  background: linear-gradient(transparent, #f6ff5f);
}

#md-article hr {
  margin: 2rem 0;
}

#md-article ul {
  list-style: disc;
}

#md-article ol {
  list-style: decimal;
}

#md-article blockquote {
  margin-left: 0;
  padding: 0 1rem;
  border-left: 0.25em solid #d1d9e0;
  color: #59636e;
}

#md-article img {
  display: block;
  width: 60%;
  max-width: 100%;
  margin: auto;
  box-shadow:
    0 0.2rem 0.5rem rgba(0 0 0 / 5%),
    0 0 0.05rem rgba(0 0 0 / 10%);
}

#md-article img.img30 {
  width: 30%;
}

#md-article img.img40 {
  width: 40%;
}

#md-article img.img50 {
  width: 50%;
}

#md-article img.img70 {
  width: 70%;
}

#md-article img.img80 {
  width: 80%;
}

#md-article img.img83 {
  width: 83%;
}

#md-article img.img100 {
  width: 100%;
}

#md-article img.img-minw-300 {
  min-width: 300px;
}

#md-article img.img-w-300 {
  width: 300px;
  max-width: 300px;
}

#md-article img.img-w-500 {
  width: 500px;
  max-width: 500px;
}

#md-article img.img-w-600 {
  width: 600px;
  max-width: 600px;
}

/* stylelint-disable-next-line selector-class-pattern */
#md-article .tile_wrap {
  background-color: #f2f2f2;
}

/* stylelint-disable-next-line selector-class-pattern */
#md-article .tile_wrap .tile img {
  width: 100%;
}

#md-article table {
  width: 100%;
  margin: 2rem 0;
  overflow-x: auto;
}

#md-article table,
#md-article table th,
#md-article table td {
  border: 1px solid #4d4d4d;
  border-collapse: collapse;
}

#md-article table thead {
  color: #fff;
  font-weight: bold;
  text-align: center;
  background-color: #4d4d4d;
}

#md-article table th,
#md-article table td {
  padding: 1rem;
}

#md-article .caution,
#md-article .note {
  margin: 1.5rem 0;
  padding-bottom: 1px;
  box-shadow:
    0 0.2rem 0.5rem rgba(0 0 0 / 5%),
    0 0 0.05rem rgba(0 0 0 / 10%);
}

#md-article .caution > *,
#md-article .note > * {
  margin-left: 1rem;
}

#md-article .caution::before,
#md-article .note::before {
  display: block;
  padding: 0.5rem 0 0.2rem 1.7rem;
  font-weight: bold;
  background-repeat: no-repeat;
  background-position: 5px 6px;
  background-size: 1rem;
}

#md-article .caution {
  border-left: 5px solid #ff9100;
}

#md-article .caution::before {
  background-color: #fff4e5;
  background-image: url('/en/Products/Developer-Spatial-Reality-display/img/common/icn_warning.webp');
  content: 'Caution';
}

#md-article .note {
  border-left: 5px solid #448aff;
}

#md-article .note::before {
  background-color: #ecf3ff;
  background-image: url('/en/Products/Developer-Spatial-Reality-display/img/common/icn_tips.webp');
  content: 'Note';
}

#md-article .flex {
  display: flex;
}

/* stylelint-disable-next-line media-feature-range-notation */
@media all and (max-width: 960px) {
  #md-article .flex {
    flex-flow: column;
  }
}

#md-article .flex .flex-item {
  padding: 0 5px;
}

#md-article .flex .flex-item:first-child {
  padding-left: 5px;
}

#md-article .flex .flex-item:last-child {
  padding-right: 5px;
}

#md-article .flex .flex-item.fit {
  width: fit-content;
}

#md-article span.newlabel {
  position: relative;
  top: -0.35rem;
  display: inline-block;
  margin-left: 1rem;
  /* stylelint-disable-next-line shorthand-property-no-redundant-values */
  padding: 0.5rem 0.5rem 0.4rem 0.5rem;
  color: white;
  font-size: 60%;
  line-height: 1;
  background-color: #c09;
}

#md-article .faq {
  margin: 1rem 0;
  border-left: 5px solid #448aff;
  cursor: pointer;
}

#md-article .devlink > p {
  font-size: 1rem;
  text-align: center;
}

#md-article div.credit > p {
  grid-column: 1 / 3;
}

#md-article .faq > p:first-child {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  background-color: #ecf3ff;
}

#md-article .faq > p:first-child::before {
  padding-left: 1.5rem;
  background-color: #ecf3ff;
  background-image: url('/en/Products/Developer-Spatial-Reality-display/img/common/icn_tips.webp');
  background-repeat: no-repeat;
  background-size: 1rem;
  content: '';
}

#md-article .faq > p:not(:first-child) {
  display: none;
  padding-left: 1rem;
}

#md-article div.credit .credit-text {
  display: grid;
  grid-column: 2 / 3;
  grid-template-columns: auto 1fr;
  align-content: center;
}

#md-article div.credit .credit-text > p {
  margin: 0.1rem 0 0.1rem 1rem;
}

#md-article div.credit .credit-logo {
  grid-column: 1 / 2;
  max-width: 175px;
  margin: 1rem 1rem 1rem 0;
}

#md-article div.credit .credit-logo > p {
  margin: 0;
}

#md-article .faq.expand {
  padding-bottom: 1px;
}

#md-article .faq.expand > p:not(:first-child) {
  display: block;
}

#md-article div.credit .credit-text > p:nth-child(odd) {
  grid-column: 1 / 2;
}

#md-article div.credit .credit-text > p:nth-child(even) {
  grid-column: 2 / 3;
}

#md-article .devlink {
  margin: 20px 0;
  padding: 20px 0;
  border: solid 2px #333;
}

#md-article .devlink > p > a {
  font-size: 1.75rem;
}

/* stylelint-disable-next-line media-feature-range-notation */
@media screen and (max-width: 1190px) {
  #md-article img {
    max-width: 80%;
  }

  #md-article img.img-tab-80 {
    width: 80%;
  }

  #md-article img.img100 {
    max-width: 100%;
  }

  /* stylelint-disable-next-line selector-class-pattern */
  #md-article .tile_wrap .tile img {
    width: 100%;
    max-width: 100%;
  }
}

/* stylelint-disable-next-line media-feature-range-notation */
@media screen and (max-width: 640px) {
  #md-article img {
    max-width: 100%;
  }

  #md-article div.credit .credit-text {
    grid-column: 1 / -1;
  }

  #md-article div.credit .credit-logo {
    grid-column: 1 / -1;
  }

  #md-article div.credit .credit-text > p:nth-child(odd) {
    grid-column: 1 / -1;
  }

  #md-article div.credit .credit-text > p:nth-child(even) {
    grid-column: 1 / -1;
  }

  #md-article img.img-sp-100 {
    width: 100%;
  }
}

#md-article a.btn {
  display: inline-block;
  box-sizing: border-box;
  padding: 10px 20px;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  background-color: #3865e0;
}

#md-article div.credit {
  display: grid;
  grid-template-columns: auto 1fr;
  margin-top: 5rem;
  padding: 0.25rem 1rem;
  background-color: #c5e1fd;
}

.bg-white {
  background-color: #fff;
}

.justify-center {
  justify-content: center;
}
