/*-------------------------------------------------------------*/
/*** Общие ***/
/*-------------------------------------------------------------*/
@import url(style_cs.1781834378.css); /* Смайлики */

html, body {margin: 0; padding: 0;}
body {
   font: normal 13px helvetica, arial, sans-serif;
   position: relative;
   background: #dcd9cd;
   color: #5a5a5a;
   min-height: 800px;
}
.punbb * {margin: 0;}
.punbb a {
  text-decoration: none;
  outline: none;
}
.punbb a, .punbb a:link, .punbb a:visited{
	color: #A03737;
}
.punbb a:hover{
	text-decoration:underline;
}
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
}
.punbb h2 span {
  font-size: 16px;
}
.punbb .main table {
  table-layout: fixed;
  width: 100%;
}
.container table {
  padding-bottom: 3px;
  padding-top: 9px;
}
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 30%;
}
.punbb .section, .punbb .main {
  margin-bottom: 0px;
}
.punbb .info .container {
  padding: 0.8em 1em;
}
#pun #pun-break3  {
  margin-bottom:10px;
}
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background-color: #A09C8B;
  color: #5a5a5a;
}
#pun {position: relative}
#pun-index #pun-crumbs1, #pun-index #pun-crumbs2, .hidden-desc, #pun-title, #pun-navlinks, #pun-ulinks, #pun-status, thead, .punbb .section h2, .statscon .statistics, .statscon .users_24h, .new-poll,
.punbb .modmenu, .punbb .modmenu p.container > span, .linkst .pagelink .ellipsis, .linksb .pagelink .ellipsis, .pa-last-visit, .pa-time-visit, .pa-online, .punbb .post h3 span a:first-child{
   display: none;
}
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post {
  border: none;
}
#pun > div:first-child:not(.punbb-admin) {
    visibility: hidden;
}
.punbb .section, .punbb .container {
  border-style: none;
  border-width: 0px;
}
#pun-crumbs1, #pun-break1, #pun-break2, #pun-crumbs2, #pun-break3, #pun-break4, #pun-main, #pun-about, #pun-stats, #topic_portfolio, #topic_stats {
  margin: 0 auto;
  margin-bottom: 0px;
  width: 980px;
  width: 87% !important;
  min-width: 965px;
  max-width: 1680px;
}
#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;
}
#pun-about .container {
  border-top-style: none;
  text-align: right;
  line-height: 150%;
  padding: 10px 14px;
}
.punbb .section .container {
  background-color: transparent;
  color: #5a5a5a;
}
#html-footer{margin-bottom:45px;}
#pun-break4{
	border:none;
	margin-top:35px;
	border-top: 1px solid #a09c8b;
}
#pun-break1{
	border:none;
	margin-top:10px;
}
.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;
}
#pun-crumbs1, #pun-crumbs2 {
	font: normal 11px helvetica, arial, sans-serif;
}
#pun-crumbs1 p.container, #pun-crumbs2 p.container {
  margin-bottom:10px;
  color: #777;
}
#pun-crumbs1 p.container a, #pun-crumbs2 p.container a{
  text-decoration:none;
  outline: none;
  color: #777;
  margin-right:5px;
}
#pun-crumbs1 p.container a:hover, #pun-crumbs2 p.container a:hover{
  text-decoration:underline;
}
#pun-crumbs1 p.container  > :nth-child(2), #pun-crumbs2 p.container  > :nth-child(2){display:none;}
#pun-crumbs1 p.container em, #pun-crumbs2 p.container em{font-size: 0;margin-right:7px;}
#pun-crumbs1 p.container em::before, #pun-crumbs2 p.container em::before{content: "\2192"; font-size:11px;}
#pun-main h2, #pun-main h1 {
  color: #fff;
  padding: 10px 10px 11px 10px;
  font-size: 16px;
  font-weight: 300;
  border-radius: 2px 2px 0 0;
  border-width: 1px 1px 0 1px;
  border-color: #34342C;
  border-style: solid;
  background: #34342C;
}
/*-------------------------------------------------------------*/
/*** Всплывающее окно уведомлений ***/
/*-------------------------------------------------------------*/
.jGrowl {
    color: #000 !important; 
    font-size: 14px !important;
}

.jGrowl-header {
    display: block !important;
}

.jGrowl-notification .jGrowl-header {
    font-weight: 700 !important;
    font-size: 14px !important;
}

.jGrowl-header {
    padding: 5px !important;
    padding-left: 10px !important;
    padding-bottom: 7px !important;
    background-color: #030303 !important;
    color: #f3e9ab !important;
}

.jGrowl-header:before {
    content: '\260e' !important;
}

.jGrowl.center, .jGrowl.top-right, .jGrowl.top-left, .jGrowl.bottom-left, .jGrowl.bottom-right {
    right: auto !important; 
    left: auto !important; 
    bottom: auto !important; 
    top: 40px !important; 
    width: 50% !important; 
    left: 25% !important;
}

.jGrowl-notification {
    box-shadow: 0 0 6px 3px rgba(0, 0, 0, 0.1) !important;
    border-radius: 0 !important;
    background-color: #eae2d0 !important; 
    min-height: 0 !important; 
    display: table !important;
    width: auto !important;
    overflow-y: auto !important; 
    padding: 0 !important;
}

.jGrowl-notification .jGrowl-close {
    color: #f3e9ab !important; 
    font-weight: 900 !important; 
    font-size: 16px !important; 
    line-height: 14px !important; 
    display: inline-block !important; 
    margin: 2px !important;
}

.jGrowl-close {
    padding: 5px !important;
    padding-right: 10px !important; 
    opacity: 0.6 !important;
    filter: alpha(opacity=60) !important;
}

.jGrowl-close:hover {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.jGrowl-message {
    float: left !important; 
    padding: 10px !important; 
    border-bottom: 3px solid #030303 !important;
}

.jGrowl-message a {
    text-align: center !important;
    text-decoration: none !important;
    color: #5e1204 !important;
    display: block !important;
    margin-top: 5px !important; 
    font-size: 12px !important; 
    font-weight: 900 !important;
}

.jGrowl-message a:hover {
    text-decoration: underline !important;
}

.jGrowl-closer {
    font-size: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/*-------------------------------------------------------------*/
/*** Шапка ***/
/*-------------------------------------------------------------*/
#html-header .cm-layout {
  background: #050f14;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
#html-header .cm-layout_content {
  color: #525454;
  font-family: Arial, "Helvetica CY", Helvetica, sans-serif;
  font-size: 13px;
  height: 37px;
  margin: auto;
  padding: 0 10px;
  z-index: 100;
}
#html-header .cm-link {
  transition: color ease 0.1s, text-shadow ease 0.1s;
  color: #707273;
  display: inline-block;
  position: relative;
  text-decoration: none;
  line-height: inherit;
  font-size: inherit;
}
#html-header .cm-link:hover {
  color: #fff;
}
#html-header .cm-menu__user {
  line-height: 37px;
  padding: 0;
  float: right;
  text-align: right;
  position: relative;
}
#html-header .cm-menu_static {
  overflow: hidden;
  height: 37px;
}
#html-header .cm-singletons__main {
  line-height: 37px;
  height: 37px;
  margin: 0 10px;
  vertical-align: top;
}
#html-header .cm-singletons_text__main {
  font-size: 13px;
  line-height: 37px;
  border: none;
  vertical-align: top;
}
#html-header .cm-singletons_text {
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: 0.1s ease border-color;
  color: inherit;
  font-size: 14px;
  line-height: 18px;
  vertical-align: middle;
}
#html-header .cm-singletons {
  transition: opacity ease 0.1s;
  display: inline-block;
  position: relative;
  opacity: 0.6;
}
#html-header .cm-singletons:hover {
  opacity: 1;
}
#html-header #branding {
  min-width: 980px;
  height: 190px;
  background: #060708 url(http://forumstatic.ru/files/001c/bb/ae/18926.jpg) no-repeat center 0; /* default-bg.jpg */
  background-color:#000000;
}
#branding .main_width {
  position: relative;
  height: 190px;
  margin: 0 auto;
  width: 980px;
  width: 87% !important;
  min-width: 965px;
  max-width: 1680px;
}
#logo {
  left: -233px;
  position: absolute;
  top: 0;
}
#pun-navlinks0, #pun-navlinks0 .container {
  border-style: none;
  border-width: 0;
  margin: 0;
}
#pun-navlinks0 { 
  font-size: 14px;
  border-top: 1px #000000 solid;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.1) inset;
  background: #393834 url(http://forumstatic.ru/files/001c/bb/ae/24445.png?v=1); /* bg_menu.png */
  min-width: 980px;
  height:33px;
}
#pun-navlinks0 .container {
  margin: 0 auto;
  padding:0;
  width: 980px;
  width: 87% !important;
  min-width: 965px;
  *min-width: 972px;
  max-width: 1680px;
  background-color: transparent;
  color: #333;
}
#pun-navlinks0 .pre_left {
  list-style: none;
  margin: 3px 1px 1px 1px;
  line-height: 17px;
  background-color: rgba(0,0,0,0.33);
  border: 1px solid rgba(255,255,255,0.1);
  float: left;
}
#pun-navlinks0 a {
  color: #eee;
  text-decoration: none;
  display: inline-block;
}
#cm-menu-user-authorized span{
  padding-right:10px;
  font-size:16px;
  color:#ecde8f;
}
#quickNavLaunch span { 
  background: url(http://forumstatic.ru/files/001c/bb/ae/17968.png?v=1 ) no-repeat bottom; /* icon_quicknav.png */
  width: 21px;
  height: 16px;
  line-height: 16px;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}
#quickNavLaunch:hover span { 
	background: url(http://forumstatic.ru/files/001c/bb/ae/17968.png?v=1 ) no-repeat top; /* icon_quicknav.png */
	text-decoration: none;
}
#quickNavLaunch{
	padding: 5px 5px 5px 5px;
	height: 17px;
}
#user_inbox_link span, #user_notify_link span, #user_link span{ 
     background: url(http://forumstatic.ru/files/001c/bb/ae/85385.png) no-repeat; /* primary_nav_icon.png */
     display: block;
     height: 18px;
     width: 20px;
	 background-position: 0 0;
}
#user_inbox_link:hover span{background-position: 0 -20px}
#user_inbox_link, #user_notify_link, #user_link {
	padding: 3px 6px;
	position: relative;
	text-decoration: none;
}
#user_notify_link span{background-position: -20px 0;}
#user_notify_link:hover span{background-position: -20px -20px;}
#user_link span{background-position: -40px 0;}
#user_link:hover span{background-position: -40px -20px;}
#post_navadmin span, #post_navmoder span{
	display: block;
	padding-left:10px;
	padding-right:10px;
	line-height:24px;
	opacity:0.6;
}
#post_navadmin:hover span, #post_navmoder:hover span{
	opacity:1;
}
#user_inbox_link #ipsHasNotifications, #user_notify_link #ipsHasNotifications {
  padding: 3px 5px 3px 5px;
height: 10px;
line-height: 10px;
  background: #cf2020;
  color: #fff !important;
  font-size: 10px;
  text-align: center;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.3), 0px 1px 0px rgba(255,255,255,0.1) inset;
  border-radius: 10px;
  position: absolute;
  top: 1px;
  left: 1px;
  width: auto;
  font-weight: bold;
}
.cm_navmoder{
	margin: 4px 2px 1px 0;
	line-height: 17px;
	border: 1px solid transparent;
	float: right;
}
#p_adv_search span{ 
  width: 22px;
  height: 22px;
  background: url(http://forumstatic.ru/files/001c/bb/ae/55529.png) no-repeat right bottom; /* search_icon.png */
  text-indent: -9999px;
  display: inline-block;
}
#p_adv_search:hover span{
    background-position: 0 0;
}
.cm_navmoder_text{
	margin: 8px 9px 1px 0;
	line-height: 15px;
	border: 1px solid transparent;
	float: right;
	font-size:12px;
	opacity: 0.6;
}
.cm_navmoder_text:hover{
	opacity:1
}
#quicFiles span { 
  background: url(http://forumstatic.ru/files/001c/bb/ae/14104.png) no-repeat bottom; /* advanced_search.png */
  width: 22px;
  height: 22px;
  line-height: 16px;
  display: inline-block;
  cursor: pointer;
}
#quicFiles:hover span { background-position: 0 0; }
#quicFiles{
	padding: 2px 5px 0px 5px;
	height: 17px;
}
/*-------------------------------------------------------------*/
/*** Кнопки ***/
/*-------------------------------------------------------------*/
.linkst .postlink .closed::before, .linksb .postlink .closed::before{ 
	content: url(http://forumstatic.ru/files/001c/bb/ae/14366.png?v=1); /* lock.png */
	margin-right:4px;
	vertical-align: -15%; 
}
.linkst .postlink .closed, .linksb .postlink .closed{ 
	background: #812200 url(http://forumstatic.ru/files/001c/bb/ae/93392.png) repeat-x top; /* topic_button_closed.png */
	border: 1px solid #812200;
    border-width: 1px 1px 0 1px;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 0 #db6e46, 0px 2px 3px rgb(0 0 0 / 20%);
	font: 300 12px/1.3 Helvetica, Arial, sans-serif;
	color: #fff;
    text-shadow: 0 -1px 0 #191919;
    line-height: 30px;
	height: 30px;
    padding: 0 10px;
    text-align: center;
    min-width: 125px;
    display: inline-block;
}
.linkst .postlink .new-topic a, .linkst .postlink span a, .punbb .linksb .postlink .new-topic a, .punbb .linksb .postlink span a {
  background: #212121 url(http://forumstatic.ru/files/001c/bb/ae/95618.png) repeat-x top; /* topic_button.png */
  border: 1px solid #212121;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-width: 1px 1px 0 1px;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 0 #5c5c5c, 0px 2px 3px rgba(0,0,0,0.2);
  color: #fff;
  text-shadow: 0 -1px 0 #191919;
  font: 300 12px/1.3 Helvetica, Arial, sans-serif;
  line-height: 30px;
  height: 30px;
  padding: 0 10px;
  text-align: center;
  min-width: 125px;
  display: inline-block;
  cursor: pointer;
}
.punbb .button.preview:hover {
    color: #464646;
	border-color: #666666;
}
.punbb .button.preview {
    background: #e8e8e8;
    border-color: #b6b6b6;
    color: #666666;
    box-shadow: inset 0 1px 0 0 #eff3f8, 0px 2px 3px rgb(0 0 0 / 20%);
	clear: both;
}
.punbb .formsubmit{
	padding: 10px 0 40px 0;
	position: relative;
}

.punbb .formsubmit .button.submit {
	position: absolute;
	clear: both;
	z-index: 10;
	right: 120px;
	top: 0;
}
#pun-post .formsubmit .button.submit {
	right: 145px;
}
.punbb .formsubmit .button.preview {
	position: absolute;
	z-index: 1;
	right: 10px;
	top: 0;
}
#pun-post .formsubmit .button.preview {
	right: 35px;
}

#profile .button.preview {
	margin-left:15px;
}
.punbb .formsubmit .button.cancel{
	position: absolute;
	top: 0px;
	left: 85px;
}
#pun-viewtopic .wysi-active .button[name="submit"]{
	right:10px;
}
#pun #pun-post .wysi-active .button[name="submit"]{
	right:35px;
}
.punbb .button:hover {
    color: #fff;
	border-color: #000;
	outline:none;
}
.punbb .button{
	outline:none;
	text-decoration: none;
    border-width: 1px;
    border-style: solid;
    overflow: visible;
    padding: 4px 10px;
    cursor: pointer;
    background: #212121 url(http://forumstatic.ru/files/001c/bb/ae/95618.png) repeat-x top; /* topic_button.png */
    color: #f3f3f3;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 0 #5c5c5c, 0px 2px 3px rgb(0 0 0 / 20%);
    border-color: #212121;
	font: normal 13px helvetica, arial, sans-serif;
}
.punbb .post-links li a, .punbb .subscriptions_portfolio a, #file_upload_button, #update_comments, #del_file, #pun-main .inputfield > a,
#pun-main .datafield > a, #pun-main #pa-edit strong a, #pun-main .sm_close a, #wysi-table .wysi-deleteCell,
#wysi-table .wysi-deleteRow, #wysi-table .wysi-deleteColumn, #wysi-table .wysi-deleteTable, #wysi-table .wysi-addRow, #wysi-table .wysi-addColumn,
#action-internet, #action-computer, #action-return, #action-close, #action-clean-uploaded, #action-insert-uploaded,
#action-clean-textarea, #action-insert-textarea, #custom-prompt .sm_close a, #prompt-ok{
	height: 22px;
	line-height: 22px;
	font-size: 12px;
	padding: 0 12px;
	color: #616161;
	display: inline-block;
	white-space: nowrap;
	text-decoration: none;
	border: 1px solid #dbdbdb;
	background: linear-gradient(to bottom, #f6f6f6 0%, #e5e5e5 100%); 
	box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 1px 0 rgba(0,0,0,0.3);
	border-radius: 3px;
	transition: all 0.2s ease-in-out; 
}
.punbb .post-links li a:hover, .punbb .subscriptions_portfolio a:hover, #file_upload_button:hover, #update_comments:hover, #del_file:hover,
#pun-main .inputfield > a:hover, #pun-main .datafield > a:hover, #pun-main #pa-edit strong a:hover, #pun-main .sm_close a:hover,
#pun-main #wysi-table .wysi-deleteCell:hover, #pun-main #wysi-table .wysi-deleteRow:hover, #pun-main #wysi-table .wysi-deleteColumn:hover,
#pun-main #wysi-table .wysi-deleteTable:hover, #pun-main #wysi-table .wysi-addRow:hover, #pun-main #wysi-table .wysi-addColumn:hover,
#pun-main #action-internet:hover, #pun-main #action-computer:hover, #pun-main #action-return:hover, #pun-main #action-close:hover,
#pun-main #action-clean-uploaded:hover, #pun-main #action-insert-uploaded:hover, #pun-main #action-clean-textarea:hover, #pun-main #action-insert-textarea:hover,
#custom-prompt .sm_close a:hover, #prompt-ok:hover{
		color: #4c4c4c;
		border-color: #9a9a9a;
        text-decoration: none;
}
/*-------------------------------------------------------------*/
/*** Главная страница ***/
/*-------------------------------------------------------------*/
#onlinelist div{font-size: 14px;font-weight: bold;}
#onlinelist div p{font-size: 11px;font-weight: normal;}
#onlinelist div p a{font-size: 13px;font-weight: normal;}
#pun-stats .statscon .item_m1{ text-align:center;}
#pun-stats .container {
  padding: 11px 0px;
}
#pun-stats .container .item1, #pun-stats .container .item2, #pun-stats .container .item3, #pun-stats .container .item4 , #pun-stats .container .item5 div{
  padding: 0px 14px;
}
li#onlinelist{
	margin-top: 1em;
	float: left;
	width: 100%;
}
#pun-stats .container .item5 div{
	margin: 10px 0 0 0;
	padding: 10px;
	line-height: 1.3;
	overflow: hidden;
	background: #ffffff;
	border-color: #A09C8B;
	border-style: solid;
	border-width: 1px 1px 4px;
}
#pun-stats .statscon .item1, #pun-stats .statscon .item2, #pun-stats .statscon .item3, #pun-stats .statscon .item4, #pun-stats .statscon .item_m1{
	font-size:12px;
}
#pun-stats .statscon .item1 strong, #pun-stats .statscon .item2 strong, #pun-stats .statscon .item3 strong, #pun-stats .statscon .item_m1 strong{
	font-size:12px;
	background: #f6f6f6;
	color: #4a4a4a;
	padding: 2px 6px;
	font-weight: bold;
	border-radius: 2px;
	margin-right: 3px;
}
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
}
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
}
.punbb .category {
  min-width: 685px;
  max-width: 1400px;
  padding-right: 280px;
}
.category{
	margin-bottom:20px;
}
.container table{
	padding-bottom:3px;
	padding-top:9px;
}
.punbb h2 span{
	font-size: 16px;
}
.punbb h1 span{
	font-size: 14px;
}
.punbb table{
	font-size: 12px;
}
.punbb table .intd a{
	font-size: 14px;
}
.punbb table .intd .byuser::before{
	content:"\A";
	white-space: pre;
}
#pun-index .tcl, .lastpost {
    font-size: 11px;
	font-weight: normal;
	color: #5A5A5A;
}
#pun-index .tcl h3 {
    font-size: 15px;
	word-wrap: break-word;
	line-height: 18px;
	font-weight: normal;
}

.punbb table div.icon {
    position: relative;
}
.punbb div.icon {
    border:none;
    height: 37px;
    line-height: 0;
    margin-top: 0;
    width: 53px;
}
.category div.icon, #pun-main #messages div.icon { 
    background: url(http://forumstatic.ru/files/001c/bb/ae/88076.png) no-repeat bottom; /* f_icon_read.png */
	float:left;
	margin-right:20px;
}
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
}
.category div.inew, #pun-main #messages div.inew { 
    background: url(http://forumstatic.ru/files/001c/bb/ae/26893.png) no-repeat bottom; /* f_icon.png */
	float:left;
	margin-right:20px;
}
.punbb td.tc2, .punbb td.tc3{
	font-weight: bold;
}
.category .tc2, .category .tc3{
    display: list-item;
    clear: right;
    width: auto !important;
    list-style-type: none;
    text-align: center !important;
}
.punbb .main .category .tc2::before{content: "Тем: "; font-weight:normal;font-size:11px;}
.punbb .main .category .tc3::before{content: "Ответов: "; font-weight:normal;font-size:11px;}
.punbb .main .forum .tc2::before{content: "Ответов: "; font-weight:normal;font-size:11px;}
.punbb .main .forum .tc3::before{content: "Просмотров: "; font-weight:normal;font-size:11px;}
.punbb .category td{
	border-bottom: 1px #dfddd7 solid;
	padding: 10px 14px;
	background-color: #f6f6f6;
}
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 52%;
}
.punbb tbody.hasicon td.tcl {
  padding-left: 10px;
}
.ipsLayout_right {
  width: 270px;
  float: right;
}
.ipsSideBlock {
  background: #F6f6f6;
  padding: 10px 10px 15px 10px;
  border: 1px #A09C8B solid;
  line-height: 120%;
  width: 248px;
  position: absolute;

}
.ipsSideBlock h3 {
  font: normal 14px helvetica, arial, sans-serif;
  color: #39332F;
  padding: 5px 10px;
  background: #A09C8B;
  margin: -10px -10px 10px;
  font-weight: bold;
}
.punbb .ipsUserPhoto{border: 1px solid #d5d5d5;}
.ipsUserPhoto {
  padding: 1px;
  background: #fff;
  box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
}
.ipsUserPhoto_mini {
  margin-top:2px;
  width: 30px;
  height: 30px;
}
.ipsList_withminiphoto > li {
  display:inline-block;
  margin-bottom: 3px;
}
.ipsUserPhotoLink{
	float:left;
}
.ipsList_withminiphoto > li .list_content {
  margin-left: 40px;
  margin-bottom: 4px;
}
.ipsType_small {
  font-size: 12px;
}
.ipsType_smaller, .ipsType_smaller a {
  font-size: 11px !important;
}
.list_content {
  word-wrap: break-word;
}
/*-------------------------------------------------------------*/
/*** Форумы ***/
/*-------------------------------------------------------------*/
.forum div.icon {
    background: url(http://forumstatic.ru/files/001c/bb/ae/19674.png) no-repeat bottom; /* t_read.png */
	float:left;
	margin-right:20px;
}
.forum div.icon-new {
    background: url(http://forumstatic.ru/files/001c/bb/ae/55766.png) no-repeat bottom; /* t_unread.png */
	float:left;
	margin-right:20px;
}
.forum .iclosed div.icon {
    background: url(http://forumstatic.ru/files/001c/bb/ae/57073.png) no-repeat bottom; /* t_locked.png */
	float:left;
	margin-right:20px;
}
.punbb .forum td{
	border-bottom: 1px #dfddd7 solid;
	padding: 10px 14px;
	background-color: #f6f6f6;
}
.linksb .postlink {
  float: right;
  width: 16em;
}
.linkst .postlink{
  position:absolute;
  top: 0;
  right: 0;
  text-align: right;
}
.punbb .postlink.long .new-topic {
  padding-right: 0;
}
.punbb .modmenu .container {
  padding: 0.5em 1em;
}
.punbb .modmenu p.container {
  background-color: transparent;
}
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
}
.punbb .linksb {
  margin-top: 10px;
  text-align: right;
}
#pun-viewtopic .linksb {
  margin-bottom: 13px;
}
.punbb .linkst, .punbb .linksb {
  font-size: 11px;
  font-weight: bold;
  color: #999;
}
.punbb .linkst {
  position:relative;
  top: -81px;
}
/*-------------------------------------------------------------*/
/*** Формы профиля, регистрации и входа ***/
/*-------------------------------------------------------------*/
#pun-login #pun-main, #pun-register #pun-main{
	margin-bottom:10px;
	min-width: 200px;
	display: table;
    width: auto !important;
}
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
}
#profile form fieldset, #profilenav ul, .formal .container fieldset {
  border-color: #a09c8b;
}
.punbb fieldset {
  border-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0;
}
.punbb fieldset legend {
  margin: 0 0 0 11px;
  font-size: 1.1em;
}
.punbb fieldset legend span {
  padding: 0 5px;
}
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
}
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
}
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0;
}
.fs-box, #post .fs-box, #pun-messages.punbb #profile .container #post-new .fs-box, #pun-messages #post_ls_set .fs-box.hashelp {
  white-space: normal;
}
.punbb .inline .infofield {
  clear: both;
}
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0;
}
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0;
}
p[class="checkfield"] *, div[class="checkfield"] *, fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle;
}
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {
  margin: 0 0.3em;
}
.punbb fieldset fieldset {
  border-style: none;
}
select{
  background-color: white;
}
select, input {
  padding: 3px 6px;
  border: 1px solid #a09c8b;
  border-radius: 3px;
}
#profile, .formal, .info{
	padding: 9px 0 3px 0;
	background-color:#a09c8b;
}
#profile .container fieldset span, .formal .container legend span{
	margin:0;
}
#profile form fieldset div, #profile .container fieldset div, .formal .container div{
	border:0;
	box-shadow:none;
	background:transparent;
}
#profile form, #profile form fieldset legend, #profile form fieldset legend span, #profile .container, #pun-main .formal .container, #pun-main .info .container{
	background-color:#f6f6f6;
}
/*-------------------------------------------------------------*/
/*** Темы ***/
/*-------------------------------------------------------------*/
#topic_portfolio::after {
  content: "";
  display: table;
  clear: both;
}
#topic_portfolio {
  margin-top: 25px;
  margin-bottom: 13px;
  display: flex;
  justify-content: space-between;
}
#topic_portfolio .avatar_portfolio img {
  width: 50px;
  height: 50px;
  padding: 1px;
  border: 1px solid #d5d5d5;
  background: #fff;
  box-shadow: 0px 2px 2px rgb(0 0 0 / 10%);
  float: left;
}
#topic_portfolio .title_portfolio {
  margin-left: 15px;
  margin-right: 15px;
  font: 300 26px/1.3 Helvetica, Arial, sans-serif;
  color: #323232;
  position: relative;
  width: 100%;
}
#topic_portfolio .subscriptions_portfolio {
  float: right;
}
.punbb .subscriptions_portfolio a:link, .punbb .subscriptions_portfolio a:visited {
  color: #616161;
}
#topic_portfolio .title_portfolio span:first-child {
  max-width: 808px;
}
#topic_portfolio .title_portfolio span:first-child {
  display: block;
  position: absolute;
  z-index: 10;
  bottom: 20px;
}
#topic_portfolio .info_portfolio {
  font-size: 11px;
  font-weight: normal;
  position: absolute;
  z-index: 1;
  bottom: 5px;
}
.punbb .post h3 span::before {
  content: "Отправлено: ";
  color: #5A5A5A;
  font-size: 11px;
}
.punbb .post h3 span strong {
  float: right;
  font-size: 11px;
  color: #5A5A5A;
  font-weight: normal;
  padding-right: 10px;
}
.punbb .post h3 span a::after {
  content: "\00A0\00A0" url("http://forumstatic.ru/files/001c/bb/ae/95559.png"); /* icon_share.png */
}
.punbb .post h3 span a {
  color: #5A5A5A;
  font-size: 11px;
  font-weight: normal;
}
#pun-viewtopic .post .post-links {
  margin-top: 3px;
}
.punbb .post-links ul {
  padding: 6px 14px 6px 10px;
  margin-bottom: 10px;
  height: 2em;
  line-height: 2em;
  border: none;
  background: transparent;
  text-align: right;
  margin-left: -18.7em;
}
.punbb .post-links li {
  display: inline;
}
.topic {
  border-top: 9px solid #A09C8B;
  border-bottom: 3px solid #A09C8B;
  border-radius: 0 0 2px 2px;
}
#pun-viewtopic .post, #pun-viewtopic .post .container, #pun-viewtopic .post .post-body, #pun-viewtopic .post .post-links {
  background-color: #f3f3f2;
}
#pun-viewtopic .altstyle, #pun-viewtopic .altstyle .container, #pun-viewtopic .altstyle .post-body, #pun-viewtopic .altstyle .post-links {
  background-color: #eeedea;
}
#pun-viewtopic .post, #pun-searchposts .post, #pun-messages .post, #pun-post .post {
  margin-bottom: 2px;
}
.punbb .post .post-author {
  float: left;
  width: 160px;
  font-size: 11px;
  margin-top: -24px;
  overflow: hidden;
}
.punbb .post .post-author ul {
  padding: 0 15px 15px 15px;
  line-height: 120%;
}
#pun .pa-author {
  width: 158px;
}
#pun .pa-author, #topic_portfolio .title_portfolio span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pa-author {
  width: 165px;
  line-height: 24px;
  font-weight: normal;
  font-size: 16px;
}
#pun-viewtopic .post h3, #pun-searchposts .post h3, #pun-messages .post h3, #pun-post .post h3 {
  padding-top: 6px;
  height: 26px;
  line-height: 24px;
  border: none;
  background-color: transparent;
  margin-left: 185px;
}
.pl-email, .pl-website {
  float: left;
}
.post .post-links .email, .post .post-links .pm, .post .pa-respect a:nth-child(2), .post .pa-respect a:nth-child(4) {
  display: none;
}
#pun-viewtopic .post .post-links {
  margin-top: 3px;
}
.punbb .post-links {
  margin-left: 19em;
}
li.pa-title {
  padding-bottom: 0.4em;
  font-weight: bold;
}
.pa-reg {
  width: 94px;
  margin-bottom: 15px;
}
.post .pa-invites .fld-name a::before {
  content: "\1F46B";
  font-size: 18px;
}
.post .pa-posts .fld-name::before {
  content: "\1F4AC";
  font-size: 18px;
}
.post .pa-respect .fld-name a::before {
  content: "\1F44D";
  font-size: 18px;
}
.post .pa-posts .fld-name, .post .pa-invites .fld-name a, .post .pa-respect .fld-name a {
  font-size: 0;
}
.post .pa-respect {
  margin-bottom: 15px;
}
.post .post-body {
  margin-left: 205px;
}
.post .post-box {
  margin-left: 0;
  margin-right: 10px;
  padding: 7px 0 0 0;
  border: none;
  word-wrap: break-word;
  color: #282828;
}
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}
.post .post-box {
  word-wrap: break-word;
  color: #282828;
}
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}
.post .post-box .post-content {
  min-height: 250px;
}
.punbb .post-content p {
  line-height: 1.6;
  font-size: 14px;
}
.post-rating {
  float: right;
  white-space: nowrap;
  min-width: 20px;
  height: 19px;
  margin-top: auto;
  padding-top: 5px;
  line-height: 19px;
  padding-bottom: 7px;
}
.punbb div.post-rating a {
  font-size: 10px !important;
  padding: 3px 7px !important;
  margin: 0 3px;
  border-radius: 3px;
  font-weight: bold;
  background: #f2f2f2;
  border: 1px solid #b1b1b1;
  color: #282828;
  vertical-align: middle;
}
div.post-vote p .positive::before {
  content: url("http://forumstatic.ru/files/001c/bb/ae/59675.png"); /* rep_up.png */
  background-size: 19px 19px;
  float: right;
}
div.post-vote p .negative::before {
  content: url("http://forumstatic.ru/files/001c/bb/ae/94123.png"); /* rep_down.png */
  background-size: 19px 19px;
  float: left;
}
.punbb div.post-vote a {
  font-size: 0px !important;
}
.punbb div.post-vote p {
  padding: 9px 0 0 0 !important;
  margin-right: 2px !important;
}
.punbb div.post-vote p .negative {
  margin-left: 8px;
}
.no-avatar .pa-title {
  display: inline-block;
  width: 94px;
  height: 110px;
  background-image: url('http://forumstatic.ru/files/001c/bb/ae/16372.png'); /* no_name.PNG */
  background-repeat: no-repeat;
  background-size: 94px 110px;
}
#pun .punbb .post-content .lastedit {
  padding: 2px 0 0 24px;
  background: url(http://forumstatic.ru/files/001c/bb/ae/59589.png) no-repeat left 4px; /* icon_warning.png */
  font-size: 12px;
  margin-top: 15px;
  line-height: 14px;
  color: #7c7c7c;
}
.pa-avatar img {
  max-width: 90px;
  max-height: 90px;
  padding: 1px;
  border: 1px solid #d5d5d5;
  background: #fff;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
#topic_active_users {
  margin: 20px 0 10px 0;
  padding: 10px;
  line-height: 1.3;
  overflow: hidden;
  background: #ffffff;
  border-color: #A09C8B;
  border-style: solid;
  border-width: 1px 1px 4px;
}
#topic_active_users .stat_topic_users {
  font-size: 14px;
  font-weight: bold;
}
#topic_active_users .stat_topic_ghost {
  font-size: 11px;
  font-weight: normal;
}
#topic_active_users .topic_active_online {
  font-size: 13px;
  font-weight: normal;
}
.linkst .pagelink, .linksb .pagelink {
  width: 45em;
  line-height: 22px;
  padding: 5px 4px;
}
.linkst .pagelink {
  position: absolute;
}
.linksb .pagelink {
  text-align:left;
}
#pun-viewtopic .pagelink > .prev, #pun-viewtopic .pagelink > .next, #pun-main .pagelink > .prev, #pun-main .pagelink > .next {
  display: inline-block;
  padding: 0px 6px;
  height: 20px;
  background: #eaeaea;
  border-radius: 2px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
  margin: 0 1px;
  line-height: 20px;
  color: #b03737;
}
.punbb .linkst .pagelink a, .punbb .linksb .pagelink a {
  display: inline-block;
  padding: 0px 5px;
  height: 20px;
  border-radius: 2px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
  color: #999;
  margin: 0 1px;
}
.linkst .pagelink strong, .linksb .pagelink strong {
  background: #7BA60D;
  color: #fff;
  font-weight: bold;
  border-radius: 2px;
  padding: 5px 6px;
  line-height: 20px;
  margin: 0 1px;
}
/*-------------------------------------------------------------*/
/*** Профиль ***/
/*-------------------------------------------------------------*/
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
}
#pun-main #profilenav h2 {
  background-color: #a09c8b;
  border: 1px solid #a09c8b;
  margin: 0;
  padding: 5px 10px;
}
#viewprofile ul, #profilenav ul {
  border-style: solid;
  border-width: 1px;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
}
#profile .container {
  padding-left: 18.6em;
}
#profilenav h2 span {
  color: #39332F;
  font-weight: bold;
}
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
}
.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #333;
}
        /* --- 0000 --- */
.profile-overlay {
   display: flex;
   min-height: 550px;
   background-color: #f6f6f6;
}
.profile-sidebar {
   width: 280px;
   padding: 30px 20px;
   display: flex;
   flex-direction: column;
   align-items: center;
   border-right: 1px solid rgba(0, 0, 0, 0.08);
   box-sizing: border-box;
}
.avatar-box {
   position: relative;
   margin-bottom: 15px;
}
.avatar-box img {
   width: 140px;
   height: 140px;
   border-radius: 8px;
   border: 4px solid #ffffff;
   box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.edit-btn {
   position: absolute;
   bottom: -10px;
   right: -10px;
   background: #484848;
   color: #fff !important;
   border: 2px solid #fff;
   width: 32px;
   height: 29px;
   padding-bottom: 3px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   font-size: 18px;
   box-shadow: 0 4px 10px rgba(0,0,0,0.2);
   transition: 0.2s;
}
.edit-btn:hover {
   background: #5C5C5C;
   text-decoration: none !important;
}
.user-name {
   font-size: 26px !important;
   font-weight: 800 !important;
   color: #A40D0D !important;
   margin: 0 0 4px 0;
   text-align: center;
   letter-spacing: -0.5px;
   border: none !important;
   background: transparent !important;
   text-shadow: 1px 1px 5px #929292;
   word-break: break-all;
   overflow-wrap: break-word;
}
.user-rank {
   font-size: 16px;
   font-weight: 600;
   letter-spacing: 1px;
   margin-bottom: 15px;
}
.rating-box {
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	padding: 2px 8px;
	border-radius: 4px;
	margin-bottom: 12px;
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
	display: inline-block;
}
.rating-positive {
	background: #1cae21;
	border: 1px solid #147A1A;
}
.rating-zero {
	background: #b0bec5;
	border: 1px solid #78909c;
}
.rating-negative {
	background: #cf0f0c;
	border: 1px solid #9b1616;
}
.status-inactive-border {
	border: 1px solid #848484;
	background: #ececec;
	color: #848484;
}
.status-active-border {
	border: 1px solid #3A843B;
	background: #a6e0ad;
	color: #0C5708;
}
.status-online {
	font-size: 12px;
	font-weight: 600;
	border-radius: 8px;
	padding: 2px 10px;
	margin-bottom: 15px;
	display: inline-flex;
	align-items: center;
}
.status-active-border::before {
	content: '';
	width: 8px;
	height: 8px;
	background: #2e7d32;
	border-radius: 50%;
	display: inline-block;
	margin-right: 6px;
}
.action-buttons-group {
	width: 100%;
    display: flex;
    flex-direction: column;
}
.action-btn {
    display: block;
    width: 80%;
	margin-left: 10%;
    box-sizing: border-box;
    background: #484848;
    color: #e0e6e1 !important;
    text-align: center;
    padding: 6px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #fff;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.action-btn:hover {
    background: #5C5C5C;
    color: #fff !important;
	text-decoration: none !important;
}
.profile-main {
    flex: 1;
    padding: 30px;
    box-sizing: border-box;
	background-color: #eeedea;
}
.section-wrapper {
    margin-bottom: 30px;
}
.section-title {
	font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(0,0,0,0.06);
    padding-bottom: 6px;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}
.info-flex-container {
	display: flex;
    flex-wrap: wrap;
    margin-left: -7px;
    margin-right: -7px;
}
.info-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0,0,0,0.03);
    padding: 12px 15px;
    border-radius: 8px;
    box-sizing: border-box;
    flex: 1 1 40%; 
    min-width: 200px;
    margin: 7px;
}
.info-label {
    font-size: 12px;
    color: #788290;
    margin-bottom: 4px;
    font-weight: 500;
}
.info-value {
    font-size: 15px;
    color: #1d2126;
    font-weight: 600;
    word-wrap: break-word;
    word-break: break-all; 
}
.full-width-block {
	background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0,0,0,0.03);
    padding: 15px;
    border-radius: 8px;
    line-height: 1.5;
    color: #2c3e50;
    font-size: 14px;
    word-wrap: break-word;
    word-break: break-all;
	margin:10px 0;
}
/*-------------------------------------------------------------*/
/*** Редактор ***/
/*-------------------------------------------------------------*/
.punbb #post-form #post fieldset:nth-child(2) {
  padding: 9px;
  border: 0;
}
.punbb #post-form #post fieldset:nth-child(2) legend {
  padding: 8px 0 8px 0;
  position: relative;
}
#post-form #post #ava_edit {
  width: 50px;
  height: 50px;
  padding: 1px;
  border: 1px solid #d5d5d5;
  background: #fff;
  box-shadow: 0px 2px 2px rgb(0 0 0 / 10%);
  position: absolute;
  top: 48px;
  left: -10px;
}
.punbb #post-form #post {
  padding: 0;
}
.punbb legend span, #pun-main #profile .container #post-preview legend span, #pun-main #profile .container #post-new legend strong, #pun-messages #post_ls_set legend strong {
  background: transparent;
  color: #323232;
  font: 300 26px/1.3 Helvetica, Arial, sans-serif;
    font-size: 26px;
  font-size: 18px;
}
#pun-viewtopic .fs-box {
  margin: 0 0 0 65px;
}
.fs-box, #post .fs-box, #pun-messages.punbb #profile .container #post-new .fs-box, #pun-messages #post_ls_set .fs-box.hashelp {
  padding: 4px 0 15px 0;
  display: block;
  border: 1px solid #b6b6b6;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
  white-space: normal;
  background: #cfd1cf;
  background-image: linear-gradient(to bottom, #f5f5f5 0px, #cfd1cf 50px, #ebebeb 90%, #cfd1cf 100%);
}
#form-buttons table{
	width:100%;
	padding-left:20px;
	padding-right:20px;
}
#form-buttons td{
	width:30px;
	float:left;
}
#button-link, #button-bold{
	margin-left:20px;
}
#form-buttons td#button-wysi{
	float:right;
}
td#button-wysi-hidden {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -930px !important;
}
td#button-mark {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -235px !important;
}
td#button-ul {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -859px !important;
}
td#button-sup {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -91px !important;
}
td#button-sub {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -66px !important;
}
td#button-font {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -282px !important;
}
td#button-size {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -305px !important;
}
td#button-bold {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% 6px !important;
}
td#button-italic {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -18px !important;
}
td#button-underline {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -114px !important;
}
td#button-strike {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -42px !important;
}
td#button-left {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -787px !important;
}
td#button-center {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -763px !important;
}
td#button-right {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -811px !important;
}
td#button-link {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -522px !important;
}
td#button-spoiler {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -691px !important;
}
td#button-image {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -499px !important;
}
td#button-quote {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -667px !important;
}
td#button-code {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -427px !important;
}
td#button-table {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -1100px !important;
}
td#button-smile {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -451px !important;
}
td#button-line {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -740px !important;
}
td#button-wysi {  /* icons.png */
  background: url('http://forumstatic.ru/files/001c/bb/ae/55685.png') no-repeat 50% -716px !important;
}
.wysi-active td#button-wysi {
  background: url('http://forum.mybb.ru/img/smilies/MyBB/light/writing.gif') no-repeat !important;
  background-position: center !important;
}
.wysi-active td#button-wysi:hover, #form-buttons td:hover{
	background-color:#d7d7d7 !important;
}
.wysi-active td#button-wysi:active, #form-buttons td:active{
	background-color:#b7b7b7 !important;
}
td#button-color, td#button-hide {
  background: none !important;
  color: #484848;
}
.icons-hide::before {
  font-size: 16px;
  margin-top: 5px;
}
.icons-color:before{
	margin-top:8px;
}
#pun-main #wysi-mode {
  font-size: 1px;
  position: absolute;
  right: 120%;
}
#pun-main #wysi-reply {
  outline: none;
  min-height: 168px;
  border: none;
  padding: 10px 20px 0;
  box-sizing: border-box;
  background-color: white;
  border-bottom: 1px solid #bfbfbf;
  border-top: 1px solid #bfbfbf;
  box-shadow: 0 4px 6px -2px white;
  font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
  color: #333;
  font-size: 14px;
  margin-bottom: 1px;
}
#pun-main #wysi-reply p {
  padding: 0;
  margin: 0;
  position: relative;
  box-sizing: border-box;
}
#main-reply {
  outline: none;
  border: none;
  min-height: 168px;
  resize: vertical;
  border-radius: none;
  border-bottom: 1px solid #bfbfbf;
  border-top: 1px solid #bfbfbf;
  box-shadow: 0 4px 6px -2px white;
  margin: 0;
  padding: 0;
  font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
  color: #333;
  font-size: 14px;
  line-height: 1.6em;
  cursor: text;
  box-sizing: border-box;
  padding: 10px 20px 0;
  overflow: auto;
}
#pun-main #table-area #wysi-table{
	max-width:none;
}
#table-area{
	width:326px !important;
}
#table-area table{
	margin: 0 auto !important;
}
#table-area .head_win{
	height:25px;
	margin-top: 4px;
	margin-bottom: 12px;
}
.sm_text{
	float:left;
	margin-left:10px;
	font-size: 14px;
	line-height: 24px;
}
#profile .container fieldset span.sm_text {
    margin-left: 10px;
}
#pun #profile #table-area span.sm_close, #pun #profile #table-area span.sm_text {
    margin-top: 5px;
    margin-bottom: 14px;
}
#pun #profile #color-area span.sm_close, #pun #profile #color-area span.sm_text {
    margin-top: 5px;
    margin-bottom: 14px;
}
#table-area .sm_close, #table-area .sm_text {
    margin-top: 5px;
    margin-bottom: 14px;
}
#profile .container fieldset span.sm_close {
    margin-right: 10px;
}
#wysi-table .wysi-deleteCell, #wysi-table .wysi-deleteRow, #wysi-table .wysi-deleteColumn, #wysi-table .wysi-deleteTable, #wysi-table .wysi-addRow, #wysi-table .wysi-addColumn{
	width:120px;
}
#pun #pun-messages #smilies-area, #pun #pun-messages #table-area, #pun #pun-messages #image-area, #pun #pun-messages #color-area{
	padding-left:8px;
}
#tags #smilies-area, #tags #table-area, #tags #image-area, #tags #color-area, #tags #size-area, #tags #font-area, #custom-prompt{
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	border:1px solid #b6b6b6;
	padding:8px;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}
#pun-main #smilies-area{width:428px;padding-top: 40px}
#custom-prompt{background-color:#f6f6f6;padding: 15px;}
#custom-prompt p{font-size:12px;}
#custom-prompt input, #custom-prompt .head_win{margin-bottom:14px;}
#prompt-link{width:290px;}
#prompt-name{width:140px;}
#size-area div{text-align: center;}
#size-area div img, #font-area div img{height:34px;margin-top:-34px;}
#size-area div span, #font-area div span{display:block; padding:5px;}
#size-area div:hover span, #font-area div:hover span{background-color:#a2a2a2;color:white;}
#tags #size-area, #tags #font-area{padding: 0 20px 20px 20px;}
#size-area .head_win, #font-area .head_win{height: 26px;margin: 10px 0;width:150px;cursor:default;}
#pun #profile #size-area .head_win, #pun #profile #font-area .head_win{margin: 10px 0;}
#pun #profile #size-area .sm_text, #pun #profile #font-area .sm_text, #pun #profile #size-area .sm_close, #pun #profile #font-area .sm_close{margin:0;margin-top:5px;}
#pun #pun-messages #font-area, #pun #pun-messages #size-area{padding-left:20px;}
#size-area .sm_text, #font-area .sm_text, #size-area .sm_close, #font-area .sm_close{margin:0;margin-top:5px;}
#color-area .sm_close, #color-area .sm_text{margin-top:5px;margin-bottom: 14px;}
#size-area .sm_close, #font-area .sm_close, #pun #pun-messages #size-area .sm_close, #pun #pun-messages #font-area .sm_close{margin-right:-5px;}
#action-computer, #image-area-sels strong{margin:12px;}
#image-area-sels strong{margin-top: 8px;display: block;}
#image-area{width: auto !important;display:table;}
#size-area, #font-area{width:150px !important;}
#color-area{width:340px !important;}
#image-area table{width: 451px;}
#image-area-tinp{margin: .5em 13px !important;resize: none;width: 441px !important;border-color: #b6b6b6 !important;overflow:auto;}
#image-area-thd{width:400px !important;margin:8px;}
#image-area-actions{margin:8px 0;}
#image-insert-format, #image_upload, #image-width, #image-thumb-width, #upload-button-container{margin:0 8px;}
#uploaded-images, #insert-image-tip{margin-left: 16px;margin-right: 4px;}
#color-area .head_win{  height: 30px;}
#color-area table{margin: 10px !important;}
#tags #smilies-area div .sm_text{
	margin-left:10px;
	font-size:14px;
	line-height:24px;
}
.sm_close{
	float:right;
	margin-right:10px;
}
#tags #smilies-area div .sm_close, #tags #smilies-area div .sm_text{
	margin-top:-36px;
}
#tags #smilies-area div .sm_close{
	float:right;
	margin-right:10px;
}
#tags #smilies-area div .sm_tab{
	margin-top:8px;
	border:1px solid #b6b6b6;
	padding: 5px;
	background-color:#efefef;
}
#tags #smilies-area div .sm_tab img{
	border:1px solid transparent;
	min-width:54px;
	height:26px;
	object-fit: contain;
	background-color:transparent;
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {   
	#tags #smilies-area div .sm_tab img {
		border: 5px solid transparent;
		background-color: transparent;
		min-width: 26px; 
		height: 26px; 
	}
}
#tags #smilies-area div .sm_tab img:hover{
	background-color:white;
}
#pun-main #wysi-mode::before, #pun-main #wysi-mode::after {
  content: none;
}
