/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
/* фон */
html, body { background:
  url("https://i.imgur.com/J8F44pi.jpg") repeat-x top left,
  url("https://i.imgur.com/em5HrtW.jpg") repeat-x bottom left,
  url("https://i.imgur.com/Po1ZDTQ.jpg") center; background-color : #6c807f;
}



/* Шапка */
#pun-title table {
background-image : url(https://i.imgur.com/FPkxKzR.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 942px;
height: 354px;
margin-left: -30px;}

/* Тело форума */
#pun {
width: 942px; 
background-color: transparent; 
background-image: url(https://i.imgur.com/f2yJrTY.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 942px;}

/* Футер */
#pun-about p.container {
background-image : url(https://i.imgur.com/9veZS1B.jpg);
margin: 0px 0px -11px -30px;
background-position : center top;
background-repeat : no-repeat;
width: 942px;
height: 120px; 
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: #334d4d;
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: #334d4d;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(https://i.imgur.com/XdtgSvb.jpg);
    background-color: #a9aeb1;
    color: #2c2b2d;
    border: 3px double #415d5e;
    outline: 1px solid #415f5f;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
background-image: url("https://i.imgur.com/XdtgSvb.jpg");
background-color: #a9aeb1;
color: #2c2b2d;}

/* Тень и закругление */
.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("https://i.imgur.com/XdtgSvb.jpg");
background-color: #a9aeb1;}





/* 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: #4e6f6e;
  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: #4e6f6e; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #334d4d;
  text-decoration: none;
  }

#pun-ulinks a {
  font-size: 10px;
  color: #4e6f6e; 
  font-family: 'arial';
  font-weight: normal;
  text-transform: lowercase;
  }

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #334d4d;
}


#pun-navlinks a, #pun-navlinks .container {
color: #383838;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(https://i.imgur.com/zQPoO8F.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(https://i.imgur.com/BnXWXQ0.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(https://i.imgur.com/PZaStX2.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(https://i.imgur.com/ilO0R9w.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:#18161a;
border: 1px solid #0e0d0f;
}

::-webkit-scrollbar-thumb:horizontal {
    background-color:#18161a;
border: 1px solid #0e0d0f;
}

::-webkit-scrollbar {
width: 5px;
    height: 6px;
    background-color: #1d1b1f;
    border: 2px solid #babfc2;
    }
 ::selection {
background: #334d4d !important;
color: #babfc2;
}








#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(https://i.imgur.com/cantBnn.jpg) 0 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:12px 0!important;
}
.punbb .post .post-author > ul {
  background:url(https://i.imgur.com/rbbto3n.jpg) 0 top no-repeat,url(https://i.imgur.com/Hpe7Lqa.jpg) 0 bottom no-repeat; /*Фон верха - низа*/
  margin:-12px 0 -12px 0!important;
  padding:9px 9px!important;
}



/*Выравниваем в одну строку число постов и Уважение*/
.pa-posts,.pa-respect {
text-align: center;
display: inline-block;
width: 69px;
padding: 3px 3px 3px 3px !important;
margin-top: 3px;
margin-bottom: 5px !important;
letter-spacing: 2px;
margin-left: 6px;
text-transform: uppercase;
font-size: 8px;
}




.punbb .post-content a, 
.punbb .post-content a:link {
color:#29272a;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#3e5d5d;
text-decoration: underline;
}





.punbb .pa-avatar img {
  border: 3px solid #242225;
}



.category .container thead {display: none;}



td.tcr a {
    color: #395d5d !important;
    background-repeat: no-repeat;
    background-position: left center;
    font-weight: bold;
}









.links1 {
    color: #d3d6d8 !important;
    font-family: minion pro;
    font-size: 9px;
    letter-spacing: 0.5px;
    font-weight: bold;
}


.links1:hover {
    color: #6d8180 !important;
    font-family: minion pro;
    font-size: 9px;
    letter-spacing: 0.5px;
    font-weight: bold;
}






.links2 {
    color: #28252e !important;
    font-family: minion pro;
    font-size: 18px;
    letter-spacing: 0.5px;
}



.links3 {
    color: #252328 !important;
    font-family: minion pro;
    font-size: 13px;
    letter-spacing: 0.5px;
}