/* Main CSS for Minimal Orderedlist WordPress Theme */

body {
  background-color: #fff;
  padding: 50px 0;
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #595959;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  color:#222;
  margin:0 0 20px;
}

p, ul, ol, table, pre, dl {
  margin:0 0 20px;
}

h1, h2, h3 {
  line-height:1.1;
}

h1 {
  font-size:28px;
  font-weight: 500;
}

h2 {
  color:#393939;
  font-weight: 500;
}

h3, h4, h5, h6 {
  color:#494949;
  font-weight: 500;
}

a {
  color:#39c;
  text-decoration:none;
}

a:hover {
  color:#069;
}

a small {
  font-size:11px;
  color:#777;
  margin-top:-0.3em;
  display:block;
}

a:hover small {
  color:#777;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  background: #fff;
}

.sidebar-fixed {
  width: 260px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  left: 0;
  top: 50px;
  background: #fff;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: 400px;
}

.sidebar-fixed h1 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 2em;
  font-weight: 500;
  text-align: center;
}

.sidebar-fixed img, .sidebar-fixed .custom-logo {
  max-width: 120px;
  height: auto;
  margin: 24px auto 16px auto;
  display: block;
}

.sidebar-fixed p {
  margin: 0 0 14px 0;
  text-align: center;
}

.sidebar-fixed .view {
  margin-bottom: 12px;
}

.sidebar-fixed ul {
  list-style: none;
  height: 40px;
  padding: 0;
  background: #f4f4f4;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 24px;
}

.sidebar-fixed li {
  width: 33.33%;
  border-right: 1px solid #e0e0e0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-fixed li:last-child {
  border-right: none;
}

.sidebar-fixed ul a {
  line-height: 1;
  font-size: 11px;
  color: #999;
  display: block;
  text-align: center;
  padding-top: 6px;
  height: 34px;
}

.sidebar-fixed ul a strong {
  font-size: 14px;
  display: block;
  color: #222;
}

.main-content {
  max-width: 600px;
  width: 100%;
  margin-left: 680px;
  padding: 0 24px 50px 40px;
  box-sizing: border-box;
}

small {
  font-size:11px;
}

hr {
  border:0;
  background:#e5e5e5;
  height:1px;
  margin:0 0 20px;
}

.sidebar-footer {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 50px;
  color: #888;
  font-size: 13px;
  text-align: center;
  background: #fff;
}

blockquote {
  border-left:1px solid #e5e5e5;
  margin:0;
  padding:0 0 0 20px;
  font-style:italic;
}

code, pre {
  font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
  color:#333;
}

pre {
  padding:8px 15px;
  background: #f8f8f8;
  border-radius:5px;
  border:1px solid #e5e5e5;
  overflow-x: auto;
}

table {
  width:100%;
  border-collapse:collapse;
}

th, td {
  text-align:left;
  padding:5px 10px;
  border-bottom:1px solid #e5e5e5;
}

dt {
  color:#444;
  font-weight:500;
}

th {
  color:#444;
}

img {
  max-width:100%;
}

@media print, screen and (max-width: 1100px) {
  .sidebar-fixed {
    margin-left: 0;
    position: static;
    width: 100%;
    min-width: unset;
    left: 0;
    top: 0;
  }
  .main-content {
    margin-left: 0;
    max-width: 100vw;
    padding: 20px 8px 20px 8px;
  }
}

@media print, screen and (max-width: 960px) {
  .wrapper {
    max-width: 100vw;
    width: auto;
    margin: 0;
    flex-direction: column;
  }
  .sidebar-fixed, .main-content, .sidebar-footer {
    float: none;
    position: static;
    width: 100%;
    margin-left: 0;
  }
  .sidebar-fixed {
    min-width: unset;
    padding-right: 0;
    padding-left: 0;
    align-items: center;
  }
  .main-content {
    border: 1px solid #e5e5e5;
    border-width: 1px 0;
    padding: 20px 8px 20px 8px;
    margin: 0 0 20px 0;
    max-width: 850px;
  }
}

@media print, screen and (max-width: 720px) {
  body {
    word-wrap: break-word;
    padding: 15px 0;
  }
  .sidebar-fixed {
    padding: 0;
  }
  .sidebar-fixed ul, .sidebar-fixed p.view {
    position: static;
  }
  pre, code {
    word-wrap: normal;
  }
}

@media print, screen and (max-width: 480px) {
  .wrapper {
    padding: 0;
  }
  .sidebar-fixed ul {
    width: 99%;
  }
  .sidebar-fixed li {
    width: 33%;
  }
}

@media print {
  body {
    padding:0.4in;
    font-size:12pt;
    color:#444;
  }
} 

/* --- Syntax Highlighting for code blocks --- */
.highlight  { background: #ffffff; }
.highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { font-weight: bold } /* Keyword */
.highlight .o { font-weight: bold } /* Operator */
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #999999 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold; } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { font-weight: bold } /* Keyword.Constant */
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
.highlight .kn { font-weight: bold } /* Keyword.Namespace */
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #009999 } /* Literal.Number */
.highlight .s { color: #d14 } /* Literal.String */
.highlight .na { color: #008080 } /* Name.Attribute */
.highlight .nb { color: #0086B3 } /* Name.Builtin */
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
.highlight .no { color: #008080 } /* Name.Constant */
.highlight .ni { color: #800080 } /* Name.Entity */
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
.highlight .nn { color: #555555 } /* Name.Namespace */
.highlight .nt { color: #000080 } /* Name.Tag */
.highlight .nv { color: #008080 } /* Name.Variable */
.highlight .ow { font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #009999 } /* Literal.Number.Float */
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
.highlight .sc { color: #d14 } /* Literal.String.Char */
.highlight .sd { color: #d14 } /* Literal.String.Doc */
.highlight .s2 { color: #d14 } /* Literal.String.Double */
.highlight .se { color: #d14 } /* Literal.String.Escape */
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
.highlight .si { color: #d14 } /* Literal.String.Interpol */
.highlight .sx { color: #d14 } /* Literal.String.Other */
.highlight .sr { color: #009926 } /* Literal.String.Regex */
.highlight .s1 { color: #d14 } /* Literal.String.Single */
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */

.type-csharp .highlight .k { color: #0000FF }
.type-csharp .highlight .kt { color: #0000FF }
.type-csharp .highlight .nf { color: #000000; font-weight: normal }
.type-csharp .highlight .nc { color: #2B91AF }
.type-csharp .highlight .nn { color: #000000 }
.type-csharp .highlight .s { color: #A31515 }
.type-csharp .highlight .sc { color: #A31515 } 

.main-menu {
  width: 100%;
  margin-bottom: 18px;
}
.main-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}
.main-menu-list li {
  width: 100%;
}
.main-menu-list a {
  display: block;
  color: #222;
  text-decoration: none;
  font-size: 15px;
  padding: 7px 0 7px 0;
  text-align: center;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-menu-list a:hover,
.main-menu-list .current-menu-item > a {
  background: #f4f4f4;
  color: #39c;
} 