@font-face {
    font-family: "Roboto Flex";
    src: url("../stack-admin/app-assets/fonts/Roboto_Flex/RobotoFlexVariable.ttf") format("truetype");
}

@font-face {
    font-family: "Audiowide";
    src: url("../stack-admin/app-assets/fonts/Audiowide/Audiowide-Regular.ttf") format("opentype");
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../stack-admin/app-assets/fonts/IBM-Plex/IBM-Plex-Mono/IBMPlexMono-Regular.otf") format("opentype");
}

@font-face {
    font-family: "IBM Plex Mono Bold";
    src: url("../stack-admin/app-assets/fonts/IBM-Plex/IBM-Plex-Mono/IBMPlexMono-Bold.otf") format("opentype");
}

@font-face {
    font-family: "Times New Roman";
    src: url("../stack-admin/app-assets/fonts/Times New Roman/times new roman.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Times New Roman";
    src: url("../stack-admin/app-assets/fonts/Times New Roman/times new roman bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Times New Roman";
    src: url("../stack-admin/app-assets/fonts/Times New Roman/times new roman italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "Times New Roman";
    src: url("../stack-admin/app-assets/fonts/Times New Roman/times new roman bold italic.ttf") format("truetype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "Big Shoulders Display";
    src: url("../stack-admin/app-assets/fonts/Big_Shoulders_Display/BigShouldersDisplay-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: "Inter Tight";
    src: url("../stack-admin/app-assets/fonts/Inter_Tight/InterTight-VariableFont_wght.ttf") format("truetype");
}


/*
 Heading fonts
 */

.h1, .h2,
h1, h2 {
    font-family: "Inter Tight", sans-serif !important;
    font-weight: 1000 !important;
}

.h3, .h4,
h3, h4 {
    font-family: "Inter Tight", sans-serif !important;
    font-weight: 800 !important;
}

h5, h6, .h5, .h6 {
    font-family: "Inter Tight", sans-serif !important;
    font-weight: 400 !important;
}

.font-weight-black {
    font-weight: 800;
}

.times {
    font-family: "Times New Roman", serif;
}

.inter {
    font-family: "Inter Tight", sans-serif !important;
}

.big-shoulders-display {
    font-family: "Big Shoulders Display", serif !important;
    font-weight: 600 !important;
}

.menu-title {
    font-family: "Inter Tight", sans-serif !important;
    font-weight: 300 !important;
}

/*bootstrap override*/
b {
    font-weight: bold !important;
}

/*
 * Sidebar fonts
 */

/* Regular fonts */
.navigation {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 300;
}

/* Heading fonts */
.main-menu.menu-light .navigation .navigation-header span {
    font-family: "Roboto Flex", sans-serif !important;
    font-size: 15px;
    font-weight: 800 !important;
}

/* Fixes on bold and underline and italic, they should have spaces */
/*.tab-content i:before { content: "\00a0 "; }*/
/*.tab-content i:after { content: "\00a0 "; }*/
/*u, b, em :before { content: "\00a0 "; }*/
/*u, b, em :after { content: "\00a0 "; }*/

/*
 * Button Fonts
 */
input, button, textarea, body {
    font-family: "Inter Tight", sans-serif !important;
    text-rendering: optimizeLegibility;
    font-weight: 500;
}

th,
td {
    vertical-align: middle !important;
}

table {
    overflow-y: scroll;
}

pre {
    border: solid 1px #404e67;
}

.font-code,
code {
    font-family: "IBM Plex Mono", monospace !important;
}

.footnote {
    font-size: 11px;
}

input[readonly] {
    pointer-events: none;
    background-color: #fdfdfd;
    border: #ddd solid 2px;
}

input[type="radio"], input[type="checkbox"] {
    margin-right: 5px;
    transform: scale(1.5);
}

/*input[type="radio"]:checked {*/
/*    filter: brightness(0);*/
/*}*/

input[type="checkbox"] {
    -webkit-appearance: initial;
    appearance: initial;
    border: 1px solid black;
    position: relative;
    bottom: -5px;
    width: 1em;
    height: 1.08em;
}

input[type="checkbox"]:checked {
    background: white;
}

input[type="checkbox"]:checked:after {
    /* Heres your symbol replacement */
    content: "╳";
    color: #000;
    /* The following positions my tick in the center,
     * but you could just overlay the entire box
     * with a full after element with a background if you want to */
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /*
     * If you want to fully change the check appearance, use the following:
     * content: " ";
     * width: 100%;
     * height: 100%;
     * background: blue;
     * top: 0;
     * left: 0;
     */
}

/*.table-hover tbody tr:hover {*/
/*    background-color: #0000ff08;*/
/*}*/

/*.table-hover tbody > tr:hover > td:nth-child(2) {*/
/*    transform: scale(1.2) translateX(2px);*/
/*    transition: .25s all;*/
/*}*/

/*.table-hover tbody > tr:hover > td:nth-child(2) > a {*/
/*    color: #ffa87d;*/
/*}*/

.font-audiowide {
    font-family: "Audiowide", monospace !important;
}

.marquee-candidate {
    position: relative;
    overflow: hidden;
}

.marquee-candidate:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    right: -15px;
    box-shadow: inset white 0px 0px 5px 18px;
}

/* Fix rendered buttons */
.btn-group > .btn:not(:last-child):not(.dropdown-toggle), .btn-group > .btn-group:not(:last-child) > .btn {
    border-radius: 0.25rem 0 0 0;
}

.btn-group > .btn:not(:first-child), .btn-group > .btn-group:not(:first-child) > .btn {
    border-radius: 0 0.25rem 0 0;
}

.btn-default {
    border: 1px solid;
}

textarea.disabled {
    pointer-events: none;
}

/* Correct highlight for correct answers the use chose */
.correct-answer-bubble {
    border: 2px solid #009900;
    background: #e9ffe9;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 25px 5px 25px;
    border-radius: 20px;
    line-height: 2;
    width: fit-content;
}

/* Info highlight for correct answers the user did not choose */
.info-answer-bubble {
    border: 2px solid #00b;
    background: aliceblue;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 25px 5px 25px;
    border-radius: 20px;
    line-height: 2;
    width: fit-content;
}

.correct-answer-color {
    color: #009900;
}

.opacity-50 {
    opacity: 0.5 !important;
}

/* ========================================================================
   Data Insights answer tables - GMAT look.
   Table Analysis (Yes/No), Multi-Source Reasoning (Yes/No) and Two-Part
   Analysis (For/Against) all ship as a bordered table with a grey header
   row, narrow centred radio columns on the left and the statement text on
   the right. The parser stamps inline styles on its own tables
   (.question-choices-table / .question-choices-vertical); we mirror that
   here so the legacy JS-rendered tables (.mc-table) match, and we cancel a
   few global rules that would otherwise distort the controls.
   ======================================================================== */
.question-choices-table,
.question-choices-vertical,
table.mc-table {
    border-collapse: collapse;
    table-layout: auto;
    width: auto;
    max-width: 100%;
    margin: 1em 0;
    /* Cancel the global `table { overflow-y: scroll }` so no scrollbar
       appears around the answer grid. */
    overflow: visible;
}

/* Header row - grey, centred, semi-bold (matches the parser inline style) */
.question-choices-table thead th,
.question-choices-vertical thead th,
table.mc-table thead th {
    background: #f4f4f4;
    border: 1px solid #999;
    padding: 8px 16px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

/* Body cells */
.question-choices-table td,
.question-choices-vertical td,
table.mc-table td {
    border: 1px solid #999;
    padding: 8px 16px;
    vertical-align: middle;
}

/* The two leading radio columns stay narrow and centred. */
.question-choices-table td:nth-child(1),
.question-choices-table td:nth-child(2),
.question-choices-vertical td:nth-child(1),
.question-choices-vertical td:nth-child(2),
table.mc-table td:nth-child(1),
table.mc-table td:nth-child(2) {
    text-align: center;
    white-space: nowrap;
    width: 1%;
}

/* Keep the radio / checkbox controls a sane size inside the answer tables -
   the global rule scales every radio to 1.5x which is too big in a cell. */
.question-choices-table input[type="radio"],
.question-choices-table input[type="checkbox"],
.question-choices-vertical input[type="radio"],
.question-choices-vertical input[type="checkbox"],
table.mc-table input[type="radio"],
table.mc-table input[type="checkbox"] {
    transform: scale(1.2);
    margin: 0;
}

/* ------------------------------------------------------------------------
   Inline dropdowns (Graphic Interpretation "Select.." menus, and the Table
   Analysis "Sort By" select) - render as clean bordered dropdowns instead
   of the unstyled browser default.
   ------------------------------------------------------------------------ */
.content-wrapper select,
.content-wrapper select.answerSelect {
    border: 1px solid #999;
    border-radius: 3px;
    padding: 4px 26px 4px 8px;
    min-width: 140px;
    background-color: #fff;
    color: #1e293b;
    vertical-align: middle;
    cursor: pointer;
}
.content-wrapper select:focus {
    outline: none;
    border-color: #1f6feb;
    box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.15);
}

/* ========================================================================
   Data Insights *content* data tables - bordered like the real test.
   These are the data grids embedded in the question content: Table Analysis
   sortable grids (.table-sortable / .tablesorter) and the plain Multi-Source
   Reasoning source tables. Scoped to .content-wrapper and explicitly NOT the
   answer tables (which have their own rules above).
   ======================================================================== */
.content-wrapper table:not(.question-choices-table):not(.question-choices-vertical):not(.mc-table) {
    border-collapse: collapse;
    width: auto;
    max-width: 100%;
    margin: 0.85em 0;
    /* Cancel the global `table { overflow-y: scroll }`. */
    overflow: visible;
}
.content-wrapper table:not(.question-choices-table):not(.question-choices-vertical):not(.mc-table) th,
.content-wrapper table:not(.question-choices-table):not(.question-choices-vertical):not(.mc-table) td {
    border: 1px solid #999;
    padding: 6px 14px;
    text-align: left;
}
.content-wrapper table:not(.question-choices-table):not(.question-choices-vertical):not(.mc-table) thead th {
    background: #f4f4f4;
    font-weight: 600;
    white-space: nowrap;
}

/* Sortable Table Analysis grids - clickable headers with a sort arrow. */
.content-wrapper table.tablesorter th,
.content-wrapper table.table-sortable th {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 24px;
}
.content-wrapper table.tablesorter th:hover,
.content-wrapper table.table-sortable th:hover {
    background: #eaecef;
}
.content-wrapper table.tablesorter th::after,
.content-wrapper table.table-sortable th::after {
    content: "\2195";          /* up-down arrow - "sortable" affordance */
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 0.85em;
}
.content-wrapper table th.sort-asc::after  { content: "\2191"; color: #1f6feb; }
.content-wrapper table th.sort-desc::after { content: "\2193"; color: #1f6feb; }

/* Keep the data grid within the first screen: a tall (or wide) table scrolls
   inside this panel instead of pushing the answer area below the fold, with
   the header row pinned so the columns stay labelled and clickable. _test.js
   wraps each content data table in .di-table-scroll. */
.di-table-scroll {
    max-height: 42vh;
    overflow: auto;
    margin: 0.85em 0;
}
.di-table-scroll > table {
    margin: 0;       /* the panel owns the outer spacing now */
}
.content-wrapper .di-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f4f4f4;          /* opaque so scrolled rows don't show through */
    box-shadow: 0 1px 0 #999;     /* re-draw the header's bottom edge when pinned */
}

/* Table Analysis side-by-side layout (data grid left, answers right). _test.js
   moves the instruction + answer table into .di-answer-col. Keep both columns
   anchored at the top so the answers line up with the grid header. */
.di-answer-col { align-self: flex-start; }

/* ========================================================================
   End-of-section "Review & Edit" screen (GMAT Focus). A summary table of all
   questions (number / status / bookmark) that drills into one question at a
   time for editing - mirrors the real exam's Question Review & Edit screen.
   ======================================================================== */
.review-section .review-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.review-section .review-changes-banner { font-size: 0.95rem; color: #475569; }

/* Summary list table - whole rows are clickable. */
.review-section .review-table { background: #fff; }
.review-section .review-table thead th {
    background: #f1f5f9;
    border-bottom: 2px solid #cbd5e1;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: #475569;
}
.review-section .review-row { cursor: pointer; transition: background 0.12s ease; }
.review-section .review-row:hover { background: #eff6ff; }
.review-section .review-row-num { font-weight: 600; }
.review-section .review-row[data-marked="true"] { background: #fffbeb; }
.review-section .review-row[data-marked="true"]:hover { background: #fef3c7; }
.review-section .review-row .rn-flag { color: #cbd5e1; margin-right: 6px; }
.review-section .review-row[data-marked="true"] .rn-flag { color: #f59e0b; }
.review-section .review-row[data-marked="true"] .rn-flag-label { color: #b45309; font-weight: 600; }

/* Edit-view bars + flag button */
.review-section .review-edit-bar { background: #f8fafc; border-bottom: 1px solid #eef2f7; }
.review-section .review-pane-head { background: #f8fafc; border-bottom: 1px solid #eef2f7; }
.review-section .btn-flag {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
}
.review-section .btn-flag.flagged {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #b45309;
}
.review-section .review-edit-footer {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
    z-index: 5;
}

/* ========================================================================
   Math rendering. The question bank ships pre-rendered MathJax v2 CHTML, but
   MathJax's own fonts + stylesheet are NOT loaded - so its visual layer renders
   in a fallback font with broken spacing/alignment, AND the accessibility
   MathML copy renders alongside it, doubling every symbol (the "ppp / H6H6H6"
   the client saw). We hide the broken CHTML visual and let the browser render
   the clean MathML natively (see the .MJX_Assistive_MathML rule in
   template-overrides.css, which un-hides it). Every .MathJax block ships with a
   matching MathML copy, so nothing is left blank.
   ======================================================================== */
.MathJax_Preview { display: none !important; }   /* fallback placeholder */
.MathJax > nobr { display: none !important; }    /* broken CHTML visual layer */
.MathJax { font-size: inherit !important; }
.MathJax_Display { display: block; text-align: center; margin: 0.6em 0; }
img.rendered-mathml {
    vertical-align: middle;
    max-width: 100%;
}

/* ------------------------------------------------------------------------
   Quant-only legibility bumps. Quant is math-heavy, so its equations, image
   math and answer choices are rendered larger with roomier line spacing (so
   stacked fractions in adjacent options don't collide). These are scoped to
   body.section-quant (tagged by tagBodySection() in _test.js) so they do NOT
   enlarge Verbal / Data Insights text. The math *rendering* rules above stay
   global - only the size is section-specific.
   ------------------------------------------------------------------------ */
/* Native MathML: a touch larger than the surrounding text. */
body.section-quant math { font-size: 1.22em; }
/* Baked SVG image math: font-size can't scale an image, so `zoom` scales it
   proportionally AND expands its layout box, reflowing the line cleanly. */
body.section-quant img.rendered-mathml { zoom: 1.45; }
body.section-quant .rendered-mathl-container { line-height: 2; }
body.section-quant .question-choices img.rendered-mathml { zoom: 1.55; }
body.section-quant .question-choices label {
    font-size: 1.12rem;
    line-height: 2.1;
    margin-bottom: 0.55rem;
}
body.section-quant .question-choices label math { font-size: 1.25em; }

/* ========================================================================
   Explanation dialog (opened from the Explanation button). SweetAlert centres
   its content; the raw explanation HTML reads far better left-aligned, a touch
   smaller, with real spacing between paragraphs and solution steps.
   ======================================================================== */
.explanation-content {
    text-align: left !important;
    font-size: 0.95rem;
    line-height: 1.6;
}
.explanation-content p { margin: 0 0 0.9rem; }
.explanation-content ol,
.explanation-content ul { margin: 0.5rem 0 0.9rem 1.5rem; padding-left: 0.5rem; }
.explanation-content li { margin-bottom: 0.45rem; line-height: 1.6; }
.explanation-content h1,
.explanation-content h2,
.explanation-content h3,
.explanation-content h4 { text-align: left; margin: 0.8rem 0 0.4rem; }
/* Collapse runs of empty <br> the parser sometimes leaves between steps. */
.explanation-content br + br { display: none; }
.explanation-content img { max-width: 100%; }

/* ------------------------------------------------------------------------
   Review highlighting for Data Insights table cells. The pill-shaped
   .correct-answer-bubble / .info-answer-bubble are sized for
   <label class="d-block"> answers, so table cells (TPA / TA / MSR) need
   their own background+border treatment to actually be visible.
   ------------------------------------------------------------------------ */
td.cell-correct {
    background: #e9ffe9 !important;
    box-shadow: inset 0 0 0 3px #009900;
    font-weight: bold;
}
td.cell-wrong {
    background: #ffe9e9 !important;
    box-shadow: inset 0 0 0 3px #cc0000;
    color: #cc0000;
    font-weight: bold;
}
td.cell-info {
    background: aliceblue !important;
    box-shadow: inset 0 0 0 3px #00b;
    color: #00b;
    font-weight: bold;
}
.cell-review-icon {
    margin-left: 6px;
    font-size: 1.1em;
}

/* ------------------------------------------------------------------------
   Review highlighting for inline Graphic Interpretation <select> answers.
   We can't use the pill bubble because the dropdown sits mid-sentence, so
   wrap it in a coloured bordered span and follow it with an annotation
   span that mirrors the wording in readOnlyChoices.hbs.
   ------------------------------------------------------------------------ */
.select-review-correct,
.select-review-wrong,
.select-review-info {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    margin: 0 2px;
}
.select-review-correct {
    background: #e9ffe9;
    border: 2px solid #009900;
}
.select-review-wrong {
    background: #ffe9e9;
    border: 2px solid #cc0000;
}
/* No user answer (admin question view / skipped question): show the correct
   option in info-blue so the right answer is still surfaced. */
.select-review-info {
    background: aliceblue;
    border: 2px solid #00b;
}
.select-review-wrong > select {
    color: #cc0000;
    font-weight: bold;
}
.select-review-correct > select {
    color: #009900;
    font-weight: bold;
}
.select-review-info > select {
    color: #00b;
    font-weight: bold;
}
.select-review-annotation {
    display: inline-block;
    margin: 0 2px;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.95em;
    background: rgba(0, 0, 0, 0.03);
}

/* This rule is specifically here for making correct answers that are images
   be highlighted with the info class too. */
.info > img {
    border: 2px solid #2dcee3;
    filter: drop-shadow(0 0 2px #2dcee3);
}

/*
 * Fractions
 * Custom fraction CSS, since the HTML <sub> and <sup> way is hard to read.
 */

span.frac {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

span.frac > sup, span.frac > sub {
    display: block;
    position: inherit;
    font: inherit;
    padding: 0 0.3em;
    margin-left: 0.2em;
    margin-right: 0.2em;
}

span.frac > sup {
    border-bottom: 0.08em solid;
}

span.frac > span {
    display: none;
}

/*Undo some bootstrap rules */
sub, sup {
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
    bottom: unset;
}


/*
 * Add both because text-wrap is not supported in all browsers right now (Mar 2024)
 * Firefox uses white-space
 */
.no-wrap {
    text-wrap: nowrap;
    white-space: nowrap;
}

/* Zoom in class on hover */
.zoom-on-hover:hover {
    transform: scale(1.1) !important;
    transition: 0.5s all;
    pointer-events: all !important;
    z-index: 100 !important;
}

.main-menu-content {
    background: linear-gradient(90deg, #f0f0f0, white);
}

.shadow-on-hover:hover {
    box-shadow: #888 0px 0px 30px !important;
}
/*Different shadow color depending on the color of background if it exists*/
.bg-gradient-x-amber.shadow-on-hover:hover {
    box-shadow: #FFA000 0px 0px 30px !important;
}
.bg-gradient-x-purple.shadow-on-hover:hover {
    box-shadow: #9C27B0 0px 0px 30px !important;
}
.bg-gradient-x-blue.shadow-on-hover:hover {
    box-shadow: #1976D2 0px 0px 30px !important;
}

.hover-underline:hover {
    text-decoration: underline !important;
}

.btn-report {
    color: #d55050 !important;
}

/*Change default click background on list group items*/
.list-group-item-action:active {
    background-color: #e3dbea;
}

@keyframes pop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Effects */

/* MAD-RIPPLE EFFECT */
.ripple {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    -webkit-transform: translateZ(0); /* to contain zoomed ripple */
    transform: translateZ(0);
    border-radius: inherit; /* inherit from parent (rounded buttons etc) */
    pointer-events: none; /* allow user interaction */
}

.rippleWave {
    backface-visibility: hidden;
    position: absolute;
    border-radius: 50%;
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
    background: rgba(255, 255, 255, 1);
    opacity: 0.45;
    animation: ripple 2s forwards;
    -webkit-animation: ripple 2s forwards;
}

@keyframes ripple {
    to {
        transform: scale(24);
        opacity: 0;
    }
}

@-webkit-keyframes ripple {
    to {
        -webkit-transform: scale(24);
        opacity: 0;
    }
}

@keyframes customFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.bg-very-light-grey {
    background-color: #eee;
}

.pop {
    animation: pop 2s ease-out;
}

.animate__fastest {
    animation-duration: 250ms;
}

.animate-on-hover {
    animation-duration: 60s !important;
}

.animate-on-hover.fa-spin {
    animation: none;
}

.animating-on-hover.fa-spin {
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
}

.animate-on-hover :hover {
    animation: unset;
}

.lightgray {
    color: lightgray;
}

.bg-silver {
    background: silver !important;
}

.bg-gold {
    background: #D4AF37 !important;
}

.bg-bronze {
    background: #cd7f32 !important;
}

/*
.glow {
    font-size: inherit;
    color: #fff;
    text-align: center;
    /* Turns out, this animation is really expensive on CPU*/
/*animation: glow 3s ease-in-out infinite alternate;*/
/*text-shadow:*/

/*0*/
/*0*/
/*2*/
/*px #fff,*/

/*0*/
/*0*/
/*5*/
/*px #eee,*/

/*0*/
/*0*/
/*20*/
/*px #ddd,*/

/*0*/
/*0*/
/*30*/
/*px #ccc,*/

/*0*/
/*0*/
/*35*/
/*px #bbb,*/

/*0*/
/*0*/
/*40*/
/*px #aaa,*/

/*0*/
/*0*/
/*50*/
/*px #999*/

/*;*/
/*}*/
/*!**/

.gold-glow {
    text-shadow: 0 0 2px #fff, 0 0 5px #d8ff4d, 0 0 20px #65ff4d, 0 0 30px #a3ff4d, 0 0 35px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6;
}
*/

@-webkit-keyframes glow {
    from {
        text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 20px #8ae600, 0 0 30px #32e600, 0 0 35px #e60073, 0 0 40px #e60073, 0 0 50px #e60073;
    }

    to {
        text-shadow: 0 0 2px #fff, 0 0 5px #d8ff4d, 0 0 20px #65ff4d, 0 0 30px #a3ff4d, 0 0 35px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6;
    }
}

.shine-silver {
    background: linear-gradient(75deg, silver 20%, #eee 30%, silver 40%);
    background-position: -200px;
    /*animation: shine 12s infinite ease-in-out;
    animation-fill-mode: forwards;

     */
    -webkit-text-size-adjust: none;
    white-space: nowrap;
}

.shine-gold {
    background: linear-gradient(75deg, #FFAA00 20%, #eee 30%, #FFAA00 40%);
    background-position: -200px;
    /*animation: shine 12s infinite ease-in-out;
    animation-fill-mode: forwards;

     */
    -webkit-text-size-adjust: none;
    white-space: nowrap
}

.shine-bronze {
    background: linear-gradient(75deg, #cd7f32 20%, #cea883 30%, #cd7f32 40%);
    background-position: -200px;
    /*animation: shine 12s infinite ease-in-out;
    animation-fill-mode: forwards;

     */
    -webkit-text-size-adjust: none;
    white-space: nowrap
}

@-webkit-keyframes shine {
    0% {
        background-position: -170px
    }
    50% {
        background-position: 470px
    }
    100% {
        background-position: -170px
    }
}

/* Highlighting - Reading Section Specific */

/* The text that is a candidate for higlighting*/
.text p span {
    padding: 0;
    background: transparent;
    background: linear-gradient(to right, #78e313 50%, transparent 50%);
    background-position: right bottom;
    background-size: 200% 100%;
    transition: all .5s ease;
}

/* Highlighted passage text - a soft yellow marker, click to remove. */
.highlighted {
    background: #fff59d;
    border-radius: 3px;
    padding: 0 1px;
    cursor: pointer;
}
.highlightable { cursor: text; }
/* Floating "Highlight" button shown next to a passage text selection. */
.hl-float-btn {
    position: absolute;
    z-index: 3000;
    display: none;
    padding: 4px 10px;
    border: 0;
    border-radius: 5px;
    background: #1f2937;
    color: #fff;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}
.hl-float-btn:hover { background: #111827; color: #fff; }
.hl-float-btn i { margin-right: 4px; }

/* Reading Comprehension passage references.
   - .reading-passage-reference: a portion the parser pre-marks as "the
     highlighted portion" the question refers to - always shown highlighted.
   - .ref-highlighted: toggled on the passage target when a <ref to="ID"> link
     in the question stem is clicked ("highlighted text (click to highlight)"). */
.reading-passage-reference,
.ref-highlighted {
    background: #fff59d;
    border-radius: 3px;
    padding: 0 2px;
}
/* The <ref> link itself, and the custom inline <h> marker used inside passages
   (kept inline so it does not render as a giant heading). */
ref[to] {
    cursor: pointer;
    color: #1a4fd6;
    text-decoration: underline;
    font-weight: 600;
}
.text h,
.highlightable h,
.content-wrapper h[id] {
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* ========================================================================
   Multi-Source Reasoning: tabbed source panel (real-GMAT style).
   The parser ships a `.split` block holding a `.grid` row of `.tabs` buttons
   and one `.referencematerial` panel per source. tabSwitch()/initMultiSourceTabs
   (common.js) drive it: the active tab gets `.active`, its panel `.rm-active`.
   ======================================================================== */
.split .grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 3px;
    border-bottom: 2px solid #0A8CBD;
}
.split .tabs {
    display: inline-block;
    padding: 7px 15px;
    background: #eef1f4;
    border: 1px solid #cfd6dd;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    margin-bottom: -2px;               /* sit on the tab-bar underline */
    cursor: pointer;
    font-weight: 600;
    color: #33475b;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.split .tabs:hover { background: #dfe6ec; }
.split .tabs.active {
    background: #0A8CBD;
    border-color: #0A8CBD;
    color: #fff;
}
.split hr { display: none; }          /* the tab-bar underline replaces it */

/* Source panels: hidden unless active (overrides the parser's inline display,
   which initMultiSourceTabs strips on load). */
.referencematerial {
    display: none;
    padding: 12px 14px;
    border: 1px solid #cfd6dd;
    border-top: 0;
    background: #fff;
    line-height: 1.6;
}
.referencematerial.rm-active { display: block; }
.referencematerial img { max-width: 100%; height: auto; }
#divider { display: none; }

/* Side-by-side MSR layout on the live test / review (built by
   splitMultiSourceLayout in _test.js): sources left (the existing column,
   widened to col-lg-6), question right (a new col-lg-6 inserted after it). */
.msr-source-col .grid-container,
.msr-question-col .questions { margin: 0; }

/* The admin question-list preview (.question-preview) is a tiny clipped
   snapshot - neutralise the MSR tab styling there so the bordered panels and
   tab bar don't break out of the table cell. */
.question-preview .split .grid { display: block; border: 0; }
.question-preview .split .tabs {
    display: inline-block;
    margin: 0 4px 2px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font-weight: inherit;
}
.question-preview .referencematerial { border: 0; padding: 0; }

@-webkit-keyframes highlightSwipe {
    0% {
        background-position: right bottom;
    }
    100% {
        background-position: left bottom;
    }
}

/* For Highlight context menu on reading */
.highlight-context-menu {
    width: 200px;
    display: none;
    position: absolute;
}

.clear-highlight-button {
    display: none;
}

.highlight-context-menu .list-group-item {
    padding: 5px;
}

@media only screen and (min-width: 550px) {
    .empty-test-listing {
        width: 520px;
    }
}

@media only screen and (min-width: 400px) and (max-width: 550px) {
    .empty-test-listing {
        width: 90vw;
    }
}

/*.display-on-hover {*/
/*    display: none;*/
/*}*/
/*.display-on-hover:hover {*/
/*    display: block;*/
/*}*/

/* Zoom in class on active */
.zoom-on-active:active {
    transform: scale(1.2) !important;
}

.bg-gradient-y2-blue-of-test {
    background-image :         linear-gradient(#63a0b8, #0A8CBD 50%, #63a0b8);
}

#sortByBar {
    padding: 0 !important;
    width: 100%;
}

#btnGroupAddon,
#sortByBar .btn {
    font-size: 8px !important;
    word-wrap: break-word !important;
    padding: 0 5px 0 5px !important;
}

/* Give the impression that buttons (or mock-buttons) are being pressed */
.btn-animate:active,
.btn:active {
    transition: 0.1s all ease-in-out;
    transform: scale(0.9) !important;
}

/* Give the impression that buttons (or mock-buttons) are being pressed, but slightly */
.btn-animate-slight:active {
    transition: 0.1s all ease-in-out;
    transform: scale(0.98) !important;
}

/* If button is disabled, don't do anything */
.btn-animate.disabled,
.btn-animate.disabled:active {
    transform: none;
    pointer-events: none;
    filter: opacity(0.6);
}

.btn-outline-danger {
    color: #ff7588 !important;
}

.btn-3d,
.btn-sticky {
    border-style: outset;
    box-shadow: 2px 2px 1px grey;
}

/*3d button only pushed back while clicking*/
.btn-3d:active,
.btn-sticky:active,
.btn-sticky:focus {
    user-select: none;
    transition: 0.1s all ease-in-out;
    border-style: inset;
    outline: none;
    box-shadow: none;
    transform: translate(1px, 1px) scale(0.98) !important;
}

/* Country Lists*/

#flagDiv {
    padding-right: 10px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: #E4E7ED !important;
}

#flag {
    transition: all 500ms linear;
    line-height: 2em !important;
    font-size: 2em;
}
/* Fixes in sidebar menu*/
body.vertical-layout.vertical-menu.menu-expanded .main-menu .navigation > li > a > i:before {
    font-size: 1.4rem;
}
body.vertical-layout.vertical-menu.menu-expanded .main-menu .navigation > li > a > i {
    margin-right: 10px !important;
    min-width: 30px;
    text-align: center;
}
body.vertical-layout.vertical-menu.menu-expanded .main-menu .navigation li.has-sub > a:not(.mm-next):after {
    top: 10px;
}
.main-menu.menu-light .navigation > li > a {
    padding: 5px 30px 5px 20px;
}

.nav-item,
.menu-title {
    font-size: 1.2rem;
    vertical-align: middle;
}

.hover-click-zoom {
    transition-duration: 1s;
}

.hover-click-zoom:hover {
    transform: scale(1.05);
}

.hover-click-zoom:active {
    filter: brightness(50%);
}

/* Make border line up */
.help-text {
    border-radius: 0 0 0.25rem 0.25rem;
}

/* Crossed out text */
.crossed-out {
    text-decoration: line-through;
}

/*File Section*/

#uploadContractButton {
    transition: 1s all linear;
}

#uploadContractButton:disabled:hover,
#uploadContractButton:disabled {
    color: #666 !important;
    background-color: #00b5b8 !important;
    cursor: not-allowed;
}

#uploadContractButton:not(disabled) {
    background-color: #16d39a !important;
}

#uploadContractButton:not(disabled) hover {
    background-color: #36d0a2 !important;
}

.logo-subtext {
    text-align: center;
    font-weight: 900;
    font-size: 100%;
    color: #0360a0;
    font-family: 'Open Sans', 'Roboto Flex', sans-serif !important;
}

#loginBody {
    background-size: cover;
    background-image: radial-gradient(rgba(226, 227, 234, 0.8) 1.5px, rgba(226, 227, 234, 0.9) 1.5px), url("/images/login/students-with-computers.jpg")
}

/* Truncate text on some tables */
.truncate-td {
    max-width: 200px;
    white-space: nowrap;
    overflow: scroll;
    text-overflow: scroll;
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media only screen and (max-width: 575.98px) {
    html {
        font-size: 10px;
    }

    .dropdown .dropdown-menu .dropdown-item {
        padding: 1px 4px 1px 20px;
    }
}

.table-no-hover tbody tr:hover {
    background: transparent;
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media only screen and (min-width: 576px) and (max-width: 767.98px) {
    html {
        font-size: 11px;
    }

    .dropdown .dropdown-menu .dropdown-item {
        padding: 1px 4px 1px 20px;
    }
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media only screen and  (min-width: 768px) and (max-width: 991.98px) {
    html {
        font-size: 12px;
    }

    .dropdown .dropdown-menu .dropdown-item {
        padding: 1px 4px 1px 20px;
    }
}

/* `xl` applies to large devices (desktops, less than 1200px)*/
@media only screen and (min-width: 992px) and (max-width: 1399.98px) {
    html {
        font-size: 14px;
    }
}

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media only screen and (min-width: 1400px) {
    html {
        font-size: 16px;
    }
}

/* Blur sidenav background */
.sidenav-overlay {
    background-color: rgba(0, 0, 0, 0.1);
}

/* For the blur to work, we need some transparency */
.main-menu.menu-light .navigation {
    background: none;
}

/* Make children of menus darker */
.main-menu.menu-light .navigation > li > ul {
    background: rgba(0, 0, 0, 0.025);
}

.Global Prep Simulations .header-navbar .navbar-header .navbar-brand .brand-text {
    padding-left: 0px
}

.Global Prep Simulations .header-navbar .navbar-header .navbar-brand .brand-text img {
    margin-top: -10px
}

.header-navbar .navbar-header {
    height: 3rem;
}

.header-navbar,
.navbar-wrapper {
    min-height: 3rem;
}
/* Dont overlap menu with top navbar*/
.main-menu.menu-fixed {
    top: 3rem;
    height: calc(100% - 3rem);
}

.Global Prep Simulations .label-control {
    /*line-height: calc(2.75rem + 2px);*/
    line-height: 1.15;
    text-align: end;
    margin-bottom: 0px;
}

.blurred-backdrop-very-weak {
    -webkit-backdrop-filter: blur(1px); /* Add this line first, it fixes blur for Safari*/
    backdrop-filter: blur(1px);
}

.blurred-backdrop-weak {
    background: rgba(255, 255, 255, 0.1) !important;
    -webkit-backdrop-filter: blur(5px); /* Add this line first, it fixes blur for Safari*/
    backdrop-filter: blur(5px);
}

.blurred-backdrop {
    background: rgba(255, 255, 255, 0.5) !important;
    -webkit-backdrop-filter: blur(5px); /* Add this line first, it fixes blur for Safari*/
    backdrop-filter: blur(5px);
}

.blurred-backdrop-strong {
    background: rgba(255, 255, 255, 0.75) !important;
    -webkit-backdrop-filter: blur(5px); /* Add this line first, it fixes blur for Safari*/
    backdrop-filter: blur(5px);
}

/** Half gradients for half completed tests */
.bg-gradient-x-purple-half {
    background-image: -webkit-linear-gradient(right, #7B1FA2 0%, #BA68C8 50%, #aaa 51%, #ddd 100%);
    background-image: linear-gradient(to right, #7B1FA2 0%, #BA68C8 50%, #aaa 51%, #ddd 100%);
    background-repeat: repeat-x;
}

.bg-gradient-x-blue-half {
    background-image: -webkit-linear-gradient(right, #1976D2 0%, #64B5F6 50%, #aaa 51%, #ddd 100%);
    background-image: linear-gradient(to right, #1976D2 0%, #64B5F6 50%, #aaa 51%, #ddd 100%);
    background-repeat: repeat-x;
}

.thumbnail-img {
    max-width: 110px;
    max-height: 150px;
}

.Global Prep Simulations .btn-outline-danger:not(:disabled):not(.disabled):active,
.Global Prep Simulations .btn-outline-danger:not(:disabled):not(.disabled).active,
.Global Prep Simulations .show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
}


.truncate-left {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: rtl;
}

.truncate-right {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


#adminLoginForm {
    max-width: 500px;
}


.explanation-container {
    bottom: 2em;
}

/* Navtabs reversed */
.nav-small .nav-link {
    padding: 0.3rem 0.6rem;
    font-size: smaller;
}

.tab-reversed .tab-content {
    padding: 10px;
    border: 1px solid #ddd;
    border-bottom: 0px;
}

.tab-reversed .nav-tabs {
    border-bottom: 0px;
    border-top: 1px solid #ddd;
}

.tab-reversed.nav-tabs .nav-link {
    line-height: 20px;
    border: 1px solid #fff;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top: none;
}

.tab-reversed.nav-tabs {
    border-bottom: 1px solid #ffffff;
}

.tab-reversed.nav-tabs .nav-link:hover {
    border: 1px solid #c0c0c0;
    border-top: none;
}

.tab-reversed.nav-tabs .nav-link:focus,
.tab-reversed.nav-tabs .nav-link.active {
    color: #555555;
    cursor: default;
    background-color: #ddd;
    border: 1px solid #c0c0c0;
    border-top: none;
}

.menuItemsEditor h4 {
    margin-block-end: auto;
}

.old-price {
    text-decoration: Line-Through
}

.card-title img {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
}

.trash-area {
    height: 5vh
}

.nest-btn {
    margin-top: 15px;
}

.card-header:first-child {
    border-radius: inherit;
}

.card {
    margin-bottom: 1.875rem;
    border: 1px solid lightgray;
    border-radius: 20px;
    box-shadow: 0 10px 40px 0 rgba(62, 57, 107, 0.07), 0 2px 9px 0 rgba(62, 57, 107, 0.06);
}

.card-sm:not(.card-fullscreen) {
    max-width: 250px;
}

.card-md:not(.card-fullscreen) {
    max-width: 500px;
}

.card-lg:not(.card-fullscreen) {
    max-width: 800px;
}

.modal-backdrop.show {
    opacity: 0;
    z-index: -1;
}

.modal.left .modal-dialog {
    box-shadow: 0 10px 40px 0 rgb(62 57 107 / 40%), 0 2px 9px 0 rgb(62 57 107 / 6%);
    width: 35vw;
}

/*Media queries for modals*/

/**
 * Basic CSS Media Query Template
 * TODO: I should probably use Sass...
 * Author: Michael Vieth
 * ------------------------------------------
 *  Responsive Grid Media Queries - 1280, 1024, 768, 480
 *   1280-1024   - desktop (default grid)
 *   1024-768    - tablet landscape
 *   768-480     - tablet
 *   480-less    - phone landscape & smaller
 * --------------------------------------------
 */
@media all and (min-width: 1024px) and (max-width: 1280px) {

    .modal.left .modal-dialog {
        width: 35vw;
        max-width: 35vw;
    }

    .modal.left.larger .modal-dialog {
        width: 55vw;
        max-width: 55vw;
    }
}

@media all and (min-width: 768px) and (max-width: 1024px) {
    .modal.left .modal-dialog {
        width: 50vw;
        max-width: 50vw;
    }

    .modal.left.larger .modal-dialog {
        width: 65vw;
        max-width: 65vw;
    }

}

@media all and (min-width: 480px) and (max-width: 768px) {
    .modal.left .modal-dialog {
        width: 100vw;
        max-width: 100vw;
    }

    .modal.left.larger .modal-dialog {
        width: 100vw;
        max-width: 100vw;
    }
}

@media all and (max-width: 480px) {
    .modal.left .modal-dialog {
        width: 100vw;
        max-width: 100vw;
    }

    .modal.left.larger .modal-dialog {
        width: 100vw;
        max-width: 100vw;
    }
}


/* Portrait */
@media screen and (orientation: portrait) {
    /* Portrait styles here */
}

/* Landscape */
@media screen and (orientation: landscape) {
    /* Landscape styles here */
}


/* CSS for iPhone, iPad, and Retina Displays */

/* Non-Retina */
@media screen and (-webkit-max-device-pixel-ratio: 1) {
}

/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
}

/* iPhone Portrait */
@media screen and (max-device-width: 480px) and (orientation: portrait) {
}

/* iPhone Landscape */
@media screen and (max-device-width: 480px) and (orientation: landscape) {
}

/* iPad Portrait */
@media screen and (min-device-width: 481px) and (orientation: portrait) {
}

/* iPad Landscape */
@media screen and (min-device-width: 481px) and (orientation: landscape) {
}


#descr-nav-tabContent .ql-editor {
    min-height: 350px;
}

.note-editor.note-frame.card {
    margin-bottom: 0px;
}

.box-icon {
    background-image: url(/images/box.jpg);
    background-size: contain;
    height: 200px;
    background-repeat: no-repeat;
    background-position-x: center;
}

.dd .dd-nodrag {
    cursor: auto;
}

.card.full_size {
    min-height: calc(100vh - 200px);
    /* Don't limit the width of the card
    max-width: 1200px;
     */
}

.icon-image img {
    max-height: 80px;
    display: block;
    margin: auto;
    padding: 1px;
    border: 1px solid #c0c0c0;
}

#product-images img {
    max-height: 15vw;
    max-width: 15vw;
    display: block;
    margin: auto;
    padding: 5px;
    width: auto;
    height: auto;
}

#product-images .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#product-images .box-shadow {
    margin-top: 20px;
    height: 20vw;
    width: 20vw;
    display: flex;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

#product-images .ribbon {
    margin-top: -12px;
    margin-left: 10vw;
}

#photoEditorModal .modal-footer {
    border-top: 0px;
}

.box-shadow {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    max-width: fit-content;
}

.readonly li {
    pointer-events: none;
    opacity: 0.8;
}


.brands-list .brandImage {
    display: block;
    float: left;
    margin-right: 10px;
}

.brands-list .brandImage,
.brands-list .brandImage > img {
    width: 140px;
    height: 55px;
    object-fit: cover;
}


.category-container .dd-handle, .category-container .dd-content {
    min-height: 45px;
    padding-left: 80px;
}

.categoryImage {
    display: block;
    float: left;
    margin-left: 25px;
    margin-top: 15px;
}

.categoryImage,
.categoryImage > img {
    width: 38px;
    height: 22px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
}


.btn-more-wide {
    padding-right: 17px;
    padding-left: 17px;
}

.category-container {
    max-width: 640px;
}


/* Modal Scroll Important part */
.modal-dialog {
    overflow-y: initial !important
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}


/*Sortable tables*/

table.sortable th {
    font-weight: bold;
    position: relative;
}

table.sortable th.no-sort {
    padding-top: 0.35em;
}

table.sortable th:nth-child(5) {
    width: 10em;
}

table.sortable th button {
    position: absolute;
    padding: 4px;
    margin: 1px;
    font-size: 100%;
    font-weight: bold;
    background: transparent;
    border: none;
    display: inline;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 90%;
    text-align: left;
    outline: none;
    cursor: pointer;
    line-height: initial;
    word-spacing: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

table.sortable th button span {
    position: absolute;
    right: 4px;
}

table.sortable th[aria-sort="descending"] span::after {
    content: "▼";
    color: currentColor;
    font-size: 100%;
    top: 0;
}

table.sortable th[aria-sort="ascending"] span::after {
    content: "▲";
    color: currentColor;
    font-size: 100%;
    top: 0;
}

table.show-unsorted-icon th:not([aria-sort]) button span::after {
    content: "♢";
    color: currentColor;
    font-size: 100%;
    position: relative;
    top: -3px;
    left: -4px;
}


table.sortable th button:focus,
table.sortable th button:hover {
    padding: 2px;
    background-color: #e5f4ff;
}

table.sortable th button:focus span,
table.sortable th button:hover span {
    right: 2px;
}

table.sortable th:not([aria-sort]) button:focus span::after,
table.sortable th:not([aria-sort]) button:hover span::after {
    content: "▼";
    color: currentColor;
    font-size: 100%;
    top: 0;
}

.table.sortable th, .table.sortable td {
    padding: 0.75rem 0.5rem;
}

/*
.app-content .form-control {
    height: calc(2.75rem + 4px);
}

 */

.d-none {
    display: none !important;
}

.draggable-readonly,
.draggable {
    background-color: lightblue;
    border-radius: 25px;
    padding: 10px;
    margin-top: 20px;
    cursor: grab;
    min-width: 100px;
    line-height: 3;
    user-select: none;
}

.draggable-readonly {
    opacity: 0.7;
    pointer-events: none;
}

.droppable {
    padding: 5px;
    border-radius: 25px;
    user-select: none;
}

.droppable-hovered {
    background-color: #eee !important;
}

.droppable-active {
    background-color: #fff;
    border: #fff;
    color: #fff;
}

input.droppable-hovered {
    border: 3px blue solid;
}

.draggable:active {
    cursor: grabbing;
}

.sweet_loader {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: ro;
    transform-origin: 50% 50%;
    transform: rotate(0) translate(0, 0);
}

@keyframes ro {
    100% {
        transform: rotate(-360deg) translate(0, 0);
    }
}


.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}


/*sticky header footer
https://jsfiddle.net/ue5j6zkb/
*/

.card-body table thead {
    z-index: 999;
    background-color: white;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

/*.card-body table thead th {*/
/*    line-height: 32px;*/
/*}*/

.card-body table thead {
    inset-block-start: 0px; /* "top" */
}

.sticky_bottom {
    inset-block-end: 0; /* "bottom" */
    z-index: 999;
    background-color: white;
    position: -webkit-sticky;
    position: sticky !important;
    bootom: 0;
}

.Global Prep Simulations .content.app-content {
    overflow-x: unset;
}

/*.table {*/
/*    table-layout: fixed;*/
/*    display: block;*/
/*    border-collapse: collapse;*/
/*}*/

#bottom-bar {
    position: sticky;
    bottom: 0;
    z-index: 999;
    background-color: white;
    padding-top: 10px;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.Global Prep Simulations .dropdown-item.disabled, .dropdown-item:disabled {
    color: #ccc;
}

/*image hover*/

.hover-effect .container {
    position: relative;
    width: 50%;
}

.hover-effect .image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.hover-effect .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.hover-effect .container:hover .image {
    opacity: 0.65;
}

.hover-effect .container:hover .middle {
    opacity: 1;
}

.hover-effect .text {
    background-color: #04AA6D;
    color: black;
    font-size: 8px;
    padding: 3px 6px;
    opacity: 0.6;
    border-radius: 6px;
}


/* For Drag And Drop css */
/* --------------------- */
.draggable-cards .card {
    cursor: -webkit-grab;
    cursor: grab;
}

.draggable-cards .card {
    box-shadow: 0 10px 40px 0 rgb(62 57 107 / 7%), 0 2px 9px 0 rgb(62 57 107 / 6%) !important;
}

.draggable-cards .container {
    display: table-cell;
}

.draggable-cards .container.left {
    width: 20%;
}

.draggable-cards .container.right {
    width: 80%;
}

.draggable-cards .tab-pane:not(.active) {
    display: none;
    visibility: hidden;
}

.wrappable {
    white-space: normal;
}

#basic-list-group .list-group-item, #multiple-list-group-a .list-group-item, #multiple-list-group-b .list-group-item {
    cursor: -webkit-grab;
    cursor: grab;
}

#clone-lists .chip {
    cursor: -webkit-grab;
    cursor: grab;
}

.size-slider {
    min-width: 60px;
    /*max-width:200px;*/
    font-size: 0.8em;
}


/*resizable panel*/
.layout {
    width: 100vw;
}

#Layout_editor .dropzone .dz-preview .dz-image img {
    object-fit: cover;
    width: 120px;
    height: 120px;

}

.card.notVisible .card-header,
.card.notVisible .card-content {
    background-color: #f1f2f4;
    opacity: 0.7;
}

.resizable::after {
    content: '';
    background-color: #ccc;
    position: absolute;
    right: 0px;
    width: 4px;
    height: 100%;
    cursor: ew-resize;
    top: 0px;
}

/*.side-by-side.empty::before{*/
/*    display: inline-block;*/
/*    content: "\00d7";*/
/*    margin-left: -8px;*/
/*    margin-top: -15px;*/
/*}*/

.menu-container .buttons-menu {
    margin: .3125rem 0;
}

.resizable .label-control {
    font-size: 0.8em
}

.resizable .components .label-control {
    font-size: 1em
}

.resizable .modal-body .label-control {
    font-size: 1em
}

.resizable .dropzone .dz-message {
    font-size: 1rem;
}

.font-smaller {
    font-size: 0.8em !important;
}

.font-smallest {
    font-size: 0.5em !important;
}

.font-bold {
    font-weight: bolder !important;
}

.font-italic {
    font-style: italic !important;
}

/* Stop typeahead from interfering with bootstrap input groups. */
.input-group > .twitter-typeahead {
    flex: 1 1 auto;
    width: auto;
}

/* Change accent color of tabs */
.nav.nav-tabs.nav-top-border .nav-item a {
    color: #98a4b8 !important;
}

.nav.nav-tabs.nav-top-border .nav-item a.nav-link.active {
    border-top: 3px solid #98a4b8;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    color: #555 !important;
}

/* form-input cover whole line when overflowing (this needs 100%) */
.input-group > .twitter-typeahead > .form-control {
    height: 100%;
}

/* form-input cover whole line when overflowing */
.input-group > .form-control, .input-group > .form-control-plaintext,
.input-group > .custom-select, .input-group > .custom-file {
    height: unset;
}

#emptyModal > .modal-dialog {
    width: 55vw;
    max-width: 75vw;
}

#emptyModal > .modal-dialog > .modal-content {
    border-top-left-radius: calc(0.27rem - 1px);
}

#emptyModal > .modal-dialog > .modal-content > .modal-header {
    border-top-right-radius: 0;
}

#invoicesTable tbody td {
    position: relative;
    z-index: 1;
}

#deleteBtn {
    position: relative;
    z-index: 2;
}

/*** <--- CIRCLE STYLES ---> ***/
.circle {
    position: relative;
    width: 2em;
    height: 2em;
    margin: 0.5rem;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
}

.circle.per-0 {
    background-image: conic-gradient(#1976D2 0%, #ddd 0);
}

.circle.per-33 {
    background-image: conic-gradient(#1976D2 33.3%, #ddd 0);
}

.circle.per-66 {
    background-image: conic-gradient(#1976D2 66.6%, #ddd 0);
}

.circle.per-100,
.circle.per-99 {
    background-image: conic-gradient(#FFA000 100%, #fff 0);
}

.circle .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: .5em;
    height: .5em;
    background: white;
    border-radius: 50%;
    font-size: 1.85em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
}

.timer-number,
.timer-placeholder {
    font-family: "IBM Plex Mono Bold", monospace;
    font-weight: bold;
    text-shadow: 0px 0px 10px #000;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: unset;
        margin: 1.75rem auto;
    }
}

@media (max-width: 991.98px) {
    .card.resizable .heading-elements .list-inline {
        display: block;
    }

}

@media (min-width: 768px) {
    .container, .container-sm, .container-md {
        max-width: 100vw;
    }
}
.new-ribbon-wrapper {
    position: relative;
    overflow: hidden; /* ensures clean clipping */
}

.new-ribbon {
    position: absolute;
    top: 12px;
    right: -35px;

    transform: rotate(45deg);

    background: linear-gradient(135deg, #ff7a18, #ffb347);
    color: white;

    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;

    padding: 5px 40px;

    text-align: center;
    z-index: 2;

    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.new-ribbon {
    box-shadow:
            0 3px 8px rgba(0,0,0,0.2),
            0 0 10px rgba(255, 165, 0, 0.5);
}

.new-ribbon-wrapper:hover .new-ribbon {
    transform: rotate(45deg) scale(1.05);
}


.burst {
    width: 220px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;

    background: #ffd400;
    color: #111;
    font: 900 2rem/1 sans-serif;
    text-transform: uppercase;

    clip-path: polygon(
            50% 0%,
            60% 18%,
            78% 4%,
            74% 24%,
            100% 20%,
            82% 38%,
            98% 50%,
            82% 62%,
            100% 80%,
            74% 76%,
            78% 96%,
            60% 82%,
            50% 100%,
            40% 82%,
            22% 96%,
            26% 76%,
            0% 80%,
            18% 62%,
            2% 50%,
            18% 38%,
            0% 20%,
            26% 24%,
            22% 4%,
            40% 18%
    );

    border: 4px solid #111;
    box-shadow: 6px 6px 0 #111;
}


.page-title {
    display: inline-block;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    font-family: "Big Shoulders Display", sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.menu-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #dbeafe;
}

.navigation {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navigation-header {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navigation-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d1d5db;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item > a:hover {
    background: #eff6ff;
    color: #2563eb;
    transform: translateX(4px);
}

.nav-item i {
    width: 20px;
    text-align: center;
    color: #3b82f6;
}

.menu-content {
    list-style: none;
    padding-left: 2.5rem;
    margin-top: 0.5rem;
}

.menu-content li {
    margin-bottom: 0.35rem;
}

.menu-content a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: #475569;
    transition: 0.2s ease;
}

.menu-content a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

@media (max-width: 768px) {
    #page-content-wrapper {
        padding: 1rem;
    }

    .page-title {
        width: 100%;
        font-size: 1.5rem;
    }
}

/* ------------------------------------------------------------------------
   Admin dashboard - rounded-square "island" tiles laid out on a responsive
   grid (replaces the legacy vertical menu list).
   ------------------------------------------------------------------------ */
.dashboard-section {
    margin-bottom: 2.5rem;
}

.dashboard-section-header {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-section-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d1d5db;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
}

.dashboard-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.85rem;
    aspect-ratio: 1 / 1;
    padding: 1.25rem 0.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                border-color 0.18s ease, background 0.18s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.0) 0%, rgba(59,130,246,0.08) 100%);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.dashboard-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border-color: #93c5fd;
    color: #1e293b;
    text-decoration: none;
}

.dashboard-tile:hover::before {
    opacity: 1;
}

.dashboard-tile .tile-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eff6ff;
    color: #3b82f6;
    font-size: 1.75rem;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dashboard-tile:hover .tile-icon {
    background: #3b82f6;
    color: white;
    transform: scale(1.05);
}

.dashboard-tile .tile-label {
    font-size: 0.95rem;
    line-height: 1.25;
}

/* Per-tile accent palette - the icon tile carries the colour. */
.dashboard-tile.tile-tests        .tile-icon { background:#fef3c7; color:#d97706; }
.dashboard-tile.tile-tests:hover  .tile-icon { background:#d97706; color:white;   }

.dashboard-tile.tile-students       .tile-icon { background:#dcfce7; color:#16a34a; }
.dashboard-tile.tile-students:hover .tile-icon { background:#16a34a; color:white;   }

.dashboard-tile.tile-reports       .tile-icon { background:#fee2e2; color:#dc2626; }
.dashboard-tile.tile-reports:hover .tile-icon { background:#dc2626; color:white;   }

.dashboard-tile.tile-tuning       .tile-icon { background:#ede9fe; color:#7c3aed; }
.dashboard-tile.tile-tuning:hover .tile-icon { background:#7c3aed; color:white;   }

.dashboard-tile.tile-divisions,
.dashboard-tile.tile-divisions-new { /* same family - share base */ }
.dashboard-tile.tile-divisions       .tile-icon { background:#cffafe; color:#0891b2; }
.dashboard-tile.tile-divisions:hover .tile-icon { background:#0891b2; color:white;   }
.dashboard-tile.tile-divisions-new       .tile-icon { background:#cffafe; color:#0891b2; }
.dashboard-tile.tile-divisions-new:hover .tile-icon { background:#0891b2; color:white;   }

.dashboard-tile.tile-settings       .tile-icon { background:#f1f5f9; color:#475569; }
.dashboard-tile.tile-settings:hover .tile-icon { background:#475569; color:white;   }

.dashboard-tile.tile-users,
.dashboard-tile.tile-users-new {}
.dashboard-tile.tile-users       .tile-icon { background:#fce7f3; color:#db2777; }
.dashboard-tile.tile-users:hover .tile-icon { background:#db2777; color:white;   }
.dashboard-tile.tile-users-new       .tile-icon { background:#fce7f3; color:#db2777; }
.dashboard-tile.tile-users-new:hover .tile-icon { background:#db2777; color:white;   }

.dashboard-tile.tile-roles       .tile-icon { background:#fef9c3; color:#ca8a04; }
.dashboard-tile.tile-roles:hover .tile-icon { background:#ca8a04; color:white;   }

@media (max-width: 768px) {
    .tile-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 0.85rem;
    }
    .dashboard-tile {
        padding: 1rem 0.5rem;
        border-radius: 14px;
    }
    .dashboard-tile .tile-icon {
        width: 52px; height: 52px;
        font-size: 1.4rem;
        border-radius: 12px;
    }
    .dashboard-tile .tile-label {
        font-size: 0.85rem;
    }
}
