/* A1.1 */
  @import url(style_cs.1761745584.css);
  @import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

:root, medium {
  --toolbar-top: 160px;   /* пример! поменяй один раз и готово */
  --layout-width: 1000px; /* ширина #pun */

  --textarea-bg: #DBDBDB;          /* мягкий серый фон */
  --textarea-text: #666666;        /* основной текст */
  --textarea-border: #EEEEEE;   /* светлая граница */
  --textarea-focus-border: #809DBC;    /* рамка при фокусе-цвет */
  --textarea-border-width: 0px; 

  --bg-quote: #adadad;              /* цитаты и code-блоки */
  --text-quote-box: #565656;

  --button-bg: #809DBC;         /* базовый розовый фон */
  --button-text: #2B2B2B;       /* тёмный текст */
  --button-hover-bg: #DBDBDB;   /* мягкий серый при наведении */
  --button-hover-text: #888; /* белый текст при наведении */

  --scrollbar-track: #3B3C3D;
  --scrollbar-thumb: #809DBC;

  --selection-bg: #809DBC;
  --selection-text: #2B2B2B;

/* basic things */ 
  --padding-post-date: 20px;

/* table colors — title */
  --table-font: 'Pixelify Sans', sans-serif, Verdana;
  --table-font-size: 20px;
  --table-font-size-fname: 80px;
  --table-font-color: #809DBC;
  --table-plashka-bg: #809DBC;
  --table-font-text-color: #555; 
  --table-text-transform: initial;
  --table-font-style: normal;


—  /* ссылки */
  --link: #809DBC;
  --link-hover: #809DBC; /*#ffffff;*/
  --tcl-text: #666666;
  --tcr-link: #8B8B8B;

  /* navlink ulink */
  --nav-margint: -50px;
  --bg-nav: #2A2525;
  --bg-nav-deep: #809DBC;       /* navlinks контейнер */
  --bg-nav-hover: #809DBC;    /* navlinks:hover контейнер */
  --navlink-text: #CECECE;
  --navlink-hover-text: #000;
  --bg-ulinks: #809DBC;
  --ulink-text: #000;
  --ulink-hover-text: #000;
  --nav-height-button: 24px;


  --text-main:       #434343;           /* основной текст */
  --tcr-text:        #737576;          /* вторичный текст, tcr-text */  
  --tcl-text:        #666666;         /* вторичный текст, tcl-text */ 
  --text-h2-h1:      #809DBC;            /* текст заголовков */
  --text-h1:      #666666;            /* текст заголовков */
  --pun-status-text: #fff;       /* hallo world текст */ 

  --white: #fff;

  --bg-author: #d9d9d9;
  --bg-plashka: #999;
  --text-plashka: #fff;
  --text-author: #434343;

  /* Фоновые цвета */
  --bg-body: url('https://forumstatic.ru/files/001c/92/ae/26921.png');  /* фон страницы img */
  --bg-color:       rgba(120, 120, 120);        /* фон страницы  #66747B;  */
  --bg-posts:        #CCCBCB;        /* фон блоков: посты, контейнеры, pun */
  --bg-posts-alt:        #CCCBCB;        /* фон блоков: посты, контейнеры, pun */
  --bg-tr-forum:    #E4E4E4;       /* фон подложки под форумы ->tr id forum */ 

  --font-main: Verdana, Arial, sans-serif;
  --font-navlinks: Montserrat, Verdana, Arial, sans-serif;
  --font-size: 10px;
  --font-navlinks-style: uppercase;
  --line-height: 1.5;

  --bg-category-a: url('https://forumstatic.ru/files/001c/92/ae/77591.png');
  --bg-category-b: url('https://forumstatic.ru/files/001c/92/ae/15837.png');
  --bg-category-c: url('https://forumstatic.ru/files/001c/82/d2/89643.png?v=1');

  --header: url('http://forumstatic.ru/files/001c/92/ae/87115.png');
  --footer: url('https://forumstatic.ru/files/001c/92/ae/83846.png');
  --hh-height: 351px;
  --forum-spacing: 12px;
  --border-light: #969696;
  --radius-pill: 8px 8px 0px 0px;
  --radius-pill2: 0px 0px 8px 8px;

  --radius-block1: 20px 20px 0px 0px;
  --radius-block2: 0px 0px 20px 20px;

/*иконки*/
  --icon-old: url('https://forumstatic.ru/files/001c/92/ae/52642.png');
  --icon-new: url('https://forumstatic.ru/files/001c/92/ae/81381.png');
  --icon-width: 62px;
  --icon-height:39px;

/*ввер-вниз*/
--button-updown-width:60px;
--button-updown-height:26px;
--button-margin-left:1040px;
--button-up:url(http://forumstatic.ru/files/001c/92/ae/55219.png);
--button-down:url(http://forumstatic.ru/files/001c/92/ae/54034.png);

}

/* variables */
.light {
  --bg-body: url('http://forumstatic.ru/files/001c/92/ae/13689.png'); 
        }
.dark {
  --bg-posts:        #454545;        /* фон блоков: посты, контейнеры, pun */
  --bg-posts-alt:        #454545;        /* фон блоков: посты, контейнеры, pun */
  --text-main:       #BFBCB8;           /* основной текст */
  --tcr-text:        #9F9F9F;          /* вторичный текст, tcr-text */  
  --tcl-text:        #9F9F9F;         /* вторичный текст, tcl-text */ 

  --textarea-bg: #323232;          /* мягкий серый фон */
  --textarea-text: #9D9D9D;        /* основной текст */
  --textarea-border: #323232;   /* светлая граница */
  --textarea-focus-border: #323232;    /* рамка при фокусе-цвет */
  --textarea-border-width: 0px; 

  --bg-plashka: #323232;
  --text-plashka: #9D9D9D;
  --bg-quote: #323232;              /* цитаты и code-блоки */
  --text-quote-box: #9D9D9D;
  --bg-author: #393939;
  --text-author: #9D9D9D;

}

.punbb .quote-box{padding-right: 12%!important;
}

.punbb .quote-box, .punbb .code-box {
padding: 4px;
font-size: 8px;
border-top: 1px dashed #565656;
border-radius: var(--radius-pill2);
}


#pun-main {padding-right: 20px;}
#pun-status, #pun-stats, #pun-main {padding-left: 30px!important;}

#pun-navlinks {position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:10;margin-top:var(--nav-margint)}


/*image logo
-------------------------------------------------------------*/
#pun-title table {background-image:var(--header);background-repeat:no-repeat;background-position:center top;background-size:cover;height:351px!important;width:100%}#pun-title h1 span{display:none}



/* navlinks; ulinks 
-------------------------------------------------------------*/
#pun-navlinks ul, #pun-ulinks ul {display: flex; justify-content: center; padding: 0; margin: 0;}
#pun-navlinks ul {gap: 12px;} #pun-ulinks ul {gap: 8px;} 
#pun-navlinks li, #pun-ulinks li {list-style: none;}
#pun-navlinks a {
  display: inline-block;
  background-color: var(--bg-nav);
  color: black;
  font-family: var(--font-navlinks);
  text-transform: var(--font-navlinks-style);
  font-size: var(--font-size);
  font-weight: 400;
  line-height: 1.45;
  padding: 0 12px;
  height: var(--nav-height-button);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
#pun-navlinks {position:absolute; top:26px;}
#pun-ulinks {position:absolute;top:0px;left:142px;align-items:center!important;width:716px;height:14px;background-color: var(--bg-ulinks);  line-height: .9; padding:0px!important;}


/* базовая типографика */
body {
  font-family: var(--font-main);
  font-size: var(--font-size);
  line-height: var(--line-height);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;

  background: var(--bg-body) repeat center top fixed;
  background-size: auto; 
  background-color: var(--bg-color); 
}


/* стилизация текстовой области в форме ответа */
#pun-main .formal textarea {
  font-family: var(--font-main);
  font-size: var(--font-size);
  border: 1px solid var(--border-light);
  padding: 5px;
  width: 100%;
  box-sizing: border-box;
}

/* выравнивание содержимого внутри */
#pun > * {text-align: justify;}
/* базовая ширина и структура */
#pun {width: 1000px; margin: 0 auto;
  border-radius: 60px;}
/* тексты и заголовки в lower-case */
#pun h1, h2, h3, .container a, .crumbs, .category, .section, .modmenu, .legend, .post-links a, .forum-desc, .pa-author, .pa-title, .pa-respect, .pa-positive, .pa-time-visit, div.postlink, div.subscribelink, .post-author, .pagelink, #pun-live-rusff, #post > fieldset:nth-child(2) > legend {text-transform: lowercase;}
.post-content {text-transform: none;}
/*убрать текст предпросмотр*/
#post-preview > legend > span {display:none;}
/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {font-size: 1em;
  font-weight: normal;}
/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {font-size: 1.1em;}
/* A3.8 */
.punbb .post-content em {font-style: italic}
/* A3.9 */
.punbb .post-content em.bbuline {font-style: normal;
  text-decoration: underline;}
/* A3.10 */
.punbb a {text-decoration: underline}

/* убираем лишнюю обводку*/
.punbb .post-box, .punbb fieldset .post-box, .punbb .formal fieldset {border: none; padding: 0; margin: 0;}


/* category, table -------------------------------------------------------------*/
.punbb .main table {table-layout: fixed; width: 100%; padding-bottom:6px; text-align: justify;}
.punbb .main .tcl {width: 600px; overflow: hidden; text-overflow: ellipsis; padding-bottom:25px;}
.punbb .main .tc2, .punbb .main .tc3 {width: 0%!imporant; text-align: center;}
.punbb .main .tcr {width: 200px; white-space: wrap; text-align: right; padding-right:30px;}
.punbb .main thead {display: none;}

#pun-category1 h2, #pun-category3 h2, #pun-category5 h2, #pun-category7 h2 {background-image: var(--bg-category-b);}
#pun-category2 h2, #pun-category4 h2, #pun-category6 h2, #pun-category8 h2 {background-image: var(--bg-category-a);}

#pun-main h2 {
  background-repeat: no-repeat;
  background-position: center;
  font-family: 'Arial Black', sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  letter-spacing: 0.5px;
  padding: 10px;
  margin: 0; 
  height: 20px;
}
/*
-------------------------------------------------------------*/



/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/
/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  list-style: none;
  }

/* A2.4 */
.punbb img, li.pa-avatar {
  border:none;
  }

/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;}
/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden}

/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */
#pun {position: relative; margin-top:80px; margin-bottom:80px;}
/* A5.3 */
#pun-redirect, #pun-maint {margin: 50px 20% 12px 20%; width:auto;float: none;}
/* A5.4 */
.punbb .section, .punbb .main {margin-bottom: 1em;}
/* A5.5 */
.punbb .category, .punbb .post {margin-top: 0.4em;}
/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {margin-top: 0;}
/* 5.7 */
#pun-post .topic {margin-top: 1em;}
/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {}
/* A5.9 */
.punbb .container {}
/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {padding: 0.5em 1em;
  border-style: none;}

/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;}
/* B1.2 */
.punbb .post-sig dt {display: block;
  width: 250px;
  margin: 5px 0;}
/* B1.3 */
.punbb .post-content p {margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;}
/* B1.4 */
.punbb .post-content img {vertical-align: text-bottom}
/* B1.5 */
.punbb .post-content img.postimg {vertical-align: middle;}
/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {width: 100%;
  overflow: hidden;}
/* B1.7 */
.punbb .post-content .scrollbox {width: 100%;
  overflow: auto;}
/* B2.3 */
.punbb #pun-main .info-box .legend {font-size: 1.1em;
  font-weight: bold;}
/* B3.4 */
.linkst .postlink {
    text-align: right!important;
}
/* B3.7 */
.linksb .postlink {
    float: right!important;
    width: auto;
}
.postlink.long {
    width: auto !important;
}
/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {padding: 1.7em 2.3em 1.1em 2.3em;}
/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {margin: 0 0.6em 0 0}
/* C1.14 */
.punbb .datafield span.input a {font-weight: normal;}
/* C1.21 */
#pun-post .formal .info-box li {padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;}
/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {width: 40%}
/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {text-align: left;
  width: 20%;}
/* C2.6 */
#pun-debug table .tcl {width: 15%;
  white-space:normal;}
/* C2.7 */
#pun-debug .tcr {width: 90%;
  white-space: normal;}
/* C2.8 */
#pun-index .tcl h3 {font-size: 1.2em;
  font-weight: bold;}
/* C2.9 */
.punbb td span.youposted {font-weight: bold;
  margin-left: -1em;
  position: absolute;}
/* C2.10 */
.punbb td .modlist {display: block;
  padding-top: 0.3em}
/* C2.11 */
.punbb .main td {padding: 0.8em 1em;}
/* C2.12 */
.punbb .main th {padding: 0.4em 1em 0.4em 1em;}
/* C2.14 */
.punbb tbody.hasicon td.tcl {padding-left: 3.2em}
/* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {margin-top: -1px;
  padding-bottom: 1px;}
/* C3.2 */
.punbb .post h3 {}
/* C3.3 */
.punbb .post h3 span {padding: 0.5em 1em;
  display: block;
  margin-left: 19em;}
/* C3.4 */
.punbb .post h3 strong {float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;}
/* C3.5 */
.punbb .post .post-author {float: left;
  width: 19em;
/*  margin-top: -1.5em;*/
  overflow: hidden;}
/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {padding: 0 1em 1em 1em;
  line-height: 140%;}
/* C3.8 */
.pa-author a {text-decoration: none}
/* C3.11 */
.punbb .post-body {margin-left: 200px;
  padding: 2px 4px;
  background-color: var(--bg-posts-alt);
  background-repeat: repeat;
  background-position: center top;
  border-top: 1px dotted #595959!important;}
/* C3.12 */
.punbb .post-box {padding: 1em;}
/*C3.13 */
.punbb fieldset .post-box {margin-bottom: 0.8em}
/* C3.14 */
.punbb .post-links {margin-left: 19em;}
/* C3.15 */
.punbb .post-links ul {padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  background: transparent;
  text-align: right;}
/* C3.16 */
.punbb .post-links li {display: inline;
  padding-left: 1em;}
/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {padding: 0.5em 1em;
  text-align: right;}
/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {height: 1.8em;
  line-height: 1.8em;}
/* C4.3 */
.punbb .modmenu .container strong {float: left;}
/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {padding: 0.8em 1em}
/* C5.2 */
.punbb .info .container .backlink {padding-top: 0.8em;}
/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {padding-left: 18.6em;}
/* C6.5 */
#viewprofile h2, #profilenav h2 {background: transparent;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;}
/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {padding: 0 5px;
  position: relative;}
/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {margin-bottom: 0;}
/* C7.2 */
#pun-userlist .usertable .container {padding: 0 2.3em 2.3em 2.3em;}
/* C7.3 */
#pun-userlist .usertable table {}
/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {margin: 0;}
/* D1.2 */
#pun-title h1 {display : block;
  height : 40px;
  padding: 2em 1em 0 1em;}
/* D1.3 */
#pun-title .container {}
/* D1.4 */
#pun-title h1 span {font-size: 1.5em;}
#pun-title td.title-logo-tdl {width: 100%;}
#pun-title td.title-logo-tdr {width: 468px;}
/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;}
/* D2.2 */
#pun-pagelinks .container {background: transparent;
  padding: 0}
/* D2.3 */
#pun-pagelinks .container li {display: inline}
/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;}
/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {position:relative;
  margin: 0;}
#pun-pagelinks li a span {display:block;
  margin: 0 1em}

-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {margin-top: 0;}
/* D4.2 
#pun-ulinks .container {padding: 0.7em 1em;}
*/
#pun-ulinks .container {padding: 0;
width:716px;}
/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {display: inline;
  white-space: nowrap;}
/* D4.4 */
#pun-ulinks li a {padding: 0 0.3em 0 0.6em}
/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {padding-left: 0}
/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status, #pun-status .container {margin-bottom: 0;}
/* D5.2 */
#pun-status .container {padding: 0;}
/* D5.3 */
#pun-status span {white-space: nowrap; 
  margin-right: 1.2em;}
/* D5.4 */
#pun-crumbs1 {font-weight: bold;
  overflow: hidden;
  margin-top: 0;}
/* D5.5 */
#pun-crumbs1 p.container {padding: 1em 1em 0.8em 1em;
  font-size: 1.1em;}
/* D5.6 */
#pun-break1 {margin: 0 1em;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;}
/* D6 Announcement
-------------------------------------------------------------*/

/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -180px;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {

  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px 0em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {padding: 0.8em 1em}
/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {float: left;
  clear: both;
  line-height: 150%;}
/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {text-align: right;
  line-height: 150%;}
/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {margin: 0;
  width: 50%;
  position: relative;
  float: left;}
/* D8.2 */
#pun-qjump .container {background: transparent;
  padding: 0.8em 1em;}
/* D8.3 */
#pun-about {margin-top: 0;}
/* D8.4 */
#pun-about .container {text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;}
/* D8.5 */
#pun-about p span {display:block;
  padding-left: 50%;}
/* D8.6 */
#pun-crumbs2 {font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;}
/* D8.7 */
#pun-crumbs2 .container {padding: 0.8em 1em;
  font-size: 1.1em;}
/* D8.8 */
#pun-break4 {margin: -2px 1em;
  position: relative;
  height: 0;
  z-index: 1;}
/* D8.9 */
div.punbb-admin #pun-about .container {}
/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {padding-bottom: 0;
  margin-bottom: 0.8em;}
/* D9.2 */
#pun-help .formal .info-box h3.legend span {padding-bottom: 0.6em;
  display: block;
  font-size: 1.1em;}
/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {margin-bottom: 1em}
/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {padding: 0 0 0 1em}
/* D9.5 */
#pun-help .formal li {padding: 0;
  line-height: 130%}
/* D9.6 */
#pun-help .formal li * {vertical-align: text-top}
/* D9.7 */
#pun-help .formal dt span {font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace}
/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {padding-bottom: 0;}

/* кнопки вверх-вниз 
-------------------------------------------------------------*/
.go-up,
.go-down {
  cursor: pointer;
  opacity: .8;
  z-index: 9999;
  display: none;
  position: fixed;
  box-sizing: border-box;
  transition: all .3s linear 0s;
  right: 20px; /* вместо margin-left */
}

.go-up {
  background: var(--button-up) no-repeat center top;
  top: 400px;
  height: var(--button-updown-height);
  width: var(--button-updown-width);
}

.go-down {
  background: var(--button-down) no-repeat center top;
  top: 440px;
  height: var(--button-updown-height);
  width: var(--button-updown-width);
}

.go-down:hover,
.go-up:hover {
  opacity: 1;
}

/* mobile fix */
@media (max-width: 768px) {

  .go-up, .go-down, #ToTop, #OnBottom {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    right: auto !important;
    margin-left: 0 !important;}

  body {
    display: block !important;
    justify-content: initial !important;
    align-items: initial !important;
  }
#pun {margin-top:30px;margin-bottom:30px;}

}
