/**
 * トラシュー保存サンプル用。
 */
.ts-placeholder {
    display: none;
}
body.show-ts .ts-placeholder {
    display: block;
}
body.show-ts .testblock .ts-placeholder {
    margin-bottom: 10px;
}
.ts-placeholder .ts-button {
    width: 3em;
    padding: 0.4em 1em;
    text-align: center;
    border: 1px solid black;
    cursor: pointer;
    background-color: lightgray;
}
.ts-placeholder .ts-button:hover {
    background-color: gray;
    color: white;
}
.ts-placeholder .ts-show-hide-wrap {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.ts-placeholder:not(.ts-show) .ts-button.show {
    display: block;
}
.ts-placeholder.ts-show .ts-button.show {
    display: none;
}
.ts-placeholder:not(.ts-show) .ts-button.hide {
    display: none;
}
.ts-placeholder.ts-show .ts-button.hide {
    display: block;
}
.ts-placeholder.ts-show .input-content {
    display: block;
}
.ts-placeholder .input-content {
    display: none;
}
.ts-placeholder .input-content.ts-show {
    display: block;
}
.ts-placeholder .ts-clear-wrap {
    padding: 0.5em;
}
.ts-placeholder .ts-button.clear {
    background-color: #3388cc;
    color: white;
}
.ts-placeholder .ts-button.clear:hover {
    background-color: #205380;
}
/**
 * トラシュー開始前から表示されるもの
 */
.ts-alert {
    border-width: 2px;
    border-style: solid;
    margin-top: -0.75em;
    margin-left: 1.5em;
    margin-right: 1.5em;
    margin-bottom: 0;
    padding: 0.5em;
    font-weight: bold;
    border-color: red;
    color: red;
}
/**
 * 印刷ページ用。
 */
.ts-placeholder .specblock {
    color: black;
}
body[data-mode="productprintbuild"] .ts-placeholder.inputted .input-content {
    display: block;
}
body[data-mode="productprintbuild"] .ts-placeholder.inputted .specblock {
    border-width: 2px;
    border-style: solid;
    border-color: black;
    padding: 4px 12px;
}
body[data-mode="productprintbuild"] .ts-placeholder.inputted.invalid .specblock {
    border-color: red;
    border-style: dashed;
    color: red;
}
body[data-mode="productprintbuild"] .ts-placeholder .diagsection-memo-container {
    height: auto;
    overflow: auto;
}
body[data-mode="productprintbuild"] .ts-notes:not(:empty)::before {
    display: block;
}
body[data-mode="productprintbuild"] .ts-placeholder .ts-notes:not(:empty) {
    font-weight: bold;
    margin-top: 4px;
    margin-bottom: 4px;
}
body[data-mode="productprintbuild"] .ts-placeholder.inputted .input-content {
    font-weight: bold;
    border-width: 3px;
    border-style: solid;
    border-color: black;
    padding: 4px 12px;
}
body[data-mode="productprintbuild"] .ts-placeholder.inputted.invalid .input-content {
    border-color: red;
    border-style: dashed;
    color: red;
}
body[data-mode="productprintbuild"] .ans .yes-title.selected > div,
body[data-mode="productprintbuild"] .ans .no-title.selected > div,
body[data-mode="productprintbuild"] .ans .choice-title.selected > div {
    margin-left: -3px;
    border-width: 4px;
    border-style: solid;
    border-color: black;
}
body[data-mode="productprintbuild"] .ans .yes-title.selected.invalid > div,
body[data-mode="productprintbuild"] .ans .no-title.selected.invalid > div,
body[data-mode="productprintbuild"] .ans .choice-title.selected.invalid > div {
    border-color: red;
    border-style: dashed;
}
body[data-mode="productprintbuild"] .link-wrapper.selected {
    border-width: 3px;
    border-style: solid;
    border-color: black;
    padding: 4px;
}
body[data-mode="productprintbuild"] .link-wrapper.selected.invalid {
    border-color: red;
    border-style: dashed;
}
/**
 * フロー。
 */
body.troubleshooting-user .ques-flow {
    cursor: default;
}
body.troubleshooting-user .ques-flow.confirmed {
    cursor: pointer;
}
body.troubleshooting-user .ques-flow.active {
    cursor: default;
}
body.troubleshooting-user .ans-to a {
    cursor: default;
}
/**
 * Notes
 */
.ts-placeholder .diagsection-memo-container {
    display: none;
}
.ts-placeholder .diagsection-memo-container.ts-show {
    display: block;
    margin-bottom: 10px;
}
.ts-placeholder .diagsection-memo-container textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 80px;
}
.ts-placeholder .diagsection-memo-container > div {
    font-size: 10pt;
    line-height: 10pt;
    margin: 0;
    padding: 0;
}
/**
 * ダイアログ。
 */
.ts-dialog {
    display: none;
    font-size: 16px;
}
.ts-dialog .ts-dialog-message {
    margin-bottom: 12px;
}
.ts-dialog .ts-dialog-message:before {
    white-space: pre;
}
.ts-dialog-with-custom-message .ts-dialog .ts-dialog-message:before {
    content: '' !important;
}
/**
 * メッセージダイアログ。
 */
.ts-dialog-error-message .ts-dialog-error-code {
    font-size: 18px;
    margin-bottom: 12px;
}
/**
 * TD-04-01
 */
.ts-dialog-TD-04-01 .ts-dialog-inputs input {
    width: 120px;
    margin-right: 4px;
}
/**
 * TD-02-02D
 */
.ts-dialog-TD-02-02D .ts-dialog-inputs {
    display: flex;
    flex-direction: column;
}
.ts-dialog-TD-02-02D .ts-dialog-inputs > div {
    display: grid;
    grid-template-columns: 90px 100px 150px;
}
.ts-dialog-TD-02-02D .ts-dialog-inputs > div label {
    text-align: center;
}
#ts-dialog-TD-02-02D-input-1 {
    width: 80px;
}
#ts-dialog-TD-02-02D-input-2 {
    width: 120px;
}
/**
 * TD-14-06
 */
.ts-dialog-TD-14-06 {
    display: inline-block;
    padding: 4px 10px;
    border-width: 2px;
    border-style: solid;
    border-color: crimson;
    color: red;
}
body.domestic .ts-dialog-TD-14-06 {
    display: none;
}
