body {
  font-family: 'Times New Roman', Times, serif;
}

@media screen and (min-width: 1000px) {
  body {
    zoom: 1.25;
  }
}

p {
  margin-top: 4px;
  margin-bottom: 8px;
}

.base_panel:not(.for_review_word) fieldset {
  border: 1px solid #C3D9FF;
  border-radius: 8px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  /*  background-color: #E8EEF7; */
  background-color: #F4F4FF;
  margin-top: 16px;
  margin-bottom: 4px;
}

.base_panel:not(.for_review_word) legend {
  border: 1px solid #C3D9FF;
  border-radius: 6px;
  padding: 1px 8px 4px 8px;
  text-shadow: 2px 2px 3px rgba(150, 150, 150, 0.75);
  font-size: 120%;
  font-weight: bold;
  background-color: #FFFFFF;
}

input[type=checkbox],
input.checkbox,
input[type=radio],
input.radio {
  margin-right: 6px;
  margin-left: 1px;
}
input:checked+label {
  font-weight: bold;
}

.base_panel {
  min-width: 700px;
  max-width: 1024px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page_title {
  text-align: center;
  color: #888888;
  font-size: 160%;
  font-weight: bold;
  margin-top: 8px;
  margin-bottom: 16px;
}

.resort_photo {
  text-align: center;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding-top: 16px;
  padding-bottom: 16px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.resort_photo p {
  text-align: left;
}

.resort_photo img {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.main_instructions {
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: 130%;
  font-weight: bold;
  color: orange;
}

.registrant {}

.section_instructions {
  /*  font-style: italic; */
  /*  color: #777777;*/
  color: #7777F7;
}

textarea {
  width: 100%;
  width: calc(100% - 8px);
  height: 100px;
}

/*.base_panel.for_review input[type=text] {
  display: none;
}*/

input[type=text],
input.text,
input[type=number],
input.number,
input[type=select],
input.select {
  border: solid 1px #777;
  width: 300px;
}

.base_panel:not(.for_review_word) .required_label,
.base_panel:not(.for_review_word) .required,
.base_panel:not(.for_review_word) input[type=text].required,
.base_panel:not(.for_review_word) input.text.required,
.base_panel:not(.for_review_word) input[type=number].required,
.base_panel:not(.for_review_word) input.number.required,
.base_panel:not(.for_review_word) input[type=select].required,
.base_panel:not(.for_review_word) input.select.required,
.base_panel:not(.for_review_word) .recommended_label,
.base_panel:not(.for_review_word) .recommended,
.base_panel:not(.for_review_word) input[type=text].recommended,
.base_panel:not(.for_review_word) input.text.recommended,
.base_panel:not(.for_review_word) input[type=number].recommended,
.base_panel:not(.for_review_word) input.number.recommended,
.base_panel:not(.for_review_word) input[type=select].recommended,
.base_panel:not(.for_review_word) input.select.recommended {
  background-color: #fef3ad !important;
}

/*.base_panel:not(.for_review_word) input.required:valid,
.base_panel:not(.for_review_word) input.required_missed:valid {
  background-color: #AFA !important;
}
*/

.base_panel:not(.for_review_word) span.required::before {
  content: "*";
  color: inherit;
  /*  background-color: #F4F4FF; */
  background-color: transparent;
  display: block;
  float: left;
  width: 24px;
  text-align: center;
}

.required_missed,
input[type=text].required_missed,
input.text.required_missed,
input[type=number].required_missed,
input.number.required_missed,
input[type=select].required_missed,
input.select.required_missed {
  background-color: #FFCDCD !important;
}

span.required_missed::before {
  content: "*";
  color: red;
  /*  background-color: #F4F4FF; */
  background-color: transparent;
  display: block;
  float: left;
  width: 24px;
  text-align: center;
}

.optional,
input[type=text].optional,
input.text.optional,
input[type=number].optional,
input.number.optional,
input[type=select].optional,
input.select.optional {}

.base_panel:not(.for_review_word) span.optional::before,
.base_panel:not(.for_review_word) span.recommended::before {
  content: "\a0";
  /* unicode for &nbsp; since html is not allowed in content */
  width: 24px;
  display: block;
  float: left;
}

.base_panel:not(.for_review) .start_hidden,
.cfg_start_hidden {
  display: none;
}

.base_panel.for_review_word.highlight_cfg *:not(span):not(ul):not(div):not(p).from_cfg {
  background: skyblue;
}

.base_panel.for_review.highlight_cfg .from_cfg {
  border: 1px solid red;
}

.base_panel.for_review_word.highlight_cfg div.from_cfg {
  background: pink;
}

.base_panel.for_review.highlight_cfg .from_cfg:hover::before {
  content: attr(data-cfg);
  position: absolute;
  background: red;
  color: white;
  font-size: initial;
  padding: 0 8px;
}

.review-only {
  display: none;
}
.for_review .review-only {
  display: revert;
}

/*.base_panel.for_review.highlight_cfg .macro {*/
.for_review.highlight_cfg .macro {
  border: 1px solid green;
}

/*.base_panel.for_review.highlight_cfg .macro:hover::after {*/
.for_review.highlight_cfg .macro:hover::after {
  content: attr(data-cfg);
  position: absolute;
  background: green;
  color: white;
  font-size: initial;
  padding: 0 8px;
}

.timetrack_check {
  background-color: #AFA;
  padding: 8px;
  font-style: italic;
  font-weight: bold;
  font-size: 150%;
  margin-top: 4px;
  margin-bottom: 4px;
}

.timetrack_not_found {
  background-color: #FAA;
  padding: 8px;
  font-weight: bold;
  font-size: 120%;
  margin-top: 4px;
  margin-bottom: 4px;
}

.timetrack_found {
  background-color: #AFA;
  padding: 8px;
  font-weight: bold;
  margin-top: 4px;
  margin-bottom: 4px;
}

.base_panel.for_review .start_hidden.timetrack_check,
.base_panel.for_review .start_hidden.timetrack_not_found,
.base_panel.for_review .start_hidden.timetrack_found {
/*  display: none; */
  margin-bottom: 8px;
}

.field {
  margin-top: 8px;
  margin-bottom: 8px;
}
.field-note {
  font-weight: bold;
  font-style: italic;
}
p.field-note {
  margin-left: 24px;
  padding: 4px;
  border: 1px solid;
}

ul.pick_list {
  list-style-type: none;
  padding-left: 16px;
  padding-top: 6px;
  padding-bottom: 6px;
  margin-top: 2px;
  margin-bottom: 2px;
}

ol.sharing_list {
  margin-top: 8px;
  margin-bottom: 8px;
}

ol.list_hide_nums {
  list-style-type: none;
  padding-left: 0px;
}

ol.sharing_list>li {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid black;
}

ol.sharing_list>li:last-child {
  padding-bottom: 0;
  border-bottom: none 0 black;
}

ol.sharing_list_hide_nums>li {
  border-bottom: none 0 black;
}

.label {
  font-weight: bold;
  line-height: 1.5em;
}

.lodging_dates {
  font-weight: bold;
  font-style: italic;
}

.generic_indent {
  padding-left: 24px;
}

.warning {
  color: red;
}

.emphasis {
  font-weight: bold;
}

.emphasis_note {
  font-style: italic;
}

.emphasis_note .emphasis {
  text-decoration: underline;
}

.main_instructions .emphasis_note {
  color: navy;
}

.session_selection .emphasis {
  color: orange;
}

.submit_section {
  /*  padding: 16px; */
  margin-bottom: 16px;
  text-align: center;
}

#submit_row {
  position: sticky;
  top: 0;
  background-color: #F4F4FFCF;
  background: linear-gradient(to bottom, #F4F4FFEF, #F4F4FFCF 75%, #F4F4FF5F);
  backdrop-filter: blur(5px);
}
#submit_row:not(:first-child) td {
  border-top: 2px solid orange;
}
#submit_row td {
  padding: 16px;
  text-align: center;
  border-bottom: 2px solid orange;
}

#submit_row td input[type=submit]:not(:disabled),
#submit_row td input.submit:not(:disabled),
#submit_row td button.submit:not(:disabled) {
  width: 150px;
  font-size: 120%;
}
#submit_row td button[data-remain-msg]:disabled {
  font-size: 1.2rem;
  --tt-complete: 0%;
}
#submit_row td button[data-remain-msg]:disabled::after {
  content: attr(data-remain-msg);
  font-size: 0.8rem;
  display: block;
  /*border-image: linear-gradient(to right, orange, orange var(--tt-complete), transparent var(--tt-complete)) 1;*/
  border-image: linear-gradient(to right, orange, orange var(--tt-complete), #C3D9FF var(--tt-complete)) 1;
  border-width: 2px 0px 0px;
  border-style: solid;
  margin-top: 2px;
  padding-top: 2px;
}

#submit_row #submit_msg {
  padding-bottom: 16px;
}

#submit_row:not(.incomplete) #submit_msg {
  font-size: larger;
}

label.disabled {
  color: #999;
}

.pre-conf-name {
  font-weight: bold;
}

.pre-conf-descr {
  font-style: italic;
}

/* Registration "Other" Specific Styles */
.base_panel #first_conf_no_detail ul li span.conf_name {
  font-weight: bold;
  display: inline-block;
  min-width: 40px;
}
/*.base_panel #first_conf_no_detail ul li span.conf_name::after {
  content: ', ';
}*/
.base_panel #first_conf_no_detail ul li span.conf_when {
/*  font-size: small;*/
  display: inline-block;
  min-width: 50px;
}
/*.base_panel #first_conf_no_detail ul li span.conf_when::after {
  content: '\A';
  white-space: pre;
}*/
/*.base_panel #first_conf_no_detail ul li span.conf_where {
  font-size: small;
  font-style: italic;
  margin-left: 24px;
}*/

/* Breakout Selection Specific Styles */
table.breakout_selection_actions {
  margin-top: 20px;
  clear: both;
  width: 100%;
}

table.breakout_selection_actions td {
  padding: 4px;
}

table.breakout_selection {
  margin-top: 20px;
  clear: both;
}

table.breakout_selection td {
  padding: 4px;
}

table.breakout_selection td:first-child {
  min-width: 75px;
  text-align: center;
  padding: 0;
}

table.breakout_selection td:first-child+td,
table.breakout_selection td:first-child+td+td {
  min-width: 20px;
  text-align: center;
  padding-left: 2px;
  padding-right: 2px;
}

.priority_num {
  padding-left: 6px;
  padding-right: 6px;
}

.breakout_title {
  font-weight: bold;
}

.breakout_title:hover {
  color: orange;
  cursor: pointer;
  cursor: hand;
}

.breakout_description {
  padding-left: 12px;
  display: inline-block;
}

tr[data-show-desc="0"] .breakout_description {
  display: none;
}
/*
tr.presenter :is(.breakout_description, .breakout_title),
tr.required :is(.breakout_description, .breakout_title) {
}
*/
tr.restricted :is(.breakout_description, .breakout_title) {
/* Can't use opacity here, because when it scrolls under the submit row that uses a blur backdrop-filter, the filter gets ignored when what is under it has an opacity < 1; so we'll use a color with alpha that should be effectively the same as a solid color + opacity changes we were making. */
/*
  opacity: 0.75;
  color: #777;
*/
  color: rgba(127, 127, 127, 0.75);
}
tr.restricted .breakout_title:hover {
  color: #7777F7;
/*  opacity: initial; */
}

tr[data-show-desc="1"]:not(:last-child) td:last-child {
  border-bottom: 1px solid #C3D9FF;
}
tr[data-show-desc="0"] + tr[data-show-desc="1"] td:last-child {
  border-top: 1px solid #C3D9FF;
}

.presenter_note_hide {
  display: none;
}

.presenter_note {
  display: block;
}

.breakout_note,
.presenter_note {
  font-weight: bold;
  background-color: #C3D9FF;
  font-size: 90%;
  margin: 2px 8px 8px 8px;
  padding: 8px;
}

.session_selection {
  display: none;
}

.for_review :is(div, p, ul).review-only {
  display: block !important;
  border: 1px dashed;
  margin-bottom: 8px;
  padding: 8px;
}
.for_review.highlight_cfg :is(div, p, ul).review-only {
  margin: 4px;
}

.base_panel.for_review #first_conf_no_detail,
.base_panel.for_review #first_conf_yes_detail,
.base_panel.for_review #sharing_detail,
/*.base_panel.for_review #share_0_dates_detail,*/
.base_panel.for_review #ground_arrival_needs_detail,
.base_panel.for_review #ground_departure_needs_detail,
.base_panel.for_review #air_trans_arrive_detail,
.base_panel.for_review #driving_arrive_detail,
.base_panel.for_review #air_trans_depart_detail,
.base_panel.for_review #driving_depart_detail,
.base_panel.for_review #guest_detail {
  display: block !important;
  border: 1px dashed;
  margin-left: 24px;
  margin-bottom: 8px;
  padding: 8px;
}

.base_panel.for_review_word #first_conf_no_detail,
.base_panel.for_review_word #first_conf_yes_detail,
.base_panel.for_review_word #sharing_detail,
/*.base_panel.for_review_word #share_0_dates_detail,*/
.base_panel.for_review_word #ground_arrival_needs_detail,
.base_panel.for_review_word #ground_departure_needs_detail,
.base_panel.for_review_word #air_trans_arrive_detail,
.base_panel.for_review_word #driving_arrive_detail,
.base_panel.for_review_word #air_trans_depart_detail,
.base_panel.for_review_word #driving_depart_detail,
.base_panel.for_review_word #guest_detail {
  background: #eeeeee;
}

.for_review :is(div, p, ul).review-only::before,
.base_panel.for_review .start_hidden.timetrack_check::before,
.base_panel.for_review .start_hidden.timetrack_not_found::before,
.base_panel.for_review .start_hidden.timetrack_found::before,
.base_panel.for_review #first_conf_no_detail::before,
.base_panel.for_review #first_conf_yes_detail::before,
.base_panel.for_review #sharing_detail::before,
/*.base_panel.for_review #share_0_dates_detail::before,*/
.base_panel.for_review #ground_arrival_needs_detail::before,
.base_panel.for_review #ground_departure_needs_detail::before,
.base_panel.for_review #air_trans_arrive_detail::before,
.base_panel.for_review #driving_arrive_detail::before,
.base_panel.for_review #air_trans_depart_detail::before,
.base_panel.for_review #driving_depart_detail::before,
.base_panel.for_review #guest_detail::before,
#reg_success_review::before,
#reg_fail_review::before,
#reg_dup_review::before {
  font-weight: bold;
  text-decoration: underline;
  font-style: normal;
  display: block;
  margin-bottom: 4px;
  background-color: #e1e1e1;
  padding: 4px;
}

.base_panel.for_review .start_hidden.timetrack_check::before,
.base_panel.for_review .start_hidden.timetrack_not_found::before,
.base_panel.for_review .start_hidden.timetrack_found::before {
  font-size: initial;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px dashed;
  background-color: #F4F4FF;
}
.base_panel.for_review .start_hidden.timetrack_check::before {
  content: '*** Shown briefly between clicking "Continue" and procesing the check result ***';
}
.base_panel.for_review .start_hidden.timetrack_not_found::before {
  content: '*** Shown when the "Continue" check with TimeTrack does not find a user matching the email address specified ***';
}
.base_panel.for_review .start_hidden.timetrack_found::before {
  content: '*** Shown when the "Continue" check with TimeTrack finds a user matching the email address specified ***';
}

.for_review :is(div, p, ul).review-only::before {
  content: '*** Shown only if this configuration is specified ***';
}

.base_panel.for_review #first_conf_no_detail::before {
  content: '*** Shown when "No" is selected ***';
}
.base_panel.for_review #first_conf_yes_detail::before {
  content: '*** Shown when "Yes" is selected ***';
}

.base_panel.for_review #sharing_detail::before {
  content: '*** Shown when "I will be sharing a room..." is selected ***';
}

/*.base_panel.for_review #share_0_dates_detail::before {
  content: '*** Shown when "sharing the whole conference" is NOT selected ***';
}*/

.base_panel.for_review #ground_arrival_needs_detail::before,
.base_panel.for_review #ground_departure_needs_detail::before {
  content: '*** Shown when the "specific date/time" option is selected ***';
}

.base_panel.for_review #air_trans_arrive_detail::before,
.base_panel.for_review #air_trans_depart_detail::before {
  content: '*** Shown when "I will be flying" is selected ***';
}

.base_panel.for_review #driving_arrive_detail::before,
.base_panel.for_review #driving_depart_detail::before {
  content: '*** Shown when "I will be driving" is selected ***';
}

.base_panel.for_review #guest_detail::before {
  content: '*** Shown when "I will be bringing my spouse/significant other" is selected ***';
}

#reg_success_review,
#reg_fail_review,
#reg_dup_review {
  border: 2px dashed;
  margin-bottom: 24px;
  padding: 8px;
}

#reg_success_review::before,
#reg_fail_review::before,
#reg_dup_review::before {
  margin-bottom: 8px;
}

#reg_success_review::before {
  content: '*** Shown for successful registration upon Submit ***';
}
#reg_fail_review::before {
  content: '*** Shown for a failed registration upon Submit ***';
}
#reg_dup_review::before {
  content: '*** Shown for the submission of a registration when a registration is already present for the email address provided ***';
}
