/* Theme follows the existing controls on CRM, cities, technologies and industries. */
html[data-ba-theme="dark"]{color-scheme:dark}
html[data-ba-theme="dark"] body{background-color:#0b0e14}
html[data-ba-theme="dark"] body :is(#modal-order,#modal-thankyou,.onec-order-modal,.onec-thankyou,.order__form){--color-black:#edf2fa;--color-white:#101722;background:#101722!important;color:#edf2fa!important;border-color:#34445b!important;box-shadow:0 24px 90px #0006}
html[data-ba-theme="dark"] body :is(#modal-order,#modal-thankyou,.order__form) :is(.onec-order-form__layout,.onec-order-form__intro,.onec-order-form__content,.onec-order-form__grid,.onec-thankyou__inner,.order__body,.order__content){background:#101722!important;color:#edf2fa!important}
html[data-ba-theme="dark"] body :is(#modal-order,#modal-thankyou,.order__form) :is(h2,h3,label,.onec-order-field>span,.onec-order-file__label,.onec-order-file__name){color:#edf2fa!important}
html[data-ba-theme="dark"] body :is(#modal-order,#modal-thankyou,.order__form) :is(p,.onec-order-form__eyebrow,.onec-order-check){color:#b5c3d7!important}
html[data-ba-theme="dark"] body :is(#modal-order,.order__form) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),textarea,select,.onec-order-file,.select__head,.select__body,.select__list,.choices__inner,.choices__list--dropdown){background:#1a2638!important;color:#edf2fa!important;border-color:#4b607c!important}
html[data-ba-theme="dark"] body :is(#modal-order,.order__form) :is(input,textarea)::placeholder{color:#a5b5ca!important;opacity:1}
html[data-ba-theme="dark"] body :is(#modal-order,.order__form) :is(input,textarea,select):focus-visible{outline:2px solid #79baff!important;outline-offset:3px}
html[data-ba-theme="dark"] body :is(#modal-order,.order__form) :is(input[type=checkbox],input[type=radio]){accent-color:#55a7ff}
html[data-ba-theme="dark"] body :is(#modal-order,.order__form) :is(.onec-order-submit,button[type=submit]){background:#2362ce!important;color:#fff!important;border-color:#2362ce!important}
html[data-ba-theme="dark"] body :is(#modal-order,.order__form) :is(a,.onec-order-file__remove){color:#8fc6ff!important}
html[data-ba-theme="dark"] body :is(#modal-order,#modal-thankyou) :is(.f-button,.carousel__button,.fancybox-button){background:#22324a!important;color:#edf2fa!important}
html[data-ba-theme="dark"] .fancybox__content:has(#modal-order),html[data-ba-theme="dark"] .fancybox-content:has(#modal-order){background:#101722!important;color:#edf2fa!important}
html[data-ba-theme="dark"] body :is(#modal-order,.order__form) :is(._error,.is-invalid){border-color:#ff8b94!important}
html[data-ba-theme="dark"] body :is(#modal-order,.order__form) :is(.error,.invalid-feedback,[data-error]){color:#ffadb5!important}
.bfd-site-theme{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid #7690ae;background:#eef4fc;color:#20376d;font-size:23px;cursor:pointer}
html[data-ba-theme="dark"] .bfd-site-theme{background:#1b293d;color:#f4d998}
[data-bfd-design] figure img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
[data-bfd-design] .ba-lead{font-size:clamp(17px,1.4vw,22px);line-height:1.65}


/* BFD header contact v2 */
html body header.onec-site-header .onec-site-header__contact {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0 !important;
    min-height: 44px !important;
    padding: 11px 20px !important;
    box-sizing: border-box !important;
    border-radius: 999px !important;
    border: 1px solid #20376d !important;
    background: #20376d !important;
    color: #fff !important;
    box-shadow: none !important;
}
html body header.onec-site-header .onec-site-header__contact:hover {
    background: #2b467c !important;
    border-color: #2b467c !important;
}
html[data-ba-theme="dark"] body header.onec-site-header .onec-site-header__contact {
    background: #243750 !important;
    border-color: #3a5274 !important;
    color: #e4ecf7 !important;
}
html[data-ba-theme="dark"] body header.onec-site-header .onec-site-header__contact:hover {
    background: #304968 !important;
    border-color: #56759a !important;
}
html body header.onec-site-header .onec-site-header__contact:focus-visible {
    outline: 2px solid #79baff !important;
    outline-offset: 4px !important;
}

/* BFD distinct spacing v1 */
body.bi-design #bi-related.ba-wrap.ba-section {
 margin-top: clamp(80px, 8vw, 128px);
 margin-bottom: clamp(72px, 7vw, 112px);
 padding-top: clamp(40px, 4vw, 64px);
 padding-bottom: clamp(56px, 6vw, 88px);
 border-top: 1px solid var(--ba-border);
}
body.bi-design #bi-related .ba-kicker { margin-bottom: 24px !important; }
body.bi-design #bi-related h2 { margin-bottom: 36px; }
body.bi-design #bi-related .bi-related { display:flex; flex-wrap:wrap; gap:18px 20px; }
body.bi-design #bi-related .bi-related a { padding:16px 22px; line-height:1.5; }
section[data-bfd-distinct] figure img { aspect-ratio:4/3; width:100%; height:auto; object-fit:cover; }
@media(max-width:640px) {
 body.bi-design #bi-related.ba-wrap.ba-section { margin-top:56px; margin-bottom:56px; padding-top:32px; padding-bottom:40px; }
 body.bi-design #bi-related h2 { margin-bottom:28px; }
 body.bi-design #bi-related .bi-related { gap:12px; }
 body.bi-design #bi-related .bi-related a { padding:12px 16px; }
}
