/* Resetting */
html,body,
div,span,
object,
h1,h2,h3,h4,h5,h6,p,
blockquote,pre,abbr,acronym,address,code,dfn,kbd,
a,b,i,big,small,cite,del,ins,em,strong,sub,sup,q,var,
img,samp,
dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
}
body {
	line-height:1;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img {
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul,li {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-weight:normal;
}
blockquote, q {
	quotes:none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content:'';
	content:none;
}
sup {
	vertical-align:text-top;
	font-size: 0.75em;
}
sub {
	vertical-align:text-bottom;
}
abbr {
	border:0;
	font-variant:normal;
}
input,textarea,select {
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
	margin:0;
	padding:0;
}
input,textarea,select {
	*font-size:100%;
}
:focus {
	outline: 0;
}
ins {
	text-decoration:none;
}
del {
	text-decoration:line-through;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
hr {
	border-width:0;
	height:0;
	margin:0;
	padding:0;
}

/* Color Picker Style */
.farbtastic {
  position: relative;
}
.farbtastic * {
  position: absolute;
  cursor: crosshair;
}
.farbtastic {
  width: 195px;
  height: 195px;
}
.farbtastic .color, .farbtastic .overlay {
  top: 47px;
  left: 47px;
  width: 101px;
  height: 101px;
}
.farbtastic .wheel {
  background: url('/styling/images/farbtastic/wheel.png') no-repeat;
  display: block;
  width: 195px;
  height: 195px;
}
.farbtastic .overlay {
  background: url('/styling/images/farbtastic/mask.png') no-repeat;
}
.farbtastic .marker {
  width: 17px;
  height: 17px;
  margin: -8px 0 0 -8px;
  overflow: hidden; 
  background: url('/styling/images/farbtastic/marker.png') no-repeat;
}
.colorwell {
	font-size: 0.8125em;
	padding: 0.154em 0.31em;
}
.colorwell-selected {}

/* --- Typography --- */
/* -------------------*/
html {
	font-size:100.01%;
}
body {
	font-size:1em;
	font-family:Arial,Helvetica,Sans-Serif;
}
h1,h2,h3,h4,h5,h6 {
	font-family:Trebuchet MS,Arial,Helvetica,Sans-Serif;
}
p {
	font-size: 1em;
	line-height: 1.25em;
}
input,select,textarea {
	font-family:Arial,Helvetica,Sans-Serif;
}
a:link {
	color:blue;
}
a:hover,a:active {
	color:red;
}
a:visited {
	color:purple;
}
/* Some VERY generic styles */
.break {
	clear:both;
	display:block;
	height:1em;
}
.clear {
	clear:both;
	display:block;
	height:0;
	line-height:0;
	font-size:0;
}
.deleted {
	text-decoration: line-through;
}
.footnote {
	text-align: right;
}

/* Buddyicons */
.img_buddyicon_small {
	width:2em;
	height:2em;
	border-width:0.125em;
	border-style:solid;
}
.img_buddyicon_medium {
	width:4em;
	height:4em;
	border-width:0.25em;
	border-style:solid;
}
.img_buddyicon_large {
	width:8em;
	height:8em;
	border-width:0.5em;
	border-style:solid;
}


/* Layout */
html {
	height:100%;
}
body {
	height:100%;
	background:url('/styling/images/bg.gif') repeat-x;
}
#wrapper {
	width: 42em;
	margin:-0.0625em auto 0 auto;
	padding:0.0625em 0 0 0;
	min-height:100%;
	_height:100%;
	background:#fff;
}
#header {
	//display:inline-block;
}
#header:after {
	content:'';
	clear:both;
	display:block;
}
#body {
	margin:1em auto;
	padding:0 0 3em 0;
	//display:inline-block;
}
#body:after {
	content:'';
	display: block;
	clear: both;
}
#primary {
	width: 28em;
	margin: 0 0 0 1em;
	float: left;
	_display:inline;
}
#only {
	width: 40em;
	margin: 0 1em;
	float: none;
}
#secondary {
	width: 11em;
	margin: 0 1em;
	float: left;
	_display:inline;
}
#footer {
	width:42em;
	height:2em;
	margin:-3em auto 0 auto;
}

/* Search Form */
#searchform {
	float:right;
	_width:218px;
	margin:1em 1em 0.5em 1em;
}
#searchform {
	_width:180px;
	_margin-left:0;
	_margin-right:0;
	_padding-left:0;
	_padding-right:0;
}
#searchform label { 
	color:#999; 
	display:none; 
}
#searchform input { 
	width:180px;
	height:16px;
	color:#222; 
}
#searchform #submitquery {
	display:none; 
}



/* --- What's in header --- */
h1 {
	float:left;
	margin:0.6875em 1em 0.125em 1em;
	display:block;
	_display:inline;
	width:163px;
	height:43px;
	background:url('/styling/images/logo.png') no-repeat;
	_background-image:none;
	_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/styling/images/logo.png',sizingMethod='crop');
	text-indent:-9999px;
}
.navigation {
	float:none;
	clear:both;
	margin:0.625em 1em 0.375em 1em;
	//display:inline-block;
}
.navigation:after {
	content:'';
	clear:both;
	display:block;
}
.navigation ul {
	float:right;
	//display:inline-block;
}
.navigation ul:after {
	content:'';
	clear:both;
	display: block;
}
.navigation li {
	display:block;
	float:left;
	font-size:0.875em;
	font-family:Arial, Helvetica, sans-serif;
	padding:0 0.57em;
}
.navigation li a {
	display:block;
	text-decoration:none;
	padding-bottom: 0.144em;
	border-bottom-width: 0.072em;
	border-bottom-style: solid;
}


/* -- What's in footer --- */
.menu {
	float: left;
	font-size:0.75em;
	margin:0.67em 1.34em;
}
.copyright {
	float:right;
	font-size:0.75em;
	margin:0.67em 1.34em;
}


/* --- Body ---- */


/* --- Displaying single post */
.postfilter {
	float: right;
	padding: 0 0.5em 0 1.5em;
	margin: 0.5em 0;
	
}
#only .post { width: 40em;}
.primary .post {
	width:28em;
}
.two_col .post {
	width: 14em;
	float: left;
}
.post:after {
	content:'';
	clear:both;
	display:block;
}
.post .buddyicon {
	padding: 0.5em 0.25em 0 0.5em;
	float: left;
}
.post .content {
	padding: 0.5em 0.5em 0em 0.75em;
	float:left;
}
.post.micro {
    background: transparent!important;    
    }
.post.micro .content {
    float: none;
    padding: 0.25em 0.5em 0 0.5em;
}
.post.micro .content p {
    padding: 0;
    }
.small .buddyicon {
	width:2.25em;
	height: 2.25em;
}
.small .content {
	width:23.75em;
}
#only .small .content {
	width: 35.75em;
}
.two_col .small .content {
	padding: 0.5em 0.5em 0 0.25em;
	width: 10.25em;
}
.medium .buddyicon {
	width:4.5em;
	height:4.5em;
}
.post.medium .content {
	width:21.5em;
}

.post .content .recipient {
	display:block;
	float:right;
	background:url('/styling/images/50_overlay.png') repeat;
	_background-image:none;
	_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/styling/images/50_overlay.png',sizingMethod='scale');
	margin:-0.5em 0 0.25em 0.5em; 
	padding:0 0.5em 0.25em 0.5em;
	//padding: 0.25em 0.5em;
	border-width: 0.0625em;
	border-style: solid;
	border-top-width: 0;
	min-width: 2.5em;
	max-width: 5em;
	text-align: center;
	overflow: hidden;
	_position:static;
}
.post .content .recipient span {
	font-size: 0.6875em;
	font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
	white-space: nowrap;
}
.post .content .recipient span a {
	text-decoration: none;
	font-weight: bold;
	_position:relative;
}
.post .content .purpose {
	display: block;
	padding: 0 0 0.25em 2em;
	margin:0;
	text-indent:-2em;
}
.post.micro .content .purpose {
    padding: 0 0 0.25em 0;
    text-indent: 0;
}
.post .content .purpose span {
	font-size:0.75em;
	line-height:1.25em;
}

.post.medium .content p {
	font-size:0.8125em;
	margin: 0.3em 0 0 0;
}
.post.small .content p {
	font-size: 0.75em;
	margin: 0.34em 0 0 0;
}
.post .info {
	clear: both;
	margin: 0 0.5em;
	padding: 0 0 0.5em 0;
	//padding: 0.25em 0 0.5em 0;
	text-align: right;
}
.post .info ul li {
	font-size: 0.75em;
	display: inline;
	padding:0 0 0 0.33em;
	border-width:0;
}
.two_col .post .info ul li {
	white-space: nowrap;
}



/* --- Displaying post lists --- */
.postlist {
	clear: both;
}
.postlist li {
	margin: 0 0 0.5em 0; 
}
.postlist.small li,
.postlist.micro li {
	margin: 0;
	border-top-width: 0.0625em;
	border-top-style: solid;
}
.postlist.micro li {
    padding: 0 0 0.25em 0;
    }
.postlist li:last-child {
	border-bottom-width: 0;
}


/* --- Form --- */
.form {
	padding: 0.5em 0;
	//display: inline-block;
}
.form:after {
	content: '';
	clear:both;
	display:block;
}
.form h2 {
	padding: 0.5em;
}
.form fieldset {
	margin: 0.5em;
}
.form fieldset ul li {
	margin: 0.25em;
}
.form fieldset ul li input,
.form fieldset ul li label,
.form fieldset ul li span.label {
	margin: 0.125em 0;
}
.form fieldset ul li.submit {
	margin: 0.5em 0.25em 0.25em 0.25em;
	text-align: center;
}
.form .labeled label {
	display: block;
}
.form p {
	font-size: 0.8125em;
	padding: 0.31em 0.62em;
}
.i-textarea {
	width: 100%;
	padding: 0.31em;
	font-size: 0.8125em;
	resize: none;
}
.i-text {
	font-size: 0.8125em;
	padding: 0.154em 0.31em;
}
.i-select {
	font-size: 0.8125em;
}
.i-file {
	font-size: 0.8125em;
	padding: 0.154em 0.31em;
}
.i-select optgroup {
	font-weight: bold;
	font-style: normal;
	margin-left: 0.31em;
	background:#fff;
}
.i-submit {
	font-size: 0.8125em;
}
.i-button {
	font-size: 0.8125em;
}
label span,
span.label {
	font-size: 0.8125em;
}

fieldset.input_group,
fieldset.radio_group {
	margin: 0 1em;
	padding:0;
}
fieldset.input_group ul li,
fieldset.radio_group ul li{
	float:left;
	margin: 0.25em 1em 0.25em 0;
}
.form .buddyicon {
	width:9em;
	height:9em;
	padding: 0.5em 0.25em 0em 0.5em;
	float:left;
}


/* --- Pagination --- */
.pagination span {
	font-size: 0.75em;
	width: 50%;
	display: block;
}
.pagination .next {
	float: right;
	text-align: right;
}
.pagination .previous {
	float: left;
	text-align: left;
}


/* --- Bookmark Menu --- */
.bookmark_menu {
	border-bottom-width: 0.0625em;
	border-bottom-style: solid;
    display: block;
    //display: inline-block;
	margin: 0 0 0.5em 0;
}
.bookmark_menu:after {
	content:'';
	display: block;
	clear: both;
}
.bookmark_menu ul {
	float: right;
	padding: 0 0.5em;
}
.bookmark_menu ul li span {
	font-family: Trebuchet MS, Arial, Helvetica, Sans-Serif;
	font-size: 0.75em;
} 
.bookmark_menu ul li {
	float: left;
	display: block;
	margin: 1em 0 -0.0625em 0.0625em;
	padding: 0 1em;
	border-bottom-width: 0.0625em;
	border-bottom-style: solid;
	max-width: 5em;
	overflow: hidden;
}
.bookmark_menu ul li:hover {
	background:url('/styling/images/50_overlay.png') repeat;
}
.bookmark_menu ul li a:link,
.bookmark_menu ul li a:visited {
	display: block;
	text-decoration: none;
	font-weight: bold;
	padding: 0.5625em 0 0.5em 0;
	//padding-top: 0.8125em;
	max-width: 5em;
	overflow:hidden;
}
.bookmark_menu ul li.current {
	margin-top: 0.75em;
	padding: 0.9375em 1em 0.5625em 1em;
	border-width: 0.0625em;
	border-style: solid;
	_position:relative;
}
.bookmark_menu ul li.current span {
	display: block;
	font-weight: bold;
	max-width: 6.67em;
	overflow:hidden;
}


/* --- Profile --- */
.profile {
	width: 28em;
	//display:inline-block;
}
.panel_small .profile {
	width: 10em;
	margin: 0.5em;
	padding-bottom: 0.75em;
}
.profile:after {
	content:'';
	display: block;
	clear: both;
}
.profile .buddyicon {
	width:9em;
	height:9em;
	padding: 0.5em 0.25em 0em 0.5em;
	float:left;
}
.profile .usermanage {
	width:9em;
	padding: 0.5em 0.25em;
	float:left;
}
#secondary .usermanage {
	width:9em;
	padding:0.5em 0.25em 0.5em 0.75em;
	float: none;
}
.usermanage ul {
	margin-left:2em;
}
#secondary .usermanage ul {
	margin-left:1.5em;
}
.usermanage ul li span {
	font-size: 0.75em;
}
.panel_small .profile .buddyicon {
	padding: 1em 0.5em 0 0.5em;
	float: none;
}
.profile .buddyicon img {
	width:8em;
	height:8em;
	border-width:0.5em;
	border-style:solid;	
}
.profile .content {
	width: 17em;
	float: right;
	padding: 0.5em 0.5em 1em 0.75em;
}
.profile .content .fn.n {
	padding: 1em 0 0.25em 0;
	font-family: Georgia, Times New Roman, Times, Serif;
}
.profile .content .fn.n span {
	font-size:1.5em;
}
.panel_small .profile .personal_info {
	float: none;
	text-align: center;
}
.personal_info .fn.n span,
.personal_info .nickname {
	font-family: Georgia, Times New Roman, Times, Serif;
	font-size: 1.25em;
}
.age_info {
	font-size: 0.85em;	
}
.profile blockquote {
	margin: 0.5em 1.25em;
	line-height: 0.75em;
	position: relative;
	width: auto;
}
.profile blockquote p {
	padding: 0.294em 0;
	font-size: 0.85em;
	line-height: 1.176em;
	_position:relative;
	_display:inline;
}
.profile blockquote span.quotes {
	font-size: 2em;
	line-height: 1em;
	font-family: Georgia, Times New Roman, Times, Serif;
	position: absolute;
}
.profile blockquote .laquo {
	top: -0.25em;
	left: -0.78125em;
}
.profile blockquote .raquo {
	bottom: -0.25em;
	right: -0.78125em;
	_bottom:auto;
	_right:auto;
	_margin-left:100%;
	_left:-2.28125em;
}
#secondary .profile blockquote .raquo {
	_left:-1.78125em;
}
.profile .age_info,
.profile .location_info {
	padding: 0.25em 1em;
}
.profile .age_info span,
.profile .location_info span {
	font-size: 0.875em;
}


.panel_large h2 {
	padding: 1em 0.5em 0.5em 0.5em;
}
.panel_large p {
	font-size: 0.8125em;
	padding: 0.31em 0.62em;
}
.panel_small h2 {
	padding: 1em 0.5em 0.5em 0.5em;
}
.panel_small p {
	font-size: 0.75em;
	padding: 0 0.67em 0.67em 0.67em;
}
.system_message {
	padding: 1em 1.5em;
}
.system_message p {
	font-size: 0.8125em;
}

/* Userlist */
#primary .userlist {
	margin: 0 0.25em;
}
#secondary .userlist {
	margin: 0 0.5em 0.25em 0.5em;
	_margin:0 0.25em 0.25em 0.25em;
}
.userlist {
	//display:inline-block;
}
.userlist:after {
	content:'';
	display: block;
	clear: both;
}
.userlist li {
	display: block;
	width: 2.25em;
	height: 2.25em;
	margin:0.125em;
	float: left;
}
.caption li {
	text-align: center;
	margin: 0.25em 0.125em;
	height: 3em;
}
.caption li span {
	display: block;
	font-size: 0.6875em;
	text-align: right;
	padding: 0 0.25em;
}


.text h2 {
	font-size: 1em;
	margin: 1em 0 0 0;
}
.text h3 {
	font-size: 0.9375em;
	margin: 1.07em 0 0 0;
}
.text p {
	font-size: 0.8125em;
	line-height:1.25em;
	margin: 0.62em 0 1.23em 0;
}
.text ul li {
	font-size: 0.8125em;
	margin: 0.31em 0 0 0;
	line-height:1.25em;
}


.listmenu li span {
	font-size:0.75em;
}
.listmenu li ul {
	margin:0.25em 0 0.25em 1em;
}

/* Settings navigation */
#settings-navigation li {
	padding: 0.25em 0.5em;
	border: 0.0625em solid #fff;
}
#settings-navigation li a {
	text-decoration: none;
}
#settings-navigation li span {
	font-size: 0.8125em;
}
#settings-navigation li.current {
	border-width: 0.0625em;
	border-style: solid;
	border-left-color: #fff!important;
}

/* --- Colors --- */

/* Color Stat

	Main color: #e7f3ff;
	Secondary Color: #D8DAFF;
	Text-color: #333333;
	Hyperlink Color: #4D6680; или 2E3D4D
	Hyperlink Hover Color: 8D4E63;
	Hyperlink Visited Color: #56708D;
*/

body {
	color: #333333;
}
a:link {
	color:#4D6680;
}
a:visited {
	color:#56708D;
}
a:hover, a:active {
	color: #8D4E63;
}
a.userlink:link,
a.userlink:visited {
	color:#4d6680;
}
a.userlink:hover,
a.userlink:active {
	color: #8d4e63;
}
a.actionlink:link,
a.actionlink:visited {
	color:#4d6680;
}
a.actionlink:hover,
a.actionlink:active {
	color: #8d4e63;
}
h1 {
	background-color: #4D6680;
}
.postlist li {
	border-color: #d8daff;
}
.panel_large,
#idLastComments {
	background-color: #E7F3FF;	
}
.post {
	background-color: #E7F3FF;
}
.post .recipient {
	border-color: #d8daff;
}
#primary .profile {
	background-color: #E7F3FF;
}
.bookmark_menu {
	border-bottom-color: #d8daff;
}
.bookmark_menu ul li {
	border-color:#ffffff;
	border-bottom-color:#d8daff;
}
.bookmark_menu ul li:hover {
	background-color:#d8daff;
}
.bookmark_menu ul li.current {
	border-color: #d8daff;
	border-bottom-color: #ffffff;
	background: #ffffff;	
}
.form {
	background-color: #E7F3FF;
}
.system_message {
	background-color: #E7F3FF;
}

.img_buddyicon_small,
.img_buddyicon_medium,
.img_buddyicon_large,
.photo {
	border-color: #4D6680;
}
.panel_small {
	background-color: #d8daff;
}

#settings-navigation li {
	border-left-color: #d8daff;
}
#settings-navigation li.current {
	border-color: #d8daff;
}
.postlist.small li,
.postlist.micro li {
	border-top-color: #d8daff;
}

/*  Graphic Links */
a.graphic:link, a.graphic:visited, a.graphic:hover, a.graphic:active { color: #333; text-decoration: none;}
a.reply { background: url('/styling/icons/reply.png') no-repeat; width: 16px; height: 16px; text-indent: -9999px; display: inline-block; vertical-align: middle;}
a.reply span {display: none;}
a.comments { background: url('/styling/icons/comments.png') no-repeat left; padding-left: 18px; height: 16px; display: inline-block; vertical-align: middle;}
a.delete { background: url('/styling/icons/delete.png') no-repeat left; width: 16px; height: 16px; display: inline-block; vertical-align: middle;}
a.delete span { display: none;}



/* New messages style */
.notelist { border-top: 1px solid #d8daff;}
.notelist li { border-bottom: 1px solid #d8daff; padding: 0.25em 0.5em;}
.note { overflow: hidden;}
.note span { font-size: 0.75em;}