/* CS1 Background and text colours
-------------------------------------------------------------*/
html {
   background:  
url(http://forumfiles.ru/files/0019/88/9c/95066.png) repeat-x top center fixed;
  background-color: #998877;

}

#pun {
  background: #f4e3cc url(http://forumfiles.ru/files/0019/88/9c/96529.png) repeat top center;
  border: none;

}

#pun-title table { 
    border: none;
    height: 290px;
    width: 918px;
    padding: 0px 9px 0px 9px;
    margin: -70px -9px 0;
    background: url(http://forumfiles.ru/files/0019/88/9c/90833.png) no-repeat top
}


#pun-about {
  margin:  0px 0px -12px -9px ;
background: url("http://forumfiles.ru/files/0019/88/9c/79580.png") no-repeat scroll center bottom transparent; 
width: 918px;
    border-top-style: none;
    height: 45px;
  }




.punbb thead, .lastedit {display:none;}

 .post-author ul {
text-align: center;
}

/* 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 {
  background-color: none;
  color: #303030;
  }

/* CS1.2 */ 
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer { 
background-color:transparent; 
color: #303030; 
}

/* CS1.3 
категории*/
#pun-stats h2, .punbb .main h2, #pun-debug h2 {
    background: transparent url(http://forumfiles.ru/files/0019/88/9c/76328.png)no-repeat;
    color: #303030;
    height: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 0px;
    text-transform: none;
    margin: 0px -9px;
  }
.punbb .main h1
{
    background: transparent url()no-repeat;
    color: #2b2620;
    height: 25px;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    text-transform: none;
    margin: 0px;
  }


.punbb-admin #pun-admain h2 {background: #351c30;}

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: none;
  color: #303030;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: none;
  color: #303030;
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: none;
  color: #303030;
  }

/* CS1.7 */
.punbb #pun-main .quote-box, .punbb #pun-main .code-box {
    margin: 5px 6px 10px 6px;
    padding: 9px 12px 9px 12px;
        background: #dac3ab;
    border: 1px solid #cdcdaa !important;
    outline: 3px solid #998877;
    
}

/* CS1.8 */
.offline li.pa-online strong {
  font-weight: normal;
  }

.punbb textarea, .punbb select, {background: #f6f6f6;
  color: #303030;

}

/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color:transparent;}

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color:  transparent;
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color:  transparent;
  }

/* CS2.4 */
 .punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table{
  border-color: transparent;
  }


/* CS2.5 */
.punbb th {
  border-color:  transparent;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color:   transparent;
  }

#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: none;
  }

li.pa-online {
  border-left-color: transparent;
  }


/* 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: #8e7868;
text-decoration: none;
  font-weight: bold;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited  {
  color: #8e7868;
text-decoration: none;
    font-family: ;
  }

/* CS3.2 */
.punbb a:hover, .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 {
  color: #8e7868;
text-decoration: underline;
    font-family: ;
  }





/* CS4 Post status icons
 -------------------------------------------------------------*/
    div.icon {
            background: url(http://forumfiles.ru/files/0019/88/9c/26121.png) no-repeat;
    }

    tr.iclosed div.icon {
            background: url(http://forumfiles.ru/files/0019/88/9c/57322.png) no-repeat;
    }

    tr.isticky div.icon {
            background: url(http://forumfiles.ru/files/0019/88/9c/12907.png) no-repeat;
    }

    tr.inew div.icon {
            background: url(http://forumfiles.ru/files/0019/88/9c/90871.png) no-repeat;
    }

#pun-title table tbody tr .title-logo-tdr {position: absolute; z-index: 1; left: 450px; top: -70px;
}





/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
overflow: visible!important;
    border: 1px solid #cdcdaa;
    outline: #998877 solid 3px;
    padding-bottom: 10px;
    background-color: #666666a1;
    color: #2b2620;
}



/* разделитель постов */
#pun-viewtopic .post h3 {
background: #adad9e00 url(http://forumfiles.ru/files/0019/88/9c/76328.png) no-repeat scroll center top;
    width: 918px !important;
    margin: 0px -9px 15px;
    padding-top: 10px;
    /* padding-bottom: 5px; */
    text-align: center;
}

#pun-index .tcl h3 a {
    color: #f4e3cc!important;
}


/*профиль в сообщении*/
.pa-author a, .pa-author {
    color: #f4e3cc!important;
}

li.pa-title {
    padding: 3px 0!important;
    text-align: center;
    font-size: 12px;
    margin: 0px 0 5px 0px;
    font-family: Palatino Linotype;
    background-color: #b5b8a5;
}
}

.pa-avatar img {
    max-width: 180px;
    max-height: 180px;
}

.pa-avatar img {
    border: 0px solid #351c30;
}

li.pa-fld1 {
    width: 174px;
    margin: 0 12px;
    background-color: #f4e3cc;
    border: 3px double #998877;
    padding: 3px!important;
}

li.pa-fld1 a {
    TEXT-TRANSFORM: uppercase;
    font-size: larger;
}

.pa-respect a {
    color: #f4e3cc!important;
}

.pa-respect, .pa-posts {
       color: #f4e3cc!important;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    width: 70px;
    line-height: 13px;
    margin: 5px 10px 5px!important;
    padding: 2px 0!important;
    text-transform: lowercase;
}



.admin-advert-block {
    width: 468px;
    height: 60px;
    display: none;
}




/* Прокрутка */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
background: #4c626f;
}
::-webkit-scrollbar-thumb {
    background:#998877;
}
/* выделение */
    ::selection { 
    background-color: #666666;
    color: #f4e3cc;
    opacity: 0.4;
    } 


#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner{
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    margin: -135px 0 0 -384px;
    width: 768px;
    z-index: 100;
background: #bcbcab;
    border: 4px solid #bcbcab !important;
    outline: 1px solid #351c30;
    background-image: url(http://forumfiles.ru/files/0019/b8/f6/21403.png);
}


.pun-modal .modal-inner {
    border: 3px double #2b271b!IMPORTANT;
    box-shadow: inset 0 0 3px 2px #2d271b!IMPORTANT;
    background: #a8a99a!IMPORTANT;
}

#profile-signature ul
{
    padding: 1em 1em 1em 1em !IMPORTANT;
}


.links_header {
    position: absolute;
    z-index: 1000;
    overflow: hidden;
    /* background-color: #342334; */
    top: 63px;
    left: 470px;
    width: 420px;
    text-align: center;
color: #f4e3cc

}

.sammary_header {
    position: absolute;
    z-index: 1000;
    overflow: hidden;
    /* background-color: #998877; */
    top: 110px;
    left: 20px;
    width: 440px;
    text-align: justify;

}

.ams_header {
    position: absolute;
    z-index: 1000;
    overflow: hidden;
    /* background-color: #342334; */
    top: 7px;
    left: 470px;
    width: 420px;
    text-align: center;

}

.ams_header img {
    width: 130px;

}

.new_header {
    position: absolute;
    z-index: 1000;
    overflow: auto;
    top: 110px;
    left: 470px;
    width: 430px;
    text-align: justify;
}
.links_header a {
    color: #f4e3cc!important;
}






.banners {
 position: absolute;
    z-index: 1000;
    overflow: hidden;
    bottom: -65px;
    height: 50px;
    width: 895px;
    background-color: #f4e3cc21;
    border: 1px solid #f4e3cc75 !important;
}

.banners a img:hover { 
    opacity: 1;
filter: grayscale(0%);
}
.banners a img {transition: 2s;
    opacity: 0.6;
filter: grayscale(100%);
    border: 1px solid #998877;
}

marquee {
    max-height: 38px;
    padding: 3px;
    margin: 3px 0!important;
}

strong.legend a {
    color: #f4e3cc!important;
}


