#menu {
margin-top: -5px;
width: 100%;
height: 40px;
margin-left: auto;
margin-right: auto;
background-repeat : no-repeat;
}

#menu li{
text-align: center;
font-family: 'chinacyrregular';
display: block;
color: #3d3b39;
margin: 7px 0;
padding: 20px;
}
#submenu, #menu span, #menu li{
background: transparent;
}

#menu .tabactive {
font-family: 'chinacyrregular';
color: #3d3b39;
background-color: #f4f0e4;
border-radius: 15px;
box-shadow: 0 0 10px;
}

#submenu {
padding: 3px;
height: 200px;
text-align: center;
font-size: 16px;
width: 550px;
margin: 0 auto;
}

.submenutext {
display: none; 
height: 40px;
}

#menu {
 list-style-type: none;
 display: block;
}
#menu li{
 cursor: pointer;
 display: inline-block;
 font-weight: bold;
}
#menu li{
font-family: 'chinacyrregular';
padding: 5px 5px 5px; 
margin-right: 5px;
margin-left: 5px;
width: 130px;
text-decoration: none;
display: inline-block;
}

#menu .tabactive {
font-family: 'chinacyrregular';
color: #3d3b39;
background-color: #f4f0e4;
border-radius: 15px;
box-shadow: 0 0 10px;
}

#submenu {
padding: 5px;
height: 275px;
text-align: left;
font-size: 11px;
width: 850px;
}

.submenutext {
text-align: center;
background: transparent;
position: absolute;
width:100%;
max-width: 850px;
display: none; 
height: 275px!important;
}

.leftimg {
float:left; /* Выравнивание по левому краю */
margin: 3px 10px 3px 0; /* Отступы вокруг картинки */
}

.rightimg  {
float: right; /* Выравнивание по правому краю  */ 
margin: 3px 0 10px 3px; /* Отступы вокруг картинки */
}

p {
    line-height: 1.2;
   }

/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links,
.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;
  color: #22211d;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background-color: transparent;
  color: #180e00;
  margin-left: 5px;
  margin-right: 5px; 
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
background: url("http://forumfiles.ru/files/000d/f8/e2/48745.png") top center no-repeat;
  background-color: transparent;
  text-transform: uppercase;
  height: 30px;
  color: #1a0f02;
  text-shadow: #ffffff 0px 0px 1px,
    #180e00 0px 0px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  font-family: "Century", serif;
  margin-top: 0px;
  margin-bottom: 0px;
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: transparent;
  margin-top: 30px;
  color: #180e00;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: transparent;
  text-shadow: none;
  color: #997755
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: transparent;
  color: #180e00
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background-color: #cdc3a4;
  border-radius: 0px 10px 0px 10px;
  box-shadow: 1px 2px 3px #625f59;
  }

/* CS1.8 */
#pun-navlinks .container {
  background-color: transparent;
  color: #61574d;
  text-align: center;
  font-weight: bold;
  font-family: "Century" , serif;
  font-size: 13px;
  font-variant: small-caps;
}

.offline li.pa-online strong {
  font-weight: normal;
  text-transform: uppercase;
  }

/* 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-radius: 0px 10px 0px 10px;
  box-shadow: 1px 2px 3px #625f59;
  }

#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: 0px none none
  }

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 {
  text-decoration: none;
  color: #442a01;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #3d3b39;
  }

/* 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: #3d3b39;
  text-decoration: none;
  }
/* CS3.3 */
#pun-navlinks a {
  color: #3d3b39;
  text-transform: uppercase;
  text-decoration: none
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #3d3b39;
  text-decoration: none
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: transparent;
  color: #3d3b39;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

    div.icon {
            background: url("http://forumfiles.ru/files/000d/f8/e2/70278.png") no-repeat;
            }

    tr.inew div.icon {
            background: url("http://forumfiles.ru/files/000d/f8/e2/35279.png") no-repeat;
            }

    tr.iclosed div.icon {
            background: url("http://forumfiles.ru/files/000d/f8/e2/67521.png") no-repeat;
            }

    tr.isticky div.icon {
            background: url("http://forumfiles.ru/files/000d/f8/e2/55259.png") no-repeat;
           }



/* ОФОРМЛЕНИЕ ПРОФИЛЯ
 -------------------------------------------------------------*/ 

.post-author ul {
  margin-left: 5px;
  }

.post-author ul li {
  margin: 1px 0px 0; 
}

.post-author ul li.pa-author, .post-author ul li.pa-title, .post-author ul li.pa-avatar, .post-author ul li.pa-online {
  text-align: center;
}

.post-author ul li.pa-avatar img {
  height: auto; 
  max-height: 300px !important; 
  max-width: 181px !important; 
  width: auto;
  margin-top: 0px;
}

.post-author ul li.pa-author, .post-author ul li.pa-title, .post-author ul li.pa-avatar {
  border: medium none;
  text-align: center;
}

.post-author ul li.pa-author a {
  font-style: normal !important; 
  text-decoration: none !important;
  text-align: center;
  font-size: 16px;
  font-weight: bolder;
  font-variant: small-caps;
}

.pa-author {
  font-family: "Century", serif;
  font-size: 16px;
  text-align: center;
}





#menu {
margin-top: -5px;
width: 100%;
height: 40px;
margin-left: auto;
margin-right: auto;
background-repeat : no-repeat;
}

#menu li{
text-align: center;
font-family: 'chinacyrregular';
display: block;
color: #3d3b39;
margin: 7px 0;
padding: 20px;
}
#submenu, #menu span, #menu li{
background: transparent;
}

#menu .tabactive {
font-family: 'chinacyrregular';
color: #3d3b39;
background-color: #f4f0e4;
border-radius: 15px;
box-shadow: 0 0 10px;
}

#submenu {
padding: 3px;
height: 200px;
text-align: center;
font-size: 16px;
width: 550px;
margin: 0 auto;
}

.submenutext {
display: none; 
height: 40px;
}

#menu {
 list-style-type: none;
 display: block;
}
#menu li{
 cursor: pointer;
 display: inline-block;
 font-weight: bold;
}
#menu li{
font-family: 'chinacyrregular';
padding: 5px 5px 5px; 
margin-right: 5px;
margin-left: 5px;
width: 130px;
text-decoration: none;
display: inline-block;
}

#menu .tabactive {
font-family: 'chinacyrregular';
color: #3d3b39;
background-color: #f4f0e4;
border-radius: 15px;
box-shadow: 0 0 10px;
}

#submenu {
padding: 5px;
height: 275px;
text-align: left;
font-size: 11px;
width: 850px;
}

.submenutext {
text-align: center;
background: transparent;
position: absolute;
width:100%;
max-width: 850px;
display: none; 
height: 275px!important;
}

.leftimg {
float:left; /* Выравнивание по левому краю */
margin: 3px 10px 3px 0; /* Отступы вокруг картинки */
}

.rightimg  {
float: right; /* Выравнивание по правому краю  */ 
margin: 3px 0 10px 3px; /* Отступы вокруг картинки */
}

p {
    line-height: 1.2;
   }
