/* eto MENU!!!*/
   #mainmenu{
    position:relative;
    background: url() center top no-repeat;  
    height:30px;
top: 48px;
    margin:0px auto;
    padding-top:122px;
    width:500px;
    z-index:10 /* для отображения подпунктов поверх остальных блоков */
}
#mainmenu ul, /* сбрасываем поля и отступы у списков */
#mainmenu ul ul {
    list-style:none;
    padding:0;
    margin:0;
}
#mainmenu ul {    
    clear:left;
    position:relative;
    right:6%;
    height:40px;
    float:right;
    text-align:center;
    font:12px Arial, Arial, Helvetica, sans-serif;
font-weight: 600;
    text-transform:uppercase;    
}
#mainmenu ul li {
    border-right: 0px solid #6c2525;
    box-shadow: 0px 0 0 #444;
    -moz-box-shadow: 0px 0 0 #444;
    -o-box-shadow: 0px 0 0 #444;
    -ms-box-shadow: 0px 0 0 #444;
    -webkit-box-shadow: 0px 0 0 #444;    
    position:relative;
    left:50%;
    float:left;
    height:20px;
    padding:0;
    margin:0
   
}
#mainmenu ul li:last-child {
    border:none;
    box-shadow:none
}    
#mainmenu ul li a {
    display:block;
    color: #e1c4c4;
    text-decoration: none;
    padding:13px 20px
}
#mainmenu ul li a:hover {
    background-color: #843737;
    background-image: -moz-linear-gradient(#6c2525,  #843737);    
    background-image: -webkit-gradient(linear, left top, left bottom, from(#6c2525), to(#843737));
    background-image: -webkit-linear-gradient(#6c2525, #843737);
    background-image: -o-linear-gradient(#6c2525, #843737);
    background-image: -ms-linear-gradient(#6c2525, #843737);
    background-image: linear-gradient(#6c2525, #843737);
    color: #e2dcd8
}
#mainmenu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}
 
/*************************** Выпадающие подпункты */
#mainmenu ul li ul {
    background: #6c2525;
    background: -moz-linear-gradient(#6c2525, #843737);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#6c2525), to(#843737));
    background: -webkit-linear-gradient(#6c2525, #843737);    
    background: -o-linear-gradient(#6c2525, #843737);    
    background: -ms-linear-gradient(#6c2525, #843737);    
    background: linear-gradient(#6c2525, #843737);        
    border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    -ms-border-radius: 3px;
    -webkit-border-radius: 3px;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;    
    text-transform:none;
    opacity: 0;
    visibility: hidden;
    position:absolute;
    left:0;
    top:40px;
    font-size:12px;
    height:auto;
    width:130px    
}
#mainmenu ul li ul li {
    border:none;
    box-shadow: 0 1px 0 #681616, 0 2px 0 #681616;
    -moz-box-shadow: 0 1px 0 #681616, 0 2px 0 #681616;
    -o-box-shadow: 0 1px 0 #681616, 0 2px 0 #681616;
    -webkit-box-shadow: 0 1px 0 #681616, 0 2px 0 #681616;
    -ms-box-shadow: 0 1px 0 #681616, 0 2px 0 #681616;
    position:relative;
    left:0;
    float:none;
    height:auto;
    margin:0;
    text-align:left !important;
}
#mainmenu ul li ul li:last-child {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#mainmenu ul li ul li a {
    padding:8px 8px;
    border:none
}
 
/*************************** Выпадающие пункты второго уровня */
#mainmenu ul li ul li ul {
    top: 0;
    left: 130px;
    margin: 0 0 0 20px;
    _margin: 0; /*IE6 only*/
    box-shadow: -1px 0 0 rgba(89,18,22,40);
    -moz-box-shadow: -1px 0 0 rgba(89,18,22,40);
    -o-box-shadow: -1px 0 0 rgba(89,18,22,40);
    -ms-box-shadow: -1px 0 0 rgba(89,18,22,40);
    -webkit-box-shadow: -1px 0 0 rgba(89,18,22,40);    
}
 
/*********************** Стрелочки на подпунктах */
#mainmenu ul ul li:first-child > a {
    border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    -o-border-radius: 3px 3px 0 0;
    -ms-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;    
}
#mainmenu ul ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #4A0F07;
}
#mainmenu ul ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0;    
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #4A0F07;
}
#mainmenu ul ul li:first-child a:hover:after {border-bottom-color: #4A0F07}
 
#mainmenu ul ul ul li:first-child a:hover:after {
    border-right-color: #4A0F07; 
    border-bottom-color: transparent;     
}
#mainmenu ul ul li:last-child > a {
    -moz-border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
}






/* CS1 Background and text colours
-------------------------------------------------------------*/

/*Убираем слово объявление из таблицы*/
#pun-announcement h2 {display: none}
#pun-announcement .container {padding-top: 1em}

 
html, body {

background-image : url(http://img-fotki.yandex.ru/get/6838/176512308.17/0_1272f3_94c66915_orig); 
 background-repeat: repeat-y;
background-position:  center;
background-color: #c7bcbc;}


body {background-color: transparent;
  background-image : url("http://img-fotki.yandex.ru/get/6820/176512308.19/0_127580_2e6dbaa0_orig");
  background-repeat: no-repeat;
  background-position: center bottom;
  padding-bottom: 257px;}


 


#pun_wrap {  background-image: url("https://img-fotki.yandex.ru/get/6806/176512308.37/0_143e6d_f8b2c7f9_orig"); background-repeat: no-repeat; background-position: top center; 
 }



.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer, #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 {background-color: transparent;
color: #250202;}

#pun-status .container, #pun-crumbs1 .container
{color: #1a0a01;
}
#pun-title table tbody tr .title-logo-tdr {position: absolute; z-index: 1; left: 500px; top: 0px
}



#pun-navlinks .container, #pun-ulinks .container {
background-color: transparent;
color: #1a0a01;
text-align: center;}

.offline li.pa-online strong {
color: #1a0a01;
font-weight: normal}

.punbb textarea, .punbb select, .punbb input {
background-color: transparent;
color: #1a0a01;}

/* кнопки */
.punbb input {border-top: 3px solid #812121;
border-bottom: 3px solid #b52020;
-webkit-border-radius: 10px;
border-radius: 10px;
content: ".";
background: #e2c7c7 repeat-y top center;
padding:6px 6px; text-shadow: #bfb1b1 1px 1px 1px;}


/* Формы ответа и адм */
.punbb textarea {border-top: 6px solid #812121;
border-bottom: 6px solid #b52020;
-webkit-border-radius: 15px;
border-radius: 15px;
content: ".";
background: #e2c7c7 repeat-y top center;
padding: 9px 10px; text-shadow: #bfb1b1 1px 1px 1px;}

/* Цитаты и коды в сообщениях*/
#pun-main .quote-box, #pun-main .code-box {border-top: 6px solid #812121;
border-bottom: 6px solid #b52020;
-webkit-border-radius: 15px;
border-radius: 15px;
content: ".";
background: #e2c7c7 repeat-y top center;
padding: 9px 10px; text-shadow: #bfb1b1 1px 1px 1px;}


/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color: transparent
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: transparent
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent;
  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: transparent;
  }

/* CS2.5 */
.punbb th {
  border-color: transparent
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: 9cadad;
 
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent
  }

.punbb .divider {
  border-color: transparent
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent
  }

li.pa-online {
  border-left-color: transparent;
  }



/* CS3 Ссылки */

/* CS3.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 {
  color: #6b0d2c;
  text-decoration: none;}

/* CS3.2 Цвет ссылки при наведении */
.punbb a:hover, .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 {
  color: #7d3c52; 
  text-decoration: none; font-weight: bold}

/* CS3.3 Цвет ссылок главного меню*/
#pun-navlinks a {
  color: #591216;
  text-decoration: none;

 }

/* CS3.4 Цвет ссылок гл меню при наведении*/
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #7d3c52;
  text-decoration: none; font-weight: bold}



/* CS4 Post status icons
 -------------------------------------------------------------*/
.punbb table Div.icon {float: right; display: block; width: 80px; height: 80px; border-style: none; background-image: url(http://probnik2el.rusff.ru/files/0014/66/64/40154.png);  background-repeat: no-repeat; position: relative; }
.punbb table div.inew {background: url(http://probnik2el.rusff.ru/files/0014/66/64/97085.png) no-repeat; position: relative; margin-left: 1px;}
TR.isticky Div.icon {background: url(http://probnik2el.rusff.ru/files/0014/66/64/59185.png) no-repeat; position: relative; margin-left: 1px;}
TR.iclosed Div.icon {background: url(http://probnik2el.rusff.ru/files/0014/66/64/34604.png) no -repeat; position: relative; margin-left: 1px;}

#pun-title table tbody tr .title-logo-tdr {position: absolute; z-index: 1; right: 5px; top: 5px}




/*картинка в сообщениях*/
td.tcr a {
  background: transparent url(http://probnik2el.rusff.ru/files/0014/66/64/38062.png) no-repeat left center;
  padding-left:24px;
}

/* Страница переадресации */
#pun-redirect {padding-left: 3em;}
.mini_awards  

.punbb .post-content a {
color:#412b31;
font-size:100%;
text-decoration:none;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active{
color:#66787A;
}

.punbb h2 span {
display: none; }


/*Статус картинки со статистикой 24*/
#pun-stats ul.container { 
background-attachment: scroll;
background-clip: border-box;
background-color: transparent;
background-image: url("http://probnik2el.rusff.ru/files/0014/66/64/76563.png");
background-origin: padding-box;
background-position: 10px 10px;
background-repeat: no-repeat;
background-size: auto;
padding-left: 100px;
padding-top: 10px;}


#pun-stats.section h2 { 
background-attachment: scroll;
background-clip: border-box;
height: 140px;
width: 885px;
margin-left: -18px;
overflow-x: hidden; 
color: transparent;
background-color: transparent;
background-image: url("http://probnik2el.rusff.ru/files/0014/66/64/75413.png");
padding-left: -10px;
background-origin: padding-box;
background-position: 50% 0%;
background-repeat: no-repeat;
background-size: auto;
font-size: 0px;}


/*всплывающее окошко амс*/
  .thumbnail{  
  position: relative;  
  z-index: 0;  
  }  
  .thumbnail:hover{  
  z-index: 50;  
  }  
  .thumbnail span{ /*CSS for enlarged image*/  
  position: absolute;  
  background: #d0c4c4; 
  width: 130px;
  box-shadow: inset 0 0 20px 5px #;
  padding: 5px;  
  left: -1000px;  
  border: none;  
  visibility: hidden;  
  color: #5f2020;  
  text-decoration: none;  
  border-radius: 10px;  
  -moz-border-radius: 4px 4px 4px 4px;  
  -webkit-border-radius: 4px 4px 4px 4px;  
  }  
  .thumbnail span img{ /*CSS for enlarged image*/  
  border-width: 0;  
  padding: 2px;  
  }  
  .thumbnail:hover span{ /*CSS for enlarged image on hover*/  
  visibility: visible;  
  bottom: 15px;  
  left: -50px; /*position where enlarged image should offset horizontally */  
  }  
  /*---------------------*/

/*подпись*/
 #pun-main .post-sig dd p {color: #734e58; font-size: 100%; font-style: italic;}
dd {
  margin-left: 0;
}

/* Счётчик файлов */
table#filetable tbody {counter-reset: section; } 
table#filetable tbody td.tcl:before {
    counter-increment: section; 
    content: counter(section) ". "; 
   }


/*polosa prokrutki*/
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
background: #d2caca;
}
::-webkit-scrollbar-thumb {
    background: #b38680;
}

/* --- навигация --- */
#navigation {
    width:290px;
    margin-top:12px;
    background-color:#c5d3d4;
    padding:5px;
    height:30px;
    margin-left:-5px;
    background-image: url('http://lavender.rusff.ru/files/0013/45/c5/31152.jpg');
    }

#navigation a {
    width:67px;
    display:inline-block;
    padding:1px 1px 1px 1px;
    font-family:aaargh;
    font-weight: bold;
    font-size:80%;
    text-align:center;
    text-transform:uppercase;
    color:#375b60;
    background-color:#c5d3d4;
    -webkit-transition:opacity 0.8s linear;
    -webkit-transition:all 0.5s ease-out;
    -moz-transition:all 0.5s ease-out;
    transition:all 0.5s ease-out;
    }

#navigation a:hover {
    border-bottom:2px solid #3c6b71;
    color:#719fa5;
    background-color:#c8cfcf;
    text-align:center;
    -webkit-transition:opacity 0.7s linear;
    -webkit-transition:all 0.3s ease-out;
    -moz-transition:all 0.3s ease-out;
    transition:all 0.3s ease-out;
    }


#u-ava {
    height: 97px;
    margin-left: 462px;
    position: absolute;
    text-align: center;
    top: 406px;
    width: 80px;
}
#u-text {
    height: 60px;
    margin-left: 570px;
    position: absolute;
    top: 415px;
    width: 345px;
}
#u-text a {font-size: 12px; border-right: 1px solid #2d1d21; padding-right: 5px;}

/* убрать награды*/
#pun-navlinks #navawards {display:none;}

/* Ссылки верхней навигации*/
#pun-navlinks .container { 
text-transform: uppercase;
text-align: center; 
position: absolute;
background-color: transpanent;
z-index: 1000;
top: -300px;
left: 110px}

 
/*рейтинг поста*/
div.post-rating a {
width: 32px;
height: 32px;
background: url("http://probnik2el.rusff.ru/files/0014/66/64/36540.png") no-repeat;
position: relative;
text-align: center;
padding: 7px 0 0;
display: block;
}
.post-rating .container a{
color: #691A1A;}

/* вторая часть кода для окантовки профиле*/
.punbb .post .post-author {
width: 200px;
padding-top: 3px;
background: ;
border-top: none;
border-bottom: none;
margin-top: 0px;
margin-left: 5px;
margin-bottom: 0px;
border-radius: 20px 0px 20px 0px;
background-color: #e4bcbc;
border: double #725353;
}

/* сообщения и репутация*/
.pa-posts {
margin-left: 0px;
border-radius: 5px;
border: double 3px #725353;
display: inline-block;
background-color: #b0a2a2;
text-align: center;
text-transform: lowercase;
padding: 10px 5px;
width: 70px;
color: #6b0d2c;
}


.pa-respect {
border: double 3px #725353;
display: inline-block;
margin-left: 0px;
border-radius: 5px;
text-align: center;
text-transform: lowercase;
background-color: #b0a2a2;
padding: 10px 5px;
width: 72px;
color: #6b0d2c;
}


/*Оформление форумов*/
.dana {
margin-left: -12px;
width: 350px;
padding: 5px; 
font-family: arial; 
font-size: 10px; 
line-height: 100%; 
text-align: justify;
background-color: #dbcfcf;
box-shadow: 0 2px 6px #908282;
padding: 10px;}


/*популярность и ЛЗ*/
.star {
background: #c19c9c; 
height: 100%; 
width: auto; 
border-top: 1px dotted #310303; 
border-bottom: 1px dotted #310303; 
font-family: jura; 
font-size: 12px; 
letter-spacing: 1px; 
text-transform: uppercase;  
color: #440c0c; 
text-shadow: #c7bcbc 1px 1px; 
text-align: center;
}

.star2 {
background: #9e9a9a; 
height: 100%; 
width: auto; 
border-top: 1px dotted #310303; 
border-bottom: 1px dotted #310303; 
font-family: jura; 
font-size: 12px; 
letter-spacing: 1px; 
text-transform: uppercase;  
color: #440c0c; 
text-shadow: #c7bcbc 1px 1px; 
text-align: center;
}

.info {  
font-family: arial; 
font-size: 10px;   
color: #170505;  
text-align: center;
width: auto;
}


/*заголовки в объяву*/
.info2 {
background: #d4aaaa; 
height: auto; 
width: auto; 
font-weight: bold;
font-family: jura; 
font-size: 14px; 
letter-spacing: 1px; 
text-transform: uppercase;  
color: #440c0c; 
text-shadow: #bea8a8 1px 1px;   
text-align: center;">
  }


/*стиль ссылок в объяву*/
a.danalink2:link, a.danalink2:active, a.danalink2:visited {
display:inline-block;
padding:2px;
text-align: center;
font-family: jura;
font-weight: bold;
color: #440c0c;
background: #d4aaaa;
transition-duration: 0.6s;
-moz-transition-duration: 0.6s;
-webkit-transition-duration: 0.6s;
-o-transition-duration: 0.6s;
text-transform:lowercase;
width: 133px;
}
a.danalink2:hover {
background: #d4b0b0;
}


/*о форуме*/
.eldo { 
font-family:arial;  
font-size:12px;
font-stretch: extra-condensed;	 
text-align: justify; 
color:#130707; 
letter-spacing:1px;
line-height: 0.9em;
  }

.eldo2 { 
font-family:arial;  
font-size:11px;
font-stretch: extra-condensed;	  
color:#130707; 
letter-spacing:1px;
line-height: 0.9em;
  }