﻿:root {
  --background-colour: #f7f5f7;
  --primary-colour: #ed1c24;
  --font-awesome-family: "Font Awesome 6 Pro";
}
@font-face {
  font-family: 'apercu mono';
  font-weight: 400;
  src: url("/fonts/Apercu Pro Mono.otf") format("opentype");
  font-style: normal;
}
@font-face {
  font-family: 'apercu';
  font-weight: 400;
  src: url("/fonts/Apercu Pro Light.otf") format("opentype");
  font-style: normal;
}
@font-face {
  font-family: 'apercu';
  font-weight: normal;
  src: url("/fonts/Apercu Pro Regular.otf") format("opentype");
  font-style: normal;
}
@font-face {
  font-family: 'apercu';
  font-weight: 900;
  src: url("/fonts/Apercu Pro Bold.otf") format("opentype");
  font-style: normal;
}
body {
  font-family: apercu;
  line-height: 1em;
}
.actions {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 10px;
}
.actions > button {
  width: 100%;
}
.input-set {
  display: grid;
  grid-template-columns: var(--input-column-spacing, 208px auto 1fr);
  align-items: center;
  gap: 3px;
}
.input-set.hidden {
  display: none;
}
.input-set label {
  width: fit-content;
}
.input-set input:not([type=checkbox], [type=radio]),
.input-set select {
  width: 200px;
}
.dialog-form {
  padding: 20px;
}
.dialog-form h3 {
  font-weight: normal;
}
.dialog-form fieldset {
  padding: 15px 0;
}
.dialog-form fieldset .input-set {
  grid-template-columns: var(--input-column-spacing, 1fr auto);
  justify-items: end;
  align-items: center;
}
.dialog-form fieldset .input-set input[type='number'] {
  max-width: 200px;
}
.dialog-form fieldset .input-set input-and-spinner {
  display: flex;
}
.dialog-form .actions {
  margin-top: 10px;
  flex-direction: row;
  justify-content: end;
}
.dialog-form .actions > button {
  min-width: 100px;
  width: auto;
}
.design-page {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.design-page.opening {
  display: none;
}
.design-page .graphic-container {
  height: 40%;
  max-height: 500px;
}
.design-page .body-container {
  flex: 1;
  overflow: visible scroll;
  background-color: var(--background-colour, #f7f5f7);
}
.design-page section {
  --background-colour: #ebe7e8;
  --padding: 20px;
  position: relative;
  background: var(--background-colour);
  display: grid;
  gap: 10px 40px;
  padding: var(--padding);
}
.design-page section + section {
  margin-top: 5px;
}
.design-page .member-and-loads-section {
  grid-template-columns: minmax(140px, auto) 1fr;
}
.design-page .member-data .tabsheet {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
}
.design-page .member-data label + radiobutton {
  margin-top: 5px;
}
.design-page .design-section {
  display: flex;
  flex-wrap: wrap;
}
.design-page .design-section .check-list {
  max-height: 160px;
}
.design-page .member-details {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.design-page .design-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.design-page .timber-settings-actions,
.design-page .options-and-treatments {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.design-page .options-and-treatments div {
  display: flex;
  align-items: center;
  gap: 5px;
}
.design-page .options-and-treatments input[type="number"] {
  width: 60px;
}
.design-page .size-limitations {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 3px 5px;
  align-items: center;
}
.design-page .size-limitations h3 {
  grid-column: 1 / -1;
}
.design-page .size-limitations div {
  display: contents;
}
.design-page .size-limitations div:nth-child(2n+1) label {
  padding-left: 20px;
}
.design-page .size-limitations input {
  width: 80px;
}
.design-page [delphi-id="MemberLabel"] {
  cursor: pointer;
}
.design-page [delphi-id="MemberLabel"]:hover {
  color: #ed1c24;
}
.dialog-form.special-load-dialog {
  max-width: 650px;
  --input-column-spacing: 200px 1fr;
}
.dialog-form.special-load-dialog .input-set label {
  text-align: right;
}
.dialog-form.special-load-dialog .input-set select {
  width: 100%;
}
.dialog-form.special-load-dialog .input-set input-and-spinner {
  align-items: center;
  gap: 10px;
  justify-self: start;
}
.dialog-form.special-load-dialog .input-set input-and-spinner input {
  width: 100px;
  text-align: right;
}
.dialog-form.special-load-dialog result-section {
  display: flex;
  gap: 10px;
  text-align: right;
  justify-content: right;
  margin-bottom: 20px;
}
.dialog-form.special-load-dialog result-section .input {
  font-weight: bold;
  font-size: 1.1em;
}
:root {
  --btn-width: 160px;
  --btn-height: 40px;
  --btn-padding: 0;
  --input-padding: 2px 4px;
  --background-highlight-colour: #fddee1;
}
@media only screen and (max-width: 1700px) {
  :root {
    --btn-width: 130px;
    --btn-height: 35px;
  }
}
.inline,
user-and-version-info {
  --btn-padding: 5px 20px;
  --input-padding: 5px 10px;
}
@media only screen and (max-width: 1700px) {
  .inline,
  user-and-version-info {
    --btn-padding: 5px 10px;
  }
}
html {
  box-sizing: border-box;
  color: var(--text-colour, #282120);
  background: white;
  height: 100%;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  height: 100%;
}
p {
  margin: 0;
}
h2 {
  line-height: initial;
  font-weight: bold;
}
h3 {
  margin: 0 0 8px 0;
}
h4 {
  margin: 5px 0 0;
}
fieldset {
  padding: 0;
  margin: 0;
  border: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
fieldset header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
input:not([type="color"], [type="radio"]),
select,
textarea {
  min-width: unset;
  overflow-y: auto;
  resize: none;
  border-radius: 0;
  border: 1px solid transparent;
  padding: var(--input-padding, 2px 4px);
  background-color: var(--white, #FFFFFF);
  font-size: 14px;
  font-weight: 400;
  outline: none;
}
input:not([type="color"], [type="radio"]):hover,
select:hover,
textarea:hover,
input:not([type="color"], [type="radio"]):active,
select:active,
textarea:active,
input:not([type="color"], [type="radio"]):focus,
select:focus,
textarea:focus {
  border: 1px solid var(--primary-colour, #ed1c24);
}
input:not([type="color"], [type="radio"])[readonly],
select[readonly],
textarea[readonly] {
  background-color: var(--input-background-colour, #ebe7e8) !important;
}
input:not([type="color"], [type="radio"])[readonly]:hover,
select[readonly]:hover,
textarea[readonly]:hover,
input:not([type="color"], [type="radio"])[readonly]:active,
select[readonly]:active,
textarea[readonly]:active,
input:not([type="color"], [type="radio"])[readonly]:focus,
select[readonly]:focus,
textarea[readonly]:focus {
  border: solid 1px var(--background-colour, #f7f5f7);
}
input[type="text"],
textarea {
  color: var(--light-text-colour, #686868);
}
input[type="radio"] {
  appearance: none;
  border-radius: 50%;
  border: solid 1px var(--white, #FFFFFF);
  background-color: var(--white, #FFFFFF);
  height: 16px;
  width: 16px;
  min-width: 16px;
  margin: 0;
  padding: 0;
  text-align: left;
  box-sizing: border-box;
}
.disabled input[type="radio"] {
  border: solid 5px #9b9b9b;
}
input[type="radio"]:checked {
  border: solid 5px var(--primary-colour, #ed1c24);
}
input[type="radio"]:hover:not(:checked, .disabled) {
  border: 1px solid var(--primary-colour, #ed1c24);
}
select {
  padding: 0 0 0 5px;
  border: 1px solid transparent;
  background-color: var(--white, #FFFFFF) !important;
  padding: var(--input-padding, 2px 4px);
  color: var(--light-text-colour, #686868);
}
select:hover,
select:active,
select:focus {
  border: 1px solid var(--primary-colour, #ed1c24);
}
input[type="checkbox"] {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  appearance: none;
  color: var(--white, #FFFFFF);
  background-color: var(--white, #FFFFFF);
  border: solid 1px var(--white, #FFFFFF);
  margin: 0;
  padding: 0;
  height: 16px;
  min-width: 16px;
  font-size: 14px;
}
input[type="checkbox"]:checked {
  background-color: var(--primary-colour, #ed1c24);
  border-color: var(--primary-colour, #ed1c24);
}
input[type="checkbox"]:checked::before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  content: "\f00c";
  font-weight: 400;
  font-family: 'Font Awesome 6 Pro';
  margin: 0;
}
input[type="checkbox"]:hover:not(:checked) {
  border-color: var(--primary-colour, #ed1c24);
}
input[type="checkbox"][disabled] {
  background: #ded5d1;
  border-color: #ded5d1;
}
button {
  cursor: pointer;
}
button:not(.inline, .secondary, .danger) {
  color: var(--white, #FFFFFF);
  background-color: #ed1c24;
  padding: var(--btn-padding, 0px);
  border: 1px solid var(--primary-colour, #ed1c24);
  border-radius: 0;
  overflow: hidden;
  font-family: apercu;
}
button:not(.inline, .secondary, .danger)[disabled] {
  color: var(--white, #FFFFFF);
  background-color: #9b9b9b;
}
button:not(.inline, .secondary, .danger):hover {
  opacity: 0.8;
}
button[disabled] {
  cursor: not-allowed;
  background: #9b9b9b;
  border-color: #9b9b9b;
}
button.secondary {
  border: 2px solid var(--primary-colour, #ed1c24);
  color: var(--primary-colour, #ed1c24);
  border-radius: 0;
  padding: var(--btn-padding, 0px);
  font-weight: normal;
}
button.secondary[disabled] {
  border: var(--white, #FFFFFF);
  background-color: #9b9b9b;
}
button.secondary:hover {
  border: var(--primary-colour, #ed1c24);
  background: var(--primary-colour, #ed1c24);
  color: var(--white, #FFFFFF);
  border: 2px solid var(--primary-colour, #ed1c24);
  opacity: 0.8;
}
button.next {
  display: block;
  border: 2px solid #ed1c24;
  background: none;
  color: #ed1c24;
  text-transform: uppercase;
  height: 60px;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: bold;
}
button.next::after {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  font-family: 'Font Awesome 6 Pro';
  font-weight: 900;
  content: "\f061";
  padding-left: 10px;
}
canvas {
  z-index: -1 !important;
}
table {
  width: 100%;
  border-collapse: collapse;
}
table,
td,
th {
  border: 1px solid black;
  text-align: left;
}
td,
th {
  padding: 5px;
}
p.note {
  font-size: 0.8em !important;
  color: var(--light-text-colour, #686868);
}
#blazor-error-ui {
  background: var(--warning-colour, #c92c10);
  color: var(--white, #fff);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: none;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
}
#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
div[delphi-id='PlaceholderMenuPanel'] {
  display: none;
}
.blazored-modal-header {
  margin-bottom: 20px;
  align-items: center;
  position: relative;
}
.blazored-modal-header > button.blazored-modal-close {
  padding: 1rem;
  top: -0.5rem;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.5rem;
}
.blazored-modal-overlay {
  background: rgba(222, 213, 209, 0.2);
}
.blazored-modal {
  border-radius: 0;
  padding: 20px;
  background: var(--background-colour, #f7f5f7);
  border: none;
  min-width: unset;
  box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
  position: relative;
}
.blazored-modal.registration {
  background: var(--white, #FFFFFF);
  padding: 40px;
}
.validation-message {
  color: #ed1c24;
  font-size: 14px;
}