/*
	content.css
	Main content styles for most pages with PsychoStats.

	These styles define how the layout and format for most pages will be displayed within PsychoStats.
*/

#ps-main {
	padding-top: 1em;
	background: url(../img/content-bg.gif) repeat-x;
}

#ps-main h1, #ps-main h2, #ps-main h3
{
	font-family: Helvetica,"trebuchet ms",arial,sans-serif;
	font-size: 140%;
	font-weight: normal;
}
#ps-main h1 { border-bottom: 2px solid #503f26; font-weight: bold; }
#ps-main h2 { font-size: 110%; }
#ps-main h3 { font-size: 80%; }

#ps-main-content {
	text-align: center;
}

#ps-page-title, .ps-section-title {
	text-align: center;
	margin: 0 1em 1em 1em;
 	background: #503f26 url(../img/page-title-bg.png) repeat-x;
	border: 1px solid #503f26;
}
#ps-page-title div.inner, .ps-section-title div.inner {
	text-align: left;
	padding: 7px; /* 7px 7px 0 7px */
}
#ps-page-title h2, .ps-section-title h2 { 
/*
	float: left;
*/
}
#ps-page-title span, .ps-section-title span {
	float: right;
	font-weight: bold;
}

#ps-page-title div.ps-plr-profile {
	padding: 3px;
	margin: 0 7px 7px;
	border: 1px solid #503f26;
	background: url(../img/page-title-bg-reverse.png) repeat-x bottom left;
	text-align: left;
}

div.ps-plr-profile div.row {
	margin: 3px 0;
}

div.ps-plr-profile div label {
	display: inline;
	float: left;
	width: 120px;
	padding-right: 0.5em;
	clear: left;
	font-weight: bold;
	text-align: right;
}

div.ps-plr-profile div p em { /* 'Not Set' statements */
	color: #503f26;
}

div.ps-plr-profile #map {
	height: 96px;
	width: 175px;
	float: right;
	background-color: #503f26;
}

.ps-plr-logo {
	text-align: center;
	margin-bottom: 1em;
}

/* --- TABLE LAYOUT --------------------------------------------------------------- */
.ps-frame-header { 
	font-size: 125%;
	font-weight: bold;
	text-align: left;
	padding: 0.3em;
	padding-left: 1em;
	background: #c4ba7f url(../img/frame-header-bg.jpg) repeat-y top left;
	border:  1px solid #503f26;
}
.ps-frame-header span { 
	display: block;
	width: 100%;
	background: url(../img/exp_minus_arrow.png) no-repeat 100% 50%;
}
.s-closed .ps-frame-header span {
	background: url(../img/exp_plus_arrow.png) no-repeat 100% 50%;
}
.s-closed .ps-table-inner {
	display: none;
}

.ps-table-frame { 
	margin: 0 0.5em 1em 0.5em;
}
.ps-table-inner {
	border: 1px solid #503f26;
}
.ps-table-header {
	padding: 0 0.2em 0.2em 0;
	text-align: right;
}
.ps-table-footer {
	padding: 0.2em 0.2em 0 0;
	background: url(../img/table-footer-bg.png) repeat-x 0 bottom; /* 72px */
	text-align: right;
}
.ps-table {
	width: 100%;
	text-align: left;
	border-collapse: collapse;
}
.ps-table th {
	line-height: 20px;
	background: url(../img/table-header-bg.png) repeat;
	border-bottom: 1px solid #503f26;
	text-align: center;
	padding: 0;
}
.ps-table td {
	padding: 0 0.5em 0 0.4em;
	border-right: 1px solid #503f26;
	text-align: center;
	line-height: 1.5em;
}
.ps-table tr { background-color: #ccc296; }
.ps-table tr.even { background-color: #c3b98b; }
.ps-table td.noborder { border: none; }
.ps-table tr.over {
/*	apply mouseover styles for table rows here /**
	background-color: #ffffff;
/**/
}
/* 
.ps-table th.first { }
.ps-table td.first { border-left: none; }

/*
   This would be the ideal way to eliminate the extra border on the first
   column of tables. But noooooo, IE doesn't play nice. Instead we ruin
   the html by manually adding the 'first' class to the proper <td> tags
   on all tables.
.ps-table tr td:first-child { border-left: none; }
*/

.ps-table th a,
.ps-table th a:link,
.ps-table th a:visited,
.ps-table th a:hover,
.ps-table th a:active 
{
	color: #114057;
}
.ps-table th.active a {
	color: #f8f3db;
}
.ps-table th.active a:hover {
	color: #114057;
	text-decoration: underline;
}

.ps-table th.active p {
	background: url(../img/table-header-active-l-bg.png) no-repeat;
}
.ps-table th.active span {
	width: 100%;
	display: block;
	/* default the right side with no sort arrow */
	background: url(../img/table-header-desc-r-bg.png) no-repeat 100% 0;
}
.ps-table tr th.active span.asc {
	background: url(../img/table-header-asc-r-bg.png) no-repeat 100% 0;
	cursor: pointer;
}
.ps-table tr th.active span.desc {
	background: url(../img/table-header-desc-r-bg.png) no-repeat 100% 0;
	cursor: pointer;
}
.ps-table acronym {
	text-decoration: none;
	border: none;
	cursor: help;
}

.ps-table td.no-data {
	font-size: 150%;
	font-weight: bold;
	text-align: center;
	color: #503f26;
	padding: 0.5em 0;
}

.ps-table .left   { text-align: left; }
.ps-table .right  { text-align: right; }
.ps-table .center { text-align: center; }

/* --- Player table specific styles */
.ps-player-table a.plr,
.ps-clan-table a.clan,
.ps-map-table a.map,
.ps-weapon-table a.weapon,
.ps-role-table a.role
{
	font-weight: bold;
}

.ps-map-table td.first {
}
.ps-role-table td.first,
.ps-weapon-table td.first {
	width: 80px;
}

/* --- PAGER styles ------------ */
.pager {
	display: block;
	padding: 3px;
}
.pager-current, .pager-goto, .pager-next, .pager-prev {
	border: 1px solid #503f26;
	padding: 0 2px;
	background: #DDDDDD;
}
.pager-current {
	background: lightyellow;
	font-weight: bold;
}
.pager-next, .pager-prev {
	background: #BBBBBB;
}

#error {
	width: 400px;
	margin: 3em auto;
	background: lightyellow;
	border: 2px solid darkred;
	padding: 1em;
}
#error h1 {
	color: darkred;
	font-size: 180%;
	border-bottom: 3px solid #999;
	margin-bottom: 0.5em;
}
#error p {
	font-size: 120%;
}

/* activity percentage bar */
.pct-bar {
	border: 1px solid #503f26;
	background-color: #ccc296;
	height: 8px;
	overflow: hidden;
	text-align: left;
	display: block;
	float: none !important;
	text-align: left !important;
}
.pct-bar span {
	display: block;
	height: 100%;
	text-align: left;
	background-color: black;
}
.ps-column-content .pct-bar {
	margin-top: 3px;
}

/* dual percentage bars */
.dual-bar {
	border: 1px solid #503f26;
	background-color: #ccc296;
	height: 8px;
	overflow: hidden;
	display: block;
	text-align: left !important;
	float: none !important;
}
.dual-bar span.left, .dual-bar span.right, .dual-bar span.center {
	float: left;
	display: block;
	height: 100%;
	text-align: left;
	background-color: black;
}
.dual-bar span.center { width: 1px; background-color: #503f26; }
.ps-column-content .dual-bar {
	margin-top: 3px;
}
/* awards.php */

#ps-award-frame {
	border: 1px solid #503f26;
	background: #ccc296;
	margin: 0pt 0.5em 1em;
	text-align: left;
}

#ps-award-frame a.plr {
	font-weight: bold;
}

.ps-award-ctrl, .ps-award-ctrl-bottom {
	margin-bottom: 0.5em;
	border-bottom: 2px solid #503f26;
	padding: 0;
	text-align: center;
	background:transparent url(../img/table-header-bg.png) repeat scroll 0% 50%;
	line-height:19px;
}
#ps-award-hdr {
	margin: 0.5em 0.25em;
	padding: 1em;
	text-align: center;
/*
	border: 1px solid black;
	background: #92929F;
	color: #D8D8EB;
*/
}
#ps-award-hdr h1 {
	border: none;
	font-size: 150%;
}

.ps-award-ctrl-bottom {
	margin-top: 0.5em;
	border-top: 2px solid #503f26;
	margin-bottom: 0;
	border-bottom: none;
}

.ps-award-ctrl-bottom div.next,
.ps-award-ctrl div.next {
	float: right;
	padding: 0 1em;
}
.ps-award-ctrl-bottom div.prev, 
.ps-award-ctrl div.prev {
	float: left;
	padding: 0 1em;
}

.ps-award-ctrl-bottom div.curr, 
.ps-award-ctrl div.curr {
	font-weight: bold;
}

.ps-award-ctrl-bottom a.next, 
.ps-award-ctrl a.next {
	background: url(../img/icons/arrow_right.png) no-repeat 100% 50%;
	padding-right: 20px;
	font-weight: bold;
	margin-left: 0.25em;
}

.ps-award-ctrl-bottom a.prev, 
.ps-award-ctrl a.prev {
	background: url(../img/icons/arrow_left.png) no-repeat 0 50%;
	padding-left: 20px;
	font-weight: bold;
	margin-right: 0.25em;
}

#ps-award-frame .award,
#ps-award-frame .award-neg {
	padding: 0.5em;
	border: 1px solid #503f26;
	margin: 0.25em;
	background: #D8D8EB; /* url(../img/icons/information.png) no-repeat 100% 50%; */
}
#ps-award-frame .award-neg {
	background: #FFD8EB;
}

#ps-award-frame .award h2,
#ps-award-frame .award-neg h2 {
	font-size: 110%;
	font-weight: bold;
}
#ps-award-frame .award p,
#ps-award-frame .award-neg p {
	font-size: 100%;
	color: #92929F;
	margin: 0 1em;
}

#ps-award-frame .selected-plr {
	border: 3px solid blue;
}

.roleimg, .weaponimg, .mapimg {
	text-align: center;
	margin-bottom: 1em;
	margin-left: 1em;
}
.mapimg img {
	width: 100%;
}
.hitbox {
	margin: 0 0.5em 1em;
	text-align: left;
}

.blurb {
	text-align: left;
	margin: 1em;
	font-size: 80%;
	color: black;
}

#smallmap {
	position: absolute;
	width: 225px;
	height: 165px;
	border: 1px solid #503f26;
}
#map {
	height: 350px;
	border: 1px solid #503f26;
	width: 90%;
	margin: 0 auto;
}
.map-header, .map-footer {
	width: 90%;
	margin: 0 auto;
}
#ps-main .map-header h3 {
	font-size: 130%;
	color: black;
}
.map-footer p {
	font-size: 80%;
	color: #ccc296;
	text-align: left;
}

.ofc-left {
	width: 49%;
	float: left;
	margin-bottom: 1em;
}
.ofc-right {
	width: 49%;
	float: left;
	margin-bottom: 1em;
}
.ofc-least {
	width: 24%;
	float: left;
	margin-bottom: 1em;
}
.ofc-most {
	width: 74%;
	float: left;
	margin-bottom: 1em;
}
.ofc-full{
	width: 90%;
	margin: 0 auto 1em;
}

.skillchange-up, .skillchange-down, .rankchange-up, .rankchange-down {
	display: inline !important;
	float: none;
}

em.add-friend {
	font-size: 90%;
	font-style: normal;
}
em.add-friend a {
	color: #503f26;
}

/* Slider styles */
.ui-slider-1 .ui-slider-handle, 
.ui-slider-2 .ui-slider-handle { position: absolute; z-index: 1; height: 23px; width: 12px; top: 0px; left: 0px; background-image: url(../img/slider-handle.gif);  }
/* .ui-slider-1 .ui-slider-handle-active, .ui-slider-2 .ui-slider-handle-active { border: 1px dotted black;  } */
.ui-slider-disabled .ui-slider-handle { opacity: 0.5; filter: alpha(opacity=50); }
.ui-slider-range { position: absolute; background: #50A029; opacity: 0.3; filter: alpha(opacity=30); width: 100%; height: 100%; }

/* Default slider backgrounds */
.ui-slider-1 { width: 200px; height: 23px; position: relative; background-image: url(../img/slider-bg-1.png); background-repeat: no-repeat; background-position: center center; }
.ui-slider-2 { width: 200px; height: 23px; position: relative; background-image: url(../img/slider-bg-2.png); background-repeat: no-repeat; background-position: center center; }

/* Heatmap styles */
.heatmap {
	margin: 0 1em 0 0;
	border-left: 1px solid #503f26;
	border-right: 1px solid #503f26;
	background-color: #000;
	overflow: hidden;
	position: relative;
}

.heatmap img.overlay {
/*
	position: relative;
*/
}

.heatmap img.heat {
	position: absolute;
	top: auto;
	left: auto;
}

.heatmap div.ontop {
	position: absolute;
	color: #b4ab7d;
}
.heatmap div.hour {
	top: 0;
	right: 10px;
	width: 3.5em;
	display: none;
}
.heatmap div.hour .hour {
	font-size: 3em;
	font-family: impact;
	line-height: 1em;
	display: block;
}
.heatmap div.hour .desc {
	font-size: 90%;
}

.heatmap-ctrl {
	line-height: 1.75em;
	margin: 0 1em 0 0;
	padding: 0.25em 0;
	border: 1px solid #503f26;
	background-color: #b4ab7d;
	background: #b4ab7d url(../img/page-title-bg.png) repeat-x top left;
}

.heatmap-slider {
	margin: 0 auto;
}

.heatmap-ctrl select option {
	padding-right: 10px;
}

.heatmap-progress {
	position: absolute;
	display: none;
}

#gallery div.theme {
	width: 80%;
	margin: 0 auto 1em;
	background-color: #ccc296;
	border: 1px outset #503f26;
	text-align: left;
	padding: 0.5em;
}
#gallery div.theme h3 {
	font-size: 150%;
	font-weight: normal;
	background: url(../img/page-title-bg-reverse.png) repeat-x left bottom;
	padding: 3px;
	border: 1px outset #503f26;
	border-bottom: 2px solid #503f26;
	margin-bottom: 0.25em;
}
#gallery div.theme h3 a {
	display: block;
}
#gallery div.theme p {
	line-height: 1.5em;
	overflow: hidden;
}
#gallery div.theme p label {
	font-weight: bold;
	display: table-cell;	/* Doesn't work in IE6, owell ... better than using floats */
	width: 75px;
}
#gallery div.theme p span {
	display: table-cell;
}
#gallery div.theme p.description {
	margin: 0.5em;
	color: #ccc296;
}
#gallery div.theme .preview {
	float: right;
	border: 1px inset #503f26;
	padding: 3px;
	background-color: #ccc296;
	margin-left: 3px;
}
#gallery div.theme .preview img {
	max-width: 300px;					/* FF  */
	width: expression(this.width > 300 ? '300px' : true);	/* IE6 */
}
#gallery div.theme .website a 	{ padding-left: 20px; background: url(../img/icons/house.png) no-repeat 0 50%; }
#gallery div.theme .author  	{ padding-left: 20px; background: url(../img/icons/user_green.png) no-repeat 0 50%; }
#gallery div.theme .version  	{ padding-left: 20px; background: url(../img/icons/note.png) no-repeat 0 50%; }
#gallery div.theme .source  	{ padding-left: 20px; background: url(../img/icons/package.png) no-repeat 0 50%; }
#gallery div.theme .inuse  	{ padding-left: 20px; background: url(../img/icons/accept.png) no-repeat 0 50%; }
#gallery div.theme p.description { text-indent: 20px; background: url(../img/icons/information.png) no-repeat top left; }

#gallery div.theme p.inuse {
	color: green;
	font-weight: bold;
	background: none;
	padding: 0;
}

img.img-delete { /* editclan.php */
	background: url(../img/icons/delete.png) no-repeat 0 0;
}

/* --- weapon 'classes' ------------------- */
/* not used at the moment 
.ps-weapon-class-title {
	text-align: left;
	padding-left: 1em;
	margin-bottom: 0.5em;
	margin-top: 1em;
	background: url(../img/h1-bg.png) repeat-x left top;
	border: 1px solid #778899;
}

.ps-weapon-classes {
	text-align: center;
	font-weight: bold;
}
.ps-weapon-classes ul {
}
.ps-weapon-classes ul li {
	display: inline;
	margin-left: 0.5em;
}
.ps-weapon-classes a {
	text-decoration: underline;
}

*/

/* --- stat tile blocks */
/* not used at the moment
.ps-tile-container {
	margin: 1em;
}

.ps-tile {
	margin: 0 0.5em 0.5em 0;
	float: left;
	padding: 0em;
	width: 200px;
	border: 1px solid gray;
}

.ps-tile img.tile-img {
	width: 200px;
	height: 80px;
}

.ps-tile h2 {
	font-size: 120%;
	font-weight: bold;
}

.ps-tile p {
	height: 1.5em;
	padding: 0.1em 0.3em 0 0.3em;
	clear: both;
	background: url(../img/pct-red.png) no-repeat 200px 50%;
}
.ps-tile p.green {
	background-image: url(../img/pct-green.png);
}
.ps-tile p.blue {
	background-image: url(../img/pct-blue.png);
}

.ps-tile p label {
	float: left;
	text-align: left;
	font-weight: bold;
	width: 40%;
}
.ps-tile em {
	float: left;
	text-align: right;
	line-height: 1.5em;
	width: 3em;
	font-size: 90%;
	font-style: normal;
}
.ps-tile p span {
	float: right;
	text-align: right;
}

.ps-tile-clear { 
	clear: left; 
	margin: 1em 0;
}
*/

/* weapon image popup styles --- */
/* not used at the moment
.weapon-popup {
	position: absolute;
/*	width: 200px;
	height: 100px; */
/*
	overflow: hidden;
	border: 2px solid gray;
	text-align: center;
	background: white;
	z-index: 65535;
}
.weapon-popup img { }
.weapon-popup p { 
	color: white;
	background: black;
	padding: 0.1em;
	font-size: 90%;
	font-weight: bold;
	text-align: center;
}
*/



/* --- clear floats ------------ */
.clear { clear: both; }
.ps-stat-container:after, 
.ps-stat-content p:after 
{
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
* html .ps-stat-container,
* html .ps-stat-content p
{ 
	height:1%; 
}

