/*
	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.
*/

tbody {

	border: 1px solid #888888 ;
}

#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 #666666; font-weight: bold; }
#ps-main h2 { font-size: 110%; }
#ps-main h3 { font-size: 80%; }

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

.ps-page-map {
	margin-left: 1em;
	align: center;
}

#ps-page-title, .ps-section-title {
	text-align: center;
	margin: 0 1em 1em 1em;
 	background: #000000 url(../img/page-title-bg.gif) repeat-x;
	border: 1px #888888;
}
#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 #999999;
	background: url(../img/page-title-bg-reverse.gif) 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: #666666;
}

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

.ps-plr-logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 1em;
}

.ps-clan-logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	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: #460000 url(../img/frame-header-bg.gif) repeat-y top left;
	border:  1px #888888;
}
.ps-frame-header span {
	display: block;
	width: 100%;
	background: url(../img/exp_minus_arrow.gif) no-repeat 100% 50%;
}
.s-closed .ps-frame-header span {
	background: url(../img/exp_plus_arrow.gif) no-repeat 100% 50%;
}
.s-closed .ps-table-inner {
	display: none;
}
.ps-table-frame {
	border: 1px solid #888888;
	margin: 0 0.5em 1em 0.5em;
}
.ps-table-inner {
	border: 1px #888888;
}
.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.gif) repeat-x 0 bottom; /* 72px */
	border-bottom: 1px solid #666666;
	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.gif) repeat;
	border-bottom: 1px solid #666666;
	text-align: center;
	padding: 0;
}
.ps-table td {
	padding: 0 0.5em 0 0.4em;
	border-right: 1px solid #999999;
	text-align: center;
	line-height: 1.5em;
}
.ps-table tr { background-color: #222222; }
.ps-table tr.even { background-color: #444444; }
.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: #ff9900;
}
.ps-table th.active a {
	color: #ffcc44;
}
.ps-table th.active a:hover {
	color: #ffcc44;
	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.gif) no-repeat 100% 0;
}
.ps-table tr th.active span.asc {
	background: url(../img/table-header-asc-r-bg.gif) no-repeat 100% 0;
	cursor: pointer;
}
.ps-table tr th.active span.desc {
	background: url(../img/table-header-desc-r-bg.gif) 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: gray;
	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 #888888;
	padding: 0 2px;
	background: #222222;
}
.pager-current {
	font-size: 10pt;
	border: 1px solid #AAAAAA;
	background: #000000;
	font-weight: bold;
	color: #AAAAAA;
}
.pager-next, .pager-prev {
	border: 1px solid #888888;
	background: #222222;
}

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

/* activity percentage bar */
.pct-bar {
	border: 1px solid #999999;
	background-color: #000000;
	height: 6px;
	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: #000000;
}
.ps-column-content .pct-bar {
	margin-top: 3px;
}

/* dual percentage bars */
.dual-bar {
	border: 1px solid #999999;
	background-color: #666666;
	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: #666666;
}
.dual-bar span.center { width: 1px; background-color: #222222; }
.ps-column-content .dual-bar {
	margin-top: 3px;
}
/* awards.php */

#ps-award-frame {
	border: 1px solid #888888;
	background: #000000;
	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 #888888;
	padding: 0;
	text-align: center;
	background:transparent url(../img/table-header-bg.gif) repeat scroll 0% 50%;
	line-height:19px;
}
#ps-award-hdr {
	margin: 0.5em 0.25em;
	padding: 1em;
	text-align: center;
	border: 1px solid #999999;
	background: #460000 url(../img/frame-header-bg.gif) repeat-y top left;
}
#ps-award-hdr h1 {
	color: #999999;
	border: none;
	font-size: 150%;
}

.ps-award-ctrl-bottom {
	margin-top: 0.5em;
	border-top: 2px #888888;
	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.gif) 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.gif) 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 #666666;
	margin: 0.25em;
	background: #333333; /* url(../img/icons/information.gif) no-repeat 100% 50%; */
}
#ps-award-frame .award-neg {
	background: #222222;
}

#ps-award-frame .award h2,
#ps-award-frame .award-neg h2 {
	font-size: 110%;
	font-weight: bold;
}
#ps-award-frame .award h3,
#ps-award-frame .award-neg h3 {
	color: #aaaaaa;
	font-size: 105%;
	font-weight: bold;
}
#ps-award-frame .weaponawards-hdr h1 {
	padding: 1em;
	border: 1px solid #999999;
	margin: 0.25em;
	color: #999999;
	font-size: 120%;
	font-weight: bold;
	background: #350000;
	text-align: center;
}
#ps-award-frame .award p,
#ps-award-frame .award-neg p {
	font-size: 100%;
	color: #888888;
	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: #CC6600;
}

#smallmap {
	position: absolute;
	width: 225px;
	height: 165px;
	border: 1px #888888;
}
#map {
	height: 350px;
	border: 1px #888888;
	width: 90%;
	margin: 0 auto;
}
.map-header, .map-footer {
	width: 90%;
	margin: 0 auto;
}
#ps-main .map-header h3 {
	font-size: 130%;
	color: #CC6600;
}
.map-footer p {
	font-size: 80%;
	color: #666666;
	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: #888888;
}

/* 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.gif); 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 #888888;
	border-right: 1px #888888;
	background-color: #000000;
	overflow: hidden;
	position: relative;
}

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

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

.heatmap div.ontop {
	position: absolute;
	color: #cccccc;
}
.heatmap div.hour {
	top: 0;
	left: 10px;
	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 #888888;
	background-color: #CCCCCC;
	background: #ccc url(../img/page-title-bg.gif) repeat-x top left;
}

.heatmap-slider {
	margin: 0 auto;
}

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

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

#gallery div.theme {
	width: 80%;
	margin: 0 auto 1em;
	background-color: #333333;
	border: 1px outset #888888;
	text-align: left;
	padding: 0.5em;
}
#gallery div.theme h3 {
	font-size: 150%;
	font-weight: normal;
	background: url(../img/page-title-bg-reverse.gif) repeat-x left bottom;
	padding: 3px;
	border: 1px outset #888888;
	border-bottom: 2px #888888;
	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: #666666;
}
#gallery div.theme .preview {
	float: right;
	border: 1px inset #888888;
	padding: 3px;
	background-color: #000000;
	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.gif) no-repeat 0 50%; }
#gallery div.theme .author  	{ padding-left: 20px; background: url(../img/icons/user_green.gif) no-repeat 0 50%; }
#gallery div.theme .version  	{ padding-left: 20px; background: url(../img/icons/note.gif) no-repeat 0 50%; }
#gallery div.theme .source  	{ padding-left: 20px; background: url(../img/icons/package.gif) no-repeat 0 50%; }
#gallery div.theme .inuse  	{ padding-left: 20px; background: url(../img/icons/accept.gif) no-repeat 0 50%; }
#gallery div.theme p.description { text-indent: 20px; background: url(../img/icons/information.gif) 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.gif) 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.gif) repeat-x left top;
	border: 1px solid #AAAAAA;
}

.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 #888888;
}

.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.jpg) no-repeat 200px 50%;
}
.ps-tile p.green {
	background-image: url(../img/pct-green.jpg);
}
.ps-tile p.blue {
	background-image: url(../img/pct-blue.jpg);
}

.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 #888888;
	text-align: center;
	background: #000000;
	z-index: 65535;
}
.weapon-popup img { }
.weapon-popup p {
	color: #FF9933;
	background: #000000;
	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%;
}
