@font-face {
  font-family: 'lato';
  src: url("/rs/font/lato/lato-regular-webfont.eot");
  src: url("/rs/font/lato/lato-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/rs/font/lato/lato-regular-webfont.woff2") format("woff2"), url("/rs/font/lato/lato-regular-webfont.woff") format("woff"), url("/rs/font/lato/lato-regular-webfont.ttf") format("truetype"), url("/rs/font/lato/lato-regular-webfont.svg#latoregular") format("svg");
  font-weight: normal;
  font-style: normal; }
body:after {
  display: none;
  content: url("../img/bg-on.png") url("../img/bg-off.png"); }

html, button, input, select, textarea, .pure-g [class*="pure-u"] {
  font-family: sans-serif;
  font-size: 1em;
  line-height: 1.5; }

#site-header {
  height: 5em;
  padding: 0 20px;
  margin: 20px 0 60px 0; }

main {
  padding: 0 20px 2em; }

article > header {
  margin-bottom: 20px; }

footer {
  padding: 0 20px;
  margin: 40px 0; }

#site-title {
  display: block;
  font-size: 1.8em;
  font-weight: bold;
  text-decoration: none !important;
  margin-bottom: .5em; }

#posts {
  margin: .5em 0; }

#pax {
  display: block;
  margin: 1em auto; }

h1 {
  font-size: 1.5em; }

header, h1, h2 {
  margin: 0;
  padding: 0; }

img {
  max-width: 100%;
  vertical-align: middle; }

ul, ol {
  margin-left: 20px;
  padding-left: 20px; }

li > ul, li > ol {
  margin: 0; }

a {
  text-decoration: none; }
  a:hover {
    text-decoration: underline; }

blockquote {
  padding-left: 20px;
  font-style: italic;
  margin: 0; }

pre, code {
  font-size: 15px;
  font-family: monospace;
  tab-size: 2; }

code {
  padding: 1px 5px; }

pre {
  padding: 8px 12px;
  margin: 1em 0;
  overflow-x: auto; }
  pre > code {
    border: 0;
    padding-right: 0;
    padding-left: 0; }

td {
  padding: 2px .5em 0 0; }

.lampheight {
  height: 180px; }

#lamp {
  position: absolute;
  background-image: url("/rs/img/zarovka.png");
  width: 286px;
  height: 264px;
  top: 0;
  right: 0;
  z-index: -1; }

.switchheight {
  height: 123px; }

#switch {
  background-image: url("/rs/img/vypinac.png");
  height: 100%;
  width: 125px;
  margin: 0 auto; }

#switch-button {
  display: block;
  position: relative;
  top: 36px;
  left: 48px;
  width: 32px;
  height: 47px; }

body.light-on {
  color: #111;
  background-color: #e9e9e9;
  background-image: url("/rs/img/bg-on.png"); }

.light-on .disp-light-on {
  display: initial; }
.light-on .disp-light-off {
  display: none; }
.light-on .vis-light-on {
  visibility: visible; }
.light-on .vis-light-off {
  visibility: hidden; }
.light-on a {
  color: #166dd7; }
  .light-on a:visited {
    color: #166dd7; }
.light-on .bland {
  color: #919191; }
.light-on .faint {
  color: #c4c4c4; }
.light-on blockquote {
  border-left: 4px solid #c4c4c4; }
.light-on pre, .light-on code {
  background-color: #f1f1f1; }
.light-on #pax path {
  stroke: #d8d8d8; }

body.light-off {
  color: #ddd;
  background-color: #080808;
  background-image: url("/rs/img/bg-off.png"); }

.light-off #lamp {
  background-position: 285px 0; }
.light-off #switch {
  background-position: 125px 0; }
.light-off .disp-light-on {
  display: none; }
.light-off .disp-light-off {
  display: initial; }
.light-off .vis-light-on {
  visibility: hidden; }
.light-off .vis-light-off {
  visibility: visible; }
.light-off a {
  color: #5796e8; }
  .light-off a:visited {
    color: #5796e8; }
.light-off .bland {
  color: #5e5e5e; }
.light-off .faint {
  color: #1e1e1e; }
.light-off blockquote {
  border-left: 4px solid #1e1e1e; }
.light-off pre, .light-off code {
  background-color: #101010; }
.light-off #pax path {
  stroke: #040404; }

.left {
  float: left; }

.right {
  float: right; }

body:after {
  display: none;
  content: url("../img/bg-on.png") url("../img/bg-off.png"); }

.light-on .highlight .c {
  color: #998; }
.light-on .highlight .err {
  color: #a61717;
  background-color: #e3d2d2; }
.light-on .highlight .k {
  font-weight: bold; }
.light-on .highlight .o {
  font-weight: bold; }
.light-on .highlight .cm {
  color: #998; }
.light-on .highlight .cp {
  color: #999;
  font-weight: bold; }
.light-on .highlight .c1 {
  color: #998; }
.light-on .highlight .cs {
  color: #999;
  font-weight: bold; }
.light-on .highlight .gd {
  color: #000;
  background-color: #fdd; }
.light-on .highlight .gd .x {
  color: #000;
  background-color: #faa; }
.light-on .highlight .ge {
  font-style: italic; }
.light-on .highlight .gr {
  color: #a00; }
.light-on .highlight .gh {
  color: #999; }
.light-on .highlight .gi {
  color: #000;
  background-color: #dfd; }
.light-on .highlight .gi .x {
  color: #000;
  background-color: #afa; }
.light-on .highlight .go {
  color: #888; }
.light-on .highlight .gp {
  color: #555; }
.light-on .highlight .gs {
  font-weight: bold; }
.light-on .highlight .gu {
  color: #aaa; }
.light-on .highlight .gt {
  color: #a00; }
.light-on .highlight .kc {
  font-weight: bold; }
.light-on .highlight .kd {
  font-weight: bold; }
.light-on .highlight .kp {
  font-weight: bold; }
.light-on .highlight .kr {
  font-weight: bold; }
.light-on .highlight .kt {
  color: #458;
  font-weight: bold; }
.light-on .highlight .m {
  color: #099; }
.light-on .highlight .s {
  color: #d14; }
.light-on .highlight .na {
  color: #008080; }
.light-on .highlight .nb {
  color: #0086B3; }
.light-on .highlight .nc {
  color: #458;
  font-weight: bold; }
.light-on .highlight .no {
  color: #008080; }
.light-on .highlight .ni {
  color: #800080; }
.light-on .highlight .ne {
  color: #900;
  font-weight: bold; }
.light-on .highlight .nf {
  color: #900;
  font-weight: bold; }
.light-on .highlight .nn {
  color: #555; }
.light-on .highlight .nt {
  color: #000080; }
.light-on .highlight .nv {
  color: #008080; }
.light-on .highlight .ow {
  font-weight: bold; }
.light-on .highlight .w {
  color: #bbb; }
.light-on .highlight .mf {
  color: #099; }
.light-on .highlight .mh {
  color: #099; }
.light-on .highlight .mi {
  color: #099; }
.light-on .highlight .mo {
  color: #099; }
.light-on .highlight .sb {
  color: #d14; }
.light-on .highlight .sc {
  color: #d14; }
.light-on .highlight .sd {
  color: #d14; }
.light-on .highlight .s2 {
  color: #d14; }
.light-on .highlight .se {
  color: #d14; }
.light-on .highlight .sh {
  color: #d14; }
.light-on .highlight .si {
  color: #d14; }
.light-on .highlight .sx {
  color: #d14; }
.light-on .highlight .sr {
  color: #009926; }
.light-on .highlight .s1 {
  color: #d14; }
.light-on .highlight .ss {
  color: #990073; }
.light-on .highlight .bp {
  color: #999; }
.light-on .highlight .vc {
  color: #008080; }
.light-on .highlight .vg {
  color: #008080; }
.light-on .highlight .vi {
  color: #008080; }
.light-on .highlight .il {
  color: #099; }

.light-off .highlight {
  /* Comment */
  /* Error */
  /* Keyword */
  /* Literal */
  /* Name */
  /* Operator */
  /* Punctuation */
  /* Comment.Multiline */
  /* Comment.Preproc */
  /* Comment.Single */
  /* Comment.Special */
  /* Generic.Emph */
  /* Generic.Strong */
  /* Keyword.Constant */
  /* Keyword.Declaration */
  /* Keyword.Namespace */
  /* Keyword.Pseudo */
  /* Keyword.Reserved */
  /* Keyword.Type */
  /* Literal.Date */
  /* Literal.Number */
  /* Literal.String */
  /* Name.Attribute */
  /* Name.Builtin */
  /* Name.Class */
  /* Name.Constant */
  /* Name.Decorator */
  /* Name.Entity */
  /* Name.Exception */
  /* Name.Function */
  /* Name.Label */
  /* Name.Namespace */
  /* Name.Other */
  /* Name.Property */
  /* Name.Tag */
  /* Name.Variable */
  /* Operator.Word */
  /* Text.Whitespace */
  /* Literal.Number.Float */
  /* Literal.Number.Hex */
  /* Literal.Number.Integer */
  /* Literal.Number.Oct */
  /* Literal.String.Backtick */
  /* Literal.String.Char */
  /* Literal.String.Doc */
  /* Literal.String.Double */
  /* Literal.String.Escape */
  /* Literal.String.Heredoc */
  /* Literal.String.Interpol */
  /* Literal.String.Other */
  /* Literal.String.Regex */
  /* Literal.String.Single */
  /* Literal.String.Symbol */
  /* Name.Builtin.Pseudo */
  /* Name.Variable.Class */
  /* Name.Variable.Global */
  /* Name.Variable.Instance */
  /* Literal.Number.Integer.Long */
  /* Generic Heading & Diff Header */
  /* Generic.Subheading & Diff Unified/Comment? */
  /* Generic.Deleted & Diff Deleted */
  /* Generic.Inserted & Diff Inserted */ }
  .light-off .highlight .hll {
    background-color: #49483e; }
  .light-off .highlight .c {
    color: #75715e; }
  .light-off .highlight .err {
    color: #960050;
    background-color: #1e0010; }
  .light-off .highlight .k {
    color: #66d9ef; }
  .light-off .highlight .l {
    color: #ae81ff; }
  .light-off .highlight .n {
    color: #f8f8f2; }
  .light-off .highlight .o {
    color: #f92672; }
  .light-off .highlight .p {
    color: #f8f8f2; }
  .light-off .highlight .cm {
    color: #75715e; }
  .light-off .highlight .cp {
    color: #75715e; }
  .light-off .highlight .c1 {
    color: #75715e; }
  .light-off .highlight .cs {
    color: #75715e; }
  .light-off .highlight .ge {
    font-style: italic; }
  .light-off .highlight .gs {
    font-weight: bold; }
  .light-off .highlight .kc {
    color: #66d9ef; }
  .light-off .highlight .kd {
    color: #66d9ef; }
  .light-off .highlight .kn {
    color: #f92672; }
  .light-off .highlight .kp {
    color: #66d9ef; }
  .light-off .highlight .kr {
    color: #66d9ef; }
  .light-off .highlight .kt {
    color: #66d9ef; }
  .light-off .highlight .ld {
    color: #e6db74; }
  .light-off .highlight .m {
    color: #ae81ff; }
  .light-off .highlight .s {
    color: #e6db74; }
  .light-off .highlight .na {
    color: #a6e22e; }
  .light-off .highlight .nb {
    color: #f8f8f2; }
  .light-off .highlight .nc {
    color: #a6e22e; }
  .light-off .highlight .no {
    color: #66d9ef; }
  .light-off .highlight .nd {
    color: #a6e22e; }
  .light-off .highlight .ni {
    color: #f8f8f2; }
  .light-off .highlight .ne {
    color: #a6e22e; }
  .light-off .highlight .nf {
    color: #a6e22e; }
  .light-off .highlight .nl {
    color: #f8f8f2; }
  .light-off .highlight .nn {
    color: #f8f8f2; }
  .light-off .highlight .nx {
    color: #a6e22e; }
  .light-off .highlight .py {
    color: #f8f8f2; }
  .light-off .highlight .nt {
    color: #f92672; }
  .light-off .highlight .nv {
    color: #f8f8f2; }
  .light-off .highlight .ow {
    color: #f92672; }
  .light-off .highlight .w {
    color: #f8f8f2; }
  .light-off .highlight .mf {
    color: #ae81ff; }
  .light-off .highlight .mh {
    color: #ae81ff; }
  .light-off .highlight .mi {
    color: #ae81ff; }
  .light-off .highlight .mo {
    color: #ae81ff; }
  .light-off .highlight .sb {
    color: #e6db74; }
  .light-off .highlight .sc {
    color: #e6db74; }
  .light-off .highlight .sd {
    color: #e6db74; }
  .light-off .highlight .s2 {
    color: #e6db74; }
  .light-off .highlight .se {
    color: #ae81ff; }
  .light-off .highlight .sh {
    color: #e6db74; }
  .light-off .highlight .si {
    color: #e6db74; }
  .light-off .highlight .sx {
    color: #e6db74; }
  .light-off .highlight .sr {
    color: #e6db74; }
  .light-off .highlight .s1 {
    color: #e6db74; }
  .light-off .highlight .ss {
    color: #e6db74; }
  .light-off .highlight .bp {
    color: #f8f8f2; }
  .light-off .highlight .vc {
    color: #f8f8f2; }
  .light-off .highlight .vg {
    color: #f8f8f2; }
  .light-off .highlight .vi {
    color: #f8f8f2; }
  .light-off .highlight .il {
    color: #ae81ff; }
  .light-off .highlight .gu {
    color: #75715e; }
  .light-off .highlight .gd {
    color: #f92672; }
  .light-off .highlight .gi {
    color: #a6e22e; }
