/* Heritage Health Career Center — complete Additional CSS for Form 22 */
/* Site-wide Hestia settings retained */
.navbar .navbar-brand img{max-height:200px!important;width:auto!important;height:100px!important}
.navbar .navbar-brand{height:auto!important;padding:5px 15px!important}
footer.footer .copyright{display:none!important}
.home .big-title-slider-content .hestia-title,.home .carousel .hestia-title,.home .page-header .hestia-title{font-family:Georgia,"Times New Roman",serif!important;font-weight:500!important;color:#fff!important;letter-spacing:.5px!important;text-shadow:0 0 5px rgba(255,255,255,.70),0 0 12px rgba(255,255,255,.35),2px 3px 6px rgba(0,0,0,.65)!important}
.home .hestia-title{line-height:.90!important}
.home .big-title-slider-content .sub-title,.home .carousel .sub-title,.home .page-header .sub-title{font-style:italic!important;font-family:Georgia,"Times New Roman",serif!important;font-weight:400!important}
/* Scope all enrollment styles to actual form ID 22 */
#fluentform_29{--hhcc-blue:#1d5a92;--hhcc-red:#b4232c;--hhcc-border:#c9d7e5;box-sizing:border-box!important;width:100%!important;max-width:680px!important;margin:0 auto!important;padding:0 12px!important;color:#243448}
#fluentform_29 *,#fluentform_29 *:before,#fluentform_29 *:after{box-sizing:border-box}
#fluentform_29 .ff-el-group{min-width:0;margin-bottom:13px}
#fluentform_29 .ff-el-input--label label{font-size:14px;line-height:1.35}
#fluentform_29 input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=password]),#fluentform_29 input[type=password],#fluentform_29 select,#fluentform_29 textarea{width:100%;max-width:100%;min-height:40px;padding:8px 10px;border:1px solid #aebdce;border-radius:4px;background:#fff;box-shadow:none}
#fluentform_29 input:focus,#fluentform_29 select:focus,#fluentform_29 textarea:focus{border-color:var(--hhcc-blue);outline:2px solid rgba(29,90,146,.13)}
#fluentform_29 input[type=radio],#fluentform_29 input[type=checkbox]{accent-color:var(--hhcc-blue)}
#fluentform_29 .ff-btn-submit{background:var(--hhcc-blue)!important;border-color:var(--hhcc-blue)!important;color:white!important}
#fluentform_29 .hhcc-section h1,#fluentform_29 .hhcc-section h2,#fluentform_29 .hhcc-section h3,#fluentform_29 .hhcc-section h4,#fluentform_29 .hhcc-section h5,#fluentform_29 .hhcc-section strong{color:var(--hhcc-blue)}
#fluentform_29 .hhcc-policy,#fluentform_29 .hhcc-policy-text{max-width:100%;overflow-wrap:anywhere}
#fluentform_29 .hhcc-phone-no-icon .ff-el-input--content>i,#fluentform_29 .hhcc-reference-phone .input-group-text{display:none}
/* Standard compact columns, respecting Fluent Forms conditional visibility */
@media(min-width:701px){
 #fluentform_29 .ff-el-group.hhcc-third{float:left;width:33.333333%;padding-right:12px}
 #fluentform_29 .ff-el-group.hhcc-half{float:left;width:50%;padding-right:12px}
 #fluentform_29 .ff-el-group.hhcc-row-start{clear:left}
 #fluentform_29 .ff-el-group.hhcc-contact-street,#fluentform_29 .ff-el-group.hhcc-contact-city,#fluentform_29 .ff-el-group.hhcc-contact-state,#fluentform_29 .ff-el-group.hhcc-contact-zip{float:left;width:50%;padding-right:12px}
 #fluentform_29 .ff-el-group.hhcc-contact-street,#fluentform_29 .ff-el-group.hhcc-contact-state{clear:left}
}
#fluentform_29 .ff-el-group.hhcc-full,#fluentform_29 .ff-el-group.hhcc-section,#fluentform_29 .ff-el-group.hhcc-policy-text{float:none;clear:both;width:100%;max-width:100%}
/* Office use only: red, smaller, square edges, compact */
#fluentform_29 .ff-el-group.hhcc-office-red{background:#fff8f8!important;padding:4px 7px!important;margin-bottom:0!important;border-radius:0!important}
#fluentform_29 .ff-el-group.hhcc-office-red.hhcc-section{border:1px solid var(--hhcc-red)!important;border-bottom:0!important;padding:6px 9px 2px!important}
#fluentform_29 .hhcc-office-red .hhcc-section-title,#fluentform_29 .hhcc-office-red .hhcc-office-note,#fluentform_29 .hhcc-office-red label{color:var(--hhcc-red)!important}
#fluentform_29 .hhcc-office-red .hhcc-section-title{font-size:14px!important;margin:0 0 2px!important}
#fluentform_29 .hhcc-office-red .hhcc-office-note{font-size:11px!important;margin:0!important}
#fluentform_29 .hhcc-office-red .ff-el-input--label label{font-size:11px!important}
#fluentform_29 .hhcc-office-red input,#fluentform_29 .hhcc-office-red select{min-height:30px!important;padding:4px 7px!important;font-size:12px!important;border-color:#c66!important}
#fluentform_29 .ff-el-group.hhcc-office-red:has([name="hhcc_008"]),#fluentform_29 .ff-el-group.hhcc-office-red:has([name="hhcc_024"]){border-left:1px solid var(--hhcc-red)}
#fluentform_29 .ff-el-group.hhcc-office-red:has([name="hhcc_023"]),#fluentform_29 .ff-el-group.hhcc-office-red:has([name="hhcc_026"]){border-right:1px solid var(--hhcc-red)}
#fluentform_29 .ff-el-group.hhcc-office-red:has([name="hhcc_024"]),#fluentform_29 .ff-el-group.hhcc-office-red:has([name="hhcc_025"]),#fluentform_29 .ff-el-group.hhcc-office-red:has([name="hhcc_026"]){border-bottom:1px solid var(--hhcc-red)}
/* Education: all six questions align consistently, including conditional branches */
#fluentform_29 .ff-el-group.hhcc-education-question{float:none!important;clear:both!important;width:100%!important;padding:8px 0!important;border:0!important;margin:0 0 5px!important}
@media(min-width:701px){
 #fluentform_29 .ff-el-group.hhcc-education-question:not([style*="display: none"]){display:flex;align-items:center;gap:15px}
 #fluentform_29 .hhcc-education-question>.ff-el-input--label{flex:1 1 57%;min-width:0;margin:0}
 #fluentform_29 .hhcc-education-question>.ff-el-input--content{flex:0 1 43%;min-width:0}
}
/* Admissions questions: same question-left, answer-right style */
#fluentform_29 .ff-el-group.hhcc-admissions-question{float:none;clear:both;width:100%;padding:8px 0;border-bottom:0}
@media(min-width:701px){
 #fluentform_29 .ff-el-group.hhcc-admissions-question:not([style*="display: none"]){display:flex;align-items:center;gap:15px}
 #fluentform_29 .hhcc-admissions-question>.ff-el-input--label{flex:1;min-width:0;margin:0}
 #fluentform_29 .hhcc-admissions-question>.ff-el-input--content{flex:0 0 165px}
}
#fluentform_29 .hhcc-admissions-question .ff-el-form-check,#fluentform_29 .hhcc-inline-radio .ff-el-form-check{display:inline-flex;align-items:center;margin-right:12px;width:auto}
/* Both grading tables: explicitly override theme's table formatting */
#fluentform_29 .hhcc-grading-policy{float:none!important;clear:both!important;display:block!important;width:100%!important;max-width:100%!important;margin:12px 0 18px!important;overflow-x:auto}
#fluentform_29 .hhcc-grading-policy h4{margin:4px 0 10px!important;text-align:center;color:var(--hhcc-blue)}
#fluentform_29 .hhcc-grading-policy table,#fluentform_29 table.hhcc-grade-table{width:100%!important;max-width:100%!important;height:auto!important;table-layout:auto!important;border-collapse:collapse!important;border-spacing:0!important;margin:10px 0!important;border:1px solid var(--hhcc-border)!important}
#fluentform_29 .hhcc-grading-policy thead th,#fluentform_29 .hhcc-grading-policy table.hhcc-grade-table th{background:#1d5a92!important;background-color:#1d5a92!important;color:#fff!important;font-weight:700!important;text-align:left!important;border:1px solid #a9bfd4!important;padding:10px 12px!important;vertical-align:middle!important}
#fluentform_29 .hhcc-grading-policy tbody td,#fluentform_29 .hhcc-grading-policy table.hhcc-grade-table td{border:1px solid #c9d7e5!important;padding:9px 12px!important;color:#203047!important;vertical-align:top!important;background:#fff!important}
#fluentform_29 .hhcc-grading-policy tbody tr:nth-child(even) td{background:#f0f6fc!important}
#fluentform_29 .hhcc-grading-policy p{margin:8px 0!important}
/* Certification disclaimer: square border, no changed legal wording */
#fluentform_29 .hhcc-certification-box{border:2px solid #b4232c!important;border-radius:0!important;background:#fff9f9!important;padding:12px 16px!important;margin:12px 0 18px!important;clear:both}
#fluentform_29 .hhcc-certification-box p{margin:6px 0!important}
/* GNPEC disclosure statements */
#fluentform_29 .hhcc-gnpec-checkbox{float:none;clear:both;width:100%;padding:9px 0;border-bottom:1px solid #e2e8f0}
#fluentform_29 .hhcc-gnpec-checkbox .ff-el-input--label{font-weight:700;color:var(--hhcc-blue)}
#fluentform_29 .hhcc-gnpec-checkbox .ff-el-form-check-label{white-space:normal;line-height:1.5}
/* All signatures same width/height, signature on left and its date on right */
#fluentform_29 .ff-el-group.hhcc-signature-field{float:none;clear:both;width:100%;max-width:100%;margin-bottom:10px}
#fluentform_29 .hhcc-signature-field .ff-el-input--content,#fluentform_29 .hhcc-signature-field canvas{width:100%!important;max-width:100%!important}
#fluentform_29 .hhcc-signature-field canvas{height:95px!important;border:1px solid #9db4ca;border-radius:3px}
@media(min-width:701px){
 #fluentform_29 .ff-el-group.hhcc-signature-field.hhcc-sig-row-start{float:left!important;clear:left!important;width:72%!important;padding-right:12px}
 #fluentform_29 .ff-el-group.hhcc-signature-date{float:left!important;clear:none!important;width:28%!important}
}
@media(max-width:700px){
 #fluentform_29{padding:0 10px!important}
 #fluentform_29 .ff-el-group.hhcc-third,#fluentform_29 .ff-el-group.hhcc-half,#fluentform_29 .ff-el-group.hhcc-contact-street,#fluentform_29 .ff-el-group.hhcc-contact-city,#fluentform_29 .ff-el-group.hhcc-contact-state,#fluentform_29 .ff-el-group.hhcc-contact-zip,#fluentform_29 .ff-el-group.hhcc-signature-field,#fluentform_29 .ff-el-group.hhcc-signature-date{float:none!important;clear:both!important;width:100%!important;padding-right:0!important}
 #fluentform_29 .hhcc-office-red.hhcc-third{border-left:1px solid var(--hhcc-red);border-right:1px solid var(--hhcc-red)}
 #fluentform_29 .hhcc-grading-policy th,#fluentform_29 .hhcc-grading-policy td{padding:7px!important;font-size:12px!important}
}

/* HHCC Form 22: constrain outer wrapper AND inner form, not just form */
body .fluentform_wrapper_29,
body .fluentform_wrapper_29 .frm-fluent-form,
body form#fluentform_29,
body #fluentform_29 {width:100%!important;max-width:680px!important;margin-left:auto!important;margin-right:auto!important;min-width:0!important;box-sizing:border-box!important}
body #fluentform_29 .ff-el-group{max-width:100%;box-sizing:border-box}
body #fluentform_29 .hhcc-grading-policy,body #fluentform_29 .hhcc-grading-policy table{max-width:100%!important;min-width:0!important}
body #fluentform_29 .hhcc-grading-policy table{width:100%!important;height:auto!important;table-layout:auto!important}
/* Office-only text and field controls are red and compact */
body #fluentform_29 .hhcc-office-red,body #fluentform_29 .hhcc-office-red label,body #fluentform_29 .hhcc-office-red p{color:#b4232c!important}
/* Consistent Education alignment without overriding Fluent Forms conditional display */
body #fluentform_29 .ff-el-group.hhcc-education-row{float:none!important;clear:both!important;width:100%!important;margin:0 0 10px!important}
@media(min-width:701px){body #fluentform_29 .ff-el-group.hhcc-education-row:not([style*="display: none"]){display:flex!important;align-items:center!important;gap:12px!important}body #fluentform_29 .hhcc-education-row>.ff-el-input--label{flex:1 1 58%;min-width:0}body #fluentform_29 .hhcc-education-row>.ff-el-input--content{flex:0 1 42%;min-width:0}}
/* Signature/date fields: left signature, right date */
@media(min-width:701px){body #fluentform_29 .ff-el-group.hhcc-signature-uniform.hhcc-signature-left{float:left!important;clear:left!important;width:70%!important;padding-right:12px!important}body #fluentform_29 .ff-el-group.hhcc-signature-date-right{float:left!important;clear:none!important;width:30%!important}}
body #fluentform_29 .hhcc-signature-uniform canvas{width:100%!important;max-width:100%!important;height:95px!important}
@media(max-width:700px){body .fluentform_wrapper_29,body #fluentform_29{max-width:100%!important}body #fluentform_29 .ff-el-group.hhcc-signature-left,body #fluentform_29 .ff-el-group.hhcc-signature-date-right{float:none!important;clear:both!important;width:100%!important}}


/* HHCC Form 24 — final targeted layout corrections */
body .fluentform_wrapper_29, body #fluentform_29, body .fluentform_wrapper_29 .frm-fluent-form {
  width:100% !important; max-width:740px !important; margin-left:auto !important; margin-right:auto !important;
  box-sizing:border-box !important;
}
body #fluentform_29 .hhcc-grading-policy {width:100% !important;max-width:100% !important;margin:12px 0 !important;overflow-x:auto !important;}
body #fluentform_29 .hhcc-grading-policy table {width:100% !important;max-width:100% !important;border-collapse:collapse !important;table-layout:auto !important;border:1px solid #b7c9dd !important;height:auto !important;}
body #fluentform_29 .hhcc-grading-policy table th {background:#1d5a92 !important;color:#fff !important;border:1px solid #1d5a92 !important;padding:10px !important;text-align:left !important;font-weight:700 !important;}
body #fluentform_29 .hhcc-grading-policy table td {background:transparent !important;color:#202b39 !important;border:1px solid #b7c9dd !important;padding:10px !important;text-align:left !important;}
body #fluentform_29 .hhcc-grading-policy table tr:nth-child(even) td {background:#edf4fb !important;}
body #fluentform_29 .hhcc-grading-policy h3:empty,body #fluentform_29 .hhcc-grading-policy h4:empty {display:none !important;margin:0 !important;}
/* Match all radio questions to Criminal Background question-and-answer layout */
@media(min-width:701px){
 body #fluentform_29 .ff-el-group.hhcc-radio-row:not([style*="display: none"]) {display:flex !important;align-items:center !important;gap:14px !important;float:none !important;clear:both !important;width:100% !important;padding:8px 0 !important;}
 body #fluentform_29 .hhcc-radio-row > .ff-el-input--label {flex:1 1 auto !important;min-width:0 !important;margin:0 !important;}
 body #fluentform_29 .hhcc-radio-row > .ff-el-input--content {flex:0 0 170px !important;min-width:170px !important;}
}
body #fluentform_29 .hhcc-radio-row .ff-el-form-check {display:inline-flex !important;align-items:center !important;width:auto !important;margin:0 12px 0 0 !important;}
/* Signature and date side-by-side; matching 44px input heights */
body #fluentform_29 .hhcc-signature-uniform canvas,
body #fluentform_29 .hhcc-signature-uniform .signature-pad,
body #fluentform_29 .hhcc-signature-uniform .ff_signature_canvas {height:44px !important;min-height:44px !important;max-height:44px !important;width:100% !important;}
body #fluentform_29 .hhcc-signature-date-right input {height:44px !important;min-height:44px !important;}
@media(min-width:701px){
 body #fluentform_29 .ff-el-group.hhcc-signature-left {float:left !important;clear:left !important;width:68% !important;padding-right:12px !important;box-sizing:border-box !important;}
 body #fluentform_29 .ff-el-group.hhcc-signature-date-right {float:left !important;clear:none !important;width:32% !important;box-sizing:border-box !important;}
}
@media(max-width:700px){body #fluentform_29 .ff-el-group.hhcc-signature-left,body #fluentform_29 .ff-el-group.hhcc-signature-date-right{float:none !important;clear:both !important;width:100% !important;padding-right:0 !important;}}

/* ============================================================
   HHCC Form 29 — wider form + paired signature/date rows
   22 Nov 2026. Other site styles retained unchanged.
   ============================================================ */
body .fluentform_wrapper_29,
body .fluentform_wrapper_29 .frm-fluent-form,
body form#fluentform_29,
body #fluentform_29 {
  width: 100% !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Each signature immediately precedes its corresponding date in
   the supplied Form 29 export. Keep these two fields in one row. */
@media (min-width: 701px) {
  body #fluentform_29 .ff-el-group.hhcc-signature-left:has(+ .ff-el-group.hhcc-signature-date-right) {
    float: left !important;
    clear: both !important;
    display: block !important;
    width: 68% !important;
    max-width: 68% !important;
    padding-right: 16px !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  body #fluentform_29 .ff-el-group.hhcc-signature-left + .ff-el-group.hhcc-signature-date-right {
    float: left !important;
    clear: none !important;
    display: block !important;
    width: 32% !important;
    max-width: 32% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    box-sizing: border-box !important;
  }
  /* Force the next field to begin below the completed pair. */
  body #fluentform_29 .ff-el-group.hhcc-signature-date-right + .ff-el-group {
    clear: both !important;
  }
}
/* Keep the signature pad usable; date input aligns at the top of the row. */
body #fluentform_29 .hhcc-signature-uniform .ff-el-input--content,
body #fluentform_29 .hhcc-signature-uniform .signature-pad,
body #fluentform_29 .hhcc-signature-uniform .ff_signature_canvas,
body #fluentform_29 .hhcc-signature-uniform canvas {
  width: 100% !important;
  max-width: 100% !important;
}
body #fluentform_29 .hhcc-signature-uniform canvas,
body #fluentform_29 .hhcc-signature-uniform .signature-pad,
body #fluentform_29 .hhcc-signature-uniform .ff_signature_canvas {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
}
body #fluentform_29 .hhcc-signature-date-right input {
  width: 100% !important;
  min-height: 44px !important;
}
@media (max-width: 700px) {
  body #fluentform_29 .ff-el-group.hhcc-signature-left,
  body #fluentform_29 .ff-el-group.hhcc-signature-date-right {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* Final Form 29 signature/date height parity */
body #fluentform_29 .hhcc-signature-uniform canvas,
body #fluentform_29 .hhcc-signature-uniform .signature-pad,
body #fluentform_29 .hhcc-signature-uniform .ff_signature_canvas,
body #fluentform_29 .hhcc-signature-left canvas,
body #fluentform_29 .hhcc-signature-date-right input {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
}


/* HHCC Nov 23 targeted updates — Form 29 only */
body .fluentform_wrapper_29, body #fluentform_29, body .fluentform_wrapper_29 .frm-fluent-form {max-width:820px!important;width:100%!important}
body #fluentform_29 .ff-el-group.hhcc-visa-wide {float:none!important;clear:both!important;width:100%!important;max-width:100%!important}
body #fluentform_29 .hhcc-visa-wide .ff-el-input--content, body #fluentform_29 .hhcc-visa-wide select {width:100%!important;max-width:100%!important;min-width:0!important}
body #fluentform_29 .hhcc-acceptance-required .ff-el-form-check-label:after {content:' *';color:#d32f2f!important;font-weight:700}
/* JS enhancement wraps each adjacent signature/date pair, keeping the signing area level with its date. */
body #fluentform_29 .hhcc-sig-date-pair {display:grid!important;grid-template-columns:minmax(0, 2.1fr) minmax(0, 1fr);gap:18px;align-items:end;clear:both;width:100%;margin:0 0 16px}
body #fluentform_29 .hhcc-sig-date-pair>.ff-el-group {float:none!important;clear:none!important;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;min-width:0}
body #fluentform_29 .hhcc-sig-date-pair .hhcc-signature-left .ff-el-input--label {margin-bottom:8px}
body #fluentform_29 .hhcc-sig-date-pair .hhcc-signature-left .ff-el-input--content {width:100%!important;max-width:100%!important}
body #fluentform_29 .hhcc-sig-date-pair .hhcc-signature-left canvas,
body #fluentform_29 .hhcc-sig-date-pair .hhcc-signature-left .signature-pad,
body #fluentform_29 .hhcc-sig-date-pair .hhcc-signature-left .ff_signature_canvas,
body #fluentform_29 .hhcc-sig-date-pair .hhcc-signature-date-right input {height:44px!important;min-height:44px!important;max-height:44px!important}
body #fluentform_29 .hhcc-sig-date-pair .hhcc-signature-date-right {align-self:end}
body #fluentform_29 .hhcc-sig-date-pair .hhcc-signature-date-right .ff-el-input--label {margin-bottom:8px}
@media(max-width:600px){body #fluentform_29 .hhcc-sig-date-pair{grid-template-columns:minmax(0,1fr);gap:10px}}
