/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
body {background-image : url("https://i.imgur.com/YhS3b00.jpg");
background-repeat: repeat; background-attachment: scroll;
background-position : top center; background-color: #1b2b32;}


/* Шапка */
#pun-title table {
background-image : url(https://i.imgur.com/p91cRq5.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 938px;
height: 328px;
margin-left: -25px;}

/* Тело форума */
#pun {
width: 938px; 
background-color: transparent; 
background-image: url(https://i.imgur.com/tXdgOZJ.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 938px;}

/* Футер */
#pun-about p.container {
background-image : url(https://i.imgur.com/SMsShtZ.jpg);
margin: 0px 0px -30px -25px;
background-position : center top;
background-repeat : no-repeat;
width: 938px;
height: 109px; 
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: #1b2b31;
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: #1b2b31;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background: rgba(161, 168, 174, 0.68);
    border: 3px solid #21343a !important;
    box-shadow: 3px 0 0 #273b46, -3px 3px 0 #8c9497;
    outline: 1px solid #a9b0b6;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-color: #9ca3a9;
    color: #1c2b31;
}

/* Тень и закругление */
.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: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background-color: #9ca3a9;
}





/* 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: #21353c;
  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: #21353c; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #2d4a54;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 7px;
    color: #21353c;
    font-family: tahoma;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #2d4a54;
}


#pun-navlinks a, #pun-navlinks .container {
color: #1f2e35;
}


#pun-navlinks a:hover {
color: #2f4b55;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
background: url(https://i.imgur.com/dDP9G1K.png) no-repeat;
}

tr.inew div.icon {
background: url(https://i.imgur.com/T42n1El.png) no-repeat;
}

tr.iclosed div.icon {
background: url(https://i.imgur.com/GlKVk5D.png) no-repeat;
}

tr.isticky div.icon {
background: url(https://i.imgur.com/niewMx9.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: 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{
width: 6px;
height: 4px;
background-color: #9ca3a9;
border:solid 1px #182428;}

::-webkit-scrollbar-thumb{
background-color: #2e4b55;
}

::-webkit-scrollbar-thumb:hover{
background-color: #152025; }

 ::selection {
background: #253b43 !important;
color: #a8afb5;
}



#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(https://i.imgur.com/af9Ht4b.jpg) 0 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:12px 0!important;
}
.punbb .post .post-author > ul {
    background: url(https://i.imgur.com/1TdrF0Z.jpg) 0 top no-repeat, url(https://i.imgur.com/P04BN6O.jpg) 0 bottom no-repeat;
    margin: 0px 0 -12px 0!important;
padding: 9px 9px 9px 9px!important;
}

.punbb .pa-avatar img {
    border: 3px solid #20343a;
}

.topic .post {
  margin-left:10px;
}


.punbb .post-content a, 
.punbb .post-content a:link {
color:#1b2c31;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#354f59;
text-decoration: underline;
}













/*-----СТРАНИЦА ПЕРЕАДРЕСАЦИИ-----*/
div#pun-redirect {
    margin-top: 10%;
    background: #1b2b32;
    width: 810px !important;
    height: 120px;
    border: 1px solid #828282;
}

#pun-redirect #pun-main {
    background-color: #b3b4b5;
    width: 810px;
    height: 100px;
    position: relative;
    left: 0px;
    top: 0px;
}
#pun-redirect h1.main-title {
    width: 784px;
    background: #2c4752;
    margin-left: 0px;
    margin-top: 10px;
}

#pun-redirect .main-title span {
    font-family: 'Oranienbaum' !important;
    color: #c0c1c2;
    text-transform: uppercase;
    font-weight: bolder;
    text-shadow: -2px 2px 0px #383c4e;
}

#pun-redirect .info {
    text-align: center;
    font-size: 90%;
}

#pun-redirect a {
    font-size: 90%;
}



#quests {
    text-align: justify;
    display: block;
    overflow: auto;
    color: #a7aeb4;
    height: 72px;
    padding-top: 2px;
    padding-left: 4px;
    padding-right: 3px;
    max-width: 451px;
    font-size: 9px;
    line-height: 11px;
}

#quests a:link {
    color: #466c7a;
}





.banners {
    position: absolute;
    margin-top: -37px !important;
    margin-left: -10px !important;
    width: 905px;
    height: 51px;
    text-align: center;
    padding-right: 3px;
    overflow-y: auto;
}




.category .container thead {display: none;}




td.tcr a {
    color: #1e3036 !important;
    background-repeat: no-repeat;
    background-position: left center;
    font-weight: bold;
}