/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html {
background: url(http://forumstatic.ru/files/001a/82/b1/70017.jpg);
background-repeat: no-repeat;
background-attachment: fixed; 
background-position: top center;
background-color: #000;
background-size: cover;
/*overflow-x: hidden !important;*/}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001a/82/b1/75986.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 930px;
    height: 359px;
    margin-left: -20px;
    margin-top: -380px;
}

/* Тело форума */
#pun {
width: 930px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/001a/82/b1/34642.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 930px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/001a/82/b1/31580.jpg);
    margin: 0px 0px -120px -20px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 930px;
    height: 52px;
    overflow-x: hidden;
    padding-bottom: 90px;
}


/* 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: #201f1f;
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: #201f1f;
    text-align: center;
    font-style: normal;
    font-family: 'Roboto';
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box  {
    background-color: #c3c3bb;
    color: #201f1f;
    border: 4px solid #c3c3bb;
    box-shadow: 0 0 0 1px #b2b3a8 inset;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-color: #b1b1a6;
    color: #201f1f;
}


/* Тень и закругление */
.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: #b1b1a6;
}





/* 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: #7a3123;
  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: #7a3123;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #292929;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 10px;
    color: #7a3123;
    font-weight: 400;
    font-family: roboto;
    text-transform: lowercase;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #292929;
    transition-duration: 1s;
}


#pun-navlinks a {
    color: #292929;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #7a3123;
}


#pun-navlinks a:hover {
  color: #7a3123;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumstatic.ru/files/001a/82/b1/31897.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumstatic.ru/files/001a/82/b1/86919.jpg) no-repeat;
}


#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: url(http://forumstatic.ru/files/001a/82/b1/41832.png) no-repeat;
    height: 16px;
    width: 16px;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: url(http://forumstatic.ru/files/001a/82/b1/69415.png) no-repeat;
    height: 16px;
    width: 16px;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: url(http://forumstatic.ru/files/001a/82/b1/44679.png) no-repeat;
    height: 16px;
    width: 16px;
}


#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: url(http://forumstatic.ru/files/001a/82/b1/94453.png) no-repeat;
    height: 16px;
    width: 16px;
}




/* 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: 5px;
    height: 4px;
    background-color: #1d1b1b;
}

::-webkit-scrollbar-thumb{
background-color: #7a3123;
border-radius: 5px;
}


::selection {
    background: #7a3123 !important;
    color: #babab0;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: roboto;
    font-size: 12px;
    font-weight: bold;
}


.category .container thead {display: none;}

#pun-index .tcl h3 a {
background-color: #c3c3bb;
    padding: 0 5px 0 5px;
}



.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 4px;
    border: 4px solid #5c5150;
}




#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-color: #c2c2b9;
    top: 43px;
    height: 200px;
    overflow-y: auto;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
    background: url(http://forumstatic.ru/files/001a/82/b1/32378.jpg) 0 0 repeat-y;
    overflow: visible!important;
    margin: 12px 0px 0px 0px!important;
}
.punbb .post .post-author > ul {
    background: url(http://forumstatic.ru/files/001a/82/b1/15898.jpg) 0 top no-repeat, url(http://forumstatic.ru/files/001a/82/b1/13791.jpg) 0 bottom no-repeat;
    margin: 0px 0 -12px 0!important;
    padding: 9px 9px 19px 9px!important;
}



.punbb .post-content a, 
.punbb .post-content a:link {
font-weight: bold;
}


.pa-fld1 {
    font-family: roboto !important;
    text-align: justify;
    padding: 6px 9px 6px 9px !important;
    position: relative;
    margin: 4px -3px 0px -3px !important;
    z-index: 9;
    background-color: #bbbbb1;
    border-top: 1px solid #b2b3a8;
    border-bottom: 1px solid #b2b3a8;
}


.pa-posts, .pa-respect {
    margin-top: 2px !important;
    display: inline-block;
    font-family: roboto;
    width: 105px;
    background-color: #bbbbb1;
    margin: 4px -4px 10px -3px !important;
    font-size: 10px;
    padding: 1px 0 0 0;
    text-transform: lowercase;
    height: 15px;
}

.pa-fld2, .pa-fld3 {
    display: inline-block;
    font-family: roboto;
    width: 105px;
    background-color: #bbbbb1;
    margin: 1px -4px 0 -3px !important;
    font-size: 10px;
    padding: 1px 0 0 0;
    text-transform: lowercase;
    height: 15px;
}

#pun-viewtopic .post h3 {
    height: 17px;
    text-transform: lowercase;
    font-family: roboto;
    font-size: 11px;
    border: 1px solid #b2b3a8;
    background-color: #c3c3bb;
    border-radius: 1px;
}

.tooltip {
    position: relative;
    display: inline
}
.tooltip em {
    display: inline;
    transform: scale(0);
    transition: all 0.5s ease-in-out 0s;
    opacity: 0;
    color: #333;
    font-family: arial !important;
    font-size: 10px !important;
    font-style: normal;
    line-height: 9px;
    left: -125px !important;
    padding: 5px;
    position: absolute;
    overflow-y: hidden;
    text-align: justify;
    width: 150px;
    top:16px;
    border-radius: 1px !important;
}
.tooltip:hover em {
    top: 16px;
    background: #11180d;
    border-radius: 1px !important;
    color: #0f0d0d;
    font-family: arial !important;
    background-color: #b7b7b1;
    font-size: 10px !important;
    font-style: normal;
    /* height: 30px; */
    line-height: 9px;
    border: 1px solid #828476;
    left: -125px !important;
    padding: 5px;
    position: absolute;
    text-align: justify;
    overflow-y: hidden;
    width: 150px;
    z-index: 99;
    transform: scale(1);
    opacity: 1;
    transition: all 0.5s ease-in-out 0s;
}

.tooltip a {
    color: #cccccc !important;
    letter-spacing: 0.5px;
    font-family: roboto;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
}



.plash {
    background-color: #232323;
    padding: 6px 14px 6px 14px;
    border-radius: 1px;
    margin: 0 4px 0 0 !important;
    border: 2px solid #6f2313;
    width: 150px !important;
    box-shadow: 0 0 0 1px #19191991 inset, 0 0 20px #00000080 inset, 0 0 0 1px #ababa1;
    display: inline-block;
    font-family: roboto;
    color: #bbbbb1 !important;
    transition-duration: 2s;
}


.plash:hover {
    background-color: #7a3123;
    padding: 6px 14px 6px 14px;
    border-radius: 1px;
    margin: 0 4px 0 0 !important;
    border: 2px solid #1c191a;
    width: 150px !important;
    box-shadow: 0 0 0 1px #5d251a inset, 0 0 20px #00000080 inset, 0 0 0 1px #ababa1;
    display: inline-block;
    font-family: roboto;
    color: #d6d6d2 !important;
    transition-duration: 2s;
}


.plash span:last-child {
    display: block;
    font-weight: 400;
    text-transform: lowercase;
    font-size: 10px;
    border-top: 1px solid #bbbbb1;
    padding: 2px 0px 0 0px;
    margin-top: 2px;
    font-family: roboto;
}





/*bb цитаты в html*/
fc2 {
display: block;
text-align: center;
font-family: yeseva one;
font-size: 14px;
font-weight: bold;
}

/*.face2 {margin: 0px 30px 30px 30px;
padding: 0}

.face2 table {width: 100%;
table-layout: fixed;
padding: 0}
.face2 td {padding-top: 10px;
line-height: 1.5
}
.face2 tr {vertical-align: top}

.face2 div {
border-radius: 3px;
height: 210px;
overflow-y: auto;
padding-left: 10px;
text-align: left;
font-size: 10px
}

.vl {
    border-right: 1px solid #000; 
   }



.que a {
color: #887a5f !important;
}



.pa-fld4 {
    position: relative;
    font-family: roboto;
    /* font-weight: 600; */
    font-size: 9px;
    height: 8px;
    margin: -8px 10px 10px 10px !important;
    background-color: #c3c3bb;
    line-height: 9px;
}


.pa-fld5 {
    background-color: #5c5150;
    width: 188px;
    margin: -3px 0px 4px 6px !important;
    color: #d4d4d0 !important;
    font-family: roboto;
    text-transform: uppercase;
    font-size: 9px;
}


.quo a {
color: #dededa !important;
    font-weight: 600;
}

#awards-content > tr:nth-child(1) > td.tcl {
width: 20%
}

/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 245px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }