
html,
body {
  width:100%;
  margin:0;
  padding:0
}

body {
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  font-family: "Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
}

a {
  text-decoration:none
}

#pgtopbar {
    height: 24px;
    border-bottom: 1px solid black;
    padding-left: 14px;
}

#pgtopbar :nth-child(2) {
    float: right;
}

#pgtopbar :nth-child(2) > * {
    margin-left: 3px;
}

#pgtopbar .bcrumb {
    float: left;
}
#pgtopbar .bcrumb:not(:first-child)::before {
    content: "› ";
    margin-left: 6px;
}
/*#pgtopbar .bcrumb:last-child:after {
    content: "˅";
}*/
#pgtopbar .rightside_stack {
    float: right;
    margin-right: 14px;
}

#pgtopbar .rightside_stack > * {
    display: inline;
}
body.pgm #pgtopbar {
    height: 36px;
    font-size: 140%;
}

#pgtopbar {
    transition-property: height, font-size;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}
#pgtopbar > * {
    transition-property: opacity;
    transition-duration: 50ms;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* 'undetermined auth mode' for top page */
body.uam #pgtopbar > * {
    opacity: 0;
}
body.uam #lfsbody > * {
    display: none;
}

/* don't display 'public guide' elements in top page by default */
#lfsbody > .pg {
    display: none;
}
/* 'public guide mode' for top page */
body.pgm #lfsbody > * {
    display: none;
}
body.pgm #lfsbody > .pg {
    display: revert;
}

#twocol_container {
    display: flex;
    flex-direction: row;
    width: 100%;
    /*height: 100%*/
    min-height: 100%;
    transition: min-height 200ms ease-out;
    /*overflow: clip*/
    align-items: stretch;
    /*color: rgb(255, 255, 255);
    padding-right: env(safe-area-inset-right, 0px);
    padding-left: env(safe-area-inset-left, 0px);*/
}

#lsidebar {
    width: 244px;
}

#bmcol {
    width: auto;
}

#lsidebar > nav {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 100%;
    max-width: min(-40px + 100vw, 330px);
    transition: opacity 0.05s ease-in-out;
}
#lsidebar > nav > div {
    padding: 0px 14px;
    /*flex-grow: 1;
    overflow-y: auto;*/
    scrollbar-gutter: stable;
    margin-bottom: 6px;
    margin-top: 4.5px;
}
#lsidebar > nav > div > div > div {
    margin-left: 14px;
}

#lsidebar > nav button#add_new_ws_btn {
    float: right;
    margin-right: 14px;
}

#lsidebar > nav button, 
#lsidebar > nav .menu_hdr {
    font-style: normal;
    text-align: left;
    white-space: nowrap;
    font-weight: bold;
}
#lsidebar > nav button {
    border: none;
    background-color: inherit;
    margin: 0;
    font-size: 100%;
    padding: 0;
}
#lsidebar > nav #recent_ws_ql {
    list-style: none;
    padding: 0 28px;
    margin: 0;
}
#lsidebar > nav #recent_ws_ql:not(:has(li)):before {
    content: "(none)";
    font-style: italic;
}

#feature_headline { 
    display: inline-block;
    margin: 80px 120px 12px 120px;
    font-size: 64px;
    letter-spacing: -1.4px;
    font-weight: 800;
    line-height: 68px;
}
#feature_headline span:first-child {
    font-weight: normal;
}

#tsgraphs {
    width: 100%;
    z-index: 1;
    background-color: #ffffff;
}

#tsgraphs_ui {
    z-index: 2;
    background-color: transparent;
    cursor: crosshair;
}

table#wslist span.lp_fc {
    color: green;
}

table#filelist > tbody > tr > td:nth-child(2) {
    max-width: 480px;
}

table#filelist > tbody > tr > td:nth-child(3) {
    min-width: 2.8em;
    text-align: right;
}

table#filelist > tbody > tr > td:nth-child(4) {
    min-width: 6.5em;
    text-align: right;
}

table#filelist > tbody > tr.lp_file td:nth-child(2),
table#filelist > tbody > tr.lp_file td:nth-child(3),
table#filelist > tbody > tr.lp_file td:nth-child(4) {
    color: green;
}

table#filelist > tbody > tr button.dlf_btn, 
table#filelist > tbody > tr button.ulf_btn,
table#filelist > tbody > tr button.mv_btn {
    float: right;
    color: inherit;
    border: 0.5px solid rgb(214, 214, 214);
    border-radius: 3px;
    padding: 0 1px;
    margin: 0 1px;
    opacity: 0.2;
    transition: opacity 200ms;
}
table#filelist > tbody > tr:hover button.dlf_btn, 
table#filelist > tbody > tr:hover button.ulf_btn,
table#filelist > tbody > tr:hover button.mv_btn {
    opacity: 1;
}
table#filelist > tbody > tr button.ulf_btn {
    font-style: italic;
}

table#filelist > tbody > tr button.dlf_btn:hover, 
table#filelist > tbody > tr button.ulf_btn:hover, 
table#filelist > tbody > tr button.mv_btn:hover {
    background-color: rgb(212, 212, 212);
}

table#filelist > tbody > tr .dct_icon {
    border: 0.5px solid #666;
    border-radius: 2px;
    padding: 0 2px;
    background-color: #ddd;
    color: #222;
    font-size: 85%;
}

span.custom_button {
    cursor: pointer;
    text-decoration: underline;
}
span.custom_button:hover {
    background-color: yellow;
}

div#ts_file_selector {
    position: absolute;
    left: 10px;
    top: 42px;
    background-color: #ffffff;
    box-shadow: 5px 5px 10px #a0a0a0;
    border-top: 1px solid #a0a0a0;
    border-left: 1px solid #a0a0a0;
    padding-left: 6px;
    padding-bottom: 3px;
    min-width: 240px;
    z-index: 4; /* above the mtt-control-topbar elements and the canvas covering the gpane column */
}
div#ts_file_selector.minimized {
    position: absolute;
    left: 10px;
    top: 42px;
    box-shadow: 5px 5px 10px #a0a0a0;
    border-top: 1px solid #a0a0a0;
    border-left: 1px solid #a0a0a0;
    padding-left: 6px;
    padding-bottom: 3px;
    min-width: unset;
    width: 100px;
}
div#ts_file_selector.minimized * {
    display: none;
}
div#ts_file_selector .preview {
    display: none;
}
div#ts_file_selector.minimized .preview,
div#ts_file_selector.minimized .preview  * {
    display: initial;
}

div#ts_file_selector table#filelist > tbody > tr.na_file {
    opacity: 0.5;
}
div#ts_file_selector button.reextract_btn {
    color: inherit;
    border: 0.5px solid rgb(214, 214, 214);
    border-radius: 3px;
    padding: 0px;
    margin: 0;
}

#filelist_devlinks {
    opacity: 0.5;
    font-size: small;
}

#filelist_devlinks:hover {
    opacity: 1.0;
}

#ws_share_dlg {
    min-width: 400px;
}

#ws_share_dlg input[type=email]:valid {
    color: #101010;
}
#ws_share_dlg input[type=email]:valid {
    color: rgb(0, 43, 0);
}
#ws_share_dlg::backdrop {
    backdrop-filter: blur(1px);
}
#ws_share_dlg .error_msg {
    color: red;
}

.buttons_autoflex_bar {
    display: flex;
    resize: horizontal;
}
.buttons_autoflex_bar > button {
    flex: 1;
    width: 100px;
}


/* Tooltip styles */
.tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 8px;
    border-radius: 4px;
    /*font-size: 12px;*/
    max-width: 180px;
    /*white-space: pre;*/ /* Preserves newlines but allows overflow */
    /*overflow: visible;*/ /* Allow content to overflow */
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.tooltip.show {
    opacity: 1;
}

/* Tooltip arrow */
.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}