/* 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_27{--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_27 *,#fluentform_27 *:before,#fluentform_27 *:after{box-sizing:border-box}
#fluentform_27 .ff-el-group{min-width:0;margin-bottom:13px}
#fluentform_27 .ff-el-input--label label{font-size:14px;line-height:1.35}
#fluentform_27 input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=password]),#fluentform_27 input[type=password],#fluentform_27 select,#fluentform_27 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_27 input:focus,#fluentform_27 select:focus,#fluentform_27 textarea:focus{border-color:var(--hhcc-blue);outline:2px solid rgba(29,90,146,.13)}
#fluentform_27 input[type=radio],#fluentform_27 input[type=checkbox]{accent-color:var(--hhcc-blue)}
#fluentform_27 .ff-btn-submit{background:var(--hhcc-blue)!important;border-color:var(--hhcc-blue)!important;color:white!important}
#fluentform_27 .hhcc-section h1,#fluentform_27 .hhcc-section h2,#fluentform_27 .hhcc-section h3,#fluentform_27 .hhcc-section h4,#fluentform_27 .hhcc-section h5,#fluentform_27 .hhcc-section strong{color:var(--hhcc-blue)}
#fluentform_27 .hhcc-policy,#fluentform_27 .hhcc-policy-text{max-width:100%;overflow-wrap:anywhere}
#fluentform_27 .hhcc-phone-no-icon .ff-el-input--content>i,#fluentform_27 .hhcc-reference-phone .input-group-text{display:none}
/* Standard compact columns, respecting Fluent Forms conditional visibility */
@media(min-width:701px){
 #fluentform_27 .ff-el-group.hhcc-third{float:left;width:33.333333%;padding-right:12px}
 #fluentform_27 .ff-el-group.hhcc-half{float:left;width:50%;padding-right:12px}
 #fluentform_27 .ff-el-group.hhcc-row-start{clear:left}
 #fluentform_27 .ff-el-group.hhcc-contact-street,#fluentform_27 .ff-el-group.hhcc-contact-city,#fluentform_27 .ff-el-group.hhcc-contact-state,#fluentform_27 .ff-el-group.hhcc-contact-zip{float:left;width:50%;padding-right:12px}
 #fluentform_27 .ff-el-group.hhcc-contact-street,#fluentform_27 .ff-el-group.hhcc-contact-state{clear:left}
}
#fluentform_27 .ff-el-group.hhcc-full,#fluentform_27 .ff-el-group.hhcc-section,#fluentform_27 .ff-el-group.hhcc-policy-text{float:none;clear:both;width:100%;max-width:100%}
/* Office use only: red, smaller, square edges, compact */
#fluentform_27 .ff-el-group.hhcc-office-red{background:#fff8f8!important;padding:4px 7px!important;margin-bottom:0!important;border-radius:0!important}
#fluentform_27 .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_27 .hhcc-office-red .hhcc-section-title,#fluentform_27 .hhcc-office-red .hhcc-office-note,#fluentform_27 .hhcc-office-red label{color:var(--hhcc-red)!important}
#fluentform_27 .hhcc-office-red .hhcc-section-title{font-size:14px!important;margin:0 0 2px!important}
#fluentform_27 .hhcc-office-red .hhcc-office-note{font-size:11px!important;margin:0!important}
#fluentform_27 .hhcc-office-red .ff-el-input--label label{font-size:11px!important}
#fluentform_27 .hhcc-office-red input,#fluentform_27 .hhcc-office-red select{min-height:30px!important;padding:4px 7px!important;font-size:12px!important;border-color:#c66!important}
#fluentform_27 .ff-el-group.hhcc-office-red:has([name="hhcc_008"]),#fluentform_27 .ff-el-group.hhcc-office-red:has([name="hhcc_024"]){border-left:1px solid var(--hhcc-red)}
#fluentform_27 .ff-el-group.hhcc-office-red:has([name="hhcc_023"]),#fluentform_27 .ff-el-group.hhcc-office-red:has([name="hhcc_026"]){border-right:1px solid var(--hhcc-red)}
#fluentform_27 .ff-el-group.hhcc-office-red:has([name="hhcc_024"]),#fluentform_27 .ff-el-group.hhcc-office-red:has([name="hhcc_025"]),#fluentform_27 .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_27 .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_27 .ff-el-group.hhcc-education-question:not([style*="display: none"]){display:flex;align-items:center;gap:15px}
 #fluentform_27 .hhcc-education-question>.ff-el-input--label{flex:1 1 57%;min-width:0;margin:0}
 #fluentform_27 .hhcc-education-question>.ff-el-input--content{flex:0 1 43%;min-width:0}
}
/* Admissions questions: same question-left, answer-right style */
#fluentform_27 .ff-el-group.hhcc-admissions-question{float:none;clear:both;width:100%;padding:8px 0;border-bottom:0}
@media(min-width:701px){
 #fluentform_27 .ff-el-group.hhcc-admissions-question:not([style*="display: none"]){display:flex;align-items:center;gap:15px}
 #fluentform_27 .hhcc-admissions-question>.ff-el-input--label{flex:1;min-width:0;margin:0}
 #fluentform_27 .hhcc-admissions-question>.ff-el-input--content{flex:0 0 165px}
}
#fluentform_27 .hhcc-admissions-question .ff-el-form-check,#fluentform_27 .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_27 .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_27 .hhcc-grading-policy h4{margin:4px 0 10px!important;text-align:center;color:var(--hhcc-blue)}
#fluentform_27 .hhcc-grading-policy table,#fluentform_27 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_27 .hhcc-grading-policy thead th,#fluentform_27 .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_27 .hhcc-grading-policy tbody td,#fluentform_27 .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_27 .hhcc-grading-policy tbody tr:nth-child(even) td{background:#f0f6fc!important}
#fluentform_27 .hhcc-grading-policy p{margin:8px 0!important}
/* Certification disclaimer: square border, no changed legal wording */
#fluentform_27 .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_27 .hhcc-certification-box p{margin:6px 0!important}
/* GNPEC disclosure statements */
#fluentform_27 .hhcc-gnpec-checkbox{float:none;clear:both;width:100%;padding:9px 0;border-bottom:1px solid #e2e8f0}
#fluentform_27 .hhcc-gnpec-checkbox .ff-el-input--label{font-weight:700;color:var(--hhcc-blue)}
#fluentform_27 .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_27 .ff-el-group.hhcc-signature-field{float:none;clear:both;width:100%;max-width:100%;margin-bottom:10px}
#fluentform_27 .hhcc-signature-field .ff-el-input--content,#fluentform_27 .hhcc-signature-field canvas{width:100%!important;max-width:100%!important}
#fluentform_27 .hhcc-signature-field canvas{height:95px!important;border:1px solid #9db4ca;border-radius:3px}
@media(min-width:701px){
 #fluentform_27 .ff-el-group.hhcc-signature-field.hhcc-sig-row-start{float:left!important;clear:left!important;width:72%!important;padding-right:12px}
 #fluentform_27 .ff-el-group.hhcc-signature-date{float:left!important;clear:none!important;width:28%!important}
}
@media(max-width:700px){
 #fluentform_27{padding:0 10px!important}
 #fluentform_27 .ff-el-group.hhcc-third,#fluentform_27 .ff-el-group.hhcc-half,#fluentform_27 .ff-el-group.hhcc-contact-street,#fluentform_27 .ff-el-group.hhcc-contact-city,#fluentform_27 .ff-el-group.hhcc-contact-state,#fluentform_27 .ff-el-group.hhcc-contact-zip,#fluentform_27 .ff-el-group.hhcc-signature-field,#fluentform_27 .ff-el-group.hhcc-signature-date{float:none!important;clear:both!important;width:100%!important;padding-right:0!important}
 #fluentform_27 .hhcc-office-red.hhcc-third{border-left:1px solid var(--hhcc-red);border-right:1px solid var(--hhcc-red)}
 #fluentform_27 .hhcc-grading-policy th,#fluentform_27 .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_27,
body .fluentform_wrapper_27 .frm-fluent-form,
body form#fluentform_27,
body #fluentform_27 {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_27 .ff-el-group{max-width:100%;box-sizing:border-box}
body #fluentform_27 .hhcc-grading-policy,body #fluentform_27 .hhcc-grading-policy table{max-width:100%!important;min-width:0!important}
body #fluentform_27 .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_27 .hhcc-office-red,body #fluentform_27 .hhcc-office-red label,body #fluentform_27 .hhcc-office-red p{color:#b4232c!important}
/* Consistent Education alignment without overriding Fluent Forms conditional display */
body #fluentform_27 .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_27 .ff-el-group.hhcc-education-row:not([style*="display: none"]){display:flex!important;align-items:center!important;gap:12px!important}body #fluentform_27 .hhcc-education-row>.ff-el-input--label{flex:1 1 58%;min-width:0}body #fluentform_27 .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_27 .ff-el-group.hhcc-signature-uniform.hhcc-signature-left{float:left!important;clear:left!important;width:70%!important;padding-right:12px!important}body #fluentform_27 .ff-el-group.hhcc-signature-date-right{float:left!important;clear:none!important;width:30%!important}}
body #fluentform_27 .hhcc-signature-uniform canvas{width:100%!important;max-width:100%!important;height:95px!important}
@media(max-width:700px){body .fluentform_wrapper_27,body #fluentform_27{max-width:100%!important}body #fluentform_27 .ff-el-group.hhcc-signature-left,body #fluentform_27 .ff-el-group.hhcc-signature-date-right{float:none!important;clear:both!important;width:100%!important}}

/* ===== HHCC FORM 24: NOV 11 TARGETED REFINEMENTS ===== */
/* 760px: slightly wider than previous 680px, still centered */
body .fluentform_wrapper_27,body .fluentform_wrapper_27 .frm-fluent-form,
body form#fluentform_27,body #fluentform_27{
 width:100%!important;max-width:820px!important;margin-left:auto!important;
 margin-right:auto!important;box-sizing:border-box!important;
}
/* Grading policy and Letter Grade Assignment: full table within form */
body #fluentform_27 .hhcc-grading-policy{display:block!important;float:none!important;
 clear:both!important;width:100%!important;max-width:100%!important;
 margin:16px 0 22px!important;overflow-x:auto!important;}
body #fluentform_27 .hhcc-grading-policy table,
body #fluentform_27 .hhcc-grading-policy table.hhcc-grade-table{
 display:table!important;width:100%!important;min-width:0!important;
 max-width:100%!important;table-layout:auto!important;border-collapse:collapse!important;
 border:1px solid #c9d7e5!important;margin:10px 0!important;
}
body #fluentform_27 .hhcc-grading-policy thead{display:table-header-group!important}
body #fluentform_27 .hhcc-grading-policy tbody{display:table-row-group!important}
body #fluentform_27 .hhcc-grading-policy tr{display:table-row!important}
body #fluentform_27 .hhcc-grading-policy th{display:table-cell!important;background:#1d5a92!important;
 color:#fff!important;font-weight:700!important;border:1px solid #b8cadb!important;
 padding:10px!important;vertical-align:middle!important;text-align:left!important}
body #fluentform_27 .hhcc-grading-policy td{display:table-cell!important;
 border:1px solid #c9d7e5!important;padding:10px!important;vertical-align:middle!important;
 background:#fff!important;color:#203047!important}
body #fluentform_27 .hhcc-grading-policy tbody tr:nth-child(even) td{background:#f0f6fc!important}
/* Uniform radio controls, inline choice labels; same alignment as Criminal Background */
body #fluentform_27 .hhcc-radio-consistent .ff-el-form-check,
body #fluentform_27 .hhcc-admissions-question .ff-el-form-check{
 display:inline-flex!important;align-items:center!important;gap:5px!important;
 width:auto!important;margin:0 16px 0 0!important;vertical-align:middle!important}
body #fluentform_27 .hhcc-radio-consistent input[type=radio],
body #fluentform_27 .hhcc-admissions-question input[type=radio]{
 width:16px!important;height:16px!important;min-height:16px!important;
 margin:0 5px 0 0!important;padding:0!important;flex:none!important}
body #fluentform_27 .hhcc-radio-consistent .ff-el-form-check-label{display:inline-flex!important;
 align-items:center!important;gap:5px!important;margin:0!important;white-space:nowrap!important}
/* Standard question / answer layout, only on designated questions */
@media(min-width:701px){
 body #fluentform_27 .ff-el-group.hhcc-qa-standard:not([style*="display: none"]){
  display:flex!important;float:none!important;clear:both!important;width:100%!important;
  align-items:center!important;gap:16px!important;padding:9px 0!important}
 body #fluentform_27 .hhcc-qa-standard>.ff-el-input--label{
  flex:1 1 auto!important;min-width:0!important;margin:0!important}
 body #fluentform_27 .hhcc-qa-standard>.ff-el-input--content{
  flex:0 0 190px!important;min-width:190px!important}
}

/* Signature/date alignment — Form 26, matches the updated JSON */
body .fluentform_wrapper_27,body #fluentform_27 {max-width:820px!important;width:100%!important;margin-inline:auto!important;box-sizing:border-box!important}
body #fluentform_27 .ff-el-group.hhcc-signature-ack-row {float:none!important;clear:both!important;width:100%!important;margin:12px 0 8px!important;padding:0!important}
body #fluentform_27 .hhcc-signature-acknowledgment {margin:0!important;line-height:1.5!important;color:#344255!important}
body #fluentform_27 .ff-el-group.hhcc-signature-left,body #fluentform_27 .ff-el-group.hhcc-signature-date-right {box-sizing:border-box!important;margin-top:0!important;padding-top:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-width:0!important;vertical-align:top!important}
body #fluentform_27 .ff-el-group.hhcc-signature-left>.ff-el-input--content,body #fluentform_27 .ff-el-group.hhcc-signature-date-right>.ff-el-input--content {order:1!important;margin:0!important;padding:0!important;width:100%!important}
body #fluentform_27 .ff-el-group.hhcc-signature-left>.ff-el-input--label,body #fluentform_27 .ff-el-group.hhcc-signature-date-right>.ff-el-input--label {order:2!important;margin:5px 0 0!important;padding:0!important;min-height:0!important;line-height:18px!important}
body #fluentform_27 .hhcc-signature-left canvas {display:block!important;width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;border:1px solid #aebdce!important;border-radius:4px!important}
body #fluentform_27 .hhcc-signature-date-right input {height:42px!important;min-height:42px!important;max-height:42px!important;margin:0!important;box-sizing:border-box!important}
body #fluentform_27 .hhcc-signature-left .ff-el-input--label:empty {display:none!important}
@media(min-width:701px){
 body #fluentform_27 .ff-el-group.hhcc-signature-left {float:left!important;clear:left!important;width:70%!important;padding-right:12px!important;margin-bottom:24px!important}
 body #fluentform_27 .ff-el-group.hhcc-signature-date-right {float:left!important;clear:none!important;width:30%!important;padding-right:0!important;margin-bottom:24px!important}
}
@media(max-width:700px){
 body #fluentform_27 .ff-el-group.hhcc-signature-left,body #fluentform_27 .ff-el-group.hhcc-signature-date-right {float:none!important;clear:both!important;width:100%!important;padding-right:0!important;margin-bottom:12px!important}
}
