/*
 * Copyright (c) 2008 sk89q <http://sk89q.therisenrealm.com>
 * All rights reserved.
*/

/*-------------------------------
 * Basic
 *-------------------------------*/


h1 {
    margin: 0 0 15px 0;
	color: #444444;
    font-size: 1.5em;
}
h2 {
    margin: 20px 0 15px 0;
    padding: 0 0 3px 0;
	color: #444444;
    font-size: 1.2em;
}
h2.subtitle {
    margin: -10px 0 15px 0;
    padding: 0 0 3px 0;
	color: #999999;
    font-size: 1.2em;
	font-weight: normal;
}
ul { 
	list-style-type: circle;
}
th {
    text-align: left;
	font-weight: bold;
}
th, td {
	vertical-align: top;
}
a img {
	border: 0;
}
span[title] {
	cursor: help;
}

/*-------------------------------
 * Tabs
 *-------------------------------*/

ul.ui-tabs-nav-unact {
	display: none;
}
ul.ui-tabs-nav {
    display: block;
    margin: 25px 0 0 0;
    padding: 0 0 .25em 4px;
    border-bottom: 2px #7083b4 solid;
    font-weight: bold;
}
ul.ui-tabs-nav li {
    display: inline;
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.ui-tabs-nav li a {
    margin: 0;
    padding: 3px 6px;
    background: #d4e5f6;
    border: 2px #7083b4 solid;
    border-bottom: none;
    text-decoration: none;
}
ul.ui-tabs-nav li a:link {
    color: #000000;
}
ul.ui-tabs-nav li a:visited {
    color: #000000;
}
ul.ui-tabs-nav li a:hover {
    background: #cfd7ea;
    color: #000;
}
ul.ui-tabs-nav li.ui-tabs-selected a {
    border-bottom: 2px solid #e9ecf3;
	background: #e9ecf3;
}
ul.tabbernav li.ui-tabs-selected a:hover {
    background: #FFF;
    border-bottom: 2px solid #e9ecf3;
}
.ui-tabs-panel {
	margin: 0 0 15px 0;
    padding: 10px;
    border: 2px #7083b4 solid;
    border-top: 0;
}
.ui-tabs-hide {
    display: none;
}

/*-------------------------------
 * Form
 *-------------------------------*/
 
fieldset {
    margin: 0 0 15px 0;
    padding: 6px 10px 15px 10px;
    border: 2px #7083b4 solid;
}
legend {
    padding: 3px;
    background: #cfd7ea;
    font-size: 1em;
    font-weight: bold;
}
table.form {
	margin: 5px 0 5px 0;
}
table.form th {
    padding: 0 15px 2px 0;
    text-align: right;
    font-weight: bold;
}
table.form td {
    padding: 0 15px 2px 0;
}

/*-------------------------------
 * Listing table
 *-------------------------------*/
 
table.listing {
	margin: 5px 0 5px 0;
    border: 2px #7083b4 solid;
    width: 100%;
	background-color: #FFF;
    border-radius: 2px;
    -moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
table.listing tr:hover td {
    background-color: #dfe4f2;
}
table.listing th {
    border-right: 2px solid #FFFFFF;
    background: #FCE7D2;
    padding: 10px 5px 5px 5px;
    color: #663300;
    font-weight: bold;
}
table.listing td {
    border-bottom: 1px #7083b4 solid;
	background-color: #FFF;
    border-left: 0;
    border-right: 0;
    padding: 3px 5px 3px 5px;
    vertical-align: top;
}
table.own-listing th {
    background: #566793;
	color: #444444;
}
table.listing .sorted {
	background: #FFF;
}
tr.unpublished td {
	background: #FDFDC5;
}
tr.deleted td * {
	color: #CCCCCC;
}
tr.deleted td .rating .rating-inner {
	background: transparent;
}

/*-------------------------------
 * Info table
 *-------------------------------*/
 
table.info {
	margin: 5px 0 5px 0;
	border: 2px #7083b4 solid;
}
table.info th {
	padding: 3px 5px 3px 12px;
	border: 2px #7083b4 solid;
	text-align: right;
}
table.info thead th {
	background: #CCCCCC;
	padding: 3px 5px 3px 5px;
	border-right: 0;
	text-align: left;
	text-transform: uppercase;
}
table.info td {
	padding: 2px 5px 2px 5px;
}
table.info tr.alt th, table.info tr.alt td {
    background: #cfd7ea;
}
table.info tr.total th, table.info tr.total td, table.info tr.sep th, table.info tr.sep td {
    border-top: 3px double #CCC;
}


/*-------------------------------
 * Featured
 *-------------------------------*/

table.featured-listing {
	margin: 5px 0 5px 0;
    border: 2px #7083b4 solid;
	border-right: 0;
    width: 100%;
}
table.featured-listing td {
    border-right: 2px #7083b4 solid;
    border-top: 0;
    border-bottom: 0;
    padding: 5px 8px 5px 8px;
    vertical-align: top;
}
table.featured-listing h2 {
	margin: 0;
	padding: 0;
	font-size: 1.5em;
}
table.featured-listing ul.actions {
	padding: 0 0 0 15px;
}

/*-------------------------------
 * Custom classes
 *-------------------------------*/

span.subtitle, span.subtitle, span.subtitle {
	color: #4254F9;
}
img.icon {
	vertical-align: middle;
}
img.inline-icon-16 {
	vertical-align: middle;
	margin: -4px 0 0 0;
}
span.subtle {
	color: #999999;
}
ul.actions {
	margin: 8px 0 8px 0;
	padding: 0 0 0 20px;
}
ul.list {
	margin: 2px 0 2px 0;
	padding: 0 0 0 20px;
}
.description {
    color: #566793;
}
img.rating {
    vertical-align: middle;
}
img.free {
	margin: -2px 0 -3px 0;
}
img.screenshot {
	border: 3px solid #CCCCCC;
}
img.badge {
}
.circled-total {
	padding: 0 5px 0 5px;
    border: 2px solid #FF0000;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
.error {
	padding: 8px;
	background: #FDFDC5;
	border: 1px solid #800000;
}
.error p {
	margin: 0;
}
.error ul {
	margin: 5px 0 0 0;
}
.loading-bg {
	background: url(working_indicator_image.gif) center center no-repeat;
}

/*-------------------------------
 * Pagination
 *-------------------------------*/
 
.pagination-total {
    float: right;
}
.pages {
	padding: 3px;
}
.pages a:link, .pages a:visited {
    color: #000000;
	background: #cfd7ea;
    text-decoration: none;
}
.pages a:hover, .pages a:active {
    background: #FFF;
}
.pages .o a:hover, .pages .o a:active {
	border: 0;
}
.pages .f, .pages .l {
	background: #cfd7ea;
    padding: 2px;
	margin: 0 0 0 -1px;
}
.pages .p, .pages .n {
	background: #cfd7ea;
    font-weight: bold;
    padding: 2px;
	margin: 0 0 0 -1px;
}
.pages .c {
	background: #663300;
    padding: 2px;
    color: #FFFFFF;
	margin: 0 0 0 -1px;
}
.pages .o {
	border: 0;
    padding: 1px;
	margin: 0 0 0 -1px;
}

/*-------------------------------
 * Rating
 *-------------------------------*/
 
.rate-box {
	padding: 10px 10px 10px 20px;
	background: #EFEFEF;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.rate-box ul {
	margin: 0 0 0 30px;
	padding: 0;
	float: left;
	width: auto;
}
.rate-box table {
	float: left;
	margin: 5px 0 5px 0;
}
.rate-box table th {
    padding: 0 15px 2px 0;
    text-align: right;
    font-weight: bold;
}
.rate-box table td {
    padding: 0 15px 2px 0;
}
.rating {
	width: 80px;
	height: 16px;
	background: url(stars/stars/none.png);
	overflow: hidden;
    vertical-align: middle;
	text-indent: -9999px;
}
.rating .rating-inner {
	height: 16px;
	background: url(stars/stars/star.png);
	overflow: hidden;
}
.rating.difficulty .rating-inner {
	background: url(stars/stars/stard.png);
}
.rate img {
	margin: -1px 0 2px 0;
}

/*-------------------------------
 * MopTip
 *-------------------------------*/

#moptip {
	position: absolute;
	display: none;
	z-index: 999;
}
#moptip .tip {
	background-color: #fff;
	position:relative;
}
#moptip .content {
	padding: 4px;
	cursor:default;
	color: #333333;
}
#moptip .leftTop {
	position: absolute;
	height: 20px;
	width: 20px;
	top: 0px;
	left: 0px;
	background-image: url(moptip/leftTop.png);
	background-repeat: no-repeat;
}
#moptip .rightTop {
	position: absolute;
	height: 20px;
	width: 20px;
	top: 0px;
	right: 0px;
	background-image: url(moptip/rightTop.png);
	background-repeat: no-repeat;
}
#moptip .leftBottom {
	position: absolute;
	height: 20px;
	width: 20px;
	Bottom: 0px;
	left: 0px;
	background-image: url(moptip/leftBottom.png);
	background-repeat: no-repeat;
}
#moptip .rightBottom {
	position: absolute;
	height: 20px;
	width: 20px;
	Bottom: 0px;
	right: 0px;
	background-image: url(moptip/rightBottom.png);
	background-repeat: no-repeat;
}
#moptip .arrow {
	position: absolute;
	height: 20px;
	width: 40px;
	background-image: url(moptip/arrowTop.png);
	background-repeat: no-repeat;
}
#moptip .arrowBottom {
	position: absolute;
	height: 20px;
	width: 40px;
	background-image: url(moptip/arrowBottom.png);
	background-repeat: no-repeat;
}
#moptip .left {
	position: absolute;
	height: 20px;
	width: 20px;
	top: 20px;
	left: 0px;
	background-image: url(moptip/left.png);
	background-repeat: repeat-y;
}
#moptip .right {
	position: absolute;
	height: 20px;
	width: 20px;
	top: 20px;
	right: 0px;
	background-image: url(moptip/right.png);
	background-repeat: repeat-y;
}
#moptip .top {
	position: absolute;
	height: 20px;
	width: 20px;
	top: 0px;
	left: 20px;
	background-image: url(moptip/top.png);
	background-repeat: repeat-x;
}
#moptip .bottom {
	position: absolute;
	height: 20px;
	width: 20px;
	left: 20px;
	bottom: 0px;
	background-image: url(moptip/bottom.png);
	background-repeat: repeat-x;
}
#moptip .close {
	position: absolute;
	height: 30px;
	width: 30px;
	right: 2px;
	bottom: 2px;
	cursor: pointer;
	background-image: url(moptip/closeBtn.png);
	background-repeat: no-repeat;
}
#moptip .close:hover {
	background-image: url(moptip/closeBtn_h.png);
	background-repeat: no-repeat;
}