/* CS1 Background and text colours
-------------------------------------------------------------*/

/* фон */
html, body { background:
  url("http://forumfiles.ru/files/0019/b4/0a/77962.jpg") repeat-x top left,
  url("http://forumfiles.ru/files/0019/b4/0a/64905.jpg") center; background-color : #111111;
}

/* Шапка */
#pun-title table {
background-image : url(http://forumfiles.ru/files/0019/b4/0a/33573.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 946px;
height: 354px;
margin-left: -25px;}

/* Тело форума */
#pun {
width: 946px; 
background-color: transparent; 
background-image: url(http://forumfiles.ru/files/0019/b4/0a/73139.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 946px;}

/* Футер */
#pun-about p.container {
background-image : url(http://forumfiles.ru/files/0019/b4/0a/97547.jpg);
margin: 0px 0px -30px -25px;
background-position : center top;
background-repeat : no-repeat;
width: 946px;
height: 147px; 
overflow-x: hidden;}






/* 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: #111111;
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: #111111;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumfiles.ru/files/0019/b4/0a/97657.jpg);
    color: #111111;
    background-color: #afaca3;
    border: 1px solid #bab7b0;
    outline: 3px solid #a8a59e;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-image: url(http://forumfiles.ru/files/0019/b4/0a/97657.jpg);
    background-color: #afaca3;
    color: #111111;
}

/* Тень и закругление */
.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: 5px;
border-bottom-right-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background-image: url(http://forumfiles.ru/files/0019/b4/0a/97657.jpg);
    background-color: #afaca3;
}





/* 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: #274038;
  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: #273631; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #78693d;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 10px;
    color: #24322d;
    text-transform: lowercase;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #151515;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #afaca3;
    padding: 3px 3px 3px 3px;
}


#pun-navlinks a:focus,#pun-navlinks a:hover, #pun-navlinks a:active {
    color: #cececd;
    background-color: #665936;
    padding: 3px 3px 3px 3px;
}


#pun-index .tcl h3 a {
    color: #bebcb6;
}

#pun-index .tcl h3 a:hover {
    color: #baa670;
}




/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumfiles.ru/files/0019/b4/0a/40438.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumfiles.ru/files/0019/b4/0a/68584.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumfiles.ru/files/0019/b4/0a/53314.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumfiles.ru/files/0019/b4/0a/52878.jpg) 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-thumb:vertical {
background-color: #887644; height: 4px; border: 1px solid #665936;
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #887644; height: 4px; border: 1px solid #665936;
}

::-webkit-scrollbar {
    background-color: #141414;
    height: 4px;
    width: 8px;
    border: 1px solid #111111;
}

::selection {
    background: #2c4a3e !important;
    color: #c5c4c0;
    text-shadow: -1px 1px #253e34;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}





.punbb .post-content a, 
.punbb .post-content a:link {
color:#776638;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#2c4a3e;
text-decoration: underline;
}


.punbb .pa-avatar img {
    border: 1px solid #b5b4b0;
    outline: 2px solid #2c4a3e;
}



hr {
border: 0;
border-bottom: 1px dashed #b7b4ac;
background: #000;
}



#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-color: #b1aea5;
    border: 3px double #111111;
}




.podf {
    color: #121212;
    border-bottom: 3px solid #816f3f;
    padding-bottom: 4px;
}



.podflink {
    text-align: center;
    margin-top: 4px !important;
}


.podflink a {
    color: #202d28 !important;
    padding: 0px 5px 2px 5px;
}


.podflink a:hover {
    color: #b8b6b0 !important;
    background-color: #364a43;
    padding: 0px 5px 2px 5px;
}



.pa-fld1 {
    color: #131313;
    background-color: #92804d;
    padding: 4px 5px 5px 5px;
    width: 178px;
    margin-left: 1px !important;
    font-family: verdana;
    text-align: justify;
    line-height: 11px;
    margin-top: 7px !important;
    margin-bottom: 8px !important;
    border: 1px solid #b3b0a8;
    font-size: 10px;
    outline: 2px solid #92804d;
}



.pa-fld1 a {
    color: #1b2d26;
    font-weight: bold;
}



.linkss {
    color: #c4c2bd !important;
    font-family: intro;
    font-size: 8px;
    letter-spacing: 1px;
    padding: 0px 3px 0px 3px;
    text-shadow: -1px 1px #11111194;
}



.linkss:hover {
    color: #ab975f !important;
    font-family: intro;
    font-size: 8px;
    letter-spacing: 1px;
    padding: 0px 3px 0px 3px;
    text-shadow: -1px 1px #11111194;
}





#quests {
    text-align: justify;
    display: block;
    overflow: auto;
    color: #afaca3;
    height: 125px;
    padding: 0px 4px 4px 6px;
    max-width: 311px;
    font-size: 10px;
    font-family: 'arial';
    line-height: 12px;
    /* border: 1px solid red; */
}





.bestpost {
    color: #afaca3;
    font-size: 10px;
    line-height: 11px;
    text-align: justify;
    font-family: arial;
    letter-spacing: 0.3px;
}




.bestpost img {
    float: left;
    padding-right: 5px;
}



/*Выравниваем в одну строку число постов и Уважение*/
.pa-posts,.pa-respect {
text-align:center;
display:inline-block;
padding:0 2px!important;
width:76px;
margin-left: 0;
margin-bottom:5px !important;
}




/*Админ 1*/
.flip-container {perspective: 1000px;}
.flip-container:hover .flipper, .flip-container.hover .flipper {transform: rotateY(180deg);}

.flip-container, .front, .back {
    width: 64px;
    height: 64px;
    position: absolute;
}

.flipper {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;  }

.front, .back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;  left: 0;  }

.front {
  z-index: 2;
  transform: rotateY(0deg);  }

.back {
  transform: rotateY(180deg);
  background-image: url(http://forumfiles.ru/files/0019/b4/0a/76937.png);  }





/*Админ 2*/
.flip-container2 {perspective: 1000px;}
.flip-container2:hover .flipper2, .flip-container.hover .flipper2 {transform: rotateY(180deg);}

.flip-container2, .front2, .back2 {
    width: 51px;
    height: 51px;
    position: absolute;
}

.flipper2 {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;  }

.front2, .back2 {
  backface-visibility: hidden;
  position: absolute;
  top: 0;  left: 0;  }

.front2 {
  z-index: 2;
  transform: rotateY(0deg);  }

.back2 {
  transform: rotateY(180deg);
  background-image: url(http://forumfiles.ru/files/0019/b4/0a/68084.png);  }











.pa-fld2 {
    margin-top: -25px !important;
    margin-bottom: 10px !important;
}