.cdst-page #fixed_isi {
    display: none;
}

.cdst-page #page-content {
    margin: 0 auto;
    padding-top: 90px;
}

.cdst-tool-footer,
.more-info {
    display: flex;
    gap: 50px;
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
    padding-right: 10px;
    padding-left: 10px;
}

.cdst-tool-footer {
    margin-bottom: 30px;
}

.cdst-page .jobcode-text {
    white-space: nowrap;
}

body:not(.cdst-tool-page) #block-footercontent2 nav {
    display: none;
}

.cdst-page .dialog-off-canvas-main-canvas {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.more-info {
    justify-content: space-between;
    margin-bottom: 40px;
}

.more-info p {
    display: block;
    margin: 0;
    font-weight: bold;
}

.more-info p:not(:last-child) {
    margin-right: 20px;
}

.more-info a {
    color: #9b288c;
}

.block-cdst-tool {
    max-width: 1366px;
    margin: 0 auto;
    padding: 70px 0 40px;
}

.block-cdst-tool h2 {
    max-width: 1366px;
    padding: 24px 0 16px;
    color: #e90517;
    font-size: 24px;
}

.block-cdst-tool .container.mx-auto.px-16 {
    max-width: 100%;
}

.block-cdst-tool .weight-calculator-instructions {
    font-weight: 700;
    font-size: 15px !important;
}

.block-cdst-tool .btn-instructions-modal {
    box-shadow: none;
}

.block-cdst-tool .instructions-required-text {
    padding-bottom: 10px;
    color: red;
    text-align: right;
    font-size: 16px;
}

.block-cdst-tool .calculator .radio {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000000;
    text-transform: lowercase;
    font-weight: 700;
}

.block-cdst-tool .calculator .radio:hover,
.block-cdst-tool .calculator .radio:focus {
    border: 1px solid #dc3545;
    box-shadow: none;
}

.block-cdst-tool .calculator .radio:active {
    box-shadow: none;
}

.block-cdst-tool .btn:hover {
    border-color: var(--bs-btn-hover-border-color);
    background-color: var(--bs-btn-hover-bg);
    color: var(--bs-btn-hover-color);
}

.block-cdst-tool .btn-check:active + .btn,
.block-cdst-tool .btn-check:checked + .btn,
.block-cdst-tool .btn.active,
.block-cdst-tool .btn.show,
.block-cdst-tool .btn:active {
    border-color: var(--bs-btn-active-border-color);
    background-color: var(--bs-btn-active-bg);
    color: var(--bs-btn-active-color);
}

.block-cdst-tool .calculator .radio.radio-l {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
}

.block-cdst-tool .calculator .radio.radio-r {
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}

.block-cdst-tool .calculator > div {
    margin-top: 4px;
    margin-bottom: 4px;
}

.height-md-toggle-field {
    height: 33px;
}

.width-md-toggle-field {
    width: 67px;
}

.block-cdst-tool #baselineCReactiveProteinInput,
.block-cdst-tool #baselinAlbuminInput {
    border: 1px solid #dee2e6 !important;
    background-color: #f7f7f7;
}

.block-cdst-tool #baselinAlbuminInput:active,
.block-cdst-tool #baselinAlbuminInput:focus,
.block-cdst-tool #baselineCReactiveProteinInput:active,
.block-cdst-tool #baselineCReactiveProteinInput:focus {
    outline: auto;
    box-shadow: none;
}

#instructionsModal.show {
    display: block !important;
    padding-top: 50px;
    background: rgba(0,0,0,0.6);
}

.modal-title-header {
    padding-top: 30px;
    text-align: center;
    font-weight: bold;
}

.modal-dialog {
    max-width: fit-content !important;
}

.modal-body {
    padding: 20px 40px !important;
    line-height: 23px;
}

.modal-content {
    align-items: center;
    justify-content: center;
}

.modal-body ul {
    list-style-type: unset;
}

.modal-body ul li {
    color: rgb(59, 59, 59);
    font-size: 16px;
    line-height: 23px;
}

.btn-modal-close {
    width: 100px;
    margin-bottom: 30px;
    padding: 10px;
    border: 0;
    border-radius: 0.25rem !important;
    background-color: red;
    color: white;
    font-weight: bold;
    font-size: large;
}

.block-cdst-tool h2 {
    padding-right: 12px;
    padding-left: 12px;
}

.block-cdst-tool .text-md-calculator-description {
    font-size: 11px;
}

.block-cdst-tool .btn-instructions-modal {
    padding: 0 4px;
}

.block-cdst-tool .btn-instructions-modal img {
    width: 20px;
}

.padding-2xl-medium {
    padding: 12px;
}

.rounded-2 {
    border-radius: var(--bs-border-radius) !important;
}

.border {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.margin-top-2xl-medium {
    margin-top: 12px;
}

.text-2xl-results-label {
    font-size: 15px;
}

.color-results-label {
    color: #5e666c;
}

.result-region img {
    max-width: 100%;
    height: auto;
}

.width-md-icon {
    width: 33px;
}

.result-title {
    text-transform: uppercase;
    font-weight: 700;
}

.weight-results-text-score {
    font-weight: 700;
}

.flex {
    display: flex;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.flex-row {
    flex-direction: row !important;
}

.text-center {
    text-align: center !important;
}

.margin-top-md-medium {
    margin-top: 9px;
}

.margin-top-md-big {
    margin-top: 18px;
}

.color-results-label {
    color: #5e666c;
}

.margin-top-md-small {
    margin-top: 6px;
}

.text-md-results-text-explanation {
    font-size: 13px;
}

.weight-results-text-explanation {
    font-weight: 700;
}

.btn-print {
    margin-top: 15px;
    padding: 5px 80px;
    border: 2px solid red;
    border-color: #e43c1a #982811 #982811 #e43c1a;
    border-radius: 0.25rem !important;
    background-color: white;
    color: red;
    font-size: 16px;
    line-height: 24px;
}

.text-left {
    text-align: left !important;
}

.text-md-results-disclaimer {
    font-size: 9px;
}

.weight-results-disclaimer {
    font-weight: 300;
}

.margin-left-md-small {
    margin-left: 6px;
}

.text-md-info-text {
    font-size: 9px;
}

.text-md-field-label {
    font-size: 13px;
}

.height-2xl-toggle-field:focus,
.height-2xl-toggle-field input:focus {
    box-shadow: none;
}

#btn-calculate {
    border-radius: 8px !important;
    background-color: rgb(233, 5, 23);
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}

.text-md-toggle-field {
    font-size: 13px;
}

.text-md-numeric-field {
    font-size: 13px;
}

.height-md-numeric-field {
    height: 33px;
}

.color-numeric-field-background {
    background-color: #f7f7f7;
}

.color-calculator-divider {
    border: 0 solid #e5e7eb;
    border-color: #b7b7b7;
    border-bottom-width: 1px;
}

.text-2xl-results-text-score {
    font-size: 21px;
}

.margin-left-2xl-medium {
    margin-left: 6px;
}

.text-2xl-results-text-type {
    font-size: 16px;
}

#frm-calculator input[type='radio'] {
    display: none;
}

/* Footer */
#block-footercontent2 {
    overflow: hidden;
    margin-top: auto;
}

#block-footercontent2 .footer-images-block {
    position: relative;
    width: 104%;
    transform: translateX(-2%);
}

#block-footercontent2 img:first-child {
    position: relative !important;
}

#block-footercontent2 img.w-100 {
    left: 0;
}

.cdst-tool-footer {
    align-items: center;
    margin-top: 35px;
}

.cdst-tool-footer img {
    margin-right: 20px;
}

.cdst-tool-footer ul li a {
    color: #e90517;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;

    --bs-navbar-active-color: #e90517;
}

.cdst-tool-footer ul {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.cdst-tool-footer nav {
    flex: 1 1 auto;
}

.block-cdst-tool .text-md-calculator-description a {
    color: #9b288c;
}

#block-footercontent2 .btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 44px;
    margin: 10px auto;
    padding: 0 16px;
    border-radius: 6px !important;
    background-color: #e90517;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}

.cdst-tool-page .btn-back {
    display: none !important;
}

.w-100 {
    width: 100% !important;
}

.bottom-0 {
    bottom: 0 !important;
}

.position-absolute {
    position: absolute !important;
}

.cdst-content.resources {
    max-width: 1366px;
    padding: 75px 100px 0;
}

.cdst-content.resources h2 {
    max-width: 1366px;
    padding: 24px 0 16px;
    color: #e90517;
    font-size: 32px;
}

.cdst-content.resources h1 {
    margin-bottom: 1rem;
    font-size: 36px;
}

.cdst-content.resources a {
    display: block;
    margin-bottom: 32px;
    color: #58595b;
    font-weight: 600;
    font-size: 18px;
}

@media (min-width: 1536px) {
    .block-cdst-tool h2 {
        font-size: 32px;
    }

    .cdst-tool-footer ul li a {
        font-size: 15px;
    }

    .padding-2xl-medium {
        padding: 16px;
    }

    .block-cdst-tool .text-md-calculator-description {
        font-size: 17px;
    }

    .height-2xl-numeric-field {
        height: 44px;
    }

    .width-2xl-numeric-field {
        width: 128px;
    }

    .text-2xl-field-label,
    .text-2xl-numeric-field {
        font-size: 20px;
    }

    .height-2xl-toggle-field {
        height: 44px;
    }

    .width-2xl-toggle-field {
        width: 75px;
    }

    .text-2xl-results-text-explanation {
        font-size: 18px;
    }

    .text-2xl-field-label,
    .text-2xl-numeric-field {
        font-size: 18px;
    }

    .margin-top-2xl-small {
        margin-top: 8px;
    }

    .margin-top-2xl-medium {
        margin-top: 12px;
    }

    .width-2xl-icon {
        width: 44px;
    }

    .text-2xl-results-text-score {
        font-size: 28px;
    }

    .text-2xl-results-text-type {
        font-size: 21px;
    }

    .margin-left-2xl-medium {
        margin-left: 12px;
    }

    .text-2xl-info-text {
        font-size: 14px;
    }

    .text-2xl-toggle-field {
        font-size: 16px;
    }

    .margin-top-2xl-big {
        margin-top: 24px;
    }

    .margin-left-2xl-small {
        margin-left: 8px;
    }

    .text-2xl-info-text {
        font-size: 12px;
    }

    .text-2xl-results-label {
        font-size: 20px;
    }

    .text-2xl-results-disclaimer {
        font-size: 14px;
    }
}

@media (min-width: 601px) {
    .cdst-tool-footer ul {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

@media only screen and (max-width: 570px) {
    .text-2xl-numeric-field {
        width: 60px;
    }
}

@media (max-width: 959px) {
    #isi article .cdst-content {
        padding-top: 60px;
    }
}

@media (max-width: 768px) {
    .cdst-content.resources {
        padding: 60px 20px 0;
    }

    .cdst-content.resources h2 {
        font-size: 24px;
    }

    .cdst-content.resources h1 {
        font-size: 27px;
    }

    .cdst-content.resources a {
        font-size: 15px;
    }

    .cdst-tool-footer {
        align-items: flex-start;
        padding-right: 25px;
        padding-left: 25px;
    }

    .cdst-tool-footer ul li {
        margin-right: 20px;
    }

    .pb-5 {
        padding-bottom: 0 !important;
    }

    .more-info {
        gap: 10px;
        flex-direction: column;
    }

    .more-info p:not(:last-child) {
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .cdst-tool-footer ul {
        width: fit-content;
        margin: 0 auto;
    }

    .cdst-tool-footer ul li {
        margin-bottom: 8px;
    }

    .cdst-tool-footer ul li a {
        padding: 8px 0;
    }
}

@media print {
    .contextual,
    .header,
    .field.field--name-field-section-1.field--type-entity-reference-revisions.field--label-above,
    #block-footercontent,
    #fixed_isi,
    #isi,
    .cdst-tool-footer nav,
    .more-info,
    .btn-instructions-modal,
    .instructions-required-text,
    #block-footercontent2 .btn-back {
        display: none !important;
    }

    .cdst-page #page-content {
        padding-top: 0 !important;
    }

    #block-footercontent2 {
        margin-top: -30px !important;
    }

    .cdst-tool-footer {
        margin-top: 0 !important;
    }

    .block-cdst-tool {
        padding-bottom: 0 !important;
    }

    .cdst-tool-footer img {
        width: 105px;
    }

    .block-cdst-tool h2 {
        margin-bottom: 10px !important;
        padding: 20px 12px 0 !important;
        color: #e90517 !important;
        font-size: 24px !important;
    }

    .block-cdst-tool .text-md-calculator-description p,
    .block-cdst-tool .text-md-calculator-description p a {
        font-size: 11px !important;
    }

    .block-cdst-tool .text-md-calculator-description p a {
        text-decoration: underline !important;
    }

    .block-cdst-tool .text-md-calculator-description p:not(:last-child) {
        margin-bottom: 0 !important;
    }

    .block-cdst-tool .weight-calculator-instructions {
        font-size: 15px !important;
    }

    .text-md-field-label {
        margin-bottom: 10px !important;
        font-size: 13px !important;
    }

    .margin-top-2xl-medium.margin-top-2xl-medium.border {
        margin-top: 20px !important;
    }

    .text-md-toggle-field {
        font-size: 13px !important;
    }

    .width-2xl-toggle-field {
        width: 60px !important;
    }

    .width-2xl-numeric-field {
        width: 128px !important;
    }

    .block-cdst-tool #baselineCReactiveProteinInput,
    .block-cdst-tool #baselinAlbuminInput {
        font-size: 13px !important;
    }

    .block-cdst-tool {
        padding-top: 0 !important;
    }

    html .text-2xl-results-label,
    html .margin-top-2xl-medium {
        text-align: center !important;
    }

    html .block-cdst-tool .btn-check:checked + .btn {
        color: #ffffff !important;
    }

    .height-2xl-toggle-field,
    .height-2xl-numeric-field {
        height: 28px !important;
    }

    .text-2xl-results-text-score {
        font-size: 28px !important;
    }

    html .text-2xl-results-disclaimer,
    html .margin-left-2xl-small {
        text-align: left !important;
        font-size: 12px !important;
        line-height: 14px !important;
    }

    .result-region img {
        width: 30px !important;
    }

    .cdst-page .dialog-off-canvas-main-canvas {
        display: block !important;
        min-height: auto !important;
    }
}
