@charset "utf-8";

/* <reset> */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{font-size:100%;margin:0;padding:0;border:0;outline:0;vertical-align:baseline;background:transparent}body{line-height:1}blockquote,q{quotes:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display:block;
}
A{text-decoration: none; border: none; color: #000000;}
A:hover{text-decoration: underline;}
.header A, .modal A:hover, .modal A{text-decoration: none;}
/* </reset> */

* {
	margin:0;
	padding:0;
	font-weight: 400;
}
html, body {
	width:100%;
	height:100%;
	margin:0;
	padding:0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 15px;
	background: #f6f6f6;
}
#wrap {
	height: 100%; 
	z-index: 1; 
	background: #f6f6f6;
}

body > #wrap {height: auto; min-height: 100%;}

.main {padding-bottom: 110px;} 

.vk-wrap{
	height: 600px;
	overflow-y: scroll;
}

H4{
	font-size: 27px;
	font-weight: normal;
	margin: 0;
	margin-bottom: 16px;
}

.clear{
	clear: both;
	float: none;
}

/* BUTTONS */

.blue-btn{
	cursor: pointer;
	border-radius: 3px;
	position: relative;
	color: #fff;
	font-size: 14px;
	-moz-user-select: none;
	-webkit-user-select: none;
	cursor: pointer;
	background: #000000;
}
	
	.blue-btn:hover, .blue-btn.onHover{
		background: #000000;
		text-decoration: none;
	}
	
	.blue-btn:active, .blue-btn.activeState{
		background-color: #000000;
		text-decoration: none;
	}
		
.white-btn{
	background: #e6e6e6;
	border-radius: 3px;
	position: relative;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	cursor: pointer;
	font-size: 14px;
	color: #444444;
}
	.white-btn:hover{
		background: #d9d9d9;
		text-decoration: none;
	}
	
	.white-btn:active{
		background: #d1d1d1;
		text-decoration: none;
	}

.dropdown{
	background: #fff;
    box-shadow: 0 2px 2px 0 rgba(50, 50, 50, 0.2);
    position: fixed;
    right: 9px;
    top: 49px;
    width: 200px;
    z-index: 10004;
    border-radius: 3px;
}
	.dropdown A{
		display: block;
		color: #444;
		text-align: left;
		padding: 10px 12px;
		font-size: 13px;
	}

		.dropdown A:hover{
			background: #f6f6f6;
			text-decoration: none;
		}

		.dropdown A:first-child:hover{
			border-top-right-radius: 3px;
			border-top-left-radius: 3px;
		}

		.dropdown A:last-child:hover{
			border-bottom-right-radius: 3px;
			border-bottom-left-radius: 3px;
		}
		
	.add-dropdown{
		left: 520px;
	}

.header{
	height: 55px;
	width: 100%;
	background-color: #ffffff;
	/*z-index: 102;*/
	z-index: 999;
	position: fixed;
	top: 0px;
	-webkit-box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.3);
}
	.header .settings{
		background: url('../i/spr15.png?v=4') -2px -3px;
		width: 18px;
		height: 18px;
		display: block;
		position: absolute;
		top: 19px;
		right: 25px;
		z-index: 100;
	}
		.header .settings:hover{
			background-position: -2px -44px;
		}
	
	.header .center{
		height: 43px;
		position: relative;
	}
		.header .search{
			background: #f6f6f6 none repeat scroll 0 0;
		    border-radius: 3px;
		    left: 193px;
		    padding: 6px 7px 7px 10px;
		    position: absolute;
		    top: 11px;
		    width: 215px;
		    cursor: text;
		    -webkit-transition: background-color 100ms ease-in-out;
		    -moz-transition: background-color 100ms ease-in-out;
		    -o-transition: background-color 100ms ease-in-out;
		    -ms-transition: background-color 100ms ease-in-out;
		    transition: background-color 100ms ease-in-out;
		}
			.header .search.focus{
				background: #fff;

			}
			.header .search-input, .header .search FORM{
				width: 180px;
				display: inline-block;
			}

			.header .search INPUT{
				background: none;
				border: none;
				font-size: 15px;
				color: #444;
				padding-left: 3px;
			}

			.header .search .search-icon{
				width: 15px;
				height: 15px;
				background: url('../i/spr15.png?v=4') -23px -45px;
				display: inline-block;
				position: relative;
   				top: 2px;
			}

			.header .search .suggestion-list{
				width: 230px;
				border-radius: 3px;
				-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.2);
				-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.2);
				box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.2);
				margin-top: 12px;
			}

			.header .search .suggestion-list .suggestion{
				color: #444;
			}

			.header .search .suggestion-list .suggestion:hover{
				background-color: #f6f6f6;
			}

		.header .center .user-block{
			position: absolute;
			display: block;
			top: 12px;
			right: 680px;
			width: 133px;
		}
		
		 .header .center .user-block IMG{
			 border-radius: 24px;
		 }
		 
		 .header .center .user-block SPAN{
			 position: absolute;
			 color: #000;
			 top: 9px;
			 font-size: 12px;
			 padding-left: 10px;
		 }
		 	.header .center .user-block:hover > SPAN{
		 		color: #7f7f7f;
		 	}

		 	.header .center .user-block:active > SPAN{
		 		color: #a5afb9;
		 	}
		 
		 .header .center .messages{
		 	position: absolute;
		 	display: block;
		 	top: 19px;
		 	right: 650px;
			width: 28px;
			height: 19px;
			color: #000;
			padding-left: 20px;
			font-size: 12px;
			padding-top: 2px;
		 }
		 	.header .center .messages:hover{color: #7f7f7f;}
		 	.header .center .messages:hover > SPAN{
		 		background-position: -2px -23px;
		 	}

		 	.header .center .messages SPAN{
		 		position: absolute;
		 		top: 0px;
		 		left: 0px;
			 	width: 18px;
			 	height: 18px;
			 	display: inline-block;
			 	background: url('../i/spr15.png?v=4') no-repeat -21px -23px;
		 	}
		 	
		  .header .center .events{
		 	position: absolute;
		 	display: block;
		 	top: 19px;
		 	right: 618px;
			width: 28px;
			height: 19px;
			color: #000;
			padding-left: 20px;
			padding-top: 3px;
			font-size: 12px;
		 }
		 	.header .center .events:hover{color: #7f7f7f;}
		 	.header .center .events:hover > SPAN{
		 		background-position: -42px -23px;
		 	}

		 	.header .center .events SPAN{
		 		position: absolute;
		 		top: 0px;
		 		left: 0px;
			 	width: 22px;
			 	height: 18px;
			 	display: inline-block;
			 	background: url('../i/spr15.png?v=4') no-repeat -64px -23px;
		 	}
		 	
		 .header  .menu{
		 	 display: block;
			 position: absolute;
			 right: 65px;
			 top: 0px;
		 }
		 .header .auth-menu{
		 	position: absolute;
		 	right: 15px;
		 	top: 0px;
		 }
		 	.header  .menu-item{
		 		color: #000;
			    display: block;
			    float: left;
			    font-size: 13px;
			    font-weight: bold;
			    height: 13px;
			    padding: 20px 10px 22px;
		 	}
		 		.header  .menu-item.vk-enter{
		 			font-size: 15px;
		 			margin-left: 20px;
		 		}

		 	.header .menu-item SPAN{
		 		background: url('../i/spr15.png?v=4') no-repeat -85px -64px;
		 		width: 9px;
		 		height: 5px;
		 		display: inline-block;
		 		left: 3px;
			    position: relative;
			    top: -1px;
		 	}

		 	.header .menu-item:hover{
		 		color: #7f7f7f;
		 	}

		 	.header .menu-item:active{
		 		color: #a5afb9;
		 	}
		 	
	 		.header .menu .add-photo{
		 		display: block;
			 	width: 66px;
			 	height: 36px;
			 	border-radius: 3px;
			 	float: left;
			 	margin-top: 9px;
			 	margin-right: 15px;
			 	background: #30a5d4;
			 }
			 	.header .menu .add-photo:hover{
			 		background: #2e9fcd;
			 	}

			 	.header .menu .add-photo:active{
			 		background: #2b9ac6;
			 	}

				.header .menu .add-photo SPAN{
					background: url('../i/add.png?v=3');
					width: 17px;
					height: 17px;
					position: absolute;
					top: 10px;
					left: 24px;
				}
		 
		.header .center .logo-icon{
			display: block;
			background: url('../i/avatan-plus-logo.png?v=4') no-repeat;
			height: 55px;
		    left: 0;
		    position: absolute;
		    top: 0;
		    width: 190px;
		}

.main-banner{
	width: 970px;
	background: #f6f6f6;
	padding: 15px 0px 10px 0px;
	margin-bottom: 10px;
	text-align: center;
	margin-left: -3px;
}

.main-banner.main-banner-bottom{
	margin-top: 15px;
	width: 970px;
	margin-left: -5px;
}

.intro{
	margin-top: 1px;
	position: relative;
}
	.intro .btn-holder{
		float: left;
		height: 250px;
		width: 380px;
		background: #d8e5ee;
		border-radius: 6px;
		position: relative;
	}
		.intro .btn-holder .btn{
			font-size: 16px;
			font-weight: 700;
			width: 224px;
			text-align: center;
			color: #fff;
			padding: 10px 52px;
			position: relative;
			top: 81px;
			left: 22px;
		}
			.intro .btn-holder .btn SPAN{
				display: inline-block;
				width: 18px;
				height: 16px;
				background: url("../i/spr15.png?v=4") no-repeat scroll -59px -4px;
				position: relative;
				left: -20px;
				top: 2px;
			}

	.intro .img-holder{
		display: block;
		float: left;
		position: relative;
		width: 500px;
		height: 280px;
		margin-left: 10px;
	}
			
	.intro .img{
		float: left;
		display: none;
		width: 285px;
		height: 250px;
		overflow: hidden;
		position: absolute;
		top: 0px;
		left: 0px;
}

.intro .img.img-0, .intro .img.img-1{
	display: block;
}
.intro .slide-switches{
	position: absolute; 
	top: 258px;
	right: 270px;
}

.intro .slide-switch{
	display: block;
	float: left;
	width: 8px;
	height: 8px;
	border-radius: 8px;
	background-color: #93b4d5;
	border: none;
	cursor: pointer;
	margin: 0px 4px;
}
.intro .slide-switch.active{
	background-color: #4a6582;
}

.intro .img.img-left{
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.intro .img.img-right{
	left: 286px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}
		.intro .img IMG{
			position:absolute;
		    left: -100%;
		    right: -100%;
		    top: -100%;
		    bottom: -100%;
		    margin: auto;
		    width: 130%;
		}

.btn-holder > SPAN{
	display: block;
	float: left;
	color: #000000;
	font-weight: bold;
	font-size: 13px;
	margin-top: 74px;
}

.btn-holder .open-photo{
	margin-left: 97px;
	position: relative;
}

.btn-holder .create-collage{
	margin-left: 10px;
	position: relative;
}

.btn-holder .blue-btn{
	display: block;
	width: 71px;
	height: 71px;
	border-radius: 34px;
	margin: 0px auto;
	margin-bottom: 16px;
}

.open-photo .blue-btn I{
	width: 43px;
    height: 34px;
    display: block;
    background-image: url(../i/spr17.png?v=5);
    background-position: -51px -416px;
    position: relative;
    margin: 0px auto;
    top: 16px;
}

.create-collage .blue-btn I{
	width: 29px;
    height: 34px;
    display: block;
    background-image: url(../i/spr17.png?v=5);
    background-position: -21px -416px;
    position: relative;
    margin: 0px auto;
    top: 18px;
}
		
/* auth form and reg form */


	.main .reg-form LABEL{
		display: inline-block;
		width: 74px;
		padding-right: 16px;
		text-align: right;
		font-weight: bold;
	}

	.main .reg-form .reg-agreement LABEL{
		display: inline-block;
    	font-weight: normal;
    	padding-right: 0px;
    	text-align: left;
    	width: auto;
	}
	
	.main .reg-form .text-field{
		font-size: 16px;
		border-radius: 4px;
		padding: 8px 11px;
		font-size: 14px;
		width: 440px;
		border: 1px solid #d3d3d3;
		margin-bottom: 22px;
	}
		.main .generic-form .text-field:focus{
			background: #f8f8f8;
		}
	
	.main .reg-form{
		width: 670px;
		margin-left: 160px;
		margin-top: 30px;
	}
		.main .reg-page H1{
			margin-bottom: 50px;
		}
	
	.main .reg-form .submit-btn{
		padding: 8px 44px;
		border: none;
		display: block;
		clear: left;
		margin: 0px auto;
		width: auto;
		margin-bottom: 32px;
	}
	
	.main .reg-form .reg-form-offset{
		position: relative;
		left: -37px;
	}

	.main .recovery-form{
		width: 670px;
		margin-left: 160px;
		margin-top: 60px;
	}
		.main .recovery-form H2{
			display: block;
			padding-top: 30px;
			font-size: 16px;
		}

	.main .recovery-form LABEL{
		display: inline-block;
		width: 500px;
		padding-right: 16px;
		text-align: right;
		margin-left: -250px
	}

	.main .recovery-form .text-field {
	    font-size: 16px;
	    border-radius: 4px;
	    padding: 8px 20px;
	    font-size: 13x;
	    width: 210px;
	    border: 1px solid #d3d3d3;
	    margin-bottom: 22px;
	    margin-left: 10px;
	}

	.main .recovery-form .submit-btn{
		padding: 8px 44px;
		border: none;
		text-align: center;
	}

	.main .recovery-form .error{
		color: rgba(42, 60, 100, 1);
		font-size: 11px;
		position: relative;
		top: -16px;
		padding-left: 0px;
	}

	
	.main .auth-form{
		margin-top: 20px;
		text-align: center;
	}
	
	.main .auth-form LABEL{
		display: inline-block;
		width: 100px;
		padding-right: 16px;
		text-align: right;
		margin-left: -113px
	}
	
	.main .auth-form .text-field{
		font-size: 16px;
		border-radius: 4px;
		padding: 8px 20px;
		font-size: 13x;
		width: 210px;
		border: 1px solid #d3d3d3;
		margin-bottom: 22px;
	}
		
	.main .auth-form .submit-btn{
		padding: 8px 44px;
		border: none;
		text-align: center;
	}
	
	.main .auth-form .auth-form-offset{
		position: relative;
		left: -38px;
	}
	
	.main .reg-form .error{
		color: rgba(42, 60, 100, 1);
		font-size: 11px;
		position: relative;
		top: -16px;
		padding-left: 90px;
	}
	
	.main .split-bar{
		width: 600px;
		height: 0px;
		border-bottom: 1px solid #fff;
		border-top: 1px solid #b8cdde;
		position: relative;
		left: -50px;
		margin-bottom: 30px;
	}
	
	.main .soc-enter-lbl{
		font-size: 18px;
		margin-top: 36px;
	}
.main .generic-form{
		padding-bottom: 24px;
	}
	
	.main .generic-form LABEL{
		width: 25%;
		font-size: 14px;
		float: left;
		clear: left;
		vertical-align: middle;
		position: relative;
		top: 5px;
	}
	
	.main .generic-form .error{
	    background: none repeat scroll 0 0 #fcc1c1;
	    border: 1px solid #f97171;
	    border-radius: 6px;
	    clear: left;
	    display: block;
	    font-size: 14px;
	    margin-bottom: 29px;
	    padding: 10px;
	    width: 58%;
	}
	
	.main .generic-form .description{
		float: left;
		font-size: 11px;
		color: #888;
		padding-left: 12px;
		width: 28%;
	}
	
	.main .generic-form .submit-btn{
		padding: 8px;
		color: #fff;
		font-size: 14px;
		background: #2573A7 url("../i/blue-grad.png?v=3") repeat-x scroll 0 0;
		border: 1px solid #155a88;
		display: block;
		clear: left;
		border-radius: 6px;
	}
	
	.reg-agreement{
		display: block;
		padding-bottom: 24px;
		float: none;
		clear: left;
		padding-left: 88px;
		line-height: 22px;
		font-size: 12px;
	}
	
		.main .auth-form .reg-agreement INPUT{
			vertical-align: middle;
    		position: relative;
   			bottom: 1px;
   			width: 15px;
   			height: 15px;
   		}
		.main .auth-form .reg-agreement LABEL{width: 135px;vertical-align: middle;}

		.main .recovery{
			font-size: 12px;
			color: #000000;
		}
	
	.main .social-buttons{
		margin-top: 24px;
		
	}
		.main .social-buttons A{
			width: 47px;
			height: 47px;
			display: inline-block;
			margin: 0px 4px;
		}
			.main .social-buttons .vk{
				background: url('../i/vk47x47.png?v=3') no-repeat 0 0;
			}
			
			.main .social-buttons .fb{
				background: url('../i/fb50.png?v=3') no-repeat 0 0;
			}
.main-block .progress, .middle-col .list .progress{
	text-align: center;
	display: none;
}
			
.main-block .progress SPAN, .middle-col .list .progress SPAN{
	width: 70px;
	height: 22px;
	background: url('../i/progress_new.gif');
	display: inline-block;
	margin-top: 10px;
}

.main-block .top-place{
	background: #fff;
	width: 956px;
	padding-bottom: 6px;
}
	.main-block .top-place.__hack, .main-block .list-middle-banner.__hack{
		width: 970px;
		margin-left: -4px;
	}
	.main-block .top-place H1{
		margin-left: 10px;
	}

.main-block .popular-tags{
	margin: 10px 0px;
	background: #fff;
	width: 936px;
	padding: 10px 10px;
	border-radius: 3px;
}
	.main-block .popular-tags.__hack{
		width: 941px;
	}
	.main-block .popular-tags A{
		display: inline-block;
		margin: 4px;
		font-size: 13px;
		color: #818181;
	}
		.main-block .popular-tags A:hover{
			text-decoration: none;
			color: #5d5d5d;
		}

.main-block .list-middle-banner{
	background: #fff;
	margin-top: 10px;
	text-align: center;
	width: 970px;
	padding: 10px 0px 8px 0px;
	margin-left: -6px;
}
	.main-block .list-middle-banner.__vk{
		height: 130px;
	    padding: 0 0 0 58px;
	    width: 898px;
	    margin-left: 0px;
	}
		.main-block .list-middle-banner.__vk.__hack{
			width: 902px;
			margin-left: 0px;
		}

.main-block .list-middle-banner._b-margin{
	margin-top: 0px;
	margin-bottom: 10px;
}

.main.add-photo-page{
	margin: 0px;
	padding-top: 5px;
}
	.add-photo-page .progress{
			width: 64px;
			height: 64px;
			background: url('../i/progress.gif');
			display: none;
			position: absolute;
			top: 340px;
			left: 365px;
			margin-top: 10px;
		}
	
	.add-photo-page .placeholder{
		width: 800px;
		text-align: center;
		margin: 100px auto;
		margin-bottom: 10px;
		position: relative;
	}

	.add-photo-page .placeholder H1{
		text-align: center;
		font-size: 16px;
		margin-top: 30px;
		color: #000;
		line-height: 70px;
	}
	
	.add-photo-page .placeholder H2{
		font-size: 16px;
		margin-top: 30px;
		color: #444;
	}

	.add-photo-page .placeholder H3{
		font-size: 14px;
		margin-top: 20px;
		margin-bottom: 50px;
		color: #444;
	}

	.add-photo-page .placeholder .image{
		width: 200px;
		height: 166px;
		display: inline-block;
		background: url('../i/add-photo-btn-old.png?v=3');
	}

	.add-photo-page .add-photo-file{
		cursor: pointer;
		width: 820px;
		position: absolute;
		top: -10px;
		left: -10px;
		height: 400px;
		opacity: 0;
	}
	
			  
.flatpage H1{
	display: block;
	font-size: 16px;
	margin-top: 30px;
	margin-bottom: 12px;
}

.flatpage A{
	color: #000000;
	text-decoration: underline;
}
				
.main{
	width: 971px;
	margin: 50px auto 0;
	z-index: 5;
	position: relative;
	min-height: 800px;
}
	.main .profile-header{
		position: relative;
		margin-bottom: 10px;
	}

	.main .profile-friend-btn{
		left: 171px;
    	padding: 10px 8px;
   	 	position: absolute;
   		bottom: 12px;
   		text-decoration: none;
   		min-width: 104px;
   		text-align: center;
	}

	.main .profile-cover{
		width: 955px;
		min-height: 153px;
		background: #ececec;
	}

	.main .profile-block-user{
		position: absolute;
		top: 16px;
    	left: 16px;
		color: #ffffff;
		text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.43);
	}

	.main .profile-header-userpic{
		width: 150px;
		height: 150px;
		border-radius: 90px;
		overflow: hidden;
		position: absolute;
		bottom: 13px;
		left: 13px;
		text-align: center;
		background: #fff;
	}
		.main .profile-header-userpic-text{
			position: absolute;
			bottom: 0px;
			left: 0px;
			width: 150px;
			padding: 0px 0px;
			background: #191919;
			opacity: 0.7;
			color: #fff;
			text-align: center;
			font-size: 11px;
			-webkit-transition: all .15s ease-in-out;
	        -moz-transition: all .15s ease-in-out;
	        -ms-transition: all .15s ease-in-out;
	        -o-transition: all .15s ease-in-out;
	        transition: all .15s ease-in-out;
	        height: 0px;
	        overflow: hidden;
		}
			.main .profile-header-userpic:hover > .profile-header-userpic-text{
				height: 11px;
				padding: 10px 0px;
			}
		.main .profile-header-userpic IMG{
			display: block;
			width: 150px;
			height: 150px;
		}

		.main .profile-header-userpic IMG.__version1{
			display: block;
			width: auto;
			/*height: auto;*/
			margin-left: auto;
   			margin-right: auto;
		}

		.main .profile-header .profile-username{
			color: #fff;
			font-size: 18px;
			position: absolute;
			bottom: 62px;
			left: 174px;
			text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.43);
		}

		.main .profile-change-cover-button{
			display: inline-block;
			position: absolute;
			right: 26px;
    		top: 10px;
			padding: 8px 12px 6px;
			background: #191919;
			font-size: 13px;
			opacity: 0;
			color: #fff;
			border-radius: 3px;
			-webkit-transition: all .15s ease-in-out;
	        -moz-transition: all .15s ease-in-out;
	        -ms-transition: all .15s ease-in-out;
	        -o-transition: all .15s ease-in-out;
	        transition: all .15s ease-in-out;
		}
			.main .profile-cover:hover > .profile-change-cover-button{
				opacity: 0.7;
			}

		.__userpic-icon{
			background: url('../i/userpic-icon.png?v=3');
			display: inline-block;
			width: 17px;
			height: 15px;
			vertical-align: middle;
			position: relative;
			top: -2px;
			margin-right: 3px;
		}
	
	.main .left-col{
		width: 178px;
		margin-left: 0px;
		float: left;
		padding-right: 9px;
	}
		.main .left-col .user-block{
			background: #d9e5ec;
			height: 78px;
		}
			.main .left-col .user-block IMG{
				display: block;
				position: absolute;
				top: 13px;
				height: 75px;
				width: 75px;
				border-radius: 40px;
				border: 3px solid #fff;
				left: 48px;
			}
			
			.main .left-col .user-block SPAN{
				position: absolute;
				top: 94px;
				left: 0px;
				font-size: 14px;
				color: #000;
				width: 178px;
				line-height: 20px;
				text-align: center;
			}
		.main .left-col .user-btns{
			border: 1px solid #e4e4e4;
			border-top: none;
			padding: 45px 5px 7px;
			padding-bottom: 7px;
			background-color: #fff;
		}
			.main .profile-header .send-message{
				height: 30px;
				position: absolute;
				right: 23px;
				top: 9px;
				width: 50px;
			}
			
				.main .profile-header .send-message SPAN{
					position: absolute;
					background: url('../i/spr17.png?v=5') no-repeat 0px -42px;
					width: 28px;
					height: 18px;
					left: 15px;
					top: 7px;
					display: block;
				}
			
			.main .left-col .user-btns .friend-add, .main .left-col .user-btns .friend-remove{
				float: left;
				width: 109px;
				font-size: 12px;
				padding: 9px 0px;
				text-align: center;
				margin-left: 5px;
				position: relative;
				height: 12px;
			}

			.left-col .assets .cats{
				margin-top: 10px;
			}
				.left-col .assets .cats A{
					display: block;
					font-size: 13px;
					padding: 10px 0 10px 40px;
					color: #31597c;
					position: relative;
					cursor: pointer;
					border-radius: 3px;
					margin-top: 1px;
				}
					.left-col .assets .cats .active{
						background: #000000;
						color: #fff;
					}
					
					.left-col .assets .cats A:hover{
						text-decoration: none;
						background: #000000;
						color: #fff;
					}
					
					.left-col .assets .cats SPAN{
						position: absolute;
						top: 7px;
						left: 10px;
						background: url('../i/spr17.png?v=5');
						width: 18px;
						height: 18px;
					}
						.left-col .assets .cats .link-effects SPAN{
							background-position: -46px -188px;
    						width: 23px;
						}
						
						.left-col .assets .cats .link-textures SPAN{
							background-position: -71px -187px;
						}

						.left-col .assets .cats .link-photos SPAN{
							background-position: -4px -62px;
						}
						
						.left-col .assets .cats .link-stickers SPAN{
							background-position: -45px -209px;
						}
						
						.left-col .assets .cats .link-frames SPAN{
							background-position: -70px -208px;
						}

						.left-col .assets .cats .link-backgrounds SPAN{
							background-position: -45px -230px;
						}
					
			.left-col .assets .split{
				background: #c8d5e5;
				width: 178px;
				height: 1px;
				margin-top: 17px;
				display: none;
			}
			
			.left-col .assets .new-asset{
				width: 178px;
				height: 81px;
				background: url('../i/new-collection.png?v=3') no-repeat 0px 0px;
				margin-top: 10px;
				position: relative;
				cursor: pointer;
			}
				.left-col .assets .new-asset:hover{
					background-position: 0px -82px;
				}
				.left-col .assets .new-asset .plus{
					width: 13px;
					height: 13px;
					background: url('../i/spr17.png?v=5') -10px -27px;
					position: absolute;
					top: 18px;
					left: 80px;
				}
				
				.left-col .assets .new-asset .label{
					color: #4d72a6;
					width: 176px;
					display: block;
					text-align: center;
					position: absolute;
					top: 40px;
					left: 0px;
				}
			
			.left-col .assets .asset{
				position: relative;
				width: 178px;
				height: 120px;
				cursor: pointer;
				margin-top: 10px;
				overflow: hidden;
				display: block;
			}
				.left-col .assets .asset IMG{
					width: 100%;
				}
				
				.left-col .assets .asset .bar{
					display: block;
	                height: 20px;
	                width: 100%;
					position: absolute;
					background: #000;
					opacity: 0.5;
					color: #fff;
					bottom: 0px;
					left: 0px;
				}
				
				.left-col .assets .asset .name{
					position: absolute;
					font-size: 12px;
					font-weight: bold;
					color: #fff;
					bottom: 4px;
					left: 7px;
				}
				
				.left-col .assets .asset .edit{
					width: 20px;
					height: 20px;
					position: absolute;
					top: 4px;
					right: 4px;
					background: url('../i/spr17.png?v=5') -1px 0px;
					display: none;
				}
					.left-col .assets .asset:hover > .edit{
						display: block;
					}
					
				.left-col .assets .asset-empty .cover{
					background: #d8e5ed;
					width: 178px;
					/*height: 100%;*/
				}

				.left-col .assets .asset-empty DIV.cover{
					background: url('../i/asset_empty.png?v=3');
					width: 178px;
					height: 120px;
				}

				.left-col .assets .asset.__with-image{
					background: #d8e5ed;
				}

				.left-col .assets .separator{
					margin-top: 10px;
					width: 178px;
					height: 1px;
					background: #000000;
				}

				.left-col .assets .asset.__psd-bkg.__with-image{
					background: url("../i/ps-bkg.png?v=3");
				}

					.left-col .assets .asset-empty .cover SPAN{
						position: absolute;
						background: url('../i/spr17.png?v=5') -30px -29px;
						width: 38px;
						height: 31px;
						left: 70px;
						top: 37px;
					}
				

		.main .middle-col{
			width: 598px;
			float: left;
			position: relative;
			min-height: 1px;
		}
			.main .middle-col .profile-top-banner{
				margin-bottom: 10px;
			}

			.main .middle-col .feed-adv{
				background: #fff;
				border-radius: 3px;
				text-align: center;
				margin: 25px 0px;
				padding-bottom: 10px;
			}
				.main .middle-col .feed-adv .title{
					color: #444;
					font-size: 13px;
					text-align: left;
					padding: 10px;
				}
			
			.main .profile-header .tabs.bordered{
				overflow: hidden;
				height: 54px;
				background: #ffffff;
				padding-left: 300px;
    			width: 655px;
				margin-top: -2px;
				border-bottom-right-radius: 3px;
				border-bottom-left-radius: 3px;
			}

				.main .profile-header .tabs.bordered.__margin{
					padding-left: 302px;
    				width: 653px;
				}
				.main .profile-header .tabs A, .main .resource-type-sel A{
					z-index: 2;
					padding: 20px 16px 21px 16px;
					text-transform: lowercase;
					display: inline-block;
					color: #444444;
					/*font-weight: 600;*/
					font-size: 13px;
					border-left: 1px solid #ededed;
					background: #ffffff;
				}

				.main .profile-header .tabs A._fav{
					padding: 8px 0px 0px 0px;
					height: 54px;
					margin-left: -5px;
				}

				.main .profile-header .tabs A._fav SPAN{
					display: inline-block;
					background: url('../i/spr17.png?v=5') no-repeat -65px -354px;
					width: 25px;
					height: 24px;
					position: relative;
					top: 6px;
					left: 20px;
				}

				.main .profile-header .tabs A:hover, .main .resource-type-sel A:hover{
					text-decoration: none;
				}
				
				.main .profile-header .tabs .last{
					padding-right: 21px;
					border-right: none;
				}
				
				.main .profile-header .tabs .active, .main  .resource-type-sel .active{
					background: #ffffff;
					color: #000000;
					font-weight: bold;
				}
		.main .middle-col .col-block{
			display: none;
		}

		.main .middle-col .list-header{
			border-radius: 3px;
			min-height: 34px;
			background: #fff;
			padding: 10px;
			margin-bottom: 10px;
		}
			.main .middle-col .list-header-cover{
				display: inline-block;
				/*background: url('../i/ps-bkg.png?v=3');*/
				vertical-align: middle;
				margin-right: 6px;
			}

				.main .middle-col .list-header-cover IMG{
					height: 32px;
					border-radius: 3px;
				}

			.main .middle-col .list-header-title{
				vertical-align: middle;
				position: relative;
				top: -3px;
			}
				.main .middle-col .list-header-title.offset{
					top: 8px;
				}

			.main .middle-col .list-header-add-btn{
				border: medium none;
			    float: right;
			    font-weight: bold;
			    padding: 9px 16px 10px;
			}

			.main .middle-col .list-header-progress{
				float: right;
				display: none;
				background: url('../i/progress_new_white.gif');
				background-size: cover;
				width: 54px;
				height: 34px;
				margin-right: 10px;
			}
		
		.collection-list{
			width: 293px;
			float: left;
			border-top: 1px solid #c8d5e5;
		}
		
		.collection-list.rightcol{
			border-left: 1px solid #c8d5e5;
		}
			.collection-list .collection-elem{
				padding: 22px 48px;
				border-bottom: 1px solid #c8d5e5;
			}
				.collection-list .collection-elem IMG{
					height: 150px;
					width: 200px;
				}
		
			.main .elem{
				/*border: 1px solid #cacaca;*/
				padding: 1px;
				padding-bottom: 34px;
				position: relative;
				margin-bottom: 10px;
				text-align: center;
			}
				.main .elem .photo{
					display: block;
				}
				
				.main .elem.effect .photo{
					display: inline-block;
					vertical-align: middle;
					margin: 0 auto;
				}
				
				.main .elem.effect .photo IMG{
					max-width: 112px;
				}
				
				.main .elem .info{
					position: absolute;
					bottom: 40px;
					left: 0px;
					margin-top: 10px;
				}
					.main .elem .info .upic{
						width: 30px;
						height: 30px;
						display: inline-block;
						border-radius: 15px;
						position: absolute;
						top: 0px;
						left: 0px;
					}
					
					.main .elem .info .title{
						left: 36px;
						top: 1px;
						font-weight: bold;
						color: #000;
						font-size: 13px;
						display: block;
						text-align: left;
						margin-left: 35px;
					}
					
					.main .elem .info .author{
						color: #000000;
						font-size: 12px;
						left: 36px;
						top: 17px;
						display: block;
						text-align: left;
						margin-left: 35px;
					}
				
				.main .elem .params{
					position: absolute;
					bottom: 8px;
					right: 8px;
					width: 250px;
					text-align: right;
				}
					.main .elem .params DIV{
						color: #7f7f7f;
						font-size: 12px;
						display: inline-block;
						padding-left: 8px;
					}
						.main .elem .params SPAN{
							background: url('../i/photo-list-spr.png?v=3') no-repeat;
							height: 13px;
							width: 12px;
							display: inline-block;
							position: relative;
							top: 2px;
							margin-right: 5px;
						}
						
						
						.main .elem .params .like SPAN{
							background-position: -14px 0px;
							width: 14px;
						}
						
						.main .elem .params .com SPAN{
							background-position: -30px 0px;
							width: 15px;
						}
						
		.main .right-col{
			float: left;
			width: 160px;
			margin-left: 10px;
		}
		
		/* main page */
		
		.main .banner-main{
			margin-top: 60px;
		}
		
		.main .main-block{
			padding-bottom: 30px;
			position: relative;
			margin-top: 20px;
			margin-left: 0px;
			margin-right: 0px;
		}

		.main .main-block.front-block{
			margin: 20px 0px 0px 0px;
			padding: 0px 16px 20px 16px;
		}
		
		/* friend list */
		
		.main .middle-col .friends-header, .main .middle-col .events-header{
			background: #d8e4f0;
			padding: 14px 0px 10px 12px;
			font-size: 14px;
			position: relative;
		}
		
		.main .middle-col .friends-header B, .main .middle-col .events-header B{
			font-weigh: 600;
		}
		
		.main .middle-col .event-row{
			padding: 20px 0px;
			position: relative;
		}
			.main .middle-col .event-row-wrap{
				float: left;
				margin-top: 40px;
				width: 430px;
				padding-left:30px;
				
			}
			
			.main .middle-col .event-row A{
				color: #5285bd;
				text-decoration: underline;
			}
			
			.main .middle-col .event-row-date{
				color: #888;
				font-size: 11px;
				position: absolute;
				left: 130px;
				top: 36px;
			}
			.main .middle-col .event-short-text{
				color: #555;
				font-size: 12px;
				margin-top: 11px;
			}
			
			.main .middle-col .event-row IMG{
				width: 100px;
				height: 100px;
				border-radius: 50px;
				float: left;
			}
		
		.main .middle-col .unapproved-header, .main .middle-col .approved-header{
			font-size: 15px;
			color: #5285bd;
			font-style: italic;
			margin-top: 24px;
			margin-left: 10px;
		}
			.main .middle-col .approved-header{
				color: #000;
				font-size: 17px;
				font-style: normal;
			}
		
		.main .middle-col .friend-row{
			height: 52px;
			margin-top: 20px;
			position: relative;
			padding-left: 10px;
		}
			.main .middle-col .friend-row IMG{
				width: 50px;
				height: 50px;
			}
			
			.main .middle-col .friend-row .friend-fio{
				display: block;
				color: #5285bd;
				position: absolute;
				left: 67px;
				top: 5px;
				font-size: 13px;
			}
			
			.main .middle-col .friend-row .status-text{
				color: #454545;
				font-size: 13px;
				font-style: italic;
				top: 27px;
				left: 67px;
				position: absolute;
			}
				.main .middle-col .friend-row .status-text A{
					color: #5285bd;
					font-size: 12px;
					text-decoration: underline;
				}
			
			.main .middle-col .friend-row .friend-btns{
				top: 5px;
				position: absolute;
				right: 0px;
			}
				.main .middle-col .friend-row .friend-btns SPAN{
					background-image: url('/i/friends-btns.png?v=3');
					display: inline-block;
					margin-left: 10px;
					cursor: pointer;
				}
				
				.main .middle-col .friend-row .confirm-friend{
					width: 112px;
					height: 29px;
				}
				
				.main .middle-col .friend-row .delete-friend{
					width: 112px;
					height: 29px;
					background-position: 0px -29px;
				}
				
				.main .middle-col .friend-row .decline-friend{
					width: 112px;
					height: 29px;
					background-position: 0px -58px;
				}
		
		/* messages history */
		
		.main .middle-col .msg-header{
			background: #f7f7fa none repeat scroll 0 0;
			padding: 14px 0px 10px 12px;
			font-size: 14px;
			position: relative;
		}
		
		.main .middle-col .msg-header B{
			font-weigh: 600;
		}
		
		.main .middle-col .msg-header .username{
			display: block;
			font-size: 12px;
			color: #000;
			margin-top: 4px;
		}
		
		.main .middle-col .msg-header .back{
			position: absolute;
			top: 22px;
			right: 12px;
			color: #000000;
		}
		
		.main .middle-col .msg-header .new-msg{
			position: absolute;
			top: 11px;
			right: 12px;
			color: #000000;
			width: 112px;
			height: 30px;
			background: url('../i/new-msg-btn.png?v=3');
		}
		
		.main .middle-col .msg-header.list{
			padding: 20px 0px 20px 12px;
		}
		
			.main .middle-col .messages{
				border-top: 1px solid #b8cadc;
				padding: 5px 10px 50px 10px;
				height: 300px;
				overflow: scroll;
				background: #fff none repeat scroll 0 0;
			}
			.main .middle-col .messages .message{
				border: 1px solid #b8cadc;
				border-radius: 5px;
				position: relative;
				margin-left: 47px;
				margin-top: 11px;
				margin-bottom: 20px;
				padding: 8px 11px 14px 11px;
			}
			
			.main .middle-col .messages .message.author{
				margin-left: 68px;
			}
			
			.main .middle-col .messages .message.author .msg-avatar{
				top: 0px;
				left: -65px;
			}
			
				.main .middle-col .messages .message .arrow{
					display: block;
					width: 8px;
					height: 12px;
					background: url('../i/msg-left-arrow.png?v=3');
					position: absolute;
					top: 10px;
					left: -8px;
				}
				
				.main .middle-col .messages .message .msg-avatar{
					display: block;
					position: absolute;
					top: 0px;
					left: -49px;
					width: 32px;
					height: 32px;
					border-radius: 16px;
				}
					.main .middle-col .messages .message .msg-avatar.big{
						
						top: -10px;
						left: -49px;
					}
				
				.main .middle-col .messages .message .text{
					font-size: 12px;
					font-family: 'Tahoma', sans-serif;
					line-height: 16px;
					margin-top: 14px;
				}
				
				.main .middle-col .messages .message .username{
					font-size: 12px;
					font-family: 'Tahoma', sans-serif;
					line-height: 16px;
					color: #000000;
				}
				
				.main .middle-col .messages .message .date{
					font-size: 11px;
					color: #000000;
					position: absolute;
					top: 10px;
					right: 60px;
				}
				
				.main .middle-col .messages .message .delete-msg{
					display: block;
					width: 8px;
					height: 8px;
					background: url('../i/msg-delete.png?v=3');
					position: absolute;
					top: 9px;
					right: 12px;
				}
				
				.main .middle-col .messages-list{
					border: 1px solid #b8cadc;
					padding: 5px 10px 30px 10px;
					background: #fff none repeat scroll 0 0;
					overflow: scroll;
				}

			.main .middle-col .messages-list .message{
				display: block;
				border: 1px solid #b8cadc;
				border-radius: 5px;
				position: relative;
				margin-left: 190px;
				margin-top: 11px;
				padding: 30px 11px 14px 11px;
			}

			.main .middle-col .messages-list .message .unreaden{
				font-size: 10px;
			    left: -125px;
			    position: absolute;
			    top: 54px;
			}
			
			.main .middle-col .messages-list .message.notify{
				background: #f1f4f7;
			}
			
			.main .middle-col .messages-list .message.own{
				padding: 13px 11px 14px 11px;
			}
				.main .middle-col .messages-list .message.own .inner{
					position: relative;
					margin-left: 48px;
				}
					.main .middle-col .messages-list .message.own .inner SPAN{
						display: block;
						font-size: 11px;
						color: #000000;
					}
					
					.main .middle-col .messages-list .message.own .inner .own-avatar{
						position: absolute;
						top: 0px;
						left: -40px;
					}
			
			
				.main .middle-col .messages-list .message .arrow{
					display: block;
					width: 8px;
					height: 12px;
					background: url('../i/msg-left-arrow.png?v=3');
					position: absolute;
					top: 10px;
					left: -8px;
				}
				
					.main .middle-col .messages-list .message.notify .arrow{
						background: url('../i/msg-left-arrow-dark.png?v=3');
						width: 7px;
						height: 12px;
						left: -7px;
					}
				
				.main .middle-col .messages-list .message .msg-avatar{
					position: absolute;
					top: 0px;
					left: -191px;
					width: 50px;
					height: 50px;
					border-radius: 25px;
				}
				
				.main .middle-col .messages-list .message .username{
					position: absolute;
					top: 0px;
					left: -125px;
					width: 69px;
					color: #000000;
					font-size: 12px;
					line-height: 18px;
				}
				
				.main .middle-col .messages-list .message .date{
					position: absolute;
					top: 36px;
					left: -125px;
					
					color: #7e7e7e;
					font-size: 11px;
					line-height: 18px;
				}
				
				.main .middle-col .messages-list .message .new-messages{
					position: absolute;
					top: 60px;
					left: -191px;
					width: 16px;
					height: 11px;
					background: url('../i/msg-list-env.png?v=3') no-repeat;
					padding-left: 19px;
					color: #000000;
					font-size: 12px;
				}
				
				.main .middle-col .messages-list .message .text{
					font-size: 12px;
					font-family: 'Tahoma', sans-serif;
					line-height: 16px;
					margin-top: 14px;
					color: #333;
				}
				
				
				
				.main .middle-col .messages .message .delete-msg{
					display: block;
					width: 8px;
					height: 8px;
					background: url('../i/msg-delete.png?v=3');
					position: absolute;
					top: 9px;
					right: 12px;
				}

				
				.main .middle-col .send-msg{
					position: relative;
					background: #d9e4f0;
					height: 170px;
					margin-bottom: 100px;
				}
					.main .middle-col .send-msg .user-avatar{
						position: absolute;
						top: 12px;
						left: 12px;
					}
					
					.main .middle-col .send-msg .msg-area{
						position: absolute;
						top: 12px;
						left: 10px;
						border: 1px solid #b8cadc;
						border-radius: 5px;
						line-height: 16px;
						font-family: 'Tahoma', sans-serif;
						font-size: 12px;
						padding: 12px;
						width: 541px;
						height: 79px;
						resize: none; 
						background: #fff;
					}
					
					.main .middle-col .send-msg .submit-btn{
						position: absolute;
						bottom: 13px;
						left: 10px;
						padding: 7px 10px;
						border: none;
					}
					
					.main .middle-col .send-msg .arrow{
						width: 12px;
						height: 7px;
						position: absolute;
						background: url('../i/msg-down-arrow.png?v=3');
						top: 108px;
						left: 132px;
					}
					
					.main .middle-col .send-msg .smiles-btn{
						width: 69px;
						height: 16px;
						position: absolute;
						background: url('../i/msg-smiles-btn.png?v=3');
						
						bottom: 20px;
						right: 10px;
					}
					
					.main .middle-col .smiles-holder{
						display: none;
						position: absolute;
						top: 154px;
						left: 462px;
						padding: 6px;
						background: #fff;
						border: 1px solid #ddd;
						width: 101px;
						height: 94px;
						border-radius: 4px;
						z-index: 100;
					}
						.main .middle-col .smiles-holder .smile{
							margin: 3px;
						}
					
					.smile{
						background: url('../i/smiles.png?v=3') no-repeat -30px -30px;
						width: 16px;
						height: 16px;
						cursor: pointer;
						display: inline-block;
					}
						.smile-1{background-position: -6px -5px;}
						.smile-2{background-position: -30px -5px;}
						.smile-3{background-position: -54px -5px;}
						.smile-4{background-position: -78px -5px;}
						.smile-5{background-position: -102px -5px;}
						.smile-6{background-position: -126px -5px;}
						.smile-7{background-position: -150px -5px;}
						.smile-8{background-position: -174px -5px;}
						.smile-9{background-position: -6px -29px;}
						.smile-10{background-position: -30px -29px;}
						.smile-11{background-position: -54px -29px;}
						.smile-12{background-position: -78px -29px;}
						.smile-13{background-position: -102px -29px;}
						.smile-14{background-position: -126px -29px;}
						.smile-15{background-position: -150px -29px;}
						.smile-16{background-position: -174px -29px;}
						
					
			.main .left-col .friends{
				padding-bottom: 20px;
				position: relative;
				background: #fff;
				border-radius: 3px;
			}

				.main .left-col .friends.__2nd{
					margin-top: 10px;
				}
			
				.main .left-col .friends .friends-header{
					padding-bottom: 3px;
					padding-left: 8px;
					padding-top: 8px;
					font-size: 13px;
				}
					.main .left-col .friends .friends-header A{
						font-size: 13px;
						color: #000000;
						font-weight: normal;
					}
						.main .left-col .friends .friends-header A:hover{
							text-decoration: underline;
						}
				.main .left-col .friends IMG{
					display: inline-block;
					margin: 3px;
					position: relative;
					left: 4px;
					top: 8px;
					width: 50px;
					height: 50px;
					border-radius: 64px;
				}
				
				.main .left-col .friends .more{
					display: none;
					position: absolute;
					bottom: 20px;
					right: 10px;
					color: #000000;
					text-decoration: underline;
					font-size: 12px;
				}

			.main .left-col .under-friends-ad{
				margin-top: 10px;
				position: relative;
				top: 0px;
				left: -1px;
			}
				
				
		/* profile */
		
		.avatar-overlay{
			
		}
		
			.avatar-overlay .overlay-header{
				height: 48px;
				position: relative;
				width: 600px;
				background: url('../i/filter-overlay-hdr.png?v=3');
				border-radius: 5px 5px 0px 0px;
				z-index: 10000;
			}
			
		.avatar-overlay .overlay-header SPAN{
			position: absolute;
			font-size: 18px;
			color: #fff;
			top: 14px;
			left: 14px;
			font-weight: 300;
			z-index: 10000;
		}
			.avatar-overlay .overlay-header .close{
				width: 13px;
				height: 13px;
				position: absolute;
				top: 16px;
				right: 14px;
				cursor: pointer;
				background: url('../i/overlay-close.png?v=3');
				z-index: 10000;
			}

		.main .profile-form{
			background: #d8e5ee;
			padding-bottom: 30px;
		}

		.main .profile-form .input-text{
			padding: 6px 12px;
			width: 300px;
			border: 1px solid #d3d3d3;
			border-radius: 4px;
			font-size: 13px;
		}
			.main .profile-form .error{
				color: red;
				font-size: 12px;
				margin-top: 8px;
			}
			
			.main .profile-form .blue-btn{
				border: none;
				padding: 10px 40px;
				margin-left: 20px;
			}
			.main .profile-form H1{
				padding-top: 30px;
				margin-bottom: 20px;
				margin-left: 20px;
				font-size: 22px;
				font-weight: normal;
			}
			
			.main .profile-form .row{
				padding: 4px 0px;
				margin: 0px 20px 10px 20px;
			}
				.main .profile-form .generic-label{
					width: 150px;
					display: block;
					text-align: left;
					margin-right: 10px;
					font-size: 13px;
					margin-bottom: 10px;
				}
				.main .profile-form .vis{
					margin-top: 8px;
					display: none;
				}
					.main .profile-form .vis LABEL{
						margin-right: 12px;
						font-size: 13px;
					}
		
		.main .middle-col .profile{
			border-bottom: 1px solid #b9cbdc;
			padding-bottom: 26px;
			margin-top: 30px;
		}
			.main .middle-col .profile .profile-left{
				float: left;
				width: 276px;
				margin-left: 12px;
				position: relative;
			}
				
				.main .middle-col .profile .profile-left .delete-avatar, .main .middle-col .profile .profile-left #upload-avatar{
					display: block;
					font-size: 12px;
					color: #555;
					text-align: center;
					width: 100%;
					
				}
				
				.main .middle-col .profile IMG{
					max-width: 276px;
					cursor: pointer;
				}

				.main .middle-col .profile .avatar-text{
					padding: 10px 0px;
					background-color: #222;
					color: #fff;
					font-size: 12px;
					text-align: center;
					position: relative;
					top: -34px;
					opacity: 0.5;
				}

				.main .middle-col .profile #upload-avatar-image-over{
					position: absolute; 
					top: 0px; 
					left: 0px; 
					width: 276px; 
					height: 500px;
					cursor: pointer;
				}
			
			.main .middle-col .profile .profile-right{
				float: left;
				width: 262px;
				margin-left: 24px;
			}
				.main .middle-col .profile .profile-right H1{
					font-weight: normal;
					font-size: 16px;
				}
				
				.main .middle-col .profile .profile-right .nickname{
					font-size: 12px;
					color: #7f7f7f;
					font-family: 'Tahoma', sans-serif;
					margin-top: 4px;
					border-bottom: 1px solid #b9cbdc;
					padding-bottom: 20px;
				}
				
				.main .middle-col .profile .profile-right .birthday{
					margin-top: 12px;
					font-family: 'Tahoma', sans-serif;
					font-size: 12px;
					color: #000;
					font-weight: bold;
				}
					.main .middle-col .profile .profile-right .birthday SPAN{
						color: #000;
						font-family: inherit;
						font-weight: normal;
					}
					
				.main .middle-col .profile .profile-right .about{
					font-size: 12px;
					font-family: 'Tahoma', sans-serif;
					margin-top: 24px;
					line-height: 16px;
					padding-bottom: 19px;
					margin-bottom: 4px;
					color: #000;
				}
					.main .middle-col .profile .profile-right .about B{
						color: #000;
					}
					
					.main .middle-col .profile A{
						color: #4f81b6;
						font-family: inherit;
					}
						.main .middle-col .profile A:hover{
							text-decoration: underline;
						}
				
				.main .middle-col .profile .profile-right .contacts{
					margin-top: 18px;
					font-size: 12px;
					font-family: 'Tahoma', sans-serif;
					color: #000;
					font-weight: bold;
				}
					.main .middle-col .profile .profile-right .contacts SPAN{
						color: #000;
						font-family: inherit;
						font-weight: normal;
					}
		.main .middle-col .profile-news H2{
			font-size: 14px;
			font-weight: normal;
			margin-top: 20px;
			padding-bottom: 6px;
		}
		
		.main .middle-col .profile-news .news{
			border: 1px solid #b8cadc;
			margin-top: 10px;
			width: 588px;
			position: relative;
			padding: 2px;
		}
			.main .middle-col .profile-news .news .left{
				float: left;
				width: 276px;
				text-align: center;
			}
				.main .middle-col .profile-news .news .left IMG{
					vertical-align: center;
					max-width: 135px;
				}
			
			.main .middle-col .profile-news .news .right{
				float: left;
				margin-left: 12px;
				width: 276px;
				position: relative;
			}
				.main .middle-col .profile-news .news .right .name{
					color: #000000;
					margin-top: 8px;
					text-decoration: underline;
				}
				
				.main .middle-col .profile-news .news .right .news-type{
					color: #929292;
					margin-top: 8px;
					font-size: 11px;
				}
				
				.main .middle-col .profile-news .news .right .author{
					color: #929292;
					margin-top: 8px;
					font-size: 11px;
				}
					.main .middle-col .profile-news .news .right .author A{
						color: #000000;
					}
				
				.main .middle-col .profile-news .news .params{
					position: absolute;
					bottom: 5px;
					right: 5px;
					width: 250px;
					text-align: right;
				}
					.main .middle-col .profile-news .news .params DIV{
						color: #7f7f7f;
						font-size: 12px;
						display: inline-block;
						padding-left: 8px;
					}
						.main .middle-col .profile-news .news  .params SPAN{
							background: url('../i/photo-list-spr.png?v=3') no-repeat;
							height: 13px;
							width: 12px;
							display: inline-block;
							position: relative;
							top: 2px;
							margin-right: 5px;
						}
						
						
						.main .middle-col .profile-news .news .params .like SPAN{
							background-position: -14px 0px;
							width: 14px;
							
						}
						
						.main .middle-col .profile-news .news .params .com SPAN{
							background-position: -30px 0px;
							width: 15px;
						}
				
/* detail page */

.detail-modal .detail-left{
	margin-top: 25px;
	margin-bottom: 75px;
}

.detail-top-banner{
	text-align: left;
	margin-top: 10px;
	margin-bottom: -10px;
}

	.detail-top-banner.flatpage-banner{
		margin-top: 68px;
		margin-bottom: 10px;
	}

.detail-left{
	width: 654px;
	float: left;
	background: #fff;
	/*
	border-left: 1px solid #d6e3f6;
	border-right: 1px solid #d6e3f6;
	*/
}
	.detail-left .detail-banner{
   		padding: 5px;
		background: #d8e5ee;
		height: 130px;
	}
		.detail-left .detail-banner.with-height{
			height: auto;
		}
	.detail-left .effect-btns{
		padding: 12px 12px 6px;
		position: relative;
		height: 35px;
	}
	
	.detail-left .apply-to-photo, .detail-left .apply-resource{
		cursor: pointer;
		padding: 15px 45px 17px 50px;
		position: relative;
		color: #fff;
		float: left;
	}
		
		.detail-left .apply-to-photo .arrow-left, .detail-left .apply-resource .arrow-left{
			width: 14px;
			height: 14px;
			position: absolute;
			top: 15px;
			left: 20px;
			background: url('../i/spr15.png?v=4') no-repeat -59px -5px;
		}
	
		.white-btn.edit-btn{
			width: 62px;
			height: 39px;
			float: right;
			position: absolute;
			top: 10px;
			right: 10px;
		}
			.white-btn.edit-btn SPAN{
				position: absolute;
				width: 18px;
				height: 18px;
				background: url('../i/spr16.png?v=3') no-repeat -26px -5px;
				top: 9px;
				left: 22px;
			}

		.white-btn.show-btn{
			width: 62px;
			height: 39px;
			float: right;
			position: absolute;
			top: 10px;
			right: 10px;
		}
			.white-btn.show-btn SPAN{
				position: absolute;
				width: 25px;
				height: 18px;
				background: url('../i/spr16.png?v=3') no-repeat 1px -2px;
				top: 9px;
				left: 19px;
			}
			
		.white-btn.delete-btn{
			width: 62px;
			height: 39px;
			float: right;
			margin-left: 8px;
			position: absolute;
			top: 10px;
			right: 6px;
		}
			
			.white-btn.delete-btn SPAN{
				position: absolute;
				width: 18px;
				height: 18px;
				background: url('../i/spr16.png?v=3') no-repeat  -27px -25px;
				top: 9px;
				left: 22px;
			}
		
	
	.detail-left .edit-btns{
		color: #777;
		font-size: 12px;
	}
		.detail-left .edit-btns A{
			color: #777;
			font-size: 12px;
		}
		
		.detail-left .edit-btns A:hover{
			text-decoration: underline;
		}
		
	.detail-left .edit-effect{
		color: #298AC2;
		display: block;
		margin: 13px 10px;
		display: inline-block;
		border-bottom: 1px dashed #298AC2;
		font-size: 12px;
		margin-bottom: 0px;
	}
	
	
	.detail-left .apply{
		display: block;
		background: url('../i/apply-to-photo-btn.png?v=3');
		width: 208px;
		height: 37px;
		margin-top: 18px;
	}
	
	.detail-left .photos{
		margin-top: 17px;
		padding-bottom: 12px;
		margin-bottom: 18px;
		text-align:center;
		width: 654px;
	}
		.detail-left .photos A{position: relative; display: inline-block;}

		.detail-left .photos .shop-modal-btn{
			width: 46px;
			height: 46px;
			background: url('../i/spr17.png?v=5') no-repeat -46px -302px;
			position: absolute;
			top: 5px;
			right: 5px;
			opacity: 0;
			transition: opacity 0.2s;
		}
			.detail-left .photos .shop-modal-btn._phone{
				background-position: 0 -302px;
			}

			.detail-left .photos A:hover > .shop-modal-btn{
				opacity: 1;

			}

		.detail-left .photos._bkg A{
			display: inline-block;
			background: url("../i/ps-bkg.png?v=3") repeat scroll 0 0;
		}

		.detail-left .photos IMG{
			display: inline-block;
			vertical-align: middle;
		}
			.detail-left .photos .second{
				margin-left: 18px;
			}
	
	
	.detail-left .about-item{
		padding-left: 8px;
		position: relative;
		height: 92px;
		width: 634px;
	}

		.detail-left .about-item .upic{
			width: 40px;
			height: 40px;
			border-radius: 24px;
		}
		
		.detail-left .about-item H1{
			position: absolute;
			left: 60px;
			top: 1px;
			font-size: 18px;
			font-weight: normal;
		}
		
		.detail-left .about-item .user{
			display: block;
			position: absolute;
			left: 60px;
			top: 22px;
			font-size: 12px;
			color: #445e7f;
			font-weight: normal;
		}
		
		.detail-left .about-item .date-added{
			font-size: 12px;
			position: absolute;
			right: 0px;
			top: -5px;
			color: #808080;
		}

		.detail-left .about-item .abuse{
			font-size: 12px;
			color: #445e7f;
			position: absolute;
			top: 22px;
			right: 0px;
			cursor: pointer;
		}
			.detail-left .about-item .abuse:hover{
				text-decoration: underline;
			}

		.detail-left .tags{
			margin-left: 7px;
			margin-top: 15px;
			font-size: 13px;
		}
			.detail-left .tags .tag{
				display: inline-block;
				padding: 5px;
				margin-left: 0px;
				cursor: pointer;
				color: #818181;
			}
				.detail-left .tags .tag:hover{
					color: #5d5d5d;
					text-decoration: none;
				}

	.detail-fav-like{
		margin-top: 10px;
	}
		.detail-fav-like I{
			background: url('../i/spr16.png?v=3');
			display: inline-block;
			vertical-align: middle;
		}

		.detail-fav-like B{
			vertical-align: middle;
			cursor: pointer;
		}
		.detail-fav-like .like{
			margin-left: 4px;
		}
			.detail-fav-like .fav I{
				width: 42px;
				height: 41px;
				background-position: -47px -51px;
				cursor: pointer;
			}

			.detail-fav-like .fav.disabled I{
				opacity: 0.6;
				cursor: default;
			}

		.detail-fav-like .like I{
			width: 42px;
			height: 41px;
			background-position: -47px -138px;
			position: relative;
    		top: 1px;
    		cursor: pointer;
		}
	
	/*.detail-fav-like .fav:hover > I,*/
	.detail-fav-like .fav.active I{
		background-position: -47px -97px;
	}

	/*.detail-fav-like .like:hover > I,*/
	.detail-fav-like .like.active I{
		background-position: -47px -176px;
	}
	
	.detail-left .description{
		line-height: 19px;
		font-size: 12px;
		margin-left: 12px;
		margin-top: 20px;
	}
	
		.detail-left .description .show-edit-box{
			color: #298AC2;
			display: inline-block;
			border-bottom: 1px dashed #298AC2;
		}
		
	.detail-left .edit-box{
		display: none;
	}
		.detail-left .edit-box .edit-left{
			margin-left: 13px;
			padding-top: 23px;
			width: 308px;
			float: left;
		}
		
		.detail-left .edit-box .edit-right{
			margin-left: 23px;
			padding-top: 23px;
			width: 308px;
			float: left;
		}
		
		.detail-left .edit-box .edit-title{
			background: url('../i/field-grad.png?v=3');
			padding: 10px 13px;
			font-size: 12px;
			border: 1px solid #c9c9c9;
			border-radius: 3px;
			width: 282px;
		}
		
		.detail-left .edit-box .radios{
			padding-left: 11px;
			padding-top: 3px;
			padding-bottom: 16px;
			border-bottom: 1px solid #c9c9c9;
		}
			.detail-left .edit-box .radios LABEL{
				font-size: 12px;
				display: block;
				margin-top: 10px;
			}
			
			.detail-left .edit-box .radios INPUT{
				margin-right: 12px;
			}
			
			.detail-left .edit-box .edit-check{
				margin-left: 11px;
				font-size: 12px;
				margin-top: 13px;
				display: block;
			}
			
				.detail-left .edit-box .edit-check INPUT{
					margin-right: 12px;
				}
				
			.detail-left .edit-box TEXTAREA{
				background: #fff url('../i/textarea-grad.png?v=3') repeat-x;
				padding: 10px 13px;
				font-size: 12px;
				border: 1px solid #c9c9c9;
				border-radius: 3px;
				resize: vertical;
				width: 282px;
				height: 115px;
				line-height: 19px;
				font-family: inherit;
				font-size: 12px;
			}
			
			.detail-left .edit-box .apply{
				background: url('../i/apply-btn.png?v=3');
				width: 110px;
				height: 37px;
				border: none;
				display: inline-block;
				font-size: 18px;
				margin-left: 18px;
				margin-top: 22px;
			}
			
			.detail-left .edit-box .cancel{
				color: #298ac2;
				font-size: 12px;
				display: inline-block;
				text-decoration: underline;
				margin-left: 240px;
				margin-top: 22px;
			}
	
	.detail-left .user-block{
		
	}
		
	.detail-left .fav-block{
		position: relative;
		margin-top: 12px;
		border-bottom: 1px solid #93c6e3;
		padding-bottom: 12px;
		padding-left: 12px;
	}
		.detail-left .fav-block h2{
			font-size: 20px;
			font-weight: 300;
			width: 130px;
		}
			.detail-left .fav-block h2 span{
			font-weight: 400;
			}
		.detail-left .fav-block .add-btn{
			display: block;
			background: url('../i/single-add-btn.png?v=3');
			width: 125px;
			height: 37px;
			position: absolute;
			top: 0px;
			right: 0px;
		}
	.detail-left .fav-block .fav.add{
		font-size: 12px;
		text-align: center;
		background: #fff;
		
	}
		.detail-left .fav-block .fav SPAN{
			display: block;
			margin-top: 11px;
			font-size: 12px;
			color: #295066;
		}
		
	.detail-left .fav-block .fav{
		height: 126px;
		width: 125px;
		float: left;
		margin-right: 4px;
		margin-top: 16px;
		padding: 0px;
		cursor: pointer;
	}
		.detail-left .fav-block .fav.last{
			margin-right: 0px;
		}

.detail-modal .detail-right{
	margin-top: 94px;
	padding-bottom: 75px;
}

.detail-modal .detail-right.vk-mode{
	margin-top: 8px;
}

.detail-modal .detail-left.vk-mode{
	margin-top: 8px;
}

.detail-modal .detail-right .detail-right-banner{
	padding-top: 0px;
	background: #fff;
}

.detail-right{
	padding-top: 8px;
	width: 300px;
	float: left;
	margin-left: 7px;
}
	.detail-right .detail-right-banner{
		background: none;
		padding-top: 14px;
	}
		.detail-right .detail-right-banner.nopadding-sizemod{
			padding-top: 0px;
			height: 495px;
		}
	
	.detail-right .more{
		width: 300px;
	}
		.detail-right .more H3{
			font-size: 20px;
			font-weight: 200;
			display: inline-block;
		}
			.detail-right .more H3 SPAN{
				font-weight: 500;
				display: block;
			}
			
			.detail-right .more .author{
				margin-bottom: 10px;
				padding: 8px 0px 8px 6px;
				background: #fff;
				font-size: 12px;
				color: #000;
				width: 294px;
				line-height: 16px;
				max-height: 40px;
				overflow: hidden;
				border-bottom-right-radius: 3px;
				border-bottom-left-radius: 3px;
				position: relative;
				margin-top: 8px;
			}
				.detail-right .more .author IMG{
					width: 33px;
					height: 33px;
					border-radius: 3px;
				}

				.detail-right .more .author SPAN{
					font-weight: bold;
				    left: 48px;
				    position: absolute;
				    top: 19px;
				}
				
				.detail-right .more .author A{
					color: #445e7f;
					font-weight: normal;
				}
				
							
				.detail-right .related-element-effect{
					width: 299px;
					margin-top: 10px;
				}
					.detail-right .related-element-effect IMG{
						width: 299px;
					}
					.detail-right .related-element-effect A:hover > .name{
						text-decoration: underline;
					}
					
					.detail-right .related-element-effect .name{
						color: #555;
						font-size: 13px;
						margin-top: 5px;
						display: block;
					}
					.detail-right .related-element-effect .cover{
						overflow: hidden;
						height: 150px;
						border-radius: 3px;
					}

				.detail-right .related-element{
					width: 146px;
					height: 146px;
					float: left;
					margin-right: 8px;
					margin-top: 8px;
					background: url("../i/ps-bkg.png?v=3") repeat scroll 0 0;
					border-radius: 3px;
				}
					.detail-right .related-element .cover{
						overflow: hidden;
						width: 146px;
						height: 146px;
						text-align: center;
						vertical-align: middle;
						border-radius: 3px;

					}

						.detail-right .related-element IMG{
							/*max-height: 120px;*/
						}

						.detail-right .related-element .original-size{
							max-width: 100%;
							max-height: 100%;
							object-fit: contain;
						}


.overlay-bkg{
	width: 100%;
	height: 99999px;
	position: absolute;
	top: 0px;
	left: 0px;
	background: url('../i/overlay-bkg.png?v=3');
	z-index: 1;
}
	
				
.overlay-effect{
	display: none;
	position: absolute;
	background: #fff none repeat scroll 0 0;
    border-radius: 3px;
    box-shadow: 10px 10px 5px -8px rgba(0, 0, 0, 0.45);
    z-index: 10000;
    top: 10px;
	left: 0px;
	width: 971px;
}
	.overlay-effect SELECT{
		width: 270px;
	}
	.overlay-effect .overlay-header{
		height: 40px;
		padding-top: 10px;
		position: relative;
		width: 969px;
		background: #fff;
	}
		.overlay-effect .overlay-header .tabs{
			width: 500px;
			margin-left: 13px;
		}
		.overlay-effect .overlay-header .tabs SPAN{
			font-size: 14px;
			padding: 12px 12px 12px 40px;
			margin-right: 12px;
			color: #595959;
			display: block;
			float: left;
			cursor: pointer;
			background: url('../i/computer.png?v=3') no-repeat 10px 10px;
		}

		.overlay-effect .overlay-header .tabs SPAN:hover, .overlay-effect .overlay-header .tabs SPAN.onHover{
			background-color: #eee;
		}

		.overlay-effect .overlay-header .tabs SPAN:active, .overlay-effect .overlay-header .tabs SPAN.activeState{
			background-color: #ddd;
		}
		
		.overlay-effect .overlay-header .tabs .local{
			background-image: url('../i/computer.png?v=3');
		}
		
		.overlay-effect .overlay-header .tabs .vk{
			background-image: url('../i/vk.png?v=3');
			background-position: 10px 13px;
		}
		
		.overlay-effect > .title{
		margin: 27px 20px 0px 20px;
    	padding-bottom: 23px;
    	font-size: 16px;
    	position: relative;
    	border-bottom: 1px solid #e5e5e5;
	}
		.overlay-effect > .title > SPAN{
			width: 13px;
			height: 13px;
			cursor: pointer;
			position: absolute;
			top: 8px;
			right: 10px;
			background: url('../i/modal-close.png?v=3');
		}

			
		.overlay-effect .overlay-body1{
			width: 969px;
			background: #fff;
			padding-top: 16px;
			padding-bottom: 10px;
			border-top: none;
		}
			.overlay-effect .overlay-body1 .left{
				margin-left: 20px;
				width: 274px;
				min-height: 400px;
				float: left;
			}
				.overlay-effect .overlay-body1 .left #photo-title{
					border: 1px solid #1px solid #bebebe;
					width: 256px;
					padding: 4px;
					margin-bottom: 12px;
				}
				
				.overlay-effect .overlay-body1 .left #photo-description{
					border: 1px solid #1px solid #bebebe;
					width: 256px;
					padding: 4px;
					margin-bottom: 12px;
					height: 110px;
					font-family: inherit;
					font-size: 12px;
					margin-top: 12px;
					resize: none;
				}
				.overlay-effect .overlay-body1 .left .label{
					margin-bottom: 8px;
					font-size: 13px;
				}
				
				
				.overlay-effect .overlay-body1 .left .select-box{
					border: 1px solid #bebebe;
					width: 260px;
					padding: 4px;
					position: relative;
					margin-bottom: 10px;
					cursor: pointer;
				}
					.overlay-effect .overlay-body1 .left .select-box .arrow{
						width: 14px;
						height: 7px;
						position: absolute;
						top: 18px;
						right: 8px;
						background: url('../i/arrow-list.png?v=3');
					}
					
					.overlay-effect .overlay-body1 .left .select-box img{
						height: 30px;
						border-radius: 15px 15px 15px 15px;
						display: inline-block;
					}
					
					.overlay-effect .overlay-body1 .left .select-box .text{
						display: inline-block;
						vertical-align: middle;
						margin-left: 7px;
						font-size: 13px;
						position: relative;
						top: -9px;
					}
					
					.overlay-effect .overlay-body1 .left .select-dropdown{
						padding: 0 12px;
						border: 1px solid #cacaca;
						width: 244px;
						position: relative;
						top: -11px;
						display: none;
						height: 300px;
						
					}
					
						.overlay-effect .overlay-body1 .left .select-dropdown .elem{
							margin-top: 12px;
							padding-bottom: 12px;
							border-bottom: 1px solid #cacaca;
							width: 240px;
							text-align: left;
							cursor: pointer;
						}
							.overlay-effect .overlay-body1 .left .select-dropdown .elem:hover{
								color: #298ac2;
							}
						
							.overlay-effect .overlay-body1 .left .select-dropdown .elem IMG{
								width: 48px;
								margin-right: 18px;
								display: inline-block;
								vertical-align: middle;
							}
							
							.overlay-effect .overlay-body1 .left .select-dropdown .elem SPAN{
								display: inline-block;
								font-size: 12px;							
							}
					
					.overlay-effect .overlay-body1 .left .user-select-search{
						border: 1px solid #cacaca;
						color: #717171;
						padding: 9px;
						padding-left: 32px;
						font-style: italic;
						padding-bottom: 12px;
						position: relative;
						top: -11px;
						left: 0px;
						border-bottom: none;
						width: 227px;
						display: none;
						background: url('../i/magn-glass.png?v=3') no-repeat 9px 9px;
					}
					
					.overlay-effect .overlay-body1 .left #user-select SPAN{
						display: block;
						margin-top: 5px;
						padding-bottom: 8px;
						cursor: pointer;
					}
					
					.overlay-effect .overlay-body1 .left #user-select SPAN IMG{
						height: 30px;
						border-radius: 15px 15px 15px 15px;
						display: inline-block;
					}
					
					.overlay-effect .overlay-body1 .left #user-select SPAN I{
						font-style: normal;
						position: relative;
						vertical-align: middle;
						margin-left: 7px;
						font-size: 13px;
						position: relative;
						top: -9px;
					}
					
					.overlay-effect .overlay-body1 .left .stage2-save-btn{
						padding: 10px;
    					text-align: center;
					}
					
					.overlay-effect .overlay-body1 .left .stage2-cancel-btn{
						padding: 10px;
    					text-align: center;
    					margin-top: 10px;
					}
	.overlay-effect .right .status-cont{
		text-align: center;
	}
		.overlay-effect .right .progress{
			margin: 10px;
			width: 64px;
			height: 64px;
			background: url('../i/progress.gif');
			display: inline-block;
			margin-top: 128px;
		}
		
		.overlay-effect .right .status{
			font-size: 12px;
		}
					
	.overlay-effect .overlay-body1 .right{
			float: left;
			width: 655px;
			margin-left: 10px;
		}
			.overlay-effect .overlay-body1 .right .prepare{
				padding: 180px 0px;
				color: #999999;
				font-size: 20px;
				text-align: center;
			}
			.overlay-effect .overlay-body1 .images{
				padding-bottom: 7px;
				text-align: center;
			}
				.overlay-effect .overlay-body1 .images IMG{
					max-width: 636px;
					max-height: 400px;
				}
				
			.overlay-effect .overlay-body1 .photo-list-hdr{
				font-size: 13px;
				color: #454545;
				margin-top: 18px;
			}
				.overlay-effect .overlay-body1 .photo-list-hdr A{
					color: #298ac2;
				}
				
			.overlay-effect .overlay-body1 .photo-list{
				margin-top: 15px;
				height: 400px;
				overflow-x: scroll;
			}
				.overlay-effect .overlay-body1 .photo-list IMG{
					border: 1px solid #fff;
					padding: 1px;
					margin-right: 2px;
					margin-bottom: 3px;
					width: 117px;
					cursor: pointer;
				}
				
				.overlay-effect .overlay-body1  .photo-list .active{
						border: 1px solid #7b98b8;
					}
			.overlay-effect .overlay-body1 .vk-controls{
				display: none;
			}
					
			.overlay-effect .overlay-body1 .photo-list-vk{
				margin-top: 15px;
				width: 258px;
				height: 400px;
			}
				.overlay-effect .overlay-body1 .photo-list-vk .thumbnail{
					width: 119px;
					height:90px;
					display: inline-block;
					overflow: hidden;
					border: 1px solid #fff;
					padding: 1px;
					margin-right: 5px;
					margin-bottom: 5px;
					cursor: pointer;
				}
				
				.overlay-effect .overlay-body1 .photo-list-vk IMG{
					border: 1px solid #fff;
					width: 150px;
					cursor: pointer;
				}
				
				.overlay-effect .overlay-body1  .photo-list-vk .active{
					border: 1px solid #7b98b8;
				}
		.overlay-effect .overlay-body1 .save-btns{
			text-align: center;
		}

		.overlay-effect .overlay-body1 .save-btn{
			display: inline-block;
			padding: 10px;
			width: 150px;
			margin-right: 10px;
		}
		
		.overlay-effect .overlay-body1 .save-as-file{
			display: inline-block;
			padding: 10px;
			width: 150px;
		}
	
/* comments */

.comments{
	margin-top: 40px;
	padding-bottom: 5px;
	margin-bottom: 30px;
}
	
.comments .guest{
	font-size: 12px; 
	text-align: center; 
	margin-top: 30px;
}

.comments .comments-header{
	height: 35px;
	position: relative;
	margin: 15px 10px;
	font-size: 18px;
}
	
	.comments .comment{
		margin: 20px;
		position: relative;
	}
		.comments .comment .avatar{
			display: block;
			position: absolute;
			top: 0px;
			left: 0px;
			width: 50px;
			height: 50px;
			border-radius: 3px;
		}
	
		.comments .comment .field{
			border: 1px solid #d3d3d3;
			background: #fff;
			margin-left: 68px;
			min-height: 52px;
			border-radius: 5px;
			padding: 8px 12px;
		}
		
		.comments .comment .remove{
		    cursor: pointer;
		    display: block;
		    font-size: 11px;
		    left: 0;
		    position: absolute;
		    text-align: center;
		    top: 55px;
		    width: 51px;
		    color: #000000;
		}
		
		.comments .comment .outside-label{
			position: absolute;
			top: -18px;
			left: 70px;
			font-size: 12px;
		}
		
		.comments .comment.add-comment TEXTAREA{
			border: none;
			width: 98%;
			height: 100px;
			resize: vertical;
			font-family: 'Open Sans', sans-serif;
			font-size: 13px;
		}
		
		.comments .submit-comment{
			padding: 8px 30px;
			color: #000;
			margin-left: 86px;
		}
		
		.comments .comment.add-comment{
			margin-top: 30px;
		}
			.comments .comment .hdr .nickname{
				font-size: 14px;
			}
			
			.comments .comment .hdr .add-text{
				font-size: 11px;
			}

		.comments .comment .text{
			padding-top: 12px;
			line-height: 16px;
			font-size: 12px;
			word-wrap: break-word;
		}
			
.footer {
	/*background: #fff none repeat scroll 0 0;*/
    clear: both;
    height: 58px;
    margin-top: -81px;
    position: relative;
    z-index: 5;
} 
	.footer .center{
		margin: 0 auto;
		width: 971px;
		/*border-top: 1px solid #e5e5e5;*/
		margin-top: 24px;
		padding-top: 14px;
		position: relative;
		z-index: 100;
	}
		.footer .center .links{
			color: #b8cadc;
			font-size: 12px;
		}
			.footer .center .links A{
				color: #000000;
				font-size: 12px;
			}
			
		.footer .center .right{
			position: absolute;
			right: 0px;
			top: 25px;
		}
		
		.footer .center .right-lower{
			position: absolute;
			right: 0px;
			top: 55px;
		}
		
		.footer .center .copyright{
			color: #828282;
			font-size: 12px;
			position: absolute;
			left: 100px;
			top: 25px;
		}
		
		.footer .center .socials{
			position: absolute;
			top: 50px;
			left: 0px;
		}
		
			.footer .center .socials A{
				display: inline-block;
				width: 21px;
				height: 21px;
				background: url('../i/social-spr.png?v=3');
			}
				.footer .center .socials .fb{
					background-position: -21px 0px;
					margin-left: 9px;
				}
				
				.footer .center .socials .vk{
					background-position: -42px 0px;
					margin-left: 9px;
				}
				
/* btns */
		
			.grey-button{
  			color: #333;
	  		border: 1px solid #bababa;
	  		border-radius: 3px;
	  		background: #e9e9e9; /* Old browsers */
			background: -moz-linear-gradient(top,   0%, #f7f7f7, #e9e9e9 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#e9e9e9)); /* Chrome,Safari4+ */
			background: -webkit-linear-gradient(top,   #f7f7f7, 0% ,#e9e9e9 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top,  #f7f7f7 0%,#e9e9e9 100%); /* Opera 11.10+ */
			background: -ms-linear-gradient(top,  #f7f7f7 0%,#e9e9e9 100%); /* IE10+ */
			background: linear-gradient(to bottom,  #f7f7f7 0%, #e9e9e9 100%); /* W3C */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#e9e9e9',GradientType=0 ); /* IE6-9 */
			cursor: pointer;
			-webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
			-moz-box-shadow:    0px 1px 0px 0px rgba(0, 0, 0, 0.1), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
			box-shadow:         0px 1px 0px 0px rgba(0, 0, 0, 0.1), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
	  	}
	  	.grey-button:hover, .grey-button:active{
		  	background: #eeeeee; /* Old browsers */
			background: -moz-linear-gradient(top,   #fbfbfb 0%, #eeeeee 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
			background: -webkit-linear-gradient(top,  #fbfbfb 0%, #eeeeee 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top,  #fbfbfb 0%, #eeeeee 100%); /* Opera 11.10+ */
			background: -ms-linear-gradient(top,  #fbfbfb 0%,#eeeeee 100%); /* IE10+ */
			background: linear-gradient(to bottom,  #fbfbfb 0%,#eeeeee 100%); /* W3C */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbfbfb', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
			-webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
			-moz-box-shadow:    0px 1px 0px 0px rgba(0, 0, 0, 0.1), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
			box-shadow:         0px 1px 0px 0px rgba(0, 0, 0, 0.1), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
			-webkit-user-select: none; /* Chrome/Safari */        
			-moz-user-select: none; /* Firefox */
			-ms-user-select: none; /* IE10+ */
			
			/* Rules below not implemented in browsers yet */
			-o-user-select: none;
			user-select: none;

	  	}
	  	
	  	.grey-button:active{
	  		-webkit-box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.1), inset 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
			-moz-box-shadow:    0px 1px 0px 0px rgba(255, 255, 255, 0.1), inset 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
			box-shadow:         0px 1px 0px 0px rgba(255, 255, 255, 0.1), inset 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
	  	}
	  	
	  	.blue-button{
	  		color: #fff;
	  		border: 1px solid #36679b;
	  		border-radius: 3px;
	  		background: #4772a3; /* Old browsers */
			background: -moz-linear-gradient(top,  #588ec5 0%, #4772a3 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#588ec5), color-stop(100%,#4772a3)); /* Chrome,Safari4+ */
			background: -webkit-linear-gradient(top,  #588ec5 0%,#4772a3 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top,  #588ec5 0%,#4772a3 100%); /* Opera 11.10+ */
			background: -ms-linear-gradient(top,  #588ec5 0%,#4772a3 100%); /* IE10+ */
			background: linear-gradient(to bottom,  #588ec5 0%,#4772a3 100%); /* W3C */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#588ec5', endColorstr='#4772a3',GradientType=0 ); /* IE6-9 */
			cursor: pointer;
			-webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.18);
			-moz-box-shadow:    0px 1px 0px 0px rgba(0, 0, 0, 0.18);
			box-shadow:         0px 1px 0px 0px rgba(0, 0, 0, 0.18);
	  	}
	  	
	  	.blue-button:hover{
		  	background: #6496c8; /* Old browsers */
			background: -moz-linear-gradient(top,  #6496c8 0%, #557daa 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6496c8), color-stop(100%,#557daa)); /* Chrome,Safari4+ */
			background: -webkit-linear-gradient(top,  #6496c8 0%,#557daa 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top,  #6496c8 0%,#557daa 100%); /* Opera 11.10+ */
			background: -ms-linear-gradient(top,  #6496c8 0%,#557daa 100%); /* IE10+ */
			background: linear-gradient(to bottom,  #6496c8 0%,#557daa 100%); /* W3C */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6496c8', endColorstr='#557daa',GradientType=0 ); /* IE6-9 */

	  	}
	  	
	  	
	  .blue-button:active{
		  background: #5080b4; /* Old browsers */
			
			-webkit-box-shadow: 0px 1px 0px 0px rgba(256, 256, 256, 0.18);
			-moz-box-shadow:    0px 1px 0px 0px rgba(256, 256, 256, 0.18);
			box-shadow:         0px 1px 0px 0px rgba(256, 256, 256, 0.18);

	  }


/* modal windows */

.fullscreen{
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 10003;
	visibility: hidden;
}
	.fullscreen IMG{
		width: 100%;
		height: 100%;
	}

.modal{
	border-radius: 3px;
	position: fixed;
	background: #fff;
	z-index: 9999;
	top: 300px;
	left: 300px;
	-webkit-box-shadow: 10px 10px 5px -8px rgba(0,0,0,0.45);
	-moz-box-shadow: 10px 10px 5px -8px rgba(0,0,0,0.45);
	box-shadow: 10px 10px 5px -8px rgba(0,0,0,0.45);
}

.modal.add-common-modal{
	background: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	width: 410px;
	height: 365px;
}

.modal.add-common-modal .title{
	display: none;
}

.modal.detail-modal{
	position: absolute;
	top: 0px;
	background: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	border-radius: none;
}

.modal.detail-modal .detail-right{
	padding-top: 0px;
}

.modal.detail-modal > .title .close{
    position: fixed;
    top: 68px;
    width: 16px;
    height: 16px;
    background: url('../i/spr17.png?v=5');
    background-position: -2px -387px;
    cursor: pointer;
}
	.modal.detail-modal > .title .close:hover{
		background-position: -20px -387px;
	}

.modal.detail-modal > .title{
	border-bottom: none;
}
	.modal > .title{
		margin: 27px 20px 0px 20px;
    	padding-bottom: 23px;
    	font-size: 16px;
    	position: relative;
    	border-bottom: 1px solid #e5e5e5;
	}
		.detail-modal.modal > .title{
			margin: 0px 20px 0px 20px;
			padding-bottom: 0px;
		}
		.modal > .title.fixed-size{
			width: 365px;
			height: 16px;
			border-bottom: none;
		}

		.modal > .title .close{
			width: 13px;
			height: 13px;
			cursor: pointer;
			position: absolute;
			top: 8px;
			right: 10px;
			background: url('../i/spr17.png?v=5');
		    background-position: -42px -389px;
		}
	
	.modal P{
		padding: 10px 20px;
	}

	.modal .is-private{
		width: auto;
		margin-right: 3px;
		vertical-align: middle;
		height: 16px;
	}

	.modal .splitter{
		border-bottom: 1px solid #d3d3d3;
		margin: 0 20px;
    	padding: 4px 0 15px;
	}
	
	.modal LABEL{
		display: block;
		font-size: 12px;
		margin-bottom: 5px;
	}

	.modal .chbx-label{
		font-size: 13px;
	}
	
	.modal P INPUT, .modal P TEXTAREA{
		padding: 5px;
		border: 1px solid #d3d3d3;
		border-radius: 4px;
		resize: none;
		width: 400px;
		font-size: 12px;
		font-family: inherit;
	}

	.modal P INPUT.chbx{
		width: auto;
		padding: 0;
		margin-right: 3px;
		vertical-align: middle;
		height: 16px;
	}

	.modal SELECT{
		width: 412px;
		font-size: 12px;
	}
	
	.modal P TEXTAREA{
		height: 100px;
	}

	.modal P .tag-field{
		width: 400px;
	}
	
	.modal P .submit{
		width: 150px;
		padding: 8px 0px;
		font-size: 13px;
	}

	.modal .allowed-files{
		color: #999;
		font-size: 11px;
		text-align: center;
		margin-top: -42px;
	}
	
	.modal .add-common-selector{
		display: inline-block;
		color: #3a526f;
		font-size: 14px;
		margin: 36px 18px 4px 18px;
		user-select: none;
		cursor: pointer;
		vertical-align: middle;
		text-align: center;
		width: 86px;
		position: relative;
	}
		
		.modal .add-common-selector SPAN{
			width: 86px;
			height: 86px;
			background: rgba(0, 0, 0, 0) url("../i/add-btns.png?v=3") repeat scroll 0 0;
			background-position: -3px -4px;
			display: inline-block;
			vertical-align: middle;
			margin-right: 4px;
			margin-bottom: 20px;
			position: relative;
		}
		
		.modal #ac-sticker SPAN{
			background-position: 0px -287px;
		}

		.modal #ac-bkg SPAN{
			background-position: 0px -192px;
		}

		.modal #ac-photo SPAN{
			background-position: 0px -386px;
		}

		.modal #ac-texture SPAN{
			background-position: 0px -480px;
		}

		.modal #ac-effect SPAN{
			background-position: 0px -97px;
		}
		
		.modal #ac-frame SPAN{
			background-position: 0px -4px;
		}
		
		.modal .add-common-btn I{
			font-style: normal;
		}

		.modal P.__nopadding{
			padding: 0px 20px;
		}
		
	.modal .add-common-btn{
	    color: #fff;
	    display: block;
	    font-size: 16px;
	    font-weight: 700;
	    margin: 30px auto;
	    padding: 12px 52px 16px;
	    text-align: center;
	    width: 180px;
	    display: none;
	}
	
	.modal .add-common-btn SPAN{
		display: inline-block;
		width: 18px;
		height: 16px;
		background: url("../i/spr15.png?v=4") no-repeat scroll -59px -4px;
		position: relative;
		left: -20px;
		top: 2px;
	}



	.modal .progress, .add-photo-form .progress, .center-col .progress{
		text-align: center;
	}
		.add-photo-form .progress SPAN, .center-col .progress SPAN{
			background: rgba(0, 0, 0, 0) url("../i/progress.gif") repeat scroll 0 0;
    		display: inline-block;
   			height: 64px;
    		width: 64px;
    		margin: 10px 0px;
		}

		.modal .progress SPAN{
			width: 70px;
			height: 33px;
			background: url('../i/progress_new_white.gif') no-repeat;
			background-size: cover;
			margin-bottom: 20px;
			display: inline-block;
		}
	
	.modal-bkg, .modal-bkg-overlay{
		background-color: #000;
		opacity: 0.2;
		position: fixed;
		top: 0px;
		left: 0px;
		z-index: 9998;
	}

	.modal-bkg.add-common-modal-bkg{
		background-color: #c0d3e0;
		opacity: 0.98;
	}

	.modal-bkg.fullscreen-bkg{
		z-index: 10002;
	}
		.modal-bkg.preroll-bkg{
			background-color: #cbdbe6;
			opacity: 1;
		}
	
	.modal .sel-btn{
		display: inline-block;
		color: #578cc0;
		font-size: 14px;
		padding: 14px 18px;
		user-select: none;
		cursor: pointer;
		vertical-align: middle;
		margin-right: 10px;
		padding-right: 30px;
	}
	
		.modal .sel-btn:hover, .modal .sel-btn.active{
			background: #d8e4f0;
			border-radius: 28px;
		}
		
		.modal .sel-btn.active{
			background: #d8e4f0;
			border-radius: 28px;
		}

		.modal .sel-btn SPAN{
			width: 18px;
			height: 18px;
			background: rgba(0, 0, 0, 0) url("../i/spr17.png?v=5") repeat scroll 0 0;
			background-position: -3px -4px;
			display: inline-block;
			vertical-align: middle;
			margin-right: 4px;
		}

		.modal #resource-type-2 SPAN{
			background-position: -22px -4px;
		}
		
		.modal #resource-type-3 SPAN{
			background-position: -43px -4px;
		}
	
	.modal .load-btn{
		 background: rgba(0, 0, 0, 0) url("../i/open-btn-bkg.png?v=3") repeat scroll 0 0;
	    border-radius: 24px;
	    color: #fff;
	    display: block;
	    font-size: 16px;
	    font-weight: 700;
	    left: 22px;
	    margin: 30px auto;
	    padding: 12px 52px 16px;
	    text-align: center;
	    top: 87px;
	    width: 300px;
	}
		.modal .load-btn SPAN{
			display: inline-block;
			width: 18px;
			height: 16px;
			background: url("../i/spr15.png?v=4") no-repeat scroll -59px -4px;
			position: relative;
			left: -20px;
			top: 2px;
		}

	.modal .edit{
		cursor: pointer;
		text-align: center;
		font-size: 13px;
		color: #000000;
	}
	
	.modal .delete{
		cursor: pointer;
		text-align: center;
		font-size: 13px;
		color: #000000;
	}
		.modal .edit:hover{
			text-decoration: underline;
		}
		.modal .delete:hover{
			text-decoration: underline;
		}

	.modal .abuse-description-cont{
	}

.close-detail{
	height: 56px;
	position: fixed;
	width: 56px;
	z-index: 10002;
	top: 0px;
	right: 0px;
	opacity: 1;
}

.close-detail .close{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 27px;
    height: 27px;
    background: url('../i/spr17.png?v=5');
    background-position: -62px -386px;
    cursor: pointer;
}
	/*
	.close-detail .close:hover{
		background-position: -20px -387px;
	}
	*/

.close-detail .close.vk-close{
	top: 8px;
	right: 6px;
}
	
.list .empty{
	font-size: 12px;
	text-align: center;
	margin: 100px 30px;
}

.res-1 IMG{
	border: 1px solid #ddd;
}	

	/* friends detail page */
	.friends-title{
		margin: 20px 0px 10px 20px;
	}

	.friends-row{
		margin: 0px 20px 0px 20px;
		border-bottom: 1px solid #dcdcdc;
		padding: 10px 0px;
	}
		.friends-row IMG{
			width: 50px;
			border-radius: 3px;
			display: inline-block;
			vertical-align: middle;
		}
		
		.friends-row SPAN{
			display: inline-block;
			vertical-align: middle;
			color: #000000;
			margin-left: 10px;
		}

		.friends-row .friend-page-btn{
			margin-top: 9px;
			border-radius: 3px;
			width: 120px;
			text-align: center;
			color: #fff;
			background: #000000;
			padding: 10px 0px;
			display: inline-block;
			float: right;
			vertical-align: middle;
			cursor: pointer;
			font-size: 13px;
		}
			.friends-row .friend-page-btn.mutual-1{
				background: #e6e6e8;
				color: #474747;
			}
		
.flatpage{
	padding: 10px 40px;
	background: #fff;
}

	.flatpage H1{
		font-size: 20px;
	}

/* event page styles */

.events{
	
}
	.events .element{
		background: #fff none repeat scroll 0 0;
	    border-radius: 3px;
	    font-size: 12px;
	    margin: 10px 0px 0;
	    padding-bottom: 10px;
	}
	
	.events .not-readen{
		background: #f9f9fe;
	}
	
	.events .element A{
		text-decoration: none;
		color: #000000;
	}
		.events .element A:hover{
			text-decoration: underline;
		}
	
	.events .element B{
		color: #777;
		font-size: 11px;
		width: 100%;
		display: block;
		text-align: right;
		padding-top: 10px;
		margin-left: -10px;
	}
	
	.events .element IMG{
		width: 60px;
		vertical-align: middle;
		margin-right: 10px;
		margin-left: 10px;
	}
	
	.events .event-avatar{
		border-radius: 30px;
		width: 60px;
		height: 60px;
	}

		.events .multiple-elements{
			max-width: 200px;
			vertical-align: middle;
			display: inline-block;
			margin-left: 7px;

		}

		.events .multiple-elements .col3{
			width: 50px;
			margin: 0px 3px;
			float: left;
		}

		.events .multiple-elements IMG{
			width: 50px;
			margin: 0px;
			margin-bottom: 5px;
			background: url('../i/ps-bkg.png?v=3');
		}
			.events .multiple-elements IMG.resource-2{
				border: 1px solid #ececec;
			}


.more-btn{
	background: #d9e5ec;
	text-align: center;
	width: 100%;
	font-size: 16px;
	padding: 20px 0px;
	margin-top: 0px;
	user-select: none;
	cursor: pointer;
	margin-bottom: -55px;
}
	.more-btn:hover{
		background: #d9e5ec;
	}

.resource-type-sel{
	display: block;
	margin: 10px 0px;
	background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top , #ffffff 0%, #f6f6f6 100%) repeat scroll 0 0;
    border-bottom: 1px solid #e4e4e4;
    width: 971px;
}

.main .resource-type-sel A{
	padding-left: 90px;
    padding-right: 93px;
}

.modal-confirm{
	margin-right: 10px;
	border:none;
	padding: 5px 25px;
}

.ui-widget {
	font-size: 13px;
}

.ui-selectmenu-open{
	z-index: 10001;
}

.overflow{
	max-height: 200px;
}

.profile-form SELECT{
	width: 200px;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background: #e6e6e6 none;
    border: none;
    color: #212121;
    font-weight: normal;
    margin: 0px;
}

.ui-selectmenu-button{
	background: #fff none;
	border: 1px solid #d3d3d3;
}

.ui-menu .ui-menu-item{
	 padding: 5px 1em 5px 0.4em;
	 margin: 0px;
}

.tickets{
	border: 1px solid #d3d3d3;
	border-radius: 4px;
	padding: 30px;
	margin: 20px 0px;
	width: 640px;
}
	.tickets .row{ margin-bottom: 20px;}

	.tickets .row LABEL{
		width: 135px;
		display: inline-block;
		vertical-align: middle;
		font-size: 13px;
		text-align: right;
		padding-right: 15px;
	}

	.tickets .row.textarea-row LABEL{ vertical-align: top; }
	.tickets .row.type-row LABEL{ position: relative; top: -12px; }

	.tickets .row INPUT, SELECT, TEXTAREA{
		width: 400px;
		padding: 7px;
		border: 1px solid #d3d3d3;
		border-radius: 4px;
		font-size: 14px;
	}

	.tickets .row #ticket_type{width: 414px;}

	.tickets TEXTAREA{
		height: 200px;
		width: 450px;
		font-family: inherit;
		resize: none;
	}

	.tickets .row .blue-btn{
		border: none;
		padding: 10px 16px;
	}


.after-upload{
	padding: 30px;
	background: #fff none repeat scroll 0 0;
}

.after-upload-block{
	border-bottom: 1px solid #eee;
	padding: 20px 0px;
	margin-bottom: 20px;
}
	.after-upload-block .create-asset{
		position: relative;
		top: -11px;
		color: #000000;
		font-size: 11px;
		margin-left: 5px;
		cursor: pointer;
	}
		.after-upload-block .create-asset:hover{
			text-decoration: underline;
		}

	.after-upload-block .set-asset{
		display: inline-block;
		position: relative;
		left: 115px;
		top: -20px;
		color: #000000;
		font-size: 11px;
		margin-top: 6px;
		cursor: pointer;
	}
		.after-upload-block .set-asset:hover{
			text-decoration: underline;
		}
	.after-upload-image{
		border: 1px solid #eee;
		width: 200px;
		float: left;
		display: block;
		text-align: center;
		padding: 8px;
		position: relative;
		min-height: 140px;
	}

	.after-upload-block IMG{
		max-width: 200px;
		max-height: 200px;
	}

	.after-upload-control{
		margin-bottom: 20px;
	}

		.after-upload-control.asset-validation{
			color: #ee0000;
			position: relative;
			left: 115px;
			top: -10px;
			font-size: 11px;
		}

		.after-upload-control LABEL{
			display: inline-block;
			width: 80px;
			margin-left: 30px;
		}

		.mode.multiple .after-upload-control LABEL{
				width: 163px;
				margin-left: 0px;
		}

		.after-upload-control .wide-label{
			width: auto;
			font-size: 13px;
		    margin-left: 112px;
		    vertical-align: middle;
		    width: auto;
		}
			.after-upload-control .wide-label INPUT{
				vertical-align: middle;
				margin-right: 2px;
				height: 16px;
			}
			

		.after-upload-control .after-upload-name{
			border: 1px solid #d3d3d3;
		    border-radius: 3px;
		    font-size: 13px;
		    padding: 6px 4px;
		    width: 300px;
		}

		.after-upload-control .after-upload-tags{
			padding: 7px 4px;
		}
		
			.after-upload-control SELECT{
				width: 310px;
				vertical-align: middle;
			}
			.after-upload-control.select LABEL{
				vertical-align: top;
				position: relative;
				top: 8px;
			}

		.after-upload-type{
			position: absolute;
			bottom: 0px;
			right: 0px;
			display: inline-block;
			padding: 3px 0px;
			width: 216px;
			text-align: center;
			color: #fff;
			background: #333;
			opacity: 0.3;
			font-size: 12px;
		}

		.after-upload-col3{
			margin-right: 7px;
		    float: left;
		    width: 153px;
		}

		.after-upload-col3.last{
			margin-right: 0px;
		}
			.after-upload-col3 IMG{
				width: 100%;
				background: url('../i/ps-bkg.png?v=3');
				margin-bottom: 2px;
			}

			.after-upload-col3 IMG.sticker{
				border: 1px solid #ececec;
			}

.afterupload-btn-overlay{
	background: #fff;
	border-top: 1px solid #eee;
	width: 100%;
	padding: 15px;
	position: fixed;
	bottom: 0;
	left: 0;
}

	.afterupload-btn-overlay .center-cnt{
		width: 971px;
		margin: 0px auto;
	}

	.afterupload-btn-overlay .save-btn{
		border: none;
		padding: 10px 30px;
	}

.mode.multiple{
	margin-top: 20px;
}

.after-upload-success{
	color: green; 
	display: none; 
	font-size: 12px;
	margin-bottom: 8px;
}

.mode-selector{
	margin-top: 10px;
}

.mode-selector SPAN{
	padding: 10px 0px;
	text-align: center;
	width: 237px;
	background: #eee;
	cursor: pointer;
	margin-right: 1px;
	display: inline-block;
	font-size: 13px;
	font-weight: bold;
}

.mode-selector #multiple{
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}

.mode-selector #separate{
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}

.mode-selector SPAN.active{
	background: #000000;
	color: #fff;
}

.tag-field{
	display: inline-block;
	border: 1px solid #d3d3d3;
    border-radius: 3px;
    font-size: 13px;
    min-height: 13px;
    padding: 0px 5px;
    width: 300px;
    cursor: text;
    vertical-align: middle;
    position: relative;
}

	.tag-field .tag-input{
		border: none;
		width: 70px;
	}

.tag-field .tag{
	background: #eee;
	color: #666;
	display: inline-block;
	cursor: pointer;
	margin-right: 3px;
	margin-bottom: 2px;
	padding: 1px 3px 2px 3px;
	font-size: 12px;
}
	.tag-field .tag:hover{
		text-decoration: line-through;
	}

.suggestion-list{
	position: absolute;
	margin-top: 8px;
	left: 0px;
	width: 200px;
	border: 1px solid #eee;
	display: none;
	background: #fff;
	z-index: 5;
	-webkit-box-shadow: 4px 6px 5px -3px rgba(0,0,0,0.62);
	-moz-box-shadow: 4px 6px 5px -3px rgba(0,0,0,0.62);
	box-shadow: 4px 6px 5px -3px rgba(0,0,0,0.62);
}
	.suggestion-list .suggestion{
		padding: 8px;
		cursor: pointer;
	}
		.suggestion-list .suggestion:hover{
			background: #f3f3f3;
		}

/* new design */

.list .elements-col:nth-child(2){margin-right: 0px;}

.elements-col{
	float: left;
	margin-right: 8px;
}
	
	.elements-col.fullwidth.x2{width: 450px;}
	.elements-col.fullwidth.x3{width: 315px;}
	.elements-col.fullwidth.x4{width: 233px;}
	.elements-col.fullwidth.x5{width: 186px;}

	.elements-col.cabwidth.x1{width: 598px;}
	.elements-col.cabwidth.x2{width: 295px;}
	.elements-col.cabwidth.x3{width: 191px;}

	.elements-col.detailwidth.x2{width: 323px;margin-right:8px;}
	.elements-col.detailwidth.x2.col-2{margin-right: 0px;}

	.elements-col.cabwidth.x1 .element .__one IMG{max-height: none;}

	.elements-col.cabwidth.x1 .mid.__two IMG{
		width: 323px;
		max-width: 50%;
	}

	.elements-col.cabwidth.x1 .mid.__two IMG.original{
		width: 298px;
	}

	.elements-col.detailwidth.x2 .mid.__two{
		width: 323px;
	}

	.elements-col.detailwidth.x2 .mid.__two IMG{
		width: 161px;
	}

	.applied-to-photo-hdr{
		background: #fff;
		padding: 10px;
		font-size: 18px;
	}

	.applied-to-photo{
		padding: 4px 9px 9px 9px;
		background-color: #fff;
	}

	.applied-to-photo IMG{
		max-height: 113px;
	    padding: 1px;
	    max-width: 150px;
	}

.element.front{
	border-radius: 10px;
	overflow: hidden;
	width: 100%;
	height: 186px;
	position: relative;
	background-color: #fff;
}

.element.front IMG{
	position:absolute;
    left: -100%;
    right: -100%;
    top: -100%;
    bottom: -100%;
    margin: auto;
}

.element.front IMG.width-90{
    width: 90%;
}

.element.front IMG.width-150{
    width: 150%;
}

.element.front IMG.frame{
	height: 100%;
}

.element{
	background: #fff;
	width: 100%;
	margin-bottom: 10px;
	border-radius: 3px;
}
	.element .top{
		padding: 10px;
		position: relative;
		min-height: 25px;
	}

	.element .top .shop-modal-btn{
		width: 30px;
		height: 30px;
		background: url('../i/spr17.png?v=5') no-repeat -33px -352px;
		cursor: pointer;
		display: inline-block;
		position: absolute;
	    right: 6px;
	    top: 55px;
	    opacity: 0;
	    transition: opacity 0.2s;
	}
		.element:hover > .top .shop-modal-btn{
			opacity: 1;
		}

		.element .top .shop-modal-btn._phone{
			background-position: -1px -352px;
		}

	.element .top .user{
		color: #444444;
		font-size: 13px;
		vertical-align: middle;
		text-decoration: none;
	}

	.element .top .user IMG{
		width: 30px;
		height: 30px;
		border-radius: 20px;
		margin-right: 4px;
		vertical-align: middle;
	}

	.element .top .user .title{
		display: block;
		position: absolute;
		top: 8px;
		left: 47px;
		text-decoration: none;
	}
		.element .top .user .title:hover{
			text-decoration: underline;
		}

	.element .top .user .nickname{
		color: #555;
		font-size: 12px;
	}
		.element .top .user .nickname:hover{
			text-decoration: underline;
		}

	.element .top .user .nickname._has_name{
		display: block;
		position: absolute;
		top: 27px;
		left: 47px;
		font-size: 12px;
	}

	.element .top .edit{
		background: rgba(0, 0, 0, 0) url("../i/spr17.png?v=5") repeat scroll -71px -4px;
	    height: 20px;
	    position: absolute;
	    right: 8px;
	    top: 14px;
	    width: 20px;
	    cursor: pointer;
	}

	.element .mid-adv{
		text-align: center;
		padding: 10px 0px;
	}

	.element .mid{
		display: block;
		text-align: center;
	}
		.element .mid.__one IMG{
			max-width: 100%;
		}

		.element .mid.__resource-2.__one IMG{
			max-height: 256px;
		}

		.element .mid.__one.__frame IMG{
			max-height: none;
		}

		.elements-col.cabwidth.x2 .element .mid.__one IMG{
			max-height: none;
		}

		.element .mid.__two IMG{
			vertical-align: middle;
		}

		.elements-col.fullwidth.x3 .element .mid.__two IMG{
			width: 157px;
		}

		/*
		.elements-col.fullwidth.x3 .element .mid.__two IMG.original{
			width: 150px;
		}

		*/

		.elements-col.cabwidth.x2 .element .mid.__two IMG{width: 145px;}
		.more .element .mid.__two IMG{width: 149px;}
		.more .element .mid.__two IMG.original{width: 150px;}


		.element .original{
			padding-right: 1px;
		}

	.element .mid.__bkg{
		background: url('../i/ps-bkg.png?v=3');
	}

	.element .mid-multiple .col-3{
		float: left;
		width: 185px;
		margin-left: 10px;
	}

	.element .mid-multiple IMG{
		width: 100%;
		margin-bottom: 8px;
		background: url('../i/ps-bkg.png?v=3');
	}

	.element .mid-multiple .sticker IMG{
		border: 1px solid #f7f7f7;
	}

	.element .mid-multiple .multiple-more-btn{
		text-align: center;
	}
		.element .mid-multiple .multiple-more-btn BUTTON{
			background: #eee;
			padding: 6px;
			border: none;
			border-radius: 3px;
			cursor: pointer;
		}

	.element .bottom{
		height: 42px;
		position: relative;
	}
		.element .bottom .title{
			position: absolute;
			top: 15px;
			left: 9px;
			color: #818181;
			font-size: 13px;
			text-decoration: none;
			font-weight: bold;
		}
			.element .bottom .title:first-letter{
				text-transform: uppercase;
			}

		.element .bottom .btns{
			position: absolute;
			top: 11px;
			right: 1px;
			font-size: 12px;
			cursor: pointer;
			color: #959595;
		}
			.element .bottom .btns I{
				display: inline-block;
				vertical-align: middle;
				background: url('/i/spr17.png?v=3');
				margin-right: 4px;
			}
			.element .bottom .btns .like{
				margin-right: 3px;
				margin-left: 3px;
			}
			.element .bottom .btns .like I{
				background-position: -54px -85px;
			    height: 18px;
			    width: 20px;
			}


				/*.element .bottom .btns .like:hover > I,*/
				.element .bottom .btns .like.active I{
					background-position: -54px -64px;
				}

			.element .bottom .btns .fav I{
				width: 23px;
				height: 21px;
				background-position: -28px -82px;
				margin-right: 2px;
				position:relative;
				top: -1px;
			}

				/*.element .bottom .btns .fav:hover > I,*/
				.element .bottom .btns .fav.active I{
					background-position: -2px -82px
				}

				.element .bottom .btns .fav.disabled I{
				opacity: 0.6;
				cursor: default;
			}

.element .element-tags{
	margin-top: 10px;
	margin-left: 10px;
	max-width: 100%;
    overflow-x: hidden;
}

.element .element-tags A{
	color: #818181;
    display: inline-block;
    font-size: 13px;
    margin-bottom: 4px;
    margin-right: 8px;
}
	.element .element-tags A:hover{
		text-decoration: none;
		color: #5d5d5d;
	}

	.element .element-tags A:active{
		color: #6f6e6e;
	}

.middle-col .cabwidth.x1 .element .top{
	padding: 11px;
}

.middle-col .cabwidth.x1 .element .top .edit{
	right: 15px;
    top: 15px;
}

.middle-col .cabwidth.x1 .element .top .shop-modal-btn{
	top: 65px;
}



.front-page-row{
	position: relative;
}

.front-page-row H2 A{
	display: block;
	text-decoration: none;
	color: #000000;
	font-size: 18px;
	margin-top: 20px;
	margin-bottom: 15px;
	width: 200px;
	font-weight: bold;
}

.front-page-row .show-more{
	color: #000000;
    font-size: 13px;
    position: absolute;
    right: 15px;
    top: 7px;
}

.main-block H1{
	color: #000000;
	font-size: 20px;
	padding-top: 25px;
	margin-bottom: 15px;
	display: inline-block;
	font-weight: bold;
}

	.main-block .order-selector{
		display: inline-block;
		font-size: 13px;
		margin-left: 22px;
		font-weight: bold;
		color: #000000;
		position: relative;
		top: -1px;
	}
		.main-block .order-selector A{
			font-weight: normal;
		}

.list-container{
	display: block;
	margin-top: 10px;
}



/* resize window css */

	.resize-window{
		margin: 19px;
		position: relative;
	}

		.resize-window IMG{
		}

.resize-window-submit{
	text-align: center;
	margin-top: -10px;
}
	.resize-window-submit .submit{
		padding: 8px;
		border: none;
	}

	.border{
		z-index: 5;
		position: absolute;
		background: transparent;
		user-select: none; 
		-o-user-select: none; 
		-moz-user-select: none; 
		-khtml-user-select: none; 
		-webkit-user-select: none; 
		cursor:move;
		/*-webkit-box-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 0.93);
-moz-box-shadow:    0px 0px 8px 0px rgba(255, 255, 255, 0.93);
box-shadow:         0px 0px 8px 0px rgba(255, 255, 255, 0.93);*/
	}
	
	.marker{
		width: 9px;
		height: 9px;
		background: #fff;
		z-index: 5;
		position: absolute;
		user-select: none; 
    -o-user-select: none; 
    -moz-user-select: none; 
    -khtml-user-select: none; 
    -webkit-user-select: none; 
	}
		#marker-0{
			left: -4px;
			top: -4px;
			cursor: nwse-resize;
		}
		
		#marker-1{
			right: -4px;
			top: -4px;
			cursor:nesw-resize;
		}
		
		#marker-2{
			left: -4px;
			bottom: -4px;
			cursor:nesw-resize;
			
		}
		
		#marker-3{
			right: -4px;
			bottom: -4px;
			cursor: nwse-resize;
		}
		
		.fades{
			z-index: 2;
			display: block;
			opacity: 0.6;
			background: #000;
			position: absolute;
			top: 0px;
			left: 0px;
			width: 0px;
			height: 0px;
		}
			#fade-1{
				top: 0px;
				left: 0px;
				width: 500px;
			}
			
			#fade-2{
				left: 0px;
			}
			
			#fade-3{
				left: 0px;
			}
			
			#fade-4{
				left: 0px;
				bottom: 0px;
				width: 500px;
			}

.resize-window-progress{
	text-align: center;
	display: none;
}
	.resize-window-progress SPAN{
		background: rgba(0, 0, 0, 0) url("../i/progress_new_white.gif");
		background-size: cover;
	    display: inline-block;
	    height: 34px;
	    margin: 10px;
	    width: 66px;
	}

.fav-like-users-popup{
	background: #fff none repeat scroll 0 0;
    border-radius: 4px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 230px;
    padding: 40px 10px 18px 10px;
    z-index: 999999;
    cursor: default;
    min-height: 32px;
}

.fav-like-users-popup .popup-arrow{
	width: 17px;
	height: 10px;
	background: url('../i/spr15.png?v=4') no-repeat -77px -3px;
	position: absolute;
	bottom: -10px;
	left: 78px;
	z-index: 999998;
}

.fav-like-users-popup .close{
	width: 11px;
	height: 11px;
	background: url('../i/spr15.png?v=4') no-repeat -5px -69px;
	position: absolute;
	top: 9px;
	right: 10px;
	cursor: pointer;
}

.fav-like-users-popup .progress{
	width: 47px;
	height: 22px;
	background: url('../i/progress_new_white.gif') no-repeat;
	background-size: cover;
	margin: 10px auto;
}
	.fav-like-users-popup .progress.recent{
		margin: 0 auto;
	}

	.fav-like-users-popup .progress.progress-list-first-show{
		margin-top: 125px;
	}

.fav-like-users-popup.more-mode{
	padding: 33px 10px 10px 7px;
	min-height: 270px;
}
.fav-like-users-popup IMG{
	display: block;
	float: left;
	margin: 0px 3px;
	width: 32px;
	height: 32px;
	border-radius: 3px;
}

.fav-like-users-popup .hdr{
	background-color: #000;
	width: 100%;
	height: 30px;
	position: absolute;
	top: 0px;
	left: 0px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}
.fav-like-users-popup .hdr .cnt{
	color: #fff;
	position: absolute;
	top: 10px;
	left: 10px;
	cursor: pointer;
	font-size: 12px;
}

	.fav-like-users-popup .more-cont{
		height: 270px;
		width: 237px;
		overflow: hidden;
	}

	.fav-like-users-popup .more-cont .nano-content{
		overflow: hidden;
	}
		.fav-like-users-popup .more-cont .nano-pane{
			background: none;
			width: 8px;
		}

		.fav-like-users-popup .more-cont .nano-pane .nano-slider{background: #bebebe;}
		.fav-like-users-popup .more-cont .nano-pane .nano-slider:hover{background: #b0b0b0;}
		.fav-like-users-popup .more-cont .nano-pane.active .nano-slider{background: #a3a3a3;}

	.col-list-main.nano .nano-pane{
		background: none;
		width: 8px;
		right: 3px;
	}

	.col-list-main.nano .nano-pane .nano-slider{background: #bebebe;}
	.col-list-main.nano .nano-pane .nano-slider:hover{background: #b0b0b0;}
	.col-list-main.nano .nano-pane.active .nano-slider{background: #a3a3a3;}
	.col-list-main.nano{
		margin-top: 3px;
	}

		.fav-like-users-popup .more-cont A{
			display: block;
			clear: both;
			padding-top: 10px;
		}
			.fav-like-users-popup .more-cont A:hover{text-decoration: none;}
			.fav-like-users-popup .more-cont A SPAN{
				position: relative;
				top: 8px;
				left: 5px;
				font-size: 12px;
				color: #333;
			}

.fav-popup{
	position: absolute;
	top: 40px;
	left: -50px;
	background: #fff;
	z-index: 9999;
	color: #222;
	width: 200px;
	border-radius: 4px;
	box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
	padding: 0px 0px 1px 0px;
}

.detail-fav-like .fav-popup{
	left: 48px;
    top: 99px;
}

	.fav-popup INPUT{
		width: 181px;
		border: 1px solid #ddd;
		border-radius: 4px;
		padding: 4px 4px 3px;
		font-size: 13px;
	}
		.fav-popup INPUT.shorten{
			width: 140px;
			display: inline-block;
			border-bottom-right-radius: 0px;
			border-top-right-radius: 0px;
			vertical-align: middle;
			height: 17px;
		}

	.fav-popup BUTTON{
		width: 40px;
		border: none;
		color: #fff;
		background: #000000;
		padding: 4px 2px 6px 4px;
		border-bottom-right-radius: 4px;
		border-top-right-radius: 4px;
		border-top-left-radius: 0px;
		border-bottom-left-radius: 0px;
		display: none;
		height: 26px;
		cursor: pointer;
		font-size: 11px;
	}
		.element .bottom .btns .fav-popup BUTTON I, .detail-fav-like BUTTON I{
			display: inline-block;
			width: 12px;
			height: 12px;
			background: url('../i/spr15.png?v=4') no-repeat -41px -47px;
		}

	.fav-popup BUTTON.show{
		display: inline-block;
	}

	.fav-popup .col-list-main{
		max-height: 200px;
		overflow: hidden;
	}

	.fav-popup .col-list .col-element{
		font-size: 13px;
		display: block;
		color: #444444;
		padding: 6px;
		cursor: pointer;
	}

	.fav-popup .col-list .empty-col{
		display: block;
		padding: 7px 0px 10px 0px;
		font-size: 11px;
		text-align: center;
	}

		.fav-popup .col-list .col-element:hover{
			background: #e6eff7;
		}

		.fav-popup .col-list .col-element B{
			background: #c6d7e1 url('../i/spr15.png?v=4') no-repeat -53px -42px;
			width: 31px;
			height: 21px;
			vertical-align: middle;
			display: inline-block;
			margin-right: 6px;
			position: relative;
			top: -2px;
		}

		.fav-popup .col-list .col-element._1st B{
			width: 23px;
			height: 21px;
			overflow:hidden;
			background: url('../i/spr17.png?v=5') no-repeat -28px -82px;
			margin-right: 6px;
		}

		.fav-popup .col-list .col-element._1st:hover > B{
			background-position: -2px -82px;
		}

		.fav-popup .col-list .col-element._1st:hover{
			border-top-left-radius: 4px;
			border-top-right-radius: 4px;
		}

		.fav-popup .col-list B.has-cover{
			width: 31px;
			height: 21px;
			background: #c6d7e1;
			overflow: hidden;
		}
			.fav-popup .col-list .col-element B.has-cover IMG{
				max-width: 31px;
			}
		.fav-popup .col-add{
			padding: 6px 4px;
		}

	.fav-popup .col-list .split{
		display: block;
		height: 1px;
		background: #e0e0e0;
		margin: 0px 6px;
	}

	.fav-popup .fav-load-indicator{
		text-align: center;
	}

	.about-item .fav-load-indicator{
		margin-top: 10px;
		margin-left: 5px;
	}

/* shop modal */

.shop-modal-container{
	padding-bottom: 10px;
}

.shop-modal-container .arrow{
	float: left;
	width: 26px;
	height: 200px;
	padding: 0px 18px;
}

.shop-modal-container .arrow SPAN{
	width: 36px;
	height: 36px;
	background: url('../i/spr17.png?v=5') no-repeat -5px -266px;
	cursor: pointer;
	margin-top: 160px;
	display: block;
}

.shop-modal-container .arrow-right SPAN{
	background-position: -50px -261px;
	position: relative;
    right: 8px;
}

.shop-modal-container .flash-area{
	float: left;
	width: 500px;
	height: 350px;
	text-align: center;
}
	 .flash-area-inner{
	 	margin: 0 auto;
	 	width: 350px;
	 	height: 350px;
	 }

.shop-modal-ctrl{
	text-align: center;
}

	.shop-modal-ctrl .continue-btn{
		background: #30a4d3;
		padding: 10px 20px 10px 40px;
		border: none;
		border-radius: 4px;
		color: #fff;
		font-size: 14px;
		cursor: pointer;
	}
		.shop-modal-ctrl .continue-btn SPAN{
			background: url('../i/spr17.png?v=5') no-repeat -70px -242px;
			width: 14px;
			height: 14px;
			display: inline-block;
			margin-left: 20px;
			position: relative;
			top: 2px;
		}

.shop-modal-ctrl SELECT{
	width: 250px;
}

.shop-modal-ctrl BUTTON{
	margin-top: 20px;
}

.no-flash-notification{
	display: none;
	background: #fff;
	margin: 100px 0px 0px 100px;
	width: 70%;
	padding: 100px 30px;
	line-height: 24px;
	font-size: 14px;
	text-align: center;
	border-radius: 8px;
}
	.no-flash-notification.effect-mode{display: block;}

.detail-modal-wrap{
	z-index: 10000;
	position: fixed;
	top: 0px;
	left: 0px;
	overflow-y: scroll;
}

.detail-modal-bkg.modal-bkg{
	background: #f6f6f6;
	opacity: 0.95;
}

.mobile-adv-modal-bkg{
	position: fixed;
	top: 0px;
	left: 0px;
	background-color: #cbdbe6;
	opacity: 0.5;
	z-index: 9999999;
}

.mobile-adv-modal-bkg.swapbox{
	background-color: #000;
	opacity: 0.22;
	width:9999px;
	height: 9999px;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 9999;
	display: none;
}

.mobile-adv-modal .close{
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.mobile-adv-modal .mob-link{
	position: absolute;
    top: 62px;
    left: 0px;
    width: 627px;
    height: 563px;
    display: block;
}

.mobile-adv-modal{
	position: fixed;
	top: 300px;
	left: 300px;
	width: 627px;
	height: 627px;
	background: url('../i/ios_banner.png');
	z-index: 10000000;
	display: none;
	cursor: pointer;
}

.mobile-adv-modal.swapbox{
	width: 566px;
	height: 566px;
	background: url('../i/swapbox-banner.png');
	z-index: 10000;
	position: fixed;
	top: 0px;
	left: 0px;
	display: none;
}

	.mobile-adv-modal.swapbox .close{
		width: 23px;
		height: 23px;
		background: url('../i/swapbox-close.png');
		position: absolute;
		top: 9px;
		right: 13px;
		cursor: pointer;
	}

	.mobile-adv-modal.swapbox .apple-btn{
		width: 160px;
		height: 51px;
		display: block;
		bottom: 16px;
		left: 14px;
		background: url('../i/swapbox-spr.png');
		position: absolute;
	}

		.mobile-adv-modal.swapbox .apple-btn:hover{
			background: url('../i/swapbox-spr.png');
			background-position: -161px 0px;
		}

	.mobile-adv-modal.swapbox .android-btn{
		width: 160px;
		height: 51px;
		display: block;
		bottom: 16px;
		left: 185px;
		background: url('../i/swapbox-spr.png');
		position: absolute;
		background-position: 0px -51px;
	}

		.mobile-adv-modal.swapbox .android-btn:hover{
			background: url('../i/swapbox-spr.png');
			background-position: -161px -51px;
		}

	.mobile-adv-modal.swapbox.alt-mode{
		background-position: -577px 0px;
	}

	.mobile-adv-modal.swapbox.alt-mode .apple-btn{
		background: url('../i/swapbox-spr2.png');
		width: 248px;
		height: 76px;
		top: 268px;
		left: 25px;
	}

	.mobile-adv-modal.swapbox.alt-mode .apple-btn:hover{
		background-position: -252px 0px;
	}

	.mobile-adv-modal.swapbox.alt-mode .android-btn{
		background: url('../i/swapbox-spr2.png');
		background-position: 0px -83px;
		width: 248px;
		height: 76px;
		top: 268px;
		left: 294px;
	}

	.mobile-adv-modal.swapbox.alt-mode .android-btn:hover{
		background-position: -252px -83px;
	}







.progress-bar{
	width: 200px;
	height: 36px;
	background: #e1edf5;
	border-radius: 18px;
	margin: 0px auto;
	margin-top: 170px;
	position: relative;
	visibility: hidden;
}

@-webkit-keyframes pulse {
    0% {opacity: 1;}
    50% {opacity: 0.8;}
    100% {opacity: 1;}
}

.progress-bar SPAN{
	display: block;
	background: #54728f;
	width: 0px;
	height: 36px;
	border-radius: 18px;
	-webkit-transition: width 0.3s ease-in-out;
    -moz-transition: width 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;
    animation: pulse 1.5s ease-out;
    animation-iteration-count: infinite;
    opacity: 1; 
}

.cookie-policy{
	background: #000000;
	padding: 15px;
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	z-index: 100000000;
}

.cookie-policy SPAN{
	color: #fff;
	font-size: 13px;
}

.cookie-policy DIV{
	position: absolute;
	top: 15px;
	right: 40px;
	text-decoration: underline;
	cursor: pointer;
	color: #fff;
	font-size: 13px;
}

@media screen and (max-device-width: 1150px) /* Mobile */ {

  .cookie-policy{
  	background: #fff;
  	padding: 50px;
  }
  .cookie-policy SPAN{
    font-size: 34px;
    width: 80%;
    display: block;
    color: #000;
    line-height: 40px;
  }

  .cookie-policy DIV{
  	font-size: 38px;
  	color: #000000;
  	font-weight: bold;
  	right: 140px;
  	text-decoration: none;
  	top: auto;
  	bottom: 40px;
  }
}
