html, body {
	margin:0px;
	margin-bottom:12px;
	padding:0px;
	background:white;
	font-size:90%;
    font-family: Verdana;
    color: #393939;
}

b {
    color:#393939;  
}
table, td, img{
	border:0;
}
table, td, ul, li,  p,h1,h2,h3,h4,h5,h6,p,b , object,input {
    margin:0;
    padding:0;
    position:relative;
}
object, input {
	z-index:8;
}
h5 {
	font-weight:normal;
	font-size:11px;
}
h6 {
	font-weight:normal;
	font-size:9px;
}
ul,li {
    list-style:none;
}
#plain ol {
    list-style:decimal;
}
input {
    width:300px;
}
.miniInput {
    width:100px;
    margin-left:150px;
    text-align:center;
}
#logo img{

    margin:12px 0px 0px 0;
    border:1px solid #c3c3c3;
    border-bottom:0;
}
#logo a:hover {
    border:0;
    font-decoration:none;
}
#first {
    margin:100px auto 0 auto;
    width:900px;    
}
#wrapper {
    width:960px;
    margin:0 auto;    
}
#primary {
    float:left;
    width:790px;
}
#sidebar {
    float:right;
    width:158px;
}
#tags_bar {
    text-align:justify;
    height:206px;
}
#tags_bar h1,#tags_bar h2,#tags_bar h3,#tags_bar h4,#tags_bar h5,#tags_bar h6 {
    display:inline;   
    margin:0;
    padding:0; 
    font-weight:normal;
}
#tags_bar h1, #plain_tags h1 {
    font-size:90%;
    color:#111111;
}
#tags_bar h2, #plain_tags h2 {
    font-size:90%;
    color:#333;
}
#tags_bar h3, #plain_tags h3 {
    font-size:90%;
    color:#555;
}
#tags_bar h4, #plain_tags h4 {
    font-size:90%;
    color:#777;
}
#tags_bar h5, #plain_tags h5 {
    font-size:90%;
    color:#999;
}
#tags_bar h6, #plain_tags h6 {
    font-size:90%;
    color:#aaa;
}
#tags_bar a,#tags_bar a:visited {
    color:#666666;
    text-decoration:none;
}
#navigation {
	position:relative;
	z-index:9;
    width: 802px !important;
    width:800px;
    border:1px solid #C3C3C3;
    border-right:0;
    border-left:0;
    background:#F7F7F7;
}
#user {
    border:1px solid #C3C3C3;    
    background:#F7F7F7;
    border-right:0;

}
#navigation h1,#navigation h2,#navigation h3,#navigation h4,#navigation h5,#navigation h6, #sidebar #user h1, .block h1 {
    margin:0;
    padding:0;     
    font-size:110%;  
}
#navigation li {
    float:left;
    display:block;
    border-left:1px solid #C3C3C3;  
}
#navigation li a, #navigation li a:visited, #user a, #user a:visited, .block h1 a, .block h1 a:visited{
    float:left;
    display:block;
    width:141px;
    padding:10px 4px 10px 12px;
    text-decoration:none;
    
}
#user a, #user a:visited, #user a:hover, .block a:hover  {
    border-right:1px solid #C3C3C3;         
    width:140px;
}
#sidebar .block h1 a:hover {
    border-right:1px solid #C3C3C3 !important;    
    border-right:0;
    padding-right:1px !important;
    padding:10px 3px 10px 12px;  
    width:142px;
} 
.clear {
    clear:both;
}

.bold {
    font-weight:bold;
}
.line {
    text-decoration:underline;
}
.italic {
    font-style : italic ;
}
.title {
    color:#5F933E;
    font-size:17px;
}
.quote {
    background-color:#EEEEEE; 
    padding:1px;
    
}
.line-through {
    text-decoration:  line-through ;
}
.postimg {
    margin:0px 10px 0px 0px; 
    float:left;

}

#user h1 {
    display:inline;
}
a,a:visited {
    font-decoration:underline;
    color:#1A1A1A;
}
a:hover{    
    color:black;
    background:#c4ff8f;
    text-decoration:underline;   
}
#content .one, #content .one_af {
    width:789px;
    border:1px solid #C3C3C3;
    background:#F7F7F7;
    margin-top:12px;
}
#content .one:hover {
    background: #c4ff8f;
    
}
#content .one .text {
    float:right;
    border-left:1px solid #C3C3C3;
    width:607px;   
    height:71px;
    padding:14px 12px;
}
#content .one .img_cont {
    text-align:center;
    float:left;
    width:155px;
    padding:0px;
}
#content .one img { 
    background-repeat:no-repeat;
    width:132px;
    margin:0px 12px 0px 12px;
    height:99px;
    background-position:center ;
}
#content .one .text h3 {
    color:#9D9D9D;
    font-size:90%;

}
.plain_one h4 span, #content .one .text h3 span {
    font-size:60%;
    color:black;
    font-weight:normal;
}
.plain_one h4 span {
font-size:80%;
}
#content .one .text h1, .plain_one h1 {
    color:#393939;
    font-size:110%;
    padding:12px 0 13px 0;
}
#content .one .text h4, .plain_one h4 {
    color:#9D9D9D;
    font-size:90%;
}
#content .one a,#content .one a:visited {
    color:#808080;
    text-decoration:none;
}
#content .one a:hover h1 {
    text-decoration:underline;
}
#content .one h4 a:hover  {
    text-decoration:underline; 
}
#content h1 span {
    font-size:70%;
    margin:0;
    padding:0;
    color:#808080;
}

#sidebar .block, #tags_bar {
    font-size:11px;
    margin-top:12px;
    height:205px;
    padding:3px;
    border:1px solid #C3C3C3;
    background:#F7F7F7;    
    
}
#plain, .plain_one, .plain_two, .plain_two_bottom {
    margin-top:12px;
    border:1px solid #C3C3C3;
    background:#F7F7F7;   
    padding:10px;
}

#plain h1, .plain_one h1, .one_af h1, #forum h1{
    color:#393939;
    font-size:125%;
}
#plain h2, .plain_one h2, #forum h2{
    color:#393939;
    font-size:90%;
    font-style :italic ;
}
form {
    margin:20px;
}
label {
    color:#393939;
    font-size:90%;    
}

input {
    font-size:90%;
    border:1px solid silver;
}
.input_long, .textarea_long {
    width:640px;
}
.textarea_long {
    height:50px;
}
textarea  {
    border:1px solid silver; 
}
form p, form dd{
    padding:5px;
}
.error {
    margin:20px;
    color:red;
}
.plain_one, .plain_two, .plain_two_bottom {
    margin:0;
    border-bottom:0;
    padding:10px;
}
.plain_two_bottom {
    border-bottom:1px solid #C3C3C3;    
    margin-bottom:12px;
}
.plain_two, .plain_two_bottom {
    border:1px solid #C3C3C3; 
}

.plain_one div#postImg {
    float:left;
    margin-right:10px;
    margin-bottom:6px;
    text-align:center;
    border-right:1px solid #C3C3C3;
    width:386px;
    display:block;
}
.plain_one div#postImg img {
	position:relative;
	z-index:8;
}
.com {
    margin:3px 0 13px 0;
    font-size:85%;
    
}
.com_select {
    border:1px solid #AEE2FF;
}
.com_user {
    float:left;
}
.com_user span {
    font-size:9px;
    color:#9D9D9D;
}
.com_user {
    width:44px;
    text-align:right;
    padding-top:10px;
    min-height:30px;
}
.com_text {
    border-left:1px solid #C3C3C3;
    border-bottom:1px solid #C3C3C3;
    padding-left:7px;
    margin-left:7px;    
    margin-left:60px;
    background:#FaFaFa;
    min-height:50px;
    height: 100% !important;
    height:50px;
}
.com_text h4 {
    font-size:80%;
    margin:2px;
}
.com a, .com a:visited {
    text-decoration:none;
    color:#555;
}
#sidebar .block {
    padding:0;
    height:212px;
}
#sidebar .block h1 {    
    border-bottom:1px solid #C3C3C3;
}
#sidebar .block p {
    padding:4px;
    font-size:90%;
}
#sidebar ul {
    margin:0;
    padding:4px;
    font-size:90%;
}
#sidebar li {
    padding:1px;
}
#sidebar a, #sidebara:visited {
    color:#454545;
}

#img {
    border:1px solid #C3C3C3;    
    background:white;
    padding:5px;
}
#str{
    background:#c7c7c7;
    margin:12px -1px 12px 0;
    padding:3px;
}
#str a, #str a:visited {
    font-weight:bold;
    color:white;
    text-decoration:none;
}

a#meta, a#meta:visited {
    color:black;
}
.circleUl li {
    margin-left:14px;
    list-style:square ;
}
.photo {
    margin:6px;
}

.photo img {
    margin:6px;
    text-align:center;
}
#plain_tags {
    margin:15px;
}
#plain_tags h1, #plain_tags h2, #plain_tags h3, #plain_tags h4, #plain_tags h5, #plain_tags h6 {
   
    display:inline;
    padding:3px;
    font-weight:normal;
}
#plain_tags a, #plain_tags a:visited {
    text-decoration:none;
}
#spisok {
    margin:10px;
    margin-left:0;
}
#spisok li{
    margin:2px;
    padding:3px;
    border:1px solid silver;
    margin-left:0;
    font-size:11px;
}
.minimini {
    float:left;
    width:340px;
    height:130px;
    padding:15px;
    padding-bottom:5px;
}
.minimini p {
    padding:5px 10px 5px 10px;    
}
#header {
    width:958px;
    margin:0px auto 0 auto;
}
#header {
    padding-top:12px;
}
#header li {
    float:left;
    width:105px;
    text-align:center;

}
#header a {
    text-decoration:none;
}
#afisha_table {
    margin:8px;
}
.afisha_td_1,.afisha_td_2 {
    padding:2px;
    padding-top:0;
    margin:0;
}

.afisha_td_1 {
    width:140px;
}
.afisha_td_2 {
padding-left:14px;
color:#989898

}

#afisha_table .afisha_td_2 b{
    text-decoration:underline;
    font-weight:bold;
    color:#218023;
}
.help {
    border:1px solid #c3c3c3;
    bakcground:white;
    padding:12px;
}
#img div, #img div a {
    float:left;
    padding:3px;
}
#img div {
    border:1px solid silver;
    margin:3px;
}
.green,.red {
    font-weight:bold;
}
.green {
    color:#73A900;
}
.red {
    color:red;
}
#bloglist td{
    padding:2px;
    border-bottom:1px solid silver;
    font-size:11px;
}
.one_af {
    margin-top:12px;

}
.one_af form {
    margin:0 11px 0 11px;
    padding:0;
    text-align:right;
}
.one_af input {
    width:680px;
}
.one_af .button {
    width:78px;
}
.one_af ul {
    float:left;
    width:660px;  
    margin-top:1px;  
}
.one_af .info {
    float:right;
    width:68px;
    font-size:11px;
    padding:12px 12px 0px 5px;
    padding-left:0;
    text-align:right;
}
.one_af .punkt {
    margin:0 11px 0 11px;
    font-size:11px;
    padding:1px 0px 1px 0px;
    
    border-bottom:1px solid #eaeaea;    
}

.chat_link {
    text-decoration:none;
    position:relative;
}
.padding {
    padding:10px;
}
.voting {
    margin:5px;
    margin-left:50px;
}
.voting td {
    padding:0px 10px 0px 10px;
    text-align:center;
    border-bottom:1px solid #ddd;
}
.voting input {
    width:80px;
}
.voting .button {
    margin:3px;
    margin-right:50px;
    background:#eee;
}
.voting  .voteto {
    width:12px;    
    background:#eee;
}
.helpToVote {
    right:20px;
    top:0;
    position:absolute;
    text-decoration:underline;
}

#ui-datepicker-div {
    background:white;
    border:1px dotted silver;
}
.ui-datepicker {
        padding:6px 20px 6px 20px;        
}
.ui-datepicker-days-row td , .ui-datepicker-title-row td{
    border:1px solid #EEE;
    text-align:center;
    padding:2px;
}
.ui-datepicker-title-row td {
    font-weight:bold;
    background: #E9E9E9;
}
.ui-datepicker-control, .ui-datepicker-links  {
    display:none;
}
.ui-datepicker-header {
    text-align:center;
}
#ui-datepicker-div a, .ui-datepicker-inline a {
  cursor: pointer;
}
#sidebar .block li {
    border-bottom:1px solid #ddd;
    text-align:center;
    padding:4px;
}





#menu ul {
   margin: 0;
   padding: 0;
   list-style: none;
}

#menu li { /* all list items */
   float: left;
   position: relative;


}

#menu li ul {/* second-level lists */
   position: absolute;
   display: block;
   top: 0;
    left: 0;    
    margin-left:-1px;
    margin-top:0px ;

    border-right:1px solid #C3C3C3;

}
li.menuList1 { /* all list items */
   float: left;
   position: relative;
    z-index:2;
}

#menu li>ul {/* to override top and left in browsers other than IE */
   top: 0;
   left: 0;
}

#menu li ul li ul  {/* third-level lists */
   position: absolute;
   display: block;
   top: -1px;
    left: 158px;
    border-top:1px solid #C3C3C3;
    z-index:2;

}

/* Fix IE. Hide from IE Mac \*/
* html #menu ul li { float: left; height: 2%; }
* html #menu ul li a { height: 2%; }
/* End */

#menu li:hover ul { display: block; }

#menu li:hover>ul { visibility:visible; }

#menu ul ul { visibility:hidden; }

/* Make-up syles */
#menu ul, li {
    margin: 0 0 0 0;

}


/* Styles for Menu Items */
#menu ul a {
   display: block;
    background:#F7F7F7;
    
}
/* Hover Styles */
#menu ul a:hover {
}

/* Sub Menu Styles */
#menu li ul a {
    border-bottom:1px solid #C3C3C3;
    background:#F7F7F7;
   display: block;
}

/* Sub Menu Hover Styles */
#menu li ul a:hover {
    background: white;
}
.errors li{
    color:red;
    list-style:circle;
    margin-left:20px;
    font-size:10px;
}
.spisok li {
    margin-bottom:3px;
    padding-bottom:2px;
    border-bottom:1px solid #ddd;
}
.spisok li a {
    color:black;
    text-decoration:none;
}
.spisok li a:visited {
    color:#777;
    text-decoration:none;
}
.spisok .date {
    color:#aaa;
    font-size:10px;
}

.spisok .type {
    color:#666;
    font-size:10px;
}
.spisok .red {
    font-weight:normal;
    font-size:10px;
}

#mini_content {
    float:left;
    width:540px;

    margin:5px;
    padding:0;
}
#allPhotos img, #mini_content img{
    border:1px solid silver;
    padding:0;
    margin:0;
}
#allPhotos img:hover, #mini_content img:hover {
    border:1px solid black;
}
.manyNews {
    float:left;
    width:200px;
    margin:15px 5px 0px 5px;
    text-align:right;
}
#allPhotos {
    margin-top:10px;
    height:104px;
    margin-left:220px;
}
#allPhotos a:hover {
    background:none;
}
#allPhotos .maxImg {
    width:104px;
    height:78px;
}
#allPhotos .middleImg {
    width:80px;
    height:60px;
    margin-bottom:10px
}
#allPhotos .miniImg {
    width:60px;
    height:45px;
    margin-bottom:20px
}
#allPhotos .strelka, #allPhotos .strelka:hover {
    margin-bottom:5px;
    border:0;
}
.gal_one {
    float:left;
    width:240px;
    margin-right:7px;
    margin-left:7px;
    height:230px;
}
#files_list input {
    width:30px;
    margin-left:10px;
    font-size:8px;
 
}
#files_list div {
    border-bottom:1px solid silver;
    padding:2px;
}
#forum {
    margin-top:12px;
	border-collapse:collapse;
    background:#F7F7F7;   
	width:100%;
	border:1px solid silver;
}
#forum td{
	border:1px solid #DDD;
	padding:10px;
	border-left:0;
	border-top:0;
}
#forum tr:hover {
	background:#C4FF8F;
}
#forum h1 {
	font-size:100%;
	font-weight:normal;

}
.miniRed {
	font-size:9px;
	color:red;
}
.pages a, .pages a:visited {
	margin:0px 4px 0px 4px;	
}
.mini {
	font-size:9px;
	color:silver;
}
.com_text p {
	padding:6px 15px 6px 15px;
	margin:0;
}
