body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: var(--color-text);
  font: 14px/1.5 Inter, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }

#margins {
  max-width: 1140px;
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 25px;
  box-sizing: border-box;
  background-color: #ffffff;
}

@media (max-width: 700px) {
  #margins {
    width: calc(100% - 16px);
    padding: 16px;
  }
}

.clear {
  clear: both; }

input[type="button"], input[type="submit"], .blue-button,
.button, a.button:link, a.button:visited {
  display: inline-block;
  background: var(--standard-blue);
  border: none;
  border-radius: 4px;
  padding: 6px 16px;
  color: white;
  font: bold 14px/normal Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

a.button:hover, a.button:active {
  color: #fff;
  filter: brightness(1.1); }

/* Secondary: compact neutral outline for page-level actions */
a.button--secondary:link,
a.button--secondary:visited {
  padding: 5px 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--color-border);
  color: var(--color-text);
  font-size: 13px; }

a.button--secondary:hover,
a.button--secondary:active {
  background: var(--color-table-head);
  color: var(--color-text);
  filter: none; }

/* Danger: softened red (keeps white text above 4.5:1), full red on hover */
a.button--danger:link,
a.button--danger:visited {
  --button-danger-bg: color-mix(in srgb, var(--color-danger) 85%, #fff);
  background: var(--button-danger-bg);
  box-shadow: inset 0 0 0 1px var(--button-danger-bg);
  color: #fff; }

a.button--danger:hover,
a.button--danger:active {
  background: var(--color-danger);
  box-shadow: inset 0 0 0 1px var(--color-danger);
  color: #fff;
  filter: none; }

/* Page title with page-level actions on the right */
.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 16px; }

#content .page-header h1 {
  margin: 0; }

#contentBlock-Main .buttons {
  margin-top: 16px; }

/* Joined buttons sharing borders; only the outer corners are rounded */
.button-group {
  display: inline-flex; }

.button-group .button:not(:first-child):not(:last-child) {
  border-radius: 0; }

.button-group .button + .button {
  margin-left: -1px; }

.button-group .button:first-child {
  border-radius: 4px 0 0 4px; }

.button-group .button:last-child {
  border-radius: 0 4px 4px 0; }

.button-group .button:hover {
  position: relative; }

/* disabled blue button*/
.blue-button[disabled] {
  background: var(--standard-blue-light);
  cursor: not-allowed;
}

/* Form fields */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], input[type="tel"],
input[type="url"], select, textarea {
  padding: 4px 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background-color: #fff;
  color: var(--color-text);
  font: 13px/normal Inter, sans-serif; }

select:not([multiple]) {
  appearance: none;
  padding-right: 20px;
  background: #fff url("/assets/chevron-down-e79d77b6.svg") no-repeat right 6px center;
  background-size: 8px 5px; }

.modal {
  display: none;
}

.modal.is-open {
  display: block;
}

/*
input[type="button"], input[type="submit"] {
  cursor: pointer;
  border: 1px solid #bcbec0;
  text-transform: uppercase;
  background: transparent url("/assets/button-bg-17adb632.png") repeat-x;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px; }
*/

#headerTop {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 16px; }

#headerTop .clear {
  display: none; }

#headerTop-Logo,
#headerTop-Logo-not-logged-in {
  width: 180px;
  height: 54px;
  background: transparent url("/assets/TCI_Logo_0819-Small_Web-5782f745.png") no-repeat;
  background-size: contain; }

#headerTop-Account {
  color: var(--color-muted);
  font-size: 13px;
  text-align: right; }

#headerTop-Account .current-user-email {
  color: var(--color-text);
  font-weight: bold; }

#headerTop-Account a, #headerTop-Account a:visited {
  color: var(--standard-blue);
  text-decoration: none; }

#content h1 {
  color: var(--standard-blue);
  font-size: 26px;
  font-weight: bold;
  line-height: normal;
  margin: 24px 0 16px;
  padding: 0;
}

#content p a, #content p a:visited {
  text-decoration: none; }

#contentBlock {
  margin: 35px 0; }

#contentBlock-Tabs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px;
  padding: 0;
  /* Tabs sit on top of the card's top border */
  position: relative;
  z-index: 1;
  margin: 0 0 -1px; }

#contentBlock-Tabs ul li {
  list-style: none; }

#contentBlock-Tabs ul li a {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px 6px 0 0;
  background-color: var(--color-table-head);
  color: var(--standard-blue);
  font-weight: bold;
  text-decoration: none; }

/* Active tab hides the card border beneath it so it reads as one piece */
#contentBlock-Tabs ul li.active a {
  border-bottom: none;
  padding-bottom: 9px;
  background-color: #fff; }

#contentBlock-Tabs ul li.special {
  margin-left: auto;
  align-self: center;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: bold; }

#content #contentBlock #contentBlock-Main {
  padding: 20px 20px 60px 20px;
  border: 1px solid var(--color-border);
  border-radius: 6px; }

/* Square the corner the first tab sits on */
#content #contentBlock #contentBlock-Tabs + #contentBlock-Main {
  border-top-left-radius: 0; }

/* Section headings inside a card */
#content #contentBlock #contentBlock-Main h1 {
  color: var(--standard-blue);
  font-size: 18px;
  margin: 32px 0 16px;
  padding: 0; }

#content #contentBlock #contentBlock-Main h1:first-child,
#content #contentBlock #contentBlock-Main form > h1:first-of-type {
  margin-top: 0; }

#contentBlock-Main hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 32px 0; }

/* Wide field (e.g. letter textareas) in the column beside a .leftLabel */
#contentBlock-Main .leftLabel + .right {
  float: none;
  width: auto;
  max-width: 640px;
  margin: 20px 0 0 207px; }

#content #contentBlock #contentBlock-Main form h1 span.special {
  float: right;
  color: #adacad;
  text-transform: none;
  font-size: 0.8em; }

#content #contentBlock #contentBlock-Main form .field {
  margin-top: 13px;
}

#content #contentBlock #contentBlock-Main form .field input {
  margin-bottom: 3px;
}

#content #contentBlock #contentBlock-Main form label,
#content form #contentBlock-Main .field label,
#content #contentBlock-Main .leftLabel {
  color: var(--color-text);
  text-align: right;
  float: left;
  clear: both;
  width: 188px;
  padding: 1px 10px 0 0;
  font-size: 13px;
  font-weight: bold;
}

.ts-wrapper {
  max-width: 427px;
  width: 100%;
  display: inline-block;
  box-sizing: border-box;
}

#content #contentBlock-Main .leftLabel {
  width: 187px; }

#content form #contentBlock-Main {
  padding: 0 20px; }

#content #contentBlock #contentBlock-Main form .field label.subLabel {
  float: none;
  width: auto;
  padding: 0; }

input.norm, textarea.norm {
  /*color: #adacad;*/ }

input.cleardefault, textarea.cleardefault {
  color: #808285; }

input.norm:focus, textarea.norm:focus {
  /*  color: $main-color;*/ }

textarea.norm.long, input.norm {
  font: 13px/normal Inter, sans-serif; }

input.norm.long {
  max-width: 427px;
  width: 100%;
  box-sizing: border-box; }

input.norm.short {
  width: 280px; }

input.norm.small {
  width: 230px; }

textarea.norm.long {
  max-width: 425px;
  width: 100%;
  box-sizing: border-box;
  height: 35px; }

input.norm.quarter {
  width: 98px;
  margin-right: 5px;
  float: left; }

.noLabel {
  margin-left: 207px; }

.right {
  float: right; }

#content #contentBlock #contentBlock-Main form .field p {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 0.8em;
  color: #adacad;
  width: 330px; }

#content #contentBlock #contentBlock-Main form .field p.short {
  width: 240px;
  display: inline-block;
  line-height: 1.2em; }

#contentBlock-Main {
  position: relative; }

#contentBlock-Main form #fieldSubmit {
  padding: 5px;
  text-align: right;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  box-sizing: border-box; }

#contentBlock-Main form #fieldSubmit input[value="Cancel"] {
  background-color: var(--color-danger);
  border: none;
  text-align: center;
  color: #ffffff;
  width: 100px;
  text-transform: uppercase;
  background-image: none; }

#contentBlock-Main form #fieldSubmit input[value="<<< Go Back"] {
  background-color: #808285;
  border: none;
  text-align: center;
  color: #ffffff;
  width: 100px;
  text-transform: uppercase;
  background-image: none; }

#contentBlock-Main form #fieldSubmit input[value="Next >>>"],
#contentBlock-Main form #fieldSubmit input[value="Finish"],
#contentBlock-Main form #fieldSubmit input[id="orange_submit"],
#contentBlock-Main form #fieldSubmit input[value="Save"] {
  background-color: var(--standard-blue);
  border: none;
  text-align: center;
  color: #ffffff;
  width: 100px;
  text-transform: uppercase;
  background-image: none; }

.language {
  color: #362c66;
  font-weight: bold; }

h1#bgPurple,
h2#bgPurple,
h3#bgPurple,
.bgPurple,
.panel__title {
  font-weight: bold;
  background-color: var(--standard-blue);
  padding: 10px 16px;
  font-size: 16px;
  line-height: normal;
  color: #ffffff;
  display: block;
  text-transform: none;
  margin: 0; }

/* Empty bars are used as section dividers */
.bgPurple:empty {
  padding: 0;
  border-top: 1px solid var(--color-border);
  background: none; }

#contentBlock #contentBlock-Main p#activity {
  margin: 10px 0; }

.padRight {
  border-bottom: 1px solid #6d6f71;
  width: 427px;
  margin-left: 207px;
  margin-bottom: 30px; }

#contentBlock #contentBlock-Main h1#padRight {
  border-bottom: 2px solid #6d6f71;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1em;
  padding-bottom: 5px;
  margin: 0;
  margin-top: 20px;
  color: #362c66; }

.paddingSupport {
  margin-left: 207px; }

p.paddingSupport {
  color: #58585a;
  font-size: 0.85em; }

#contentBlock-Main form p.paddingSupport strong a, p.paddingSupport strong a:visited {
  color: #bc813b; }

hr.special {
  border: 1px solid #6d6f71;
  margin: 10px 0 0 207px; }

.addMember-submit {
  margin: 10px 0 0 207px;
  text-transform: uppercase; }

.right {
  font-size: 12px;
  width: 432px;
  float: right;
  margin-top: 20px; }

.leftLabel {
  margin-top: 20px; }

.right p {
  margin-top: 0; }

.right .left, .right .right {
  width: 190px;
  padding: 0;
  margin: 0 0 0 20px;
  color: #adacad;
  font-size: 0.85em;
  line-height: 1em;
  text-align: left;
  text-indent: -2em;
  float: left; }

#simpleForm-Holder p {
  color: #58585a;
  font-size: 0.85em; }

#simpleForm-Holder p strong a, #simpleForm-Holder p strong a:visited {
  color: #bc813b; }

.right .simpleForm-Question {
  padding: 2px;
  position: relative; }

.right .simpleForm-Question .right {
  position: absolute;
  right: 2px;
  top: 4px;
  width: auto;
  margin-left: 20px;
}

.right .simpleForm-Question .right a,
.right .simpleForm-Question .right a:visited {
  text-decoration: none;
  margin-left: 20px; }

.odd {
  background-color: var(--standard-blue-lightest2);
}

.marginOff {
  margin-bottom: 0; }

.right textarea {
  width: 100%;
  height: 75px;
  clear: both;
  margin: 10px 0;
  /*  border: 1px solid #58595b;*/ }

.letter-preview-button {
  background: transparent url("/assets/preview-bf64199b.png") center left no-repeat;
  text-transform: uppercase;
  height: 21px;
  padding-left: 25px;
  border: none;
  float: right; }

#content #contentBlock #contentBlock-Main .padRight.marginOff h1#padRight {
  color: #362c66; }

span.diagnostic_answer_button a {
  color: black;
  font-weight: bold;
}

span.diagnostic_answer_button {
  background: var(--standard-blue-lightest);
  border-radius: 50%;
  width:  30px;
  height: 30px;
  line-height: 30px;
  display: block;
  text-align: center;
}

span.diagnostic_answer_selected_button {
  background: var(--standard-blue-light);
  border-radius: 50%;
  width:  30px;
  height: 30px;
  line-height: 30px;
  display: block;
  text-align: center;
}

/*
span.diagnostic_answer_button {
  background: radial-gradient(circle at left, #eee, #777);
  border-radius: 50%;
  width:  30px;
  height: 30px;
  line-height: 30px;
  display: block;
  text-align: center;
  box-shadow: 3px 0px 8px #777;
}

span.diagnostic_answer_button a {
  color: black;
  font-weight: bold;
}

span.diagnostic_answer_selected_button {
  background: radial-gradient(circle at left, #777, #eee);
  border-radius: 50%;
  width:  30px;
  height: 30px;
  line-height: 30px;
  display: block;
  text-align: center;
  box-shadow: 0px 1px 8px #777;
  border-right: 1px solid #eee;
  border-top: 1px solid #ddd;
}

span.diagnostic_answer_selected_button a {
  color: black;
  font-size: 1.2em;
  font-weight: bold;
  text-shadow: 0px 0px 6px #fff;
}
*/
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 44px;
}

.modal__container {
  background-color: white;
  padding: 40px 24px;
  border-radius: 10px;
  max-width: 500px;
  width: calc(100% - 32px);
  box-sizing: border-box;
  text-align: left;
}

/* Responsive: collapse fixed left offsets on narrow screens */
@media (max-width: 700px) {
  .padRight,
  hr.special,
  .addMember-submit,
  .noLabel,
  span.padded-left,
  .paddingSupport {
    margin-left: 0;
    width: auto;
    max-width: 100%;
  }
}
