﻿:root {
    --brlFontFamily: "Open Sans", Helvetica, Arial, sans-serif;
    --brlFontMonoSpaced: "Lucida Console", Monaco, "Courier New", monospace;
    --headingSize: 18px;
    --subheadingSize: 16px;
    --subsubheadingSize: 14px;
    --panelPadding: 5px;
    --panelBackground: White;
    --panelMinorWidth: 25%;
    --panelMinHeight: 50px;
    --panelBorderRadius: 5px;
    --panelBorderColour: MidGrey;
    --panelBorderThickness: 1px;
    --PanelMarginTop: 1px;
    --PanelMarginBottom: 5px;
    --pageHeadingSize: 24px;
    --panelHeadingSize: 18px;
    --panelHeadingWeight: normal;
    --panelHeadingColour: DarkGreen;
    --panelSubHeadingSize: 12px;
    --panelSubHeadingWeight: bold;
    --panelSubHeadingColour: DarkBlue;
    --pageBackground: #EFE; /*  AntiqueWhite;*/
    --sidebarHeadingBackground: papayawhip; /*  AntiqueWhite;*/
    --menuBackground: DarkGrey;
    --menuForeground: White;
    --lowerMargin: 8px;
    --editorialSize: 10pt;
    --showURL: "~/css/images/pwShow.png";
    --hideURL: "~/css/images/pwHide.png";
    --pwIconHeight: 18px;
    --sideBarMinWidth: 380px;
    --dataGridFontColour: DarkGreen;
    --dataGridFontFamily: "Open Sans", Helvetica, Arial, sans-serif;
    --dataGridFontSize: 11px;
    --dataGridCellPaddingX: 3px;
    --dataGridCellPaddingY: 4px;
}

.Centred {
    text-align: center !important;
    float: right;
}

div > span.BRLstep {
    font-size: 11px;
}

div > span.BRLgrid {
    font-size: 11px;
    color: blueviolet;
}

div > span.BRLgridHead {
    padding: 4px;
    font-size: 18px !important;
    font-weight: 600;
    color: darkgreen;
    margin-bottom: 4px;
}

.BRLinline {
    display: inline-block;
}

#shipSIDEBAR {
    height: 100%;
}

.rowHidden {
    display: none !important;
}

.BRLpopupPanel {
    border: solid 1px #888;
    padding: 10px 14px 8px 14px;
    margin-bottom: 10px;
    border-radius: 7px;
    background-color: white !important;
    min-width: var(--sideBarMinWidth) !important;
}

div#sideBarContent, .BRLdrawerContent {
    overflow-x: auto; /* Enables horizontal scrolling */
    overflow-y: hidden; /* Optional: hides vertical scroll if not needed */
    white-space: nowrap; /* Prevents wrapping of grid content */
    max-width: 100%; /* Ensures container respects parent layout */
}

.BRLsidebarHeading {
    position: relative;
    top: 0px;
    left: 0px;
    padding: 4px;
    text-align: center;
    background-color: #EEE;
    width: 100%;
    border-radius: 7px;
    border: solid 1px #888;
    font-size: 14px;
    font-weight: 600;
    color: darkgreen;
    margin-bottom: 7px;
}

.BRLsidebarSubHeading {
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    padding: 3px;
    color: darkblue;
    border-top: solid 1px #CCF;
    margin-top: 5px;
}
/*
.BRLtoolText {
    font-size: 13px;
    font-style: italic;
    color: #888;
    display: inline-block;
}*/

.pwShow, .pwHide {
    position: absolute;
    display: inline-block;
    font-size: 8pt;
    font-style: italic;
    left: 445px;
    border: solid 1px #666;
    padding: 4px 7px;
    border-radius: 3px;
    height: 27px;
}

.pwShow {
    background-image: var(--showURL);
    background-repeat: no-repeat;
    background-size: var(--pwIconHeight);
}

.pwHide {
    background-image: var(--hideURL);
    background-repeat: no-repeat;
    background-size: var(--pwIconHeight);
}

.BRLbody {
    font-family: var(--brlFontFamily) !important;
    padding-top: 0;
}

.BRLloginButton {
    margin-top: 38px;
    width: 100px !important;
}

.pageHeader {
    font-size: var(--pageHeadingSize);
    margin-bottom: var(--lowerMargin);
}

.BRLemphasis {
    font-weight: bold;
    color: var(--panelHeadingColour);
}

#panelHeading, #brlHeading {
    font-size: var(--panelHeadingSize);
    font-weight: var(--panelHeadingWeight);
    color: var(--panelHeadingColour);
}

#panelControl {
    font-size: var(--panelHeadingSize);
    font-weight: var(--panelHeadingWeight);
    color: var(--panelHeadingColour);
}

.panelSubHeading {
    font-size: var(--panelSubHeadingSize);
    font-weight: var(--panelSubHeadingWeight);
    color: var(--panelSubHeadingColour);
}

.dataPanel, .subPanel {
    border: solid var(--panelBorderThickness) var(--panelBorderColour);
    min-height: var(--panelMinHeight);
    background-color: var(--panelBackground);
    border-radius: var(--panelBorderRadius);
    padding: var(--panelPadding) !important;
    margin-top: var(--PanelMarginTop);
    margin-bottom: var(--PanelMarginBottom);
}

.inlinePanel {
    display: inline-flex;
    margin-left: 45px;
}

.subPanel {
    width: 100%;
}

.drawerPanel {
    border: solid 1pt #888;
    padding: 4px;
    background-color: #FAFFFA;
}

.pageArea {
    background-color: var(--pageBackground);
}

/*.menuArea {
    color: var(--menuForeground);
    background-color: var(--menuBackground);
}*/

#panelControl {
    font-weight: normal;
}

.isHidden {
    display: none !important;
}

#panelPrint {
    margin: 5px 10px 3px 5px;
    height: 25px !important;
    padding-top: 1px;
}

.noteContainer {
    border-top: solid #CCC 1px !important;
}

.notes {
    color: mediumpurple !important;
    overflow-wrap: normal;
    vertical-align: top;
    background-color: yellow !important;
    width: 100%;
}

/*#ShipNotesGrid > div > div.dx-datagrid-rowsview.dx-datagrid-nowrap > div > table > tbody > tr.dx-row.dx-data-row.dx-column-lines {*/
/*#ShipNotesList > div.dx-scrollable-wrapper > div > div.dx-scrollable-content > div.dx-scrollview-content > div,
#ShipNotesList > div.dx-scrollable-wrapper > div > div.dx-scrollable-content > div.dx-scrollview-content > div > div {
*/ /*overflow: visible !important;
    text-overflow: initial !important;
    white-space: pre-wrap !important;
}*/

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

/*#BRLpopup, .dx-popup-wrapper, .dx-popup-content, .BRLdialog {
    height: auto !important;
}*/

.BRLodd {
    background-color: #F8FFF8;
}

.BRLeven {
    background-color: white;
}

#BRLpopup, .BRLdialog {
    height: auto !important;
}

.popupHeading {
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
    color: steelblue;
}

.dnzRow {
    display: flex;
    padding: 3px;
}

.dnzRowSmall {
    display: flex;
    padding: 0 3px;
}

.flagFrame {
    width: 42px;
    height: 28px;
    overflow: clip;
    border: solid 1px #888;
    vertical-align: middle !important;
    text-align: center !important;
    padding: 1px;
}

.flagRow {
    vertical-align: middle !important;
}

.flagLab {
    font-size: 10px;
    min-width: 12% !important;
    padding: 0 4px 0 0;
    font-style: italic;
}

.flaggy {
    color: DarkBlue;
    font-weight: 700;
    font-size: 10px;
    min-width: 25%;
    padding: 0 30px 0 0;
}

.popupLabel {
    font-style: italic;
    text-align: right;
    padding-right: 10px;
    width: 85px;
    flex: 2;
}

.popupField {
    color: darkblue;
    width: 100%;
    flex: 7;
}

.countLabel {
    font-style: italic;
    text-align: right;
    padding-right: 10px;
    width: 135px;
    line-height: 1.0;
    padding: 0 7px 0 0;
}

.countField {
    color: darkblue;
    width: 100%;
    flex: 7;
    line-height: 1.0;
    padding: 0 0 0 0;
}

.shipUPDATES {
    font-size: 10px;
}

.updateResult {
    font-size: 10px;
}

.updField {
    font-weight: 600;
}

.updFrom {
    color: darkred;
}

.updTo {
    color: darkblue;
}

.popupOdd {
    background-color: #F0F0F0 !important;
}

.popupEven {
    background-color: white !important;
}

.smallBRL {
    font-size: 12px;
    font-style: italic;
    color: grey;
}

.BRLlogin {
    position: absolute;
    width: 195px;
    left: 235px !important;
}

.BRLheading {
    font-size: var(--headingSize);
    width: 100%;
    border-bottom: 1px #AAA solid;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.BRLpageHeading {
    color: #070;
    font-size: var(--headingSize);
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.BRLsubheading {
    font-size: var(--subheadingSize);
    padding-bottom: 11px;
}

.BRLsubsubheading {
    font-size: var(--subsubheadingSize);
}

.BRLdialog {
    /*  padding-top: 25px !important; */
    max-height: 1024px !important;
    overflow-y: auto;
}

.BRLgroup {
    margin-bottom: var(--lowerMargin);
}

.BRLlabel, .aboutLabel, .aboutInfo, .BRLinput {
    font-size: 13px;
}

.BRLlabel, .aboutLabel {
    font-style: italic;
}

.BRLvalue {
    font-weight: 500;
    font-size: 14px;
}

.BRLtable {
    margin-bottom: 15px;
    width: 100%;
}

    .BRLtable > tr, td {
        padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 3px;
        padding-right: 3px;
    }

.BRLrequired {
    color: palevioletred;
}

.aboutInfo {
    color: #666;
}

.BRLinput {
    height: 27px;
    padding: .375rem .75rem;
    max-width: 250px;
    color: blueviolet !important;
    background-image: none !important;
    background: : yellow !important;
    border-color: darkgreen;
    border-width: 1px;
    font-weight: 400;
    line-height: 1.45;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.BRLcardDisplay {
    width: 215px !important;
    height: 39px;
    padding: 0px 12px 0px 2px;
    display: inline-block;
    font-size: 24px;
    vertical-align: middle;
}

.BRLinlineControls {
    height: 33px;
    width: auto;
    display: inline-block;
}

.brlDD {
    font-size: 12px !important;
    line-height: 1.0 !important;
}

.brlCOU {
    font-size: 14px !important;
    font-weight: bold;
    vertical-align: middle;
}

.BRLpanel {
    padding: 12px;
}

.BRLhidden {
    display: none !important;
}

.BRLeditorial {
    font-size: var(--editorialSize);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #666;
}

.strapline {
    color: #600;
}

.aboutLabel {
    display: inline-block;
    width: 140px !important;
}

.aboutInfo {
    font-weight: bold;
    display: inline-block;
}

.dashBack {
    background-color: var(--pageBackground);
    width: 100%;
    min-height: 1024px !important;
    height: 100%;
}

#BRL_flashboard, #BRL_dashboard {
    min-height: 1280px;
    height: 1600px !important;
}

.passReset {
    padding-top: 90px;
    margin-left: 225px;
}

.BRLbutton {
    width: auto;
    margin-left: 12px;
    padding-top: 3px;
}

.noEntry {
    background-color: black;
    padding-top: 35px;
    margin-top: 36px;
    border-top: solid 1px #999;
    height: 1024px;
}

.disabled {
    background-color: grey !important;
    cursor: none !important;
    border: none;
}

.helpButtonRow {
    margin-bottom: var(--lowerMargin);
}

.helpImg01 {
    margin-bottom: var(--lowerMargin);
    width: 365px;
}

.smallVS {
    font-size: 13px;
}

/*#InterestAccessGrid > div >
div.dx-datagrid-rowsview.dx-datagrid-nowrap.dx-scrollable.dx-visibility-change-handler.dx-scrollable-both.dx-scrollable-simulated > div > div > div.dx-scrollable-content > div > table > tbody > tr > td {
    padding: 4px !important;
    font-size: 12px;
}*/

#fld-TreeList.dx-widget {
    font-size: 11px;
}

    #fld-TreeList.dx-widget.dx-treelist tbody tr.dx-row td {
        padding: 2px;
    }

#BRLtoolbar > div > div.dx-toolbar-before > div > div {
    border: solid 1px var(--dataGridFontColour);
    border-radius: 3px;
    margin-right: 8px;
    margin-left: 8px;
    padding: 3px;
    font-size: 13px;
    font-style: italic;
    color: var(--dataGridFontColour);
    background-color: var(--pageBackground);
    display: flex;
}

#toggleButton > div, #printButton > div, #imageButton > div {
    padding: 4px !important;
}

.gridhead {
    margin-left: 45px;
}
