@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;500;700&display=swap');

/* ---------------------------------------------------------------------
   Базовые настройки ---------------------------------------------------*/
  html {
    height: 100%;
    scroll-behavior: smooth;
  }
  body {
    margin: 0;
    padding: 0 !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    color: #2c2c2c;
    /*overflow-x: hidden;*/
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  img {
    border: 0;
  }

  .clear {
    clear: both;
  }

  .monitor_1280 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 99%;
  }

  .monitor_1120 {
    max-width: 1120px;
    margin: 0 auto;
  }

  .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }


/* ---------------------------------------------------------------------
   Шапка ---------------------------------------------------------------*/
  header {
    background: url('/i/header-bg.png') #00a6ea;
    border-bottom: 1px solid rgba(0,0,0, .7);
  }

  header a {
    text-decoration: none;
  }

  header > div {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  header .header-bottom {
    display: flex;
    justify-content: space-between;
  }

  header .header-bottom form input {
    float: right;
  }

  header #logo {
    margin: 20px 0;
    background: url('/i/logo.png') no-repeat;
    width: 471px;
    height: 81px;
  }

  header .section_list {
    font-weight: bold;
    display: flex;
    position: relative;
    bottom: -1px;
    flex-grow: 5;
    width: 100%;
  }

  header .section_list a {
    font-weight: 700;
    color: white;
    background: black;
    display: inline-block;
    text-align: center;
    padding: 5px 30px;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    transition: .3s ease;
    border: 1px solid rgba(0,0,0, .7);
    border-bottom: none;
  }

  header .section_list a:last-child {
    margin-right: 0;
  }

  header .search {
    display: block;
    width: 100%;
    flex-grow: 1;
    max-width: 280px;
  }

  header .search input[type="text"] {
    width: 100%;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0, .5);
    padding: 5px 30px;
    text-align: left;
    font-size: .9em;
    outline: none;
    transition: .2s ease;
    display: inline-block;
  }

  header .search input[type="text"]::placeholder {
    color: rgba(0,0,0, .2);
  }

  header .search input[type="text"]:hover,
  header .search input[type="text"]:focus {
    border: 1px solid rgba(0,0,0, 1);
  }


  .section_list a:hover {
    background: #555;
  }

  .section_list a.active {
    background: #FAFAFA;
    color: black;
  }

  .menu-link-mobile,
  .menu-link-close-mobile {
    display: none;
  }

  @media screen and (max-width: 1280px) {
    .section_list a:first-child {
      display: none;
    }
    header .section_list a {
      padding: 5px 20px;
      text-align: right;
    }
  }

  @media screen and (max-width: 1000px) {
    header > div {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }


    .menu-link-close-mobile {
      display: inline;
      color: white;
      text-transform: uppercase;
      font-weight: 300;
      text-align: right;
      margin-bottom: 40px;
      font-size: 1.4em;
    }
    .menu-link-close-mobile span {
      position: relative;
      cursor: pointer;
    }

    .menu-link-close-mobile span:before,
    .menu-link-close-mobile span:after {
      content: "";
      position: absolute;
      width: 30px;
      height: 2px;
      left: -40px;
      top: 10px;
      background: rgba(255,255,255, .6);
    }

    .menu-link-close-mobile span:before {
      transform: rotate(45deg);
    }

    .menu-link-close-mobile span:after {
      transform: rotate(-45deg);
    }

    .section_list {
      flex-direction: column;
      margin-top: 30px;
    }

    .section_list a {
      font-weight: 500;
      padding: 15px 0;
      margin-right: 0;
      border-radius: 0;
      transition: none;
      border-bottom: 1px solid rgba(255,255,255, .7);
      border-bottom: none;
      font-size: 1.3em;
      white-space: nowrap;
    }

    .section_list a:last-child {
      border-bottom: none;
    }

    .section_list a.active {
      background: #444;
      border-bottom: 1px solid #444;
      color: white;
    }

    header .header-bottom {
      display: none;
    }

    header .header-bottom.active {
      display: flex;
      position: fixed;
      z-index: 100;
      background: black;
      height: 100%;
      top: 0;
      right: 0;
      flex-direction: column-reverse;
      justify-content: flex-end;
      padding: 50px 10px 0 10px; 
    }


    .menu-link-mobile {
      position: relative;
      cursor: pointer;
      display: block;
    }

    .menu-link-mobile span {
      display: block;
      background: white;
      width: 40px;
      height: 7px;
      border-bottom: 1px solid rgba(0,0,0, .9);
      border-radius: 7px;
    }

    .menu-link-mobile span:nth-child(1) { margin-bottom: 5px; }
    .menu-link-mobile span:nth-child(3) { margin-top: 5px; }

    header .search input[type="text"] {
      font-size: 1.1em;
    }
  }

  @media screen and (max-width: 500px) {
    header #logo {
      margin: 20px 0;
      background: url('/i/logo.png') no-repeat;
      width: 81px;
      height: 81px;
    }
  }


/* ---------------------------------------------------------------------
 Заголовок раздела ---------------------------------------------------*/
#header-section {
  padding: 30px 0;
  background: #FAFAFA;
  color: #595959;
  border-bottom: 1px solid rgba(0,0,0, .1)
}

#header-section h1 {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 15px;
}

#header-section p {
  line-height: 1.5;
}


/* ---------------------------------------------------------------------
   Основная часть ------------------------------------------------------*/
  #content {
    display: flex;
    justify-content: space-between;
    padding-top: 60px;
    flex: 1 0 auto;
  }

  .flex {
    display: flex;
  }

  .texts ol.breadcrumbs {
    list-style: none;
    display: flex;
    margin: 0 0 30px 0;
  }

  .texts ol.breadcrumbs li:before {
    content: "→";
    margin-right: 10px;
    /*display: none;*/
  }

  .texts ol.breadcrumbs li:first-child:before {
    display: none;
  }

  
  .texts ol.breadcrumbs li {
    margin-right: 10px;
  }



  .texts {
    order: 1;
    width: 100%;
    /*width: calc(100% - 560px);*/
    max-width: 840px;
  }

  .texts.services {
    max-width: 100%;
  }

  .texts img {
    max-width: 100%;
    height: auto;
    min-width: 40px;
  }

  .sideright {
    max-width: 280px;
    min-height: 100px;
    order: 2;
  }


  .sideright section {
    background: #FAFAFA;
    border: 1px dashed rgba(0,0,0, .2);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    color: black;
    font-size: .9em;
  }

  .sideright section > .title {
    text-align: left;
    font-weight: 700;
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #2c2c2c;
  }

  .one-date-event .link-telegram-bot {
    font-weight: 300;
    margin-top: 20px;
    color: #777;
    font-size: .9em;
  }

  .one-date-event .link-telegram-bot a {
    color: rgb(31, 169, 235);
    text-decoration: underline;
    text-transform: uppercase;
    font-size: 1.1em;
  }

  .one-date-event .link-telegram-bot a:hover {
    text-decoration: none;
  }


  .about {
    font-size: .85em;
  }

  .about p {
    line-height: 1.3;
    margin-bottom: 10px;
    text-align: justify;
  }




  .services article:not(.individual-article) {
    max-width: 290px;
    padding: 0 10px 20px 10px;
  }

  .services article:not(.individual-article) .title {
    font-size: 1.5em;
    text-transform: inherit;
  }

  .services article:not(.individual-article) img {
    max-width: 220px;
    margin: 10px 0;
  }

  .texts.services article:not(.individual-article) li {
    text-align: left;
  }

  .texts.services h1,
  .services article form {
    text-align: center;
  }

  .services form.service-form {
    margin-top: 60px;
  }

  .services form.service-form input {
    font-size: 1.4em;
    padding: 5px 15px;
    border-radius: 5px;
    outline: none;
  }

  .services form.service-form input[type="text"] {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #EBEBEB;
    border-bottom: 1px solid #C2C2C2;
    display: block;
  }

  .services form.service-form input[type="submit"] {
    margin-top: 30px;
    font-size: 1.2em;
    padding: 7.5px 30px;
    background: #2BC980;
    color: white;
    border: none;
    cursor: pointer;
  }

  .services details {
    max-width: 700px;
    margin: 0 auto;
  }

  .services .texts .individual-article h2 {
    max-width: 700px;
    margin: 30px auto;
  }


  @media screen and (max-width: 1145px) {
    .sideleft {
      display: none;
    }

    .texts {
      width: calc(100% - 240px);
      padding: 0 60px 0 20px;
    }
  }

  @media screen and (max-width: 890px) {
    #content {
      flex-direction: column;
    }

    .interes {
      display: none;
    }

    .texts {
      padding: 0;
      width: 100%;
    }

    .sideright {
      width: 100%;
      display: flex;
    }

    .sideright {
      width: 100%;
      max-width: none;
      display: flex;
    }

    .sideright section {
      margin-right: 30px;
    }
  }

  @media screen and (max-width: 500px) {
    .sideright {
      flex-direction: column-reverse;
    }
  }

/* ---------------------------------------------------------------------
  Блок статей  ---------------------------------------------------------*/
.title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  margin-left: -12.5px;
}

.texts h1,
.texts h2.title {
  font-size: 2em;
  text-align: left;
  color: black;
  font-weight: normal;
  border-bottom: none;
  margin: 0;

  text-transform: uppercase;
}

.texts h2.title a {
  text-decoration: none;
  color: black;
  font-size: .95em;
}

.texts h2.title a:hover {
  color: #00a6ea;
}

.texts h2 {
  font-size: 1.8em;
  font-weight: 300;
  margin: 40px 0 10px 0;
  color: black;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.texts h2:not(.title):before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transform: rotate(60deg);
  background: rgba(0, 166, 234, .3);
  position: absolute;
  z-index: -1;
  top:  -3px;
  left: -7.5px;
}

.texts h3 {
  font-size: 1.5em;
  margin: 40px 0 10px 0;
  border-bottom: 1px solid rgba(0,0,0, .1);
  position: relative;
  z-index: 1;
}

.texts h3:before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 5px;
  transform: rotate(60deg);
  background: #eee;
  position: absolute;
  z-index: -1;
  top:  -5px;
  left: -7.5px;
}

.texts h4 {
  font-size: 1.3em;
  margin: 40px 0 10px 0;
  position: relative;
  z-index: 1;
}

.texts h4:before {
  content: "";
  width: 25px;
  height: 25px;
  border-radius: 5px;
  transform: rotate(60deg);
  background: rgba(238, 238, 238, .4);
  position: absolute;
  z-index: -1;
  top:  -2.5px;
  left: -7.5px;
}


.texts h5 {
  font-size: 1.2em;
  margin: 40px 0 10px 0;
  font-style: italic;
}

.section {
  color: #D6D6D6;
  font-size: .8em;
}

.strelka {
  font-size: .8em;
  color: #D6D6D6;
}

.texts time {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  padding: 8px 0 0 0;
  margin: 0 15px 0 0;
  text-align: center;
  font-size: 1em;
  line-height: 1;
  color: rgba(255,255,255, .4);
  background: black;
  border-radius: 25px;
}

.texts time > div {
  font-size: .85em;
  margin-top: 3px;
  color: rgba(255,255,255, .8);
}

.texts a,
.texts a:visited {
  color: #00a6ea;
}

.texts a:hover {
  color: black;
}

.texts p {
  text-indent: 0;
  margin: 20px 0 10px 0;
  line-height: 1.5;
  text-align: justify;
}

.texts table {
  width: 100%;
  border: 0;
  margin: 30px 0;
  font-size: .9em;
}

.texts th {
  font-weight: bold;
}

.texts td,
.texts th {
  border-right: 1px solid gray;
  border-bottom: 1px solid gray;
  text-align: center;
  padding: 5px 10px;
}

.texts td:last-child,
.texts th:last-child {
  border-right: none;
}

.texts tr:last-child td {
  border-bottom: none;
}


img.article-image {
  float: left;
  margin: 0 30px 20px 0;
}

article {
  padding: 30px 0 70px 0;
  z-index: 2;
  position: relative;
}

article.individual-article {
  padding: 0 0 30px 0;
}

article img {
  max-width: 100%;
  height: auto;
  width: auto\9; /* ie8 */
}

article a.permlink {
  float: right;
  font-size: 1.4em;
  display: inline-block;
  margin-bottom: 15px;
 }

.splCont {
  display: none;
  padding: 3px 5px;
  background-color: #e9e9e9;
}

.texts ul,
.texts ol {
  margin: 0 0 0 30px;
}

.texts ul {
  list-style: square;
}

.texts ol {
  counter-reset:  item;
}

.texts ol li:before {
  content: counter(item) '. ';
  counter-increment: item;
  font-weight: 700;
}

.texts li {
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.texts em,
.texts i {
  font-style: italic;
  font-size: 1em;
}

.texts b,
.texts strong,
.texts strong .caps {
  font-weight: 700;
  font-size: 1em;
}

.texts pre {
  display: block;
  line-height: 1.5;
  overflow: auto;
  font-size: 1.3em;
  margin-bottom: 10px;
  white-space: normal;
}

.texts pre code {
  white-space: pre;
}

.texts pre code b {
  color: tomato;
}


.tags {
  padding: 0 15px;
  font-size: 0.9em;
  color: gray;
  margin: 15px 0;
}

.texts .tags p {
  line-height: 1;
  margin-bottom: 5px;
  text-align: right;
}

.texts .tags a,
.texts .tags span {
  color: black;
}

.texts .tags a:hover {
  color: #00a6ea;
}

#podeli {
  /*background: #f7f7f7;*/
  margin: 40px 0 15px 0;
}

#podeli .title {
  font-weight: 700;
  margin-bottom: 15px;
}
#podeli ul {
  margin: 0;
}

article img.align-right {
  float: left;
  margin-right: 30px;
}

  @media screen and (max-width: 770px) {
    .texts h2.title {
      font-size: 1.8em;
    }
    .texts time {
      display: none;
    }
  }

  @media screen and (max-width: 520px) {
    .tags, #header-section {
      display: none;
    }
    article {
      margin-bottom: 50px;
    }
    .texts p {
      clear: both;
    }
  }


/* ---------------------------------------------------------------------
  Блок рекламы cправа  -------------------------------------------------*/
#google_300_250 {
  margin: 5px 0 10px 0;
}

.popular-list li {
  margin: 25px 0;
  line-height: 1.3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.popular-list a {
  color: #2c2c2c;
  text-decoration: none;
  display: flex;
}

.popular-list a:hover {
  text-decoration: underline;
}

.comment-icon {
  width: 10px;
  height: 7px;
  display: inline-block;
  position: relative;
  top: 4px;
  margin-right: 3px;
  background: rgba(0,0,0, .2);
  border-radius: 4px;
}
.comment-icon:before {
  content: '';
  position: absolute;
  border-color: rgba(0,0,0, .2) transparent transparent;
  border-width: 4px 4px 0 0;
  border-style: solid;
  top: 100%;
  left: 4px;
}


input.error {
  width: 50%;
  margin-bottom: 200px;
}



.sideleft a, .sideleft a:visited {
  /*color: #00a6ea;*/
}
.sideleft a:hover {
  color: black;
}



.sideleft ul.recent_comments a {
  color: #00a6ea;
}

.sideleft ul.recent_comments a:hover {
  text-decoration: none;
}

.sideleft ul.recent_comments .title_comment a {
  color: #595959;
}

ul.recent_comments {
  font-size: 0.85em;
}

ul.recent_comments li {
  padding: 0 0 10px 0;
  list-style-type: none;
  line-height: 1.5;
}

/* ---------------------------------------------------------------------
  Навигация  -----------------------------------------------------------*/
  #navigation {
    font-size: 1.2em;
    margin: 20px 0 0 0;
    padding: 10px 0;
    width: 100%;
    background: #FAFAFA;
    color: #cacccc;
    border-top: 1px solid rgba(0,0,0, .1);
  }
  ul.paginator {
    list-style-type: none;
    width: 600px;
    padding: 20px 0 0 0;
    margin: 0 auto;
  }
    .paginator li {
      display: inline;
      margin: 0;
      padding: 0.5em;
    }
  ul.paginator_bottom {
    list-style-type: none;
    font-size: 2em;
    margin: 0 auto;
    padding: 0;
    width: 480px;
  }
    .paginator_bottom li {
      width: 49%;
      float: left;
      text-align: left;
      margin: 0;
      padding: 0.5em 0.5%;
    }
      .paginator_bottom li:last-child {
        text-align: right;
      }
  .paginator a, .paginator_bottom a {
    padding: 0 0.3em;
    margin: 0 -0.2em;
    text-decoration: none;
    color: black;
    background: #FAFAFA;
  }
    .paginator a:hover, .paginator_bottom a:hover {
      color: white;
      background: black;
      text-decoration: none;
    }
      .activ_paginator {
        background: black;
        color: white;
        border: 2px solid white;
      }
  .error {
    color: #2c2c2c;
    padding: 0 20%;
  }

  @media screen and (max-width: 480px) {
    ul.paginator {
      display: none;
    }
    ul.paginator_bottom {
      width: 200px;
    }
  }


/* ---------------------------------------------------------------------
  Подвал  -----------------------------------------------------------*/
  footer {
    margin-top: 100px;
    padding: 30px 0;
    background: #00a6ea;
    text-align: center;
    flex: 0 0 auto;
  }

  footer a,
  footer a:visited {
   font-weight: bold;
   color: white;
   background: #00a6ea;
  }

  footer a:hover {
   color: black;
   background: #00a6ea;
  }

  footer p {
    line-height: 1.5;
  }



/*--------------------------------------------------Подсветка кода----------------------------------------------------*/

.cod_output,
.cod {
  margin: 10px 0;
}

pre {
  background-color: #535353 !important;
  color: #fff;
  padding: 40px 10px 10px 10px;
  position: relative;
}

code {
  padding: 3px 5px;
  border-radius: 3px;
  background-color: #535353 !important;
  font-size: .9em;
  color: #b2b2b2;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  white-space: pre;
}

pre code {
  padding: 0;
  font-size: .7em;
}

pre code span:not([class]) {
  color: white;
  display: inline-block;
  width: 100%;
  transition: .2s ease;
  position: relative;
  cursor: pointer;
}

pre code span:active {
  background: #fd7e14;
  color: white;
  position: progress;
}

pre code span b {
  color: white;
}

.linux pre:not(.cod) code span:before {
  content: "usr@host:~$ ";
  color: gray;
}


.linux pre {
  border-radius: 10px 10px 3px 3px;
}

.linux pre:before {
  content: "";
  color: white;
  position: absolute;
  border-radius: 15px 15px 0 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 30px;
  background: #535353;
  /*background-position: 10px 10px;*/
  z-index: 5
}

.linux pre:after {
  content: "";
  color: white;
  position: absolute;
  top: 10px;
  right: 0;
  width: 135px;
  height: 30px;
  background: url(/i/ubuntu.svg) no-repeat;
  z-index: 6;
  transform: scale(.8);
  filter: saturate(150%);
}


.windows pre:not(.cod) code span:before,
.windows pre.cmd:not(.cod) code span:before,
.windows pre.win:not(.cod) code span:before {
  content: "C:\\usr\\admin> ";
  color: gray;
}

.macos pre:not(.cod) code span:before {
  content: "adminway@mac ~ % ";
  color: gray;
}

.macos pre {
  border-radius: 5px 5px 3px 3px;
}

.macos pre:before {
  content: "";
  color: white;
  position: absolute;
  border-radius: 5px 5px 0 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: url(/i/macos.svg) no-repeat #2b2525;
  background-position: 10px 10px;
  background-size: 8%;
  z-index: 5
}


pre.cisco {
  padding: 10px;
}
pre.cisco:not(.cod) code span.lvl-1:before {
  content: "adminway> ";
  color: gray;
}
pre.cisco:not(.cod) code span.lvl-2:before {
  content: "adminway# ";
  color: gray;
}
pre.cisco:not(.cod) code span.lvl-3:before {
  content: "adminway(config)# ";
  color: gray;
}


pre.mikrotik {
  padding: 10px;
}
pre.mikrotik:not(.cod) code span:before {
  content: "[admin@MikroTik]> ";
  color: gray;
}



kbd {
  font-size: .9em;
  white-space: nowrap;
}

kbd span:not(.caps) {
  display: inline-block;
  min-width: 40px;
  text-align: center;
  margin: 0 3px;
  padding: 0 7px;
  border: 1px solid #9FA6AD;
  border-image-slice: 1;
  border-radius: 3px;
  background: #E3E6E8;
  text-shadow: 1px 1px 0 white;
  position: relative;
  box-shadow: 0 1px 1px #DFDFDF;
}
kbd span:not(.caps):before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  background: white;
}
/*kbd span:not(.caps):after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: -2px;
  background: red;
}*/


details {
  margin: 20px 0 10px 0;
  padding: 10px 0 0 0;
  border-top: 1px dashed rgba(0,0,0, .2);
  border-bottom: 1px dashed rgba(0,0,0, .2);
}

details summary {
  user-select: none;
  cursor: pointer;
  margin-bottom: 10px;
  outline: none;
}

details summary::marker {
  color: #00a6ea;
}

details summary:before {
  content: "Спойлер: ";
  color: #00a6ea;
}



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

  code {
    white-space: pre-wrap;
  }
  .linux pre:not(.cod) code span:before {
    content: "$ ";
  }
  pre.cisco:not(.cod) code span.lvl-1:before {
    content: "> ";
  }
  pre.cisco:not(.cod) code span.lvl-2:before {
    content: "# ";
  }
  pre.cisco:not(.cod) code span.lvl-3:before {
    content: "(config)# ";
  }
  pre.mikrotik:not(.cod) code span:before {
    content: "> ";
  }
  .macos pre:not(.cod) code span:before {
    content: "% ";
    color: gray;
  }
}



/*---------------------------------Комментарии-----------------------------------------------------------------------*/
#comment.title {
  font-size: 1.2em;
  margin: 30px 0 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.comments .item,
#cpreview {
  padding: 15px;
  color: #595959;
  font-size: 0.9em;
  margin-bottom: 15px;
}

.comments {
  margin-top: 15px;
}

.comments blockquote {
  margin: 0;
}

.flex {
  display: flex;
}

.flex .txt {
  overflow-x: auto;
}


.comments span,
#cpreview span {
  color: #aaa;
}

.comments span.caps,
#cpreview span.caps {
  color: black;
}

.texts .comments p,
#cpreview p {
 color: black;
 padding: 5px 0;
 margin: 0;
 text-indent: 0;
 }

.comments img,
#cpreview img {
  float: left;
  margin: 0 15px 0 0;
  max-width: none;
}

.zit {
 margin-top: 0em;
 clear: both;
 }

.comments > div .zit a,
.comments > div .zit a:visited {
 font-weight:bold;
 color: black;
 }

.zit a:hover {
 color: black;
 }



.comments .l-1 {
  margin-left: -15px;
  border: 1px rgba(0,0,0, .03) solid;
}

.comments .l-2 {
  background: rgba(0,0,0, .015);
  margin-left: 30px;
}

.comments .l-3 {
  background: rgba(0,0,0, .020);
  margin-left: 80px;
}

.comments .l-4 {
  background: rgba(0,0,0, .025);
  margin-left: 110px;
}

.comments .l-5 {
  background: rgba(0,0,0, .025);
  margin-left: 140px;
}

.comments .l-6 {
  background: rgba(0,0,0, .030);
  margin-left: 170px;
}

.comments .l-7 {
  background: rgba(0,0,0, .035);
  margin-left: 200px;
}

.comments .l-8 {
  background: rgba(0,0,0, .040);
  margin-left: 230px;
}

.texts blockquote {
  padding: 0.5em;
  margin-left: 80px;
  background: #e5e5e5;
  text-indent:0;
  border-radius: 5px;
}

.texts blockquote p {
  text-indent: 0;
  margin: 0;
}

.comments-wrapper sup {
  color: red;
}

.comments-wrapper input.comment_name_input,
.comments-wrapper input.comment_email_input,
.comments-wrapper input.comment_web_input,
.comments-wrapper input.zemText {
  width: 50%;
  padding: 5px;
  margin: 5px 5px 5px 0;
  font-size: .9em;
  color: black;
}

.comments-wrapper input.comment_name_input,
.comments-wrapper input.comment_email_input,
.comments-wrapper input.comment_web_input {
  border: 1px solid rgba(0,0,0, .4);
  border-radius: 3px;
  background: white;
}

.comments-wrapper input.comment_name_input {
  flex-wrap: 700;
}

.comments-wrapper input#peg_replyto {
  border: 0;
  color: white;
  width: 5em;
  text-align: center;
  font-weight: bold;
  font-size: 0.9em;
  float: right;
  background-color: #00b7ff;
}

/*#txpCommentInputForm {
  background: #FAFAFA;
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
}*/
 
textarea.txpCommentInputMessage,
textarea.zemTextarea {
  height: 150px;
  font: .9em "Open Sans", Sans;
  border: 1px solid rgba(0,0,0, .4);
  border-radius: 3px;
  background: white;
  resize: vertical;
  padding: 5px;
  margin: 5px 5px 5px 0;
}

textarea.txpCommentInputMessage {
 width: 100%;
 }

textarea.zemTextarea {
 width: 90%;
 }

#cpreview {
 margin-bottom: 20px;
 background: white;
 }


#panel1, #panel2, #panel3, #panel4, #panel5, #panel6, #panel7, #panel8, #panel9, #panel10, #panel11, #panel12, #panel13, #panel14, #panel15, #panel16, #panel17, #panel18, #panel19, #panel20, #panel21 {
 height: auto;
 display: none;
 }

.links {
 text-align: left;
 max-width: 31em;
 overflow: auto;
 }

ol.related {
 text-align: left;
 }


/*Article edit*/
.article_edit {
  position: absolute;
  left: 5px;
  top: 450px;
  z-index: 10000;
  width: 40px;
}

.article_edit .edit {
  background: url(/images/corel_40.png);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  box-shadow: 0 0 5px black;
}

.article_edit .edit:hover {
  opacity: .8;
  box-shadow: 0 0 5px red;
}

.article_edit .count {
  margin: 5px 0 0 0;
  text-align: center;
}
/*end Article edit*/

.ads-in-article {
  margin: 30px 0;
  min-height: 200px;
}

iframe {
  z-index: 1;
}



.nav-cat {
  line-height: 1.5;
}

.nav-cat a,
.nav-cat a:visited {
  display: inline-block;
  margin-right: 10px;
  color:  black;
  font-weight: 400;
}

.nav-cat a:hover {
  text-decoration: none;
}

.nav-cat a.active {
  font-weight: 700;
}

.categoty-list-item {
  padding: 15px 0;
}

.categoty-list-item a {
  display: flex;
  align-items: center;
  font-weight: 300;
  text-decoration: none;
}

.categoty-list-item a:hover .title {
  text-decoration: underline;
}

.categoty-list-item a .img {
  width: 30px;
  min-width: 30px;
  margin: 0 15px 0 0;
  display: flex;
  align-items: center;
}

.categoty-list-item a img.article-image {
  width: 30px;
  min-width: 30px;
  height: auto;
  padding: 0;
  margin: 0;
  opacity: .5;
  transition: .2s ease;
  display: block;
}

.categoty-list-item a:hover img {
  opacity: 1;
}

.texts .categoty-list-item a h2.title {
  font-size: 1em;
}

.one-date-event a {
  display: flex;
  text-decoration: none;
  color: #2c2c2c;
  line-height: 1.2;
  margin-bottom: 10px;
}

.one-date-event a:hover .txt {
  text-decoration: underline;
}


.one-date-event .img {
  overflow: hidden;
  min-width: 50px;
  height: 50px;
  position: relative;
  margin-right: 10px;
}

.one-date-event .img img {
  position: absolute;
  left: -50%;
}

.one-date-event time {
  display: block;
  padding: 0;
  color: #3688b6;
  font-weight: 700;
}

.one-date-event .txt {
  text-align: left;
}




.sticky {
  position: sticky;
  top: 10px;
  /*font-size: .9em !important;*/
}

.oglavlenie li {
  line-height: 1.3;
  margin: 7.5px 0;
  font-weight: 700;
}

.oglavlenie li a.active {
  font-weight: 500;
  border-bottom: 1px solid #2c2c2c;
}

.oglavlenie ol {
  ounter-reset: num;
  margin-left: 20px;
}

.oglavlenie li {
  counter-increment: num;
}

.oglavlenie li::before {
  content: counter(num) '. ';
  margin-left: -17px;
}
 
/* 2-й уровень */
.oglavlenie ol ol {
  counter-reset: num2;
  margin-left: 27px;
}
.oglavlenie ol ol > li {
  counter-increment: num2;
}
.oglavlenie ol ol > li::before {
  content: counter(num) '.' counter(num2) '. ';
  margin-left: -27px;
}
 
/* 3-й уровень */
.oglavlenie ol ol ol {
  counter-reset: num3;
  margin-left: 35px;
}
.oglavlenie ol ol ol > li {
  counter-increment: num3;
}
.oglavlenie ol ol ol > li::before {
  content: counter(num) '.' counter(num2) '.' counter(num3) '. ';
  margin-left: -35px;
}
 


.oglavlenie a {
  color: #2c2c2c;
  line-height: 1.3;
  transition: .3s ease;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.oglavlenie a:hover {
  color: black;
  border-bottom: 1px dashed #2c2c2c;
}















