* {
  margin-top: 0;
}

:root {
  --white: #ffffff;
  --off-white: #fdfbfa;
  --cool-white: #fafbfd;
  --grey-dark1: #221e1f;
  --grey-dark2: #242726;
  --grey-med1: #5a5958;
  --grey-med2: #767676;
  --grey-med3: #969696;
  --grey-light1: #dadada;
  --grey-light2: #ececec;
  --blue-med1: #90a0e0;
  --blue-dark1: #202550;
  --green-dark1: #308540;
  --brown-med1: #763825;
  --pale-red: #FF8080;
  --pale-yellow: #fafadd;
  --pale-blue: #ddeeff;
  --pale-green: #ddffee;
  --pale-pink: #fdd;
  --highlight-blue: #9ecaed;
}
@media (min-width: 768px) {
  :root {
  }
}
@media (min-width: 880px) {
  :root {
  }
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 5vw;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Nunito Sans", sans-serif;
  background-color: white;
}

@media (min-width: 400px) {
  html {
    font-size: 100%;
  }
}
@media (min-width: 768px) {
  body {
  }
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

#search_form {
  margin: 3em 2em;
}

label, labeled-input, labeled-date-input, labeled-select {
  font-size: 0.75em;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: top;
}

input {
  font-size: 1.5em;
  padding: 0.25em 0.5em;
  margin: 0 0.1em 0.5em 0;
  border: 1px solid var(--grey-light1);
  border-radius: 5px;
}
input:focus { 
  outline: none;
  border-color: var(--highlight-blue);
  box-shadow: 0 0 6px var(--highlight-blue);
}
input::placeholder {
  opacity: 0.5;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 1.5em;
  padding: 0.25em 0.5em;
  margin: 0 0.1em 0.5em 0;
  border: 1px solid var(--grey-light1);
  border-radius: 5px;
}
select:focus { 
  outline: none;
  border-color: var(--highlight-blue);
  box-shadow: 0 0 6px var(--highlight-blue);
}

dataset {
  display: none;
}

#fns {
  font-size: 1.5em;
  font-weight: bold;
}

.side_bar {
  display: inline-block;
  position: fixed;
  background-color: var(--pale-blue);
  width: 200px;
  top: 0;
  bottom: 0;
  padding: 9em 1em 1em 1em;
  left: calc((100% - 1024px) / 2);
}

.side_bar li {
  cursor: pointer;
}

.list-counter {
  list-style: none;
  counter-reset: item;
  padding-left: 2em;
}
.list-counter > li.done::before {
  background: var(--green-dark1);
}
.list-counter > li.active {
  font-weight: bold;
}
.list-counter > li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  width: 1.5em;
  height: 1.5em;
  text-align: center;
  background: var(--grey-med3);
  color: white;
  border-radius: 1em;
  font-weight: 700;
  font-size: 0.75em;
  line-height: 1.5em;
  margin-top: 0.2em;
  margin-left: -2.5em;
}
.list-counter > li.active::before {
  background: var(--blue-dark1);
}

.sublist-counter {
  list-style: none;
  counter-reset: item;
  font-size: 0.9em;
  padding-left: 2em;
  display: none;
}
li.active + .sublist-counter {
  display: block;
}
.sublist-counter > li.done::before {
  background: var(--green-dark1);
}
.sublist-counter > li.active {
  font-weight: bold;
}
.sublist-counter > li::before {
  counter-increment: item;
  content: counter(item,upper-alpha);
  position: absolute;
  width: 1.5em;
  height: 1.5em;
  text-align: center;
  background: var(--grey-med3);
  color: #fff;
  border-radius: 1em;
  font-weight: 700;
  font-size: 0.75em;
  line-height: 1.5em;
  margin-top: 0.2em;
  margin-left: -2.5em;
}
.sublist-counter > li.active::before {
  background: var(--blue-dark1);
}

.content {
  width: 1024px;
  margin: 0 auto;
}

.section {
  margin-left: 264px;
  padding-bottom: 30px;
  display: none;
}
.section.open {
  display: block;
}

.subsection {
  display: none;
}
.subsection.open {
  display: block;
}

.title {
  text-transform: uppercase;
  color: var(--grey-dark2);
  margin: 0;
}
.title img {
  vertical-align: text-top;
}

.section_title {
  border-bottom: solid 1px #000;
}

.info_box {
  position: relative;
  padding: 1em 1em 1em 3em;
  margin: 0.5em 1em 2em 1em;
  background: var(--grey-light2);
  border-radius: 0.8em;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.4);
}
.info_box > *:last-child {
  margin-bottom: 0;
}
.info_box::before {
  content: "i";
  position: absolute;
  width: 1.4em;
  height: 1.4em;
  left: 1em;
  text-align: center;
  letter-spacing: 0.25em;
  background: #fff;
  color: #00f;
  border: solid 1px #00f;
  border-radius: 1em;
  font-weight: 700;
  font-style: italic;
}

.notice {
  display: inline-block;
  position: relative;
  font-size: 0.8em;
  padding: 1em 1em 1em 3em;
  margin: 0.5em 0 1em 0;
  background: var(--pale-yellow);
  border-radius: 0.8em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.notice::before {
  content: "!";
  position: absolute;
  width: 1.4em;
  height: 1.4em;
  left: 1em;
  text-align: center;
  background: #fff;
  color: #530;
  border: solid 1px #530;
  border-radius: 1em;
  font-weight: 700;
}

.warning {
  display: inline-block;
  position: relative;
  font-size: 0.8em;
  padding: 1em 1em 1em 3em;
  margin: 1em 0 1em 0;
  background: var(--pale-pink);
  color: #a00;
  border-radius: 0.8em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.warning::before {
  content: "!";
  position: absolute;
  width: 1.4em;
  height: 1.4em;
  left: 1em;
  text-align: center;
  background: #a00;
  color: #fff;
  border-radius: 1em;
  font-weight: 700;
}

.questions {
  margin: 0 0 0 2em;
}

.question {
  margin: 1.25em 0 0.25em 0;
}

.form_button {
  padding: 0.5em 2em;
  margin-top: 1em;
  background: var(--blue-dark1);
  color: var(--pale-blue);
  border: solid 2px var(--blue-dark1);
  font-size: 1.25em;
  border-radius: 0.5em;
}
.form_button:hover {
  background: var(--pale-blue);
  color: var(--blue-dark1);
}

.form_button:disabled {
  background: var(--blue-med1);
  border: solid 2px var(--blue-med1);
  color: var(--pale-blue);
}

.bigbutton {
  background-color: var(--grey-light1);
  color: var(--pale-blue);
  padding: 0.5em 2em;
  border: solid 2px var(--blue-dark1);
  border-radius: 20px;
  font-size: 1.25em;  
  background-position: center;
  background-size: 100px;
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;
}
.bigbutton:hover {
  background-color: var(--pale-blue);
  color: var(--blue-dark1);
}

.bigbutton.idme {
  background-image: url('../images/idme-logo.svg');
}

#popup_curtain {
  display: none;
  position: fixed;
  z-index: 9;
  background: rgba(0, 0, 0, 0.25);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.modal #popup_curtain {
  display: block;
}

#email_popup {
  display: none;
  position: fixed;
  z-index: 10;
  top: calc((100% - 260px) / 2);
  left: calc((100% - 400px) / 2);
  width: 400px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.25);
  padding: 2em;
  text-align: center;
}
#email_popup.open {
  display: block;
}

.subsection h4 {
  margin: 1em 0 0.75em 0;
  border-bottom: 1px solid #000;
}
.subsection p {
  margin: 1em 0 0.5em 0;
}

.data_cell {
  display: inline-block;
  position: relative;
  margin: 5px 1px;
  padding: 18px 10px 3px 10px;
  border: 1px solid #ddd;
  min-width: 100px;
  min-height: 22px;
  vertical-align: top;
}
.data_cell::before {
  content: attr(label);
  display: block;
  position: absolute;
  width: calc(100% - 8px);
  background-color: var(--pale-blue);
  padding: 2px 4px;
  top: 0;
  left: 0;
  font-size: 0.5em;
  color: #777;
  text-transform: uppercase;
}
.labeled_elem {
  display: inline-block;
}
.labeled_radio_group_elem {
  display: block;
}
.labeled_elem > i {
  color: var(--grey-light2);
  margin-right: 0.25em;
}
.labeled_elem.required > i, i.required {
  color: var(--pale-red);
}
.labeled_elem.complete > i {
  color: var(--green-dark1);
}

.labeled_radio_group_elem > i {
  font-size: 0.75em;
}

.labeled_radio_group_label {
  display: inline-block;
  margin: 1.25em 0 0.25em 0.25em;
  font-weight: bold;
}

.labeled_radio_group_elem label {
  display: inline;
  margin-left: 0.5em;
}
.labeled_radio_group_elem label:after {
  content: "\A";
  white-space: pre;
}

.sub_content {
  margin-left: 2em;
}
.labeled_radio_group_elem .sub_content label {
  display: inline-block;
  margin-left: 0;
}

#order_summary, #order_items {
  width: 90%;
  margin-left: 2em;
}

#order_summary .summary_block {
  position: relative;
  display: flex;
  justify-content: normal;
  background-color: var(--pale-green);
  border: 1px solid var(--grey-med3);
  border-radius: 100px;
  font-size: 1.25em;
  padding: 8px 0;
  margin: 40px 0;
}

#order_summary .summary_block > fullname-span {
  display: inline-block;
}

#sum_app1_name, #sum_app2_name {
  text-align: center;
  flex: 1 1 0px;
}
#sum_and {
  position: relative;
  flex: 0 0 65px;
}
#sum_and > div {
  position: absolute;
  width: 63px;
  height: 63px;
  line-height: 63px;
  background-color: var(--cool-white);
  border: 1px solid var(--grey-med3);
  border-radius: 100px;
  top: -20px;
  font-family: 'Love Light', cursive;
  font-size: 2em;
  text-align: center;
}

.total_line, .header_line {
  display: flex;
  width: 100%;
  background-color: var(--pale-blue);
  font-weight: bold;
}
.header_line {
  border-bottom: 1px solid var(--grey-med3);
}
.total_line {
  border-top: 1px solid var(--grey-med3);
}

.order_line {
  display: flex;
  width: 100%;
  background-color: var(--grey-light2);
}
.order_line:nth-child(odd) {
  background-color: var(--off-white);
}

#order_items .item_name {
  padding: 8px 16px;
  flex: 0 0 78%;
}
#order_items .item_amt {
  padding: 8px 16px;
  flex: 1 1 auto;
  text-align: right;
  border-left: 2px solid var(--white);
}
.total_line .item_name {
  text-align: right;
}

.notice.payment {
  display: block;
  margin: 3em 0 1em 0;
}
.notice.payment img {
  float: right;
  width: 108px;
}
