.registertoptext{
	font-size: 18px;
	font-weight: bold;
}

.contents {
  font-family: 'GothamBook';
  font-size: 16px;
}

.contents.estate {
  background: white url("/images/estatecard/estate_register_bg-3ac58aa5a9cc50f0da43066fd7bfabdc.jpg") no-repeat;
  background-size: cover;
}

.contents.estate.visa {
  background: white url("/images/estatecard/visa_estate_register_bg-141cab0b961d8f6d1bfcec0bc8b90218.jpg") no-repeat;
  background-size: cover;
}


.contents.tab {
  background: black url("/images/estatecard/tab_register_bg-81db13991b63fbbc45ccec3ada85da59.jpg") no-repeat;
  background-size: cover;
}

.cardImg{
  margin-top: 5rem;
  margin-left: 6rem;
  max-width:100%;
  height:auto;
}

.register {
  min-height: 1328px;
}

/*
box shadow
http://www.cssmatic.com/box-shadow
*/
.regWizard.estate {
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.8);
  margin-top: 5rem;
  width: 752px;

}

.regWizard.tab {
  box-shadow: 0px 0px 15px 0px white;
  /* margin-top: 34rem; */
  width: 712px;

}

.regWizard {
  /* height:rem-calc(650px); */
  background-color: white;
  border-radius: 5px;
}

.regWizard .steps-indicator li a {
  text-transform: none;
  color: #acacac;
  font-weight: none;
  font-size: 20px;
}

.regWizard label, .regWizard input {
  font-size: 19px;
}

.regWizard input[type="text"],
.regWizard input[type="password"],
.regWizard input[type="email"],
.regWizard input[type="tel"],
.regWizard select {
  height: 35px;
}

.regWizard .button {
  color: #000000;
  border-color: #000000;
}

@media screen and (min-width: 64em) {
  .regWizard .steps-indicator.steps-2::before {
    left: calc(270% / 2 / 2);
    right: calc(55% / 2 / 2);
  }
  .regWizard .steps-indicator.steps-3::before {
    left: calc(390% / 3 / 2);
    right: calc(50% / 3 / 2);
  }
  .regWizard .steps-indicator.steps-4::before {
    left: calc(510% / 4 / 2);
    right: calc(40% / 3 / 2);
  }
}

@media screen and (min-width: 40em) and (max-width: 63.9375em), screen and (max-width: 39.9375em) {
  .regWizard .steps-indicator.steps-2::before {
    left: calc(270% / 2 / 2);
    right: calc(55% / 2 / 2);
  }
  .regWizard .steps-indicator.steps-3::before {
    left: calc(390% / 3 / 2);
    right: calc(50% / 3 / 2);
  }
  .regWizard .steps-indicator.steps-4::before {
    left: calc(510% / 4 / 2);
    right: calc(40% / 3 / 2);
  }

  .cardImg {
    margin-top: 1.5rem;
    margin-left: 0;
  }

  .regWizard.estate,
  .regWizard.tab {
    width: 100%;
    margin-top: 1.5rem;
  }
}

@media screen and (max-width: 39.9375em) {
  .cardImg {
    margin-top: 1.5rem;
    margin-left: 0;
    text-align: left;
  }

  .regWizard.estate,
  .regWizard.tab {
    width: 100%;
    margin-top: 1.5rem;
    margin-left: 0;
    margin-right: 0;
  }
}

#invitationCode h2 {
  margin-top: 20%;
  font-weight: normal;
}

#invitationCode section {
  margin-top: 5%;
  font: 31px/40px 'Gotham', sans-serif;
}

#txtInvitationCode {
  margin: 10% 15% 2%;
  width: 70%;
  height: 50px;
  font-size: 27px;
}

#invitationCode .button {
  margin: 10% 15%;
  color: #000000;
  border-color: #000000;
}

#invitationCode .help-text {
  color: red;
}

#propertyLoc {
  background: url("/images/estatecard/estate-signup-step1-445548015ce3333331e8f36aa1f7bb8c.jpg") no-repeat;
  background-size: 100%;
  font: 15px/20px 'Gotham', sans-serif;
  padding: 2% 5%;
  color: white;
  height: 700px;
}

#propertyLoc label {
  color: white;
  font: 30px/50px 'GothamLight', sans-serif;
}

#propertyLoc h3 {
  margin-top: 10%;
}

#propertyLoc section {
  padding-top: 10%;
  padding-bottom: 20%;
  height: 100px;
  font: 25px/30px 'Gotham', sans-serif;
  width: 600px;
}

#propertyLoc #state {
  width: 120px;
  height: 35px;
  font-size: 18px;
}

#propertyLoc #city {
  width: 250px;
  height: 35px;
  font-size: 18px;
}

#propertyLoc #taxauth {
  width: 650px;
  height: 35px;
  font-size: 18px;
}

#propertyLoc .button.hollow {
  border-color: white;
  color: white;
}

#propertyLoc #taxVerbose {
  display: none;
}

#imageCaptcha {
  border: 2px solid black;

  padding: 0 15px;
}

.formError .formErrorContent {
  width: 0;
  border: 0;
  margin-left: 0;
}

form {
  margin: 2% 4%;
}

form hr {
  border-width: 0 0 4px;
  margin: 1.25rem -3%;
}

form h6 {
  margin-top: 50px;
}

#frmStripe {
  margin: 8% 5%;
  text-align: center;
}

#frmStripe h6 {
  margin-top: 50px;
}

#frmStripe #stripeButtons {
  background-color: black;
  border-radius: 10px;
  text-align: center;
  padding: 40px 40px 20px;
  margin: 20px 0px;
}

#frmStripe #stripeButtons .button {
  background-color: white !important;
  font-family: "Gotham";
  font-size: 1.15em;
}

#frmStripe #stripeNotes {
  margin-bottom: 60px;
  font-size: 20px;
}

#frmStripe button {
  text-transform: none;
}

.steps-indicator {
  height: 0px !important;
}

.btnChargeCard {
  text-align: right;
  margin: 18px 0;
}

section {
  min-width: 0px;
}

.taxInfo {
  height: 38px;
}

.taxInfo h5 {
  margin: 0;
}

*::-ms-backdrop,.steps-indicator {
       margin:1% !important;
    }

.ulGuardianSearch {
  list-style: none;
  height: 200px;
  background-color: #fefefe;
  overflow-x: hidden;
  overflow-y: auto;
  border: solid 1px #8a8a8a;
}

.ulGuardianSearch li {
  padding: 5px;
  border-bottom: dotted 1px #8a8a8a;
  cursor: pointer;
}

.ulGuardianSearch li a {
  color: #000000;
}

.ulGuardianSearch li:Hover {
  background-color: #e6e6e6;
}

ul#ulSchoolName, ul#ulCityName {
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
  border: solid 1px #8a8a8a;
}

ul#ulSchoolName li.search-item, ul#ulCityName li.search-item{
  background-color: #fefefe;
  border-bottom: dotted 1px #8a8a8a;
  cursor: pointer;
  padding: 10px;
}

ul#ulSchoolName li.search-item > div, ul#ulCityName li.search-item > div {
  font-weight: bolder;
  margin-left: 18px;
  float: left;
  color:black;
}

ul#ulSchoolName li.search-item:hover,
ul#ulSchoolName li.search-item.hover {
  background-color: #e6e6e6;
}

ul#ulCityName li.search-item:hover,
ul#ulCityName li.search-item.hover {
  background-color: #e6e6e6;
}


span.i {
	width: 36px;
	height: 36px;
	background: url(/css/images/icons/i-c699222323b3e53310f639c3591da3e0.png) no-repeat;
	margin-left: 3px;
	cursor: pointer;
	position: relative;
	display: inline-block;
}

span.i .tooltip_content {
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-bottom: 10px;
	background: #333;
	font: 26px 'Gotham';
	color: #fff;
	border-radius: 3px;
	width: 450px;
	padding: 10px 15px;
	display: none;
	z-index: 999;
}

span.i:hover .tooltip_content {
	display: block;
}

span.i .tooltip_content:after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	height: 0;
	width: 0;
	pointer-events: none;
	border: solid transparent;
	border-top-color: #333;
	border-width: 5px;
	margin-left: -5px;
}

span.i[data-tooltip-position="bottom"] .tooltip_content {
	bottom: auto;
	top: 100%;
	margin-bottom: 0;
	margin-top: 10px;
}

span.i[data-tooltip-position="bottom"] .tooltip_content:after
	{
	top: auto;
	bottom: 100%;
	border-top-color: transparent;
	border-bottom-color: #333;
}

#frmGuardian label {
	display: inline;
	font-size:18px;
}

/* Restore floating-label sizing (matches .fl-field label elsewhere) —
   #frmGuardian label above is an ID selector and outranks .fl-field label. */
#frmGuardian .fl-field label {
	font-size: 14px;
}
#frmGuardian .fl-field input:focus + label,
#frmGuardian .fl-field input:not(:placeholder-shown) + label {
	font-size: 10px;
}

.tooltip-container .i .tooltip_content {
   margin-left: -310px !important;
   margin-top: -60px;
}

.tooltip-container .i .tooltip_content::before,
.tooltip-container .i .tooltip_content::after {
    display: none;
}

#dbMobilePopup{
  max-width:90% !important;
  min-height:200px !important;
  height:200px !important;
  top: 50% !important;
  left:5% !important;
}

/* ================================================================
   Redesigned wizard steps (2+) — does not affect school selection
   ================================================================ */

/* Zero out the form margin for redesigned steps so wiz-progress sits
   flush with the card edges. #propertyLoc keeps form { margin: 2% 4% }. */
.regWizard form:not(#propertyLoc) { margin: 0; }

/* --- Progress bar --------------------------------------------- */
.wiz-progress {
    display: flex;
    align-items: flex-start;
    padding: 14px 24px 12px;
    background: #fafbfc;
    border-bottom: 1px solid #f0f0f0;
}
.wiz-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.wiz-step::before {
    content: '';
    position: absolute;
    left: calc(-50% + 14px);
    right: calc(50% + 14px);
    top: 13px;
    height: 2px;
    background: #e4e6ea;
}
.wiz-step:first-child::before      { display: none; }
.wiz-step.done::before             { background: #1a2744; }
.wiz-step.active::before           { background: #1a2744; }

.wiz-step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e4e6ea;
    color: #aaa;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: 6px;
    transition: background .2s, color .2s;
}
.wiz-step.done .wiz-step-dot   { background: #1a2744; color: #fff; }
.wiz-step.active .wiz-step-dot { background: #1a2744; color: #fff; box-shadow: 0 0 0 4px rgba(26,39,68,.15); }

.wiz-step-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #c0c4cc;
    text-align: center;
    line-height: 1.2;
}
.wiz-step.done .wiz-step-label,
.wiz-step.active .wiz-step-label { color: #1a2744; }

/* --- Form body / footer --------------------------------------- */
.wiz-body   { padding: 16px 24px 4px; }
.wiz-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 10px 24px 16px;
}

/* --- Headings ------------------------------------------------- */
.wiz-title {
    font-size: 21px;
    font-weight: 600;
    color: #111;
    text-transform: none;
    margin-bottom: 4px;
    font-family: 'GothamBook', sans-serif;
}
.wiz-subtitle {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}
.registertoptext { font-size: 13px; color: #555; margin-bottom: 14px; font-style: italic; }

/* --- Section headers within forms ----------------------------- */
.wiz-section {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #999;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef0f3;
    margin: 12px 0 8px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.wiz-section i { color: #1a2744; font-size: 13px; }
.wiz-section:first-of-type { margin-top: 4px; }

/* --- Floating label inputs ------------------------------------ */
.fl-field { position: relative; margin-bottom: 12px; }

.regWizard .fl-field input[type=text],
.regWizard .fl-field input[type=email],
.regWizard .fl-field input[type=tel],
.regWizard .fl-field input[type=password] {
    width: 100%;
    height: auto;
    padding: 22px 14px 8px;
    border: 1.5px solid #dde1e7;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'GothamBook', sans-serif;
    color: #111;
    background: #fff;
    box-shadow: none;
    margin: 0;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
}
.regWizard .fl-field input:focus {
    border-color: #1a2744;
    box-shadow: 0 0 0 3px rgba(26,39,68,.11);
    outline: none;
}
.fl-field label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #bbb;
    pointer-events: none;
    transition: top .15s, font-size .15s, color .15s, transform .15s;
    margin: 0;
    font-weight: 400;
    line-height: 1;
}
.regWizard .fl-field input:focus + label,
.regWizard .fl-field input:not(:placeholder-shown) + label {
    top: 9px;
    transform: none;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1a2744;
    font-weight: 600;
}

/* --- Static label (for selects) ------------------------------- */
/* Needs !important to beat .regWizard label { font-size: 19px } in the base CSS */
.wiz-body .wiz-label,
.wiz-label {
    display: block !important;
    font-size: 10px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #888;
    margin-bottom: 3px;
    line-height: 1;
}

/* --- Select fields (redesigned steps only) -------------------- */
.wiz-body select {
    height: 40px;
    padding: 8px 12px;
    border: 1.5px solid #dde1e7;
    border-radius: 10px;
    font-size: 13px;
    font-family: 'GothamBook', sans-serif;
    color: #333;
    background-color: #fff;
    width: 100%;
    margin: 0 0 10px 0;
}
.wiz-body select:focus {
    border-color: #1a2744;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,39,68,.11);
}

/* --- Grid helpers --------------------------------------------- */
.wiz-row-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wiz-row-3    { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.wiz-row-city { display: grid; grid-template-columns: 1fr 96px 116px; gap: 8px; }

/* --- Buttons (redesigned steps only — scoped to wiz-footer/wiz-body
       so #propertyLoc NEXT button keeps its original Foundation style) -- */
.wiz-footer .button,
.wiz-footer input[type=button].button,
.wiz-body .button,
.wiz-body input[type=button].button {
    background: #1a2744;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    font-family: 'GothamBook', sans-serif;
    cursor: pointer;
    transition: background .2s;
    line-height: 1;
    text-decoration: none;
    display: inline-block;
}
.wiz-footer .button:hover,
.wiz-footer input[type=button].button:hover,
.wiz-body .button:hover,
.wiz-body input[type=button].button:hover { background: #243660; color: #fff; }

.wiz-footer .button.hollow          { background: #1a2744; color: #fff; border-color: #1a2744; }
.wiz-footer .button.hollow:hover    { background: #243660; border-color: #243660; color: #fff; }

.wiz-footer .button.secondary,
.wiz-footer input[type=button].button.secondary,
.wiz-footer .button.hollow.secondary,
.wiz-footer input[type=button].button.hollow.secondary {
    background: transparent;
    color: #666;
    border: 1.5px solid #ccc;
}
.wiz-footer .button.secondary:hover,
.wiz-footer input[type=button].button.secondary:hover,
.wiz-footer .button.hollow.secondary:hover,
.wiz-footer input[type=button].button.hollow.secondary:hover {
    background: #f5f5f5;
    border-color: #aaa;
    color: #333;
}

/* --- Card type tiles ------------------------------------------ */
.card-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 18px 0 20px;
}
.card-tile { cursor: pointer; display: block; }
.card-tile input[type=radio] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.card-tile-inner {
    border: 2px solid #dde1e7;
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    transition: border-color .2s, background .2s, box-shadow .2s;
    height: 100%;
    box-sizing: border-box;
}
.card-tile input[type=radio]:checked ~ .card-tile-inner {
    border-color: #1a2744;
    background: #f4f6fb;
    box-shadow: 0 0 0 3px rgba(26,39,68,.1);
}
.card-tile:hover .card-tile-inner { border-color: #9aabbf; }
.card-tile-icon  { font-size: 28px; color: #1a2744; margin-bottom: 12px; }
.card-tile-title { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 8px; }
.card-tile-body  { font-size: 12px; color: #666; line-height: 1.5; margin-bottom: 12px; }
.card-tile-badge {
    display: inline-block;
    background: #e8edf5;
    color: #1a2744;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.card-tile input[type=radio]:checked ~ .card-tile-inner .card-tile-badge { background: #1a2744; color: #fff; }

/* --- Callout / info box --------------------------------------- */
.wiz-callout {
    background: #f0f4fb;
    border-left: 4px solid #1a2744;
    border-radius: 0 10px 10px 0;
    padding: 14px 16px;
    font-size: 13px;
    color: #333;
    margin-bottom: 18px;
    line-height: 1.5;
}
.wiz-callout i { color: #1a2744; margin-right: 6px; }

.wiz-callout-angular {
    background: #f0f4fb;
    border-left: 4px solid #1a2744;
    border-radius: 0 10px 10px 0;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    margin: 12px 0;
    line-height: 1.5;
}

/* --- Checkboxes ----------------------------------------------- */
.wiz-checks { margin: 14px 0 4px; }
.wiz-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
.wiz-check input[type=checkbox] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    min-width: 16px;
    accent-color: #1a2744;
    cursor: pointer;
}
.wiz-check label { cursor: pointer; margin: 0; font-size: 13px; }

/* Radio options — force block stacking regardless of Foundation label rules */
.wiz-body label.wiz-radio-opt {
    display: flex !important;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box;
    clear: both;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border: 1.5px solid #dde1e7;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
    transition: border-color .2s, background .2s;
}
.wiz-body label.wiz-radio-opt input[type=radio] { margin-top: 2px; accent-color: #1a2744; flex-shrink: 0; }
.wiz-body label.wiz-radio-opt:hover { border-color: #1a2744; background: #f4f6fb; }

/* --- Guardian search results panel ---------------------------- */
.wiz-panel {
    border: 1.5px solid #dde1e7;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 12px 0 16px;
}
.wiz-panel-row {
    display: flex;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
    font-size: 13px;
    gap: 12px;
}
.wiz-panel-row:last-child   { border-bottom: none; }
.wiz-panel-key  { font-weight: 700; color: #888; font-size: 10px; text-transform: uppercase; letter-spacing: 0.3px; width: 80px; flex-shrink: 0; }
.wiz-panel-val  { color: #111; font-weight: 600; }
.wiz-panel-link { font-size: 12px; text-decoration: underline; cursor: pointer; color: #1a2744; }

/* --- Tooltip -------------------------------------------------- */
.wiz-section span.i {
    width: 18px; height: 18px; border-radius: 50%;
    border: 1.5px solid #1a2744; color: #1a2744;
    background: none;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; cursor: pointer;
    position: relative; vertical-align: middle;
}
.wiz-section span.i::before { content: 'i'; }

/* --- Misc ----------------------------------------------------- */
.wiz-body .steps-indicator { height: auto !important; }

/* --- Responsive (redesigned steps) ---------------------------- */
@media (max-width: 680px) {
    .wiz-body   { padding: 18px 16px 4px; }
    .wiz-footer { padding: 10px 16px 20px; }
    .wiz-progress { padding: 16px 16px 12px; }
    .wiz-step-label { display: none; }
    .card-type-grid { grid-template-columns: 1fr; }
    .wiz-row-2    { grid-template-columns: 1fr; gap: 0; }
    .wiz-row-3    { grid-template-columns: 1fr; gap: 0; }
    .wiz-row-city { grid-template-columns: 1fr; gap: 0; }
}
