/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
body {background-image : url("http://i.imgur.com/ZoEdQfi.png");
background-repeat: repeat; background-attachment: scroll;
background-position : top center; background-color: #325750;}


/* Шапка */
#pun-title table {
background-image : url(http://i.imgur.com/bnP3I5X.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 882px;
height: 363px;
margin-left: -25px;}

/* Тело форума */
#pun {
width: 882px; 
background-color: transparent; 
background-image: url(http://i.imgur.com/FQcq6tr.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 882px;}

/* Футер */
#pun-about p.container {
background-image : url(http://i.imgur.com/M3aqakQ.png);
margin: 0px 0px -30px -25px;
background-position : center top;
background-repeat : no-repeat;
width: 882px;
height: 115px; 
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: #193f38;
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: #1e4841;
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://i.imgur.com/9NhkURC.png);
    background-color: #b0b4b4;
    color: #295656;
    border-top: 4px solid #2a5858;
    border-bottom: 3px solid #244e4e;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
background-image: url("http://i.imgur.com/9NhkURC.png");
background-color: #b0b4b4;
color: #295656;}

/* Тень и закругление */
.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/9NhkURC.png");
background-color: #b0b4b4;}





/* 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: #203733;
  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: #203733; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #2a5c5c;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 10px;
    color: #295656;
    font-family: franklin gothic medium;
    font-weight: bold;
    text-transform: lowercase;
    word-spacing: -1px;
    letter-spacing: 0.3px;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #183d36;
}


#pun-navlinks a, #pun-navlinks .container {
color: #b3b6b6;
}




/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
            background: url(http://i.imgur.com/ChdZC2S.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://i.imgur.com/FCBPGQd.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://i.imgur.com/CiuutGP.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://i.imgur.com/WlgT1M2.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: block;}
#pun-stats h2 span {visibility: hidden;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(http://i.imgur.com/U7HhdmL.png) 0 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:12px 0!important;
}
.punbb .post .post-author > ul {
  background:url(http://i.imgur.com/nuWYk1a.png) 0 top no-repeat,url(http://i.imgur.com/D8nE5tt.png) 0 bottom no-repeat; /*Фон верха - низа*/
  margin:-12px 0 -12px 0!important;
  padding:9px 9px!important;
  }

.punbb .post-content a, 
.punbb .post-content a:link {
color:#1b413a;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#2c4c47;
text-decoration: underline;
}





.punbb .pa-avatar img {
  border: 3px double #1e463f;
}



/*---Прокрутка---*/

::-webkit-scrollbar-thumb:vertical {
    background-color:#939f9b;
border: 1px solid #0f3633;
box-shadow: inset 0 0 0px #2e4841;
}
::-webkit-scrollbar-thumb:horizontal {
    background-color:#939f9b;
border: 1px solid #0f3633;
box-shadow: inset 0 0 0px #2e4841;
}
::-webkit-scrollbar {
    width: 5px;
    height: 6px;
    background-color: #b6b9b9;
    border: 2px solid #224d4d;
}





#pun-main h2 {
    color: #b3b6b6;
    background-image: url(http://i.imgur.com/LNweL71.png);
    height: 29px;
    margin-left: -13px;
    width: 858px;
}







.info1 {
    font-family: arial;
    font-size: 10.4px;
    text-align: justify;
     padding: 4px;
    line-height: 11px;
    color: #b5b8b8;
}


.news-images {
    text-align: center;
    padding: 4px;
    line-height: 11px;
    color: #b5b8b8;
    /* border: red 1px solid; */
}



.news-link {
font-size: 14px;
font-family: Franklin Gothic Medium;
color: #b3b6b6;
text-transform: uppercase;
}



.info2 {
    font-family: arial;
    font-size: 10.4px;
    text-align: justify;
    padding-right: 2px;
    line-height: 11px;
    color: #b5b8b8;
    /* border: red 1px solid; */
}



.ams-fon {
    background: #223a36;
    border: #23413b 1px solid;

    text-align: center;
    padding: 2px;
    color: #b5b8b8;
    /* border: red 1px solid; */
}



.ams {
    text-shadow: #1d312d 1px 1px 1px;
    color: #b5b8b8;
    font-size: 10px;
    font-family: Franklin Gothic Medium;
    text-transform: uppercase; 
    /* border: red 1px solid; */
    letter-spacing: 0.5px;
}








.need-you {
    text-align: center;
    padding: 4px;
    /* border: red 1px solid; */
}



.bestpost {
    color: #b3b6b6;
    font-size: 10.3px;
    line-height: 9px;
    text-align: justify;
    word-spacing: -2px;
}


.bestpost img {
    float: right;
    padding-left: 5px;
}

.links-fon {
    text-align: center;
    /* border: red 1px solid; */
}

.links1 {
    height: 0px;
    padding: 6px 6px 6px 6px;
    background: #263d3c;
    color: #b9bcbc !important;
    border: 1px solid #20423c;
    font-family: Franklin Gothic Medium;
    font-size: 9px;
    text-align: center;
    letter-spacing: 0.4px!important;
    line-height: 0px !important;
    margin-left: 0px!important;
    text-transform: uppercase;
    display: inline-block;
}
