.percent {
    position: absolute; width: 300px; height: 14px; z-index: 1; text-align: center; font-size: 0.8em; color: white;
}
.progress-bar {
    width: 300px; height: 14px;
    border-radius: 10px;
    border: 1px solid #CCC;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#6666cc), to(#4b4b95));
    border-image: initial;
}

.toast {
  margin-top: 0px;
  text-align: center;
}

.toast .ng-enter,
.toast .ng-leave,
.toast .ng-move {
  transition: 0.3s ease left, 0.3s ease opacity;
}
.toast .ng-enter {
  left: -50px;
  opacity: 0;
}
.toast .ng-enter.ng-enter-active {
  left: 0;
  opacity: 1;
}
.toast .ng-leave {
  left: 0;
  opacity: 1;
}
.toast .ng-leave.ng-leave-active {
  left: -50px;
  opacity: 0;
}
.toast .ng-move {
  opacity: 0.5;
}
.toast .ng-move.ng-move-active {
  opacity: 1;
}

.idref {
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
    font-size: 0.8em;
}


.homepanel {
    text-align: center;
    position: relative;
    margin: auto;
    left: 0;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
}


.homepanelimg {
   position: relative;
}
.homepanelimg:after {
    content : "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(libs/img/person.jpg);
    width: 100%
    height: 100%
    opacity : 0.2;
    z-index: -1;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-item {
  max-width: 100%;
}

.modal-huge {
    width: 80%;
    height: 80%;
    margin-left: -40%;
    overflow-y: scroll;
}

.modal-body-huge {
  position: relative;
  padding: 15px;
}


.mainPanelCols {
    -webkit-column-width:300px; /* Safari and Chrome */
    -moz-column-width:300px; /* Firefox */
    column-width:300px;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
}

.mainPanel {
    width:300px;
}

.wolf-crm {
    margin: auto;
}
@media all and (min-width: 0px) and (max-width: 920px) {
    .wolf-crm {
        width: 630px;
    }
}
@media all and (min-width: 921px) {
    .wolf-crm {
      width: 90%;
    }

    .wolf-home {
      width: 930px;
    }
}

.mainPanel > *, .leftPanel > *, .midPanel > *, .rightPanel > * {
    display:block;
    float: left;
    position: relative;
    margin:0;
    padding:0;
    -webkit-column-break-inside:avoid;
    -moz-column-break-inside:avoid;
    -o-column-break-inside:avoid;
    -ms-column-break-inside:avoid;
    column-break-inside:avoid;
}

.mainPanel .flex {
    display: flex;
    align-content: center;
    align-items: center;
}

.filledCentred{
    width: 100%;
    height: 100%;
    display: block;
    text-align: center;
}
.filledCentred .full {
    display:block;
    width:100%;
}

.mainPanel .w_1 { width:300px; }
.mainPanel .w_2 { width:150px; }
.mainPanel .w_3 { width:100px; }
.mainPanel .w_4 { width:75px; }
.mainPanel .w_5 { width:60px; }
.mainPanel .w_6 { width:50px; }
.mainPanel .h_1 { height:300px; }
.mainPanel .h_2 { height:150px; }
.mainPanel .h_3 { height:100px; }
.mainPanel .h_4 { height:75px; }
.mainPanel .h_5 { height:60px; }
.mainPanel .h_6 { height:50px; }

.btn-google-plus {
  color: #fff;
  background-color: #dd4b39;
  border: 1px solid #d54331;
}

[class^='ion-'] {
  font-size: 1.2em;
}

.btn [class^='ion-'] {
  margin-right: 5px;
}

.btn-google-plus:hover,
.btn-google-plus:focus {
  color: #fff;
  background-color: #cb3927;
}

.alert-outer{
  width: 600px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alert-container{
  z-index: 1;
  position: absolute;
}

.alert{
  max-height: 100px;
  overflow:hidden;
  top: 0px;
  min-width: 600px;
  margin-bottom: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.alert-success {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-success h4 {
  color: #468847;
}

.alert-danger,
.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.alert-danger h4,
.alert-error h4 {
  color: #b94a48;
}

.alert-success h4 {
  color: #468847;
}


.animation {
  -webkit-transition: 1s;
}
.animation.ng-enter {
  opacity: 0;
  max-height: 0px;
}
.animation.ng-leave {
  opacity: 1;
  max-height: 100px;
}
.animation.ng-enter.ng-enter-active {
  opacity: 1;
  max-height: 100px;
}
.animation.ng-leave.ng-leave-active {
  opacity: 0;
  max-height: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.sticky-alert-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index:100;
}

.nopadding {
  padding: 0px;
}
.tdcentered {
  text-align: center;
  vertical-align: middle;
}
.pcgiftbtn {
  font-size: 9px;
  width: 64px;
}

.rewards {
  min-height: 250px;
}

.giftreward-direct-links button {
  font-size: 24px;
  padding: 0;
  width: 31px;
}

td.player-switches {
  max-width: 80em;
}

table.player-stats {
  border: 0;
}

.player-stats th {
  white-space: nowrap;
}

.player-stats td,
.player-stats th {
  border: 1px solid #999999;
  border-collapse: collapse;
}

.player-stats tr:first-child td,
.player-stats tr:first-child th {
  border-top: 0;
}

.player-stats tr td:first-child,
.player-stats tr th:first-child {
  border-left: 0;
}

.player-stats tr:last-child td {
  border-bottom: 0;
}

.player-stats tr td.last-child,
.player-stats tr td:last-child,
.player-stats tr th:last-child {
  border-right: 0;
}

.battlePass .rewards .claimed {
  background-color: #d0ffd0;
}

td.resources {
  column-width: 500px;
}

td.player-info {
  column-width: 500px;
}
td.character-shards {
  column-width: 500px;
}

.dispatchMissions .troopId {

}

table.sticky-headers {
  position:relative;
}

table.sticky-headers thead tr th {
  position:sticky;
  top:0;
  background-color: white;
  z-index: 1;
}

table.troops.sticky-headers thead tr.secondrow th {
  top: 38px;
}

.factionbg.autobot {
  background: url(../images/backgrounds/autobot.png) bottom left no-repeat fixed;
}
.factionbg.decepticon {
  background: url(../images/backgrounds/decepticon.png) bottom left no-repeat fixed;
}

table td.faction {
  padding: 0;
}

table .faction .icon {
  max-height: 1.5em;
}

.player-name, .alliance-name {
  font-family: Roboto, sans-serif;
  font-size: larger;
}

.in-game-name {
  font-family: Roboto, sans-serif;
}

code.in-game {
  padding: 0;
}

.alliance-name:before {
  content: "⬡ ";
  font-size: 150%;
  font-weight: bold;
}

.player-name:before {
  content: "👤 ";
}
.alliance-role-None{
  color: #7f7f7f;
}
.alliance-role-Defender{
  color: #660066;
}
.alliance-role-Rookie{
  color: #003300;
}
.alliance-role-Striker{
  color: #000066;
}
.alliance-role-t-commander{
  color: #663300;
}
.alliance-role-King{
  color: #660000;
}

ul.small-perks {
  padding-left: 0;
  list-style: none;
}
ul.small-perks li {
  text-wrap: nowrap;
}

th.vertical-text > span, td.vertical-text > span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

th.vertical-text, td.vertical-text {
  vertical-align: bottom;
}

table.permissions, table.permissions tr, table.permissions td, table.permissions th {
  border: 1px solid #999999;
  border-collapse: collapse;
}

.home2 {
  margin:auto 0;
  padding: 0;
  column-width: 30em;
}

.home2 .home-panel {
  margin: 0 1em 1em 1em;
  padding: 0em;
  border: medium outset #999999;
  font-size: large;
  break-inside: avoid-column;
  border-radius: 1em;
}

.home2 .home-panel h2 {
  margin: 0;
  padding: 0.25em;
}

.home2 .home-panel > ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.home2 .home-panel > ul > li {
  padding: 0;
  margin: 0;
}



.home2 .home-panel > ul > li > a,
.home2 .home-panel > ul > li > .no-link{
  padding: 0.25em 0.25em 0.25em 1em;
  display: block;
}
.home2 .home-panel > ul > li > a:hover {
  background-color: #f0f0f0;
}
.maintenance-on {
  animation: blink normal 1s infinite ease-in-out;
  transition: all 0.5s ease-in-out;
}

@keyframes blink {
  0% {
    color: rgba(255,0,0,1)
  }
  50% {
    color: rgba(255,0,0,0.5)
  }
  100% {
    color: rgba(255,0,0,1)
  }
}

.events-canvas {
  overflow-x: scroll;
  position: relative;
  height: 24em;
}

.events-canvas .now-relative {
  width: 50%;
  position: absolute;
  /* left: 50%; */
  /* background-color: #0000ff21; */
  top: 0;
  bottom: 0;
  border-left: 2px blue solid;
}
.events-canvas .now-relative .time-label {
  color: blue;
}

.events-canvas .monthLine {
  width: 2px;
  position: absolute;
  left: 0;
  background-color: #d5d5d5;
  top: 0;
  bottom: 0;
}
.events-canvas .time-label {
  position: absolute;
  left: 0.25em;
  width: 5em;
}

.events-canvas .event-visibility {
  position: absolute;
  background-color: #eeeeee80;
  top: 2em;
  bottom:0;
  border-radius: 20px;
  border: 1px dashed #cccccc;
}

.event {
  border: 1px solid;
  border-radius: 10px;
  padding: 10px;
}

.events-canvas .event {
  position: absolute;
  top: 3em;
  bottom: 5px;
}
.events-canvas .event h2 {
  font-size: 1.5em;
  margin-top: 0;
}
.events-canvas .event h3.idref {
  margin-top: 0;
}
.events-canvas .selected .event {
  border-color: #0e90d2;
}
.events-canvas .event-visibility .time-visible{
  position: absolute;
  top: 0;
  left: 1em;
  text-align: left;
}
.events-canvas .event-visibility .time-hidden {
  position: absolute;
  top: 1.25em;
  right: 1em;
  text-align: right;
}
.events-canvas .event-visibility.selected {
  border-color: rgba(88, 177, 209, 0.55);
  background-color: rgba(129, 201, 223, 0.5);
}

.event.detail {
  position:relative;
  max-width: 60em;
  margin: auto;
}

.event .global-totaliser {top: 10px;bottom: 10px;right: 10px;width: 40px;position: absolute;background-color: #9599a0;}

.event .global-totaliser .totaliser-fill {
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #191981;
  border-radius: 2px;
}

.event .global-totaliser .totaliser-fill .totaliser-label {
  position: absolute;
  /* width: 20em; */
  top: 0;
  right: 100%;
  text-align: right;
  padding-right: 10px;
}
