.drop-demo-container h1,
.drop-demo-container h2,
.drop-demo-container h3,
.drop-demo-container h4,
.drop-demo-container h5,
.drop-demo-container h6 {
  font-size: inherit;
  font-weight: inherit;
}

.ltr {
  text-align: left;
}

.rtl {
  text-align: right;
}

.editor-container {
  margin: 20px auto 20px auto;
  border-radius: 2px;
  max-width: 600px;
  color: #000;
  position: relative;
  line-height: 20px;
  font-weight: 400;
  text-align: left;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.editor-inner {
  background: #fff;
  position: relative;
}

.editor-input {
  min-height: 150px;
  resize: none;
  font-size: 16px;
  caret-color: rgb(5, 5, 5);
  position: relative;
  tab-size: 1;
  outline: 0;
  padding: 15px 10px;
  caret-color: #444;
}

.editor-placeholder {
  color: #999;
  overflow: hidden;
  position: absolute;
  text-overflow: ellipsis;
  top: 15px;
  left: 10px;
  font-size: 15px;
  user-select: none;
  display: inline-block;
  pointer-events: none;
}

.editor-text-bold {
  font-weight: bold;
}

.editor-text-italic {
  font-style: italic;
}

.editor-text-underline {
  text-decoration: underline;
}

.editor-text-strikethrough {
  text-decoration: line-through;
}

.editor-text-underlineStrikethrough {
  text-decoration: underline line-through;
}

.editor-text-bold.editor-text-italic {
  font-weight: bold;
  font-style: italic;
}

.editor-text-underline.editor-text-strikethrough {
  text-decoration: underline line-through;
}

.editor-text-bold.editor-text-italic.editor-text-underline {
  font-weight: bold;
  font-style: italic;
  text-decoration: underline;
}

.editor-text-bold.editor-text-italic.editor-text-underline.editor-text-strikethrough {
  font-weight: bold;
  font-style: italic;
  text-decoration: underline line-through;
}

.editor-text-code {
  background-color: rgb(240, 242, 245);
  padding: 1px 0.25rem;
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 94%;
}

.editor-link {
  color: rgb(33, 111, 219);
  text-decoration: none;
}

.tree-view-output {
  display: block;
  background: #222;
  color: #fff;
  padding: 5px;
  font-size: 12px;
  white-space: pre-wrap;
  margin: 1px auto 10px auto;
  max-height: 250px;
  position: relative;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: auto;
  line-height: 14px;
}

.editor-code {
  background-color: rgb(240, 242, 245);
  font-family: Menlo, Consolas, Monaco, monospace;
  display: block;
  padding: 8px 8px 8px 52px;
  line-height: 1.53;
  font-size: 13px;
  margin: 0;
  margin-top: 8px;
  margin-bottom: 8px;
  tab-size: 2;
  /* white-space: pre; */
  overflow-x: auto;
  position: relative;
}

.editor-code:before {
  content: attr(data-gutter);
  position: absolute;
  background-color: #eee;
  left: 0;
  top: 0;
  border-right: 1px solid #ccc;
  padding: 8px;
  color: #777;
  white-space: pre-wrap;
  text-align: right;
  min-width: 25px;
}

.editor-code:after {
  content: attr(data-highlight-language);
  top: 0;
  right: 3px;
  padding: 3px;
  font-size: 10px;
  text-transform: uppercase;
  position: absolute;
  color: rgba(0, 0, 0, 0.5);
}

.editor-tokenComment {
  color: slategray;
}

.editor-tokenPunctuation {
  color: #999;
}

.editor-tokenProperty {
  color: #905;
}

.editor-tokenSelector {
  color: #690;
}

.editor-tokenOperator {
  color: #9a6e3a;
}

.editor-tokenAttr {
  color: #07a;
}

.editor-tokenVariable {
  color: #e90;
}

.editor-tokenFunction {
  color: #dd4a68;
}

.editor-paragraph {
  margin: 0;
  margin-bottom: 8px;
  position: relative;
}

.editor-paragraph:last-child {
  margin-bottom: 0;
}

.editor-heading-h1,
.editor-heading-h2,
.editor-heading-h3,
.editor-heading-h4,
.editor-heading-h5,
.editor-heading-h6 {
}

.editor-quote {
  margin: 0;
  margin-left: 20px;
  font-size: 15px;
  color: rgb(101, 103, 107);
  border-left-color: rgb(206, 208, 212);
  border-left-width: 4px;
  border-left-style: solid;
  padding-left: 16px;
}

.editor-list-ol {
  padding: 0;
  margin: 0;
  margin-left: 16px;
}

.editor-list-ul {
  padding: 0;
  margin: 0;
  margin-left: 16px;
}

.editor-listitem {
  margin: 8px 32px 8px 32px;
}

.editor-nested-listitem {
  list-style-type: none;
}

.ExampleEditorTheme__table {
  border-collapse: collapse;
  border-spacing: 0;
  overflow-y: scroll;
  overflow-x: scroll;
  table-layout: fixed;
  width: 100%;
}

.ExampleEditorTheme__tableSelection *::selection {
  background-color: transparent;
}

.ExampleEditorTheme__tableSelected {
  outline: 2px solid rgb(60, 132, 244);
}

.ExampleEditorTheme__tableCell {
  border: 1px solid #bbb !important;
  width: auto !important;
  /* min-width: 75px; */
  vertical-align: middle !important;
  text-align: start;
  padding: 6px 8px;
  position: relative;
  outline: none;
}

.ExampleEditorTheme__tableCellResizer {
  position: absolute;
  right: -4px;
  height: 100%;
  width: 8px;
  cursor: ew-resize;
  z-index: 10;
  top: 0;
}

.ExampleEditorTheme__tableCellHeader {
  background-color: #f2f3f5;
  text-align: start;
}

.ExampleEditorTheme__tableCellSelected {
  caret-color: transparent;
}

.ExampleEditorTheme__tableCellSelected::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: highlight;
  mix-blend-mode: multiply;
  content: '';
  pointer-events: none;
}

.ExampleEditorTheme__tableAddColumns {
  position: absolute;
  background-color: #eee;
  height: 100%;
  animation: table-controls 0.2s ease;
  border: 0;
  cursor: pointer;
}

.ExampleEditorTheme__tableAddColumns:after {
  /* background-image: url(../images/icons/plus.svg); */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.ExampleEditorTheme__tableAddColumns:hover,
.ExampleEditorTheme__tableAddRows:hover {
  background-color: #c9dbf0;
}

.ExampleEditorTheme__tableAddRows {
  position: absolute;
  width: calc(100% - 25px);
  background-color: #eee;
  animation: table-controls 0.2s ease;
  border: 0;
  cursor: pointer;
}

.ExampleEditorTheme__tableAddRows:after {
  /* background-image: url(../images/icons/plus.svg); */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

@keyframes table-controls {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.ExampleEditorTheme__tableCellResizeRuler {
  display: block;
  position: absolute;
  width: 1px;
  background-color: rgb(60, 132, 244);
  height: 100%;
  top: 0;
}

.ExampleEditorTheme__tableCellActionButtonContainer {
  display: block;
  right: 5px;
  top: 6px;
  position: absolute;
  z-index: 4;
  width: 20px;
  height: 20px;
}

.ExampleEditorTheme__tableCellActionButton {
  background-color: #eee;
  display: block;
  border: 0;
  border-radius: 20px;
  width: 20px;
  height: 20px;
  color: #222;
  cursor: pointer;
}

.ExampleEditorTheme__tableCellActionButton:hover {
  background-color: #ddd;
}

.drop-demo-outer {
    padding-top: 0.25rem; /* 上面保留 0.5rem */
}

.object-center {
    object-position: center;
}

.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

.w-24 {
    width: 6rem;
}

.w-36 {
    width: 9rem;
}

.h-24 {
    height: 6rem;
}

.h-36 {
    height: 9rem;
}

.h-80 {
    height: 20rem;
}

.h-96 {
    height: 24rem;
}

.top-14 {
    top: 3.5rem;
}

.left-14 {
    left: 3.5rem;
}

.top-left-half {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.tracking-widests {
    letter-spacing: 0.35em;
}

.list-disc {
    padding-left: 2rem;
    list-style-type: disc;
}

.max-w-sm {
    max-width: 24rem;
}

@media (min-width: 992px) {
    .position-lg-absolute {
        position: absolute;
    }

    .position-md-absolute {
        position: absolute;
    }
}

@media (max-width: 991.98px) {
    .rwd-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767.98px) {
    .rwd-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

@media (max-width: 991.98px) { 
    .drop-row .drop-col {
        width: 50% !important;
    }
}
 
@media (max-width: 767.98px) { 
    .drop-row .drop-col {
        width: 100% !important;
    }
}

/* --------------------樣板樣式-------------------- */
/* 表尾 */
.footer-temp1-menu {
    display: grid;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    row-gap: 10px;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .footer-temp1-title {
        padding: 15px;
        position: relative;
        border-bottom: solid 1px #F2F2F2;
        font-weight: normal;
        text-align: center;
    }

    .footer-temp1-title * {
        font-size: 16px !important;
    }

    .footer-temp1-title > * {
        margin-bottom: 0;
    }

    .footer-temp1-title::after {
        content: "\f067";
        font-family: 'Font Awesome 6 Free';
        position: absolute;
        top: 50%;
        right: 40px;
        transform: translateY(-50%);
        font-size: 16px;
        font-weight: bold;
        color: #44596B;
    }

    .footer-temp1-title.active {
        background-color: #E5E5E5;
        color: #fff;
    }

    .footer-temp1-title.active::after {
        content: "\f068";
    }

    .footer-temp1-content {
        display: none;
        padding: 16px 0;
        text-align: center;
        background: #EEEEEE;
    }

    .footer-temp1-content > *:last-child {
        margin-bottom: 0;
    }

    .footer-temp1-menu {
        grid-template-rows: none;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: row;
    }

    .prod-temp2-title,
    .prod-temp2-note {
      padding-top: 0 !important;
    }
}