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