/**
// Copyright (C) 2008 - 2010 Mike Feng Jinglong
//
// This program is a commercial software; you cannot redistribute it
// and/or modify it without the explicit consent from the author.
//
// All title and copyright in and to the Product is owned by Mike Feng
// and is protected by international copyright laws and treaty provisions.
// Mike Feng retains all ownership rights in the Product.
// The copyright notice must be reproduced and included on any copy
// that is expressly permitted under this Agreement.
**/

/* you may remove this section if your template includes a style for .message */
.message {
	display: block;
	padding: 8px 10px 8px 36px;
	margin: 15px 0;	
	color: #B79000;
	border: 1px solid #E7BD72;
	background: #FFF3A3 url(../images/attention.png) 10px 50% no-repeat;
}
/* you may remove this section if your template includes a style for .message */

.hide {
	display:none;
}
.small {
	color: #808080;
}
/*@group header */
#headerAvatarThumb {
	border: 1px #ab0900 solid;
}
#simgallery-table {
	width: 98%;
	margin: 5px 0 20px;
	border: 0px;
}
#simgallery-table td {
	padding: 4px;
}
span.highlight-bold {
	font-size:120%;
	font-weight:bold;
}
/*@group edit gallery*/
#tabs {
	border-bottom: 1px #ab0900 solid;
}
#tabs ul {
	list-style: none;
	padding-left: 10px;
	margin: 0;
}

#tabs li {
	float: left;
	border: 1px solid #e9e9e9;
	border-bottom-width: 0;
	margin: 0;
}

#tabs li a {
	text-decoration: none;
	display: block;
	background: #f7f7f7;
	padding: 2px 6px;
	text-align: center;
	font-weight: bold;
}

#tabs li a:hover {
	background: #e9e9e9;
}

#tabs #selected {
	border-color: #ab0900;
	background: #ab0900;
}

#tabs li#selected a {
	position: relative;
	background: #ab0900;
	color: white;
}

#tab-content {
	background:#f7f7f7 none repeat scroll 0 0;
	border-bottom:1px solid #ab0900;
	clear: both;
	padding: 1em;
}
#tab-content table {
	margin:0;
	padding:0;
	width:400px;
}
#tab-content table td {
	vertical-align:top;
}
#tab-content .inputbox {
	width: 250px;
}

/* tooltip */
.sgtool-tip,
.sgtool .tip {
	z-index: 13000;
	text-align: left;
	border: 1px solid #ab0900;
	width: 250px;
	background-image: none;
	background-color : #e9e9e9;
}
.sgtool-title,
.sgtool .tip-title {
	font-weight: bold;
	font-size: 11px;
	margin: 0;
	text-align: left;
	padding: 4px 8px 2px 8px;
	color: #000000;
	background-image: none;
	background-color: #ab0900;
	color: #ffffff;
	overflow: hidden;
}
.sgtool-text,
.sgtool .tip-text {
	font-size: 11px;
	padding: 2px 8px 4px 8px;
	color: #333333;
	background-image: none;
}

/* Albums view */
.dg_new_media {
	display:block;
	float:right;
	color:#ab0900;
	text-decoration:none;
	background:url(../images/new_media_button.gif) no-repeat;
}
.dg_new_media .tr{background:url(../images/new_media_button.gif) no-repeat top right;}
.dg_new_media .bl{background:url(../images/new_media_button.gif) no-repeat bottom left;}
.dg_new_media .br{background:url(../images/new_media_button.gif) no-repeat bottom right;}
.dg_new_media span {
	background:url(../images/new_media_button_plus.gif) no-repeat 9px center;
	color:#ab0900;
	font-size:11px;
	font-weight:bold;
	display:block;
	padding:3px 9px 5px 22px;
	text-shadow:white 0px 1px 1px;
}
.dg_new_media:active,
.dg_new_media:active .tr,
.dg_new_media:active .bl,
.dg_new_media:active .br{background-image:url(../images/new_media_button_active.gif);}

/*@group: albums*/
.panel, .detail_panel {
	background-color: #f7f7f7;
	border-bottom:1px solid #ab0900;
	border-top:1px solid #ab0900;
	display:block;
	margin:5px 0 20px;
}
.detail_panel {
	background-image: url(../images/ajax-loading.gif);
	background-repeat: no-repeat;
	background-position: 50% 120px;
}
.albums_list, .photo_details {
	padding:10px 10px 5px;
	display:block;
}
.latestalbums_list {
	padding:10px 6px 5px;
	display:block;
}
.album {
	background-color:white;
	border:1px solid #ab0900;
	margin:0 0 5px;
	padding:9px;
	display: block;
}
.album .image {
	float:left;
	text-align: center;
	padding-right:10px;
	width:180px;
}
.album .info {
	float:left;
	padding-right:20px;
}
.album-latest {
	width: 45% !important;
	float: left;
	margin-left: 10px;
}
.album-latest .image {
	float:left;
	text-align: center;
	padding-right: 10px !important;
	width:auto !important;
}
.album-latest .info {
	float:left;
	padding-right:0px !important;
	width: 180px !important;
}

/*@group: photos*/
#photo-container {
	text-align: center !important;
}
.photos_container {
	background:#f7f7f7 none repeat scroll 0 0;
	border:1px solid #ab0900;
	margin:5px 0 0;
	padding:0;
}
.photos_grid {
	margin:0;
	padding:0 5px;
}
.photos_table {
	padding: 0px;
	margin: 0px;
}
.photos_table td {
	margin:0;
	padding:10px 0;
	text-align:center;
	vertical-align:middle;
	width:136px;
}
.photos_table td img {
	background:white none repeat scroll 0 0;
	border:1px solid #ab0900;
	padding:4px;
	vertical-align:middle;
}
.photos_table td img:hover {
	border:1px solid #ab0900;
}
#rotateleft, #rotateright{cursor:pointer;width:30px;float:left;position:relative;}
#rotateright{text-align:right;}
#rotateleft a{display:block;height:30px;background:white url(../images/rotateleft.gif) no-repeat 2px 2px;}
#rotateleft a:hover{background:#af3e8d url(../images/rotatelefthover.gif) no-repeat 2px 2px;}
#rotateright a{display:block;height:30px;background:white url(../images/rotateright.gif) no-repeat 3px 2px;}
#rotateright a:hover{background:#af3e8d url(../images/rotaterighthover.gif) no-repeat 3px 2px;}
#rotateleft a:hover, #rotateright a:hover{text-decoration:none;color:white;}

/*@group comments*/
blockquote.sgQuote {
	font-style: italic;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 15px;
	padding-left: 15px;
	padding-right: 15px;
	border-left: 7px solid #ECF2F2;
	border-top: 10px solid #ECF2F2;
	border-right: 1px solid #ECF2F2;
	border-bottom: 1px solid #ECF2F2;
	background: url(../images/bbcode/quote-bg.gif) no-repeat top right;
	background-color: #F3F8F8;
}
#commentBlock {
	width:470px;
	float:left;
	display:block
}
#commentBlock .comment-table {
	width: 100%;
	border: 0px;
	margin: 0px;
}
#commentBlock .comment-table td {
	padding: 4px;
}

/* @group Uploader */
/**
 * Thats the basic css needed for the upload bars
 */
#upload-status {
	background-color:		#f7f7f7;
	padding:				10px 15px;
	width:					420px;
}
#upload-status .progress {
	background:				white url(../images/progress.gif) no-repeat;
	background-position:	+50% 0;
	margin-right:			0.5em;
}
#upload-status .progress-text {
	font-size:				0.9em;
	font-weight:			bold;
}
#upload-list {
	list-style:				none;
	width:					450px;
	margin:					0;
}
#upload-list li.file {
	border-bottom:			1px solid #eee;
	background:				url(../images/file.png) no-repeat 4px 4px;
}
#upload-list li.file.file-uploading {
	background-image:		url(../images/uploading.png);
	background-color:		#D9DDE9;
}
#upload-list li.file.file-success {
	background-image:		url(../images/success.png);
}
#upload-list li.file.file-failed {
	background-image:		url(../images/failed.png);
}
#upload-list li.file .file-name {
	font-size:				1.2em;
	margin-left:			44px;
	display:				block;
	clear:					left;
	line-height:			40px;
	height:					40px;
	font-weight:			bold;
}
#upload-list li.file .file-size {
	font-size:				0.9em;
	line-height:			18px;
	float:					right;
	margin-top:				2px;
	margin-right:			6px;
}
#upload-list li.file .file-info {
	display:				block;
	margin-left:			44px;
	font-size:				0.9em;
	line-height:			20px;
	clear
}
#upload-list li.file .file-remove {
	clear:					right;
	float:					right;
	line-height:			18px;
	margin-right:			6px;
}

/* @group edit photos */
#editphotos {
	background:#f7f7f7 none repeat scroll 0 0;
	padding:10px 0 5px;
	display:block;
}
#editphotos .photo {
	background:white none repeat scroll 0 0;
	border:1px solid #ab0900;
	margin:0 10px 5px;
	padding:10px;
	display:block;
}
#editphotos .photo .info {
	float:left;
	width:400px;
}
#editphotos .photo-table {
	margin:0;
	padding:0;
	border:0px;
}
#editphotos .photo-table td {
	vertical-align:top;
}
#editphotos .photo .thumb {
	float:right;
	width:180px;
}
#editphotos .photo .thumb .controls {
	background:#f7f7f7 none repeat scroll 0 0;
	border:1px solid #ab0900;
	padding:1px;
	text-align:left;
	margin-top:4px;
}

/* @group Organize photos */
#sortable-list {
	padding: 0px;
	margin: 0px;
	list-style: none;
}  
li.sortme {
	list-style:none;
	padding: 0;
	margin: 0;
	overflow: hidden;
	position: relative;
	float: left;
	width: 135px;
	height: 135px;
	text-align: center;
	line-height: 135px;
	opacity: 1;
	vertical-align:middle;
	z-index: 10;
	top: 0px;
	left: 0px;
}  
li.sortme img {
	background:white none repeat scroll 0 0;
	border:1px solid #ab0900;
	padding:4px;
	margin:0;
	vertical-align:middle;
	cursor: move;
	position: relative;
	z-index: 1;
}
#album {
	margin:20px 0 0;
	padding:0;
	text-align: left;
}

/* @group: voting */
.sgvote-star,
.sgvote-star a:hover,
.sgvote-star .current {background:url(../images/star.gif) left -1000px repeat-x;}
.sgvote-star  {position:relative;width:80px;height:16px;overflow:hidden;list-style:none;margin:0;padding:0;background-position:left top;}
.sgvote-star li {display:inline;background-image:none;padding:0;}
.sgvote-star a,
.sgvote-star .current {position:absolute;top:0;left:0;text-indent:-1000em;height:16px;line-height:16px;outline:none;overflow:hidden;border:none;cursor:pointer;}
.sgvote-star a:hover {background-position:left bottom;}
.sgvote-star a.one-star {width:20%;z-index:6;}
.sgvote-star a.two-stars {width:40%;z-index:5;}
.sgvote-star a.three-stars {width:60%;z-index:4;}
.sgvote-star a.four-stars {width:80%;z-index:3;}
.sgvote-star a.five-stars {width:100%;z-index:2;}
.sgvote-star .current {z-index:1;background-position:left center;}
.sgvote-inline {display:-moz-inline-block;display:-moz-inline-box;display:inline;vertical-align:middle;line-height:16px;}
.sgvote-box {margin-left:0;}
