@charset "UTF-8";
/* ==========================================================================
   issues-list.css - v2 styling for the issues LIST screen
   screens/bse/issues/issues.jsp  (/control/issues, /control/issues/shares)
   plus the fragments it owns:
     issues_table_internal.jsp   (screens issues.data.table / issues.data.table2)
     issues_average.jsp          (screen issues_average_data)
     filters/form_fast.jsp, form_index.jsp, form_extended.jsp

   HARD CONSTRAINTS - js/filters.js and js/is_popup.js address this markup by
   id and by DOM position, and both files are shared/off limits:

     #filter_form        innerHTML is replaced with one of the three filter
                         forms; the element itself survives, so put layout on
                         it, never on its children's ids alone.
     #table_data_holder  innerHTML is replaced with the table fragment.
     #issues_average_data innerHTML is replaced with the average box; its mere
                         PRESENCE also picks the sortBy() branch in filters.js,
                         so the box may not be dropped from the page.
     .issuestabs > a     IssuesFilter.clearFilters() assigns className = "" and
                         setFilter() assigns className = "active".  A tab can
                         therefore carry NO permanent class of its own - every
                         tab rule here is written as .filter_tabs > a.
     #ef_button_add / _filter / _clear / _scroll_up / _scroll_down
                         Extended_Filter.enable()/disable() read childNodes[0]
                         (the <img>, whose src is swapped -disabled.gif) and
                         childNodes[2] (the <font>, whose colour is set inline).
                         Those three child nodes and their order are frozen;
                         only CSS around them may change.
     #ef_data_rows       rows are built by filters.js with hard-coded pixel
                         widths (185 + 60 + 320 + 55 = 620px) and scrolled with
                         scrollTop = pos * 13.  Height 40px / overflow hidden
                         must stay; the 620px is absorbed by .ef_scroll.
     #add_window, #more_columns_window
                         opened with style.display = 'block' only, so they are
                         free to be position:fixed modals here.
   ========================================================================== */

/* the modal backdrop Utils.blockSite()/clearSite() toggles (#shadow_layer).
   newstyle.css is not loaded on v2 pages, so it is defined here. */
body.v2 .shadow_layer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 32, 54, .55);
    z-index: 900;
    display: none;
}

/* ==========================================================================
   1. filter block (tabs + panel)
   ========================================================================== */
body.v2 .issues_filter {
    margin: 0 0 20px;
}

body.v2 .filter_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: -1px;
}

body.v2 .filter_tabs > a {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid #e7edf4;
    border-bottom-color: transparent;
    border-radius: 8px 8px 0 0;
    background: #eef2f7;
    color: #5b6675;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

body.v2 .filter_tabs > a:hover {
    background: #e3eaf4;
    color: #1e4280;
    text-decoration: none;
}

body.v2 .filter_tabs > a.active {
    background: #f8fafc;
    border-color: #e7edf4;
    border-bottom-color: #f8fafc;
    color: #1e4280;
}

body.v2 .filter_panel {
    position: relative;
    min-height: 96px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e7edf4;
    border-radius: 0 8px 8px 8px;
}

/* ---- shared trigger for the legacy is_popup dropdowns (div.popup_menu) ---- */
body.v2 .issues_picker {
    position: relative;
    display: block;
    min-width: 150px;
    height: 38px;
    padding: 0 30px 0 12px;
    border: 1px solid #cdd6e2;
    border-radius: 6px;
    background: #fff;
    color: #1e4280;
    font-size: 14px;
    line-height: 36px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

body.v2 .issues_picker::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-right: 2px solid #6b7686;
    border-bottom: 2px solid #6b7686;
    transform: rotate(45deg);
}

body.v2 .issues_picker:hover,
body.v2 .issues_picker.DDover {
    border-color: #1e4280;
    background: #f0f3f6;
}

/* the ul.DropDown popups must clear the modals / sticky header */
body.v2.page-issues ul.DropDown {
    z-index: 1100;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
}

/* is_popup.js places the dropdown with Utils.findPosX/Y, which walks the
   offsetParent chain and stops at a position:fixed ancestor - so for a trigger
   inside one of the modals it hands back VIEWPORT coordinates with no scroll
   offset.  The modals therefore avoid transform (offsetLeft/Top must stay
   honest, hence inset:0 + margin:auto below), and while a modal is up - which
   is exactly when Utils.blockSite() has put display:block on #shadow_layer -
   the dropdown is switched to position:fixed so those coordinates are read in
   the frame they were measured in. */
body.v2.page-issues #shadow_layer[style*="display: block"] ~ .middle ul.DropDown {
    position: fixed;
}

/* ==========================================================================
   2. fast filter - form_fast.jsp
   ========================================================================== */
body.v2 .ff_fields {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
}

body.v2 .ff_field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 190px;
    min-width: 0;
}

body.v2 .ff_label {
    font-size: 14px;
    font-weight: 600;
    color: #5b6675;
}

body.v2 .ff_note {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #6b7686;
    min-height: 18px;
}

/* ==========================================================================
   3. alphabetical index filter - form_index.jsp
   ========================================================================== */
body.v2 .if_group + .if_group {
    margin-top: 16px;
}

body.v2 .if_title {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #5b6675;
}

body.v2 .if_letters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

body.v2 .if_letters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border: 1px solid #dfe7f0;
    border-radius: 6px;
    background: #fff;
    color: #1e4280;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

body.v2 .if_letters a:hover {
    background: #1e4280;
    border-color: #1e4280;
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   4. extended filter - form_extended.jsp
   The rows are 620px of JS-written markup (185 + 60 + 320 + 55): the list
   scrolls sideways on a phone instead of widening the document, and the
   header row repeats the same four widths so the columns line up.

   The three action links cannot become <button>s - Extended_Filter.enable()
   and .disable() read childNodes[0] (an <img> whose src is swapped between
   x.gif and x-disabled.gif) and childNodes[2] (a <font> recoloured inline).
   So the <a> keeps that exact <img> + text + <font> shape and gets the button
   LOOK from CSS: the gif is display:none, an SVG mask icon is painted in
   ::before, the inline <font> colour is neutralised with color:inherit, and
   the enabled/disabled state is read straight back off the swapped src with
   :has(img[src*="-disabled"]).  One source of truth, still the JS's.
   ========================================================================== */
body.v2 .ef_body {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

body.v2 .ef_scroll {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cdd6e2 transparent;
}

body.v2 .ef_scroll::-webkit-scrollbar { height: 8px; }
body.v2 .ef_scroll::-webkit-scrollbar-track { background: transparent; }
body.v2 .ef_scroll::-webkit-scrollbar-thumb { background: #cdd6e2; border-radius: 4px; }

body.v2 .ef_grid {
    min-width: 620px;
}

body.v2 .ef_head_row {
    display: flex;
    padding: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #7c8798;
}

body.v2 .ef_head_row > span {
    flex: 0 0 auto;
    box-sizing: border-box;
}

/* the JS-built rows are 185 / 60 / 320 / 55 px - the header must match */
body.v2 .ef_head_row .ef_c1 { width: 185px; }
body.v2 .ef_head_row .ef_c2 { width: 60px; text-align: center; }
body.v2 .ef_head_row .ef_c3 { width: 320px; text-align: right; }
body.v2 .ef_head_row .ef_c4 { width: 55px; }

body.v2 .ef_rows {
    border: 1px solid #dfe7f0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

/* line-height 13px is frozen: filters.js scrolls with scrollTop = pos * 13 */
body.v2 #ef_data_rows {
    font-size: 12px;
    line-height: 13px;
    color: #1f2733;
}

body.v2 #ef_data_rows img {
    vertical-align: -2px;
}

/* empty state - the JS version arrives with an inline colour of #DFE7F2,
   which is all but invisible on white, so it is overruled here */
body.v2 .ef_empty,
body.v2 #ef_data_rows > div[style*="line-height: 40px"] {
    line-height: 40px;
    text-align: center;
    font-size: 13px;
    color: #7c8798 !important;
}

/* while empty the whole box is the affordance: dashed, and clickable through
   the inline guard on .ef_rows in form_extended.jsp */
body.v2 .ef_rows:has(.ef_empty),
body.v2 .ef_rows:has(#ef_data_rows > div[style*="line-height: 40px"]) {
    border-style: dashed;
    border-color: #c6d3e3;
    background: #f4f8fd;
    cursor: pointer;
}

body.v2 .ef_rows:has(.ef_empty):hover,
body.v2 .ef_rows:has(#ef_data_rows > div[style*="line-height: 40px"]):hover {
    border-color: #1e4280;
    background: #eaf2fc;
}

/* ---- the two list scrollers (childNodes[0] is still the swapped gif) ---- */
body.v2 .ef_scrollers {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
}

body.v2 .ef_scrollbtn {
    position: relative;
    display: block;
    width: 26px;
    height: 19px;
    box-sizing: border-box;
    border: 1px solid #e7edf4;
    border-radius: 5px;
    background: #f4f6fa;
    color: #c2cbd8;
    cursor: default;
}

body.v2 .ef_scrollbtn img { display: none; }

body.v2 .ef_scrollbtn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 13px 13px;
    mask-size: 13px 13px;
}

body.v2 .ef_scroll_up::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E");
}

body.v2 .ef_scroll_down::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

body.v2 .ef_scrollbtn:not(:has(img[src*="-disabled"])) {
    border-color: #b9c9de;
    background: #fff;
    color: #1e4280;
    cursor: pointer;
}

body.v2 .ef_scrollbtn:not(:has(img[src*="-disabled"])):hover {
    background: #eef4fc;
    border-color: #1e4280;
}

/* ---- hint line: "press add new" / "showing X-Y of Z" ---- */
body.v2 #ef_hint {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: #7c8798;
}

/* ---- the three actions ---- */
body.v2 .ef_actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

body.v2 .ef_actions_main {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

body.v2 .ef_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    height: 38px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

body.v2 .ef_btn:hover,
body.v2 .ef_btn:focus {
    text-decoration: none;
}

/* the gif only carries state now; the <font> colour is set inline by the JS
   and has to be handed back to the button */
body.v2 .ef_btn img { display: none; }

body.v2 .ef_btn font {
    color: inherit !important;
    font-size: 14px;
    font-weight: 600 !important;
}

body.v2 #ef_button_add::before,
body.v2 #ef_button_filter::before,
body.v2 #ef_button_clear::before,
body.v2 #ewf_add_button::before {
    content: "";
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 16px 16px;
    mask-size: 16px 16px;
}

body.v2 #ef_button_add::before,
body.v2 #ewf_add_button::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

body.v2 #ef_button_filter::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3 4.6h18l-7.2 8.5v5.5l-3.6 2v-7.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3 4.6h18l-7.2 8.5v5.5l-3.6 2v-7.5z'/%3E%3C/svg%3E");
}

body.v2 #ef_button_clear::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M9.2 9.2l5.6 5.6M14.8 9.2l-5.6 5.6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M9.2 9.2l5.6 5.6M14.8 9.2l-5.6 5.6'/%3E%3C/svg%3E");
}

/* setMode(FEWM_EDIT) swaps the modal gif to filter-edit.gif */
body.v2 #ewf_add_button:has(img[src*="filter-edit"])::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4.2L19.2 9a2.1 2.1 0 0 0-3-3L5.2 17z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4.2L19.2 9a2.1 2.1 0 0 0-3-3L5.2 17z'/%3E%3C/svg%3E");
}

body.v2 .ef_btn_primary {
    background: #1e4280;
    border-color: #1e4280;
    color: #fff;
}

body.v2 .ef_btn_primary:hover {
    background: #163464;
    border-color: #163464;
    color: #fff;
}

body.v2 .ef_btn_add {
    background: #fff;
    border-color: #b9c9de;
    color: #1e4280;
}

body.v2 .ef_btn_add:hover {
    background: #eef4fc;
    border-color: #1e4280;
    color: #1e4280;
}

body.v2 .ef_btn_ghost {
    background: transparent;
    border-color: transparent;
    color: #5b6675;
}

body.v2 .ef_btn_ghost:hover {
    background: #eef2f7;
    color: #1e4280;
}

body.v2 .ef_btn_cancel {
    background: #fff;
    border-color: #cdd6e2;
    color: #1e4280;
}

/* disabled is whatever Extended_Filter.disable() wrote into the gif src */
body.v2 .ef_btn:has(img[src*="-disabled"]) {
    background: #eef2f7 !important;
    border-color: #e3e9f1 !important;
    color: #a3adbb !important;
    cursor: default;
}

/* ==========================================================================
   5. modals - #add_window (new/edit criterion) and #more_columns_window
   position:fixed so no overflow ancestor can clip them.  Only display is
   touched by the JS, so everything else is safe to own here.
   ========================================================================== */
body.v2 .issues_modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    width: 640px;
    max-width: calc(100vw - 24px);
    height: fit-content;
    max-height: calc(100vh - 40px);
    margin: auto;
    overflow: auto;
    padding: 18px 20px 20px;
    background: #fff;
    border: 1px solid #dfe7f0;
    border-radius: 10px;
    box-shadow: 0 18px 46px rgba(20, 32, 54, .28);
}

body.v2 .issues_modal_head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f7;
}

body.v2 .issues_modal_head > span {
    flex: 1 1 auto;
    min-width: 0;
    color: #1e4280;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 19px;
    line-height: 24px;
}

body.v2 .issues_modal_actions {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

body.v2 .issues_modal .ew_fields {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

body.v2 .issues_modal .ew_fields > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 180px;
    min-width: 0;
}

body.v2 .issues_modal .ew_fields > div.ew_field_wide { flex: 2 1 220px; }
body.v2 .issues_modal .ew_fields > div.ew_field_narrow { flex: 0 1 130px; }

body.v2 .issues_modal .ew_label {
    font-size: 13px;
    font-weight: 600;
    color: #5b6675;
}

body.v2 .issues_modal input#ef_value {
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #cdd6e2;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    color: #1f2733;
}

body.v2 .issues_modal_foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

body.v2 .issues_modal_foot a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* the modal footer buttons are .ef_btn as well, so they keep their own colour */
body.v2 .issues_modal_foot a:not(.ef_btn) {
    color: #1e4280;
}

/* buttons - .btn_action comes from markets.css, the ghost variant is local */
body.v2.page-issues a.btn_action {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

body.v2.page-issues .btn_ghost {
    background: #fff;
    border: 1px solid #cdd6e2;
    color: #1e4280;
}

body.v2.page-issues .btn_ghost:hover {
    background: #f0f3f6;
}

/* the column picker inside #more_columns_window: one clickable header per
   column, each a legacy is_popup trigger (<th id="e_data_column_N">) */
body.v2 table.columns_grid {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

body.v2 table.columns_grid th {
    padding: 8px 6px;
    border-bottom: 2px solid #739fcc;
    text-align: center;
    vertical-align: top;
    font-size: 13px;
    font-weight: 600;
    color: #5b6675;
    white-space: normal;
}

body.v2 table.columns_grid th b {
    display: block;
    padding: 6px 8px;
    border: 1px solid #dfe7f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #1e4280;
    cursor: pointer;
}

body.v2 table.columns_grid th b:hover {
    background: #eef4fc;
    border-color: #b9c9de;
}

/* ==========================================================================
   6. toolbar above the table (column picker trigger)
   ========================================================================== */
body.v2 .issues_tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px;
}

body.v2 .issues_tools a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1e4280;
    text-decoration: none;
}

body.v2 .issues_tools a:hover {
    text-decoration: underline;
}

body.v2 .issues_tools svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

/* ==========================================================================
   7. the data table
   The tag never emits .first/.last on the leading cells, so the two textual
   columns (ticker, company name) are addressed positionally.  Scoped to this
   page so the shared fragment keeps behaving on /control/issues/bonds.
   ========================================================================== */
body.v2.page-issues .market_card table.qt th,
body.v2.page-issues .market_card table.qt td {
    vertical-align: middle;
}

body.v2.page-issues .market_card table.qt th {
    padding-bottom: 8px;
    text-align: center;
    white-space: normal;
}

body.v2.page-issues .market_card table.qt th:first-child,
body.v2.page-issues .market_card table.qt th:nth-child(2),
body.v2.page-issues .market_card table.qt td:first-child,
body.v2.page-issues .market_card table.qt td:nth-child(2) {
    text-align: left;
}

body.v2.page-issues .market_card table.qt td:first-child {
    white-space: nowrap;
    font-weight: 600;
}

body.v2.page-issues .market_card table.qt td:nth-child(2) {
    white-space: normal;
    /* was 150px: with eight columns beside the sidebar the grid scrolled */
    min-width: 110px;
}

body.v2.page-issues .market_card table.qt th b {
    color: #5b6675;
}

body.v2.page-issues .market_card table.qt th b:hover {
    color: #1e4280;
}

/* the delta cell wraps its value in span.fright; float would drop it out of
   the row box now that the cell is a normal right aligned table cell */
body.v2.page-issues .market_card table.qt td .fright {
    float: none;
    display: inline;
}

body.v2.page-issues .market_card table.qt td .change_no {
    color: #6b7686;
}

body.v2.page-issues .market_card table.qt td img {
    vertical-align: -1px;
}

/* ==========================================================================
   8. average-value sidebar box (issues_average.jsp)
   ========================================================================== */
body.v2 #issues_average_data table.qt th {
    text-align: left;
    white-space: normal;
    line-height: 1.35;
    padding-bottom: 8px;
}

body.v2 #issues_average_data table.qt td.first {
    font-weight: 600;
}

/* ==========================================================================
   9. responsive
   ========================================================================== */
@media (max-width: 860px) {
    body.v2 .filter_panel {
        padding: 14px;
        border-radius: 8px;
    }
    body.v2 .filter_tabs {
        margin-bottom: 8px;
    }
    body.v2 .filter_tabs > a {
        border-radius: 6px;
        border-bottom-color: #e7edf4;
    }
    body.v2 .filter_tabs > a.active {
        background: #1e4280;
        border-color: #1e4280;
        color: #fff;
    }
}

@media (max-width: 560px) {
    body.v2 .ff_field {
        flex: 1 1 100%;
    }
    body.v2 .ef_actions {
        gap: 8px;
    }
    body.v2 .ef_btn_add {
        flex: 1 1 100%;
    }
    body.v2 .ef_actions_main {
        flex: 1 1 100%;
        margin-left: 0;
    }
    body.v2 .ef_actions_main .ef_btn {
        flex: 1 1 0;
        padding: 0 10px;
    }
    body.v2 .issues_modal .ew_fields > div,
    body.v2 .issues_modal .ew_fields > div.ew_field_wide,
    body.v2 .issues_modal .ew_fields > div.ew_field_narrow {
        flex: 1 1 100%;
    }
    body.v2 .issues_modal_foot .ef_btn {
        flex: 1 1 0;
    }
    body.v2 .issues_modal {
        padding: 14px 14px 16px;
    }
    body.v2 .issues_modal_head > span {
        font-size: 17px;
    }
}
