/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html {
background: url(http://forumfiles.ru/files/001a/05/bd/26622.jpg);
background-repeat: no-repeat;
background-attachment: fixed; 
background-position: top center;
background-color: #303030;
background-size: cover;
/*overflow-x: hidden !important;*/}

/* Шапка */
#pun-title table {
    background-image: url(http://forumfiles.ru/files/001a/05/bd/22063.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 924px;
    height: 253px;
    margin-left: -20px;
    margin-top: -294px !important;
}

/* Тело форума */
#pun {
width: 924px; 
background-color: transparent; 
background-image: url(http://forumfiles.ru/files/001a/05/bd/79021.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 924px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumfiles.ru/files/001a/05/bd/14937.jpg);
    margin: 0px 0px -120px -20px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 924px;
    height: 44px;
    overflow-x: hidden;
    padding-bottom: 90px;
}


/* CS1.1 Фон и цвет текста на форуме */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, #pun-navlinks .container,
.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, .punbb-admin #pun-admain .adcontainer, #pun-stats h2, .punbb .main h2, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl, #pun-navlinks .container  {background-color: transpanent;
color: #303030;
font-weight: normal;
font-style: normal;
}

#pun-admain .adformal, #pun-admain .adcontainer
{border: none;
border-color:  transparent;}

.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
    background-color: transparent;
    color: #303030;
    text-align: center;
    font-style: normal;
    font-family: 'Playfair Display';
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumfiles.ru/files/001a/05/bd/27036.jpg);
    background-color: #b5b5b5;
    color: #303030;
    border: 1px solid #b5b5b5;
    outline: 2px solid #6d7c86;
    box-shadow: 0 0 1px #6a7c89 inset;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-image: url(http://forumfiles.ru/files/001a/05/bd/27036.jpg);
    background-color: #b5b5b5;
    color: #303030;
}

/* Тень и закругление */
.punbb .quote-box, .punbb .code-box, .punbb textarea, .punbb select  { 
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
 }

.punbb input { border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background-image: url(http://forumfiles.ru/files/001a/05/bd/27036.jpg);
    background-color: #b5b5b5;
}




/* 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: #586879;
  text-decoration: none;
  }

/* 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: #69798a;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #313131;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 7px;
    color: #313131;
    text-transform: uppercase;
    font-family: tahoma;
    word-spacing: 0px;
    font-weight: bold;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #586879;
    transition-duration: 1s;
}


#pun-navlinks a {
    color: #d4d4d4;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #d4d4d4;
}


#pun-navlinks a:hover {
  color: #aebdcb;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumfiles.ru/files/001a/05/bd/84910.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumfiles.ru/files/001a/05/bd/57801.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumfiles.ru/files/001a/05/bd/52413.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumfiles.ru/files/001a/05/bd/27332.png) no-repeat;
}


/* CS3.2 Всё подряд*/
#pun-main div.catleft, #pun-main div.catright {display: none;}
#pun-main .post-author ul {text-align: center;}
ul.post-ul-Sp, .post-img-Sp {text-align:center;}
#pun th, #pun-main h2 {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";}
.category h2 span{display: none;}
#pun-stats h2 span {visibility: hidden;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}



/*---Прокрутка---*/
::-webkit-scrollbar {
    width: 5px;
    height: 4px;
    background-color: #1d1d1d42;
}

::-webkit-scrollbar-thumb{
background-color: #767f88;
}

::-webkit-scrollbar-thumb:hover{
background-color: #818a93; }

::selection {
    background: #3d454e !important;
    color: #b9b8b8;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}




td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: tahoma;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.6px;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 4px;
    border: 3px solid #b9b9b9;
    outline: 1px solid #6f7a86;
}

#pun-viewtopic .post h3 {
    width: 874px;
    margin-left: 4px;
    height: 14px;
    background-image: url(http://forumfiles.ru/files/001a/05/bd/92762.jpg);
    border-radius: 4px;
    text-transform: uppercase;
    font-family: tahoma;
    font-size: 8px;
    border: 1px solid #a9a8a8;
}




#pun-index .tcl h3 a {
    color: #d0d0d0 !important;
}




#pun-index div.category h2, #pun-index #pun-stats h2 {
    background-image: url(http://forumfiles.ru/files/001a/05/bd/20466.jpg);
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    margin: 0px -12px 16px;
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    height: 15px;
    width: 908px;
}





.podf {
background-image: url(http://forumfiles.ru/files/001a/05/bd/27036.jpg);
    background-color: #b5b5b5;
    padding: 3px 6px 5px 6px;
    margin-top: 4px !important;
    font-family: tahoma;
}


.links1 {
text-align: center;
    margin-top: 3px !IMPORTANT;
}

.links1 a {
    color: #273642 !important;
    text-transform: uppercase;
    padding: 0px 3px 1px 3px;
    font-family: tahoma;
    font-size: 7px;
    letter-spacing: 0.5px;
    margin: 0 3px 0 3px;
}


.links1 a:hover {
    color: #dadada !important;
    text-transform: uppercase;
    padding: 0px 3px 1px 3px;
    font-family: tahoma;
    font-size: 7px;
    letter-spacing: 0.5px;
    margin: 0 3px 0 3px;
    transition-duration: 2s;
    background-color: #71808b;
}






.punbb .post h3 span a {
    color: #d0cece !important;
}





.punbb .post .post-author a {
    color: #b6c0c7 !important;
}


.links2 {
    text-transform: uppercase;
    font-family: tahoma;
    font-size: 7px;
    color: #cecece !important;
    letter-spacing: 0.6px;
    margin: 0 3px 0 3px !important;
}



.links2:hover {
text-transform: uppercase;
    font-family: tahoma;
    font-size: 7px;
    color: #9db0bf !important;
    letter-spacing: 0.6px;
    transition-duration: 2s;
    margin: 0 3px 0 3px !important;
}


.infot {
font-family: tahoma;
    color: #bbb;
    text-transform: uppercase;
    font-size: 10px;
    text-shadow: 1px 1px #0006;
}



.info {
    height: 80px;
    overflow-y: auto;
    margin-top: 10px !important;
    text-align: justify;
    color: #adacac;
    font-family: tahoma;
    padding-right: 6px;
    font-size: 9px;
    text-shadow: 1px 1px #0000006e;
}



.pname {
    font-family: tahoma;
    text-align: right;
    color: #bbb;
    text-transform: uppercase;
    font-size: 10px;
    text-shadow: 1px 1px #0006;
}



#counters A IMG{opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=30);}
#counters a:hover img {opacity:1.0; -moz-opacity:1.0;
filter:alpha(opacity=70); transition-duration: 2s;}



.bannp {
    overflow-y: auto;
    width: 834px;
    height: 31px;
}






.pa-fld1 {
    background-color: #808f9c;
    margin-bottom: 4px !important;
    color: #252525;
    box-shadow: 0 0 1px #b5b5b5 inset;
    border: 1px solid #667786;
    text-align: justify;
    font-family: tahoma;
    font-size: 9px;
    padding: 5px;
}


.lz {
text-align: center;
}


.lz a {
    font-family: tahoma;
    font-size: 10px !important;
}


.pa-fld1 a {
    font-family: tahoma;
    font-size: 9px;
}




.pa-posts, .pa-respect, .pa-fld2 {
    vertical-align: text-top;
    display: inline-table;
    margin-top: 5px !important;
    padding: 1px 6px !important;
    width: 30px;
    text-align: center;
    color: #cecece;
    font-family: tahoma;
    font-size: 7px !important;
    text-transform: uppercase;
}


.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    box-shadow: 0 0 14px rgba(0,0,0,.3);
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background-image: url(http://forumfiles.ru/files/001a/05/bd/27036.jpg);
    background-color: #b5b5b5;
}