/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html, body { background:
  url("http://i.imgur.com/LKAXcuI.png") repeat-x top left,
  url("http://i.imgur.com/ZobmFrW.png") center; background-color : #84909c;
}

/* Шапка */
#pun-title table {
background-image : url(https://i.imgur.com/6WyTRLo.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 888px;
height: 510px;
margin-left: -30px; 
}

/* Тело форума */
#pun {
width: 888px; 
background-color: transparent; 
background-image: url(http://i.imgur.com/ilftFPH.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 888px;}

/* Футер */
#pun-about p.container {
background-image : url(http://i.imgur.com/ikvY8I3.png);
margin: 0px 0px -30px -30px;
background-position : center top;
background-repeat : no-repeat;
width: 888px;
height: 150px; 
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: #191c22;
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: #323641;
text-align:center; 
font-size: 16px; 
font-style: normal; 
font-family: Berenis;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
color: #392c2a;
background-image: url("http://i.imgur.com/Ew5vrgg.png");
background-color: #a9adb6;
border: 1px solid rgba(58,71,87,0.9);
}



/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
background-image: url("http://i.imgur.com/Ew5vrgg.png");
background-color: #a9adb6;
color: #392c2a;}

/* Тень и закругление */
.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://i.imgur.com/Ew5vrgg.png");
background-color: #a9adb6;}


/* 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: #2a2e38;
  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-navlinks a:focus, #pun-navlinks a:active, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #2a2e38; 
  text-decoration: none;
  }

.punbb a:hover,  #pun-ulinks a:hover {
  color: #61717e;
  text-decoration: none;
  }

#pun-ulinks a {
  font-size: 11px;
  color: #2a2e38; 
  font-family: 'Berenis';
  text-decoration: normal;
  text-transform: lowercase;
  letter-spacing: 1px;
  }

#pun-ulinks a:hover, #pun-navlinks a:active {
  text-decoration: none;
  color: #61717e;
}


#pun-navlinks a, #pun-navlinks {
color: #b5b9c2;
text-shadow: 1px 0 1px #2c201b;
}




/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
            background: url(http://i.imgur.com/8IVHw5J.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://i.imgur.com/XtTRjB1.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://i.imgur.com/Ac5WLXK.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://i.imgur.com/aS3hVwe.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: "Tahoma";}
.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 {background: #3a4757; width: 6px; height: 5px;}
::-webkit-scrollbar-thumb {background: #61717e; width: 3px}
::-webkit-scrollbar-corner {background: #61717e;}







#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(http://i.imgur.com/sjtj7uB.png) 0 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:12px 0!important;
}
.punbb .post .post-author > ul {
  background:url(http://i.imgur.com/3LHlUhW.png) 0 top no-repeat,url(http://i.imgur.com/JqehzJX.png) 0 bottom no-repeat; /*Фон верха - низа*/
  margin:-12px 0 -12px 0!important;
  padding: 12px 5px 10px 4px!important;
  }

.punbb .pa-avatar img {
  border: 1px solid rgba(45,49,59,0.9);
}

.pa-fld1 {
    margin-top: -1px!important;
    margin-bottom: 5px!important;
    text-align: justify;
    display: inline-block;
    letter-spacing: 0px;
    width: 180px;
    padding-bottom: 5px;
    border-bottom: solid 1px #979ba5; /*цвет бордера снизу*/
}

/* Линия разделителя */
hr {
  color: #979ba5;
  background-color: #979ba5;
  height: 1px;
  border: none;}


/* настройка вида ЛЗ */
.proname {
color: #140015; 
font-family: Minion Pro; 
font-size: 13px; 
text-align: center; 
text-transform: uppercase; 
padding-top: 2px; 
padding-botom: 2px; 
font-weight: bold;
padding: 5px;
   }

.proinfo{
color:#140015; 
text-align: center; 
background-color: #9197a3;
border-top: 2px solid #323535;
border-left: 2px solid #323535;
border-right: 2px solid #323535;
border-bottom: 2px solid #323535; 
padding: 5px;

   }

#pun-main .pagelink {color: #191c22;}

#pun-main .pagelink {color: #191c22; font-weight: bold;}
.punbb .post-box a, .punbb .post-box a:link, .punbb .post-box a:visited {
    color: #4a5b68;
    text-decoration: none;
    font-weight: bolder;
}
.punbb .post-box a:hover {
    color: #4a5b68;
    text-decoration: underline;
    font-weight: bolder;
}