#attack-lock {
  display: none;
  position: absolute;
  z-index: 200;
}
.action-square, .check-range-square {
  box-sizing: border-box;
  height: 17px;
  position: absolute;
  width: 17px;
  z-index: 155;
}
.angry-nell {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.angry-nell-content {
  flex-direction: row!important;
  font-size: 22px;
}
.angry-nell-img {
  margin-right: 8px;
  width: 64px;
}

.anim-meteor {
  animation: anim-meteor 3s linear;
}

.anim-power-bar {
  animation-duration: 1s;
  animation-name: anim-power-bar;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.anim-power-bar:nth-child(2) {animation-delay: 0.1s}
.anim-power-bar:nth-child(3) {animation-delay: 0.2s}
.anim-power-bar:nth-child(4) {animation-delay: 0.3s}
.anim-power-bar:nth-child(5) {animation-delay: 0.4s}
.anim-power-bar:nth-child(6) {animation-delay: 0.5s}
.anim-power-bar:nth-child(7) {animation-delay: 0.6s}
.anim-power-bar:nth-child(8) {animation-delay: 0.7s}
.anim-power-bar:nth-child(9) {animation-delay: 0.8s}
.anim-power-bar:nth-child(10) {animation-delay: 0.9s}

.anim-shake-screen {
  animation: anim-shake-screen 400ms linear 4;
}

.anim-supply {
  animation: anim-trap-supply 500ms linear forwards;
}

.anim-target {
  animation: anim-target 1s linear forwards;
  animation-iteration-count: 3;
}

.anim-target-unit {
  animation: anim-target-unit 1.5s linear forwards;
}

.anim-trapped {
  animation: anim-trapped 1.5s linear forwards;
}

.anim-trap-supply {
  animation: anim-trap-supply 1.5s linear forwards;
}

.bomb-pulse {
  animation: bomb-pulse 0.5s linear alternate infinite;
}
.bottom-arrow {
  border-left: 7px  solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid rgba(255, 255, 255, 0.8);
  height: 0;
  width: 0;
}
.cancel-btn {
  color: rgb(70, 14, 14);
  background: rgb(250, 200, 200)
}
.confirm-btn {
  color: rgb(0, 107, 27);
  background: rgb(193, 255, 208);
}
.conf-green {
  color: rgb(0, 107, 27);
}
.cancel-red {
  color: rgb(70, 14, 14);
}

.co-container:hover .hover-text {
  visibility: visible;
}
.co-bar-container:hover .hover-text {
  visibility: visible;
}

.connection-display {
  max-width: 300px;
  min-width: 200px;
}
.connection-error-msg {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  color: red;
  display: none;
  margin: 4px 0 6px 0;
  padding: 4px;
}

.confirmation-screen {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid black;
  left: 0;
  margin: auto;
  padding: 1px;
  position: absolute;
  right: 0;
  top: 25%;
}
.confirmation-screen-content {
  align-items: center;
  border-style: solid;
  border-width: 4px 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2px;
}
.clickable {
  cursor: pointer;
}
.co-bar-power-cop {
  animation: anim-cop-text 4s linear infinite;
  background: linear-gradient(to right, rgb(230, 96, 96), rgb(197, 13, 13));
  background-clip: text;
  background-clip: border-box;
  background-size: auto auto;
  font-size: 20px;
  font-weight: bold;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  top: -4px;
}
.co-bar-power-scop {
  animation: anim-cop-text 4s linear infinite;
  background: linear-gradient(to right, rgb(76, 167, 241), rgb(0, 82, 177));
  background-clip: text;
  background-clip: border-box;
  background-size: auto auto;
  font-size: 20px;
  font-weight: bold;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  top: -4px;
}
.cop-on-bg {
  background: rgba(236, 53, 53, 0.5);
  box-shadow: 0 0 4px 1px rgba(236, 53, 53);
}
.cop-on-text {
  cursor: default;
  position: absolute;
}
.cop-star {
  height: 5px;
}
.country-color-menu-option {
  cursor: pointer;
  justify-content: space-between;
  width: 100%;
  height: 24px; 
}
.country-color-menu-option :hover {
  filter: brightness(80%); 
}
.country-color-menu-option-div {
  color: white;
  font-weight: bold;
  margin: 0px 3px 0px 0px;
}
.country-color-menu-option-img {
  margin: 0px 0px 0px 3px;
}
.current-turn-arrow {
  align-items: center;
  display: flex;
  left: -10px;
  position: absolute;
  z-index: 10;
}
.destroy-icon {
  display: none;
  position: absolute;
  z-index: 111;
}
.display-arrow {
  color: rgba(255, 0, 0, 0.75);
  font-size: 20px;
  position: absolute;
  z-index: 145;
}
.display-attacker .display-arrow {
  bottom: 60%;;
  right: 0;
}
.display-defender .display-arrow {
  left: 0;
  top: 60%;
}
.display-damage-container {
  display: flex;
  flex-direction: column!important;
  white-space: nowrap
}
.display-damage-container div {
  position: relative;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.display-damage-container span {
  z-index: 150
}
.display-sprite {
  position: relative;
}
.dmg-square {
  background: rgba(255, 27, 27, 0.4);
  border: 1px solid rgb(155, 0, 0);
}
.dmg-square:hover {
  animation: 
    anim-rotate 3s linear infinite,
    dmg-pulse 0.5s linear alternate infinite;
}
.draw-warning, .pause-warning, .msg-warning {
  transition: all 0.5s ease-out;
}
.end-game-day {
  font-size: 18px;
}
.end-game-header {
  display: flex;
  flex-direction: column;
}
.end-game-nav{
  background: rgba(255, 255, 255, 0.9);
  border-color: black;
  border-style: solid;
  border-width: 1px 1px 0 1px;
  bottom: 100%;
  cursor: pointer;
  display: flex;
  left: -1px;
  position: absolute;
}
.end-game-nav div {
  align-items: center;
  display: flex;
  padding: 4px 6px;
}
.end-game-nav-clicked {
  background: rgba(0, 0, 0, 0.1);
  font-weight: bold;
}
.end-game-overview {
  border-style: solid;
  border-width: 4px 2px;
  padding: 6px 4px;
}
.end-game-overview h2 span {
  margin: 0 4px;
}
.end-game-overview ul {
  list-style-type: none;
  margin: 0 4px;;
  padding: 0;
  min-width: 60%;
}
.end-game-player {
  align-items: center;
  border-style: solid;
  border-width: 0 0 2px 0;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  margin: 1px 0;
  padding: 0 8px;
  position: relative;
}
.end-game-screen {
  position: absolute;
  width: 400px;
  z-index: 120;
}
.end-game-tab {
  align-items: center;
  border-style: solid;
  border-width: 4px 2px;
  display: none;
  flex-direction: column;
}
.end-game-title {
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  width: 95%;
}
.end-game-title img {
  margin: 0 1px;
}
.end-game-loser-title {
  justify-content: flex-end;
  padding: 2px 20px 2px 0;
  margin-left: auto;
}
.end-game-winner-title {
  justify-content: flex-start;
  margin-top: 8px;
  padding: 2px 0 2px 20px;
}
.end-game-loser-list {
  align-self: flex-end;
}
.end-game-winner-list {
  align-self: flex-start;
}
.end-game-winner-medal {
  position: absolute;
  left: 100%;
}
.end-turn-screen, .delete-screen {
  width: 200px;
}
.end-turn-screen button {
  margin-bottom: 4px;
}

.error-red {
  color: red;
}

.event-co, .event-tag-co {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid white;
  box-shadow: 3px 3px 2px 2px rgba(0, 0, 0, 0.2);
  margin: 4px;
  transition: transform 0.65s ease-out;
}
.event-cos {
  display: flex;
}
.event-tag-co {
  display: none;
  transform: scale(0.7);
}
.event-screen {
  display: block;
  font-size: 14px;
  left: 50%;
  position: absolute;
  top: 40%;
  transform: translateX(-50%)
}
.event-screen-container {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid black;
  display: flex;
  height: 0;
  justify-content: center;
  overflow: hidden;
  padding: 1px;
  position: relative;
  width: 0;
}
.event-screen-content {
  align-items: center;
  border-style: solid;
  border-width: 4px 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2px 0;
  width: 100%;
  z-index: 2;
}
.event-screen-open {
  animation: anim-open-event-screen 5s linear forwards;
}
.event-username {
  margin: 0 4px;
}
.event-screen header, .event-text {
  align-items: center;
  border-bottom: 4px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  width: 98%;
}
.fire-cursor {
  cursor: url("https://awbw.amarriner.com/terrain/fire.gif"), pointer;
}
#fog-canvas, #weather-canvas {
  position: absolute;
}
#fog-canvas {
  z-index: 104;
}

.forbidden {
  cursor: not-allowed!important;
  text-decoration: line-through;
}

.game-chat {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid black;
  bottom: 0;
  display: flex;
  flex-direction: column;
  height: 400px;
  left: 0;
  position: absolute;
  width: 300px;
}
.game-chat-content {
  display: flex;
  flex-direction: column;
  height: 80%;
  overflow-y: scroll;
  text-align: left;
  width: 100%;
}
.game-chat-header {
  background: #0066CC;
  border: 1px solid #DDDDDD;
  box-sizing: border-box;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  position: relative;
  width: 100%;
}
.game-chat-header span {
  margin: 0 8px;
}
.game-chat-message {
  border-radius: 0 0 4px 4px;
  display: flex;
  flex-direction: column;
  margin: 10px 0;
  width: 70%;
}
.game-chat-message-content {
  margin: 8px 0;
  padding: 0 2px;
  word-wrap: break-word;
}
.game-chat-message-date {
  font-size: 12px;
  margin: 8px 0 2px 0;
  text-align: center;
}
.game-chat-message-l {
  align-self: flex-start;
  margin-left: 4px;
}
.game-chat-message-r {
  align-self: flex-end;
  margin-right: 4px;
}
.game-chat-message-header {
  display: flex;
  padding: 0 2px;
}
.game-chat-message-reverse {
  color: white; 
}
.game-chat-message-user {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 4px 2px;
  position: relative;
}
.game-chat-message-user span {
  margin-left: 4px;
}
.game-chat-message-user div {
  align-items: center;
  display: flex;
}
.game-chat-message header {
  display: flex;
  flex-direction: column;
}
.game-chat-recipients:hover .game-chat-recipient-list {
  display: flex;
}
.game-chat-recipient-list {
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: none;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 4px;
  position: absolute;
  right: 0;
  top: 100%;
  white-space: nowrap;
  z-index: 1000;
}
.game-chat-recipient-list li {
  align-items: center;
  display: flex;
  margin: 4px 0;
}
.game-chat-send {
  display: flex;
}
.game-chat-send-btn {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  padding: 4px 8px;
}
.game-chat-textarea {
  box-sizing: border-box;
  flex-grow: 2;
  height: 100%;
}

.game-damage-display {
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid black;
  box-sizing: border-box;
  display: none;
  flex-direction: row;
  font-size: 10px;
  font-weight: bold;
  justify-content: center;
  padding: 1px;
  position: absolute;
  z-index: 160;
}
.game-damage-display:hover {
  display: none;
}
.game-damage-display-content {
  border-style: solid;
  border-width: 3px 1px;
  display: flex;
  justify-content: space-around;
}
.game-damage-display div {
  align-items: center;
  display: flex;
  flex-direction: row;
}
.game-damage-display .bottom-arrow {
  bottom: -7px;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
}
.game-damage-display img {
  margin: 1px;
}

.game-error-display {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid black;
  cursor: pointer;
  display: none;
  left: 50%;
  opacity: 0;
  padding: 1px;
  position: absolute;
  top: 10px;
  transition: opacity 1s ease-in-out;
  transform: translateX(-50%);
  z-index: 161;
}
.game-error-content {
  border-style: solid;
  border-width: 4px 2px;
  box-sizing: border-box;
  color: red;
  font-size: 16px;
  padding: 4px 8px;
}

.game-logs-body {
  display: flex;
  flex-direction: column;
  padding: 2px;
}
.game-logs-body-header {
  align-items: flex-end;
  display: flex;
  justify-content: space-around;
  margin: 4px 0;
}
.game-logs-content, .game-logs-content-none {
  align-items: flex-end;
  border-bottom: 1px solid #dddddd;
  display: flex;
  flex-direction: row;
  margin: 4px 0;
  padding: 2px;
}
.game-logs-date {
  max-width: 250px;
  text-align: left;
  width: 100%;
}
.game-logs-screen {
  display: flex;
  flex-direction: column;
}
.game-logs-screen-header {
  background: #0066CC;
  color: white;
  display: flex;
  justify-content: center;
  padding: 4px;
}
.game-logs-screen-header > span {
  margin: 0 4px;
}

.game-logs-text {
  max-width: 250px;
  text-align: left;
  width: 100%;
}

#game-player-info {
  width: 600px;
}
.game-player-info {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  left: 100%;
  margin: 0 5px;
  padding: 0 4px;
  position: absolute;
}
.game-player-info-header {
  background: #e8e8cd;
  font-size: 16px;
  margin-top: 4px;
  width: 100%;
}
.game-player-info-players {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.game-stats-banner {
  opacity: 0.8;
  position: absolute;
}
.game-stats-countries {
  align-items: center;
  display: flex;
  justify-content: space-around;
  list-style-type: none;
  margin: 4px 0;
  padding: 0;
  width: 90%;
}
.game-stats-countries li {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-grow: 1;
  height: 24px;
  justify-content: center;
  margin: 0 2px;
}
.game-stats-err {
  color: rgb(212, 0, 0);
  margin: 4px 0 0 0;
}
.game-stats-funds {
  align-items: center;
  display: flex;
  margin: 2px auto 6px 5%;
}
.game-stats-funds span {
  margin: 0 2px;
}
.game-stats-killdeath-funds {
  align-items: center;
  display: flex;
  margin: 8px auto 0 5%;
}
.game-stats-killdeath-funds span {
  margin: 0 2px;
}
.game-stats-nav {
  display: flex;
  justify-content: space-around;
  margin: 4px;
  width: 90%;
}
.game-stats-nav div {
  border: 1px solid #c7c7c7;
  cursor: pointer;
  padding: 2px;
  width: 50%;
}
.game-stats-nav div:hover {
  background: rgba(0, 0, 0, 0.1);
}
.game-stats-unit-count {
  margin-left: 4px;
}
.game-stats-units {
  width: 90%;
}
.game-stats-units-list {
  border-bottom: 1px solid #c7c7c7;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  padding: 0;
}
.game-stats-units-list li {
  display: flex;
  margin: 2px 8px;
}
.game-stats-username {
  border-bottom: 1px solid #ccc;
  margin: 5px auto 10px 20px;
  position: relative;
  text-align: left;
  width: 90%;
}
.game-unit {
  filter: none;
  position: absolute;
  z-index: 110;
}
.game-unit-anim {
  transition: left 0.2s, top 0.2s;
  transition-timing-function: linear;
}
.hover-text-container:hover .hover-text {
  visibility: visible;
}
html {
  pointer-events: auto;
}
.info-container {
  align-items: center;
  display: none;
  flex-direction: column;
  height: 95px;
  justify-content: center;
  margin: 0 2px;
  position: relative;
  width: 45px;
}
.info-container .icon {
  width: 11px;
}
.info-container span:nth-child(1) {
  margin: 4px 0;
}
.landing-square {
  background: rgba(236, 81, 9, 0.4);
  border: 1px solid rgb(255, 115, 0);
}
.landing-square:hover {
  animation: 
    anim-rotate 3s linear infinite,
    landing-pulse 0.5s linear alternate infinite;
}
.left-side {
  left: 2px;
}
#map-background {
  left: 0;
  position: absolute;
  top: 0;
  /*z-index here messes up replay, will need to add z-index to replay elements too */
  z-index: 99;
}
.menu-header {
  border-bottom: 4px solid rgb(0, 0, 0, 0.1);
  margin: 8px 0;
  padding: 0;
}
.menu-option {
  position: relative;
}
.menu-screen-btn {
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  cursor: pointer;
  height: 32px;
  width: 80px;
}
.movement-tile, .path-tile {
  background: rgba(67, 217, 228, 0.4);
  border-color: rgb(22, 98, 184);
  box-sizing: border-box;
  height: 17px;
  position: absolute;
  width: 17px;
  z-index: 125;
}
.next-turn-text {
  margin-bottom: 4px;
}
.path-tile {
  /* background: rgb(0, 0, 200, 0.5)!important; */
  height: 16px;
  width: 16px;
}
.paused-timer-icon {
  left: 100%;
  position: absolute;
}
.paused-timer-icon:hover .paused-timer-text {
  visibility: visible;
}
.paused-timer-icon span:first-child{
  color: rgb(48, 110, 224);
}
.paused-timer-text {
  padding: 4px!important;
  visibility: hidden;
  white-space: normal;
  width: 400px;
}
.percent-display {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.player-activity-status {
  left: 0;
  position: absolute;
  top: 2px;
}
.player-co-container, .player-tagco-container {
  display: inherit;
}
.player-co-text {
  left: 0;
  padding: 8px;
  text-align: left;
  top: 100%;
}
.player-co-text:hover {
  display: none;
}
.player-overview {
  background: white;
  display: flex;
  margin-top: 5px;
  position: relative;
}
.player-overview-co {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 1px;
  min-width: 120px;
  padding: 0 4px;
  position: relative;
}
.player-overview-container {
  display: flex;
  flex-direction: column;
  margin: 0 5px;
}
.player-overview-content {
  border: 1px solid black;
  padding: 1px; 
  position: relative;
}
.player-overview-current-turn-bg {
  background: rgb(209, 250, 255);
}
.player-overview-eliminated-bg {
  background: #CDCDCD;
}
.player-overview-info {
  border: 1px solid black;
  margin-left: 1px;
  min-width: 75px;
  padding: 1px;
}
.player-overview-info li {
  align-items: center;
  background: rgba(0, 0, 0, 0.075);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  margin: 1px 2px 1px 0;
  position: relative;
}
.player-overview-info img {
  margin-right: 4px;
}
.player-overview-info ul {
  border-style: solid;
  border-width: 0 3px 0 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  list-style-type: none;
  margin: auto 0;
  padding: 0;
}
.player-overview-info .unit-value-icon {
  position: relative;
}
.player-overview-info .unit-value-icon .coin {
  bottom: -1px;
  right: -1px;
  position: absolute;
}
.player-overview-bar, .player-overview-bar-tag {
  margin-bottom: 4px;
  width: 150px;
  position: relative;
}
.player-overview-bar-tag {
  bottom: -22px;
}
.player-overview-co div {
  align-items: center;
  background: rgb(0, 0, 0, 0.075);
  display: flex;
  justify-content: space-between;
  flex-grow: 2;
  margin: 1px 0;
  min-width: 85px;
}
.player-overview header {
  align-items: center;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 2px;
}
.player-overview-main {
  display: flex;
  flex-direction: column;
}
.player-overview-teamtag {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
}
.player-overview-timer img {
  margin-right: 2px;
}
.player-overview-unit-count {
  cursor: pointer;
}
.player-overview-unit-count:hover .unit-count-display {
  display: block;
}
.player-overview-units-total {
  align-items: center;
  display: flex;
}
.player-co, .player-tagco {
  display: flex;
}
.player-cop-text, .player-scop-text {
  text-align: left;
}
.player-info-team {
  position: absolute;
  right: 0;
  top: 95%;
}
.player-tagco {
  align-self: flex-end;
  width: 100%;
}
.player-tagco img {
  width: 100%;
}
.player-username a{
  color: white!important;
  font-weight: 400;
}

.power-bar {
  width: 100%;
}
.power-bar, .co-power, .super-co-power {
  align-items: center;
  display: flex;
  flex-direction: row;
  position: relative;
}
.power-buttons {
  display: flex;
  left: 101%;
  position: absolute;
  text-align: left;
  top: 0;
}
.power-buttons img {
  cursor: pointer;
  margin: 0 2px;
  width: 16px;
}
.power-buttons img:hover {
  transform: scale(1.2);
}
.power-info {
  display: flex;
  flex-direction: column;
  margin: 4px;
}
.power-percent-display {
  padding: 2px;
  text-align: left;
  top: 100%;
}
.power-percent-display:hover {
  display: none;
}
.power-star {
  border: 1px solid black;
  box-sizing: border-box;
  position: relative;
}
.power-star-percent {
  background: rgba(28, 201, 129, 0.6);
  border-top: 3px solid rgba(0, 187, 109, 0.9);
  border-bottom: 3px solid rgba(0, 187, 109, 0.9);
  height: 100%;
  left: -1px;
  position: relative;
  top: -3px;
}
.property {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.property .icon {
  margin-right: 4px;
}
.range-square, .bomb-square {
  background: rgba(255, 27, 27, 0.4);
  border-color: rgb(155, 0, 0);
}
.repair-square {
  background: rgba(0, 146, 0, 0.4);
  border: 1px solid rgb(6, 73, 6);
}
.repair-square:hover {
  animation:
    anim-rotate 3s linear infinite,
    repair-pulse 0.5s linear alternate infinite;
}
.replay-controls {
  background: #FFFFFF;
  border: 1px solid #888888;
  margin-left: 5px!important;
  padding: 0 2px;
  z-index: 1000;
}
.replay-controls-fixed {
  position: absolute;
  right: 0;
  top: 0;
}
.replay-day-selector {
  align-items: center;
  display: flex;
}
.replay-download a {
  color: black;
  text-decoration: none;
}
.resign-pass {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 8px 0;
  width: 100%;
}
.resign-screen {
  width: 300px;
}
.resign-screen .confirm-btns {
  margin-bottom: 4px;
}
.resign-screen .bg-line {
  height: 2px;
  padding: 0;
  position: absolute;
  width: 90%;
  z-index: 0;
}
.resign-screen-content h2 span {
  color: red;
}
.resign-screen-content input {
  border-radius: 4px;
  border-style: solid;
  border-width: 2px;
  position: relative;
  width: 50%;
  z-index: 1;
}
.resign-conf-text {
  border-radius: 4px;
  padding: 4px;
}
.right-side {
  right: 2px;
}
.rotate-square {
  animation-duration: 3s;
  animation-name: anim-rotate;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.scale-square {
  animation-duration: 0.5s;
  animation-name: scale-square;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-direction: alternate;
}
.scop-star {
  height: 10px;
}
.scop-on-bg {
  background: rgba(0, 102, 255, 0.5);
  box-shadow: 0 0 4px 1px rgba(0, 102, 255);
}
.scop-text-gradient {
  background: linear-gradient(to right, rgb(76, 167, 241), rgb(0, 82, 177));
}
.silo-pulse {
  animation: silo-pulse 0.5s linear alternate infinite;
}
.silo-square {
  background: rgba(255, 255, 255, 0.4);
  border-color: white;
}
#gamemap > span > img {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.sprite {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.stun-icon {
  opacity: 0.7;
}

.sturm-meteor {
  border-radius: 50%;
  box-shadow: 10px 5px 10px 4px rgba(0, 0, 0, 0.7);;
  display: none;
  left: -33px;
  position: absolute;
  top: -33px;
  z-index: 111;
}

.tag-co-bar {
  margin-top: 6px;
}
.target-icon {
  display: none;
  opacity: 0;
  position: absolute;
  z-index: 111;
}
.terrain-info-defense {
  margin-top: 2px;
}
.terrain-info-sprite canvas {
  width: 24px;
}
.tile-info {
  background: rgba(0, 0, 0, 0.6);
  bottom: 2px;
  color: white;
  display: flex;
  flex-direction: row;
  padding: 2px;
  position: absolute;
}
/* .trapped-icon {
  display: none;
  opacity: 0;
  position: absolute;
  width: 16px;
  z-index: 111;
} */

.trapped-icon, .supply-icon {
  display: none;
  overflow: hidden;
  position: absolute;
  width: 0;
  z-index: 111;
}

.unit-cost {
  margin-left: auto;
  padding-left: 2px;
}
.unit-count-display {
  background: rgb(75, 74, 74, 0.9);
  color: white;
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  transform-origin: top left;
  width: 200px;
  z-index: 200;
}
.unit-count-display div {
  display: flex;
  flex-wrap: wrap;
  font-weight: normal;
  justify-content: center;
}
.unit-count-display div:hover {
  display: none!important;
}
.unit-count-display div div {
  align-items: center;
  display: flex;
  margin: 4px;
}
.unit-count-display span {
  align-items: flex-end;
  display: flex;
  font-size: 16px;
  justify-content: center;
}
.unit-info-ammo, .terrain-info-hp {
  display: none;
}
.unit-info-hp {
  margin-top: 4px;
}
.unit-info-loaded-units {
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 100%;
  position: absolute;
}
.unit-info-loaded-units img {
  margin: 4px 0;
}
.unit-info-sprite {
  align-items: center;
  display: flex;
  position: relative;
  transform: scale(1.5);
}
.unit-licon {
  left: 0;
  position: absolute;
  top: 7px;
}
.unit-options-game, .build-options-game {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid black;
  display: none;
  padding: 1px;
  position: absolute;
  z-index: 150;
}
.unit-options-game ul, .build-options-game ul {
  border-style: solid;
  border-width: 4px 2px;
  display: inline-block;
  list-style-type: none;
  padding: 0 8px;
  margin: 0;
}
.unit-options-game li, .build-options-game li {
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  display: flex;
  cursor: pointer;
  font-size: 16px;
  margin: 4px 0;
  height: 32px;
  width: 100%;
}
.unit-options-game li img, .build-options-game li img {
  margin-right: 4px;
  transform: scale(1.1);
}
.unit-ricon, .unit-ricon-anifuel, .unit-ricon-aniammo {
  left: 8px;
  position: absolute;
  top: 7px;
}
.vision-square {
  background: rgba(236, 221, 9, 0.4);
  border-color: rgb(255, 115, 0);
}
.warning-2030 {
  padding: 4px;
  font-size: 14px;
}


@keyframes bomb-pulse {
  100% {
    background: rgba(255, 0, 0, 0.75);
  }
}
@keyframes dmg-pulse {
  100% {
    background: rgba(255, 0, 0, 0.75)
  }
}
@keyframes landing-pulse {
  100% {
    background: rgba(247, 78, 0, 0.75)
  }
}
@keyframes repair-pulse {
  100% {
    background: rgba(0, 153, 0, 0.75);
  }
}
@keyframes silo-pulse {
  100% {
    background: rgba(255, 255, 255, 0.75);
  }
}
@keyframes anim-rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes scale-square {
  100% {
    transform: scale(1.1);
  }
}
@keyframes anim-cop-text {
  to {
    background-position: 200% center;
  }
}

@keyframes anim-meteor {
  50% {
    transform: translateX(0) translateY(3px) scale(1);
  }
  100% {
    display: none;
    transform: translateX(0) translateY(0);
  }
}

@keyframes anim-open-event-screen {
  /* 5 sec */
  /* Open screen */
  10% {
    height: 0;
    width: 200px
  }
  20% {
    height: 110px;
    width: 200px;
  }
  80% {
    height: 110px;
    width: 200px;
  }
  /* Close screen */
  90% {
    height: 0;
    width: 200px;
  }
  100% {
    height: 0;
    width: 0;
  }
}
@keyframes anim-power-bar {
  80% {
    transform: translateY(0);
  }
  85% {
    /* transform translation  */
    transform: translateY(-8px);
  }
  95% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes anim-shake-screen {
  0% { transform: translate(4px, 4px) /* rotate(0deg) */; }
  10% { transform: translate(-4px, -6px) /* rotate(-1deg) */; }
  20% { transform: translate(-8px, 0px) /* rotate(1deg) */; }
  30% { transform: translate(8px, 6px) /* rotate(0deg) */; }
  40% { transform: translate(4px, -4px) /* rotate(1deg) */; }
  50% { transform: translate(-4px, 8px); }
  60% { transform: translate(-8px, 4px) /* rotate(0deg) */; }
  70% { transform: translate(10px, 4px) /* rotate(-1deg) */; }
  80% { transform: translate(-4px, -4px) /* rotate(1deg) */; }
  90% { transform: translate(2px, 8px) /* rotate(0deg) */; }
  100% { transform: translate(4px, -8px) /* rotate(-1deg) */; }
}

@keyframes anim-trapped { 
  10% {
    transform: scale(2);
  }
  20% {
    transform: scale(1);
    width: 55px;
  }
  90% {
    opacity: 1;
    width: 55px;
  }
  100% {
    opacity: 0;
  }
}

@keyframes anim-target {
  0% {
    opacity: 0;
  }
  1% {
    opacity: 1;
  }
  49% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes anim-target-unit {
  0% {
    opacity: 1;
  }
  10% {
    transform: scale(1.3);
  }
  20% {
    transform: scale(0.7);
  }
  25% {
    transform: scale(1.0);
  }
  99% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes anim-trap-supply {
  5% {
    transform: scale(1.4);
  }
  12.5% {
    transform: scale(0.6);
  }
  20% {
    transform: scale(1.0);
    width: 55px;
  }
  90% {
    width: 55px;
  }
  100% {
    width: 0;
  }
}
