@font-face {font-family:primary; src:url("primary.woff");}
/* Reset and Variables */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --header-height: 50px;
    --panel-color: #1f1e1e;
    --panel-border: 2px solid #000;
    --footer-height: 50px;
    --sidebar-width: 250px;
    --primary-color: #2c3e50;
    --text-color: #DDD;
    --color-text-light: #e0f7fa;
}
html {
    scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: primary, sans-serif;
  background: #333;
  color: #CCC;
  font-size: 17px;
  min-width: 220px;
}
a { transition: all 0.2s ease; color: #33CCFF; text-decoration: none; }
a:hover { color: #FFF; }
button { transition: all 0.2s ease; cursor: pointer; }
input{ outline:none; }
/* Top Bar */
#top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--panel-color);
  border-bottom: var(--panel-border);
  align-items: center;
  padding: 0px;
  z-index: 1000;
}
#logo {
    display: block;
    float: left;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 26px;
    background: url(logo1.png) no-repeat;
    background-size: cover;
    margin: 14px 0px 0px 20px;
}
#tag-line {
    float: left;
    width: auto;
    margin: 10px 0px 0px 3px;
    font-size: 10px;
}
#search-icon {
    display: block;
    float: right;
    border: none;
    cursor: pointer;
    width: 18px;
    height: 18px;
    background: url(search_icon.png) no-repeat;
    background-size: cover;
    margin: 18px 12px 0px 0px;
    opacity: 0.7;
}
/* ------------------------------------------------------------------ */
#nav-toggle {
    float: right;
    display: none;
    width: auto;
    height: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: 14px 10px 0px 0px;
}
#nav-toggle span {
    display: block;
    margin-bottom: 5px;
    width: 25px;
    height: 4px;
    background: var(--color-text-light);
    transition: 0.3s;
}
#mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    right: -200px;
    width: 200px;
    background: #1f1e1e;
    padding: 20px;
    overflow: hidden;
    transition: right 0.3s ease;
}
#mobile-menu > a {
    padding: 20px;
    display: block;
}
/* ------------------------------------------------------------------ */
#content-wrapper {
  clear: both;
  margin-top: var(--header-height); /* push below top bar */
  display: flex;
}
/* ------------------------------------------------------------------ */
main { 
padding: 0px 20px 100px 20px; 
background: #252525; 
flex-grow: 1;
min-width: 0; /* The "magic" line for flexbox overflows */
}
/* ------------------------------------------------------------------ */
#breadcrumbs {
    border-bottom: 1px solid #666;
    padding: 10px 0px;
    font-size: 15px;
}
#breadcrumbs > span {
    margin: 0px 10px;
}
/* ------------------------------------------------------------------ */
.sidebars {
    height: calc(100vh - var(--header-height) - var(--footer-height)); /* full height minus top bar */
    background: var(--panel-color);
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto; /* enables vertical scrolling */ 
    overflow-x: hidden;
    
    flex: 0 0 250px;
    position: sticky;
    top: var(--header-height);
    border-right: var(--panel-border);
    border-left: var(--panel-border); 
}
/* ------------------------------------------------------------------ */
.main-menu ul li { display: flex; align-items: center; margin-bottom: 20px; } 
.main-menu ul li::before {
content: ""; 
position: relative; 
top: 2px; /* positive pushes it down */
width: 9px; 
height: 9px; 
background: #b0b0b0; /* default color */ 
margin-right: 7px; 
border-radius: 2px;
}
.main-menu ul li:nth-child(1)::before { background: #ff7f00; }
.main-menu ul li:nth-child(2)::before { background: #00d912; }
.main-menu ul li:nth-child(3)::before { background: #d8de00; }
.main-menu ul li a { text-decoration: none; color: #CCC; font-size: 14px; }
/* ------------------------------------------------------------------ */
dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(5px);
}
dialog {
    margin: 30px auto 0px auto;
    border: none;
    background: #333;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
    width: 800px;
    height: 450px;
    color: #DDD;
    text-align: center;
}
dialog h2 {
    margin-top: 0;
}
#search-modal-close-btn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: #222;
    color: #999;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 25px;
}
#search-modal-close-btn:hover { color: #FFF; background: #111; }
#search-interface { margin: 50px 0px 20px 0px; }
#q{ color: #FFF; width: 50%; height:48px; background:#222; border: 1px solid #000; padding: 0px 10px; border-radius:5px 0px 0px 5px; font-family: primary, Arial; font-size: 17px; vertical-align: middle; }
#searchbtn{ background: #444; border: 1px solid #000; border-left: none; height: 48px; width:60px; padding:0px; border-radius:0px 5px 5px 0px; color:#FFF; vertical-align: middle; }
#searchbtn:hover{ background: #555; }

#results{ text-align: left; margin: 20px auto 0px auto; padding: 10px 30px; overflow-x: auto; }
#results > div{ line-height:1.5em; margin-bottom:48px; padding-bottom:16px; border-bottom:#444 1px solid; }
#results > div > p{ margin:0px; }
#results > div > span{ font-size:0.8em; color: #777; }
#results > div > span > span{ color: #ec8ffe; }
.stringfound {
    color: #fff;
    text-shadow:
    0 0 6px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(0, 255, 255, 0.6),
    0 0 24px rgba(0, 255, 255, 0.6),
    0 0 48px rgba(0, 255, 255, 0.4);
}
/* ------------------------------------------------------------------ */
#footer {
    position: fixed;
    bottom: 0px;
    background: #1f1e1e;
    color: #888;
    height: var(--footer-height);
    width: 100%;
    border-top: 2px solid #000;
}
#footer > div {
    padding: 14px 0px 0px 20px;
    font-size: 13px;
}
/* ------------------------------------------------------------------ */
/* Applies to all elements with scrollbars */
* {
/* Firefox */
scrollbar-width: thin;
scrollbar-color: #444 #1e1e1e;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
width: 8px;   /* vertical scrollbar width */
height: 8px;  /* horizontal scrollbar height */
}

::-webkit-scrollbar-track {
background: #1e1e1e; /* dark track */
}

::-webkit-scrollbar-thumb {
background-color: #444; /* thumb color */
border-radius: 4px;
border: 1px solid #1e1e1e; /* subtle border for contrast */
}

::-webkit-scrollbar-thumb:hover {
background-color: #666; /* lighter on hover */
}

@media (max-width: 768px) {
    #tag-line { display: none; }
    #nav-toggle { display: block; }
    #content-wrapper { display: block; }
    #sidebar { display: none; }
    #rightpanel { display: none; }
    #mobile-menu { display: block; }
    main { margin-left: 0px; margin-right: 0px; }
    #footer { }
    
}