﻿@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url(s/opensans/v44/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1y4n.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(s/opensans/v44/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0C4n.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(s/opensans/v44/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1y4n.ttf) format('truetype');
}

.dsi_main_hero_desktop_image,
.dsi_main_hero_mobile_image {
    position: relative;
    display: inline-block;
}

.hero-image-disclaimer {
    position: absolute;
    bottom: 6px;
    left: 10%;
    color: #000;
    z-index: 3;
    font-weight: 600;
    font-size: 14px;
}

.text-white {
    color: #fff;
}

@media (max-width: 767px) {
    .hero-image-disclaimer {
        font-size: 10px;
        bottom: 3px;
    }
}

/* Hero title overrides */
.dsi_main_hero_title h1 .hero-title-choose {
    display: block;
    margin-bottom: 0.4em;
}

.dsi_main_hero_title h1 .hero-title-small {
    display: block;
    text-transform: none;
    font-size: 0.7em;
    font-weight: 600;
    line-height: 1.2;
}

.dsi_main_hero_title h1 .hero-title-small .hero-title-line1 {
    display: block;
    margin-bottom: 0.4em;
}

/* Undo specialty-c h1 size reduction — old rules targeted a longer title; new shared title doesn't need shrinking */
.specialty-c .dsi-hero .rv-dsi-main-hero .dsi_main_hero_title h1 {
    font-size: 3.8rem !important;
    line-height: 1.2 !important;
}

@media (min-width: 1400px) {
    .specialty-c .dsi-hero .rv-dsi-main-hero .dsi_main_hero_image_row {
        width: 43% !important;
        padding-top: 0 !important;
    }
}

/* What is IDA accordion */
.ida-accordion {
    border: none;
    margin-bottom: 4px;
}

.ida-accordion:last-of-type {
    margin-bottom: 40px;
}

.ida-accordion-header {
    background-color: #9e1a97;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 15px 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* ID diagnosis markers table */
.id-diagnosis-markers-table,
.id-diagnosis-markers-table > thead > tr > th,
.id-diagnosis-markers-table > tbody > tr > td {
    background-color: transparent;
}

.id-diagnosis-markers-table > thead > tr > th {
    border-top: 0;
    border-bottom: 3px solid #9e1a97;
    font-weight: 700;
}
        margin-right: auto;
    }
}

.ida-accordion-header::-webkit-details-marker {
    display: none;
}

.ida-accordion-header::after {
    content: '\25BC';
    font-size: 1rem;
}

.ida-accordion[open] .ida-accordion-header::after {
    content: '\25B2';
}

/* ID diagnosis markers table */
.id-diagnosis-markers-table thead tr:first-child,
.id-diagnosis-markers-table tbody tr:first-child,
.id-diagnosis-markers-table tbody tr {
    background-color: transparent !important;
}

.id-diagnosis-markers-table {
    margin-top: 8px !important;
}

/* FID markers table */
.id-fid-markers-table thead tr:first-child,
.id-fid-markers-table tbody tr {
    background-color: transparent !important;
}

.id-fid-markers-table {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    width: 75% !important;
}

#normallab {
    width: 75% !important;
}

#idadiaglab {
    width: 50% !important;
}

@media (max-width: 767px) {
    .id-diagnosis-markers-table,
    .id-fid-markers-table,
    #normallab,
    #idadiaglab {
        width: 100% !important;
        font-size: 1.5rem;
    }

    .id-fid-markers-table,
    #idadiaglab {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #idadiagnosis-idida-tab-snippet img.img-fluid {
        max-width: 60% !important;
        display: block;
        margin: 0 auto;
    }
}

.id-fid-markers-table > thead > tr > th {
    border-top: 0;
    border-bottom: 0 !important;
    border-left: 0;
    border-right: 0;
    font-weight: 700;
    text-align: left;
    padding: 8px 12px;
}

#normallab > thead > tr > th {
    border-bottom: 1px solid #9e1a97 !important;
}

.id-fid-markers-table > tbody > tr > td {
    border: 0;
    text-align: left;
    padding: 8px 12px;
}

.id-fid-row-purple > td {
    border-bottom: 1px solid #9e1a97 !important;
}

.id-fid-row-blue > td {
    border-bottom: 1px solid #0f8cba !important;
}

.id-fid-row-red > td {
    border-bottom: 1px solid #c00 !important;
}
.diagnosing-text .dsi-style-footnote-sup-top sup {
    font-size: 1.2rem !important;
    vertical-align: super;
}

.id-diagnosis-markers-table > thead > tr > th {
    border-top: 0;
    border-bottom: 1px solid #9e1a97 !important;
    border-left: 0;
    border-right: 0;
    font-weight: 700;
    color: inherit;
    padding: 8px 0;
    text-align: left;
}

.id-diagnosis-markers-table > tbody > tr > td {
    border: 0;
    text-align: left;
    padding: 8px 0;
}

.id-diagnosis-or-row > td {
    padding: 0 0 0 12px !important;
}

.id-diagnosis-or-divider {
    display: flex;
    align-items: center;
    margin: 0;
}

.id-diagnosis-or-divider span {
    font-weight: 700;
    margin-right: 12px;
    white-space: nowrap;
}

.id-diagnosis-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #0f8cba;
}

/* small utility */
p.small {
    font-size: 85%;
}

.fw-bold {
    font-weight: 700 !important;
}

.id-fid-markers-table td.text-center,
#normallab td.text-center,
#normallab td,
#normallab th,
#idadiaglab td,
#idadiaglab th {
    text-align: center !important;
}

#normallab th:first-child,
#normallab td:first-child,
#idadiaglab th:first-child,
#idadiaglab td:first-child {
    text-align: left !important;
}

/* ID tab image column top-align */
#idadiagnosis-idida-tab-snippet .tab .col-lg-4 {
    align-self: flex-start !important;
    align-items: flex-start !important;
}

/* IDA-specific tab — purple text */
.id-ida-specific-tab .tabs-inner ul.tabs-heading li,
.id-ida-specific-tab .tabs-inner ul.tabs-heading li.active {
    background: transparent !important;
    color: #9e1a97 !important;
    border-bottom-color: #9e1a97 !important;
}

.id-ida-specific-tab .tabs-inner ul.tabs-heading li .field-heading {
    color: #9e1a97 !important;
}

/* Match ID-specific and IDA-specific tab label font size to the h2 "2 key indices" heading */
#idadiagnosis-idida-tab-snippet #tele-health-center-tabs.id-ida-tab .tabs-inner ul.tabs-heading li .field-heading {
    font-size: 2rem;
}

@media (min-width: 768px) {
    #idadiagnosis-idida-tab-snippet #tele-health-center-tabs.id-ida-tab .tabs-inner ul.tabs-heading li .field-heading {
        font-size: 3.2rem;
    }
}

.addRemovalAddressLine {
    cursor: pointer;
    color: #9e1a97;
    font-size: 1.4rem;
    font-weight: 600;
    display: inline-flex;
    float: right;
    top: -15px;
    position: relative;
    text-decoration: underline;
    margin-bottom: 20px;
}

/* Remove-from-locator modal — match styling of #register-infusion-site-correction */
#remove-infusion-site .modal-header {
    text-align: right;
    padding: 50px 30px 0;
    border: none;
}

#remove-infusion-site .modal-body {
    padding: 20px 0;
}

#remove-infusion-site .modal-footer {
    display: none;
}

#remove-infusion-site .close {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #eeeeee;
    color: #9e1a97;
    border: none;
    font-size: 3rem;
    font-weight: 400;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    float: right;
    line-height: 0.7;
}

#remove-infusion-site .dsi-inline-button {
    margin-right: auto;
    margin-left: auto;
    max-width: 335px;
}

@media (min-width: 992px) {
    #remove-infusion-site .dsi-inline-button {
        max-width: 150px;
    }
}

/* --- Form field error highlighting --- */
.dsi-register-input.field-error,
.dsi-register-select.field-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.group-field-error {
    border-left: 3px solid #dc3545;
    padding-left: 10px;
}

/* Form modal alert heading / body typography */
.dsi-form-alert-heading {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: bold;
    padding-bottom: 10px;
}

.alert-success .dsi-form-alert-heading {
    color: #155724;
    border-bottom: 2px solid #28a745;
}

.alert-danger .dsi-form-alert-heading {
    color: #721c24;
    border-bottom: 2px solid #dc3545;
}

.alert-warning .dsi-form-alert-heading {
    font-size: 18px;
    display: block;
    border-bottom: 2px solid #ffc107;
}

.dsi-form-alert-body {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.6;
}

.dsi-form-alert-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.dsi-form-alert-note {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success .dsi-form-alert-note {
    color: #155724;
}

.dsi-required-notice {
    color: #df231d;
    font-size: 14px;
}

/* Stopwatch icon sizing (dosing section) */
.dsi-stopwatch-icon {
    height: 39px;
    width: 39px;
}

.dsi-stopwatch-icon-sm {
    height: 34px;
    width: 33px;
}

/* Amber/gold heading color */
.dsi-text-amber {
    color: #e69630 !important;
}

/* Ensure text spans inside dsi-checkbox stay to the right of the checkbox */
.dsi-checkbox > span {
    flex: 1;
}

/* Fix: .dsi-form-wrapper label { display: block } overrides .dsi-checkbox { display: flex } */
.dsi-form-wrapper label.dsi-checkbox {
    display: flex;
}
