/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html, body { background:
  url("https://i.imgur.com/aKJ7Mgy.jpg") repeat-x top left,
  url("https://i.imgur.com/zVIfMwa.jpg") center; background-color: #93a7a6;
}


/* Шапка */
#pun-title table {
background-image : url(https://i.imgur.com/lmNFuYc.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 935px;
height: 379px;
margin-left: -25px;}

/* Тело форума */
#pun {
width: 935px; 
background-color: transparent; 
background-image: url(https://i.imgur.com/cKfhzsH.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 935px;}

/* Футер */
#pun-about p.container {
background-image : url(https://i.imgur.com/Oe0tbgh.jpg);
margin: 0px 0px -30px -25px;
background-position : center top;
background-repeat : no-repeat;
width: 935px;
height: 111px; 
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: #345856;
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: #345856;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: philosopher;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-color: #a5a39d75;
    color: #363436 !important;
    border: 5px double #bab7b2;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-color: #a5a39d;
    color: #363436 !important;
}

/* Тень и закругление */
.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: #a5a39d;
}





/* 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: #2f2f2f;
    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: #47716c; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #333334;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #47716c;
    text-transform: lowercase;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #333334;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #47716c;
}


#pun-navlinks a:hover {
  color: #333334;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(https://i.imgur.com/xam8gwK.png) no-repeat;
}

tr.inew div.icon {
        background: url(https://i.imgur.com/iuVVC9W.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(https://i.imgur.com/lwmgMFT.png) no-repeat;
}

tr.isticky div.icon {
        background: url(https://i.imgur.com/uNIpDDj.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: visible;}
#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: #b6b4ae;
border:solid 1px #334f4e;}

::-webkit-scrollbar-thumb{
background-color: #5e9290;
}

::-webkit-scrollbar-thumb:hover{
background-color: #393837; }

::selection {
    background: #393837 !important;
    color: #b6b4ae;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



.topic .post {
  margin-left:10px;
}






.links2 {
    color: #e2e2e0 !important;
    font-family: philosopher;
    font-size: 8px;
    text-transform: uppercase;
}


.links2:hover {
    color: #b3c1d4 !important;
    font-family: philosopher;
    font-size: 8px;
    text-transform: uppercase;
}


#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);}




.punbb .post-content a, 
.punbb .post-content a:link {
color:#333334;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#45716f;
text-decoration: underline;
}


#pun-index div.category h2, #pun-index #pun-stats h2 {
    text-align: center;
    font-size: 16px !important;
    color: #2e4e4d;
    font-family: 'Philosopher';
    background-color: #95928d5c;
    background-repeat: no-repeat;
    background-position: top center;
    height: 20px;
    padding-top: 3px;
    width: 500px;
    margin-left: 20%;
    border: none;
}



#first {
    position: absolute;
    top: 136px;
    margin-left: -4px;
}
#firsthov {
    background: rgba(0, 0, 0, 0) url(https://i.imgur.com/NNGiYtF.gif) repeat scroll 0 0;
    height: 94px;
    margin-top: -96px !important;
    opacity: 0;
    position: absolute;
    transition: all 0.5s linear 0s;
    width: 294px;
}

#first:hover #firsthov {
    opacity: 1;
    }




#second {
    position: absolute;
    top: 136px;
    margin-left: 296px;
}
#secondhov {
    background: rgba(0, 0, 0, 0) url(https://i.imgur.com/nPN0yEX.gif) repeat scroll 0 0;
    height: 94px;
    margin-top: -96px !important;
    opacity: 0;
    position: absolute;
    transition: all 0.5s linear 0s;
    width: 294px;
}

#second:hover #secondhov {
    opacity: 1;
    }





#third {
    position: absolute;
    top: 136px;
    margin-left: 595px;
}
#thirdhov {
    background: rgba(0, 0, 0, 0) url(https://i.imgur.com/panbQfj.gif) repeat scroll 0 0;
    height: 94px;
    margin-top: -96px !important;
    opacity: 0;
    position: absolute;
    transition: all 0.5s linear 0s;
    width: 294px;
}

#third:hover #thirdhov {
    opacity: 1;
    }