.naep-scale-scores-panel .panel-body-container {
    display: flex;
    align-items: flex-start;
}
.naep-scale-scores-panel .left-column {
    flex: 3;
    padding: 0px 20px 20px 0px;
    height: auto;
}
.naep-scale-scores-panel .right-column {
    flex: 2;
    margin: 5px 0px 20px 20px;
    padding: 20px 20px 40px 20px;
    border: 1px solid #A7A9AC;
    border-radius: 12px;
}
.naep-scale-scores-panel h2 {
    padding-top: 20px;
}
.naep-scale-scores-panel .score-range-table {
    width: 90%;
    border-collapse: collapse;
}
    .naep-scale-scores-panel .score-range-table thead th {
        text-align: left;
        font-size: 16px;
        font-weight: 700;
        color: #333333;
        padding-bottom: 10px;
        border: none;
    }
    .naep-scale-scores-panel .score-range-table tbody td,
    .naep-scale-scores-panel .score-range-table tbody th {
        border: 1px solid #A7A9AC;
        border-collapse: collapse;
        padding: 12px;
        vertical-align: middle;
        font-size: 20px;
        text-align: center;
    }
    .naep-scale-scores-panel .score-range-table tbody td .subject {
        font-weight: 700;
        color: #171C66;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 10px;
        line-height: 125%;
    }
    .naep-scale-scores-panel .score-range-table td:last-child,
    .naep-scale-scores-panel .score-range-table th:last-child {
        width: 33%;
    }
.naep-scale-scores-panel .score-range-table td strong {
    color: #171C66;
    font-size: 26px;
    font-weight: 800;
}
.naep-scale-scores-panel .score-range-table img {
    width: 45px;
    height: 45px;
    margin-right: 10px;
}
.naep-scale-scores-panel .subject-list {
    display: flex;
    gap: 40px;
}
#PageBody #MainContent .naep-scale-scores-panel .scroll-wrapper,
#PageBody #MainContent .naep-scale-scores-panel .scroll-wrapper-vertical {
    overflow: visible;
    margin-top: 20px;
    height: auto;
}
/* RED BRACKET START*/
.naep-scale-scores-panel .score-explanation-container {
    width: 400px;
    margin: 30px auto 25px auto;
}
/* Bracket Group */
.naep-scale-scores-panel .brackets.cut-list {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}
.naep-scale-scores-panel .brackets.proficient {
    display: flex;
    flex-flow: row nowrap;
    margin-left: 38px;
    margin-top: -20px;
}
.naep-scale-scores-panel .bracket-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}
    .naep-scale-scores-panel .bracket-wrapper.first {
        margin-left: 15px;
    }
    .naep-scale-scores-panel .bracket-wrapper.third {
        margin-right: 5px;
    }
.naep-scale-scores-panel .bracket-label {
    font-style: italic;
    font-weight: 700;
    color: #AF272F;
    font-size: 14px;
    margin-bottom: 4px;
    text-align: center;
    line-height: 110%;
}
.naep-scale-scores-panel .bracket-line {
    width: 1px;
    height: 13px;
    background-color: #AF272F;
}
.naep-scale-scores-panel .bracket-shape {
    position: relative;
    width: 25px;
    height: 13px;
    border: 1px solid #AF272F;
    border-bottom: 0;
}
    .naep-scale-scores-panel .bracket-shape.third {
        width: 30px;
        transform: scaleY(-1);
    }
    .naep-scale-scores-panel .bracket-shape.fourth {
        width: 130px;
        transform: scaleY(-1);
    }
/* RED BRACKET END*/
/* Score List */
.naep-scale-scores-panel .score-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -46px;
    padding: 30px 30px 20px 30px;
}
.naep-scale-scores-panel .score-row {
    display: flex;
    align-items: flex-start;
}
.naep-scale-scores-panel .score-icon-text {
    display: flex;
    align-items: center;
    width: 45px;
    font-weight: 700;
    font-size: 12px;
}
.naep-scale-scores-panel .score-description {
    flex: 1;
    font-size: 12px;
    line-height: 1.4;
    color: #333333;
}
/* Proficient Bar */
.naep-scale-scores-panel .proficient-bar {
    background-color: #f2f2f2;
    padding: 8px 10px;
    text-align: left;
    font-weight: bold;
    margin: 0px 30px 12px 30px;
}
.naep-scale-scores-panel .proficient-score {
    color: #171C66;
    font-size: 18px;
    font-weight: 700;
}
.naep-scale-scores-panel .proficient-label {
    color: #171C66;
    font-style: italic;
    font-weight: 700;
    font-size: 18px;
}
/* Icons */
.naep-scale-scores-panel .icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}
.naep-scale-scores-panel .triangle-up {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #017364;
}
.naep-scale-scores-panel .triangle-down {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #019FDF;
}
.naep-scale-scores-panel .circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #061871;
}
.naep-scale-scores-panel .square {
    width: 8px;
    height: 8px;
    background-color: #B78300;
}
.naep-scale-scores-panel .diamond {
    width: 12px;
    height: 12px;
    background-color: #879CC0;
    clip-path: polygon(35% 0%, 70% 50%, 35% 100%, 0% 50%);
}
.naep-scale-scores-panel .no-margin {
    margin: 0;
}
#PageBody #MainContent .naep-scale-scores-panel .item-map-links .external:after {
    content: "";
    display: inline-block;
    position: relative;
    top: 3px;
}
#PageBody #MainContent .naep-scale-scores-panel .item-map-links .external:after {
    content: url(/nationsreportcard/adminonly/design2021/img/icon-link-external-blue-0077C8-bold.svg) / " External link";
    transform: scale(.7);
    margin-left: 8px;
}
#PageBody #MainContent .naep-scale-scores-panel .item-map-links .pdf:after {
    position: relative;
    content: url(/nationsreportcard/adminonly/design2021/img/icon-document-blue-0077c8.svg) / " PDF file";
    transform: scale(.9);
    width: 17px;
    margin-left: 8px;
    top: 2px;
    left: 3px;
}
.naep-scale-scores-panel .right-column .item-map-links {
    display: flex;
    flex-direction: row;
    gap: 30px;
}
#PageBody #MainContent .naep-scale-scores-panel .right-column .item-map-links a:link,
#PageBody #MainContent .naep-scale-scores-panel .right-column .item-map-links a:visited {
    color: #0077c8;
}
    .naep-scale-scores-panel .right-column .item-map-links ul {
        margin-bottom: 0px;
        white-space: nowrap;
    }
.naep-scale-scores-panel .break-on-desktop {
    white-space: nowrap;
}
@media screen and (max-width: 991px) {
    .naep-scale-scores-panel .panel-body-container {
        padding-bottom: 0px;
    }
    .naep-scale-scores-panel .panel-body-container {
        display: flex;
        flex-direction: column;
    }
    .naep-scale-scores-panel .left-column {
        padding: 0px;
    }
    .naep-scale-scores-panel .right-column {
        display: flex;
        flex-direction: row;
        margin: 30px 0px 0px 0px;
        padding: 0px;
        border: 1px solid #A7A9AC;
        border-radius: 12px;
    }
    .naep-scale-scores-panel .score-range-table {
        width: 100%;
        height: auto;
        border-collapse: collapse;
    }
        .naep-scale-scores-panel .score-range-table td:last-child,
        .naep-scale-scores-panel .score-range-table th:last-child {
            width: 38%;
        }
    .naep-scale-scores-panel .right-column .sub-column-left {
        flex: 0 0 calc(62%);
        position: relative;
        padding: 20px 15px
    }
        .naep-scale-scores-panel .right-column .sub-column-left::after {
            content: "";
            position: absolute;
            top: 20px;
            bottom: 20px;
            right: 0;
            width: 1px;
            background-color: #A7A9AC;
        }
    .naep-scale-scores-panel .right-column .sub-column-right {
        flex: 0 0 calc(38%);
        padding: 20px 15px
    }
    .naep-scale-scores-panel .right-column .score-explanation-container {
        margin: 10px auto;
    }
    .naep-scale-scores-panel .right-column .item-map-links {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
        .naep-scale-scores-panel .right-column .item-map-links ul {
            margin-bottom: 0px;
        }
}
@media screen and (max-width: 767px) {
    .naep-scale-scores-panel .panel-body-container {
        flex-direction: column;
    }
    .naep-scale-scores-panel .right-column {
        display: flex;
        flex-direction: column;
        margin: 30px 0px 0px 0px;
        padding: 0px;
        border: 0px;
        width: 100%;
    }
    .naep-scale-scores-panel .left-column,
    .naep-scale-scores-panel .right-column {
        height: auto;
    }
        .naep-scale-scores-panel .right-column .sub-column-left {
            width: 100%;
            position: relative;
            border: 0px;
            padding: 0px;
        }
            .naep-scale-scores-panel .right-column .sub-column-left::after {
                display: none;
            }
            .naep-scale-scores-panel .right-column .sub-column-left .score-explanation-container {
                width: 380px;
                margin: 30px auto 25px auto;
            }
                .naep-scale-scores-panel .right-column .sub-column-left .score-explanation-container .brackets.cut-list {
                    justify-content: flex-start;
                    gap: 45px;
                }
                    .naep-scale-scores-panel .right-column .sub-column-left .score-explanation-container .brackets.cut-list .bracket-wrapper.first {
                        min-width: 100px;
                        margin-left: 5px;
                    }
                    .naep-scale-scores-panel .right-column .sub-column-left .score-explanation-container .brackets.cut-list .bracket-wrapper.second {
                        min-width: 250px;
                    }
                        .naep-scale-scores-panel .right-column .sub-column-left .score-explanation-container .brackets.cut-list .bracket-wrapper.second .bracket-label {

                            padding-right: 70px;
                        }
        .naep-scale-scores-panel .right-column .sub-column-right {
            width: 100%;
            position: relative;
            padding: 0px;
        }
}
@media screen and (max-width: 355px) {
    .naep-scale-scores-panel .right-column .sub-column-left .score-explanation-container .brackets.cut-list {
        justify-content: flex-start;
        gap: 30px;
    }
        .naep-scale-scores-panel .right-column .sub-column-left .score-explanation-container .brackets.cut-list .bracket-wrapper.second {
            min-width: 280px;
        }
            .naep-scale-scores-panel .right-column .sub-column-left .score-explanation-container .brackets.cut-list .bracket-wrapper.second .bracket-label {
                padding-right: 90px;
            }
}