/* MISC */
.badge-event-block-kind {
  font-size: 0.8em;
  padding: 0.2em 0.5em;
  border-radius: 0.5em;
  margin-right: 0.5em;
}

.stick-error {
  border: 2px solid #d00 !important;
}
/*
* ユーザーによる一覧入力用の Stick
*/
.input-sticks > .stick {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #eee;
  border-radius: 0.375rem;
  margin-bottom: 5px;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.input-sticks > .stick > .stick-header {
  border-color: #ebeef4;
  background-color: #fff;
  /*color: #798eb3;*/
  padding: 15px;
  font-weight: bold;
  font-size: 1.1em;
}

.input-sticks > .stick > .stick-body {
  text-align: right;
  padding: 0 15px 15px 15px;
  font-size: 1.2em;
}

.input-sticks > .stick > .stick-sheet-title {
  padding: 5px 10px 0 10px;
}
.input-sticks > .stick > .stick-content {
  padding: 15px;
}

.input-sticks > .stick > .stick-button {
  padding: 5px 10px;
}

.input-sticks > .stick > .stick-description {
  padding: 5px 10px;
  font-size: 0.9em;
}
.input-sticks .stick-description table {
  width: 80%;
  border: 1px lightgray solid;
}
.input-sticks .stick-description table th,
.input-sticks .stick-description table td {
  text-align: center;
  border: light;
  border: 1px lightgray solid;
}
.input-sticks .stick-description table th {
  background: lightgray;
}

.input-sticks > .stick .stick-autofill-reason {
  font-size: 0.8em;
  padding: 5px 10px;
  text-align: left;
  display: inline-block;
  width: calc(100% - 100px);
}
.stick-autofill-reason .question-body {
  text-decoration: underline;
  font-weight: bold;
}
.stick-autofill-reason .question-choice-body {
}
.stick-autofill-reason .question-choice-value {
  font-weight: bold;
}

@media (max-width: 980px) {
  .input-sticks .stick-body.question-single_choice,
  .input-sticks .stick-body.question-choiced_value,
  .input-sticks .stick-body.question-multiple_choice {
    text-align: left !important;
  }
}
/*
* ユーザーが見る結果（入力ロック）用のStick
*/
.result-sticks > .stick {
  display: block;
  font-size: 0.7rem !important;
  margin-bottom: 0 !important;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #eee;
  border-radius: 0.375rem;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.result-sticks > .stick > .stick-header {
  display: inline-block !important;
  width: 40% !important;
  vertical-align: top;
  padding: 5px 15px !important;
  /*color: #798eb3;*/
  font-weight: bold;
  font-size: 1.1em;
}

.result-sticks > .stick > .stick-body {
  display: inline-block !important;
  width: 55% !important;
  text-align: left !important;
  vertical-align: top;
  padding: 5px 15px !important;
  font-size: 1.2em;
}

@media (max-width: 980px) {
  .result-sticks > .stick {
    display: block !important;
    font-size: 0.7rem !important;
    margin-bottom: 0 !important;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #eee;
    border-radius: 0.375rem;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
  }
  .result-sticks > .stick > .stick-header {
    display: block !important;
    width: 100% !important;
    vertical-align: top;
    padding: 5px 15px !important;
    /*color: #798eb3;*/
    font-weight: bold;
    font-size: 1.1em;
  }

  .result-sticks > .stick > .stick-body {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    vertical-align: top;
    padding: 5px 15px !important;
    font-size: 1.2em;
  }
}

.result-sticks > .stick .form-check-input:disabled {
  pointer-events: none;
  opacity: 1 !important;
}

.result-sticks > .stick .form-check-input:disabled ~ .form-check-label,
.result-sticks > .stick .form-check-input[disabled] ~ .form-check-label {
  cursor: default;
  opacity: 1 !important;
}

.result-sticks > .stick .form-check-input:checked ~ .form-check-label,
.result-sticks > .stick .form-check-input[checked] ~ .form-check-label {
  cursor: default;
  opacity: 1 !important;
  color: red;
}

.result-sticks > .stick input[type="text"]:disabled,
.result-sticks > .stick input[type="number"]:disabled {
  border: 0 !important;
  font-size: 1em;
  color: red;
  /* font-weight: bold; */
}

.result-sticks .stick-description {
  padding: 5px 10px;
  font-size: 0.9em;
}
.result-sticks .stick-description table {
  width: 80%;
  border: 1px lightgray solid;
}
.result-sticks .stick-description table th,
.result-sticks .stick-description table td {
  text-align: center;
  border: light;
  border: 1px lightgray solid;
}
.result-sticks .stick-description table th {
  background: lightgray;
}

.result-sticks > .stick .stick-autofill-reason {
  font-size: 0.8em;
  padding: 5px 10px;
  text-align: left;
  display: inline-block;
  width: calc(100% - 100px);
}

/*
* 管理者向けのシート編集向け Stick
*/
.edit-sticks > .stick {
  display: block;
  font-size: 0.7rem;
  margin-bottom: 2px;
  position: relative;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #eee;
  border-radius: 0.375rem;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.edit-sticks > .stick > .stick-position {
  display: inline-block !important;
  width: 26px !important;
  padding: 5px !important;
  text-align: center;
}

.edit-sticks > .stick > .stick-position div {
  width: 26px !important;
  text-align: center;
  font-size: 1.1rem;
  white-space: nowrap;
}

.edit-sticks > .stick > .question-body {
  font-weight: 200;
  padding: 0 5px;
  color: lightslategray;
}

.edit-sticks > .stick > .stick-header {
  display: inline-block !important;
  width: calc(50% - 26px);
  vertical-align: top;
  padding: 5px 15px !important;
}

.edit-sticks > .stick > .stick-body {
  display: inline-block !important;
  width: 49% !important;
  text-align: left !important;
  vertical-align: top;
  padding: 5px 15px !important;
  font-size: 1em;
}

.edit-sticks > .stick .form-check-input:disabled {
  pointer-events: none;
  opacity: 1 !important;
}

.edit-sticks > .stick .form-check-input:disabled ~ .form-check-label,
.edit-sticks > .stick .form-check-input[disabled] ~ .form-check-label {
  cursor: default;
  opacity: 1 !important;
}

.edit-sticks > .stick .form-check-input:checked ~ .form-check-label,
.edit-sticks > .stick .form-check-input[checked] ~ .form-check-label {
  cursor: default;
  opacity: 1 !important;
  color: red;
}

.edit-sticks > .stick input[type="text"]:disabled,
.edit-sticks > .stick input[type="number"]:disabled {
  border: 0 !important;
  font-size: 1.2em;
  color: red;
  font-weight: bold;
}

/*
* 管理者　設問一覧用のStick
*/

.question-sticks > .stick {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #eee;
  border-radius: 0.375rem;
  margin-bottom: 2px;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.question-sticks > .stick > .stick-header {
  padding: 5px 15px;
  font-weight: bold;
  font-size: 1em;
}

.question-sticks > .stick > .stick-body {
  text-align: right;
  padding: 5px 15px !important;
  font-size: 0.9em;
}

.question-sticks > .stick .form-check-input:disabled {
  pointer-events: none;
  opacity: 1 !important;
}

.question-sticks > .stick .form-check-input:disabled ~ .form-check-label,
.question-sticks > .stick .form-check-input[disabled] ~ .form-check-label {
  cursor: default;
  opacity: 1 !important;
}

.question-sticks > .stick .form-check-input:checked ~ .form-check-label,
.question-sticks > .stick .form-check-input[checked] ~ .form-check-label {
  cursor: default;
  opacity: 1 !important;
  color: red;
}

.question-sticks > .stick > input[type="text"]:disabled,
.question-sticks > .stick > input[type="number"]:disabled {
  border: 0 !important;
  font-size: 1.2em;
  color: red;
  font-weight: bold;
}
