/***************************************************************/
/* IP.Board 3 CSS                                              */
/* ___________________________________________________________ */
/* By Rikki Tissier                                            */
/* (c)2008 Invision Power Services                             */
/***************************************************************/
/* ipb_gallery.css - Gallery styles							   */
/***************************************************************/
/* NOTE: This CSS is currently *unoptimized*				   */

.galattach {
	border: 1px solid #9a9a9a;
	padding: 3px;
	background: #fff;
}

/* Table columns */
.col_gal_cat { 	
	/*width: 66%;*/
}
.col_gal_imgs,
.col_gal_last_img {
 	width: 15%;
}
.col_gal_imgs {
	text-align: right;
}
.col_gal_stats {
	width: 25%;
}

table.ipb_table.gallery td {
	vertical-align: top;
	padding-top: 15px;
}

/*************************************/
/* Categories 						 */

.gallery_category_row {
	padding: 15px;
	margin: 0 auto 15px auto;
	text-align: center;
}

.gallery_category {
	border: 1px solid #9a9a9a;
	padding: 5px 5px 35px 5px;
	background: #fafafa;
	overflow: hidden;
	display: inline-block;
	margin: 0 1% 20px;
	-webkit-box-shadow: -2px 2px 3px #b8bcc5;
	position: relative;
}
	
	.gallery_category.moderation {
		padding-bottom: 50px;
	}
	
	.gallery_category .enhanced_link {
		text-decoration: none !important;
	}
	
	.gallery_category h3 {
		background: url(http://forum.dog.bg/public/style_images/clean/gallery/trans_bg.png );
		color: #fff;
		text-align: left;
		padding: 8px;
		font-size: 16px;
		font-weight: normal;
	}
	
		.gallery_category h3 .desc {
			font-size: 11px;
		}
	
	.gallery_category h3 a {
		color: #fff;
	}
	
	.gallery_category .description {
		background: url(http://forum.dog.bg/public/style_images/clean/gallery/trans_bg2.png );
		color: #e2e2e2;
		position: absolute;
		bottom: 0;
		left: 0;
		line-height: 140%;
		width: 100%;
	}
	
		.gallery_category .description p {
			text-align: left;
			font-size: 11px;
			padding: 5px;
		}
		
	.gallery_category .info {
		position: absolute;
		bottom: 10px;
		right: 8px;
		font-size: 11px;
		line-height: 150%;
		text-align: right;
	}
	
.gallery_category .preview {
	border: 1px inset #d0d0d0;
	width: 275px;
	height: 275px;
	overflow: hidden;
	position: relative;
	background-color: #e4e4e4;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.gallery_category .marker {
	float: left;
	margin: 12px 5px 30px 5px;
	z-index: 5000;
}

.subcat_list {
	margin: 15px 15px 15px 35px;
	font-size: 13px;
	list-style-type: disc;
}
	
	.subcat_list a {	
		font-weight: bold;
	}
	
	.subcat_list li {
		padding: 3px;
	}
	
/*************************************/
/* Gallery album listing styles */

.gallery_album_row {
	text-align: left;
	overflow: hidden;
	clear: both;
}
	
.gallery_album {
	float: left;
	margin-right: 1%;
	margin-bottom: 8px;
}
	
	.gallery_album .image_wrap {	
		text-align: center;
		position: static;
		display: block;
		padding: 8px;
	}
	
	.gallery_album ul.stats {
		padding: 10px 15px 15px;
		margin-left: 15px;
	}

	.gallery_album div.desc {
		min-height: 90px;
		padding: 10px;
		font-size: 0.9em;
	}

	.gallery_album .gallery_stats {
		padding: 8px 10px;
		font-size: 0.9em;
		text-align: right;
	}

		.gallery_album .gallery_stats li {
			display: inline;
			padding-right: 8px;
		}
	
	.gallery_album.placeholder {
		height: 100%;
		background: #eeeeee;
		-moz-border-radius: 7px;
	}
	
/*************************************/
/* Gallery image listing styles */

.gallery_cat_title.maintitle .desc {
	float: right;
	font-size: 11px;
	margin-top: 3px;
}

	.gallery_cat_title.maintitle .desc a {
		color: #d5dde5;
		text-decoration: none;
	}
	
.gallery_row {
	margin: 0 auto;
	text-align: center;
	padding: 10px 15px;
}
	
.gallery_block {
	padding: 10px 30px 0px 30px;
	margin: 5px 0;
	text-align: center;
	overflow: hidden;
	display: inline-block;
	border-bottom: 1px solid #d5dde5;
	vertical-align: top;
}
	
	.gallery_block img.galattach {
		-webkit-box-shadow: -2px 2px 3px #b8bcc5;
	}
	
	.gallery_block p.info {
		font-size: 11px;
		margin-top: 5px;
	}
	
	.gallery_block.moderated {
		background: #f2e4e7;
	}
	
	.gallery_row .gallery_block h3 {
		background: none;
	}
	
.gallery_block a.user {
	font-size: 11px;
}
		
.image_wrap {
	position: relative;
	display: inline-block;
	margin: 0 0 8px 0;
	padding: 0;
}

.gallery_row .gallery_block .wrap .pinned,
.gallery_row .gallery_block .wrap .image_mod {
	position: absolute;	
	background: #fff;
	padding: 2px 4px 4px 4px;
}

.gallery_row .gallery_block .wrap .image_mod {
	top: 3px;
	right: 3px;	
	-webkit-border-bottom-left-radius: 3px;
}

.gallery_row .gallery_block .wrap .pinned {
	top: 3px;
	left: 3px;
	-webkit-border-bottom-right-radius: 3px;
}

.gallery_row .gallery_block .wrap .mini_rate {
	display: block;
	margin: 0;
}
	
/* Gallery view image */

.gallery_wrap {
	background: #fafbfc;
	overflow: hidden;
}

.gallery_photo_info {
	float: right;
	min-width: 330px;
	max-width: 330px;
	padding: 10px;
	background: #e4ebf3;
}
	
	.gallery_photo_info .info {
		padding: 5px;
	}
	
	.gallery_photo_info .uploader_info h3 {
		margin: 0;
	}
	
	.gallery_photo_info .uploader_info .photo {
		float: left;
		margin-right: 10px;
	}
	
	.gallery_photo_info h3.expanded, .gallery_photo_info h3.collapsed {
		cursor: pointer;
		padding-left: 26px;
	}
	
	.gallery_photo_info h3.collapsed {
		background: url(http://forum.dog.bg/public/style_images/clean/cat_maximize_small.png ) no-repeat 4px 5px;
	}
	
	.gallery_photo_info h3.expanded {
		background: url(http://forum.dog.bg/public/style_images/clean/cat_minimize_small.png ) no-repeat 4px 5px;
	}

.gallery_view {
	margin-right: 350px;
	background: #fafbfc;
	text-align: center;
	padding: 0px 0 0;
	border-top: 8px solid #e4ebf3;
}
	
	.gallery_view .gallery_tools {
		overflow: hidden;
		text-align: center;
	}
	
	.gallery_view .gallery_tools li {
		display: inline-block;
		margin: 15px 3px;
		font-size: 11px;
		padding: 5px 8px;
		-webkit-border-radius: 5px;
		background: #eef3f8;
	}
	
	.gallery_view.full {
		width: 100%;
	}
	
	.gallery_view .description {
		margin: 15px 0 0;
		padding: 15px 25px;
		font-size: 12px;
		line-height: 150%;
		text-align: left;
	}

		.image_info {
			margin-top: 5px;
		}
	
		.image_info li {
			padding: 5px 0px 5px 12px;
			font-size: 0.9em;
		}
		
			.image_info li STRONG {
				width: 30% !important;
				display: block;
				float: left;
			}
			
			.image_info li input {
				/*width: 60%;*/
			}
			
ul.photo_info {
	margin: 0;
	font-size: 0.9em;
	overflow: hidden;
	line-height: 150%;
}

ul.photo_info li {
	clear: both;
}

ul.photo_info span {
	color: #718a96;
	padding: 3px;
}

ul.photo_info span.title {
	font-weight: bold;
}

ul.photo_info span.info {
}
			
/* Photostrip */

.photostrip {
	overflow: hidden;
	border: 1px solid #e4ebf2;
}

.photostrip .nav {
	width: 2%;
	text-align: center;
	float: left;
	background: #d5dde5;
}

	.photostrip .nav a {
		display: block;
		vertical-align: middle;
		position: relative;
		top: 40%;
	}

.photostrip #strip {
	width: 96%;
	float: left;
	text-align: center;
}

	.photostrip #strip div {
		width: 19.2%;
		float: left;
		text-align: center;
	}
	
	.photostrip #strip div img {
		margin-top: 15px;
	}
	
/* COMMENTS */
.comment.stats {
	clear: both;
	padding: 10px;
}

	.comment.stats .galattach {
		margin-right: 15px;
	}

/* USER VIEW */

#gallery_user_info {
	width: 19%;
	float: left;
	margin-right: 2%;
}

	#gallery_user_info ul.info li {
		padding: 8px;
		font-size: 0.9em;
	}

#gallery_user_photos {
	width: 79%;
	float: left;
}

/* Others... */
em.inline-moderated {
	display: inline;
	clear: none;
	margin-left: 5px;
	vertical-align: middle;
}

.subcatsTrigger {
	cursor: pointer;
}

/***********************************************/
/* Image notes */

body.resizing {
	cursor: se-resize;
}

#add_note {
	cursor: pointer;
}

.image_view_wrap {
	display: inline-block;
	position: relative;
	text-align: left;
}

.note_wrap {
	position: absolute;
	font-size: 12px;
}

.note_box {
	border: 1px solid #000;
	position: relative;
	cursor: pointer;
	opacity: 0.7;
}
	
	.note_box .internal {
		width: 100%;
		height: 100%;
		border: 1px solid #cacaca;
	}
	
	.note_wrap .note_box:hover {
		opacity: 1;
	}
	
.note_wrap.editable.selected .note_box {
	border: 1px dashed #000;
	cursor: move;
}
		
	.note_wrap.editable.selected .note_box .internal {
		border: 1px dashed #fff;
	}

.note_wrap.editable .handle {
	width: 11px;
	height: 11px;
	background: url(http://forum.dog.bg/public/style_images/clean/gallery/drag_handle.png ) no-repeat;
	position: absolute;
	right: 0;
	bottom: 0;
	cursor: se-resize;
}
	
.note_text, .note_form {
	background: #e3eff3;
	padding: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #789098;
	font-size: 11px;
	margin-top: 4px;
	text-align: left;
	display: inline-block;
} 

.note_form {
	font-size: 12px;
}

/******************************************/

.gallery_filter {
	padding: 8px;
}

	.gallery_filter a {
		margin: 0 8px;
		text-decoration: none;
		display: inline-block;
		padding: 3px;
		-webkit-border-radius: 4px;
	}
	
		.gallery_filter a.active {
			background: #1d3652;
			color: #fff;
			padding: 3px 8px;
		}