
fieldset {
	border: none;
	margin: 0;
	padding: 0; 
}

.form {  
  background-color: transparent;  
}
/*	LOGIN PAGE  */
.login-layout {
	display: block;	
	height: 100%;
	padding: 222px 0 0;

	/*background: url(../img/bg/logo-page-watermark.png) no-repeat 50% 155px;*/
}

.login-form {
	position: relative;
	width: 232px;
	margin: 45px auto 0;
	padding: 20px;
}
.login-form .input label {
	position:absolute;
	width:auto;
	left: 10px;
	top: 5px;
	color:#d7d7d7;
	z-index:2;
}
.form-wrap.change-pasword {
	position: relative;
	width: 403px;
	margin: 0 auto;
	padding:0 0 0 10px;
}
.login-form .form .input {
	background:#FFF;
	border-radius: 5px;
}
.form-wrap.change-pasword .form .input {
	background: none;
}
.form-wrap.change-pasword .form .input label {
	float: left;
	width: 170px;
	line-height: 32px;
	color: #5F5F6F;
	position: static;
}
.form-wrap.change-pasword .form .input input {
	background-color: #FFF;	
}
.form-wrap.change-pasword .form #cancel-btn {
	margin: 0 10px 0 0;
	text-decoration: none;
	height: 20px;
	line-height: 20px;
} 

.form-wrap h3 {
	color: #727575;
	font-size:24px;
	margin:25px 0 18px;
}

.form .input {
	float:left; 
	width:100%;
	margin:0 0 16px;
	position: relative;
	background-color:#FFFFFF;
}
.input .hint {
	color: #999999;
    font-size: 12px;
    left: 101%;
    line-height: 32px;
    position: absolute;
    width: 150px;
}
.input.error .hint {
	display: none;
}
#UserLoginForm.form .input.password {
	margin:0;
}
#UserLoginForm .sml-link.fogot-link {margin-top:10px;}
#UserLoginForm .submit {margin:15px 0 0; float:right;}

.input input,
.textarea textarea,
.input select {
	float: left;
	width: 210px;
	height: 29px;
	padding: 0 10px;
	font-size: 16px;
	border: 1px solid #a4a2a2;
	color: #000;
	-webkit-border-radius: 5px;
  	-moz-border-radius: 5px;
  	border-radius: 5px;
  	background:none;
  	position: relative;
  	z-index: 3;
  	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.input select {
	width:232px;
	height: 32px;
	padding:4px;	
}
.birthday {float:left; }
.birthday .input {height:32px; margin:0 0 14px;}
.birthday .input select {position:absolute; font-size:15px; background-color:#FFF;}
.birthday select#UserBirthdayMonth {width:134px; margin:0 5px; left:94px;}
.birthday select#UserBirthdayYear {width:93px; left:237px; background-color:#FFF;}
.birthday select#UserBirthdayDay {width:95px; left:0;}
.birthday .label {float:left; width:100%; font-size:12px; margin:-1px 0 9px 1px; color:#5F5F6F;}
.birthday label {float: left; width:109px; position: absolute; left:0; top:0; color:#5F5F6F;}

/*	Different for profile form */
.profile-form .birthday {width:100%; height:32px; margin:0 0 14px; position:relative;}
.profile-form .birthday .input.date {margin:0 0 14px 109px;}
.profile-form .birthday select#UserBirthdayYear {width:85px; left:206px;}
.profile-form .birthday select#UserBirthdayMonth {width:113px; left:84px;}
.profile-form .birthday select#UserBirthdayDay {width:85px;}

/*	RADIO BTN SELECT GENDER */
.profile-form .input.radio legend {float: left; height: 29px; line-height: 29px; width:75px; color:#5F5F6F;}
.profile-form .input.radio input {width: 14px; height:20px; margin:4px 4px 0 30px; }
.profile-form .input.radio label {width: auto;}

.profile-form .input.error .error-message {
	left: 101%;
}

.denger-zone {
	/*background: url("../img/bg/submit-border-top.png") no-repeat scroll 0 0 transparent;*/
}
.denger-zone .label {
	text-align: left;
	float: left;
	width: 109px;
	margin: 0;
	line-height: 29px;
	color: #5F5F6F;
	font-size: 16px;
		
}
.denger-zone .remove-acc {
	text-align: left;
	float: left;
	width: 100%;
	margin: 0;
	padding: 25px 0 0;
} 

.input input,
.textarea textarea,
.input select, .like_input {  
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
  margin: 0;
}
.input input:focus,
.textarea textarea:focus,
.input select:focus {
  color: #000;
  border-color: #029AB5; /*rgba(82, 168, 236, 0.8);*/
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 3px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 3px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 3px rgba(82, 168, 236, 0.6);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */
}
.input.error input,
.textarea.error textarea,
.input.error select { 
  border-color: rgba(255, 50, 45, 0.8);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(255, 50, 45, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(255, 50, 45, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 2px rgba(255, 50, 45, 0.6);
  outline: 0;
  outline: thin dotted \9;
}
.error .error-message, .edit-deal-form div .error-message  {
	position: absolute; 
	left: 102%; 
	width: 300px;
	font-size: 12px;
	color: #ff322d;
	padding:7px 0 0;
}
.b-one-comment .error-message {
	color: #FF322D;
    float: left;
    margin: 52px 0 0;
    opacity: 1;
    position: absolute;
    right: 122px;
    width: 265px;
    font-size: 10px;
}

.edit-deal-form div .error-message {
	left: 101%;
}
#editDealForm .input.textarea .error-message {bottom: 3px;}

input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

:-moz-placeholder {
  color: #d7d7d7;
}
::-webkit-input-placeholder {
  color: #d7d7d7;
}

/*	BUTTONS  */
.btn
 {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */

  *zoom: 1;
  padding: 5px 11px;
  margin-bottom: 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 18px;
  color: #4f4f4f;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #fdfbfc, #f0eded);
  background-image: -ms-linear-gradient(top, #fdfbfc, #f0eded);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdfbfc), to(#f0eded));
  background-image: -webkit-linear-gradient(top, #fdfbfc, #f0eded);
  background-image: -o-linear-gradient(top, #fdfbfc, #f0eded);
  background-image: linear-gradient(top, #fdfbfc, #f0eded);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfbfc', endColorstr='#f0eded', GradientType=0);
  border-color: #f0eded #f0eded #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
  border: 1px solid #cccccc;
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  /*
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  */
  cursor: pointer;
  *margin-left: .3em;
  outline: medium none;
}
.btn:hover,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
  background-color: #f0eded;
  outline: medium none;
}
.btn:active,
.btn.active {
  background-color: #cccccc \9;
  outline: medium none;
}
.btn:first-child {
  *margin-left: 0;
}
.btn:hover {
  color: #333333;
  text-decoration: none;
  background-color: #fbf9f9;
  background-image: -moz-linear-gradient(top, #fdfcfc, #f3f1f1);
  background-image: -ms-linear-gradient(top, #fdfcfc, #f3f1f1);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdfcfc), to(#f3f1f1));
  background-image: -webkit-linear-gradient(top, #fdfcfc, #f3f1f1);
  background-image: -o-linear-gradient(top, #fdfcfc, #f3f1f1);  
  background-image: linear-gradient(top, #fdfcfc, #f3f1f1);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfcfc', endColorstr='#f3f1f1', GradientType=0);
  outline: medium none;
}
.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn.active,
.btn:active {
  background-image: none;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.05);
  background-color: #efeced;
  background-color: #efeced \9;
  outline: 0;  
}

.form-wrap .sml-link {
	float:left;
	margin:9px 0 0;
	font-size:12px;
	text-decoration: none;
	color: #a4a2a2;
}
.form-wrap .signup-link {
	float: right;
	width: 100%;
	margin: 15px 0 0;
	text-align: right;
}

.form-wrap .sml-link:hover, .form-wrap .sml-link:active {
	color:#214379;
	text-decoration: underline;	
}

.login-form .submit {
	float: left;
	width: 100%;
	text-align: right; 
	/*margin:2px 0 0 170px;*/
		
}
.login-form .input.file {display:none; }
.like_input {
	border:1px solid #A4A2A2;
	border-radius:5px;
	overflow: hidden;
}
.like_input input {border:none; width:170px; border-radius:0;}
.like_input #id_file_choose {float:right; text-decoration:none; padding:4px 11px; margin:1px 1px 1px 0}


#UserSignupForm .submit input {
	padding:4px 20px;
}

/*	Profile form */
.profile-form {
	position: relative;
	width:402px;
	margin:27px 0 0 187px;
}
.profile-form h3 {
	float: left;
	padding:0 0 0 110px;
	width:220px;
}
.profile-form .input {
	background: none;
}
.profile-form .input input, .profile-form .input textarea {
	background-color:#FFF;
	width: 270px;
}
.profile-form .input textarea {
	height:94px;
	width: 280px;
	padding-right:0;	
}
.profile-form .input label {
	float: left;
	width:109px;
	height:29px;
	line-height:29px;
	color:#5F5F6F;
}
.profile-form .profile_photo {
	float: left;
	width: 100%;
	height: auto;
	margin: 0;
	padding:0
}
.profile_photo .user-pic {
	float: left;
	margin:6px 0 21px 111px;
	padding:7px;
	background-color:#FFF;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.profile-form a.btn {
	text-decoration:none;
	padding:5px 20px 6px;
}

.profile-form .like_input {
	width:180px;
	margin:0 0 0 109px;
	overflow: hidden;
	background:#FFF;
}
.profile-form .like_input label, .like_input label {
	position:absolute;
	width:auto;
	left: 10px;
	top: 2px;
	color:#d7d7d7;
	z-index:2;
}
.profile-form .like_input #profile_photo {
	width:120px;
	background:none;
}
.profile-form .submit {
	float:left;
	width:100%;
	padding:0 0 0;
	margin:0;
	 
	/*background: url(../img/bg/submit-border-top.png) no-repeat 0 0;)*/
}

.account-social-block {
	float: left;
	width: 402px;
	margin: 10px 0 0 187px;
}

.div-line {
	float: left;
	width: 100%;
	height: 1px;
	margin:0 0 20px;
	-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  	   -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  		    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}
.profile-form .submit input {
	float: right;
}
.profile-form .input.file {display:none;}
.profile-form .remove-acc .btn {color: #ff322d;}

.email-form .submit {
	width: 100%;
	margin:2px 0 0;
}
.email-form .submit button {
	width: 90px;
}
#UserChangePasswordForm .submit {
	float: right;
	padding:0 2px 0 0
}
#UserChangePasswordForm .submit input.btn, #UserRegistrationForm .submit .btn, #UserLoginForm .submit .btn {
	width: 85px;
}

#UserChangePasswordForm .submit a.btn {
	width: 61px;	
}

/* Form Edit Deal */
.edit-deal-form {
	position:relative;
	width:561px;
	margin:0 auto;
}
.edit-deal-form label {
	width: 109px;
	float: left;
	margin: 0;
	line-height: 31px;
	height:30px;
	font-size: 16px;
}
.edit-deal-form .input {float: left; width: 100%; margin:0 0 14px;}
.edit-deal-form .input input {
	width: 430px;
}
.edit-deal-form .input select { width: 452px;}

.edit-deal-form .block_upload {
	float: left; 
	width: 452px;
	margin: 0 0 13px;
	display: table;
}
	.block_upload .pic {
		float: left;
		width: 150px;
		height: 159px;
		background-color: #FFF;
		border:1px solid #e4e3e3;
		overflow: hidden;
		text-align: center;
		vertical-align: middle;
		display: table-cell;
	}
	.block_upload .pic img {
		width: auto;
		width: 100%;
		height: auto;
		display: inline;
	}
	.edit-deal-form .block_upload .input {float: right; width:280px; margin:0;}
	.edit-deal-form .input.file {display:none;}
	.edit-deal-form .like_input { 
		float: right;
		width: 280px;
		background-color: #FFF;
		position: relative;
	}
	.edit-deal-form .like_input label {
		width: 230px;
		line-height: 27px;
	}
	.edit-deal-form .like_input input { width:220px;}
	.edit-deal-form #DealUploadByLink { width:260px;}
	.block_upload .box-upload-by-link .input {
		background-color: #FFF;
		float: right;
		position: relative;
		margin: 8px 2px 0 0;
		border-radius: 5px;
	}
	.box-upload-by-link .input label {
		width: 270px;
		position: absolute;
		color: #D7D7D7;
		left: 11px;
		top: 1px;
	}
/* На странице добавления картинки, показываем картинку при добавлении ссылки */
.hasImage .blockImg .pic {
	float: left;
	width: 150px;
	margin: 0 20px 20px 109px;
	border: 1px solid #E4E3E3;
	background-color: #FFF;
	overflow: hidden;
}
	.hasImage .blockImg .input label {display:none; }
	.hasImage .blockImg .input_upload_img label {display: block;}
	.hasImage .blockImg .input, .hasImage .blockImg .input_upload_img,
	.add-deal-form.hasImage  .block_upload .input { width: 280px; float:left; }
	.hasImage .blockImg .input input , .hasImage .blockImg .input_upload_img input { width: 260px;}
	.add-deal-form.hasImage .block_upload .like_input input { width: 221px;}
	.add-deal-form.hasImage .block_upload .input {}
	.edit-deal-form.hasImage .block_upload {width: auto;} 
	

.edit-deal-form .textarea textarea {
	width: 440px;
	height: 165px;
	padding: 3px 0 0 8px;
	resize: none;
	font-size: 14px;
}
.w-wrap {
	float:left; 
	background-color:#FFF;
	border-radius:5px;
	position: relative;
}
.w-wrap.description-wrap {
	width: 450px;
	height: auto;
	/*height: 172px;*/	
	/*overflow: hidden;*/
}
.w-wrap .hint-title, .w-wrap label {
	position: absolute;
	line-height: 31px;
	left: 10px;
	color: #D7D7D7;
	font-size: 16px;
}
.description-wrap label {
	width: 250px;
}
.edit-deal-form .submit {
	float:left;
	width:100%;
	padding:25px 0 0;
	margin: 15px 0 0;
	/*background: url(../img/bg/submit-border-top.png) repeat-x 0 0;)*/
}
.edit-deal-form .submit .btn {
	float: right;	
	margin:0;
	width: 85px;
}
.edit-deal-form .submit a.btn {
	text-decoration: none;
	width: 61px;
	height: 20px;
	line-height: 20px;
}
.edit-deal-form .submit .cancel-btn {margin:0 6px;}
.edit-deal-form .remove-acc .btn, .edit-deal-form .remove-deal {
	color:#FF322D;
	padding: 5px 20px 6px;
	text-decoration: none;
}
.edit-deal-form .submit a.remove-deal {
	padding: 4px 20px;
	width: auto;
	float: left;
	margin-left: 110px;
}

/*	ADD DEAL INPUTS  */
.add-deal-form .block_upload .input {
	width: 450px;
}
.add-deal-form .block_upload .input #DealUploadByLink {
	width:430px;
}
.add-deal-form .block_upload .like_input input {
	width: 390px;
}