/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.field-video_id_display {
  min-width: 7em;
}

.field-video_id_display a {
  word-break: break-word;
}

#result_list .button {
  white-space: nowrap;
}

html[data-theme="light"],
:root {
  --primary: #d9101d;
  --secondary: #d9101d;
}

.section-info {
  background-color: #07a;
  color: #fff;
  padding: 20px;
  border: 1px solid;
  border-radius: 8px;
}

.content-section {
  background: #eee;
  padding: 10px;
  border-radius: 5px;
}

.content-item {
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  margin-bottom: 10px;
}

.content-link {
  padding: 20px;
  display: block;
  flex: 1;
}

.action-items {
  padding: 5px 10px 5px 10px;
  margin-bottom: 10px;
}

.content-actions {
  padding: 10px;
}

.btn {
  display: inline-block;
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  margin: 0 0.5rem 0.75rem;
  text-decoration: none;
}

.btn.btn-edit {
  background-color: #27b;
  color: #fff;
}

.btn.btn-edit:hover {
  background-color: #269;
  color: #fff;
}

.btn.btn-create {
  background-color: #0a6;
  color: #fff;
}

.btn.btn-create:hover {
  background-color: #093;
  color: #fff;
}

.console-form .wrapper {
  margin: 0 auto;
  width: 1024px;
  background: #e7e7e7;
  padding: 30px;
}

.console-form .header-section {
  color: #315c90;
  border-bottom: 2px solid #315c90;
  justify-content: space-between;
  margin: 1.5rem 0 3rem;
  padding-bottom: 1rem;
  align-items: center;
  display: flex;
}

.console-form .header-section h1 {
  border: none;
  padding: 0;
  margin: 0;
}

.console-form .survey_prompt {
  margin: 0 0 0.5rem;
  display: block;
  font-size: 18px;
  color: #315c90;
  font-weight: bold;
  padding: 20px 0 0;
}

.console-form .survey_responses {
  position: relative;
  margin: 0;
}

.console-form .required,
.console-form .required-item {
  color: #d24419;
}

.console-form textarea,
.console-form input,
.console-form select {
  border-radius: 15px;
  padding: 1rem;
  color: #0e2949;
  width: 100%;

  &[type="radio"],
  &[type="checkbox"] {
    cursor: pointer;
  }

  &:disabled {
    pointer-events: none;
    opacity: 0.5;
  }
}

.console-form textarea,
.console-form input {
  border: 1px solid #d8e0e4;
  background-color: white;
  box-sizing: border-box;
}

.console-form textarea {
  border-bottom-right-radius: 0;
  resize: vertical;
  height: 100px;
}

.console-form input[type="checkbox"],
.console-form input[type="radio"] {
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 25px;
  position: absolute;
  width: 28px;
  height: 28px;
  border: none;
  left: 1rem;
  padding: 0;
  margin: 0;
  top: 14px;
}

.console-form input[type="checkbox"] {
  background-image: url("../images/custom-form.93a3b03a0200.png");
  background-position: 0px -493px;
}

.console-form input[type="radio"] {
  background-image: url("../images/custom-form.93a3b03a0200.png");
  background-position: 0px 1px;
}

.console-form input[type="file"] {
  border-color: white;
}

.console-form select {
  background-image: url("../images/custom-form.93a3b03a0200.png");
  background-position: right 1rem top -810px;
  background-color: #d8e0e4;
  border: 1px solid #d8e0e4;
  background-repeat: no-repeat;
  background-size: 25px;
  padding-right: 5rem;
  cursor: pointer;
  -webkit-appearance: none; /* For Chrome, Safari, Edge, Opera */
  -moz-appearance: none; /* For Firefox */
  appearance: none;
}

.button-block {
  padding: 1.5rem 0 2rem;
  text-align: center;
  position: relative;
  margin: 1rem 0;
}

.btn {
  background-color: #315c90;
  padding: 0.8rem 1.5rem;
  color: white;
  display: inline-block;
  border: none;
}
.btn:hover {
  background-color: #0e2949;
}

.btn-white {
  background-color: white;
  color: #0e2949;
  text-decoration: none;
}

.btn-white:hover {
  background-color: #e3eaf1;
}

.btn-white:active {
  background-color: #a7bfd5;
}

.error-indent {
  margin-left: 1.5em;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

.admin-compact-list {
  margin: 0;
  padding-left: 1.2em;
  list-style-type: disc;
}

.admin-compact-list li {
  margin: 0.1em 0;
  padding: 0;
}

.error-list {
  margin: 0.5em 0;
  padding-left: 1.5em;
  list-style-type: disc;
  color: inherit;
  background: none !important;
}

.error-list li {
  margin: 0.2em 0;
  padding: 0;
  color: inherit;
  background: none !important;
  background-image: none !important;
}

.error-list li::before {
  content: none !important;
}
