/* Style
-------------------------------------------------------------*/

/* фон */
html {
background: url(http://forumstatic.ru/files/001b/00/15/78756.jpg);
  background-color: #2e4040;
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-position: top center;
  background-size: cover;
  z-index: 100;
  top: 0 !important;
  overflow-x: hidden !important;
}

/* тело */
#pun {
width: 1104px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/001b/00/15/40406.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;
}

.punbb {
padding: 0 30px!important;
width: 1104px;
}

/* шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001b/00/15/70218.png);
    background-repeat: no-repeat;
    background-position: top center;
    margin: -382px 0px -90px -110px;
    width: 1104px;
    height: 333px;
}

/* низ */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/001b/00/15/57819.png);
    margin: 0px 0px -140px -110px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 1104px;
    height: 90px;
    overflow-x: hidden;
    padding-bottom: 50px;
}


/* категории */

.punbb .category h2 {
  width: 940px;
  height: 54px;
  text-align: center;
  margin-left: -28px;
}

.punbb .category.category-1 h2 {background: url(http://forumstatic.ru/files/001b/00/15/95905.jpg) no-repeat center;} 
.punbb .category.category-2 h2 {background: url(http://forumstatic.ru/files/001b/00/15/95905.jpg) no-repeat center;}
.punbb .category.category-3 h2 {background: url(http://forumstatic.ru/files/001b/00/15/95905.jpg) no-repeat center;} 
.punbb .category.category-4 h2 {background: url(http://forumstatic.ru/files/001b/00/15/95905.jpg) no-repeat center;}
.punbb .category.category-5 h2 {background: url(http://forumstatic.ru/files/001b/00/15/95905.jpg) no-repeat center;} 
.punbb .category.category-6 h2 {background: url(http://forumstatic.ru/files/001b/00/15/95905.jpg) no-repeat center;} 
.punbb .category.category-7 h2 {background: url(http://forumstatic.ru/files/001b/00/15/95905.jpg) no-repeat center;}
.punbb .category.category-8 h2 {background: url(http://forumstatic.ru/files/001b/00/15/95905.jpg) no-repeat center;} 
.punbb .category.category-9 h2 {background: url(http://forumstatic.ru/files/001b/00/15/95905.jpg) no-repeat center;
}

#pun-stats.section h2  {
background: transparent url(http://forumstatic.ru/files/001b/00/15/95905.jpg) no-repeat center;
  width: 940px;
  height: 78px;
  text-align: center;
  color: transparent;
  margin-left: -28px;
}



.punbb {
    position: relative;
}
#changi {
    position: absolute;
    z-index: 2;
    left: 350px;
    top: 16px;
}
#changi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 0 122px 214px;
    border-color: #2f4141 transparent;
}
#changi img {
    position: absolute;
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 6px 6px 3px;
    border-color: transparent;
    -moz-opacity: 0;
    opacity: 0;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}
#changi img.ch {
    position: relative;
    z-index: 1;
}
#changi img.visible {
    -moz-opacity: 1;
    opacity: 1;
}
#changi area {
    cursor: auto;
    outline: none;
}




/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.1 */
.punbb .section .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, .punbb .main .container, .punbb .post .container, .punbb .post h3, #pun-stats h2, .punbb .main h2, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl {
  background-color: transpanent;
  color: #1b1f1f;
  font-weight: normal;
  font-style: normal;
}

/* CS1.2 */
#pun-admain .adformal, #pun-admain .adcontainer {
  border: none;
  border-color:  transparent;
}

/* CS1.3 */
.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
  background-color: transparent;
  color: #1b1513;
  text-align: center;
  font-style: normal;
  font-family: Cormorant SC;
}

/* CS1.4 */
.punbb .quote-box, .punbb .code-box {
  background-image: url(http://forumstatic.ru/files/001b/00/15/44310.jpg);
  background-color: #beb7ae;
  color: #15120f;
  border: 1px solid #5a7978;
}

/* CS1.5 */
.punbb textarea, .punbb input {
  background-color: #a8a69e;
  color: #15120f;
}

/* CS1.6 */
.punbb .quote-box, .punbb .code-box, .punbb textarea, .punbb select  { 
  background-image: url(http://forumstatic.ru/files/001b/00/15/44310.jpg);
  background-color: #beb7ae;
 }

/* CS1.7 */
.punbb input { 
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

/* CS1.8 */
#pun-popup_awards div, #pun-reputation div {
    background-image: url(http://forumstatic.ru/files/001b/00/15/44310.jpg);
    background-color: #beb7ae;
    color: #15120f;
}


/* CS2 
-------------------------------------------------------------*/

/* CS2.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, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited, #pun-navlinks a, #pun-ulinks a {
  color: #294f50;
  text-decoration: none;
  transition: color 1s linear;
}

/* CS2.2 */
.punbb a:focus, .punbb a:active,  .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active,  #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #294f50;
}

.punbb a:hover {
  color: #b16928;
  text-decoration: none;
}

/* CS2.3 */
#pun-ulinks a {
  font-size: 12px;
  color: #294f50;
  text-transform: lowercase;
  font-family: Cormorant SC;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #b16928;
}

/* CS2.4 */
#pun-navlinks a {
  color: #273c3b;
}

#pun-navlinks a:focus, #pun-navlinks a:active, #pun-navlinks a:hover {
  color: #c48e2e;
}

/* CS2.5 */
#pun-title, #pun-navlinks {
  border-color: #5a7978 ;
}

/* CS2.6 */
.punbb .container, .punbb .post-body {
  border-color:  transparent;
}

/* CS2.7 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-style: none;
  border-width: 0;
}

/* CS2.8 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent ;
}

/* CS2.9 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.post-links ul, .post-links, .usertable table {
  border-color: transparent;
}

/* CS2.10 */
.punbb th {
  border-color: transparent ;
}

/* CS2.11 */

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;
}

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent ;
}

.punbb .divider {
  border-color: transparent;
}

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent ;
}

li.pa-online {
  border-left-color: #5a7978;
  margin-bottom: 0px;
}


/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 - иконки */

/*старая*/
div.icon {
        background: url(http://forumstatic.ru/files/001b/00/15/11325.png) no-repeat;
}

/*новая*/
tr.inew div.icon {
        background: url(http://forumstatic.ru/files/001b/00/15/22006.png) no-repeat;
}

/*закрытая*/
tr.iclosed div.icon {
        background: url(http://forumstatic.ru/files/001b/00/15/78577.png) no-repeat;
}

/*важная*/
tr.isticky div.icon {
        background: url(http://forumstatic.ru/files/001b/00/15/13293.png) no-repeat;
}

/* CS3.2 */
#pun-main div.catleft, #pun-main div.catright {display: none;}
#pun-main .post-author ul {text-align: center;}
#pun-navlinks .container, #pun-ulinks .container {text-align: center;}
.modlist {font-size: 95.05%;}
#pun-announcement .container {font-size: 101%; font-family: "Arial";}
#pun-stats h2 span {visibility: hidden;}
#pun td .modlist {display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards {display:none}
.category .container thead {display: none;}
.modlist {display: none !important;}
.topic .sharelink {display:none;}
.punbb .modmenu .container span {display: none;}


#pun th, #pun-main h2 {
  text-align: right;
  padding-top: 15px;
  }

/* CS3.3 */
#pun-viewforum.punbb div.icon {
  margin: -6px 0px 0px -35px;
}


/* CS4 Adds
 -------------------------------------------------------------*/

/*---прокрутка---*/

::-webkit-scrollbar-thumb:vertical {
   background-color:#f8ecec; 
   border: 2px solid #5a7978;
}

::-webkit-scrollbar-thumb:horizontal {
   background-color:#f8ecec; 
   border: 2px solid #5a7978;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #5a7978;
}

::selection {
    background: #6c8685 !important;
    color: #abc3c2;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: Cormorant SC;
    font-size: 13px;
    letter-spacing: -0.5px;
    font-weight: bold;
}

.punbb .pa-avatar img {
  max-width: 180px !important;
  border: 3px solid #2f4141;
  margin-top: 1px;
}

#pun-viewtopic .post h3 {
  width: 922px;
  height: 18px;
  font-family: Cormorant SC;
  margin: 3px 0 0 -24px !important;
  background-image: url(http://forumstatic.ru/files/001b/00/15/44310.jpg);
  background-color: #96938b;
  font-size: 12px;
}


#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {
  position: absolute;
  right: 6px;
  top: 43px;
  background-image: url(http://forumstatic.ru/files/001b/00/15/44310.jpg);
  background-color: #96938b;
  border: 1px solid #5a7978;
}


.links2:hover {
 font-family: Cormorant SC;
    color: #668798 !important;
    font-size: 9px;
    letter-spacing: 0.2px;
    font-weight: 600;
}

.tab-a .post-content::first-letter {
    color: #426363;
    font-family: Cormorant SC;
    font-size: 13px;
    font-weight: 600;
}


.tab-a .post-content {
    background-color: #7f7f7f29;
    padding: 10px !IMPORTANT;
    text-align: justify !important;
}

.inner, #pun_wrap #post .container, #video-area-tinp, #image-area-tinp, .pun-modal .modal-inner {
    background: url(http://forumstatic.ru/files/001b/00/15/31440.jpg) top center repeat #a7a49c;
    color: #15120f; 
    outline: none; 
    border: 1px solid #5a7978;
}
#pun_wrap #post .container {
    width: 500px;
    max-height: 200px; 
    overflow: auto;
    padding: 15px 5px 15px 25px;
}

.pagelink {
  color: #294f50;
}

#pun-index .category .tc2,#pun-index .category .tc3 {
  display: none !important;
}

#pun-admain input, #pun-admain select {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0.3em;
  color: #2d3538;
}