/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.0 */
html {
  background-color: rgba(34, 34, 34, 1);
}

#pun {
  background: rgba(220, 220, 220, 1);
}
#pun-title {
  background-color: rgba(34, 34, 34, 1);
}

/* CS1.1 */
.punbb .section .container, .punbb .modmenu .container,
.punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  color: rgba(34, 34, 34, 1);
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background: none;
  border: none;
  color: rgba(34, 34, 34, 1);
  }

.adformal h2, #pun-adnav h2 {
  background: none!important;
}

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  font-family: 'Alegreya', serif;
  color: rgba(34, 34, 34, 1);
  font-weight: 700;

  text-transform: uppercase;  

  margin: 3px auto 0;
  padding: 0 0 10px 0!important;

  border: none!important;
  }

/* CS1.4 */
#pun-title, #pun-title .container {
  background-color: none;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, 
.punbb-admin #pun-admain legend span {
  background-color: rgba(34, 34, 34, 1);
  color: rgba(220, 220, 220, 1);
  text-shadow: none;
  }

/* CS1.6 */


.punbb .post h3 span {
  background-color: transparent;
  color: #333
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  margin-top: 5px;
  border: 1px solid rgba(34, 34, 34, 1);
}

.punbb .quote-box cite, .punbb .code-box .legend, .punbb .spoiler-box > div {
  height: 27px;
  padding: 0 20px!important;
  border-bottom: 1px solid rgba(34, 34, 34, 1);
  font-size: 14px!important;
  font-family: 'Alegreya Sans', sans-serif;
  line-height: 30px;
  letter-spacing: 0px !important;
}
.punbb .code-box .legend {
  line-height: 27px !important;
}
.punbb .quote-box cite {
  line-height: 28px;
}

.punbb .code-box .legend {
  font-family: 'Alegreya', serif;
}

.punbb .post-content blockquote {
  padding: 5px 30px 10px 20px;
}

.punbb .post-content blockquote p {
  padding-bottom: 0 !important;
}

.post-content .quote-box.with-avatar {
  width: calc(100% - 2px);
  padding-left: 0 !important;
}

.post-content .quote-box.with-avatar cite {
  border-bottom: 1px solid rgba(34, 34, 34, 1);
  font-weight: 500;

  letter-spacing: 1px !important;
}

.post-content .quote-box.with-avatar .author-avatar {
  float: none;
  width: 33px;
  margin-left: 0;
  margin-top: 0;
}

.post-content .quote-box.with-avatar .author-avatar img {
  display: none;
}

.post-content .quote-box.with-avatar .author-avatar+span {
  margin-left: 0;
}

.post-content .quote-box.with-avatar .qc-post-link img {
  display: none;
}

.post-content .quote-box.with-avatar .qc-post-link a {
  position: relative;
}

.post-content .quote-box.with-avatar .qc-post-link a::after {
  position: absolute;
  content: '»';
  
  top: -9px;
  left: -10px;

  height: 29px;


  font-size: 16px;

  padding: 0 12px 0 15px;
}

/* CS1.8 */
#pun-navlinks {
  height: 24px;
  background: none;
  }

#pun-navlinks .container {
  background: rgba(24, 24, 24, 1);

  border-top: 3px solid rgba(220, 220, 220, 1);
  border-left: none;
  border-right: none;
  border-bottom: none;

  color: rgba(220, 220, 220, 1);
}

/* CS1.10 */
.offline li.pa-online strong {
  font-weight: normal
  }



/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */
.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
  color: rgba(202, 7, 0, 1);
  letter-spacing: .5px;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: rgba(34, 34, 34, 1);
  }

/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active {
  color: rgba(0, 0, 0, 1);
  text-decoration: none;
  }

.punbb-admin #pun-admain .nodefault, .punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
  color: rgba(0, 0, 0, 1)!important;
  text-decoration: none;
 }

/* CS3.3 */
#pun-navlinks a {
  color: rgba(220, 220, 220, 1);
  text-decoration: none;
  }

#pun-ulinks li a {
  color: rgba(167, 167, 167);
  line-height: 24px;
  font-weight: 400;
  }

/* CS3.4 */
#pun-navlinks li a:hover, #pun-navlinks li a:focus {
  color: rgba(255, 255, 255, 1)!important;
  }

#pun-navlinks .isactive a {
  color: rgba(255, 255, 255, 1!important);
  position: relative;
  }

#pun-ulinks li a:hover, #pun-ulinks li a:focus {
  color: rgba(255, 255, 255, 1)!important;
  text-decoration: none;
}

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  color: #fff;
  }


/* CS4 Post status icons
 -------------------------------------------------------------*/

/* CS4.1 */
.punbb tr div.icon {
  background: transparent url(http://forumfiles.ru/files/0019/44/f9/29290.png) no-repeat;
  }

.punbb tr.inew div.icon {
  background: transparent url(http://forumfiles.ru/files/0019/44/f9/32369.png) no-repeat;
  }

.punbb tr.iredirect div.icon {
  background: transparent url(http://forumfiles.ru/files/0019/44/f9/32369.png) no-repeat;
  }

.punbb tr.inew.iclosed div.icon {
  background: transparent url(http://forumfiles.ru/files/0019/44/f9/48607.png) no-repeat;
  }

.punbb tr.iclosed:not(.inew) div.icon {
  background: transparent url(http://forumfiles.ru/files/0019/44/f9/48607.png) no-repeat;
  }

.punbb tr.inew.isticky div.icon,
.punbb tr.inewisticky  div.icon,
.punbb tr.iclosed.inewisticky div.icon {
  background: transparent url(http://forumfiles.ru/files/0019/44/f9/32369.png) no-repeat;
  }

.punbb tr.isticky:not(.inew) div.icon {
  background: transparent url(http://forumfiles.ru/files/0019/44/f9/32369.png) no-repeat;
  }

/* CS4.2 */
.punbb .closedatafield {
  display: inline-block;
  width: 0;
  padding-right: 11px;
  font-size: 0;
  color: transparent;
  }


/* CS5 Additional styles
-------------------------------------------------------------*/

/* CS5.1 */
#pun-main div.catleft, #pun-main div.catright {
  display: none
  }

#pun tr.iredirect .tc2:before,
#pun tr.iredirect .tc3:before {
  content: none !important
  }

/* CS5.3 */
.tipsy-inner, .tipsy-arrow {
  font-family: Tahoma;
  font-size: 11px;
  opacity: 0.8 !important;
  }

/* CS5.4 */
#BookmCntToggle {
  width: 26px !important;
  height: 26px !important;
  opacity: .5 !important;
  cursor: pointer;
  z-index: 1;
}

#BookmCntToggle:hover {
  opacity: 1!important;
  }

#MyBookmarks h2, #MyBookmarks h1, .editBookmark h1 {
  margin-bottom: 0 !important;
  }

/* CS5.6 */
form .button, input[type="submit"], #pun-admain input.button, input.button, button.khX {
  height: 29px;
  font-size: 14px;
  font-family: 'Alegreya', serif !important;
  text-transform: uppercase !important;
  background: rgba(255, 255, 255, .5) !important;

  padding: 6px 15px 5px !important;

  margin-top: 5px !important;
  margin-bottom: 15px !important;

  cursor: pointer !important;

  border: none;
  line-height: 11px !important;
  margin-top: 0 !important;
  margin-bottom: 0px !important;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}

button.khX {
  font-size: 10px !important;
  height: 22px !important;
}

form .button:hover, form .button:focus, input[type="submit"]:hover, input[type="submit"]:focus, #pun-admain input.button:hover, #pun-admain input.button:focus, input.button:hover, input.button:focus, button.khX:hover, button.khX:focus {
  text-decoration: none;
  background: rgba(202, 7, 0, 1) !important;
  color: rgba(255, 255, 255, 1) !important;
}

form .button:active, input[type="submit"]:active, #pun-admain input.button:active, input.button:active, button.khX:active {
  text-decoration: none;
  background: rgba(34, 34, 34, 1) !important;
  color: rgba(255, 255, 255, 1) !important;
}

form .button:disabled, input[type="submit"]:disabled, #pun-admain input.button:disabled {
  opacity: .6;
  cursor: default;
  box-shadow: none;
  }

/* CS5.7 */
#profilenav li a:hover {
  color: rgba(34, 34, 34, 1);
  text-decoration: none !important;
  }

#profilenav li.isactive a {
  text-decoration: none !important;
}


/* Стили для всплывающей информации аватар */

.pa-avatar > div {
  position: relative;
  display: inline-block;

  width: 100% !important;
  max-width: 172px;
  height: 100% !important;
  max-height: 172px !important;

  margin: auto;
  padding: 0;

  -webkit-box-shadow: inset 0 0 0 6px rgba(220, 220, 220, 1);
     -moz-box-shadow: inset 0 0 0 6px rgba(220, 220, 220, 1);
       -o-box-shadow: inset 0 0 0 6px rgba(220, 220, 220, 1);
          box-shadow: inset 0 0 0 6px rgba(220, 220, 220, 1);
}

.pa-avatar > div > img {
  z-index: 1;
  width: 100%;
  max-width: 170px;
  height: auto;
  max-height: 170px;
  border: 1px solid rgba(34, 34, 34, 1);
}

.pa-avatar > div > span {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  margin: 0;
  width: 100% !important;
  height: 100% !important;
  font-size: 13px;
  line-height: 20px;
  padding: 30px 10px;
  display: block;
  background-color: rgba(0, 0, 0, .8);
  background-image: url(http://forumfiles.ru/files/0019/44/f9/24107.png) !important;
  opacity: 0;
  transition: opacity 0.6s;
  z-index: 9;
  box-sizing: border-box;
  color: rgba(220, 220, 220, .7);
}
.pa-avatar:hover > div>span{
  opacity: 1.0;
}
#pun-navlinks li#navblogs {
margin-top: -20px;
}

/* END. Стили для всплывающей информации аватар */


/* Аватар перед последним сообщением */ 

.punbb .tcr .user-avatar img.ava {
  border: 1px solid rgba(34, 34, 34, 1) !important;
  border-radius: 0% !important;
  height: 32px !important;
  width: 32px !important;

  margin-top: 0;
  margin-left: 10px;
  margin-right: 5px;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}

.punbb .user-avatar img.on_ {
  height: 5px !important;
  width: 5px !important;

  margin: 6px 9px 0 -17px !important;

  -webkit-animation: blinkColor 1.5s linear infinite !important;
     -moz-animation: blinkColor 1.5s linear infinite !important;
      -ms-animation: blinkColor 1.5s linear infinite !important;
       -o-animation: blinkColor 1.5s linear infinite !important;
          animation: blinkColor 1.5s linear infinite !important;

  background: rgba(202, 7, 0, 1) !important;
}

/* END. Аватар перед последним сообщением */ 


/* Ссылки в описании */

.description {
  float: left;
  width: 52%;
  text-align: justify !important;
  box-sizing: border-box;
  padding-right: 8px;
}

.description.full {
  width: 100% !important;
  float: none;
  padding-right: 12px;
}

div.mainLinks, .subforums {
  float: right !important;
  display: block !important;

  width: 45% !important;

  border: 1px solid rgba(34, 34, 34, 1);

  margin-top: 32px !important;
  margin-right: 12px !important;
  font-size: 14px;

  box-sizing: border-box !important;
}

#f-subforums .intd {
  position: relative !important;
}

#f-subforums td {
  padding-top: 5px !important;
}

.subforums {
  padding: 0px;
  position: absolute;
  right: 0;
  top: 3px;
  width: 38.5% !important;

  margin-left: 0 !important;
}

#forum_f40 .subforums, #forum_f13 .subforums {
  margin-top: 0 !important;
  margin-left: 0;
  position: relative !important;
  overflow: hidden;
  top: 15px;
  width: 44.2% !important;
}
#forum_f40 .spoilerMain, #forum_f13 .spoilerMain {
  float: left;
}

.Inner span {
  padding: 3px 10px;
}
#forum_f40 .subforums .Inner {
  overflow: hidden;
  float: right;
}
#forum_f40 .subforums .Inner span {
  float: left;
}

#forum_f40 .subforums .Inner span.sf41 {
  padding-right: 12px;
  border-right: 1px solid rgba(34, 34, 34, 1);
}

.mainLink a {
  font-weight: 400;
}

.mainLinks .mainLink a, .subforums span {
  font-weight: 700;
  font-size: 13px !important;
}

.subforums span.sf49 {
  border-bottom: 1px solid rgba(34, 34, 34, 1);
}

p.mainLink {
  margin-bottom: 5px !important;
}

.mainLinks p.mainLink {
  border-bottom: 1px solid rgba(34, 34, 34, 1);
  padding: 3px 12px;
  margin-bottom: 0 !important;
}

.d_title {
  display: none;
}

.mainLinks ul.mainLinks_top, .mainLinks ul.mainLinks_bottom {
  text-align: right;

  padding: 0 12px;
}

.mainLinks ul.mainLinks_top {
  border-bottom: 1px solid rgba(34, 34, 34, 1);
}

.mainLinks ul li {
  display: inline-block;

  height: 18px;

  border-left: 1px solid rgba(34, 34, 34, 1);

  padding: 3px 6px 0px;
}

.mainLinks ul li:first-child {
  border-left: none;
}

.mainLinks ul li:last-child {
  padding-right: 0;
}

/* END. Ссылки в описании */


/* Ссылки в описании*/ 

div.mainLinks {
  position: relative;
  float: right;
  display: block;

  width: 50%;

  border: 1px solid rgba(34, 34, 34, 1);

  margin-top: 28px !important;
  margin-right: 12px !important;
  margin-left: 0 !important;

  box-sizing: border-box;
}


.mainLinks p.mainLink {
  border-bottom: 1px solid rgba(34, 34, 34, 1);
  padding: 3px 10px 2px;
  text-align: right;
}

.mainLinks ul.mainLinks_top, .mainLinks ul.mainLinks_bottom {
  text-align: right;

  padding: 0 10px;
}

.mainLinks ul.mainLinks_top {
  border-bottom: 1px solid rgba(34, 34, 34, 1);
}

.mainLinks ul li {
  display: inline-block;

  height: 19px;

  border-left: 1px solid rgba(34, 34, 34, 1);

  padding: 3px 8px 0;
}

.mainLinks ul li:first-child {
  border-left: none;
}

.mainLinks ul li:last-child {
  padding-right: 0;
}

div#pun-live-rusff {
  display: none;
}


/* Прокрутка вверх-вниз */

.yrarrows {
  position:fixed;
  right: 1.3%;
  bottom: 45%;
}

.yrarrows a.bottom > img, .yrarrows a.top > img {
  width: 50px;

  opacity: .5;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}
.yrarrows a.bottom:hover img, .yrarrows a.top:hover img {
  opacity: 1;
}

/* END. Прокрутка вверх-вниз */


/* Скролл */

::-webkit-scrollbar {width: 11px; height: 11px;}  
::-webkit-scrollbar-track {background-color: rgba(0, 0, 0, 1);} 
::-webkit-scrollbar-thumb {background-color: rgba(255, 255, 255, .3);}
::-webkit-scrollbar-thumb:active {background: rgba(255, 255, 255, .5);}

/* END. Скролл */


/* Выделение кода */ 

::selection {
background: rgba(255, 255, 255, .6); color: rgba(34, 34, 34, 1); 
}
::-moz-selection { 
background: rgba(255, 255, 255, .6); color: rgba(34, 34, 34, 1); 
}

/* END. Выделение кода */ 


/* Разделитель */ 

hr {
  border-top: 1px solid rgba(34, 34, 34, 1); 
  border-bottom: none;

  margin: 12px 0 !important;

  opacity: 1!important;
}

/* END. Разделитель */ 


/* Таблица в постах */

.post-content table {
  margin: 10px 0 10px !important;
}

.post-content td {
  vertical-align: top;

  border: 1px solid rgba(34, 34, 34, 1) !important;
}
.post-body .post-content td {
  padding: 8px 15px !important;
}

.post-content td:first-child {
  border-left: none !important;
  padding-left: 0 !important;
}
.post-content td:last-child {
  border-right: none !important;
  padding-right: 0 !important;
}


/* END. Таблица в постах */


/* Стили для админки */ 

#pun-admain .adlabel {
  width: 13em !important;
}

#pun-admain fieldset p {
  background-color: rgba(255, 255, 255, .2) !important;
  border-color: rgba(214, 214, 214, 1);
}

#pun-admain fieldset p.contains-textarea {
  background-color: rgba(255, 255, 255, 0) !important;
}


#pun-adnav li {
  padding-left: 0 !important;
}

.punbb-admin #pun-admain .adcontainer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.adformal {
  border: none !important;
}



/* Закладки */ 

#MyBookmarks {
  background: rgba(225, 225, 225, 1) !important;

  padding-top: 20px;

  box-shadow: 0 0 1px rgba(0,0,0,.5) !important;
}

#BookmCntToggle {
  background: url(http://forumfiles.ru/files/0019/44/f9/96090.png) center center no-repeat !important;
}

#MyBookmarks li span strong {
  color: rgba(0, 0, 0, 1) !important;
}
#MyBookmarks li span strong:hover {
  color: rgba(202, 7, 0, 1) !important;
}

#MyBookmarks h2 span {
  background-color: rgba(34, 34, 34, 1) !important;

  color: rgba(220, 220, 220, 1) !important;
  font-size: 1rem !important;
  letter-spacing: 2px !important;

  border: none !important;
  padding: 2px 10px 1px !important;

  margin-left: 15px;
}

#MyBookmarks h2 span.firstWord {
  padding: 0 !important;
  margin-left: 0 !important;
}

#MyBookmarks #bm2 {
  top: -10px !important;
}

#MyBookmarks #bm2:hover {
  border-color: transparent rgba(202, 7, 0, 1) transparent transparent;
}

#MyBookmarks span.scrl {
  color: rgba(34, 34, 34, 1) !important;
  font-size: 15px !important;
  letter-spacing: 3px;
  text-shadow: none !important;

  padding: 2px 0 !important;
}

#MyBookmarks span.scrl:hover {
  color: rgba(202, 7, 0, 1) !important;
}

#MyBookmarks span.scrl.b, #MyBookmarks span.scrl.t {
  border-top: 1px solid rgba(34, 34, 34, 1) !important;
  border-bottom: 1px solid rgba(34, 34, 34, 1) !important;

  margin-top: 1px !important;

  box-shadow: none !important;
}
#MyBookmarks span.scrl span::before {
  content: 'вверх' !important;
}

#MyBookmarks span.scrl.b span::before {
  content: 'вниз' !important;
}

#MyBookmarks span.scrl.b span {
    transform: none !important;
    transform-origin: 0 !important;
}

#MyBookmarks li.BookmarkL > span.last_click {
  color: rgba(167, 167, 167, 1);

  background: rgba(16, 16, 16, 1) !important;

  box-shadow: none !important;
}

#MyBookmarks li.BookmarkL > span.last_click a, #MyBookmarks > ul > inner > li > span.last_click > strong {
  color: rgba(220, 220, 220, 1) !important;
}

#MyBookmarks li.BookmarkL  > span.last_click a:hover, #MyBookmarks > ul > inner > li > span.last_click > strong:hover {
  color: rgba(255, 255, 255, 1) !important;
}

/* флажок в посте */

.post .bookmark {
  width: 10px !important;
  height: 16px !important;
  right: -25px !important;
}

/* END. Закладки */ 


/* Кнопки в форме ответа */ 

#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {
  background: rgb(230, 230, 230) !important;
  padding: 12px 20px 22px !important;
  top: 60px !important;
}

#font-area div, #size-area div, #color-area div, #table-area div, #addition-area div, #smilies-area div a, #smilies-area img {
  padding: 3px 0 !important;
}

#image-area {
  padding: 20px 20px 15px !important;
}

#image-area-sels strong, #image-width strong, #image-thumb-width strong {
  text-transform: lowercase;
  letter-spacing: 2px;
}

#selected-image-width, #selected-thumb-width {
  margin-right: 8px;
}

#image-source-list a, #image-area-actions a {
  letter-spacing: 1px;
}

#imageupload-right {
  width: 295px !important;
}

.uploadQueueItem {
  border-radius: 0 !important;
}

.uploadProgress {
  width: 100% !important;
}
.uploadProgressBar {
  background: rgba(202, 7, 0, 1) !important;
}

/* END. Кнопки в форме ответа */


/* Смена имиджа */

#mask_dialog .inner {
  background: rgba(220, 220, 220, 1);
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 15px 8px;
}

#mask_dialog .inner .hv-mask-dialog-title {
  font-family: 'Alegreya', serif;
  text-transform: uppercase;
  font-size: 16px !important;
  line-height: initial !important;

  margin-bottom: 12px;
}

#mask_dialog .inner .hv-mask-block .hv-form-block .hv-add-template {
  padding: 6px 4px !important;
  border: none !important;
  font-size: 11px !important;
  height: 27px;
  margin-left: 20px;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}

#mask_form  {
  padding-left: 15px;
}


#mask_dialog .inner .hv-control input {
  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}

#mask_form .description {
  float: none;
  width: 100%;
  
  font-size: 13px;
  letter-spacing: .5px;
}

#mask_dialog .inner .hv-control {
  padding: 0;
  text-align: left;
  position: relative;
  margin-top: 20px;
  margin-left: 120px;
}

#mask_dialog .inner .hv-control .hv-clear-storage {
  color: rgba(202, 7, 0, 1);

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}
#mask_dialog .inner .hv-control .hv-clear-storage:hover {
  color: rgba(34, 34, 34, 1);
}

#mask_dialog .inner .hv-masks-storage {
  justify-content: flex-end;
  padding: 8px 0px 8px 8px;
}

#mask_dialog .inner .hv-masks-storage .hv-mask-element img:hover {
  opacity: .7;
}

#mask_dialog .inner .hv-mask-block .hv-preview-block {
  color: rgba(220, 220, 220, 1);

  background: rgba(21, 21, 21, 1);

  padding-top: 8px;
  margin-left: -8px;
}

#mask_dialog .inner .hv-mask-block .hv-preview-block > div.hv-preview-author {
  letter-spacing: .5px;
}

#mask_dialog .inner .hv-mask-block .hv-preview-block > div.hv-preview-title {
  color: rgba(177, 177, 177, 1);
  font-size: 13px;
  letter-spacing: 1px;
}

/* End. Смена имиджа */


/* Профиль */

#profile {
  position: relative;
  overflow: hidden;
}

#profilenav h2 {
  position: absolute;

  top: 0;
  left: 0;
}

#profilenav ul {
  position: absolute;

  left: 0;
}

#profilenav ul li {
  display: block;
}

#profile .container {
  margin-left: 171px;
  width: 729px;

  padding-top: 60px;
}


/* профиль от гостя */

#profile-gifts {
  display: none;
}


/* Новое сообщение */

#navpm .num_msg {
  background: rgba(220, 220, 220, 1);

  color: rgba(34, 34, 34, 1);

  margin-left: -13px !important;
  margin-top: -28px !important;
}

span.num_msg::before {
  background: rgba(220, 220, 220, 1) !important;
  margin-left: 0 !important;
}


/* страница сообщений */ 

#pun-messages.punbb .post .post-author {
  position: relative;
  padding-top: 48px !important;
}

#pun-messages.punbb .post .post-author::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 25px;
  height: 100%;
  background: rgba(21, 21, 21, 1);
}

#pun-messages.punbb .post .post-author ul {
  position: relative;
}

#pun-messages.punbb li.pa-avatar {
  margin-top: 39px;
  padding-bottom: 15px !important;
}

#pun-messages.punbb li.pa-author{
  position: absolute;
  top: -31px;
}

#pun-messages.punbb li.pa-title {
  position: absolute;
  top: -64px;
}

#pun-messages #profilenav ul {
  position: relative;
  margin-bottom: 20px !important;
  padding-top: 10px;
  padding-bottom: 5px;
  border-top: 1px solid rgba(34, 34, 34, 1);
  border-bottom: 1px solid rgba(34, 34, 34, 1);
}

#pun-messages #profile {
    width: 950px !important;
    margin-left: -25px;
    padding-left: 25px;
    box-sizing: border-box;
    padding-right: 25px;
}

#pun-messages.punbb fieldset {
  border: none !important;
  padding: 0 !important;
}

#pun-messages.punbb fieldset legend {
  width: 100%;
  margin: 0 !important;
}

#pun-messages.punbb fieldset small#plng {
  float: right;

  margin-right: 0 !important;
}

#pun-messages.punbb .FNTslider {
  margin-right: 0 !important;
}

#pun-messages #profilenav {
  text-align: right;
}

#pun-messages #profilenav ul:nth-child(2) {
  padding-bottom: 0;
  padding-top: 10px;
  margin-bottom: 5px !important;

  border-bottom: none;
  border-top: 1px solid rgba(34, 34, 34, 1);
}

#pun-messages #profilenav h2 {
  top: 18px !important;
  left: 25px;
}

#pun-messages.punbb .post-links li.pl-email {
  width: 182px;
  text-align: left;
}

#pun-messages.punbb .post-links li.pl-delete {
  padding-left: 40px;
}

#pun-messages #profilenav h2 span {
  border: none !important;
}

#pun-messages #profilenav ul li {
  display: inline-block;
  padding-left: 15px;
}

#pun-messages #profile .container {
  float: none;
  
  width: 100%;

  margin-left: 0;
}

#pun-messages.punbb fieldset legend span {
  margin: 0 !important;
}

#pun-messages th {
  letter-spacing: 2px;
  text-transform: lowercase;
}

#pun-messages .pmtcl1 {
  text-align: left;
}

.pmtc22, .pmtc33, .pmtc24 {
  text-align: right;
}

#pun-messages.punbb .user-avatar img.ava {
  height: 25px !important;
  width: 25px !important;

  border: 1px solid rgba(34, 34, 34, 1) !important;
  border-radius: 0% !important;

  margin-top: -3px;
  margin-left: 66px;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}



/* Футер */

.footer_banners {
  height: 31px;
  width: 100%;
  position: relative;

  background: rgba(34, 34, 34, 1);
  box-shadow: 25px 0 0 0 rgba(34, 34, 34, 1), -25px 0 0 0 rgba(34, 34, 34, 1);

  padding: 10px 0;
  }

.footer_banners .bannersContent {
  position: absolute;
  content: '';
  top: 10px;
  left: -25px;
}

.footer_banners .bannersContent img {

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;

  margin-right: 5px;
}

.footer_banners .bannersContent img:hover {
          filter: grayscale(0); /* W3C */
  opacity: .6;
}
  
.footer_copyrating {
  height: 32px;
  width: 100%;

  font-family: 'Alegreya', serif;
  font-size: 13px;
  text-align: right;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .5);
    
  background: rgba(21, 21, 21, 1);
  box-shadow: 25px 0 0 0 rgba(21, 21, 21, 1), -25px 0 0 0 rgba(21, 21, 21, 1);

  padding-top: 7px;
  box-sizing: border-box;
}

/* END. Футер */

.statscon {
  font-size: 14px;
}


/* Блог */

#BlogTable {
  margin-bottom: 30px !important;
  margin-left: -25px;
}

#pun-blogs.punbb .main table {
  width: calc(100% + 25px);
}

#pun-blogs.punbb.viewblog .left_cnt {
  background: none;
  margin-left: 0!important;
  padding-left: 25px !important;
  box-sizing: border-box;
  width: 728px;
  padding-top: 0 !important;
  padding-right: 25px !important;
}

#pun-blogs.punbb.viewblog .left_cnt h1 {
  color: rgba(34, 34, 34, 1);
}

#pun-blogs .left_cnt {
  background: rgba(21, 21, 21, 1);
  margin-left: -25px !important;
  padding-left: 25px !important;
  box-sizing: border-box;
  padding-top: 15px !important;
}

#pun-blogs .left_cnt ul {
  padding-top: 0;
  padding-left: 0;
}

.leftnav li, .leftstats li {
  color: rgba(167, 167, 167, 1);
}

.leftnav li a {
  color: rgba(220, 220, 220, 1) !important;
}

.leftnav li a:hover {
  color: rgba(255, 255, 255, 1) !important;
}

#pun-blogs .left_cnt h1 {
  margin-bottom: 0 !important;
  color: rgba(220, 220, 220, 1);
}

#pun-blogs .right_cnt {
  padding-left: 15px !important;
  padding-top: 15px !important;
}

.blog-entry .post-content {
  max-height: 275px !important;
  margin-bottom: 10px !important;
  border-bottom: 1px solid rgba(204, 204, 204, 1);
}

#pun-blogs .right_cnt .post {
  margin-left: 0 !important;
  width: 100%;
}

#pun-blogs .right_cnt .post a {
  font-family: 'Alegreya', serif;
}

#pun-blogs .right_cnt .blogname .Name {
  font-size: 1.2em;
}

/* END. Блог */


/* Блог. Просмотр записи */

#pun-blogs.viewblog #BlogTable .right_cnt {
  background: rgba(21, 21, 21, 1);
  position: absolute;
  right: 0;
  width: 226px;
  padding: 0 !important;
  padding-bottom: 26px !important;
}

#BlogTable #post-form h2 {
  width: 900px !important;
}

#pun-blogs.viewblog .right_cnt h1 {
  display: none;
}

#pun-blogs.viewblog .right_cnt .author.container {
  position: relative;
  width: 188px;
  margin-right: 25px;
  padding: 0;
  float: right;
}

#pun-blogs.viewblog .right_cnt .author .pa-title {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

#pun-blogs.viewblog .right_cnt .author .pa-avatar {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
#pun-blogs.viewblog .right_cnt li.pa-respect a {
  font-family: 'Alegreya', serif;
  letter-spacing: 2px !important;
  color: transparent !important;
}

#pun-blogs.viewblog .right_cnt li.pa-fld1 {
  padding: 4px 10px 15px;
}

#pun-blogs.viewblog .right_cnt .author.container .pst-links {
  margin-top: 0;
  padding-top: 5px;
  border-top: none;
  text-align: right;
  position: absolute;
  bottom: -58px;
  background: rgba(16, 16, 16, 1);
  width: 226px;
  right: -25px;
  font-family: 'Alegreya', serif;
  font-size: 14px;
  padding: 6px 0 7px !important;
}

#pun-blogs.viewblog .right_cnt .author.container .pst-links li {
  float: none !important;
  clear: both !important;
  display: inline-block !important;
  margin: 0;
  padding-right: 12px;
}

#pun-blogs.viewblog .right_cnt .author.container .pst-links li a, .right_cnt li.pa-fld2 a, .right_cnt li.pa-respect a {
  color: rgba(220, 220, 220, 1) !important;
}

#pun-blogs.viewblog .right_cnt .author.container .pst-links li a:hover, .right_cnt li.pa-fld2 a:hover, .right_cnt li.pa-respect a:hover {
  color: rgba(255, 255, 255, 1) !important;
}

#pun-blogs.viewblog .right_cnt .author.container .pst-links li:last-child {
  padding-right: 25px !important;
}

#pun-blogs.viewblog .left_cnt {
  width: 674px;
}

#pun-blogs.viewblog .left_cnt .post-body {
  display: block !important;
  min-width: 724px !important;
  width: 724px !important;
  padding: 10px 20px 85px 25px !important;
  box-sizing: border-box;
  min-height: 386px;
}

#pun-blogs.viewblog .left_cnt .post-links {
  position: relative !important;
  background: rgba(34, 34, 34, 1);
  overflow: hidden;
}
#pun-blogs.viewblog .left_cnt .post-links ul {
  float: left;
}

#pun-blogs.viewblog .left_cnt .post-links ul li.pl-quote {
  padding-left: 25px;
}

#pun-blogs.viewblog #viewcomments {
  width: 900px;
}

#pun-blogs.viewblog #viewcomments .post .post-author {
display: table-cell;
  width: 201px !important;
  height: 100%;
}

#pun-blogs.viewblog #viewcomments .post .post-author ul li.pa-avatar {
  border-top: 10px solid rgba(220, 220, 220, 1);
  border-bottom: none;
}

#pun-blogs.viewblog #viewcomments .post .post-author ul li.pa-author {
  border-bottom: 10px solid rgba(220, 220, 220, 1);
  margin-top: 0 !important;
}

#pun-blogs.viewblog #viewcomments .post-body {
  display: table-cell !important;
  vertical-align: top;
  min-width: 699px !important;
  width: 699px !important;
  padding: 40px 20px 85px 25px !important;
  box-sizing: border-box;
  min-height: 195px;
}

#pun-blogs.viewblog #viewcomments .posthead-inner {
  border: none !important;
  left: 0 !important;
  padding: 1px 25px 0 20px !important;
}

#pun-blogs.viewblog #viewcomments .post .post-author ul {
  margin-top: 36px;
}

#pun-blogs.viewblog #BlogTable form#post {
  width: 900px;
}

#pun-blogs.viewblog #BlogTable #togglePreview {
  display: none;
}

#pun-blogs.viewblog #viewcomments h1 {
  padding-top: 9px !important;
}


/* Таблица на страницах */

.tabs__content {
    display: none; /* по умолчанию прячем все блоки */
}

.tabs__content img {
  border: 1px solid rgba(34, 34, 34, 1) !important;
}

.tabs__content.active {
    display: block; /* по умолчанию показываем нужный блок */
}
#short {
    display:none;
}

/* END. Таблица на страницах */


#pun-main.pages .section {
  margin-top: 30px;
}

#pun-main.pages h1 {
  display: none;
}

#pun-main.pages h1 span {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 26px !important;
}



.page.tabs {
background: rgba(255, 255, 255, .3);
    border: 1px solid rgba(34, 34, 34, 1);
    width: 93%;
    margin: 0 auto 50px;
    padding-bottom: 10px;
}

.menu-p {
    padding: 28px 42px 0;
    text-align: right;
}
.menu-p ul {
  margin-bottom: 25px;
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid rgba(34, 34, 34, 1);
  margin-bottom: 0;
  padding-bottom: 4px!important;
}
.menu-p ul.tabs {
  padding-bottom: 20px!important;
}
.menu-p ul.tabs__links {
  border-bottom: none;
}
.menu-p ul.tabs__links.borderBottom {
  border-bottom: 1px solid rgba(34, 34, 34, 1);
}

.menu-p ul li {
  display: inline-block;
  padding: 2px 6px 3px;
  margin: 0;
  cursor: pointer;
  color: rgba(34, 34, 34, 1);
  font-size: 17px!important;
  font-weight: 700;
  letter-spacing: 1px;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}

.menu-p ul li a {
  letter-spacing: 1px 1important;
}

.menu-p ul li:hover {
    color: rgba(202, 7, 0, 1);
}
.menu-p ul a.link {
font-size: 19px!important;
    padding-left: 6px;
}
.menu-p ul li.active {
color: rgba(220, 220, 220, 1);
    background: rgba(34, 34, 34, 1);
    text-decoration: none!important;
    cursor: none;
}


span.select_words {
  font-size: 18px;
}
span.important {
  color: rgba(201, 7, 0, 1);
  font-style: italic;
}
span.offtopic {
  color: rgba(34, 34, 34, .5);
  font-style: italic;
}

.cont-nt {
    padding: 8px 42px 25px;
    text-align: justify;
}
.cont-nt h2 {
  text-align: left !important;
  font-size: 16px!important;
  margin: 20px 0 10px!important;
}
.cont-nt h2.noPadding {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.cont-nt p.noPadding {
  margin-top: 0 !important;
}
.cont-nt .italic, p.italic {
  font-style: italic;
}

.cont-nt ol {
  padding-left: 22px;
}

.cont-nt ol li {
    list-style: decimal-leading-zero;
  padding-bottom: 6px; 
}

.cont-nt p span.changeDiv {
    color: #933500;
    cursor: pointer;
}

.tablePage {
  border-top: 1px solid rgba(34, 34, 34, 1);
  border-bottom: 1px solid rgba(34, 34, 34, 1);
  padding: 0;
  overflow: hidden;
}

.tablePage .tablePage_stroke {
  overflow: hidden;
  border-bottom: 1px solid rgba(34, 34, 34, 1);
  padding: 0;
  display: table;
}
.tablePage .tablePage_stroke:last-child {
  border-bottom: 0;
}

.tablePage .tablePage_left {
  width: 28%;
  min-width: 135px;
  display: table-cell;
  vertical-align: top;
  border-right: 1px solid rgba(34, 34, 34, 1);
  box-sizing: border-box;
  padding: 10px 15px 10px 0;
}
.tablePage .tablePage_left.noBorder {
  border-right: none;
}

.tablePage .tablePage_right {
  width: 72%;
  display: table-cell;
  box-sizing: border-box;
  padding: 10px 0px 10px 15px;
  vertical-align: top;
}
#oppositionGhoul .tablePage .tablePage_left {
  width: 0% !important;
}

#oppositionGhoul .tablePage .tablePage_right {
  width: 85% !important;
}

.changeContant, .changeContant_top, .changeContant_bottom {
  overflow: hidden;
  margin-top: 15px !important;
}

.listBlock {
  float: left;
  display: inline-block;
  width: 22%;
}

.listBlock ul li {
  cursor: pointer;
  font-family: 'Alegreya', serif;
  font-weight: 700 !important;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}

.listBlock ul li:hover {
  color: rgba(202, 7, 0, 1);
}

.categoryBlock, .categoryBlock_down {
  width: 78%;
  display: inline-block;
  float: right;

  padding-left: 20px;
  margin-bottom: 30px !important;
  
  box-sizing: border-box;
}

#groups img {
  float: left;
  margin: 10px 15px 10px 0;
}

#groups .categoryBlock_down {
  width: 73% !important;
}

#groups .listBlock.downBlock {
  width: 27% !important;
}

#wards .categoryBlock {
  width: 87% !important;
}
#wards .listBlock {
  width: 13% !important;
}

#wards .backToList {
  margin-top: 30px;
}

#groups ul li {
  padding-bottom: 20px;
}

.backToList {
  clear: both;
}
.backToList p {
  cursor: pointer;

  font-family: 'Alegreya', serif;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}

.backToList p:hover {
  color: rgba(202, 7, 0, 1);
}

.smallText {
  font-size: 12px !important;
}

.categoryBlock h2, .categoryBlock_down h2 {
  margin-top: 10px !important;
}

.cont-nt a:hover, .cont-nt p span.changeDiv:hover {
color: #452412!important;
text-decoration: none!important;
}
.cont-nt p.cntr-cnt {
text-align:center!important;
text-transform: uppercase;
}
#strory.tab_content {
text-align: justify;
}

.blockcode {
background-color: rgba(255, 255, 255, .1); */
    text-shadow: none;
    border: 1px solid rgba(34, 34, 34, 1);
    padding: 5px 20px;
    margin: 25px 0px !important;
}

.page.tabs p {
margin: 10px 0;
}

.page.tabs .alignLeft {
    text-align: left;
}
.page.tabs .alignRight, p.alignRight {
    text-align: right;
}
.page.tabs .alignCenter {
    text-align: center;
}

.page.tabs .marginTop40 {
  margin-top: 40px !important;
}
.page.tabs .marginTop20 {
  margin-top: 20px !important;
}
.page.tabs .marginTop10 {
  margin-top: 10px !important;
}

.page.tabs .marginBottom20, p.marginBottom20 {
  margin-bottom: 20px !important;
}

.page.tabs .marginBottom10 {
  margin-bottom: 10px !important;
}

.page.tabs .marginBottom40 {
  margin-bottom: 40px !important;
}

.page.tabs .uppercase {
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page.tabs .lineHeight110 {
  min-height: 110px;
}
.page.tabs .lineHeight130 {
  min-height: 130px;
}
.page.tabs h3 span.light {
  font-weight: 400 !important;
}


.page.tabs .body ul {
    margin: 10px 0;
}

.page.tabs .body ul.displayInline {
  margin: 10px 0 40px;
}

.page.tabs .body ul.displayInline li {
  display: inline;
  padding: 0 15px;
  font-family: 'Alegreya', serif;
}
.page.tabs .body ul.displayInline li:first-child {
  padding-left: 0;
}
.page.tabs .body ul.displayInline li:last-child {
  padding-right: 0;
}

.page.tabs .body #decalogue ul {
margin-left: 38px;
}
.page.tabs .body h3 {
  margin: 15px 0;
}

.page.tabs .body ul li, .dossier ul li {
  position: relative;
  list-style-type: none;
  font-weight: 400;
  padding-bottom: 6px;
  padding-left: 25px;
}
.page.tabs .body ul.listStyleNo li, .dossier ul.listStyleNo li {
  padding-left: 0;
}
.page.tabs .body ul li::before, .dossier ul li::before {
  position: absolute;
  content: '—';
  left: 0;
  top: 0;
}

.page.tabs .body ul li > ul li::before {
  content: '—' !important;
}

.page.tabs .body ul.listSymbol li::before {
  content: '\25C8' !important;
  font-family: 'Times New Roman', sans-serif;
}

.page.tabs .body ul li span.changeDiv.active {
  color: rgba(202, 7, 0, 1);
}

.page.tabs .body ul.listStyleNo li::before, .dossier ul.listStyleNo li::before {
  content: '' !important;
}

.pictures a {
  display: inline-block;
}
.pictures img {
  display: block;
  width: 100%;
  margin-bottom: 1em;
}
.pictures .fullImg {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  background: #CCC center no-repeat;
  background: rgba(255, 255, 255, .95) center no-repeat;
  background-size: contain;
  background-origin: content-box;
}
.pictures a:focus + .fullImg {
  display: block;
}

.page.tabs .body .description {
  width: 100% !important;
  float: none;
  text-align: justify !important;
}


.page.tabs .body .description .right_block {
    float: left;
    width: 28%;
    background-color: rgba(255, 255, 255, .1);
    padding: 17px 15px 20px;
    margin-bottom: 20px;
    text-align: center;
}
.page.tabs .body .description .left_block {
    float: left;
    width: 62%;
    padding-right: 20px;
    margin-bottom: 20px;
}
.description .right_block h3 {
    padding-bottom: 11px;
}
.page.tabs .body .description .left_block p {
    padding-bottom: 7px;
}
.page.tabs .body .description .right_block h3 {
    text-transform: uppercase;
    font-size: 15px;
}
.page.tabs .body .description .left_block p {
    font-size: 13px;
    line-height: 18px;
}
span.free {
    font-weight: 700;
    text-align: right!important;
}
span.locked {
  color: #b93500;
  font-weight: 700;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}
.infoRole a:hover span.locked {
  color: rgba(34, 34, 34, 1);
}
span.npc{
  color: rgba(214, 161, 0, 1);
  font-weight: 700;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}
.infoRole a:hover span.npc{
  color: rgba(34, 34, 34, 1);
}
span.hold{
    color: #384d86;
    font-weight: 700;
}
span.need{
    color: #63861e;
    font-weight: 700;
}
 span.p_free {
    color: #9b6a29;
    font-weight: 700;
}
span.no_canon {
    font-weight: 700;
}



/* Список персонажей */

.clearfix {
  clear: both;
}

#populationRegistry .topContent {
  overflow: hidden;
  margin-top: 10px;
}
#populationRegistry .topContent .blockcode {
  margin-bottom: 5px !important;
  text-align: center;
}

#populationRegistry .description {
  width: 70% !important;
  float: left;
  border-right: 1px solid rgba(34, 34, 34, 1);
  box-sizing: border-box;
  padding-right: 25px;
}

#populationRegistry .listBlock{
  width: 27%;
  float: right;
  text-align: center;
box-sizing: border-box;
}

#populationRegistry .categoryBlock {
  width: 100%;
  clear: both;
  padding-left: 0;
}

#populationRegistry .categoryBlock .head {
  border-top: 1px solid rgba(34, 34, 34, 1);
  border-bottom: 1px solid rgba(34, 34, 34, 1);
}

#populationRegistry .categoryBlock .head h2 {
  padding: 10px 0 !important;
}

#populationRegistry  ul.displayInline {
  border-top: 1px solid rgba(34, 34, 34, 1);
    padding-top: 5px;
    margin-bottom: 5px !important;
}

#populationRegistry .listBlock ul.colorRed li {
  color: rgba(202, 7, 0, 1) !important;
}

#populationRegistry .listBlock ul.colorRed li:hover {
  color: rgba(34, 34, 34, 1) !important;
}

#populationRegistry .categoryBlock .content {
  overflow: hidden;
}

#populationRegistry .categoryBlock .content .spoiler_content {
  padding: 22px 20px 10px !important;
}

.content_roleLeft, .content_roleRight {
  float: left;
  width: 50%;
  min-height: 85px;
  box-sizing: border-box;

  margin-bottom: 15px !important;

  overflow: hidden;
}

#populationRegistry .categoryBlock .content .imgRole {
  background-image: url(http://forumfiles.ru/files/0019/67/5f/48557.png);
  background-size: cover;
  width: 80px;
  height: 80px;

  border: 1px solid rgba(34, 34, 34, 1);

  float: left;
}

#populationRegistry .categoryBlock .content .infoRole {
  float: left;
  width: 255px;
  padding-left: 12px;
  box-sizing: border-box;
}

#populationRegistry .categoryBlock .content .infoRole h3 {
  margin-top: 0 !important;
  margin-bottom: 3px !important;
}

#populationRegistry .categoryBlock .content .infoRole p {
  margin: 0 !important;
}

.content_roleLeft {
  padding-right: 15px;
}

.content_roleRight {
  padding-left: 15px;
}

/* END. Список персонажей */





.page table {
background: none!important;
    border-bottom: 3px solid #6e3616!important;
    border-image: url(http://forumfiles.ru/files/0016/02/3b/78082.png) 30 round round!important;
border-top: 0!important;
}
.page .cont-nt h1 {
display: block;
    font-size: 34px!important;
    margin-bottom: 15px;
}



.spoilerPages, .spoilerMain {
  border-left: 1px solid rgba(34, 34, 34, 1) !important;
  border-right: 1px solid rgba(34, 34, 34, 1) !important;
  margin: 15px 0 !important;
}

.spoilerMain {
  margin-bottom: 0 !important;
  width: 50%;
}

.spoilerMain .spoiler_content {
  padding-top: 10px !important;
  padding-bottom: 12px !important;
}

#forum_f3 .spoilerMain ol, #forum_f13 .spoilerMain ol  {
  padding-left: 15px !important;
  padding-top: 0 !important;
}

#forum_f3 .spoilerMain ol li, #forum_f13 .spoilerMain ol li {
  list-style: decimal-leading-zero !important;
}

#forum_f3 .spoilerMain {
  float: right !important;
  margin-top: 0 !important;
  margin-right: 12px !important;
  width: 45%;
}
#forum_f8 .spoilerMain {
  width: 499px;
}

.spoilerMain #spoiler_title {
  line-height: 22px;
  padding: 0 20px 0 30px!important;
}

.spoilerMain #spoiler_title::after {
  top: -1px;
  left: 10px;

  font-size: 20px;
} 

/* скрытый блок */
.terms {
  display:none;
  background-color: rgba(255, 255, 255, .3);    
  border-left: 1px solid rgba(34, 34, 34, 1);
  border-right: 1px solid rgba(34, 34, 34, 1);
}
.tt {
  border-left: 1px solid rgba(34, 34, 34, 1);
  border-right: 1px solid rgba(34, 34, 34, 1);
  background: rgba(255, 255, 255, .3);
  height: 25px;
}

.tt p {
  line-height: 25px !important;
}

#spoiler_title, .tt {
  position: relative;
  border-top: 1px solid rgba(34, 34, 34, 1);
  border-bottom: 1px solid rgba(34, 34, 34, 1);
  line-height: 15px;
  color: rgba(34, 34, 34, 1);
  padding: 0 20px 0 30px!important;
  font-family: 'Alegreya Sans', sans-serif;

  cursor: pointer;

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}
#spoiler_title::after, .tt::after {
  position: absolute;
  display: table;
  content: '+';

  left: 12px;
  top: 0px;
  bottom: 0;

  vertical-align: middle;
  font-size: 20px;

  margin: auto;
}

/* 
#spoiler_title.active::after {
  content: '–';
}

#spoiler_title.active, #spoiler_title.active h2 {
  color: rgba(202, 7, 0, 1);
}
*/

#spoiler_title h2 {
  color: rgba(34, 34, 34, 1);

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}

#spoiler_title:hover, #spoiler_title:hover h2 {
  color: rgba(202, 7, 0, 1)!important;
}

.spoiler_content, .terms {
  padding: 5px 20px 20px;
  border-bottom: 1px solid rgba(34, 34, 34, 1);
  overflow: hidden;
}

.spoiler_content img {
  width: auto;
  max-width: 100%;
}
.tablePage img {
  border: 1px solid rgba(34, 34, 34, 1) !important;
}



/* Изменение размера шрифта в постах */

#volSlider {
  background: rgba(255, 255, 255, .4) !important;
  border: none !important;
  border-radius: 0 !important;
  margin-top: 0;
  box-shadow: none !important;
}

#volSlider .before {
  background: rgba(34, 34, 34, 1) !important;
  border: none !important;
  border-radius: 0 !important;

  margin-top: 0 !important;
}

.FNTslider {
  position: relative;
  z-index: 1000;
  background: rgba(255, 255, 255, .4);
  width: 110px;
  height: 5px;
  margin: 9px 5px 0 !important;
  float: right;
  margin-right: -7% !important;
}
.FNTslider .before {
  height: 5px;
  border: none;
  border-right: none 0;
  position: absolute;
  background: rgba(34, 34, 34, 1);
  margin-top: -1px;
}
.FNTslider .thumb, #volSlider .thumb {
  width: 6px !important;
  height: 13px !important;
  position: relative;
  top: -4px;
  background: rgba(255, 255, 255, 1) !important;
  cursor: pointer;
}
#volSlider .thumb {
  top: -9px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* END. Изменение размера шрифта в постах */


/* Расширенная палитра */

#color-area #len-tbl-01 {
  margin: 5px 21px 12px 0!important;
}

.murom #name_1, #name_0 {
  width: 66px !important;
  height: 20px;
}
.rightMy #name_0 {
  margin-left: 4px !important;
}
span.hidds {
  display: none !important;;
}

/* END. Расширенная палитра */


/* Абзац */ 

#button-indent {
  background: url(http://s7.uploads.ru/t/mnkgq.png)no-repeat center 6px!important;
}

/* END. Абзац */ 


/* Обтекание изображений */ 

.postimg[alt="float:right"] {
  float: right;
  marin-left: 20px !important;
  pointer-events: none;
  clear: both;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.postimg[alt="float:left"] {
  float: left;
  margin-right: 20px !important;
  pointer-events: none;
  clear: both;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 1px !important;
}

#add_float {
  position: absolute;
  padding: 2px;
  top: -5px;
  left: 13%;
  margin-left: -29px!important;
  width: 57px!important;
}

#button-image #add_float #text-left, #button-image #add_float #text-right {
  background: rgba(245, 245, 245, 1) url("http://forumfiles.ru/files/0019/67/5f/42443.png") no-repeat 50% !important;
  width: 23px;
}

#button-image #add_float td:nth-child(2) {
  width: 25px;
}
#button-image #add_float #text-right {
 z-index: 99999;
}

#button-image #add_float img {
  display: block;
  position: relative;
  z-index: 4;
}

#button-image > img {
  position: relative;
  z-index: 2;
}

#button-image > center {
  opacity: 0 !important;
  visibility: hidden;
  transition-duration: .8s;
}

#button-image:hover > center {
  opacity: 1 !important;
  visibility: visible !important;
}

/* END. Обтекание изображений */


/* Просмотр репутации */ 

.removeReputation {
  position: relative;
  background: none !important;
}

.removeReputation::after {
  position: absolute;
  content: '\2716';

  top: 0;
  left: 0;

  font-size: 16px;
  color: rgba(202, 7, 0, 1);

  -webkit-transition: all ease-out .2s;
     -moz-transition: all ease-out .2s;
      -ms-transition: all ease-out .2s;
       -o-transition: all ease-out .2s;
          transition: all ease-out .2s;
}

.removeReputation:hover::after {
  color: rgba(34, 34, 34, 1);
}

/* END. Просмотр репутации */ 


/* Поднятие репутации */ 

#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {
  box-sizing: border-box;
  padding: 20px;
  box-shadow: none !important;
  background: rgba(220, 220, 220, 1);
}

#pun-reputation .inner tr:nth-child(2) td, #pun-reputation .inner tr:nth-child(3) td {
  border-bottom: none !important;
}

#pun-reputation .inner tr:nth-child(1) .tc2 {
  border-bottom: none !important;
}

#pun-reputation .inner tr:nth-child(2) .tc2 textarea {
  width: 98% !important;
}

#pun-reputation .inner .tc2 {
  padding-left: 20px;
}

#pun-reputation .inner .tcl {
  width: 30% !important;
  border-right: 1px solid rgba(34, 34, 34, .2);
}

/* END. Поднятие репутации */ 


/* Досье */ 
.dossier {
  margin-bottom: 50px !important;
}

.dossier .blockcode {
  padding-top: 10px;
  padding-bottom: 10px;
}

.dossier .blockcode:first-child {
  margin-top: 0 !important;
}

.dossier_left {
  width: 80%;
  margin: 0 auto !important;
}

.dossier table {
  border-spacing: 0px !important;
  margin-bottom: 10px !important;
}

.dossier table td {
  vertical-align: top;
}

.dossier ul li {
  padding-bottom: 9px !important;
}

.dossier ul li:last-child {
  padding-bottom: 0 !important;
}

/* Досье следователей */

td.black {
  background: rgba(34, 34, 34, 1);
  color: rgba(255, 255, 255, 1);
}

.dossier_header td {
  padding: 0 15px !important;
}

#pun-pages.punbb .main .dossier_header h2 {
  color: rgba(255, 255, 255, 1) !important;
  text-align: center;

  padding: 10px 0 !important;
}

.dossier .dossier_mainInfo td:last-child h3 {
  text-align: left;
}

.dossier h3 {
  padding: 10px 15px !important;
  text-align: center;
}

.dossier_header tr:nth-child(1) td {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.dossier_header p {
  text-align: right;
  padding: 5px 0 !important;
}

table.dossier_mainInfo, table.dossier_characteristics, table.dossier_autobiography {
  border-bottom: 1px solid rgba(34, 34, 34, 1);
}
table.dossier_autobiography {
  margin-bottom: 0 !important;
}

table.dossier_characteristics tr:nth-child(2) td, table.dossier_autobiography tr:nth-child(2) td {
  padding: 15px 0 20px !important;
  text-align: justify !important;
}

.dossier_mainInfo tr:nth-child(2) td {
  padding: 15px 0 !important;
}

.dossier_mainInfo tr:nth-child(2) td:nth-child(2) {
  padding: 15px !important;
}

.dossier_mainInfo img {
  border: 1px solid rgba(34, 34, 34, 1) !important;
}

.dossier_mainInfo td:nth-child(1) {
  width: 23% !important;
  text-align: center;
}

.dossier_mainInfo tr td:nth-child(1) {
  border-right: 1px solid rgba(34, 34, 34, 1);
}

/* END. Досье следователей */

/* END. Досье */


/* Просмотр профиля */ 

/* Левый блок */

#viewprofile #profile-left {
  width: 21%;
  padding-top: 78px !important;
  background: rgba(21, 21, 21, 1);
  box-shadow: -25px 0 0 0 rgba(21, 21, 21, 1);
  position: relative;
  padding-bottom: 18px !important;
}

#viewprofile #profile-left li {
  padding: 0 10px !important;
  box-sizing: border-box;
}

#viewprofile #profile-left li#profile-name {
  position: absolute;
  top: 50px;
  width: 188px;
  background: rgba(220, 220, 220, 1);
  text-align: center;
}
#viewprofile #profile-left li#profile-name strong {
  color: rgba(34, 34, 34, 1) !important;
  font-size: 16px;
}

#viewprofile #profile-left li#profile-title {
  position: absolute;
  top: 17px;
  font-style: italic;
  text-align: center;
  width: 188px;
  background: rgba(16, 16, 16, 1);
}

#viewprofile #profile-left li#profile-title strong {
  font-weight: 400 !important;
  color: rgba(167, 167, 167, 1);
}

#viewprofile #profile-left li:nth-child(3) {
  width: 188px;
  background: rgba(220, 220, 220, 1);
  margin-bottom: 0;
}
#viewprofile li:nth-child(3) img {
  padding: 0;
}

#viewprofile #profile-left li:nth-child(4) {
  width: 188px;
  background: rgba(220, 220, 220, 1)
}

#viewprofile #profile-left li:nth-child(4) strong {
  color: rgba(34, 34, 34, 1) !important;
  text-align: center;
  padding-top: 0;
  padding-bottom: 16px;
}

#viewprofile #profile-left li.bloglink {
  display: none;
}

/* END. Левый блок */


/* Правый блок */

#viewprofile #profile-right {
  border-top: 1px solid rgba(34, 34, 34, 1) !important;
  padding-bottom: 0 !important;
}

#viewprofile #profile-right li {
  padding: 0px 0 0 16em;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(34, 34, 34, 1);
}

#viewprofile #profile-right li strong {
  padding-left: 1em;
  border-left: 1px solid rgba(34, 34, 34, 1);
  margin-left: -62px;
}

/* END. Правый блок */

/* END. Просмотр профиля */ 

.tableHistory_stroke.headerStroke {
  border-bottom: 1px solid rgba(34, 34, 34, 1);
  border-top: 1px solid rgba(34, 34, 34, 1);
}


.tableHistory_stroke {
  text-align: center;
}

.tableHistory_stroke p {
  border-bottom: 1px solid rgba(34, 34, 34, .2);
  padding: 5px 0;
  margin: 0 !important;
}



.pun-modal .modal-inner {
  background: rgba(220, 220, 220, 1) !important;
  box-shadow: none !important;
}


.uwed_s {
  margin: 0 !important;
}

.uwed_s p {
  clear: both;
}