a {
    cursor: pointer;
}

a img {
	border:0;
}

a:hover{color: #3399CC;}

a.active{ 
	text-decoration: none;
	color: #000;
    font-weight: normal;
}

textarea.ajust{
    overflow: hidden;
}

textarea{
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    line-height: 17px;
}

/* CSS Shortcuts */
.none{display:none;}
.ohid{overflow:hidden;}
.fl{float:left;}
.fr{float:right;}
.clear{clear:both;}
.nounder{ text-decoration: none; }
.nounder:hover{ text-decoration: none; }

.notice{
    text-align: center;
    font-size: 11px;
    color: gray;
}

.notice_bordered{
    border-top: 1px solid #DFE3E8;
    border-bottom: 1px solid #DFE3E8;
    padding: 20px;
    margin: 20px;
    text-align: center;
    font-size: 11px;
    color: gray;
}

a.user{ font-weight: bold; }


/* Expandable */
.hidden { display: none; }
.expanded .hidden{ display: block; }


/* Overable */
.onover, .over .overable .onover{ visibility: hidden; }
.over .onover, .over .over .onover{ visibility: visible; }

/* Deftext */
textarea.deftext{color: #999 !important;}

/* Subcomments */
.subcomment_form{ padding: 10px 0 0 0; }
.subcomment_form textarea.comment_content{ height: 16px; width: 100%; overflow: hidden; width: 450px; padding: 0 4px;}
.expanded .subcomment_form textarea.comment_content{ height: 33px; color: black; padding: 4px; }
.compact .subcomment_form textarea.comment_content{ height: 18px; resize: none; }

.annotate {
    background-color: #E8EFFC;
    margin-bottom: 10px;
    padding: 3px;
}


/* Comment/Share form */
textarea.watertext{ color: #999; }
.album-select{ width: 150px; }

.actions span.heart {
    display:inline-block;
    padding-left:16px;
    height:13px;
    background: no-repeat url(../../img/heart.png) left 2px;
}

.actions a {
    margin-right:5px;
    margin-left:5px;
}
.actions span.empty {
    padding-left:12px;
}


.one_comment{
    border-bottom:solid 1px #dfe3e8;
    padding: 30px 0px 10px 0px;
    position: relative;
} 

.one_comment .content {
    margin-left:74px;
    font-size:12px;
}
.one_comment .content a:first-child {
    display:inline-block;
    margin-bottom:5px;
    font-size:13px;
}
.one_comment .content a.user {
    font-weight:bold;
    font-family:Arial, Helvetica, sans-serif;
}

.one_comment .date_close {
    top:32px;
    right:0;
}
.one_comment .date_close a {
    margin-bottom:2px;
}   

.one_subcomment{
    padding: 10px 0; overflow: hidden; 
    border-bottom: 1px solid #eee;
    position: relative;
}

.one_subcomment .subcontent{
    margin-left:42px;
}

.comment_form .file_lines .file-line{
    overflow: hidden;
}
.comment_form .file_lines .file-line img{
    float: left;
    margin: 5px;
}
.comment_form .file_lines .file-line .file-name{
    float: left;
}



/* События */
.event .subcomment_form textarea, .one_comment .subcomment_form textarea{ border: 1px solid #DFE3E8; }
.events_menu{ background-color: #E8EFFC; padding: 12px 0 0 13px;}

body .main_form .File_line { 
    height: auto;
}


.event .date,
.one_comment .date,
.one_subcomment .date
{
    float: right;
    font-size: 11px;
    color: gray;
}

.left_menu_block a.active {
    background-color:#e8effc;
    cursor: default;
}

.section .remove {
	background: no-repeat url(../../img/relative_minus.png);
	display:block;
	width:21px;
	height:21px;
	float:right;
}


a.edit {
    display:block;
    position:absolute;
    width:18px;
    height:18px;
    background: url(../../img/photo_tools.png) no-repeat -18px 0;
    top:4px;
    right:4px;
}

a:hover.edit {
	background-position:-18px -18px;	
}

#photo_loader {
	position:absolute; 
	top:5px; 
	left:6px; 
	display:none;
}

.scroll-autocomplete {
	max-height: 200px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
}
/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .scroll-autocomplete {
	height: 200px;
}

.scroll-autocomplete li {
	overflow:hidden;
}



.notice-container .notice-block {
	padding:10px;
	margin:0 0 10px;
}
.notice-container .ok {
	border:1px solid #B8CAD9;
	background: #E8EFFC;	
}

.notice-container .fail {
	border:1px solid #F76464;
	background: #FFE1E1;	
}

.notice-container .notice-block span {
	font-weight:bold;
}

.notice-container .notice-block div {
	padding-top:5px;
}

/* Dialogs */
.showImageDialog{ min-width: 690px; }
.wait *{ cursor: wait; }

/* Profile */
.profile_photo{margin: 0 0 5px 0;}

.view_access {
   	padding-right:20px;
	background: url("../../img/private_arr.png") no-repeat center right;
	
}

.prev_load_photo .foto_wrap {
	position:relative;
	display:block;
    float: left;
    margin: 0 4px 4px 0;
}

.prev_load_photo .foto_wrap .remove {
	position:absolute;
	right:0;
	top:0;
	display:block;
	width:10px;
	height:10px;
	background: url("../../img/close.png") no-repeat top left;
}

.prev_load_photo a {
    display:inline;
	padding-right:0;
	font-size: inherit;
	border-bottom:none;
	background: none;
	height:auto;
}
.prev_load_photo a:hover {
    text-decoration:none;
	border-bottom:none;
	height:auto;
}

.prev_load_photo div img {
    cursor:pointer;
	margin:0;
	float:none;
}

.prev_load_photo a.openclose {
    display:inline-block;
	padding-right:10px;
	font-size:11px;
	border-bottom:dotted 1px #295da6;
	background: no-repeat url(../../img/show_photo_arr.png) right 5px;
	height:14px;
}
.prev_load_photo a.openclose:hover {
    text-decoration:none;
	border-bottom:none;
	height:15px;
}

.profile_form .p_table tr td span.error {
	float:none;
}

/* Image Dialog */

.loading{
    background: no-repeat url(../../img/preloader_hor.gif) center;
    width: 24px;
    height: 16px;
}

.loading-dialog {
    background: no-repeat url(../../img/preloader.gif) center;
    width: 32px;
    height: 32px;
    position:absolute;
    left:50%;
    top:50%;
    margin-left:-16px;
    margin-top:-20px;
}

.loading-wrap {
	position: relative;
}

.sendMessage .loading-dialog{}

.showImageDialog .loading-dialog{}

.show_more .loading{
    width: auto;
    height: 32px;
}

.photolist {
	list-style: none;
}

.photolist li {
	padding:5px;
	margin:0;
	overflow: hidden;
	zoom:1;
}

.photolist li img {
	border:1px solid #B8CAD9;
}

.photolist li img,
.photolist li span,
.photolist li a
{
	line-height:50px;
	display:block;
	float:left;
}

.photolist li span {
	padding:0 10px;
}

.photolist .del-preview {
	background: url("../../img/close.png") no-repeat left center;
	width:10px;
	height:50px;
	text-decoration: none;
	float:right;
}

.photolist .over {
	background: #E8EFFC;
}

.photolist .loader {
	width:50px;
	height:50px;
	float:left;
	text-align:center;
}

.photolist .loader div {
	padding-top:17px;
}

.photolist .loader img {
	border:0;
	margin:0 auto;
	float:none;
}

.photolist .error {
	font-size:11px;
	color: red;
	padding-top:17px;
}

#addPhotoForm .foot-line {
	border-top:1px solid #B8CAD9;
	overflow:hidden;
	zoom:1;
	margin-top:10px;
	padding-top:10px;
}

#addPhotoForm .fright {
	float:right;
}

.ul-style-1 {
	padding-bottom:10px;
}

.attaches{ margin-top:10px }
.attaches img{ margin:1px }

.photo_row .edit {
	display:none;
}

.photo_row {
	position:relative;
	margin: 2px 2px 18px 13px;
}

.album_face {
	border:2px solid #ff4a26;
	margin: 0 0 16px 11px;
}

.photo_row a.tools {
	position:absolute;
	text-decoration:none;
	width:18px;
	height:18px;
	display:none;
}

.photo_row .over a {
	display:block;
}

.photo_row .over a.tedit {
	right:25px;
	top:5px;
	background: url(../../img/photo_tools.png) no-repeat -18px 0;
}

.photo_row .over a.tmain {
	right:45px;
	top:5px;
	background: url(../../img/photo_tools.png) no-repeat -36px 0;
}

.photo_row .over a.tremove {
	right:5px;
	top:5px;
	background: url(../../img/photo_tools.png) no-repeat 0 0;
}

.photo_row .over a:hover.tedit {background-position:-18px -18px;}
.photo_row .over a:hover.tmain {background-position:-36px -18px;}
.photo_row .over a:hover.tremove {background-position:0 -18px;}

.photo_add_comment textarea {
	width:344px;
}

.fixw {
	width:342px;
	overflow: hidden;
}

.dropdownList ul li a {
	white-space: normal;	
	line-height: 15px;
	padding:6px 4px;	
}

.customSubmit input{position: static;}

.photo_add_comment .photo_row {
	margin:2px 10px 2px 2px;
}

.photo_add_comment .album_face {
	margin:0px 8px 0px 0px;
}

.photo_add_comment .photo_row .over a.tmain {
	right:5px;
}

.album_row { 
	background:#f2f6f9; 
	float:left; 
	text-align:center; 
	padding:0 
}
.album_row .album_row_inner {
	height:107px; 
	width:139px;
	text-align:center;
	display: table-cell; 
	vertical-align: middle; 
	overflow:hidden; 
	-display:block 
}

.popup{width:auto;top:0px; position:absolute; z-index:2000; left:0; margin-left:0px;}


.notice_block {
	border:1px solid #ACACAC; 
	padding:10px;
	font-size:11px;
	text-align:center;
	color: gray;
}

.comment {
	position:relative;  
	border-bottom:1px solid #dfe3e8; 
	padding:14px 0 15px; 
	margin:20px 0 0 0;
}

.comment .date_close {
    position:absolute;
	text-align:right;
	top:0;
	right:0;
	font-size:11px;
}
.comment .date_close a {
    display:inline-block;
	width:10px;
	height:10px;
	background: no-repeat url(../../img/close.png) bottom;
	margin-left:5px;
	vertical-align:middle;
	margin-bottom:2px;
}

.date_close{
    position: static;
    float: right;
}

#viewPhotoForm textarea, #viewVideoForm textarea{margin:0; height:73px; width: 444px;}


.userfind li img{
	float:left;
}

.userfind li div {
	margin-left:40px;
}

.userfind li div span {
	color: #585858;
	font-size:11px;
}

.gift:hover {
    background:none;
}

.yours_gifts .gift {
	margin-right:14px;
	cursor: pointer;
}

.yours_gifts .act {
	background:#eee;
}

.gift_form_controls .error {
	color: red;
	padding:0 0 10px;
}

.gift_form_controls .error p {
	margin:5px 0;
}

.gift {
	border:1px solid white;
	margin: 0 21px 19px 0;
	overflow:hidden;
}

.act_gift {
	border:1px solid #D0D0D0;
}

.gift_pop_up .private {
	padding:15px 0;
	text-align:center;
}

.gift_pop_up .payinfo {
	font-size:10px;
	color: #969696;
	padding:5px 0;
}

.gift_pop_up .payinfo strong {
	color: black;
}

.gift_pop_up .nolink {
	font-weight:bold;
}

.gift_pop_up a.restore,
.gift_pop_up a.del {
	font-size:10px;
}

.gift_pop_up .delblock {
	margin-top:1px;
	text-align:right;
}

/* отметки на фото */

#image-wrap {
	position:relative;
	display:block;
}

#image-wrap .friendDialog {
	display:none;
}

.img-overlay {
	background: black;
	cursor:crosshair;
}

.img-area {
	overflow:hidden;
	cursor:crosshair;
	font-size:0;
}

.img-cont .rel{
	position:relative;
}

.img-area .ui-resizable-handle {
	position:absolute;
	width:7px;
	height:7px;
	background: white;
	z-index:25;
	opacity:0.7;
	box-shadow:0 0 3px #969696;
}

.img-area .ui-resizable-handle:hover {
	opacity:0.9;
}

.img-area .ui-resizable-nw { top:0; left:0; }
.img-area .ui-resizable-n { top:0; left: 50%; margin-left:-3px; }
.img-area .ui-resizable-ne {top:0; left:100%; margin-left:-7px; }

.img-area .ui-resizable-w {top:50%; left:0; margin-top:-3px; }
.img-area .ui-resizable-e {top:50%; left:100%; margin-top:-3px; margin-left:-7px;}

.img-area .ui-resizable-sw {bottom:0; left:0; }
.img-area .ui-resizable-s {bottom:0; left:50%; margin-left:-3px; }
.img-area .ui-resizable-se {bottom:0; left:100%; margin-left:-7px;}

#labelsInfo {
	margin-bottom:10px;
	border:1px solid #5E96CE;
	background: #E8EFFC;
	padding:15px 0;
	display:none;
}

.statictext {
	background: white;
	font-size:14px;
}

.statictext h3{
	font-size:20px;
	border-bottom:2px solid black;
	font-weight:normal;
	margin-bottom:20px;
}

* #sideRight .chat{
    border-radius: 0px;   
}