.backto{float:right; color: #A80DB4 !important;}
.colorwhile{  }

/* Добавление/редактирование альбома */
.input_album_title{ width: 425px; }
.input_album_desc{ width: 425px; max-width: 425px; height: 100px;}
.select_album_access{ width: 431px; }
.select_album_moveto{ width: 431px; }
.check_delcover, .radio_access_open, .radio_access_close{ margin: 0 5px 0 0; }

/* Добавление/редактирование видеозаписи */
.input_video_title, .input_video_url{ width: 640px; }
.input_video_desc{ width: 640px; max-width: 640px; height: 100px; }
.select_video_moveto{ width: 648px; }

/* Видеозапись */
.videomin{ width: 98%; margin-bottom: 10px;}
.videomin .cover img{border: 1px solid #fff;}
.videomin .title {margin: 0 0 5px 0;}
.videomin .desc {margin: 15px 0 0 0;}
.videomin .action{ margin: 15px 0 0 0; }
.videomin .action a{ display: block; float: left; margin: 0 20px 0 0; }
.box .videomin:last-child{border:0; margin:0;}

.videomin_drag{
	outline: 1px dotted #222;
	margin-bottom: 10px;
}

.video_info .desc{ margin: 10px 0 10px 0; }
.video_info a{ color: #A80DB4 !important; }
.video_action{ margin: 10px 0 10px 0;}
.video_action a{ margin: 0 20px 0 0;}

#videoSelector{ width: 180px; display: none; z-index: 6; text-align: left; background: #a7a7a7; padding: 10px;}
#videoSelector #psName{ width: 154px; }
#videoSelector .friendslist{ overflow: hidden; height: 250px; overflow-y: auto; border: 1px solid #4b4b4b; }
#videoSelector .friendslist td{ vertical-align: middle; }
#videoSelector .friendslist div{ margin: 0 0 2px 0; cursor: pointer;}
#videoSelector .friendslist div:hover{ background: #999; color: #fff;}
#videoSelector .friendslist .image{ width: 25px; max-height: 33px; overflow: hidden; margin: 0px;}
#videoSelector .friendslist .image img{ width: 25px;}
#videoSelector .control{ margin: 0 0 -10px 55px;}

/* Фотографии */
#photo_info .desc{ margin: 10px 0 10px 0; }
#photo_info .author a, #photo_info .marks a{ margin: 10px 0 10px 0; }

.photo_action{margin: 10px 0 10px 0;}
.photo_action a{ margin: 0 20px 0 0; }

#photo{cursor: pointer; }

.photo_countinfo{ float: right; margin: 0 50px 0 0;}
.photoratingbox{ height: 30px; }
.photoratingwrap{ width: 110px;  }

.editphotos{ padding: 10px 0 0 5px; margin: 0 -5px 0 0; }
.editphoto {
	float: left;
	margin: 0 10px 0 0;
}
.editphoto img{border: 1px solid #fff;}
.editphoto .input_editphoto_desc{ margin: 10px 0 0 0;  width: 171px; height: 73px;}
.editphoto .action{ float: right; height: 10px;}
.editphoto .status{ color: #FFF; display: none; margin: -13px 0 0 -100px;}
.editphoto .delete{ margin: 0 0 0 80px; cursor: pointer; margin: 0 0 0 -10px;}
.editphoto .delete:hover{ color: #FFF;}

/* Фото слайдер */
#photoslider{ padding: 10px 0 10px 0; text-align: center; }
#photoslider .photos  a{
	display: block;
	float: left;
	width: 100px;
	height: 100px;
	border: 1px solid #fff;
	margin: 0 9px 0 9px;
}
#photoslider .photos  a.preloader img{
	margin: 40px 0 0 40px;
}
#photoslider .photos a.current{
	outline: 6px solid #404040;
}

#photoslider .link_prew, .link_next{
	width: 57px;
}
#photoslider .link_prew .bnt_prew{ display: block; width: 15px; height: 32px; margin-top: 35px; background: url(images/arrow.png) no-repeat 0 0;}
#photoslider .link_next .bnt_next{ display: block; width: 15px; height: 32px; margin-top: 35px; background: url(images/arrow.png) no-repeat -15px 0;}

/* Отметка */
#marks_message{
	display: none;
	background-color: #141414;
	border: 1px solid #222222;
	margin: 0 0 0 0 !important;
	padding: 0 5px 0 5px;
	color: #fff;
}
.marks_wrap{
	width: 400px;
	height: 350px;
	border: 1px solid #fff;
	background-color: #454545;
	text-align: left;
	padding: 10px;
}
.marks_users_list{ width: 375px; height: 250px; border: 1px solid #1a1a1a; overflow: hidden; overflow-y: auto; padding: 10px;}
.marks_users_list div{ float: left; width: 150px; padding: 5px; cursor: pointer; }
.marks_users_list div:hover{ background: #222; }

#photoareaouter{ margin: 0px; text-align: center; }
#photoarea{ margin: auto; position: relative; z-index: 4;}
#tagframe {
	position: absolute;
	border: 0px;
	display: none;
	z-index: 6;
	cursor: move;
	overflow: hidden;
}
#tagframe img{ position: absolute; }

#tagbox {
	position: absolute;
	border: 0px;
	display: none;
	z-index: 6;
	cursor: move;
	overflow: hidden;
	outline: 1px solid #fff;
}
#tagbox img{ position: absolute; }

.tagframehandle{
	position: absolute;
	height: 10px;
	width: 10px;
	background: #fff;
	border:1px solid gray;
	opacity: 0.8;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter:alpha(opacity=80);
	z-index: 7;
	overflow: hidden;
	display: none;
}
#fadedphoto {
 top: 0;
 left: 0;
 font-size: 0em;
 overflow: hidden;
 background-color: black;
 opacity: 0.50;
 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
 filter:alpha(opacity=50);
 position: absolute;
 z-index: 5;
 display: block;
}
#nw { cursor: nw-resize; }
#n  { cursor: n-resize;  }
#ne { cursor: ne-resize; }
#w  { cursor: w-resize;	 }
#e  { cursor: e-resize;	 }
#sw { cursor: sw-resize; }
#s  { cursor: s-resize;	 }
#se { cursor: se-resize; }

#photoSelector{ width: 180px; position: absolute; display: none; z-index: 6; text-align: left; background: #a7a7a7; padding: 10px;}
#photoSelector #psName{ width: 154px; }
#photoSelector .friendslist{ overflow: hidden; height: 250px; overflow-y: auto; border: 1px solid #4b4b4b; }
#photoSelector .friendslist td{ vertical-align: middle; }
#photoSelector .friendslist div{ margin: 0 0 2px 0; cursor: pointer;}
#photoSelector .friendslist div:hover{ background: #999; color: #fff;}
#photoSelector .friendslist .image{ width: 25px; max-height: 33px; overflow: hidden; margin: 0px;}
#photoSelector .friendslist .image img{ width: 25px;}
#photoSelector .control{ margin: 0 0 -10px 55px;}

#photoloader{
	display: none;
	width: 100%; height: 100%;
	background: #E7E7E7;
}
#photoloader table{ width: 100%; height: 100%; }
#photoloader td i{ display: block; width: 100px; height: 100px; background: url(images/loading.gif) no-repeat; }

.input_desc_photo{ width: 620px; max-width: 620px; height: 100px;}
.input_desc_photo_min{ width: 454px; max-width: 454px; height: 50px;}
.check_cover_album{ margin: 0 10px 0 0;}
.photo_rotate_l{ display: block; width: 57px; height: 57px; background: url(images/btn_rotate.png) no-repeat 0 0; margin: 0 0 0 48px;}
.photo_rotate_r{ display: block; width: 57px; height: 57px; background: url(images/btn_rotate.png) no-repeat -57px 0; margin: 0 0 0 48px;}
.photo_rotate_l_min{ display: block; width: 57px; height: 57px; background: url(images/btn_rotate.png) no-repeat 0 0; margin: 0 0 0 11px;}
.photo_rotate_r_min{ display: block; width: 57px; height: 57px; background: url(images/btn_rotate.png) no-repeat -57px 0; margin: 0 0 0 11px;}

#gl_trumb_tagger{
	display: none;
	background-color: #e8ecef;
	border: 1px solid #b5c0c9;
	margin: 0 0 5px 0 !important;
	padding: 5px;
}
#gl_trumb_tagger .default-button{
	margin-top: 2px;
}
#photo_action_msg{ display: none; margin: 10px 0 0 0;}


.colorred{color:red !important;}

#gl_message{
	display: none;
	background-color: #242424;
	border: 1px solid #373737;
	min-height: 10px;
	padding: 5px;
	margin-bottom: 10px;
}
.gl_message{
	background-color: #242424;
	border: 1px solid #373737;
	padding: 5px;
}

.albummin{width: 98%; margin-bottom: 10px;}
.albummin .cover img{border: 1px solid #fff;}
.albummin .info{
	margin: 5px 0px;
}
.albummin .action a{
	display: block;
	margin-bottom: 10px;
}
.albummin_drag{
	outline: 1px dotted #222;
	margin-bottom: 10px;
}
.box .albummin:last-child{
	border: 0px;
}



.photo_min_action{
	display: none;
	position: absolute;
	z-index: 3;
	height: 18px;
	width: 92px;
	background-color: #000;
	padding: 4px 4px 0 4px;
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
	color: #999;
}
.photo_min_action .pha_head:hover{ color: #fff; }
.photo_min_action .pha_body{ display: none; font-size:11px; }
.photo_min_action .pha_body div{ padding: 2px 0 3px 0; margin: 0 -4px 0 -4px; }
.photo_min_action .pha_body div:hover{ background-color: #222; color: #fff;}


.photo_min{
	width: 100px;
	height: 100px;
	border: 1px solid #fff;
	background-color: #1a1a1a;
	float: left;
	margin: 0 6px 6px 0;
	text-align: center;
	cursor: pointer;
}
.photo_min_drag{
	border: 1px dotted #222;
	margin: 0 6px 6px 0;
	float: left;
	z-index: 10;
}
.photo_min.cover{
	border: 1px solid #C71AFC;
}
.photo_min img{
	z-index: 1;
}
.photo_min .action{
	display: none;
	position: absolute;
	z-index: 3;
	height: 18px;
	width: 92px;
	background-color: #000;
	bottom: 0;
	padding: 4px 4px 0 4px;
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}
.photo_min .action_switch{
	display: none;
	position: absolute;
	z-index: 4;
	height: 18px;
	width: 92px;
	bottom: 0;
	padding: 4px 4px 0 4px;
	color: #fff;
	font-weight: bold;
	background: url(images/switch.png) no-repeat 70px 3px;
}
.photo_min .action_menu{
	background-color: #000;
	display: none;
	position: absolute;
	z-index: 5;
	width: 98px;
	height: 95px;
	bottom: -95px;
	border: 1px solid #373737;
}
.photo_min .action_menu div:hover{
	background-color: #282828;
}

.photo_min .fadded{
	display: none;
	position: absolute;
	z-index: 2;
	background-color: #000;
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
	width: 100px;
	height: 100px;
}
.photo_min .preloader{
	display: none;
	position: absolute;
	z-index: 3;
	background: url(images/preloader.gif) no-repeat 0 0;
	margin: 44px 0 0 44px;
	width: 20px;
	height: 20px;
}

.photo_min .action .arrow_left{
	float: left;
	width: 16px;
	height: 16px;
	background: url(images/arrow_rotate_left.png) 0 0;
}
.photo_min .action .arrow_right{
	float: right;
	width: 16px;
	height: 16px;
	background: url(images/arrow_rotate_right.png) 0 0;
}
.photo_min .action .edit{
	float: left;
	width: 16px;
	height: 16px;
	margin: 0 0 0 23px;
	background: url(images/cog.png) 0 0;
}
.photo_min .action_cross{
	display: none;
	position: absolute;
	margin: 4px;
	right: 0px;
	width: 16px;
	height: 16px;
	background: url(images/cross.png) 0 0;
}
.photo_min .action_cross, .photo_min .action .edit, 
.photo_min .action .arrow_right, .photo_min .action .arrow_left{
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}
.photo_min .action_cross:hover, .photo_min .action .edit:hover, 
.photo_min .action .arrow_right:hover, .photo_min .action .arrow_left:hover{
	filter:alpha(opacity=10);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}
.photo_min:hover .action, .photo_min:hover .action_switch, .photo_min:hover .action_menu{
	display: block;
}

.video_tag_selector{
	background: #282828;
}

.photo_form_edit{
	padding: 10px 39px 40px 39px;
}
.photo_form_edit .photo_preview{
	width: 300px;
	height: 300px;
	background: #666;
}

#gl_photo_preloader{ display: none;}




.pv_bg{
	background: #000;
  opacity: 0.85;
  filter: alpha(opacity=85);
  position: absolute;
  z-index: 1000;
  left: 0;
  top: 0;
}
.pv_canvas {
  position: fixed;
  position: absolute;
  left: 0;
  top: 0;
  z-index:1001;
  overflow: hidden;
  -moz-user-select: none;
  -khtml-user-select: none;
}
#pv_top_menu{
  position: absolute;
  width: 100%;
  height: 42px;
}
#pv_top_menu .pv_logo{
  width: 156px;
  height: 92px;
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1004;
	background: url(images/logo.png) 0 0 no-repeat;
}
#pv_top_menu .pv_close {
  background: url(images/pv_ui.gif) -49px 0 no-repeat;
  width: 17px;
  height: 17px;
  position: absolute;
  right: 13px;
  top: 13px;
  cursor: pointer;
  opacity: 0.6;
  filter: alpha(opacity=60);
  z-index: 1004;
}
#pv_top_menu .pv_mp3_player{
	width: 200px;
  position: absolute;
  right: 50px;
  top: 10px;
  opacity: 0.6;
  filter: alpha(opacity=60);
  z-index: 1004;
}
#pv_full_photo {
  height: 100%;
  text-align: center;
}
#pv_full_photo_img_wrap {
  display: inline-block;
}
.pv_full_photo_img {
  cursor: pointer;
  -ms-interpolation-mode:bicubic;
  position: relative;
  z-index: 1003;
}
.pv_full_photo_outer {
  position: absolute;
  border: 1px solid #000;
}
#pv_bottom_menu {
  width: 100%;
  height: 120px;
  position: absolute;
  bottom: 0;
  z-index: 1005;
}
#pv_bottom_panel {
  background: #000;
  width: 100%;
  height: 100px;
}
#pv_bottom_restore {
  height:20px;
  visibility: hidden;
}
#pv_bottom_thumbs{
  position: relative;
	overflow-x: hidden;
	overflow-y: hidden;
	padding-top: 10px;
	margin-left: 20px;
	margin-right: 20px;
}
#pv_bottom_thumbs_wrap{
	position: relative;
	overflow: hidden;
	height: 55px;
}
#pv_bottom_thumbs_wrap div{
  width: 50px;
	height: 50px;
	border: 1px solid #262626;
	background: #262626;
	float: left;
	margin-right: 5px;
	padding: 1px;
	cursor: pointer;
}
#pv_bottom_thumbs_wrap div.current{
	border: 1px solid #FFF;
}
#pv_bottom_thumbs_wrap div:hover{
	border: 1px solid #FFF;
}
#pv_bottom_scroll{
	display: none;
	margin-top: 10px;
	margin-left: 20px;
	margin-right: 20px;
	background-color: #454545;
	height: 15px;
	position: relative;
}
#pv_bottom_slider{
	position: absolute;
	width: 15px;
	height: 15px;
	cursor: pointer;
	background: #FFF;
}
#pv_bottom_marker{
	position: absolute;
	width: 15px;
	height: 15px;
	cursor: pointer;
	background: #FFF;
}
#pv_album_progress {
  display: block;
  position: absolute;
  background: url(images/pv_loader.gif) 0 0 no-repeat;
  width: 149px;
  height: 8px;
  z-index: 1002;
}
.portfolio{
	float: right;
	margin-top: -10px;
}
