@media (max-width: 930px) { /* это будет показано при разрешении монитора до 930 пикселей */
  .content-wrapper {padding: 0;} /* основное содержимое занимает всё пространство окна */
}
@media (max-width: 930px) and (min-width: 470px) { /* для разрешения экрана от 470 до 930 пикселей */
  aside {position: static; width: 100%; background: #ccc;} /* боковая колонка смещается согласно расположению в HTML и меняет фон */
}
@media (max-width: 469px) { /* если максимальное разрешение экрана составит 469 пикселей */
  body {font: .9em/1em "Helvetica Neue",Arial,Helvetica,sans-serif;} /* меняется шрифт */
  aside {display: none;} /* боковая колонка исчезает */
}

li#navawards {display: none;}
.lastedit {display: none;}
#title-logo-tdr img {width: 1px; height: 1px;}


#pun-navlinks a span {font-size: 1.0em; color: #1b0502; text-transform: uppercase; font-family: "Arial";  !important font-weight: bolder;!important
}
#pun-ulinks, #pun-ulinks .container, #pun-ulinks li, #pun-ulinks li a, #pun-ulinks li a {font-size: 1.05em; color: #1b0502; text-transform: lowercase; font-family: "Arial"; font-weight: normal;}
a:hover {
text-shadow: 1px 1px 0px #FFE6AF;
}



/* CS1 Background and text colours
-------------------------------------------------------------*/
#pun-title table {
background-image: url("http://s1.uploads.ru/9teMV.png"); background-position: top center; background-repeat: no-repeat; 
border: none;
width: 1005px;
height: 626px;
margin-left: -20px;
margin-top: 60px;
}


body { background: url("http://s9.uploads.ru/v8bUt.jpg") repeat center; 
background-color: #1b0502;
}

#pun { background-image: url("http://s9.uploads.ru/mnq7Q.png ");
background-position: top center; background-repeat: repeat;
background-color: #c1a18a;
}


/* Цитаты и коды в сообщениях*/
.punbb .quote-box, .punbb .code-box {
background-image: url(http://savepic.ru/10023717.png);
border-top: 2px inset #a28e5e;
   border-right: 4px inset #a28e5e;
   border-bottom: 4px inset #a28e5e;
   border-left: 4px inset #a28e5e;
   border-radius: 0px 0px 0px 0px;
   -moz-border-radius:0px 0px 0px 0px;
   -webkit-border-radius: 0px 0px 0px 0px;
box-shadow: inset 0px -11px 70px -10px #ead5d5;}

/* Область для ввода текста в форме ответа и админке */

.punbb textarea, .punbb select {
      color: #070a27; /*цвет текста*/
  background-image: url(http://savepic.ru/10023717.png);
border-top: 2px inset #a28e5e;
   border-right: 4px inset #a28e5e;
   border-bottom: 4px inset #a28e5e;
   border-left: 4px inset #a28e5e;
   border-radius: 0px 0px 0px 0px;
   -moz-border-radius:5px 5px 5px 5px;
   -webkit-border-radius: 5px 5px 5px 5px;
box-shadow: inset 0px -11px 70px -10px #ead5d5
}

.punbb input { 
   color: #070a27; /*цвет текста*/
  background-image: url(http://savepic.ru/10023717.png);
border-top: 2px inset #a28e5e;
   border-right: 4px inset #a28e5e;
   border-bottom: 4px inset #a28e5e;
   border-left: 4px inset #a28e5e;
   border-radius: 0px 0px 0px 0px;
      -moz-border-radius:5px 5px 5px 5px;
   -webkit-border-radius: 5px 5px 5px 5px;
box-shadow: inset 0px -11px 70px -10px #ead5d5}

/* Футер*/
#pun-about p.container {background-color: #;
background-image : url(http://funkyimg.com/i/2cB9i.png); 
background-position : center top; 
background-repeat : no-repeat; 
height : 66px;
width: 1005px; 
margin-left: -32px;
text-align: center;
border-color: transparent;
}
div#pun-about {margin-bottom: -75px;
}



/* Профиль */
.punbb .post .post-author {
float: left;
width: 204px;
text-align: center;
  background:url(http://savepic.ru/10015510.png) 0 0 repeat-y; 
  overflow: visible!important;
}  
.punbb .post .post-author > ul {
  background:url(http://savepic.ru/10025750.png) 0 top no-repeat,url(http://savepic.ru/10010390.png) 0 bottom no-repeat; /*&#212;&#238;&#237; &#226;&#229;&#240;&#245;&#224; - &#237;&#232;&#231;&#224;*/
  margin-top: -10px;
  padding-top: 17px!important;
padding-bottom: 10px!important;
padding-right: 19px!important;
}







.punbb legend span, #viewprofile h2 span, .punbb-admin #pun-admain legend span, #pun-title, #pun-title .container, .punbb .modmenu .container,
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer, .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 .post h3 span, .punbb th, #viewprofile li, #setmods dl
 {
  background-color: transparent;
  color: #22170f;
  }



/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  background-position : center;
  background-color: transparent;
  color: #22170f;
font-style: normal;

  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  color: #161600;
  }

/* CS1.8 */
#pun-navlinks .container {
  color: #311615;
}
  



/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color: 1px solid #100e3b;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: #CCCC33;
  }

/* 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 */

#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-color: transparent;
  }
li.pa-online {
  border-color: transparent;
  }



/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */
 .punbb-admin, .punbb a:link, .punbb a,  .punbb a:visited,  #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited
{
  border-bottom: 0px none #000;
  text-decoration: none;
 color: #22170f ;


  }


.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
 color: #22170f; 


  }

/* 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: #22170f; 
  border-bottom: 0px none #000;
 text-decoration: none;

  }


/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
color: #a28e5e;
  font-weight: normal;
font-style: normal;
  border-bottom: 0px none #000;
  text-decoration: none;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
 color: #22170f; 
  }


/* CS4 Post status icons
 -------------------------------------------------------------*/
#pun-main div.catleft, #pun-main div.catright {display: none}
#pun-index .modlist {display: none; }
#pun-announcement.section h2 span {display: none; }
#pun-title .title-logo span {display: none;}


.punbb table Div.icon {float: right; display: block; width: 55px;!important;   height: 55px; border-style: none; background-image: url(http://savepic.ru/9993992.png);  background-repeat: no-repeat; margin-left: -10px;}
.punbb table div.inew {background: url(http://savepic.ru/9962485.png) no-repeat; margin-left: -10px; }
TR.isticky Div.icon {background: url(http://savepic.ru/9962251.png) no-repeat; margin-left: -10px; }
TR.iclosed Div.icon {background: url(http://savepic.ru/10021642.png) no-repeat; margin-left: -10px; }
#pun-stats ul.container {
background-image: url("");
background-attachment: scroll;
background-clip: border-box;
background-color: transparent;
background-origin: padding-box;
background-position: 10px 10px;
background-repeat: no-repeat;
background-size: auto;
padding-left: 10px;
padding-top: 15px;
margin-left: 0px;
}


#pun-main h1 span {font-size: 0em; text-align: center;}




#pun-stats h2, .punbb .main h2 {font-size: 0em; color: #56624b;  font-family: "Arial";  font-style: italic;  font-weight: bolder; text-align: center; }
#pun th {font-size: 0em; text-align: center;}

#pun-main .post-author ul {text-align: center;}


/*Стрелки*/
.go-up,.go-down {
display:none;
position:fixed; /*позиционируем*/
/*указываем положение, если слева - left*/
z-index:9999; /*показываем поверх все элементов на странице*/
cursor:pointer;
opacity:.9; /*прозрачность*/
margin-bottom:40px; /*отступ снизу (можно не указывать)*/
width:39px; /*ширина кнопки*/
height:45px; /*высота кнопки*/
}
.go-up {
bottom:230px; /*положение от низа окна браузера верхняя кнопка*/
right:110px;}
.go-down {
bottom:160px; /*положение от низа окна браузера нижняя кнопка кнопка*/
right:110px;}
.go-down:hover,.go-up:hover {
opacity:1;
}

/*Прокрутка*/
::-webkit-scrollbar {
    width: 8px;
    height: 4px;
}
::-webkit-scrollbar-track {
background: #a28e5e;
}
::-webkit-scrollbar-thumb {
    background: #785e37;
}



/* CS7 прочее
 -------------------------------------------------------------*/
.forminput {width: 200px;   
height: 18px;
color: #421212 !important;
 font-family: franklin gothic medium !important; 
    font-size: 12px !important;
background-color: #b4a59e !important;
    border: 1px inset #421212;}


.punbb .pa-author a {
   /*Правила без наведения*/
  font-size: 1.4em;
  font-family: "Yeseva One";
   color: #60050b;
text-shadow: 1px 1px 0px #401919;
}
.punbb .pa-author a:hover {
   /*Правила c наведением*/
 font-size: 1.4em;
  font-family: "Yeseva One";
    color: #60050b;
text-shadow: 1px 1px 0px #946161;
}


/*лз*/
.lz {
    text-align: left;
    font-size: 9pt !important;
    width: 175px;
    padding: 5px;
    background: #937A46;
      border: 1px solid #483921;
    border-top: 2px solid #483921;
    border-bottom: 2px solid #483921;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 10px #785e37, 0 0 10px #785e37 inset;
    color: ;
    margin-left: -2px !important;
    }