body {
	background-color: #b6b1ae;
	font-family: Verdana, "Lucida Grande", Lucida, sans-serif;
	font-size: 10px;
	margin: 8px 0 0 0; /* dmitry */
	padding: 0;
}
p {
	font-size: 12px;
}
hr {
	width: 740px;
}
a img {
	border: none;	
}
#controllerContent a:hover {
	text-decoration: underline;
}
a {
	color: #1f4473;
	text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.padding {
	padding: 10px;
}

#dynamicWindow {
    min-height:400px;
}

#controllerContent {
	width:808px;   /*dmitry*/
	float: left;   /*dmitry*/
}

#footer {
	background-color: #e5e0db;
	height: 30px;
	width: 800px;
	margin-top: 20px;
	border: 1px solid #000;
}
#sidebar_ad {
	background-color: white;
	height: 700px;
}

/* @group profile */
.profile_bg #profile_bg{
	height: 981px;
	width: 100%;
	min-width: 1010px;
	top: 0;
	left: -50px;
	position: absolute;
	z-index: -9;
	text-align: center;
	background: url(/img/profilside_bg.jpeg) no-repeat center;
}
.profile_bg #profile_left_bg {
	height: 981px;
	top: 0;
	background: url(/img/profilside_bg_left.jpg) repeat-x;
	left: 0;
	position: absolute;	

	width: 50%;
	z-index: -10;
}
.profile_bg #profile_right_bg {
	height: 981px;
	background: url(/img/profilside_bg_right.jpg) repeat-x;
	top: 0;
	right: 0;
	position: absolute;	
	width: 50%;
	z-index: -10;
}
.profile_bg #profile_bottom_bg {
	background-color: #af9a94;
	height: 1300px;
	top: 0;
	left: 0;
	position: absolute;	
	width: 100%;
	z-index: -11;
}

#profile_avatar {
	height: 120px;
	width: 100px;
	margin-top: 40px;
	margin-left: 60px;
	padding: 5px;
	float: left;

    line-height: 160px; /*dmitry*/
}

#profile_avatar a {
    display: block;
}


#profile_info {
	float: left;
	width: 240px;
	height: 120px;
	margin-top: 30px; /*dmitry*/
	margin-left: 42px;
	padding: 5px;
}
#profile_info h1 {
	font-size: 1em;
	padding-bottom: 5px;
	text-align: center;
	border-bottom: solid 1px black;
}
#profile_info p {
	font-size: 0.9em;
}
#profile_friends {
	float: left;
	width: 240px;
	height: 300px;
	margin-top: 45px;
	margin-left: 25px;
}
.profile_friends_banner {
	height: 20px;
	font-size: 0.7em;
	padding: 10px 10px 0px 10px; /*dmitry*/
}
#profile_friends h1 {
	padding: 0 33px 0 0px; /*dmitry*/
	margin: 0;
	text-align: right; /*dmitry*/
	/*float: left;*//*dmitry*/
}
#profile_friends h2 {
	padding: 0;
	margin: 0;
	float: right;
}
#profile_friends ul {
	margin-top: 0;
	list-style-type: none;
	padding-left: 4px;
	height: 108px;
	margin-bottom: 0;
/*    margin-left: 19px; *//*added dmitry commented by dmiry*/
}
#profile_friends ul li {
	float: left;
	margin: 8px 0px 0px 16px;/*dmitry*/
    width: 40px; /*dmitry*/
    height: 41px; /*dmitry*/
}
#profile_friends ul li a img {
	width: 40px;
}
#profile_my_wall {
	float: right;
	padding: 5px;
	width: 110px;
	height: 145px;
	text-align: center;
	margin-top: 40px;
	margin-right: 145px;
}
#profile_message {
	float: left;
	font-size: 1.4em;
	font-weight: bold;
	text-align: center;
	margin-left: 675px;
	margin-top: 50px;
	margin-bottom: 11px;
	height: 40px;
	width: 80px;
	padding: 5px;
}

#profile_text {
	height: 270px;
	width: 410px;
	float: left;
	margin-left: 20px;
	margin-top: 200px;
	position: absolute;
	padding: 25px;
}
#profile_text h2 {
	text-align: center;
	margin-top: 0;
	padding-bottom: 10px;
	text-align: center;
	border-bottom: solid 1px black;
}

#profile_wall {
	/*margin-top: 70px*/ /*Commented by Dmitry*/
}

/* @end */

/* @group login */

#login_box {
}
#right_content #login_box p {
	margin: 0;
}
#login_box .form_container {
	height: 15px;
	padding: 5px 0 5px 0;
}
#login_box label {
	display: block;
	float: left;
	width: 60px;
	margin:5px 0 5px 0;
}
#login_box input {
	float: left;
	width: 80px;
	background-color: lightgrey;
	border: black solid 1px;
	height: 15px;
}
#login_box input#login:hover, #login_box input#new_user:hover {
	background-color: black;
	color: white;
} 
#login_box input#login:active, #login_box input#new_user:active {
	color: black;
	background-color: white;
}
#login_box input#new_user {
	height: 25px;
}
#login_box input#login {
	background-color: #7fbdee;
	height: 20px;
}
#login_box input#password, #login_box input#username, #login_box input#new_user {
	width: 115px;
	margin: 0 5px 0 5px;
}
#login_box #rememberuser {
	width: 20px;
}
#login_box .form_container a {
	margin-left: 70px;
}
/* @end */

/* @group sidebar_nav */
/*#sidebar_navigation ul {
	background-color: #ddd;
	margin-top: 5px;
	margin-bottom: 5px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border: 1px solid #000;
	padding-left: 0;
	list-style-type: none;
	height: 35px;
}*/

#sidebar_navigation {
    background-color: #ddd;
    margin-top: 5px;
    margin-bottom: 5px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border: 1px solid #000;
    padding-left: 0;
    list-style-type: none;
  /*  height: 35px;*/
    width: 195px;
}

#sidebar_navigation ul {
	padding-left: 0;
    list-style-type: none;
    margin-top: 5px;
    margin-bottom: 5px;
	}
#sidebar_navigation ul li {
	float: left;
	padding: 10px 23px; /*This value changed  see under */
	font-size: 1.2em;
}

/* @end */

/* @group friendslist */
#sidebar {
	float: right;;
}
ul#friendslist {
	padding-left: 0;
	list-style-type: none;
	background-color: #ddd;
	border: 1px solid #000;
	margin-top: 0;
	padding-bottom: 10px;
	-moz-border-radius: 2px; 	-webkit-border-radius: 2px;
}
ul#friendslist hr {
	width: 195px;
	background-color: #b6b1ae;
	height: 5px;
	margin-left: -1px;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 1px solid #b6b1ae;
	border-right: 1px solid #b6b1ae;
}
ul#friendslist li.headline {
	font-size: 1.2em;
	margin: 10px;
	border-left: 1px solid #b6b1ae;
}
ul#friendslist li.subheadline {
	font-weight: bold;
	margin: 10px;
}
ul#friendslist li.friend {
	margin: 10px 0 10px 5px;
}
ul#friendslist li.friend span.username {
	font-size: 1.1em;
	margin-left: 10px;
}
ul#friendslist li.friend a:hover span {
	text-decoration: underline;
}


/* @end */

/* @group news */
.border {
	border: 1px solid #000;
}
#left_content {
 background-color: white;
}
#left_content img, #left_content h1, #left_content p,
#left_content h2 {
	margin: 10px;
}
#op_ed {
	background-color: white;
	margin-top: 5px;
}
#op_ed, #login_box {
    border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	border-left: 1px solid #000;
}
#op_ed img {
	margin: 3px;
}
#right_content {
}
#right_content h1,
#right_content h2 {
	margin: 3px;
}
#right_content p {
	margin: 5px 3px 0px 3px;
	padding-bottom: 5px;
}

#left_content h1 {
	font-size: 3em;
	line-height: 1.3em;
	margin-top: 0;
	margin-bottom: 0;
}
#left_content p {
	line-height: 1.5em;
	margin-top: 0;
	margin-bottom: 0;
}
.small_news {
	float: left;
	width: 178px;
}
.medium_news {
	float: left;
	width: 320px;
}
#left_content ul li {
	font-size: 12px;
	text-align: left;
}


/* @end */

/* @group signup */
form#signup {
	width: 350px;
	float: left;
}
#helptext {
	float: right;
	margin-right: 40px;
	padding-left: 15px;
}
#helptext.forename_helptext {
	background: url(/img/helptext_pointer.png) no-repeat 0 -215px;
}
#helptext.lastname_helptext {
	background: url(/img/helptext_pointer.png) no-repeat 0 -180px;
}
#helptext.email_helptext {
	background: url(/img/helptext_pointer.png) no-repeat 0 -150px;
}
#helptext.password_helptext {
	background: url(/img/helptext_pointer.png) no-repeat 0 -120px;
}
#helptext.sex_helptext {
	background: url(/img/helptext_pointer.png) no-repeat 0 -90px;
}
#helptext.date_helptext {
	background: url(/img/helptext_pointer.png) no-repeat 0 -55px;
}
#helptext #helptext_text {
	background-color: #ddd;
	width: 280px;
	border: 1px solid black;
	border-left: none;
	height: 230px;
	}
h3 {
	font-size: 12px; /*dmitry*/
}
.binder_bg h3, .binder_bg p {
	padding-left: 30px;
	text-align: left;
}
.binder_bg form#signup {
	margin-left: 100px;
}
.binder_bg form#signup label {
	display: block;
	float: left;
	width: 122px; /* dmitry changed from 100 */
	margin:5px 0 5px 0;
}
.binder_bg form#signup input {
	width: 200px;
	background-color: lightgrey;
	border: black solid 1px;
	height: 15px;
}
.binder_bg form#signup input#register {
	background-color: #4ff;
	height: 25px;
	margin-left: 100px;
	width: 150px;
}
.binder_bg form#signup p.select_box {
	margin-left: 100px;
}

/* @end */

/* @group Wall */
.wall_post {
	margin-left: 30px;
	margin-right: 30px;
}
.wall_post .wall_text {
	/*float: left;*/
	margin-left: 10px;
    padding-left: 40px !important;
	/*width: 650px;*/
	min-height: 50px;
}
.wall_post .wall_text h4 {
	float: left;
	font-size: 12px; /*dmitry*/
	margin-top: 5px;
}
.wall_post .wall_text p {
	/*margin-left: 100px;*/
	margin-top: 5px;
	margin-bottom: 5px;
}

.wall_post .wall_bottom {
	margin-left: 80px;
}

.wall_text h5 {
	font-size: 10px; /*dmitry*/
}
.wall_post .wall_bottom h5 {
	float: left;
	font-size: 10px; /*dmitry*/
	margin-top: 5px;
	margin-bottom: 10px;
	margin-right: 290px;
}
.wall_post .wall_bottom h5:nth-child(3) {
	margin-right: 0;
}
.wall_post .wall_bottom h5:nth-child(1) {
	font-weight: normal;
}
.wall_post .wall_bottom h5:nth-child(1) {
	margin-right: 35px;
}
.wall_post img {
	/* float: left;  */
}
.wall_post .wall_comment {
	background-color: lightgrey;
	height: 80px;
	width: 620px;
	margin-left: 100px;
	padding: 10px;
}
.wall_comment .wall_top {
	width: 520px;
}
.wall_post form {
	margin-left: 70px;
}
.wall_post form p {
	margin-top: 5px;
	margin-left: 30px;
	width: 630px;
	background-color: lightgrey;
	padding: 5px;
}
.wall_post form input {
	width: 624px;
	height: 20px;
	border: black solid 1px;
	padding: 2px;
}


/* @end */

/* @group binder_bg */

#binder_header {
	background: url(/img/binder_bg/top.png) no-repeat center 0;
	padding-top: 60px;
}
.binder_bg {
	background: url(/img/binder_bg/center.png) repeat-y center;
	padding-bottom: 0;
	text-align: center;
	padding-top: 1px;
}
.binder_bg h1 {
	background-color: #e5e0db;
	text-align: center;
	border: 1px solid #000;
	margin: 10px 30px;
	padding: 5px;
	font-size: 18px; /* dmitry */
}
.binder_bg img#binder_bottom {
	margin-bottom: -2px;
}
.binder_bg ul {
	padding: 0;
	margin: 0 30px;
	list-style-type: none;
}
.binder_bg ul li {
	margin-right: 14px;
	font-size: 1.3em;
	border: 1px solid #000;
	background-color: #e5e0db;
	padding: 5px 35px;
	float: left;
}
.binder_bg ul li:nth-child(5) {
	margin-right: 0;
	float: right;
}


/* @end */

/* @group 960 */

/*
	Variable Grid System.
	Learn more ~ http://www.spry-soft.com/grids/
	Based on 960 Grid System - http://960.gs/

	Licensed under GPL and MIT.
*/


/* Containers
----------------------------------------------------------------------------------------------------*/
.container_10 {
	margin-left: auto;
	margin-right: auto;
	width: 1010px;
}

/* Grid >> Global
----------------------------------------------------------------------------------------------------*/

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10 {
	display:inline;
	float: left;
	position: relative;
	margin-left: 3px;
	margin-right: 2px;
}

/* Grid >> Children (Alpha ~ First, Omega ~ Last)
----------------------------------------------------------------------------------------------------*/

.alpha {
	margin-left: 0;
}

.omega {
	margin-right: 0;
}

/* Grid >> 10 Columns
----------------------------------------------------------------------------------------------------*/

.container_10 .grid_1 {
	width:96px;
}

.container_10 .grid_2 {
	width:197px;
}

.container_10 .grid_3 {
	width:298px;
}

.container_10 .grid_4 {
	width:399px;
}

.container_10 .grid_5 {
	width:500px;
}

.container_10 .grid_6 {
	width:601px;
}

.container_10 .grid_7 {
	width:702px;
}

.container_10 .grid_8 {
	width:803px;
}

.container_10 .grid_9 {
	width:904px;
}

.container_10 .grid_10 {
	width:1005px;
}



/* Prefix Extra Space >> 10 Columns
----------------------------------------------------------------------------------------------------*/

.container_10 .prefix_1 {
	padding-left:101px;
}

.container_10 .prefix_2 {
	padding-left:202px;
}

.container_10 .prefix_3 {
	padding-left:303px;
}

.container_10 .prefix_4 {
	padding-left:404px;
}

.container_10 .prefix_5 {
	padding-left:505px;
}

.container_10 .prefix_6 {
	padding-left:606px;
}

.container_10 .prefix_7 {
	padding-left:707px;
}

.container_10 .prefix_8 {
	padding-left:808px;
}

.container_10 .prefix_9 {
	padding-left:909px;
}



/* Suffix Extra Space >> 10 Columns
----------------------------------------------------------------------------------------------------*/

.container_10 .suffix_1 {
	padding-right:101px;
}

.container_10 .suffix_2 {
	padding-right:202px;
}

.container_10 .suffix_3 {
	padding-right:303px;
}

.container_10 .suffix_4 {
	padding-right:404px;
}

.container_10 .suffix_5 {
	padding-right:505px;
}

.container_10 .suffix_6 {
	padding-right:606px;
}

.container_10 .suffix_7 {
	padding-right:707px;
}

.container_10 .suffix_8 {
	padding-right:808px;
}

.container_10 .suffix_9 {
	padding-right:909px;
}



/* Push Space >> 10 Columns
----------------------------------------------------------------------------------------------------*/

.container_10 .push_1 {
	left:101px;
}

.container_10 .push_2 {
	left:202px;
}

.container_10 .push_3 {
	left:303px;
}

.container_10 .push_4 {
	left:404px;
}

.container_10 .push_5 {
	left:505px;
}

.container_10 .push_6 {
	left:606px;
}

.container_10 .push_7 {
	left:707px;
}

.container_10 .push_8 {
	left:808px;
}

.container_10 .push_9 {
	left:909px;
}



/* Pull Space >> 10 Columns
----------------------------------------------------------------------------------------------------*/

.container_10 .pull_1 {
	left:-101px;
}

.container_10 .pull_2 {
	left:-202px;
}

.container_10 .pull_3 {
	left:-303px;
}

.container_10 .pull_4 {
	left:-404px;
}

.container_10 .pull_5 {
	left:-505px;
}

.container_10 .pull_6 {
	left:-606px;
}

.container_10 .pull_7 {
	left:-707px;
}

.container_10 .pull_8 {
	left:-808px;
}

.container_10 .pull_9 {
	left:-909px;
}




/* Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

/* http://sonspring.com/journal/clearing-floats */

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */

.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

/* @end */

/* @group mainmenu */

ul#main_menu {
	height: 90px;
	padding-left: 0;
	margin-top: 15px;
	margin-bottom: 0px;
    position: relative; /*DONT'*/
    display: block;
    z-index: 5;
}
/*ul#main_menu li h2 a:hover{
	background-color: #4ff;
}*/
ul#main_menu h2 {
	font-size: 12px;
	padding: 1px;
	margin-top: -2px;
}
ul#main_menu h1 {
	display: none;
}
ul#main_menu li {
	text-align: center;
	float: left;
	list-style-type: none;
	list-style-position: inside;
	margin: 0 6px 0 6px;
}
ul#main_menu li a img#logo {
	margin-top: -10px;
	}



/* @end */

/* @group users */

.users {
	background: url(/img/binder_bg/center.png) repeat-y center;
}
.users img#binder_bottom {
	margin-left: 7px;
	margin-bottom: -2px;
}
.users h1 {
	background-color: #e5e0db;
	text-align: center;
	border: 1px solid #000;
	margin: 10px 30px;
	padding: 5px;
}
.users ul {
	list-style-type: none;
	padding: 10px 50px;
}
.users ul li {
	background: url(/img/users_bg.png) no-repeat;
	padding: 20px;
	padding-top: 40px;
	width: 100px;
	float: left;
	height: 110px; /*dmitry*/
}
.users ul li h2 {
	margin: 2px;
	font-size: 1.3em;
	font-weight: normal;
}
.users ul li h3 {
	font-weight: normal;
	margin: 2px;
}
.users ul li img {
	padding-bottom: 30px;
}

/* @end */



/*************************************************************************************************/
/*************************************************************************************************/
/*************************************************************************************************/
/*************************************************************************************************/
/*  Dmitry's addons  */

#login_box h2 {
    margin: 3px 0;
}

#right_content #login_box {
    background: #fff;
    padding: 10px;
}
#login_box div.input, #login_box div.submit {
    /*clear: left;*/
    float: left;
    margin: 0 0 3px 0;
    padding: 0;
    /*position: relative;*/
}
#login_box div.submit input {
     margin-left:98px;
     background: #44FFFF;
}
#login_box .register_link{
    margin-top:15px;
    float: left; 
    font-weight: bold;
}
#login_box .forgot_link{
    margin-top:15px;
    float: right; 
}
#login_box label {
    width: 98px;
    font-size: 12px;
}    
#login_box input {
	width: 167px;
	font-size: 12px;
	height: auto;
}	
#login_box div.checkbox {
    float: left;
    vertical-align: top;
    padding: 0;
    margin: 0;
}
#login_box div.checkbox label, #loginForm div.checkbox label{
    width: 120px;
    float: left;
    position: relative;
    top: -3px;    
    display: block;
    margin-left: 5px;
}
#login_box div.checkbox input {
    width: 1em;
    height: 1em;
    margin-left: 98px;
    background: #fff;
    padding: 0;
    border: none;
}

/* ---- */
.binder_bg form#UserLoginForm div.checkbox {
	clear: both;
	}
.binder_bg form#UserLoginForm div.checkbox label {
	float: left;
	}
.binder_bg form#UserLoginForm div.checkbox input {
	width: 1em;
	height: 1em;
	float: left;
	margin-left: 110px; /*changed from 100*/
}
.binder_bg form#UserLoginForm .submit{
	clear: both;
	margin-top: 15px;
}
.binder_bg .register_link{
    margin-top:15px;
    float: left; 
    font-weight: bold;
    margin-left: 220px;/*Dmitry changed from 229*/
}
.binder_bg .forgot_link{
    margin-top:15px;
    float: right; 
    margin-right: 373px;
}
/* this need for cake's form output  */
.binder_bg form {
	margin-left:100px;
}
.binder_bg h3, .binder_bg p,.binder_bg table, .binder_bg div.input  {
	padding:0 30px ;
	text-align: left;
}
.binder_bg div.paging {
	padding:0 30px ;
}
.binder_bg table {
	margin-bottom: 10px;
	width: 100%;
}
.binder_bg table td {
	padding: 5px;
}
.binder_bg table .altrow td{
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

.binder_bg table .altrow2 td {
	border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.binder_bg form div {
	padding:0 0 0 10px !important; /*dmitry changed from 30*/
}
.binder_bg div.input, .binder_bg div.captcha {
	clear: both;
	margin-top: 10px;
}
.binder_bg .captcha_reload{
	text-align: left;
	margin-left: 155px;
}
.binder_bg .submit{
	text-align: left;
	margin: 10px 0 0 110px; /*dmtry changed from 100*/
}
.binder_bg .submit input {
	background-color: #44FFFF !important;
}
.binder_bg form span {
	font-size: 12px
}	
.binder_bg form label {
	display: block;
	float: left;
	width: 110px; /*dmitry changed from 100*/
	margin:5px 0 5px 0;
	font-size: 12px;
}
.binder_bg form input {
	width: 200px;
	background-color:lightgrey;
	border: black solid 1px;
	font-size: 12px;
	/*height: 15px;*/
}
.binder_bg #groupsearch #SearchName,
.binder_bg #forumsearch #SearchName{
	width: 180px;
}

.binder_bg form input#register {
	background-color: #4ff;
	height: 25px;
	margin-left: 100px;
	width: 150px;
}

.binder_bg form p.select_box {
	margin-left: 100px;
}
#controllerContent form a {
    font-size: 12px
}
/*
#controllerContent form a:hover {
    background-color: #44FFFF;
}
*/
/* ---- END cakes form  ---- */

/* -- for info messages --*/
/* this is a little mess with messages.. we will clean it soon */
.error-message{
    color: red;
}

/*for login page - auth error*/
#authMessage {
    font-size: 12px;
    color: red;
}

.error-message{
    text-align: left;
}
.message-success {
    color: green;
    font-size: 12px;
    text-align: center !important;
}

.message-info {
    font-size: 12px;
    text-align: center !important;
}

.message-group-invited {
    font-size: 10px;
    color: green;
}

.message-group-requested {
    font-size: 12px;
    color: #44FFFF;
}


#profile_wall .message-error, #profile_wall .message-success {
    margin: 0;
    padding: 0;
}

.message-error {
    color: red;
    font-size: 12px;
    text-align: center !important;
}

.message-friends {
    color: green;
    font-size: 12px;
    text-align: left !important;
}
/*-- END classses for messages --*/

/*-- FORM HARDCODED STYLE --*/
.binder_bg form#signup input {
	height: auto
}
#UserTOSAgree, #UserRecieveNewsletter {
    width: 1em !important;
    height: 1em !important;
}

/* add profile */
form#ProfileAddForm select, form#ProfileEditForm select {
	width: 202px;
}
/* Upload form */
#uploadForm .buttons #next_b{
	float: left;
	margin-left: 130px;
}
 #uploadForm .buttons #skip_b {
    float: left;
    margin-left: 250px;
}
#uploadForm .buttons #cancel_b {
	float: left;
    margin-left: 360px;
    margin-top: 30px;
}

#photosListContent {
    margin: 15px 30px 0;
}

/* photoframe */
#photoFrame{
    
}

.cell1{
    background-color: #EEE;
    clear: both;
    margin: 8px 0;
    padding: 8px;
}

.cell2{
    background-color: #DDD;
    clear: both;
    padding: 8px;
    margin: 8px 0;
}

#wall_list_container .cell1, #wall_list_container .cell2 {
	margin-top: 8px;
}

#photoFrame .cellmain{
    clear: both;
    margin: 8px;
    background: #CCEE00;
}

#photoFrame .image{
    float: left;
    width: 120px;
}

#photoFrame .info{
    width: 330px;
}

#photoFrame table td{
    vertical-align: top;
}

.binder_bg #photoFrame .info form {
	margin: 0
} 

#photoFrame table td.action{
    vertical-align: top;
    font-size: 12px;
}

#PhotoEditForm .input {
    float: left;
    clear: right;
}
.binder_bg #photoFrame input {
	float: left;
	margin-bottom: 10px;
}

#PhotoEditForm .submit{
    float: left;
}

/* privacy */
#PrivacySaveForm {
	margin: 0 !important;
	position: relative;
	}
#PrivacySaveForm div.radio {
    width: 100%;
	}
#PrivacySaveForm div.radio input {
	float: left;
	width: 1em;
	height: 1em;
	clear: both;
	
	border: none; 
	position: relative;
    top: 4px;
    margin: 0 5px;
}

#PrivacySaveForm div.radio label {
    float: none !important;
    width: 100%;
    margin-bottom: 7px;
    position: relative;
    top: 2px; 
}
#PrivacySaveForm .submit {
	margin: 0;
	text-align: center;
}

/* ordering */
.order{
	width: 350px;
    margin: 0 auto
}
.order a, .order span {
	float: left;
	display: block;
	padding:  0 10px;
}

/* experiment ONLY FOR PHOTOS */

#photoFrame .order {
    background-color:#E5E0DB;
    border:1px solid #000000;
    float:none;
    height:30px;
    line-height:30px;
    margin-left:30px;
    
    text-align:center;
    width:742px;
}

#photoFrame .sort_margin {
    margin-top:50px;
}

#photoFrame .order span, #photoFrame .order a {
    float: none;
    display: inline;
}
/*-- end form harcode  --*/


/* commmmon styles !!! WARNING - this not as in design templates */
.binder_bg a {
    color: #1f4473;
}
.binder_bg a, .index i {
    font-size:12px;
}
.index {
    font-size:12px;
}
/* paging */
div.paging div.disabled {
    display:inline;
    font-size: 12px;
}
div.paging .current {
    font-size: 12px;
}

div.paging {
    margin-bottom:2em;
}
.message-warning {
    background:transparent url(/img/warn.gif) no-repeat;
    font-weight:bold;
    margin-left: 30px;
    color: red; 
}

.asc, .desc {color: yellow; padding-right: 15px;}
.asc {background:transparent url("../img/s_asc.png") no-repeat right top;}
.desc {background:transparent url("../img/s_desc.png") no-repeat right top;}


.clear_both {
    clear: both;
}

.m_top_20 {
	margin-top: 20px;
}

.mceLayout {
	padding: 0 !important;
}



/*on hover styles*/
.hover_tr {
    border-collapse: collapse;
    width: 745px !important;
    margin-left: 30px;
}


.hover_tr tbody tr:hover td {background-color:#E5E0DB}
.hover_td tbody td:hover  {background-color:#E5E0DB}

.hover_tr tbody tr.no_hover:hover td {background-color: transparent !important}

th {width: 120px; text-align:left; font-size: 12px;}
th a { color: #1F4473}


/* tabs  */
.binder_bg #tabs ul {
	padding: 0;
	margin: 0 30px;
	list-style-type: none;
}
.binder_bg #tabs ul li {
	margin-right: 14px;
	font-size: 12px;
	border: 1px solid #000;
	background-color: #e5e0db;
	padding: 5px 35px;
	float: left;
}
.binder_bg #tabs ul li a{
	font-size: 12px;
	}
.binder_bg #tabs ul li:nth-child(5) {
	margin-right: 0;
	float: right;
}

.binder_bg  #tabs ul li.current {
	background-color: #44FFFF !important;
	font-size: 12px;
	/*padding-top: 9px;*/  
}


/*-- Profile menu --*/

#profileMenu {
    z-index: 40;
    position: relative;
}

#profileMenu ul {
    padding: 0;
    margin: 0 30px;
    list-style-type: none;
}
#profileMenu ul li {
    margin-right: 14px;
    font-size: 12px;
    border: 1px solid #000;
    background-color: #e5e0db;
    padding: 5px 27px;
    float: left;
}
#profileMenu ul li a{
    font-size: 12px;
    }
    
#profileMenu ul li.current {
    background-color: #44FFFF !important;
    font-size: 12px;
 }


/* for move if we have a navigation porofile menu */
.view_profile .grid_8 {
    margin-top: -20px;
    position: relative;
}
/* for move if we DIDN'T have a navigation profile menu*/
.view_profile_no_menu .grid_8 {
    /* margin-top: 6px;*/
    position: relative;
}


/*--  profile view --*/

#profile_friends h1, #profile_friends h2 {
    font-size: 14px;
}


#profile_friends h1, #profile_friends h2 {
    font-size: 12px;
}

#profile_info ul {
    padding-left:0 !important;
}
#profile_info ul li {
    list-style: none;
}


/**************/
#sidebar_navigation ul li { padding:10px 21px; }


/*--- mood form---*/
#moodform {
	background: #eee;
	padding: 5px;
	text-align: left;
	clear: both;
	float: left;
	width: 400px;
}
#moodform .input {
	margin: 0;
}
#moodform form {
	margin: 0 !important;
}
#moodform form div {
	padding: 0 !important;
	margin: 0 !important;
}
#moodform .input {
	width: 360px !important;
}
#moodform .input label {display: none; margin: 0; padding: 0;}	

#moodform .input input {
	float: left;
	width: 354px !important;
}

#moodform .submit {
	width: 32px !important;
	float: left;
	}
#moodform .submit input {
	width: 32px;
	margin-left: 10px;
}

/* --- end mood -- */
#follow_status, #friends_status, .blocked, .messages {
	text-align: left;
	}

.online{color: CadetBlue; font-weight: bold; font-size: 10px;}


/* wall  */
.wall_top  .status {
	font-size: 10px;
	color: red;
}
.binder_bg .messages_menu li {
	border: none !important;
	background: transparent !important;
}

.messages_menu {
    margin-top: 10px !important;
}

.messages_menu li{
    float: left;
    margin: 0 10px;
    list-style: none;
    display: block;
    padding: 0 !important;
}
.messages_menu li a {
    padding: 2px 5px;
    border: 1px solid #000;
    font-size: 10px;
}

.messages_menu li a:hover {
	/*background-color: #44FFFF;*/
	text-decoration: none !important;
}

#wall_list h3 a {
 color: #144473;
}

.message_avatar {
	width: 80px;
}

#profile_wall .wall_image {
    /*float: left;*/
    width: 120px;
    text-align: center;
 }
 
.wall_post .wall_top {
    width: 430px;
    padding: 5px;
} 
#wall_list .links {
    width: 120px;
}

#wall_list .messages_menu {
	margin: 0;
    padding: 0;
}
#wall_list .messages_menu li {
	float: none;
	margin: 5px 0;
	height: 15px;
	padding: 0;
}
#wall_list .messages_menu li a {
    display: block;
    width: 120px;
    text-align: center;
}    

.wall_top h5, .wall_top h4 {
	text-align: left;
	margin: 0;
}

#wall_list_container ul li{
	border: 0;
	background: none;
}

/* SEARCH PAGE */
#searchpage form {
    margin-left: 0 !important;
    text-align: left;
}

.binder_bg #searchpage {
	padding: 0 30px !important;
	}

.binder_bg #searchpage form div {
	margin: 0 !important;
	padding: 0 !important;
}

.binder_bg #searchpage form td.left {
    padding:0 30px 0 0;
}

.binder_bg #searchpage form td.right {
	padding: 0 0 0 40px;
	}
.binder_bg #searchpage form div.input, .binder_bg #searchpage form div.select {
	padding:  0 !important;
}

.binder_bg #searchpage form div.select select {
	width: 182px; /*dmitry changed from 202*/
}
.binder_bg #searchpage form div.checkbox
{
    float: left;
}
.binder_bg #searchpage form div.checkbox input {
	width: 1em !important;
	height: 1em !important;
	margin: 5px 0;
	padding: 0;
	float: right;
	position: relative;
}

.binder_bg #searchpage form div.checkbox label {
	display: block;
	float: right;
	position: relative;
	}

.binder_bg  #searchpage table td {
	vertical-align: top;
}

.shortselect, .shortselect2 {
	width: 90px;
	float: left;
}
.shortselect label {
	width: 40px !important;
	}

.shortselect2 label {
    width: 20px !important;
    }

.age_label {
	margin:5px 0;
	padding: 0px;
    width: 110px; /*changed from 100*/
    display: block;
    float: left;
    clear: both;
}

.middleselect {
	padding: 0 !important;
	margin: 0 !important;
	width: 200px;
	float: left;
}
.middleselect select {
	width: 200px;
}

.binder_bg #searchpage #status_select div.select , .binder_bg #searchpage #status_select div.input{
 padding: 0 !important;
 margin: 0 !important;
}
#searchpage #status_select {
    width:200px; 
    margin: 0 38px !important; 
    float : left
}    
#status_select select {
	width: 200px;
	}
	
.binder_bg #searchpage .middle_search_wrapper {
	padding:  0 30px !important;
	float: left;
	margin: 0 0 10px 0 !important;
}
.binder_bg #searchpage .field_descr span {
    font-size:9px;
    float: right;
    margin-right: 16px;
}

#uploadForm  .field_descr span {
    font-size:9px;
    margin-left: 100px;
}

.binder_bg #searchpage .checkbox_line {
	padding-left: 30px !important;
	}

.binder_bg #searchpage .checkbox_line .select label {
	width: 80px;
	}

.binder_bg #searchpage .checkbox_line .checkbox {
	float: left;
	margin: 0 5px !important;
	}
.binder_bg #searchpage .checkbox_line .checkbox label{
	width: auto !important;
	margin-right: 5px !important;
	}
.middle_btn {
	float:left;
}

.binder_bg #searchpage  #save {
	display: none; 
	clear: both; 
	background: #eee; 
	width: 260px; 
	padding: 10px !important; 
	margin-top: 10px !important; 
	float: left;
}
#save p {
	margin: 0 0 5px 0 !important;
	padding: 0 !important;
}
#save label {
	width: 60px !important;
}
#save .save_middle_btn {
	margin-top: 10px;
	width: 70px !important;
}

#search_res h3 a {
	padding-right: 10px;
}

/* search results */
.hover_td .users {
	background: none;
	clear:both;
	float:left;
	margin-right:15px;
}

.hover_td .users ul {
	padding: 0;
}
.hover_td .users ul li {
	border: 0 !important;
}
/*** ***** ** ********/
#profile_bottom_bg2 {
    background-color: #af9a94;
    position: relative;
    top: 51px;
    padding: 15px 0 25px;
    margin: 0 0 10px 0 !important;
}

.view_profile_no_menu #profile_bottom_bg2 {
    top: 48px;
}

#write_on_wall, #back_to {
	margin: 0 0 10px 30px;
	border:1px solid #000000;
	float:left;
	font-size:12px;
	padding:5px 30px;
	background-color: #44FFFF;
    text-decoration: none !important;
}
#write_on_wall:hover, #back_to:hover {
    text-decoration: none !important;
}    

/* use to position warning message on view profile page */
#profile_warn_info_pos {
    position:relative;
    left:40px;
    top:310px;
    width:416px;
    text-align:center;
}
#wall_add{
	margin-left: 30px;
}
#wall_add label {
	font-weight: bold;
	font-size: 12px;
}
.profile_text_data {
	height: 220px;
	overflow: auto;
}

/* add/edit profile  */
.binder_bg form#ProfileAddForm div.checkbox,
.binder_bg form#ProfileEditForm div.checkbox {
	clear:both;
    padding-left:0 !important;
    width:240px; /*dmitry changhed from 150*/
    margin-left: 105px; /*changed from 98*/
    float: left;
}

.binder_bg form#ProfileAddForm div.checkbox input,
.binder_bg form#ProfileEditForm div.checkbox input,
.checkbox input {
	width: 1em !important;
	height: 1em !important;
	float: left;
	position: relative;
	top: 4px;
	margin: 0 5px;
	
}

.binder_bg form#ProfileAddForm div.checkbox label,
.binder_bg form#ProfileEditForm div.checkbox label {
	display:block;
    float:left;
    width:160px; /*changed from 115*/
	}

/* main page */
#left_content h2 {
	font-size: 16px;
}

/* FORM!!!!! */
/* form submit btn  and select for different form */
#UserRecoverForm .submit input, 
form#signup .submit input, #UserLoginForm .submit input, 
.info .submit input, 
#uploadForm .submit input,
#UserSettingsForm .submit input
{
	width: 202px;
}

form#signup .submit input {
    margin-left: 10px;
}

 #right_content #UserLoginForm .submit input {
    width: 169px;
}
   
form#signup #UserSex {
    width: 202px;
}
.binder_bg form#signup input {
    height: auto
}
form#signup #UserBirthdateMonth {
    width: 94px;
}

/* common for checkboxes and radios */
div.checkbox input, .binder_bg form#signup .checkbox input, #PrivacySaveForm .radio input {
    width: 1em;
    height: 1em;
    background: #fff;
    padding: 0;
    border: none;
}

form#signup  div.input, #uploadForm div.input, #ProfileEditForm div.input, 
#ProfileAddForm div.input, #UserSettingsForm div.input{
    clear: right;
}


form#signup  div.date, #ProfileEditForm  div.textarea, #ProfileAddForm  div.textarea {
    clear: both;
}

/* photos page */
.info div.text {
	text-align: right;
}
#uploadForm div.input input {
	width: 193px;
}
#uploadForm div.submit input {
    width: 195px;
}

/* modal window */
.mainWindowColor #controllerContent {
	/*width: 300px;*/
    width: 370px;
}



/***********/
/* blog */
.blogPosts {
    padding: 0 30px;
} 

.mar_top_10 {
    margin-top: 10px;
}

.mar_top_15 {
    margin-top: 15px;
}

#blog_list {
    margin: 10px 0;
}

/* group menu*/
.group_menu {
    margin-left: 66px !important;
}
.group_menu .last {
    margin-right: 0;
}

.group_menu li {
    padding:5px 16px !important;
}
/* group search form */

.groupname,
.grouptype,
.binder_bg .groups #groupsearch .submit,
.binder_bg .groups #forumsearch .submit{
    float: left !important;
    text-align: left;
}
.groupname label, .grouptype label {
    /*margin: 0 !important    ;*/
}

.groupname {
    width: 300px;
}
.grouptype {
    width: 240px;
}
.grouptype label {
    width: 60px !important ;
}
.binder_bg .groups #groupsearch  {
    margin:  10px 0 0 74px;
    float: left;
}

.binder_bg .groups #groupsearch .submit {
    width: 80px !important;
    margin: 0 0 0 10px
}

.binder_bg .groups #groupsearch .middle_btn,
.binder_bg .forums #forumsearch .middle_btn {
	width: 65px;
    float: left;
}

.binder_bg .groups #SearchType {
    width: 180px;
}

.w_630 {width: 630px;}
.w_620 {width: 620px;}
.w_600 {width: 620px;}
.w_320 {width: 320px;}
.w_220 {width: 220px;}
.w_160 {width: 160px;}
.w_140 {width: 140px;}
.w_120 {width: 120px;}
.w_100 {width: 100px;}
.w_90  {width: 90px; }
.w_80  {width: 80px; }
.w_70  {width: 70px; }
.w_60  {width: 60px; }
.w_50  {width: 50px; }
.w_40  {width: 40px; }
.w_30  {width: 30px; }
.w_20  {width: 20px; }
.w_15  {width: 15px; }
.w_10  {width: 10px; }

/*center user photo in a block on profile/search and group/view pages*/

.avatar_list  {
	float: none !important;
	width: 150px;
	margin: 0 auto;
}

.font_size_10 {
	font-size: 10px !important; 
}

.delete_friend {
	margin-top:  10px;

}
.delete_friend a {
    color: red;
}
/*added for norwegian*/
.binder_bg #searchpage form input {
    width: 180px
}

.binder_bg #search_res ul {
    margin: 0 0 0 0;
}

/* 8 followers/friends list */
#profile_friends .profile_friends_list {
    position: relative;
    left: 17px;
    top: 2px;
    height: 108px;
}

#profile_friends .profile_friends_list  td {
    margin: 0px;
    padding: 6px 0 0 4px;
    width: 52px;
    height: 45px;
    vertical-align: top;
    text-align: left;
}

#profile_friends .profile_friends_list  td.last {
    padding: 6px 0 0 5px;
}

#profile_friends .profile_friends_list .row_delim {
    height: 15px;
    margin: 0 !important;
    padding: 0 !important;
}

#profile_friends .profile_friends_list td a, #profile_friends .profile_friends_list a img {
    width: 37px;
    height: 37px;
    overflow: hidden;
}

#profile_wall #wall_list_container table {
    width: 100% !important;
    margin: 0;
}

#wall_list_container {
    margin-bottom: 5px;
}


.binder_bg  #wall_list_container table {
    width: 100% !important;
    padding: 0 0 0 0 !important;
    margin:  0 0 0 0;
}
#wall_list_container td {
    padding: 5px;
}


#wall_list_container .comments_data  {
    padding: 5px 0 !important;
}

/*window popup*/
#mainWindow #controllerContent {
    padding-left: 5px;
}


/*group navigation*/
/*
#tabs ul.group_menu li {
    padding: 5px 4px;
}

/*overload standart last child*/
/*
.binder_bg #tabs ul.group_menu li:nth-child(5) {
    float: left;
    margin-right: 14px;
}
*/
.page_menu {
    margin-top: 10px;
}

/***********/
/*
#wall_list table {
	margin-bottom: 10px;
	width: 100%;
}
#wall_list table td {
	padding: 5px;
}
#wall_list table .altrow td{
    border: 1px solid transparent;
}

#wall_list table .altrow2 td {
	border: 1px solid #eee;
}
*/

#ask_friend {
    font-size:14px;
    left:100px;
    position:relative;
    top:340px;
    z-index:99999;
}

#ask_friend .message-success {
    font-size:14px !important;
    z-index:99999;
    text-align: left;
    float: left;
}

#ask_friend a, #ask_friend .message-success {
    left: 40px;
    position: relative;
}

#conversationsInner fieldset {
    width: 340px;
}

.lock { vertical-align: middle; text-align: center}

#admin_notify {
    position:  absolute;
    border: 1px solid red;
    top: -140px;
    font-weight: bold;
    font-size: 20px;
}


#userNewsletter {
    width: 400px;
    height: 30px;
}
#userNewsletter div.input {
    clear: both !important;
    float: none;
    padding: 0 !important;
}

#userNewsletter div.input  label {
    width: 280px;
}

#forumsearch {margin-left: 180px;}

.forumname {
    width: 300px;
    float: left;
}

#forumsearch .submit {
    width: 100px;
    float: left;
    margin: 0;
}

#forumthreadsearch {
    margin: 15px 0 0 100px;
}

.forumthreadtitle {
    width: 320px;
    float: left;
}

#forumthreadsearch .submit {
    width: 100px;
    float: left;
    margin: 0;
}
#forumthreadsearch .middle_btn {
    width: 65px;
}

.forum h2 a,
.forumsThreads h2 a,
.forumsPosts h2 a {
 font-size: 16px;
}

.post_photo {
    padding: 0 !important;
}
.post_time {
    font-size: 10px;
    padding: 0 !important;
}
.post_actions {
    padding: 0 !important;
}

.hover_tr td {
    vertical-align: middle;
}

.conversationPopup .paging .current {
    font-size:10px;
}

.forum .hover_tr td,
.forumsPosts .hover_tr td,
.wall_post .hover_tr td {
    vertical-align: top;
}

#Recipient_autoComplete ul {
    margin: 0;
    padding: 0
}
.autocomplete li {
    border-bottom: 1px solid #ccc;
    font-size: 10px;
    background: #eee;
    list-style: none;
    padding-left: 5px;
    cursor: pointer;
    line-height: 14px;
}

.conv_red {
    color: red !important;
    font-weight: bold;
}
#comment_complete {
    clear: both;
}
.comment_block {
    background: #fff;
    padding: 5px;
}

.no_padding {
    padding: 0 !important;
}
.comment_block {
    display: none;
    margin-top: 10px;
}

#blog_list #action_complete {
    clear: both;
    margin: 10px 0;
    padding: 10px 0;
}

.mar_top_bottom_10 {
    margin: 10px 0px !important;
}
#commentForm {
    vertical-align: top;
    margin: 10px;
}
#commentForm label {
    font-size:  12px;
    vertical-align: top;
}
#commentForm .submit input {
    margin-left: 95px;
}

.comments_count {
    /*float: left;*/
    position: relative;
    top: -15px;
    right: -114px;
}

#bigImageHolder {
    margin: 20px 0;
}

#photoFrame .no_padding {
    padding: 0 30px !important;
}


#blog_list .comments_holder table {
    margin: 0;
    width:  100% !important;
}

.conv_red {
    color: red !important;
    font-weight: bold;
}
