body {
    background-color: #fff;
    color: #000;
    font-family: Roboto, sans-serif;
    /*overflow: hidden;*/
    /*line-height: 15px !important;*/
}
div {
    display: block;
    text-align: center;
    /*margin: 10% 20% auto 20%;*/
    margin: auto;
    /*padding: 2%;*/
    border: #000 2px solid;
    background-color: #eee;
}
ul {
    text-align: left;
}
li {
    list-style-type: none;
}
.boxes {
    height: 700px;
    scroll-behavior: auto;
    overflow: auto;
    width: auto;
}
input {
    padding: 1%;
    font-size: 20px;
}

.loginDisclaimer{
    text-align: center;
}

.loginPage{
    font-size: 40px;
    line-height: 80%;
    text-align: center;
}

#loginButtonBox{
    padding-top: 5%;
    font-size: x-large;
    align-content: center;
    text-align: center;
}
.loginButton{
    padding: 10px;
    font-size: x-large;
}
#errorMessage{
    position: absolute;
    top:50%;
    left:40%;
    color: coral;
}
.error {
    position: absolute;
    top:30%;
    left:40%;
    color: coral;
}
.success {
    position: absolute;
    top:50%;
    left:40%;
    color: lightseagreen;
}
.folderName {
    float: right;
    padding-right: 105px;
    padding-top: 14px;
}
.preview{
    width: 400px;
    height: 100%;
}
nav {
    border: black solid 1px;
}
a {
    text-decoration: none;
    color: black;
}
table {
    width: 100%;

}
.selected {
    background-color: lightgrey;
}
.iframeS{
    border: none;
    height: 100%;
    width: 60%;
    background-color: #eee;
    float: left;

}
.sideIframe {
    border: none;
    height: 100%;
    width: 100%;
    background-color: #eee;
    float: left;
}
#breadcrumbs{
    position: fixed;
    border: 0;
    top: 0;
}
.boxBg{
    background-color: #eee;
    padding-top: 10px;
}
.boxBgFolder{
    background-color: #eee;
    padding-top: 10px;
    font-size: small;
}
.centerTitle{
    text-align: center;
}
.menu{
    display: flex;
}
.menu li {
    padding-right: 2%;
}
.commingSoon {
    color: lightgrey;
}
.hiddenForm{
    display: none;
}
.drag-over {
    border: 3px dotted #666;
}

#drop-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    font-family: sans-serif;
    /*margin: 100px auto;*/
    /*padding: 20px;*/
    /*display: none;*/
    float: right;
    width: 30%;
    height: 100%;
}

#drop-area.highlight {
    border-color: blue;
}
p {
    margin-top: 0;
}
.my-form {
    margin-bottom: 10px;
}
#gallery {
    margin-top: 10px;
    background-color: #eee;
    border: 0;
    box-shadow: none;
}
#gallery img {
    width: 150px;
    margin-bottom: 10px;
    margin-right: 10px;
    vertical-align: middle;
}
.button {
    display: inline-block;
    padding: 10px;
    background: #ccc;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.button:hover {
    background: #ddd;
}
#fileElem {
    display: none;
}

.gray {
    background-color: #eee;
}

.folder.highlight {
    border: 2px blue dashed;
}
.hideButtonStyles {
    border: none;
    background-color: #eee;
    font-size: x-large;
}
.hideButtonStylesFolder {
    border: none;
    background-color: #eee;
}
.images{
    width: 50px;
    height: 60px;
    object-fit: cover;
    object-position: 25% 25%;
}
.imagesFolder{
    width: 18px;
    height: 25px;
    object-fit: cover;
    object-position: 80% 80%;
}
.noPaddingMargin {
    padding: 0;
    margin: 0;
}

#ctxmenu {
    position: fixed;
    background: ghostwhite;
    color: black;
    cursor: pointer;
    border: 1px black solid;
    text-align: left;
}

#ctxmenu > p {
    padding: 0 1rem;
    margin: 0
}

#ctxmenu > p:hover {
    background: black;
    color: ghostwhite
}
.plusMinus{
    font-size: x-large;
}
.subDIR{
    display: none;
}
/* ====== MENU for .wrap > nav > ul.primary / ul.sub (no HTML changes) ====== */
.wrap{margin:12px 16px 0; position:relative}
.wrap .decor{display:block; height:6px; border-radius:999px;
    background:linear-gradient(90deg,#ffd44d,#ff8a3d,#2b78df); opacity:.25; margin-bottom:10px}

/* Nav container */
.wrap > nav{
    position:sticky; top:0; z-index:45;
    background:linear-gradient(180deg, var(--card,#fff), #fbfdff);
    border:1px solid rgba(31,86,166,.12);
    border-radius:14px; box-shadow:0 10px 25px rgba(20,58,115,.15), 0 2px 8px rgba(20,58,115,.08);
    padding:6px 10px;
}

/* Top-level list */
.wrap ul.primary{
    display:flex; align-items:center; gap:8px;
    list-style:none; margin:0; padding:0;
}
.wrap ul.primary > li{ position:relative; list-style:none }

/* Top-level links */
.wrap ul.primary > li > a{
    display:inline-flex; align-items:center; gap:8px;
    padding:10px 14px; border-radius:12px; font-weight:600; font-size:.95rem;
    color:var(--blue-900,#143a73); border:1px solid transparent; background:transparent;
    transition:background .15s, border-color .15s, color .15s;
}
.wrap ul.primary > li:hover > a,
.wrap ul.primary > li:focus-within > a{
    background:#f4f8ff; border-color:rgba(43,120,223,.25); color:var(--blue-900,#143a73);
}

/* Caret (only for items with submenu when :has() is available; harmless fallback otherwise) */
.wrap ul.primary > li:has(> ul.sub) > a::after{ content:"▾"; margin-left:6px; opacity:.8; font-size:.9rem }

/* Submenus (hidden by default) */
.wrap ul.primary > li > ul.sub{
    display:none; position:absolute; left:0; top:calc(100% + 8px); min-width:240px;
    background:#fff; border:1px solid rgba(31,86,166,.15); border-radius:12px;
    box-shadow:0 10px 25px rgba(20,58,115,.15), 0 2px 8px rgba(20,58,115,.08);
    padding:6px; margin:0; list-style:none; z-index:50;
}

/* Show submenu on hover and keyboard focus */
.wrap ul.primary > li:hover > ul.sub,
.wrap ul.primary > li:focus-within > ul.sub{ display:block }

/* Submenu items */
.wrap ul.primary > li > ul.sub > li{ list-style:none }
.wrap ul.primary > li > ul.sub > li > a{
    display:block; padding:8px 10px; border-radius:10px; color:var(--ink,#0f2b4a);
    white-space:nowrap; transition:background .15s, color .15s;
}
.wrap ul.primary > li > ul.sub > li > a:hover{ background:#f4f8ff; color:var(--blue-900,#143a73) }

/* Third-level flyouts (not used, but supported) */
.wrap ul.primary > li > ul.sub ul.sub{ left:100%; top:-6px }

/* Mobile: stack; keep hover open for desktops. Optional .open class supported. */
@media (max-width:900px){
    .wrap > nav{ position:static }
    .wrap ul.primary{ flex-direction:column; align-items:stretch }
    .wrap ul.primary > li > ul.sub{ position:static; box-shadow:none; border:0; padding:6px 0 8px 12px }
    /* If you toggle li.classList.toggle('open') in JS, this will expand on tap */
    .wrap ul.primary > li:not(.open) > ul.sub{ display:none }
    .wrap ul.primary > li.open > ul.sub{ display:block }
}
/* --- Dropdown gap fix for .wrap > nav > ul.primary / ul.sub --- */
.wrap > nav{ overflow:visible }                 /* let submenus spill outside */
.wrap ul.primary > li{ position:relative }
.wrap ul.primary > li > a{ display:inline-block } /* reliable hover target */

/* hide by default and place directly under the parent (no gap) */
.wrap ul.primary > li > ul.sub{
    display:none;
    position:absolute;
    left:0;
    top:100%;                /* was calc(100% + 8px) -> removes the gap */
    margin:0;
    padding:8px 6px 6px;     /* visual spacing without creating a hover gap */
    min-width:240px;
    background:#fff;
    border:1px solid rgba(31,86,166,.15);
    border-radius:12px;
    box-shadow:0 10px 25px rgba(20,58,115,.15), 0 2px 8px rgba(20,58,115,.08);
    z-index:999;
}

/* invisible hover bridge above submenu (covers the 8px padding) */
.wrap ul.primary > li > ul.sub::before{
    content:"";
    position:absolute;
    left:0; right:0;
    top:-8px; height:8px;    /* keeps :hover alive while moving down */
}

/* show submenu on hover/keyboard focus */
.wrap ul.primary > li:hover > ul.sub,
.wrap ul.primary > li:focus-within > ul.sub{
    display:block;
}

/* submenu items */
.wrap ul.primary > li > ul.sub > li{ list-style:none }
.wrap ul.primary > li > ul.sub > li > a{
    display:block;
    padding:8px 10px;
    border-radius:10px;
    color:#0f2b4a;
    white-space:nowrap;
}
.wrap ul.primary > li > ul.sub > li > a:hover{
    background:#f4f8ff; color:#143a73;
}

/* mobile: keep click-to-open option if you toggle .open on <li> via JS */
@media (max-width:900px){
    .wrap > nav{ position:static }
    .wrap ul.primary{ flex-direction:column; align-items:stretch }
    .wrap ul.primary > li > ul.sub{ position:static; box-shadow:none; border:0; padding:6px 0 8px 12px }
    .wrap ul.primary > li:not(.open) > ul.sub{ display:none }
    .wrap ul.primary > li.open > ul.sub{ display:block }
}
/* ================= FIX PACK (put at END of file) ================= */

/* 1) Remove the global grey box/border from every div */
div{
    border:0 !important;
    background:transparent !important;
    margin:0 !important;
    text-align:initial !important;
}

/* 2) Restore intended styling only where you actually want boxes */
.boxes,
.boxBg,
.boxBgFolder,
#gallery,
#drop-area,
.gray{
    background:#eee !important;
    border:1px solid #e2e8f0 !important;
    border-radius:12px;
}

/* 3) Your menu wrapper should never inherit borders/bg */
.wrap{ border:0 !important; background:transparent !important }

/* 4) Don’t force links to black everywhere (lets the menu colors show) */
a{ color:inherit !important; text-decoration:none }
a:hover{ text-decoration:none }

/* 5) Remove the black border from all <nav>; the themed nav styles handle it */
nav{ border:0 !important }

/* 6) Optional: tidy page headings/containers that were centered by the global rule */
h1,h2,h3,h4,p{ text-align:center }
table{ width:100% }

/* 7) Keep the submenu from disappearing while moving the mouse */
.wrap > nav{ overflow:visible }
.wrap ul.primary > li{ position:relative }
.wrap ul.primary > li > a{ display:inline-block }

/* Place submenu directly under the parent (no hover gap) */
.wrap ul.primary > li > ul.sub{
    display:none; position:absolute; left:0; top:100%;
    margin:0; padding:8px 6px 6px; min-width:240px;
    background:#fff; border:1px solid rgba(31,86,166,.15); border-radius:12px;
    box-shadow:0 10px 25px rgba(20,58,115,.15), 0 2px 8px rgba(20,58,115,.08);
    z-index:999;
}
.wrap ul.primary > li > ul.sub::before{
    content:""; position:absolute; left:0; right:0; top:-8px; height:8px;
}
.wrap ul.primary > li:hover > ul.sub,
.wrap ul.primary > li:focus-within > ul.sub{ display:block }

/* 8) Mobile: allow click-to-open via .open class (if you ever add small JS) */
@media (max-width:900px){
    .wrap > nav{ position:static }
    .wrap ul.primary{ flex-direction:column; align-items:stretch }
    .wrap ul.primary > li > ul.sub{ position:static; box-shadow:none; border:0; padding:6px 0 8px 12px }
    .wrap ul.primary > li:not(.open) > ul.sub{ display:none }
    .wrap ul.primary > li.open > ul.sub{ display:block }
}
/* ========= FINAL OVERRIDES (put at END of file) ========= */

/* kill the thin gradient bar above the menu */
.wrap .decor{ display:none !important; }

/* stop the global black/grey boxes */
div{ border:0 !important; background:transparent !important; margin:0 !important; text-align:initial !important; }
nav{ border:0 !important; }
a{ color:inherit !important; text-decoration:none; }

/* subtle, branded page background */
body{
    background:
            radial-gradient(1100px 560px at 110% -10%, #e7f1ff, transparent 60%),
            radial-gradient(900px 520px at -10% 110%, #f5efe3, transparent 60%),
            #f7f9fc;
}

/* style the menu wrapper like a pill with shadow */
.wrap{ margin:12px 16px 0 !important; background:transparent !important; }
.wrap > nav{
    position:sticky; top:0; z-index:45;
    background:#fff;
    border:1px solid rgba(31,86,166,.12);
    border-radius:14px;
    box-shadow:0 10px 25px rgba(20,58,115,.15), 0 2px 8px rgba(20,58,115,.08);
    padding:8px 10px;
}

/* dropdowns: no flicker + show on hover/focus */
.wrap > nav{ overflow:visible; }
.wrap ul.primary{ display:flex; gap:10px; list-style:none; margin:0; padding:0; }
.wrap ul.primary > li{ position:relative; }
.wrap ul.primary > li > a{
    display:inline-flex; align-items:center; gap:8px;
    padding:10px 14px; border-radius:12px; font-weight:600;
    color:#143a73; border:1px solid transparent;
    transition:background .15s, border-color .15s, color .15s;
}
.wrap ul.primary > li:hover > a,
.wrap ul.primary > li:focus-within > a{ background:#f4f8ff; border-color:rgba(43,120,223,.25); }
.wrap ul.primary > li:has(> ul.sub) > a::after{ content:"▾"; margin-left:6px; opacity:.8; font-size:.9rem; }

.wrap ul.primary > li > ul.sub{
    display:none; position:absolute; left:0; top:100%; /* no gap */
    min-width:240px; margin:0; padding:8px 6px 6px;
    background:#fff; border:1px solid rgba(31,86,166,.15); border-radius:12px;
    box-shadow:0 10px 25px rgba(20,58,115,.15), 0 2px 8px rgba(20,58,115,.08);
    z-index:999;
}
.wrap ul.primary > li > ul.sub::before{
    content:""; position:absolute; left:0; right:0; top:-8px; height:8px;
}
.wrap ul.primary > li:hover > ul.sub,
.wrap ul.primary > li:focus-within > ul.sub{ display:block; }

.wrap ul.primary > li > ul.sub > li > a{
    display:block; padding:8px 10px; border-radius:10px; color:#0f2b4a; white-space:nowrap;
}
.wrap ul.primary > li > ul.sub > li > a:hover{ background:#f4f8ff; color:#143a73; }

/* mobile dropdown support if you ever toggle .open on <li> via JS */
@media (max-width:900px){
    .wrap > nav{ position:static; }
    .wrap ul.primary{ flex-direction:column; align-items:stretch; }
    .wrap ul.primary > li > ul.sub{ position:static; box-shadow:none; border:0; padding:6px 0 8px 12px; }
    .wrap ul.primary > li:not(.open) > ul.sub{ display:none; }
    .wrap ul.primary > li.open > ul.sub{ display:block; }
}

/* give the content a clean “card” so the page doesn’t feel empty */
body > div:not(.wrap){
    max-width:1100px; margin:28px auto; padding:24px 22px;
    background:#fff; border:1px solid rgba(20,58,115,.08);
    border-radius:16px; box-shadow:0 8px 24px rgba(20,58,115,.08);
}

/* nicer headings */
h1{ font-size:clamp(28px,3.2vw,42px); margin:0 0 8px; color:#0f2b4a; }
h2{ font-size:clamp(22px,2.4vw,32px); margin:6px 0 12px; color:#143a73; }
p{ font-size:1.05rem; line-height:1.55; color:#0f2b4a; }

/* keep your file manager boxes looking like boxes */
.boxes, .boxBg, .boxBgFolder, #gallery, #drop-area, .gray{
    background:#eee; border:1px solid #e2e8f0; border-radius:12px;
}
ul.alpha-list {
    list-style: none;
    counter-reset: alpha-counter;
    line-height: 1.5;
}

ul.alpha-list li::before {
    counter-increment: alpha-counter;
    content: counter(alpha-counter, upper-alpha) ". ";
}

.leftPar {
    text-align: left;
    font-size: larger;
}
.mainContent{
    display: flex;
}