/* CS0 Main
-------------------------------------------------------------*/

/* CS1.0A Настройки фона*/

body {
background: 
url("http://co.forum4.ru/files/0011/d5/96/93644.jpg") repeat-x top center, /*верхний фон*/ 
#A49F9C
url("http://co.forum4.ru/files/0011/d5/96/16566.jpg") repeat; /*общий фон*/

}

/* CS0.2 Тело*/
#pun {
background:  url("http://co.forum4.ru/files/0011/d5/96/14551.jpg") top center scroll repeat-y;
}

/* CS0.2 Шапка*/
#pun-title.section {
background: transparent url("http://co.forum4.ru/files/0011/d5/96/91305.png") top center scroll no-repeat;
  height: 756px;
  width: 1231px;
  margin-top: -1px;
  margin-left: -176px;
}

/* CS0.3 Низ */
#forum_copyright {
  background-image: url("http://s1.uplds.ru/AzQB8.png");
  margin-left: -177px;
  margin-bottom: -20px;
  background-position: center bottom;
  background-repeat: no-repeat;
  width: 1231px;
  height: 121px;
}

/* CS0.4 Переадресация */
#pun-redirect { 
  background: url(http://se.uplds.ru/yvY0i.jpg) no-repeat top center;
  width: 500px;
  height: 250px;
  position: fixed;
  text-align: center;
  margin-top: 100px;
  margin-left: 350px;
}

#pun-redirect .main-title {
  display: none;
}

/* CS0.5 Прокрутка*/
::-webkit-scrollbar {
  width: 9px;
  height: 5px;
  background-color: #EBDE1C;
}  
::-webkit-scrollbar-thumb {
  background-color: #454d46;
  box-shadow: inset 0px 0px 4px #614017;
}

/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  background-color: transparent;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background-color: transparent;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  background-color: transparent;
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: transparent;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  color: #5d4416;
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: transparent;
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  border: double #939290;
  color: #000000;
  box-shadow: inset 0px 0px 15px #ceb898;
  background: rgba(247, 245, 233, 0.46);
}

/* CS1.8 */
#pun-navlinks .container {
  background-color: transparent;
  }

.offline li.pa-online strong {
  font-weight: normal
  }



/* E3 Профиль
-------------------------------------------------------------*/
.pa-avatar img {
width: 190px;
height: 250;
}

.char_id {
/* font-family: Courier New; */
padding: 0 !important;
}
.char_id span, .char_id a {
/* font-family: Book Antiqua;*/
}
.char_id span {
font-weight: bold;
}



/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title, .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post, #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2, .punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body, .punbb .post h3 span, .post-links ul, .post-links, .usertable table, .punbb th, #pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span, #pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend, .punbb .divider, .punbb .formal fieldset .post-box, .punbb .info-box, li.pa-online {
  border-color: transparent;
  }


/* CS3 Links
-------------------------------------------------------------*/

/* 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 {
  color: #c34e4e;
  text-decoration: none;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #333
  text-shadow: 0px 0px 7px #fff2e1;
  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: #c34e4e;
  text-decoration: none;
  border-bottom: 1px dashed #bbbbbb;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #6b0d0d;
  text-shadow: 0px 0px 3px white;
  text-decoration: none;
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #3a362b
  text-decoration: none;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  color: #fff;
  text-decoration: none;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

/* Старое */
Div.icon {
background-image : url(http://s9.uplds.ru/t/EitBO.png); 
background-repeat: no-repeat;
}

/* Новое */
TR.inew Div.icon {
background-image : url(http://s0.uplds.ru/t/YNbOg.png); 
background-repeat: no-repeat;
}

/* Важное */
TR.isticky Div.icon {
background-image : url(http://sa.uplds.ru/Tineq.png);  
background-repeat: no-repeat;
}

/* Закрытое */
TR.iclosed Div.icon {
background-image : url(http://sg.uplds.ru/arRGW.png); 
background-repeat: no-repeat;
}

.punbb div.icon {float: right; display: block; width: 75px; height: 70px;}
#pun-main div.catleft, #pun-main div.catright {display: none}

/* CS5 Navigation
 -------------------------------------------------------------*/

/* Ссылки в подфоруме */
a.navifor, a.navifor:active, a.navifor:link, a.navifor:visited {
  color: #c77437;
  font-size: 11px;
  font-family: Century Gothic;
}
a.navifor:hover {
  color: #e0a12b;
}

/* Фон под ссылками */
.navifo {
  width: 100%;
  padding-top: 2px;
  padding-bottom: 3px;
  margin-top: -5px;
  color: #652222;
}

/* CS6 Other
 -------------------------------------------------------------*/

/* Скрыть: "форум, тем, сообщений, последнее сообщение" */
#pun-index .category table  thead {
  display:none;
}

/* Оформление всплывающих окон в окне набора текста */
#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: rgba(255, 255, 255, 0.92);
  border: 1px solid #c1c0bf;
  z-index: 1;
}

/* Оформление окна набора текста */
#main-reply {
  width: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.39);
  border-color: #909090;
  color: #383838;
  box-shadow: inset 0px 0px 30px #d4d1cd;
}


/*------------------------------- Меню ------------------------------------*/

   #nav 
{width: 200px; top: 0; left: 0; padding: 0; margin: 0; list-style: none; position: absolute; z-index: 500; font-family: arial, verdana, sans-serif;}
   #nav li.top 
{display: block; float: left; height: 50px;}
   #nav li a.top_link 
{display: inline-table; float: left; line-height: 33px; color: #f5f5f5; text-decoration: none; font-weight: normal; cursor: pointer;}
   #nav li a.top_link span 
{float: left; display: block; height: 35px;}
   #nav li a.top_link span.down 
{float: left; display: block; padding: 0 24px 0 12px; margin-bottom: 15px; width: 147px; height: 30px; border:  #dcd4d4; background: #454d46;}
 
   #nav li:hover a.top_link, #nav li.iehover a.top_link, #nav li:hover a.top_link span, #nav li.iehover a.top_link span, #nav li:hover a.top_link span.down, #nav li.iehover a.top_link span.down 
{color: #fff; cursor: pointer;}
 
/* Моделирование списка по умолчанию */
 
   #nav li:hover 
{position: relative; z-index: 600; cursor: pointer;}
 
   #nav li:hover ul.sub
{left: 3px; top: 35px; background: #f1ebec; padding: 3px; border: 1px solid #524b4b; box-shadow: 0px 1px 4px rgba(62, 62, 62, 0.52); white-space: nowrap; width: 150px; height: auto; z-index: 700; cursor: pointer;}
   #nav li:hover ul.sub li
{display: block; height: 20px; position: relative; float: left; width: 150px; font-weight: normal; cursor: pointer;}
   #nav li:hover ul.sub li a
{display: block; font-size: 12px; height: 20px; width: 150px; line-height: 18px; text-indent: 5px; color: #333333; text-decoration: none; border: none; cursor: pointer;}
  #nav li ul.sub li a.fly
{background: rgba(255, 255, 255, 0) url(http://co.forum4.ru/files/0016/ce/97/55241.png) 140px 6px no-repeat; cursor: pointer;}
  #nav li:hover ul.sub li a:hover
{background: rgba(255, 255, 255, 0.49) none repeat scroll 0% 0%; color: #333333; border-color: #fff; cursor: pointer;}
  #nav li:hover ul.sub li a.fly:hover
{background:rgba(255, 255, 255, 0.49) none repeat scroll 0% 0%; url(http://co.forum4.ru/files/0016/ce/97/97330.png) 147px 6px no-repeat; color: #333333; cursor: pointer; left: 1px;}
 
 
#nav li:hover li:hover ul,
#nav li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover li:hover ul
  {left: 147px; top: -4px; background: #f1ebec; padding: 3px; border: 1px solid #524b4b; box-shadow: 0px 1px 4px rgba(62, 62, 62, 0.52); white-space: nowrap; width: 150px; z-index: 400; height: auto;}
 
#nav ul,
#nav li:hover ul ul,
#nav li:hover li:hover ul ul,
#nav li:hover li:hover li:hover ul ul,
#nav li:hover li:hover li:hover li:hover ul ul
  {position: absolute; left: -9999px; top: -9999px; width: 0; height: 0; margin: 0; padding: 0; list-style: none;}
 
#nav li:hover li:hover a.fly,
#nav li:hover li:hover li:hover a.fly,
#nav li:hover li:hover li:hover li:hover a.fly,
#nav li:hover li:hover li:hover li:hover li:hover a.fly
  {background: #b9b9b9; color: #000000;}
 
#nav li:hover li:hover li a.fly,
#nav li:hover li:hover li:hover li a.fly,
#nav li:hover li:hover li:hover li:hover li a.fly
  {background: #b9b9b9; color: #000000;}

