/* CS1 Background and text colours
-------------------------------------------------------------*/

/* фон */
html, body { background:
  url("http://forumfiles.ru/files/001a/13/59/20727.png") repeat-x top right,
  url("http://forumfiles.ru/files/001a/13/59/46291.png") no-repeat bottom left,
  url("http://forumfiles.ru/files/001a/13/59/67208.png") repeat-y top left,
  url("http://forumfiles.ru/files/001a/13/59/11381.png") repeat fixed top center; 
}

/* Шапка */
#pun-title table {
background-image : url(http://forumfiles.ru/files/001a/13/59/79586.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 1200px;
height: 393px;
margin-left: -157px;}

/* Тело форума */
#pun {
width: 950px; 
background-color: transparent; 
background-image: url(http://forumfiles.ru/files/001a/13/59/49663.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

/* Футер */
#pun-about p.container {
background-image : url(http://forumfiles.ru/files/001a/13/59/36706.png);
margin: -50px -50px -50px -23px;
background-repeat: no-repeat;
width: 951px;
height: 69px;}



/* 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, .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: #3f3e3e;
font-weight: normal;
font-style: normal;
}

#pun-title, #pun-title .container {
background-color: transpanent;
color: #bfb3b2;
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: #292929;
text-align:center; 
font-size: 12px; 
font-style: normal; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-color: #c6c6c6;
    color: #3f3e3e;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-color: #cacaca;
    color: #292929;
}

/* Тень и закругление */
.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-color: #c6c6c6;
}





/* 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: #ab5c36;
  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: #ab5c36; 
  text-decoration: none;
    transition-duration: 0.5s;
  }

.punbb .post-content a, .punbb .post-content a:link {
  color: #ab5c36;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #3d4a46;
  text-decoration: none;
    transition-duration: 0.5s;
  }

#pun-ulinks a {
    font-size: 10px;
    color: #ab5c36;
    text-transform: lowercase;
    font-family: PT Sans;
}

#pun-ulinks a:hover {
    transition-duration: 0.5s;
  text-decoration: none;
  color: #ab5c36;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #c06f49;
}

#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
color: #3f3e3e;
    transition-duration: 0.5s;
}

.main-title {display: none; 
}

#pun-maint {
margin: 0px 20% 12px 20%;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

#pun-main .category td div.icon {
    float: left;
    display: block;
    width: 30px;
    height: 50px;
    /* margin: 10px 0 0; */
    background: url(http://forumfiles.ru/files/001a/13/59/37948.png) no-repeat;;
}

#pun-main .category tr.inew div.icon {
    float: left;
    display: block;
    width: 30px;
    height: 50px;
    /* margin: 10px 0 0; */
    background: url(http://forumfiles.ru/files/001a/13/59/53938.png) no-repeat;
}

#pun-main .category tr.iclosed div.icon {
    float: left;
    display: block;
    width: 30px;
    height: 50px;
    /* margin: 10px 0 0; */
    background: url(http://forumfiles.ru/files/001a/13/59/40904.png) no-repeat;
}

#pun-main .category tr.isticky div.icon {
    float: left;
    display: block;
    width: 30px;
    height: 50px;
    /* margin: 10px 0 0; */
    background: url(http://forumfiles.ru/files/001a/13/59/56410.png) no-repeat;
}

/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(http://forumfiles.ru/files/001a/13/59/70146.png) 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:10px 3!important;
}
.punbb .post .post-author > ul {
  background:url(http://forumfiles.ru/files/001a/13/59/70146.png) 0 top no-repeat,url(http://forumfiles.ru/files/001a/13/59/70146.png) 0 bottom no-repeat; /*Фон верха - низа*/
  margin:0px 31px 0px 0!important;
  padding:0px 0px!important;
}

/* 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: #c06f49; 
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #c06f49; 
}

::-webkit-scrollbar {
    background-color: #3f3e3e;
    height: 4px;
    width: 6px;
}

::selection {
    background: #ab5c36 !important;
    color: #b5aea3;
}







.punbb .pa-avatar img {
    margin-bottom: 0px;
    margin-top: 1px;
    height: 180px;
    border: 3px solid #d1d1d1;
    outline: 1px solid #b09284;
}



#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-color: #cacaca;
    z-index: 2;
    height: 150px;
    overflow-y: auto;
}





.category .container thead {display: none;}


td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: PT Sans;
    letter-spacing: 0.6px;
    font-size: 11px;
}


#banners img {transition: all 0.5s linear 0s;filter: grayscale(100%) opacity(0.8) brightness(0.8);}

#banners img:hover {filter: none}



#pun-viewtopic .post h3 {
    height: 17px;
    font-size: 11px;
    margin: 0 6px 0 -15px;
    font-family: PT Sans;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.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-color: #c6c6c6;
}





/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 205px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }



.under {
    background-color: #c6c6c6;
    color: #ab5c36 !important;
    text-align: center;
    padding: 2px;
    margin-top: 3px !important;
    border-radius: 3px;
    border: 1px solid #ab5c36;
    box-shadow: 0 0 3px #00000054 inset;
}


.under a {
    color: #bebcb8 !important;
    font-family: PT Sans;
}



.infgl {
    font-size: 12px;
    text-align: center;
    font-family: Alegreya;
    margin-top: 5px !important;
}


.info {
height: 64px;
    overflow-y: auto;
    text-align: justify;
    margin-top: 2px !important;
    padding-right: 7px;
    font-size: 9px;
}



.link-tab {
    color: #c06f49 !important;
    font-family: Geometria;
    font-style: italic;
    font-size: 16px;
    margin: 0 4px 0 0px !important;
    letter-spacing: 0.6px;
    padding: 0 4px 2px 4px;
}

.link-tab:hover {
    color: #3f3e3e !important;
    font-family: Geometria;
    font-style: italic;
    font-size: 16px;
    margin: 0 4px 0 0px !important;
    letter-spacing: 0.6px;
    padding: 0 4px 2px 4px;
}


.pa-respect {
    vertical-align: none!important;
    padding: 20px 20px 10px 20px!important;
    display: inline-block!important;
    margin-top: -15px !important;
    float: none!important;
    text-align: center;
    text-transform: lowercase;
    font-size: 10px;
    font-family: PT Sans;
}



.pa-fld1 {
    color: #ab5c36!important;
    width: 180px!important;
    padding: 5px 0px 0px 0px;
    margin-left: 10px!important;
    font-family: Alegreya!important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.pa-fld2 {
    background-color: #d1d1d1;
    text-align: justify;
    padding: 5px 5px 5px 5px!important;
    float: none!important;
    width: 172px!important;
    color: #696261;
    text-transform: lowercase;
    font-size: 12px;
    font-family: Alegreya;
    margin-left: 9px!important;
    margin-top: 4px!important;
}


.pa-fld3 {
    color: #ab5c36 !important;
    width: 180px !important;
    padding: 2px 0px 0px 0px;
    font-size: 12px;
    font-family: Alegreya;
    font-weight: bold;
    margin-left: 10px !important;
}



/*скрываем ненужные*/
.pa-awards, .pa-gifts {
display: none;
}


.punbb em.user-avatar img.ava {
   border: 0px solid !important;
    border-radius: 0%!important;
   height: 28px;
   width: 28px;
   margin: 1px 9px 2px 0px!important;
   opacity: 0.85;
   background-position: center center;
   background-size: auto 100%;
   background-repeat: repeat!important;
}



#button-dice {
background-image:url(http://drakenfurt.ru/uploads/0005/6e/de/20529-1.gif);
}

.vote {display:none!important;}

.tipsy-inner {
padding:5px 5px 4px!important; 
background-color:#212b27!important; 
color:white!important;
font-size: 11px!important;
max-width:200px!important;
text-align:center!important; 
border-radius:3px!important; 
-moz-border-radius:3px; 
-webkit-border-radius:3px}

.tipsy-inner p{
margin: 0px!important;
margin-top: 6px!important;
}


#respect .person {
  width: 28px!important;
  height: 28px!important;
}


/* Для превью стикуров */
.tabs
{padding:0px!important}
#media-wrapper a:hover
{transition-duration: 0s!important;}
#wrapper a:hover
{transition-duration: 0s!important;}

#smilies-area img
{ max-width: 64px;}

/*Лидия хуевертит с кнопками формы ответа*/
#button-keyboard, #button-files_rusff, #button-graffiti_rusff
{display: none !important;}


#button-dice {
background-image:url(http://forumfiles.ru/files/001a/13/59/49620.png);
}

#post .container{
 background:#c6c6c6;
 border-width: 1px;
 border-style: solid;
 border-color: #ab5c36;
 padding-bottom:10px!important;
 padding-left: 15px !important;
 padding-right: 15px !important;
 overflow-y: auto;
}

.inner.post_reputation, #reputationText
{
border: 1px solid rgb(170, 170, 171);
background-color: #b7b7b9;
color: #292929;
}

#size-area
{
max-height: 182px;
}

#font-area
{
max-height: 340px;
}

#table-area
{
max-height: 255px;
}

#smilies-area
{
max-height: 500px;
width: 550px!important;
overflow-x: hidden;}


 #video-area
{
height: 180px;
}


.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
    width: 10%;
}