html {
    overflow-y: scroll;
    overflow: -moz-scrollbars-vertical;
    overflow: -webkit-scrollbars-vertical;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
    margin: 0;
    background-color: #d9f2f7;
    background-image: linear-gradient(#ffe6ddbe,#fce8ffe3), url(/files/images/triangles-1430105.svg);
    background-attachment: fixed;
    min-height: 99vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-size: cover;
}

header, section, footer, nav, article, aside {
    display: block;
}

body, td {
    font-size: 1em;
    -moz-osx-font-smoothing: grayscale;
}


a {
    color: #0072b2;
}
a:visited {
    color: #523c76;
}

.mid {
    width: 100vw;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    
    box-shadow: 0 0 50px -50px rgba(0,0,0,0.5);
    border-radius: 5px;
}

#content, .mid > .content {
    order: 0;
    flex-grow: 1;
    width: 72vw;
    min-height: 350px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    background: rgba(255,255,255,0.75);
}

#side {
    width: 27vw;
    min-height: 300px;
}

.about, .read-next {
    width: 28vw;
    float: left;
    height: 100px;
}

#b-navigation {
    width: 28vw;
    color: #777
}


@media screen and (min-width: 1000px) {
    .mid {
        width: 1000px;

    }
    #content, .mid > .content {
        width: 720px;
    }
    #side {
        width: 280px;
    }
    .about, .read-next {
        width: 280px;
    }
    #b-navigation {
        width: 280px;
    }
}

@media screen and (max-width: 360px) {

}

.sidebar {
    order: 1;
    flex-grow: 1;
    box-shadow: 20px 0 30px -40px rgba(0,0,0,0.05) inset;
    font-weight: 400;
    background-image: linear-gradient(rgba(255,255,255,0.35),rgba(255,255,255,0.1));
    border-top-right-radius: 5px;
}


article > div > p {
    text-indent: 1em;
    text-align: justify;
}

article div iframe {
    max-width: 100%;
}

.message {
    float: left;
    width: 600px;
    height: 100px;
}

.photo {
    box-shadow: 15px 0 32px -25px;
    float: left;
    height: 100px;
    width: 119px;
}

.photo img {
    border: solid 1px #eee;
}


.read-next > div {
    
    background-color: #B850FF17;
    margin-left: 3em;
    padding: 1em 1em;
}


.read-next > div > div {
    font-weight: bold;
    color: #a300ff;
    font-size: 0.85em;
    margin: 0;
    font-style: italic;
    font-family: 'Palatino', sans-serif;
}

.tm {
    margin-top: 30px;
    
}

.clear {
    clear: both
}

.breaktrought {
    background: #000;
    height: 128px;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #000;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
}

#b-space {
    width: 718px;
    height: 128px;
    background: #222;
    float: left;
    border-left: solid 1px #777;
    border-right: solid 1px #777;
    position: relative;
}


#b-navigation a {
    margin-left: -8px;
    padding: 1px 8px;
    display: inline-block;
    text-decoration: none;
}

#b-navigation a.selected {
    background: none repeat scroll 0 0 #444444;
    border-radius: 5px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5) inset;
    color: #DDDDDD;

    font-weight: 100;

    text-decoration: none;

}

#b-navigation a:hover {
    color: #7DcDff;
    border-radius: 5px;
    text-decoration: none;
}

#b-navigation ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

#b-navigation ul li {
    margin-left: 12px;
    padding: 3px;
}


#side h3, #side form, #side p {
    margin-left: 15px;
    color: #aaa;
    text-shadow: 1px 1px 1px #fff
}

#b-space a {
    margin: 0px;
    display: block;
    width: 170px;
    height: 129px;
    text-align: center;
    float: left;
    font-size: 11px;
    color: #fff;
    border-radius: 3px;
    position: relative;
    margin-top: 20px;
    background-position: center bottom;
    background-repeat: no-repeat;
    -moz-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

#b-space #previous-project-icon, #b-space #next-project-icon {
    z-index: 11;
    color: #555555;
    display: block;
    position: absolute;
    top: 0px;
    font-size: 30px;
    height: 128px;
    line-height: 128px;
    text-align: center;
    text-decoration: none;
    margin-top: 0px;
    outline: none;
    width: 19px;
}

#b-space #previous-project-icon:hover, #b-space #next-project-icon:hover {
    color: #fff;
    cursor: pointer;
}

#b-space #previous-project-icon {
    left: 0px;
    transition-duration: 0.5s;
}

#b-space #next-project-icon {
    right: 0px;
    transition-duration: 0.5s;
}

#b-space a.current {
    background-image: url(/files/images/bottom-corner.gif)
}

#b-space div a:hover {
    background-color: #333;
    box-shadow: 0px 0px 10px 5px #000;
    z-index: 10
}

#b-space i {
    border: none;
    width: 96px;
    height: 96px;
    margin: 5px auto;
    display: block
}

#b-space span {
    display: block;
    text-shadow: 0px 0px 1px #000;
    left: 0;
    width: 170px;
    top: 107px;
    position: absolute;
}

#b-space a span {
    -moz-transition-duration: 1s;
    transition-duration: 1s;
}

#b-space a:hover span {
    top: 130px;
    color: #000;
    -moz-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

input::invalid {
    color: red
}

article {
    margin: 0 20px 15px 20px;
    padding-top: 6px;
    font-size: 15px;
    line-height: 1.618em;
}

article h1 {
    font-size: 24px
}

article h2 {
    font-size: 20px;
    margin-top: 1.5em;
}

article h3 {
    font-size: 18px;
    font-weight: normal;
    color: #333;
    margin-top: 1.4em;
}

.stvcc-ru i {
    background: url(/files/images/project-icon-stvcc.png) -37px -5px
}

.stvcc-ru:hover {
    background-image: url(/files/images/project-icon-stvcc.png) !important;
    -moz-transition-duration: 0.1s
}

.progimp-ru i {
    background: url(/files/images/project-icon-progimp.png) -37px -5px
}

.progimp-ru:hover {
    background-image: url(/files/images/project-icon-progimp.png) !important;
    -moz-transition-duration: 0.1s
}

.vstv-ru i {
    background: url(/files/images/project-icon-vstv.png) -37px -5px
}

.vstv-ru:hover {
    background-image: url(/files/images/project-icon-vstv.png) !important;
    -moz-transition-duration: 0.1s
}

.apteka-ru i {
    background: url(/files/images/project-icon-apteka.png) -37px -5px
}

.apteka-ru:hover {
    background-image: url(/files/images/project-icon-apteka.png) !important;
    -moz-transition-duration: 0.1s
}

.zoonman-com i {
    background: url(/files/images/project-icon-zoonman.png) -37px -5px
}

.zoonman-com:hover {
    background-image: url(/files/images/project-icon-zoonman.png) !important;
    -moz-transition-duration: 0.1s
}

.combobox i {
    background: url(/files/images/project-icon-combobox.png) -37px -5px
}

.combobox:hover {
    background-image: url(/files/images/project-icon-combobox.png) !important;
    -moz-transition-duration: 0.1s
}

#project-icons {
    position: relative;
    overflow: hidden;
    top: -20px;
    height: 170px;
    width: 715px;
    float: left;
    z-index: 1
}

#project-icons #project-icons-container {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 128px;
    padding-left: 20px;
    padding-right: 10px;
}

.about a {
    font-size: 12px
}

.about > div {
    padding: 15px;
    background-color: rgba(0,0,0,0.05);
    border-top-right-radius: 5px;
}

#content .breadcrumbs {
    font-size: 11px;
    margin-bottom: 5px;
    margin-top: -22px;
}

#content a {
    -moz-text-decoration-color: rgba(6, 110, 201, 0.5)
}
/*
#content a:visited {
    color: #0061A6;
}
*/
#content a:hover {
    color: #0071F6;
}

.message a, .about a {
    color: #555
}

.copyright {
    text-align: right;
    color: #eee;
    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
}

pre {
    font-family: Consolas, Courier, Monaco, monospace;
    font-size: 13px;
    padding: 0.5em;
    line-height: 1.1em;
    white-space: pre-wrap;
}

pre.code {
    border-left: solid 2px rgba(0,0,0,0.2);
    background: rgba(0, 0, 0, 0.02);
    tab-size: 4;
    -moz-tab-size: 4;
    -webkit-tab-size: 4;
    -o-tab-size: 4;
}

pre.console {
    border-left: solid 2px #000;
/*    background: #333; */
    background-image: linear-gradient(#170033e0,#000044d9);
    color: #ddd
}

figure.right {
    float: right;
    margin: 0px 0px 10px 15px
}

figcaption {
    font-size: 11px;
    text-align: center;
    color: #555
}

#content a.button, button, input[type="submit"], input[type="reset"] {
    background: #EEEEEE;
    border: 1px solid #BBBBBB;
    border-radius: 2px;
    color: #777777;
    padding: 5px 9px;
    text-decoration: none;
    text-shadow: 1px 1px 1px #FFFFFF;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    outline: none
}

#content a.button:hover {
    background: #f5f5f5;
}

#content a.button:active {
    transition-duration: 0.0s;
    box-shadow: 1px 1px 10px -6px #555555, -1px -1px 0px #FFFFFF inset;
    background: #eaeaef;
    text-shadow: -1px -1px 1px #FFFFFF;
}

#comments {
    padding-top: 0px
}

#comments .comment {
    position: relative;
    clear: both;
    min-height: 64px;
    border-bottom: dashed 0px #ddd;
    margin-top: 12px;
    padding-bottom: 0px
}

#comments .avatar {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    position: absolute;
    left: 0px;
    top: 0px
}

#comments .author {
    position: absolute;
    left: 60px;
    top: 0px;
    font-weight: bold;
    line-height: 15px;
}

#comments .published {
    position: absolute;
    right: 0px;
    top: 0px;
    color: #ddd;
    font-size: 11px;
}

#comments .content {
    margin-left: 60px;
    padding-top: 25px;
    padding-bottom: 10px;
    clear: both;
    opacity: 0.9;
}

#c-body {
    border: 0 solid #AAAAAA;
    box-shadow: 0 2px 10px -7px inset;
    margin-top: 5px;
    padding: 5px;
    margin-left: 60px;
    width: 630px;
    font-family: 'Trebuchet MS', 'PT Sans', Tahoma, Verdana, Arial;
    transition-duration: 100ms;
    opacity: 0.8;
}

#c-body:focus {
    opacity: 1;
    box-shadow: 0 1px 5px -2px #066EC9 inset;
}

#c-submit {
    margin-left: 60px;
    font-family: inherit;
}

.about {
    position: relative
}

.about .fn {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
}

.about .job {
    font-size: 11px
}

.about img {
    position: absolute;
    top: 15px;
    right: 16px;
}

#poll_form p, #poll_result p {
    margin: 0px 0px 0px 15px;
    padding: 1px;
}

.intro {
    border-top: 3px double #eee;
    border-bottom: 3px double #eee;
    color: #aaaaaa;
    font-style: italic;
    padding: 10px;
    box-shadow: 0 0 1px #FFFFFF inset;
    display: flex;
}

.intro img.logo {
    min-width: 128px;
    height: auto;
    margin-right: 1em;
}

.comments-header {
    border-bottom: 1px solid #DDDDDD;
    color: #AAAAAA;
    margin: 0 -10px;
    padding: 10px;
    text-shadow: 1px 1px 0 #FFFFFF;
}

#content input[type="text"], #content input[type="password"] {
    background: none repeat scroll 0 0 #FAFAFA;
    border: 1px solid #CCCCCC;
    box-shadow: 2px 5px 15px -15px #000000 inset, -1px -1px 0 0 #FFFFFF inset;
    padding: 2px;
}

/*!
 * GitHub Dark v0.5.0
 * Copyright (c) 2012 - 2017 GitHub, Inc.
 * Licensed under MIT (https://github.com/primer/github-syntax-theme-generator/blob/master/LICENSE)
 */

.pl-c /* comment, punctuation.definition.comment, string.comment */
{
    color: #959da5;
}

.pl-c1 /* constant, entity.name.constant, variable.other.constant, variable.language, support, meta.property-name, support.constant, support.variable, meta.module-reference, markup.quote, markup.raw, meta.diff.header */,
.pl-s .pl-v /* string variable */
{
    color: #c8e1ff;
}

.pl-e /* entity */,
.pl-en /* entity.name */
{
    color: #b392f0;
}

.pl-smi /* variable.parameter.function, storage.modifier.package, storage.modifier.import, storage.type.java, variable.other */,
.pl-s .pl-s1 /* string source */
{
    color: #f6f8fa;
}

.pl-ent /* entity.name.tag */
{
    color: #7bcc72;
}

.pl-k /* keyword, storage, storage.type */
{
    color: #ea4a5a;
}

.pl-s /* string */,
.pl-pds /* punctuation.definition.string, source.regexp, string.regexp.character-class */,
.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */,
.pl-sr /* string.regexp */,
.pl-sr .pl-cce /* string.regexp constant.character.escape */,
.pl-sr .pl-sre /* string.regexp source.ruby.embedded */,
.pl-sr .pl-sra /* string.regexp string.regexp.arbitrary-repitition */
{
    color: #79b8ff;
}

.pl-v /* variable */,
.pl-ml /* markup.list, sublimelinter.mark.warning */
{
    color: #fb8532;
}

.pl-bu /* invalid.broken, invalid.deprecated, invalid.unimplemented, message.error, brackethighlighter.unmatched, sublimelinter.mark.error */
{
    color: #d73a49;
}

.pl-ii /* invalid.illegal */
{
    color: #fafbfc;
    background-color: #d73a49;
}

.pl-c2 /* carriage-return */
{
    color: #fafbfc;
    background-color: #d73a49;
}

.pl-c2::before /* carriage-return */
{
    content: "^M";
}

.pl-sr .pl-cce /* string.regexp constant.character.escape */
{
    font-weight: bold;
    color: #7bcc72;
}

.pl-mh /* markup.heading */,
.pl-mh .pl-en /* markup.heading entity.name */,
.pl-ms /* meta.separator */
{
    font-weight: bold;
    color: #0366d6;
}

.pl-mi /* markup.italic */
{
    font-style: italic;
    color: #f6f8fa;
}

.pl-mb /* markup.bold */
{
    font-weight: bold;
    color: #f6f8fa;
}

.pl-md /* markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted */
{
    color: #b31d28;
    background-color: #ffeef0;
}

.pl-mi1 /* markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted */
{
    color: #176f2c;
    background-color: #f0fff4;
}

.pl-mc /* markup.changed, punctuation.definition.changed */
{
    color: #b08800;
    background-color: #fffdef;
}

.pl-mi2 /* markup.ignored, markup.untracked */
{
    color: #2f363d;
    background-color: #959da5;
}

.pl-mdr /* meta.diff.range */
{
    font-weight: bold;
    color: #b392f0;
}

.pl-mo /* meta.output */
{
    color: #0366d6;
}

.pl-ba /* brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote */
{
    color: #ffeef0;
}

.pl-sg /* sublimelinter.gutter-mark */
{
    color: #6a737d;
}

.pl-corl /* constant.other.reference.link, string.other.link */
{
    text-decoration: underline;
    color: #79b8ff;
}


#b-navigation .main-menu .lvl1    {margin-left: 0}
#b-navigation .main-menu .lvl2    {margin-left: 8px;font-size: 0.95em}
#b-navigation .main-menu .lvl3    {margin-left: 16px;font-size: 0.90em}
#b-navigation .main-menu .lvl4    {margin-left: 24px;font-size: 0.85em}


table.classic {
    border-collapse: collapse;
    border: solid 1px lightgray;
    background: #fcfcfc;
}

table.classic td, table.classic th {
    border: solid 1px lightgray;
    padding: 1px 5px;
    font-size: 0.95em;
}

table.classic th {
    background-color: #f0f0f0;
    color: #777;
    box-shadow: 1px 1px 0px #fff inset, -1px -1px 2px -2px #c0c0c0 inset;
}
table.classic td {
    box-shadow: -1px -1px 1px 0px #fff inset;
}


article > div > p img, td a img {
max-width: 100%;
}
