/* CS1 Background and text colours
-------------------------------------------------------------*/

/* фон */
html {
background: url(http://forumfiles.ru/files/0019/f1/4f/94100.jpg);
background-repeat: no-repeat;
background-attachment: fixed; 
background-position: top center;
background-color: #3d455a;
background-size: cover;
/*overflow-x: hidden !important;*/}

/* Шапка */
#pun-title table {
    background-image: url(http://forumfiles.ru/files/0019/f1/4f/43557.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 950px;
    height: 267px;
    margin-left: -30px;
}

/* Тело форума */
#pun {
width: 950px; 
background-color: transparent; 
background-image: url(http://forumfiles.ru/files/0019/f1/4f/42916.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 950px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumfiles.ru/files/0019/f1/4f/71939.jpg);
    margin: 0px 0px -100px -30px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 950px;
    height: 37px;
    overflow-x: hidden;
    padding-bottom: 80px;
}






/* 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: #373e52;
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: #373e52;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: normal; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumfiles.ru/files/0019/f1/4f/87085.jpg);
    background-color: #c1c1c1;
    color: #373e52;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-image: url(http://forumfiles.ru/files/0019/f1/4f/87085.jpg);
    background-color: #c1c1c1;
    color: #373e52;
}

/* Тень и закругление */
.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://forumfiles.ru/files/0019/f1/4f/87085.jpg);
    background-color: #c1c1c1;
}





/* 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: #6b5d4f;
  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: #535c73; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #535c73;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #535c73;
    text-transform: lowercase;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #6b5d4f;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #343c52;
}


#pun-navlinks a:hover {
    color: #5c4b3b;
}


/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumfiles.ru/files/0019/f1/4f/52388.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumfiles.ru/files/0019/f1/4f/81471.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumfiles.ru/files/0019/f1/4f/19287.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumfiles.ru/files/0019/f1/4f/58659.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: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-thumb:vertical {
background-color: #c0c0c0; height: 4px; border: 3px double #3d455a;
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #c0c0c0; height: 4px; border: 3px double #3d455a;
}

::-webkit-scrollbar {
    background-color: #3d455a30;
    height: 4px;
    width: 5px;
}

::selection {
    background: #3d455a !important;
    color: #c0c0c0;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}


.punbb .pa-avatar img {
    border: 3px solid #bfbfbf;
    outline: 1px solid #afaeae;
    margin-left: -2px;
    margin-bottom: 2px;
    max-width: 180px !important;
}




#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;
    top: 43px;
    background-image: url(http://forumfiles.ru/files/0019/f1/4f/87085.jpg);
    background-color: #c1c1c1;
}





td.tcr a {
    color: #716652 !important;
    background-repeat: no-repeat;
    background-position: left center;
    font-weight: bold;
    font-family: 'Yeseva One';
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}





#pun-index div.category h2, #pun-index #pun-stats h2 {
    background-image: url(http://forumfiles.ru/files/0019/f1/4f/25964.jpg);
    box-sizing: border-box;
    text-align: center;
    font-size: 11px !important;
    color: #c1c1c1;
    position: relative;
    z-index: 5;
    font-family: 'Yeseva One';
    padding: 6px 0px 0;
    margin: 0px -16px 0px;
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    height: 24px;
    letter-spacing: 1px;
    width: 922px;
    text-shadow: -1px 1px #6b5d4f;
}




.links2 {
font-family: tahoma;
    text-transform: uppercase;
    font-size: 8px;
    letter-spacing: 0.5px;
    color: #c0c0c0 !important;
    padding: 1px 3px 1px 3px;
}


.links2:hover {
    font-family: tahoma;
    text-transform: uppercase;
    font-size: 8px;
    letter-spacing: 0.5px;
    color: #c0c0c0 !important;
    padding: 1px 3px 1px 3px;
    background-color: #716453;
}



.links3 {
    font-family: yeseva one;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #c0c0c0 !important;
}




.postb bran {
font-size: 34px;
}


#counters A IMG{opacity:0.2; -moz-opacity:0.2; filter:alpha(opacity=20);}
#counters a:hover img {
    opacity: 1.0;
    -moz-opacity: 1.0;
    filter: alpha(opacity=50);
    transition-duration: 2s;
}