body.logged-in #login {
	display: none;
}
body:not(.logged-in) #logout {
	display: none;
}
body.loading:before {
	content: "\e031"; /* glyphicon-refresh */
	display: inline-block;
	position: absolute;
	animation: spin 1s infinite linear;
	-webkit-animation: spin2 1s infinite linear;
	z-index: 10;
	font-size: 60px;
	top: 40%;
	left: 50%;
	line-height: 60px;
	vertical-align: middle;
	text-align: center;
	color: #555;
	font-family: 'Glyphicons Halflings';
}
body.loading:after {
	content: ' ';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9;
	background-color: rgba(255,255,255,0.5);
}

@keyframes spin {
	from { transform: scale(1) rotate(0deg); }
	to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
	from { -webkit-transform: rotate(0deg); }
	to { -webkit-transform: rotate(360deg); }
}
h1 {
	font-size: 20px;
}
section:after {
	content:'';
	display: block;
	clear: both;
}
.character-status-icon {
	vertical-align: super;
	font-size: smaller;
}

#power_condition_owner_chosen li {
	width: 100%;
}

.input-group-addon.va-defaultwidth {
	min-width:100px;
	text-align:left;
}
body {
	xpadding-top: 50px; /* Room for navbar */
	padding-bottom: 20px;
}
.item a,
.power-condition a {
	line-height: 36px;
	vertical-align: middle;
}
.item a .badge.pull-right,
.power-condition a .badge.pull-right {
	margin-top: 9px;
}

.cs-only .btn {
	display: none;
}
.cs-only-hidden .form-control {
	display: none;
}
#login-status {
	padding: 10px 0px 0px 0px;
	margin-bottom: 5px;
}
span.loginlabel {
	display: inline-block;
	width: 50px;
}
img.loginprovider {
	width: 32px;
	height: 32px;
}
/* fix for bootstrap float issue */
div.field.itin,
div.field.item-name,
div.field.poin,
div.field.power-name,
div.field.pcin,
div.field.condition-name {
	z-index: 1;
}

/* Fake labels used to display primary IDs for the base 5 components */
.label-condition {
    background-color: #d9534f;
    border-color: #d43f3a;
    color: white;
    font-weight: bold;
    width: auto;
    display: inline-block;
}

.label-item {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: white;
    font-weight: bold;
    width: auto;
    display: inline-block;
}

.label-character {
    background-color: #5a5a5a;
    border-color: #4a4a4a;
    color: white;
    font-weight: bold;
    width: auto;
    display: inline-block;
}

.label-power {
    background-color: #5cb85c;
    border-color: #4cae4c;
    color: white;
    font-weight: bold;
    width: auto;
    display: inline-block;
}

.label-player {
    background-color: #5bc0de;
    border-color: #46b8da;
    color: white;
    font-weight: bold;
    width: auto;
    display: inline-block;
}

/* Labels in lists float up, let's put them in the center */
.list-label {
    float: right;
    margin-top: 1em;
}

.recent-item-dot {
    margin-right: 2px;
}

.recent-item-dot:empty {
    display: none;
}

.mobile-save-spacing {
  margin-right: 8px;
}

.newPlayer {
    display: none;
}
.newPlayer ~ input {
    display: block;
}
.newPlayer ~ div {
    display: none;
}
.newPlayer:empty ~ input {
    display: none;
}
.newPlayer:empty ~ div {
    display: inline-block;
}
