.highcharts-axis-line,
.highcharts-tick {
    stroke: var(--baseFontColor);
    stroke-width: 1.5;
}

.highcharts-plot-line {
    stroke: var(--baseFontColor);
}

.highcharts-axis .highcharts-axis-title {
    font-size: 14px !important;
    fill: var(--baseFontColor) !important;
    color: var(--baseFontColor) !important;
}

.LongTermObjective-p {
    position: absolute;
    bottom: 0px;
    left: 0px;
    text-align: right;
    right: 0px;
}

.highcharts-figure {
    position: relative;
}

.legend {
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.legend-line {
    height: 2px;
    width: 1rem;
}

.legend-text {
    font-family: var(--font-SourceSansPro-Regular);
    font-size: 1.4rem;
    line-height: 1.4rem;
    color: var(--baseFontColor);
}

@media screen and (max-width: 576px) {
    .highcharts-axis .highcharts-axis-title {
        font-family: var(--font-SourceSansPro-Regular) !important;
        font-size: 13px !important;
        fill: var(--baseFontColor) !important;
        color: var(--baseFontColor) !important;
        font-weight: 600 !important;
    }
}

@media screen and (max-width: 355px) {
    .legend-text {
        font-size: 1.2rem;
        line-height: 1.2rem;
    }
}

/* STYLE FOR CHART EXTENSION STUDY (TREATMENT NAIVE) */
.subset-graph {
    position: relative;
    border-bottom: 1px solid var(--gray-800);
}

    .subset-graph::after {
        content: "";
        height: calc(100% + 1.5rem);
        width: 1px;
        background: var(--gray-800);
        position: absolute;
        left: 50%;
        top: 0px;
    }

.bar-hor-positive {
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    height: 7rem;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.502);
    width: 0px;
    transition: all ease 1s;
}

.bar-hor-negative {
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    height: 7rem;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.502);
    width: 0px;
    transition: all ease 1s;
}

.bar-ticks p {
    width: 3.2rem;
    text-align: center;
    margin: 0px;
    margin-top: 1.4rem;
    position: relative;
}

.pediatric-subset .bar-ticks p {
    font-size: 1.6rem;
}

.bar-ticks .tick-none::after {
    content: none;
}

.bar-ticks p::after {
    content: "";
    position: absolute;
    bottom: 100%;
    height: 1.5rem;
    left: 52%;
    width: 1px;
    border-right: 1px solid var(--gray-800);
}

.pediatric-subset .bar-ticks p:first-child {
    margin-left: -1.8rem;
}

    .pediatric-subset .bar-ticks p:first-child::after {
        left: 1.8rem;
    }

.pediatric-subset .bar-ticks p:last-child {
    margin-right: -1.8rem;
}

    .pediatric-subset .bar-ticks p:last-child::after {
        left: calc(100% - 1.8rem);
    }

.bar-ticks p:last-child::after {
    left: 100%;
}

#PediatricSubsetchart {
    margin-top: 1.5rem;
}

.pediatric-chart--info {
    display: flex;
    gap: 1rem;
}

.text-end.pediatric-chart--info {
    justify-content: flex-end;
}

.pediatric-chart--header {
    font-family: var(--font-SourceSansPro-SemiBold);
    font-size: 2.2rem;
    line-height: 2.4rem;
}


.pediatric-chart--notice {
    font-family: var(--font-SourceSansPro-Regular);
    font-size: 1.6rem;
    line-height: 2rem;
}

.pediatric-chart--image {
    align-self: center;
}

.pediatric-chart--value {
    color: var(--bs-white);
    font-family: var(--font-SourceSansPro-Regular);
    font-size: 2rem;
    line-height: 2.2rem;
}

.pediatric-chart--arrow {
    transform: rotate(180deg);
}

.bar-hor-negative > * {
    display: none;
}

@media screen and (max-width: 1200px) {
    #PediatricSubsetchart .container {
        max-width: 100%;
    }
}

@media screen and (max-width: 820px) {
    .pediatric-chart--header {
        font-size: 1.6rem;
        line-height: 1.6rem;
    }

    .pediatric-chart--notice {
        font-size: 1.4rem;
        line-height: 1.4rem;
    }

    .pediatric-chart--value {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }
}

@media screen and (max-width: 576px) {

    .bar-hor-positive,
    .bar-hor-negative {
        height: 9rem;
        position: relative;
    }

    .bar-hor-positive {
        padding-left: 2px;
    }

    .bar-hor-negative {
        padding-right: 2px;
    }

    .pediatric-chart--arrow-sm {
        position: absolute;
        top: 1rem;
        left: 2%;
    }

    #bluePediatricId .pediatric-chart--arrow-sm {
        left: 80%;
    }

    #pinkPediatricId .pediatric-chart--arrow-sm {
        left: 20%;
    }

    .pediatric-chart--header {
        font-size: 1.4rem;
        line-height: 1.4rem;
    }

    .pediatric-chart--notice {
        font-size: 1.2rem;
        line-height: 1.3rem;
    }

    .pediatric-chart--value {
        margin-top: 1rem !important;
        font-size: 1.1rem;
        line-height: 1.8rem;
    }

    #yellowPediatricId,
    #violetPediatricId {
        justify-content: flex-end !important;
    }

    #PediatricSubsetchart {
        margin-inline: -0.8rem;
    }

    .pediatric-chart--image {
        height: 2.5rem;
        width: auto;
    }

    .pediatric-subset .bar-ticks p {
        font-size: 1.1rem;
    }

    .pediatric-chart--info {
        gap: 0.5rem;
    }

    #pinkPediatricId .pediatric-chart--value {
        font-size: 1rem;
    }
}

@media screen and (max-width: 355px) {
    .pediatric-chart--value {
        margin-top: 1rem !important;
        font-size: 1.1rem;
        line-height: 1.6rem;
    }

    #pinkPediatricId .pediatric-chart--value {
        font-size: 0.9rem;
    }

    .pediatric-subset .bar-ticks p:first-child {
        margin-left: -1rem;
    }

    .pediatric-subset .bar-ticks p:last-child {
        margin-right: -1rem;
    }

    .pediatric-subset .bar-ticks p:first-child::after {
        left: 1rem;
    }

    .pediatric-subset .bar-ticks p:last-child::after {
        left: calc(100% - 1rem);
    }

    .pediatric-subset .bar-ticks p {
        font-size: 1rem;
    }
}


/* STYLE FOR CHART Parallel dose (TREATMENT NAIVE) */

.chart-legend-one {
    border: 2px solid var(--color-silver-300);
    border-radius: 1rem;
    padding: 0.5rem;
}

.legend-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-point {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    width: 6.6rem;
}

.point {
    width: 1.5rem;
    height: 0.8rem;
    border-radius: 3px;
}

.legend-text {
    font-size: 1.4rem;
    line-height: 1.7rem;
}

.chart-one {
    margin-top: 4rem;
    border: 2px solid var(--color-silver-300);
    border-radius: 2rem;
    padding: 2rem 4rem;
    position: relative;
}

    .chart-one .chart-header {
        text-transform: uppercase;
    }


.chart-axis {
    position: absolute;
    color: var(--baseFontColor);
    font-size: 1.4rem;
    line-height: 1.6;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 0.7rem;
}

.chart-axis-left {
    margin-left: -4rem;
    left: 0;
    transform: translate(-100%, -5%) rotateZ(180deg);
}

.chart-axis-right {
    top: 100%;
    right: 0;
    margin-right: -4.5rem;
    transform: translate(100%, -71%);
    align-items: flex-end;
}

.parallel-dose-study .down-arrow {
    margin-bottom: 4rem;
}

.head-to-head-study .chart-axis-left {
    margin-left: -4rem;
    left: 0;
    transform: translate(-100%, -15%) rotateZ(180deg);
}

    /*.head-to-head-study .chart-axis-left img {
        transform: translateY(5rem)
    }*/

.head-to-head-study .chart-axis-right {
    top: 100%;
    right: 0;
    margin-right: -5rem;
    transform: translate(100%, -71%);
    align-items: flex-end;
}

.head-to-head-study .chart-axis img {
    height: 11.5rem;
}

.chart-axis p {
    writing-mode: vertical-lr;
    transform: rotate(0.1deg);
    margin: 0;
    font-size: 16px;
    font-family: var(--font-SourceSansPro-Regular);
    color: var(--gray-800);
}

.parallel-dose-study .chart-one {
    height: 45rem;
}

.head-to-head-study .chart-one {
    height: 50rem;
}

.chart-legend {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.parallel-dose-study .chart-legend {
    top: 2rem;
}

.graph-div.graph-item-headers .pediatric-chart--header {
    height: max-content;
}

.graph-wrapper {
    height: 250px;
    width: 88%;
    margin: 0 auto;
    position: relative;
}

.graph-div {
    display: flex;
    justify-content: space-around;
    height: 50%;
}

    .graph-div.graph-item-headers {
        text-align: center;
        height: max-content;
    }

.mb-10 {
    margin-bottom: 7rem;
}

.graph-div-positive {
    align-items: flex-end;
    border-bottom: 2px dashed #5D4E62;
}

    .graph-div-positive div {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

.graph-div-negative {
    position: relative !important;
}

    .graph-div-negative div {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

.mean-chart-div div {
    width: calc(100% / 5);
    position: relative;
    transition: all ease 1s;
    height: 0;
}

.mean-chart-div .graph-div-2value {
    display: flex;
    align-items: flex-end;
    height: 100%;
    justify-content: space-around;
}

.graph-div-2value div {
    width: calc(100% / 2.2);
    height: 0px;
}

.graph-div-negative .graph-div-2value {
    align-items: flex-start;
}

.ticks {
    width: 100%;
    position: relative;
    height: 50%;
    z-index: -1;
    top: -100%;
}

    .ticks div {
        height: 50%;
        position: relative;
        width: 100%;
        border-top: 0.5px solid #E6E4E7;
    }

        .ticks div p {
            position: absolute;
            top: -8px;
            margin: 0px;
            font-size: 14px;
            text-align: right;
            color: #5D4E62;
        }

.ticks-left div p {
    right: calc(100% + 15px);
}

.ticks-right div p {
    left: calc(100% + 15px);
}

.graph-value {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: calc(100% + 15px);
    margin: 0px;
    height: 60px;
    width: 60px;
    background: white;
    color: white;
    border-radius: 100%;
    box-shadow: 3px 3px 12px #00000029;
    line-height: 60px;
    font-size: 22px;
    letter-spacing: -0.7px;
    font-family: var(--font-SourceSansPro-Bold);
}

    .graph-value::after {
        content: " ";
        width: 1px;
        height: 20px;
        border-left: 0.5px dashed;
        top: 100%;
        position: absolute;
        left: 50%;
    }

.bg-pink.graph-value::after {
    border-left: 0.5px dashed var(--mainBrandColor);
}

.bg-light-blue.graph-value::after {
    border-left: 0.5px dashed var(--blue-400);
}

.bg-yellow.graph-value::after {
    border-left: 0.5px dashed var(--yellow-300);
}

.bg-purple.graph-value::after {
    border-left: 0.5px dashed var(--purple);
}

.bg-blue.graph-value::after {
    border-left: 0.5px dashed var(--secondaryFocus);
}

.parallel-dose-study .graph-value.bg-purple::before, .head-to-head-study .graph-value.bg-purple::before {
    position: absolute;
    content: '†';
    top: 20%;
    left: 100%;
    color: var(--purple);
    font-size: 16px;
    line-height: 12px;
}

.head-to-head-study .iconNone .graph-value.bg-purple::before {
    display: none;
}

.graph-label {
    position: absolute;
    margin: 0px;
    top: calc(100% + 12px);
    width: 100%;
    font-size: 1.4rem;
}

.subset-graph {
    position: relative;
    border-bottom: 1px solid #5D4E62;
}

    .subset-graph::after {
        content: "";
        height: calc(100% + 15px);
        width: 1px;
        background: #5D4E62;
        position: absolute;
        left: 50%;
        top: 0px;
    }

.bar-hor-positive {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    height: 70px;
    box-shadow: 0px 3px 6px #00000080;
    position: relative;
    width: 0px;
    transition: all ease 1s;
}

.bar-hor-negative {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    height: 70px;
    box-shadow: 0px 3px 6px #00000080;
    position: relative;
    width: 0px;
    transition: all ease 1s;
}

.bar-ticks p {
    width: 32px;
    text-align: center;
    margin: 0px;
    margin-top: 14px;
    position: relative;
}

.bar-ticks .tick-none::after {
    content: none;
}

.bar-ticks p:first-child::after {
    left: 0;
}

.bar-ticks p:last-child::after {
    left: 100%;
}

.extra-label {
    position: absolute;
    top: calc(100% + 40px);
    width: 100%;
    font-size: 1.6rem;
    line-height: 2.2rem;
    font-family: var(--font-SourceSansPro-Regular-bold);
}

@media(max-width:1199px) {
    .chart-one .chart-header {
        text-align: start;
    }
}

@media(max-width:1024px) {
    .head-to-head-study .chart-one {
        height: 62rem;
    }
}

@media screen and (max-width: 820px) {
    .parallel-dose-study .chart-one {
        margin-bottom: 2rem;
    }

    .parallel-dose-study .chart-header {
        margin-bottom: 5rem;
    }

    .parallel-dose-study .chart-legend {
        top: 5rem;
    }

    .head-to-head-study .chart-one {
        margin-bottom: 4rem !important;
    }


    .head-to-head-study .chart-legend {
        position: relative;
        top: 0rem;
        right: 0;
    }

    .parallel-dose-study .down-arrow {
        margin-bottom: 0;
    }

    .parallel-dose-study .chart-axis-left,
    .parallel-dose-study .chart-axis-right,
    .head-to-head-study .chart-axis-left,
    .head-to-head-study .chart-axis-right {
        height: 30rem;
    }

    .mb-10 {
        margin-bottom: 10rem;
    }

    .graph-value {
        height: 53px;
        width: 53px;
        line-height: 53px;
        font-size: 18px;
    }

    .extra-label {
        width: 130%;
        left: -15%;
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .chart-axis p {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }

    .chart-axis {
        gap: 0.2rem;
    }

    .head-to-head-study .chart-axis-right {
        margin-right: -4.4rem;
        transform: translate(100%, -56%);
    }

    .chart-axis-right {
        transform: translate(100%, -77%);
    }
}


@media screen and (max-width: 576px) {
    .mb-10 {
        margin-bottom: 7rem;
    }

    .chart-one {
        padding-right: 6rem;
        padding-left: 5rem;
    }

    .parallel-dose-study .chart-legend {
        position: relative;
        top: 0rem;
        right: 1rem;
    }


    .head-to-head-study .chart-legend {
        position: relative;
        top: 0rem;
        right: 1rem;
    }

    .parallel-dose-study .chart-legend {
        max-width: 75%;
    }

    .parallel-dose-study .chart-one {
        height: 48rem;
    }

    .legend-text {
        font-size: 1.3rem;
        line-height: 1.5rem;
    }

    .chart-axis {
        position: absolute;
        color: var(--baseFontColor);
        font-size: 1.4rem;
        line-height: 1.4rem;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0rem;
    }

    .chart-header {
        font-size: 1.8rem;
        line-height: 2rem;
    }

    .chart-one .pediatric-chart--header {
        font-size: 1rem;
        line-height: 1.6rem;
        margin-bottom: 1rem;
    }

    .graph-value {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0);
        bottom: calc(100% + 15px);
        margin: 0px;
        height: 3.5rem;
        width: 3.5rem;
        line-height: 3.5rem;
        font-size: 1.4rem;
    }

    .head-to-head-study .graph-value {
        bottom: calc(100% + 20px);
        margin: 0px;
        height: 1.9rem;
        width: 1.9rem;
        line-height: 1.9rem;
        font-size: 0.7rem;
    }

    .graph-value::after {
        top: 105%;
        border-right-style: dashed;
        border-right-width: 1px;
        height: 2rem;
        width: 2px;
    }

    .bg-pink.graph-value::after {
        border-color: var(--mainBrandColor);
    }

    .bg-light-blue.graph-value::after {
        border-color: var(--blue-400);
    }

    .bg-yellow.graph-value::after {
        border-color: var(--yellow-300);
    }

    .bg-purple.graph-value::after {
        border-color: var(--purple);
    }

    .bg-blue.graph-value::after {
        border-color: var(--secondaryFocus);
    }

    .parallel-dose-study .graph-value.bg-purple::before {
        position: absolute;
        content: '†';
        top: 15%;
        left: 100%;
        color: var(--purple);
        font-size: 9px;
        line-height: 10px;
        font-family: var(--font-SourceSansPro-Regular-bold);
    }

    .graph-label {
        font-size: 1rem;
    }

    .parallel-dose-study .chart-axis-right img {
        margin-bottom: -6rem;
    }

    .parallel-dose-study .chart-axis-left img {
        margin-bottom: -2rem;
        margin-right: 2px;
    }

    .head-to-head-study .chart-axis-left img {
        margin-bottom: -4rem;
    }

    .parallel-dose-study .chart-axis-left {
        height: 30rem;
        transform: translate(-70%, 0) rotateZ(180deg);
    }

    .parallel-dose-study .chart-axis-right {
        transform: translate(75%, -63%);
    }

    .head-to-head-study .chart-axis-left {
        margin-left: -3rem;
        top: 0%;
        left: 0;
        transform: translate(-105%, 0%) rotateZ(180deg);
        height: 30rem;
    }

    .head-to-head-study .chart-axis-right {
        top: 100%;
        right: 0;
        margin-right: -4rem;
        transform: translate(100%, -60%);
        align-items: flex-end;
    }

    .head-to-head-study .chart-one {
        height: 58rem;
    }

    .extra-label {
        top: calc(100% + 28px);
        width: 180%;
        left: -27%;
        font-size: 1rem;
        line-height: 1.1rem;
        font-family: var(--font-SourceSansPro-Regular-bold);
    }
}


@media(max-width:375px) {
    .head-to-head-study .chart-one {
        height: 62rem;
    }
}
