#page {
	padding-bottom: 12px;
}

/** box_width = expected_width - 4; box_height = expected_height - 4; 
    tabpanel_width = box_width - 4; tabpanel_height = box_height - 4; **/

.html-box.profile-all {
	margin: 0px 0px 0px 12px;
	width: 710px;
  float: left;
}

.html-box.profile-all a, 
.html-panel.penalties table a {
	color: #037CB1;
}

.html-box.profile-all h1 {
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
    margin-top: 5px;
}

.html-box.profile-all .header-meta {
    float: right;
    font-weight: normal;
    margin: 5px;
    text-align: right;
}

.html-box.profile-all strong {
    font-weight: bold;
}

.html-box.profile-all a:visited {
	color: #4e788d;
}

.html-box.profile-all .html-box{
	margin-bottom: 4px;
}

.html-box.profile-all .html-box.profile-stats {
	margin-bottom: 0;
}

.html-box.profile-left {
    width: 195px;
    float: left;
    margin-right: 10px;
}

table.user-list {
    width: 100%;
    margin: 2px 0 4px 0;
}

table.user-list td {
    padding-left: 10px;
    padding-bottom: 2px;
    height: 24px;
    line-height: 11px;
    font-weight: normal;
}

table.user-list td a {
	color: #037CB1;
    font-weight: bold;
}

table.user-list td.avatar {
    width: 24px;
}

table.user-list td.activity {
    width: 24px;
    text-align: center;
    vertical-align: middle;
}

.html-box.profile-tabs {
	width: 495px;
    float: left;
}

.html-box.profile-tabs .tab-panel-label {
    color: #4E4E4E;
}

.html-box.profile-history table {
    font-weight: normal;
}

.tab-panel.profile-edit,
.html-box.profile-edit,
.html-box.profile-basic-info,
.html-box.profile-contact-info,
.html-box.profile-stats,
.html-box.profile-history,
.html-box.profile-game-accounts,
.html-box.profile-teams,
.html-box.profile-leagues,
.html-box.profile-matches,
.html-box.profile-hardware-info,
.html-box.profile-badges {
	width: 487px;
}

.tab-panel.profile-edit table,
.html-box.profile-stats table,
table#basic-info,
table#contact-info {
    margin: 10px 10px 0 20px;
}

table#hardware-info {
  margin: 10px 10px 0 10px;
  width: 455px;
}

table#basic-info td,
table#contact-info td,
.html-box.profile-stats td,
.html-box.profile-history td,
table#hardware-info td {
    padding: 0 5px 0 5px;
}

.html-box.profile-history td.left,
.html-box.profile-history td.middle,
.html-box.profile-history td.right {
    padding-top: 4px;
}

.html-box.profile-history td.middle {
    width: 330px;
}

.html-box.profile-history td.dark {
    background-color: white;
	background: url(/static/img/history_underline.png) top left repeat-x;
    height: 1px;
}

table#game-accounts td,
.tab-panel.profile-edit td {
    padding: 5px;
}

.tab-panel.profile-edit p.fieldhelp {
    padding: 0 0 0 5px;
}


.tab-panel.profile-edit p.fieldhelp,
table#game-accounts td {
    font-weight: normal;
    color: #6f6f6f;
    vertical-align: middle;
}

.tab-panel.profile-edit td.label {
    color: black;
    padding-top: 1em;
    padding-left: 0.6em;
    font-weight: bold;
}

.tab-panel.profile-edit td,
.tab-panel.profile-edit th,
.html-box.profile-history td,
table#hardware-info td {
    vertical-align: top;
}

table#hardware-info td {
  width: 142px;
}


.tab-panel.profile-edit th {
    text-align: right;
    padding-top: 13px;
    width: 100px;
}

.tab-panel.profile-edit td.left,    
table#basic-info td.left,    
table#contact-info td.left,
.html-box.profile-stats td.left,
table#hardware-info td.left,
table#hardware-info td.middle {
    text-decoration: none;
    font-weight: normal;
}

.html-box.profile-stats td.left, 
table#basic-info td.left {    
    width: 120px;
}

table#contact-info td.left {
    width: 150px;
}

table#hardware-info td.left {
    width: 40px;
}

table#hardware-info td.middle {
    width: 90px;
}

.html-box.profile-left table.invites {
    margin: 10px;
}

.html-box.profile-left table.invites td {
    padding: 2px;
}

.html-box.profile-all > .html-box-top {
	background: url(/static/img/box/tab_tl.png) top left no-repeat;
}

.html-box.profile-all > .html-box-top div {
	background: url(/static/img/box/tab_tr.png) top right no-repeat;
}

.html-box.profile-all > .html-box-center {
	background: url(/static/img/box/tab_l.png) no-repeat;
}

.html-box.profile-all > .html-box-center > .html-box-content {
	background: url(/static/img/box/tab_r.png) top right no-repeat;
}

.html-box.profile-all .html-panel {
	width: 706px;
}

.html-box.profile-all p.description {
    min-height: 400px;
}

.html-box.profile-all .html-panel form.game-account {
  min-height: 40px;
}

.html-panel.profile-all .html-panel-content {
	padding: 0px 1px;
  overflow: visible;
}

.html-box.profile-friends {
  width: 700px;
}

.html-box.profile-friends .html-box-content {
  min-height: 183px;
}

.bar.silver-wide {
    height: 26px;
    padding-top: 8px;
    padding-left: 12px;
    background: url(/static/img/bar_light_gray_profile_inner_wide2.png) no-repeat;
}

.bar.silver,
.bar.silver-left,
.bar.silver-left-blocked {
    padding-top: 8px;
    padding-left: 12px;
}

.bar.silver,
.bar.silver-left {
    margin-left: 1px;
}

.bar.silver {
    height: 30px;
    margin-bottom: 4px;
    background: url(/static/img/bar_light_gray_profile_inner.png) no-repeat;
}

.bar.silver-left,
.bar.silver-left-blocked {
    height: 24px;
    width: 188px;
}

.bar.silver-left {
    background: url(/static/img/bar_light_gray_profile_left.png) no-repeat;
}

.bar.silver-left-blocked {
    background: url(/static/img/bar_light_gray_profile_left_blocked.png) no-repeat;
}

.bar.silver-left .bar-center {
    float: left;
    width: 138px;
}

.bar.silver-left-blocked .bar-center {
    position: relative;
    float: left;
    width: 162px;
    text-align: center;
}

.bar.silver-left-blocked .bar-center span.blockedtitle { 
    color: #ff0000;
    text-shadow: 1px 1px 1px white;
}

.bar.silver-left .bar-count {
    margin-right: 20px;
}

.bar.quote {
    float: left;
    clear: right;
    height: 30px;
    margin-top: 4px;
    margin-left: 1px;
    padding-top: 6px;
    padding-left: 12px;
    background: url(/static/img/profile_quote.png) no-repeat;
    font-weight: normal;
    width: 485px;
}

.bar.cyan {
	height: 30px;
	padding-left: 2px;
	background: url(/static/img/bar_cyan_left.png) no-repeat;
	margin-bottom: 4px;
}

.cyan .bar-right {
	height: 100%;
	padding-right: 2px;
	background: url(/static/img/bar_cyan_right.png) no-repeat top right;
}

.cyan .bar-center {
	height: 21px;
	background: url(/static/img/bar_cyan_center.png) repeat-x;
	padding-top: 8px;
	padding-left: 9px;
	color: white;
}

.html-box.profile-all-form .html-box-content {
	padding-top: 8px;
}

.field-label {
	width: 160px;
	text-align: right;
	color: #7c7c7c;
	display: inline-block;
}

.field-label span {
	color: #d43937;
	font-size: 13px;
}

.button-holder {
	position: relative;
	height: 25px;
	padding: 5px 0px;
}

.button-holder .button.green {
    clear: none;
}

.editbox, .select-wrapper, .checkbox {
	display: inline-block;
	float: none;
}

.editbox, .select-wrapper {
	margin-left: 4px;
}

.editbox input {
	width: 194px;
}

.editbox input#id_quote {
    width: 363px;
}

.id_birth_date_day .selected-center {
	width: 20px;
}

.id_birth_date_month .selected-center {
	width: 54px;
}

.id_birth_date_year .selected-center {
	width: 30px;
}

.field-wrapper {
	padding-top: 4px;
	padding-bottom: 5px;
	position: relative;
}

.terms-text {
	padding: 8px 12px 8px 8px;
}

.terms-text div {
	border: 1px solid #acacac;
	padding: 8px;
	font-weight: normal;
	color: #7a7879;
}

.fieldhelp {
    padding: 8px;
    text-align: justify;
}

.accept {
	height: 25px;
}

.accept > * {
	float: right;
}

.accept .checkbox {
	margin-right: 6px;
}

.accept > div {
	margin-right: 12px;
}

.status {
	width: 196px;
	padding: 5px 9px;
	margin-left: 170px;
	margin-top: 1px;
	background-color: #fd022f;
	color: #FFFFFF;
	font-weight: normal;
	display: none;
}

.status.ok {
	background-color: #80bd17;
}

.status-checkbox {
    color: #fd022f;
}

span.grey {
    font-weight: normal;
    color: #c7c7c7;
}

.description {
    padding-top: 1.5em;
    text-align: center;
}

.html-box.profile-all .errors {
    float: left;
    width: 248px;
    padding-right: 5px;
}

.html-box.profile-all h3.red {
    font-size: 1.2em;
    margin-bottom: 1em;
    margin-left: 1em;
    color: #c00908;
}

.tab-panel.profile-tabs .tab-row {
  margin-left: 1px;
  padding-left: 6px;
  background: url(/static/img/bar_light_gray_profile.png) no-repeat;
}

.tab-panel.active-penalties .tab-row {
  margin-left: 0px;
  padding-left: 4px;
  background: url(/static/img/bar_light_gray_sidebar.png) no-repeat;
}

img.flag {
  display: block;
  float: left;
  margin-right: 4px;
}

.profile-contact-info img.icon {
  display: block;
  float: left;
  margin-right: 8px;
}
.html-box.profile-about-me {
	width: 487px;
}

.html-box.profile-about-me .html-box-content {
    text-decoration: none;
}

.html-box.profile-about-me .html-box-content em {
    font-style: italic;
}

.html-box.profile-about-me .html-box-content .padded {
    padding: 0 10px 10px 10px;
    font-weight: normal;
}

.tab-panel.profile-edit .tab-row,
.tab-panel.profile-about-me .tab-row,
.tab-panel.profile-matches .tab-row {
  margin-left: 1px;
  padding-left: 6px;
  background: url(/static/img/bar_light_gray_profile_inner.png) no-repeat;
}

.profile-all .last-active {
  font-size: 9px;
  font-weight: normal;
  padding-top: 6px;
}

.profile-all .last-active img {
  padding-left: 1px;
}

.html-box.guestbook,
.html-box.penalties,
.html-box.visitors {
  width: 223px;
  margin-left: 10px;
  float: left;
}

.html-panel.guestbook,
.html-panel.penalties,
.html-panel.visitors {
  width: 219px;
}

.profile-edit table.buttons td {
  padding-right: 10px;
  height: 54px;
}

.profile-edit table.buttons td.wide {
  width: 100%;
}

form .errorlist,
form .fielderrors {
    background-color: red;
    color: white;
    padding: 8px;
    margin: 3px 1px 3px 4px;
}

form .errorlist {
  margin-right: 8px;
}

.back-to-profile {
    margin: 1em;
}

.guestbook-counter {
    font-size: 10px;
    font-weight: normal;
}

.guestbook tr.hidden,
.guestbook tr.hidden td,
.guestbook tr.comment-hidden,
.guestbook tr.comment-hidden td {
    display: none;
    height: 0;
}
tr.empty td {
    height: 2px;
}

.guestbook td.guest-entry {
    line-height: 11px;
    padding-top: 2px;
}

.guestbook tr.odd td.user-info {
    background-color: #fcfcff;
}

.guestbook tr.odd td.guest-entry {
    background-color: #fcfcff;
}

.guestbook td.user-info {
    width: 36px;
    vertical-align: top;
    padding: 3px;
    background-color: #f0feff;
}

.guestbook td.guest-entry {
    padding-bottom: 3px;
    padding-right: 3px;
    font-weight: normal;
    vertical-align: top;
    background-color: #f0feff;
    width: 176px;
}

.guestbook .comment-delete a {
  color: #880000;
}
.guestbook td.guest-entry a.sender {
	  color: #037CB1;
    font-weight: bold;
}

.guestbook .comment-delete,
.guestbook .online-status {
    float: right;
    margin-right: 3px;
}

#quote-edit-form.hidden,
#activate-quote-edit-form.hidden,
.guestbook .comment-delete.hidden,
.guestbook .online-status.hidden {
    display: none;
}  

table#game-accounts td.category-icon {
  width: 32px;
  text-align: right;
}

table#game-accounts td.game-info {
  color: #888888;
  width: 180px;
}

table#game-accounts td.game-info span.game-name {
  color: black;
  font-weight: bold;
  font-size:1.1em;
}

table#game-accounts td.current-value {
  width: 90px;
}

table#game-accounts td.action {
  width: 90px;
}

.html-panel.penalties table {
  width: 100%;
  font-weight: normal;
  margin-bottom: 0.5em;
}

.html-panel.penalties tr.even td,
.html-panel.penalties tr.odd td {
  padding: 4px;
}

.html-panel.penalties .legend {
  font-size: 0.8em;
  color: #acacac;
  font-weight: normal;
  margin-bottom: 0.5em;
}

.html-panel.penalties .legend.left {
  float: left;
  margin-left: 10px;
}

.html-panel.penalties .legend.right {
  float: right;
  margin-right: 8px;
}

.html-panel.penalties table td.left {
  padding-left: 10px;
}

.html-panel.penalties table td.right {
  width: 40px; text-align: center;
  padding-right: 8px;
}


.html-panel.penalties span.section {
  font-weight: bold;
}

.html-panel.penalties span.cause {
  color: #8a8a8a;
}

.html-panel.penalties tr.even td {
    background-color: #f3f0f0;
}

.html-panel.penalties tr.odd td {
    background-color: #fffbfb;
}

.html-panel.penalties p {
  padding: 4px;
  text-align: right;
}

.bar.silver-left-blocked div.blockedbox {
  display: none;
  font-weight: normal;
  text-align: left;
  position: absolute;
  z-index: 25;
  top: 2em;
  left: 2em;
  background: none repeat scroll 0 0 #F9F9F9;
  border: 1px solid black;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0 0 4px #000000;
  padding: 1em;
  position: absolute;
  width: 20em;
}

.bar.silver-left-blocked div.blockedbox.hidden {
  display: none;
}

.bar.silver-left-blocked div.blockedbox.visible {
  display: block;
}

table.user-list div.user-quote {
  overflow: hidden;
  height: 1.1em;
  line-height: 1em;
  white-space: nowrap;
  width: 120px;
}

table.user-list div.user-quote:hover {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  background-color: white;
}

.profile-teams .combo .center {
  height: auto;
}

.select-wrapper.id_invoice_country,
.profile-teams .select-wrapper.id_game .selected {
  width: 206px;
}

table#teams {
    width: 480px; 
    margin: 0 0 0 3px;
}

table#teams tr.odd {
    background-color: #ebfeff;
}

table#teams tr.even {
    background-color: #fcfcff;
}

table#teams td.category-icon {
  vertical-align: middle;
  text-align: center;
  width: 48px;
}

table#teams tr.even td,
table#teams tr.odd td {
  padding: 4px;
}

table#teams tr.empty td {
  padding: 0px;
}

table#teams .single-team {
  float: left;
  margin: 4px;
  text-align: center;
}

#quote-edit-form #id_quote {
  border: none;
  width: 470px;
  margin-left: 5px;
}

#activate-quote-edit-form {
  display: inline-block;
  width: 470px;
  margin-left: 5px;
}

.id_country .selected-center {
  width: 184px;
}

table#profile-leagues {
  margin-left: 2px;
  width: 478px;
  font-weight: normal;
}

table#profile-leagues a {
  font-weight: bold;
}

table#profile-leagues a img {
  float: left;
  margin: 0 0.5em 0 0.5em;
}

table#profile-leagues tr.header td.league {
    padding-left: 1em;
}

table#profile-leagues tr.odd td {
    background-color: #f6f6f6;
    height: 28px;
}

table#profile-leagues tr.even td {
    background-color: #fafafa;
    height: 28px;
}

table#profile-leagues tr.header {
    height: 2em;
    vertical-align: top;
    color: #acacac;
}

table#profile-leagues td.number {
    text-align: center;
}

.activity-field img {
  padding-top: 4px;
  padding-right: 2px;
}

table#profile-matches {
  margin-left: 2px;
  width: 478px;
  font-weight: normal;
}

table#profile-matches a {
  font-weight: bold;
}

table#profile-matches a img {
  float: left;
  margin: 0 0.5em 0 0.5em;
}

table#profile-matches tr.league td.league {
    padding: 1em;
}

table#profile-matches tr.odd td.versus,
table#profile-matches tr.even td.versus {
    padding-left: 1em;
}

table#profile-matches tr.odd td {
    background-color: #f6f6f6;
    height: 28px;
}

table#profile-matches tr.even td {
    background-color: #fafafa;
    height: 28px;
}

table#profile-matches tr.header {
    height: 2em;
    vertical-align: top;
    color: #acacac;
}

table#profile-matches td.meetup,
table#profile-matches td.scores {
    text-align: center;
}

table#profile-matches td.scores {
    width: 80px;
}

table#badges {
    width: 480px; 
    margin: 0 0 0 3px;
}

table#badges tr.odd {
    background-color: #ebfeff;
}

table#badges tr.even {
    background-color: #fcfcff;
}

table#badges td.badge-icon {
  vertical-align: middle;
  text-align: center;
  width: 128px;
}

table#badges tr.even td,
table#badges tr.odd td {
  padding: 4px;
}

table#badges tr.empty td {
  padding: 0px;
}

table#badges td.badge-description h3 {
  font-weight: bold;
}


table#badges td.badge-description p {
  font-weight: normal;
  font-style: italic;
}

#xp {
  font-family: Tahoma, sans-serif;
  font-weight: normal;
  font-size: 10px;
  width: 191px;
  background-color: #f8f8ff;
  margin-bottom: 4px;
  border-color: #e0e0ff;
  border-width: 1px;
  border-style: solid;
}

#xp th.margin {
  width: 4px;
}

#xp th {
  text-align: center;
}

#xp th.left {
  width: 32px;
}

#xp .level {
  border-color: red;
  border-width: 1px;
  border-style: solid;
  background-color: white;
  padding: 1px;
  vertical-align: center;
  text-align: center;
  font-weight: bold;
}

#xp .point-container {
  width: 145px;
  padding: 0 4px;
  overflow: hidden;
}

#xp .pfull {
  margin-left: 1px;
  height: 18px;
	background: url(/static/img/xp_full.png) top left repeat-x;
  float: left;
}

#xp .pdiv {
  height: 18px;
  width: 20px;
	background: url(/static/img/xp_div.png) top left no-repeat;
  float: left;
}

#xp .points {
  height: 18px;
  background-color: blue;
	background: url(/static/img/xp_empty.png) top left no-repeat;
}

#xp tr.bottom td {
  height: 4px;
}
