blockquote {
	background: #F8F8F8;
	border-left: #B5B5B5 2px solid;
	padding: 10px;
	margin: 15px 15px 15px 25px;
  margin: 0;
}

input {
  z-index: -50;
}

select {
  z-index: -50;
}

textarea
{
  z-index: -50;
}

/**
 * FEEDBACK
 */
div#feedback {
	background: #cf4ee2;
	padding: 5px;
	color: #fff;
}

	div#feedback a {
		color: #fff;
		text-decoration: none;
		border-bottom: #fff 1px dashed;
	}

/**
 * Header
 */
div#header {
  /*height: 70px;*/
  height: auto;
	margin: 0px 10px 20px 10px;
  text-align: center;
  padding-left: 10%;
  padding-right: 10%;
}
	div#logo {
		float: left;
		width: 315px;
	}
	
	div#userbar {
		margin-left: 315px;
		text-align: right;
		height: 70px;
		overflow: visible;
	}

	div#guestbar {
		margin-left: 315px;
		text-align: right;
    height: auto;
		overflow: visible;
	}
	
		div#userbar div.form {
			padding-top: 25px;
		}
		
			div#userbar div.form form input.inpt {
				width: 100px;
			}
			
		div#userbar table.controls {
      height: 70px;
      /*height: auto;*/
			text-align: left;
			float: right;
		}
		
			div#userbar table.controls td {
				padding: 0px 10px;
				vertical-align: middle;
				text-align: center;
			}
			
			div#userbar table.controls td.name {
				padding-right: 0px;
			}
			
				div#userbar table.controls td.avatar a.image img {
					border: #B5B5B5 1px solid;
					background: #fff;
					padding: 3px;
				}
				
				div#userbar table.controls td.avatar a.name {
				
				}
				
			div#userbar table.controls td.write {
				background: url("../images/write.png") center 10px no-repeat;
				padding-top: 20px;
			}
			
			div#userbar table.controls td.mail {
				background: url("../images/mail.png") center 10px no-repeat;
				padding-top: 20px;
			}
			
			div#userbar table.controls td.settings {
				background: url("../images/settings.png") center 10px no-repeat;
				padding-top: 20px;
			}
			
			div#userbar table.controls td.exit {
				padding-top: 20px;
			}

/**
 * Menu
 */
div#submenu {
	margin-top: 0.3em;
  width: 78%;
  margin-left: 11%;
  margin-right: 11%;
}
 
ul#menu {
  margin: 0;
	padding: 0px;
	height: 32px;
	background: url("../images/new/menu-bg.png") repeat-x;
	list-style: none;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-left: 0;
  border-top: 1px solid #A0A0A0;
  border-bottom: 0;
  border-collapse: collapse;
}
	
	ul#menu li.r {
		float: right;
		background: url("../images/new/menu-bg.png") no-repeat;
		width: 1px;
		height: 32px;
    margin: 0; overflow: hidden;
	}
	
	ul#menu li.l {
		float: left;
		background: url("../images/new/menu-bg.png") no-repeat;
		width: 10%;
		height: 32px;
    border-left: 0;
    border-top: 0;
    border-bottom: 0;
    border-collapse: collapse;
    margin: 0; overflow: hidden;
	}
	
	ul#menu li.item {
		float: left;
		margin: 0px;
		padding: 0px 8px 0px 8px;
		height: 32px;
    border-left: 1px solid #A0A0A0;
    border-top: 0;
    border-bottom: 0;
    border-collapse: collapse;
    padding-left: 1.5em;
    padding-right: 1.5em;
    overflow: hidden;
	}
	
	ul#menu li.selected {
		background: url("../images/new/menu-bg-active.png") repeat-x;
    margin: 0; overflow: hidden;
	}
	
		ul#menu li.item a {
			margin-top: 5px;
			display: block;
			color: #fff;
			text-decoration: none;
		}
		
		ul#menu li.item span {
			margin-top: 5px;
			display: block;
			color: #bebebe;
		}
 
 
 
 
div.system_message {
	margin: 20px 0px;
	padding: 10px;
	background: #e0f4a2;
	border: #b8d55f 1px solid;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

div.system_error {
	margin: 20px 0px;
	padding: 10px;
	background: #ffb2a3;
	border: #f84f2e 1px solid;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

div.simple_message {
	margin-bottom: 20px;
	padding: 10px;
	background: #F2F2F2;
	border: #B5B5B5 1px solid;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

/**
 * Wrappers
 */

div.wrapper {
  margin-top: 1.5em;
  text-align: center;
  display: block;
  width: 100%;
}

table.wrapper {
  display: inline;
  text-align: left;
  width: auto;
}

td.wrapper {
  padding: 1em;
  background-color: #F8F8F8;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	/*overflow: hidden;  */
}
 
div.block {
  padding: 0;
  margin: 0;
  float: left;
  width: auto;
  text-align: left;
  display: inline;
  padding-left: 2em;
  padding-right: 2em;  
}

div.wrapper2 {
  margin-top: 1.5em;
  padding: 1em;
  text-align: center;
  margin-left: 75px;
  margin-right: 75px;
  /*width: 77%;*/
  background-color: #F8F8F8;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	/*overflow: hidden;  */
}

/**
 * Footer
 */
div#footer {
  padding: 0.5em;
  margin: 0;
  margin-top: 1em;
  clear: both;
	background: #f1f1f1;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	/*overflow: hidden;*/
  text-align: center;
  /*
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  */
  margin-left: 10%;
  margin-right: 12%;
  width: 78%;  
}

	div#footer a {
		text-decoration: none;
	}
	
	div#footer div.address {
		margin-left: 600px;
	}
	
	div#footer dl {
		width: 200px;
		float: left;
	}
	
		div#footer dl dt {
			margin-bottom: 10px;
			color: #2c2c2c;
		}
		
		div#footer dl dd {
			margin-bottom: 5px;
		}

/* Всякие штуки для страниц */
.reg_field
{
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  text-align: left;
}

table.stat {
  text-align: left;
  display: inline;
  text-align: left;
  width: auto;  
}

table.stat th {
  background-color: #E0E0E0;
  padding: 0.3em;
}

table.stat td {
  background-color: #F3F3F3;
  padding: 0.3em;
}

table.stat td.odd {
  background-color: #EAEAEA;
  padding: 0.3em;
}

table.stat td.points_campaign {
  background-color: #E3E3FF;
  padding: 0.3em;
}

table.stat td.points_campaign_odd {
  background-color: #E3E3FF; /* #DADAF0; */
  padding: 0.3em;
}



table.fields {
}

table.fields td {
  padding-bottom: 1em;
}

/* ul an li */
/*
ol {
  margin: 0.5em 0 1.8em 2.4em;
}
ul, quote, code, fieldset {
  margin: .5em 0;
}
ul {
  margin: 0.5em 0 1em;
  padding: 0;
}
ul li {
  margin: 0.4em 0 0.4em .5em;
}
ul.menu, .item-list ul {
  margin: 0.35em 0 0 -0.5em;
  padding: 0;
}
ul.menu ul, .item-list ul ul {
  margin-left: 0em;
}
ul li, ul.menu li, .item-list ul li, li.leaf {
  margin: 0.15em 0 0.15em .5em;
}
*/
ul  li.leaf {
  padding: 20px 0 30px 3em;
  list-style-type: none;
  list-style-image: none;
  background: transparent url(../images/menu-leaf.gif) no-repeat 0 .35em;
  margin-bottom: 5px;
}
ul  li.sep {
  padding: 0;
  list-style-type: none;
  list-style-image: none;
  height: 1px;
  border-bottom: 1px dashed gray;
}
ul li.expanded {
  background: transparent url(../images/menu-expanded.gif) no-repeat 0 .35em;
}
ul li.collapsed {
  background: transparent url(../images/menu-collapsed.gif) no-repeat 0 .35em;
}
/*
ul li.leaf a, ul li.expanded a, ul li.collapsed a {
  display: block;
}
ul.inline li {
  background: none;
  margin: 0;
  padding: 0 1em 0 0;
}
*/


/*
 * Dropdown list
 */

ul.dropdown {
margin: 0;
list-style-type: none;
padding: 0;
margin-left: 3em;
}

ul.dropdown li {
margin: 0;
cursor: pointer;
margin-bottom: 0.3em;
list-style-image: url('../images/menu-collapsed.gif');
padding: 0;
padding-left: 0.3em;
}

ul.dropdown li ul {
margin: 0;
display: none;
cursor: default;
margin-top: 0.3em;
padding: 0;
list-style-type: none;
list-style-image: none;
}

ul.dropdown li ul li {
margin: 0;
list-style-type: none;
list-style-image: none;
cursor: default;
padding: 0;
}

div.slidable {
  display: none;
  cursor: default;
  padding-top: 0.5em;
}
