/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html, body { background:
  url("https://i.imgur.com/2DTiY24.jpg") repeat top center;
  url("https://i.imgur.com/ZfChboK.png") center; background-color : #071311;
}

/* Шапка */
#pun-title table {
    background-image: url(https://i.imgur.com/PZLxUUq.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 1600px;
    height: 298px;
    margin-left: -340px;
}

/* Тело форума */
#pun {
width: 1000px; 
background-color: transparent; 
background-image: url(https://i.imgur.com/WWIfhVR.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top 251px center;
}

.punbb {
padding: 0 30px!important;
width: 1000px;}

/* Футер */
#pun-about p.container {
    background-image: url(https://i.imgur.com/nJ9TEhs.png);
    margin: 0px 0px -110px -40px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 1000px;
    height: 90px;
    overflow-x: hidden;
    padding-bottom: 40px;
}


/* 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: #121212;
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: #121212;
    text-align: center;
    font-style: normal;
    font-family: open sans;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(https://i.imgur.com/w7kzZsB.png);
    background-color: #a9aa98;
    color: #121212;
    box-shadow: -1px 0px #333333, 0 0 0 1px #333333 inset;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    /* background-image: url(https://i.imgur.com/w7kzZsB.png); */
    background-color: #bfbdb8;
    color: #121212;
}


/* Тень и закругление */
.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-image: url(https://i.imgur.com/w7kzZsB.png);
    background-color: #a9aa98;
}





/* 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: #111111;
  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-ulinks a:focus, #pun-ulinks a:active {
    color: #947a2a;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
    color: #947a2a;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #1c1c1c;
    font-family: 'Open Sans', sans-serif;
    text-transform: lowercase;
    font-weight: 600;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #947a2a;
    transition-duration: 1s;
}


#pun-navlinks a {
    color: #111111;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
    color: #947a2a;
}


#pun-navlinks a:hover {
    color: #947a2a;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

div.icon {
    background: #c2bdb4;
    border: 1px solid #b4aea5;
    border-radius: 0;
    height: 78px;
    width: 8px;
}

tr.inew div.icon {
    background: #927a3c;
    border: 1px solid #846e36;
    border-radius: 0;
    height: 78px;
    width: 8px;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #212121;
    border: 1px solid #989590;
    box-shadow: 0 0 3px #c9c5be1f inset;
    border-radius: 50px;
    height: 12px;
    width: 12px;
    margin-top: 0px;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
background: #b59e76;
    border: 1px solid #aba399;
    box-shadow: 0 0 3px #0000007a inset;
    border-radius: 50px;
    height: 12px;
    width: 12px;
    margin-top: 0px;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #acae9f;
    border: 1px solid #a19b97;
    box-shadow: 0 0 3px #0000002e inset;
    border-radius: 50px;
    height: 12px;
    width: 12px;
    margin-top: 0px;
}


#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
background: #88712a;
    border: 1px solid #a29d94;
    box-shadow: 0 0 3px #0000007a inset;
    border-radius: 50px;
    height: 12px;
    width: 12px;
    margin-top: 0px;
}






/* 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";}
#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: 5px;
    height: 4px;
    background-color: #131313;
}

::-webkit-scrollbar-thumb {
    background-color: #7b682d;
    border: 1px solid #6f5e27;
}


::selection {
    background: #6f5e27 !important;
    color: #c8c5bd;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: open sans;
    font-size: 11px;
    font-weight: bold;
    text-transform: lowercase;
    color: #6d5518 !important;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 4px;
    border: 2px solid #c9c6c7;
    box-shadow: 0 0 0 1px #171717;
    margin-top: 3px;
}


#counters A IMG{opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=30);}
#counters a:hover img {opacity:1.0; -moz-opacity:1.0;
filter:alpha(opacity=70); transition-duration: 2s;}



#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {
    position: absolute;
    right: 6px;
    background-image: url(https://i.imgur.com/w7kzZsB.png);
    background-color: #a9aa98;
    top: 43px;
    overflow-y: auto;
}


.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
    color: #705f29;
}

.punbb .post-content strong {
    font-weight: bold;
    color: #111;
}

.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    box-shadow: 0 0 14px rgba(0,0,0,.3);
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background-image: url(https://i.imgur.com/w7kzZsB.png);
    background-color: #a9aa98;
}



/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 205px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }


#pun-viewtopic .post h3 {
    height: 16px;
    background-color: #2f2f2f;
    font-family: inter;
    font-size: 9px;
    margin: 0 6px 0 6px !important;
    border-radius: 1px;
    box-shadow: 0 4px 10px #212121 inset;
    border: 1px solid #94918d;
}


del {
    color: transparent;
    text-shadow: 0 0 4px rgba(1,1,1,1);
    -webkit-transition: 1s ease;
    -moz-transition: 1s ease;
    -ms-transition: 1s ease;
    -o-transition: 1s ease;
    transition: 1s ease;
    text-decoration: none!important;
}


del:hover {
    background: transparent;
    color: #1e1c1c;
    text-decoration: none!important;
    text-shadow: none;
}


#pun-index tbody.hasicon {
    background: #c9c5be29;
    box-shadow: 0px 0px 0px 1px rgba(105, 106, 98, 0.26) inset, 0px 0px 100px #9490891f inset, 0 0 0 2px #ffffff2b inset;
}



.punbb .user-avatar .avatar-image {
    border-radius: 0 !important;
    height: 30px !important;
    width: 30px !important;
    opacity: 0.85;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    float: left;
}


.punbb .post h3 span a {
    color: #e6e1dd !important;
}

#pun-index .category table {
    border-spacing: 0 12px;
}

.punbb .post .post-author a {
    color: #c1a962 !important;
}


.lens {
text-align: center;
    font-family: inter;
    margin: 3px 0 3px 0 !important;
    background-image: url(https://i.imgur.com/w7kzZsB.png);
    background-color: #a9aa98;
    padding: 1px 0px 2px 0px;
    border: 1px solid #5a554e21;
}



.ls a {
    font-family: yeseva one;
    font-size: 12px;
    text-shadow: 1px 1px #0000008f;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}


.win b {
color: #b1ae9e !important;
}


.pa-fld2 {
    background-color: #0000005c;
    margin: 3px !important;
    padding: 5px 8px;
    text-align: left;
    border: 1px solid #3a3a3a75;
    box-shadow: 0 0 0px 1px inset #0000006b;
}

.button {
    border-radius: 1px !important;
    color: #e4e1db !important;
    font-family: tahoma !important;
    box-shadow: none;
    background-color: #967e42 !important;
    font-size: 11px !important;
    border: none;
    font-weight: 500 !important;
    box-shadow: 0 5px 10px #715f2e inset, 0 0 0 1px #8a7238 inset;
    margin-top: 5px !important;
    padding: 3px 15px 5px 15px !important;
    text-decoration: none;
    text-shadow: 1px 1px #7f6420;
    transition: all 0.5s ease-in-out 0s;
    vertical-align: middle;
    text-transform: lowercase;
}


.links2 {
    font-size: 7px;
    color: #efede9 !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-family: inter;
    text-shadow: 1px 1px #00000069;
    transition-duration: 2s;
}



.links2:hover {
    font-size: 7px;
    color: #dcc87c !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition-duration: 2s;
    font-family: inter;
    text-shadow: 1px 1px #00000069;
}


#pun .category .tcl {
    width: 90%;
    font-size:10px;
    display:block;
    padding-bottom:10px;
    margin-bottom:5px;
    }
#pun .category .tc2, #pun .category .tc3 {
    display:inline-block;
    width:40%;
    margin:0 0 0 0;
    background:#f1f4e900;
    font:8px arial;
    text-transform:uppercase;
    line-height:1px;
    font-weight:bold;
    color:#7e828a;
    }

#pun-main h2 {
    margin: 0px 0 0px 0px;
    width: 982px;
    height: 34px;
    background: transparent top center no-repeat;
    text-align: center;
    }
#pun-main h2 span {
    padding-right:0px;
    color: #212121;
    font: 12px Georgia;
    text-transform: uppercase;
    font-style: normal;
    line-height: 53px;
    font-weight: normal;
    letter-spacing: 0px;
    text-shadow: 0px 0px 2px #a19c8761;
    }
#pun-main h2 span a {
    color: #212121;
    font: 12px Georgia;
    text-transform: uppercase;
    font-style: normal;
    line-height: 55px;
    font-weight: normal;
    letter-spacing: 0px;
    text-shadow: 0px 0px 2px #a19c8761;
    }