
.countryBall {
	/*background-image: url('../img/countryBallBattle/sprite_60x65_countryBalls.png');*/
	height: 65px !important;
	position: absolute;
	transform: scale(0.7);
	transition: left 2s, right 2s, top 1s, bottom 1s, transform 1s;
	width: 60px !important;
}
.countryBall.topLeft {
	top: 0 !important;
	left: 0 !important;
	transform-origin: top left;
}
.countryBall:not(.topLeft)::after {
	color: #f2f2f2;
	content: attr(data-login);
	display: block;
	font-size: 18px;
    left: -32px;
	overflow: hidden;
	padding: 5px 8px;
	position: absolute;
	text-align: center;
	text-overflow: ellipsis;
    text-shadow: 0 0 5px black, 1px 1px 1px black, 0 0 3px black;
    font-weight: bold;
	top: 45px;
	width: 110px;
	white-space: nowrap;
}

.countryBall.marked:not(.topLeft)::after,
.newcountryBall.marked:not(.topLeft)::after {
	display: block;
	filter: drop-shadow(0px 0px 1px black);
    color: #2eff2e;
}
.countryBall.marked:not(.topLeft):hover::after, .newcountryBall.marked:not(.topLeft):hover::after  {
    filter: drop-shadow(0px 0px 3px lime);
}

.countryBall:not(.topLeft):hover::after, .newcountryBall:not(.topLeft):hover::after {
    background: #00000085;
    border-radius: 0.25em;
    display: block;
	overflow: visible;
	white-space: normal;
}

/* SIZES */


.countryBall.spectator.size-S {
	transform: scale(0.33);
}
.countryBall.spectator.size-M {
	transform: scale(0.35);
}
.countryBall.spectator.size-L {
	transform: scale(0.37);
}
.countryBall.spectator.size-XL {
	transform: scale(0.4);
}

.countryBall.size-S {
	transform: scale(0.56);
}
.countryBall.size-M {
	transform: scale(0.60);
}
.countryBall.size-L {
	transform: scale(0.64);
}
.countryBall.size-XL, .countryBall {
	transform: scale(0.72);
}


.battle2022.countryBalls.mateuszStyle  .countryBall.size-S {
    transform: scale(0.94);
}
.battle2022.countryBalls.mateuszStyle .countryBall.size-M {
    transform: scale(0.98);
}
.battle2022.countryBalls.mateuszStyle .countryBall.size-L {
    transform: scale(1.02);
}
.battle2022.countryBalls.mateuszStyle .countryBall.size-XL, .countryBall {
    transform: scale(1.12);
}

.mobile .countryBall.spectator.size-S {
    transform: scale(0.83);
}
.mobile .countryBall.spectator.size-M {
    transform: scale(0.86);
}
.mobile .countryBall.spectator.size-L {
    transform: scale(0.89);
}
.mobile .countryBall.spectator.size-XL {
    transform: scale(0.92);
}

.mobile .countryBall.size-XXS {
    transform: scale(0.8);
}
.mobile .countryBall.size-XS {
    transform: scale(0.9);
}
.mobile .countryBall.size-S {
    transform: scale(1.1);
}
.mobile .countryBall.size-M {
    transform: scale(1.2);
}
.mobile .countryBall.size-L {
    transform: scale(1.3);
}
.mobile .countryBall.size-XL {
    transform: scale(1.4);
}
.mobile .countryBall.size-XXL {
    transform: scale(1.5);
}
.mobile .countryBall.size-XXXL {
    transform: scale(1.6);
}
/* FACES */
.countryBall::before,
.countryBall.face-annoy.defender::before, .countryBall.face-annoy.spectator::before, .countryBall.face-angry.defender::before, 
.countryBall.face-happy.defender::before, .countryBall.face-happy.spectator::before, .countryBall.face-sad.defender::before, 
.countryBall.face-annoy.attacker::before, .countryBall.face-annoy.spectator::before, .countryBall.face-angry.attacker::before, 
.countryBall.face-happy.attacker::before, .countryBall.face-happy.spectator::before, .countryBall.face-sad.attacker::before {
	background-image: url('../img/countryBallBattle/sprite_60x65_extras.png');
	content: '';
	display: block;
	height: 65px !important;
	left: 0;
	position: absolute;
	top: 0;
	width: 60px !important;
}

.countryballContainer {
	z-index:1;
}

.countryBall .countryballTitle {
    cursor: pointer;
	width:120px;
	left: -35px; 
	position: absolute;
	top: -35px;
	text-align:center;
    background-color: #ff1e0085;
    color: white;
    padding: 4px 20px;
    font-weight: bold;
    font-size: 1.25em;
    border-radius: 5px;
    width: max-content;
    outline: 3px solid white;
    filter: drop-shadow(2px 3px 2px black);
}

.countryBall .countryballTitle:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: #ffffff transparent;
    border-width: 15px 15px 0;
    bottom: -15px;
    left: 50%;
    margin-left: -20px;
}

.countryballDropdownMenu {
    padding: 0.5em;
    outline: black solid 3px;
    box-shadow: black 3px 3px 10px;
    background-color: white;
    flex-direction: column;
    min-width: 170px;
}

.hiddenNPCMenu {
    display: none;
    font-size:1.5em;
    overflow: visible;
    padding:15px
}

.countryballMenu {
	position: absolute;
	top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 1;
    -webkit-transition: opacity 250ms linear;
    transition: opacity 250ms linear;
}

.countryballActionButton {
    border: 2px solid black;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.2em;
    position: relative;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    padding: 0.75em 1.5em 0.8125em 1.5em;
    background-color: #303030;
    background-position: inherit;
    background-image: linear-gradient(to bottom, #ffa200 5%, #904300 100%);
    color: #ffffff;
    height: auto;
    width: auto;
    font-size: 1em;
    text-shadow: 2px 2px 5px black;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.countryBall.defender::before, .countryBall.spectator:nth-child(2n+1)::before, .countryBall.face-annoy.defender::before {
	background-position: 0 0;
}
.countryBall.face-angry.defender::before, .countryBall.spectator:nth-child(2n+1).face-angry::before {
	background-position: -60px 0;
}
.countryBall.face-happy.defender::before, .countryBall.spectator:nth-child(2n+1).face-happy::before {
	background-position: -120px 0;
}
.countryBall.face-sad.defender::before, .countryBall.spectator:nth-child(2n+1).face-sad::before {
	background-position: -180px 0;
}
.countryBall.face-asian.defender::before, .countryBall.spectator:nth-child(2n+1).face-asian::before {
    background-position: -240px 0;
}
.countryBall.face-rainbow_glasses.defender::before, .countryBall.spectator:nth-child(2n+1).face-rainbow_glasses::before {
    background-position: -300px 0;
}
.countryBall.face-sunglasses_av.defender::before, .countryBall.spectator:nth-child(2n+1).face-sunglasses_av::before {
    background-position: -180px -130px;
}
.countryBall.face-pixel_glasses.defender::before, .countryBall.spectator:nth-child(2n+1).face-pixel_glasses::before {
    background-position: -60px -130px;
}
.countryBall.face-sunglasses.defender::before, .countryBall.spectator:nth-child(2n+1).face-sunglasses::before{
    background-position: 0 -130px;
}
.countryBall.face-glasses.defender::before, .countryBall.spectator:nth-child(2n+1).face-glasses::before {
    background-position: -120px -130px;
}
.countryBall.attacker::before, .countryBall.spectator:nth-child(2n)::before, .countryBall.face-annoy.attacker::before {
	background-position: 0 -65px;
}
.countryBall.face-angry.attacker::before, .countryBall.spectator:nth-child(2n).face-angry::before {
	background-position: -60px -65px;
}
.countryBall.face-happy.attacker::before, .countryBall.spectator:nth-child(2n).face-happy::before {
	background-position: -120px -65px;
}
.countryBall.face-sad.attacker::before, .countryBall.spectator:nth-child(2n).face-sad::before {
	background-position: -180px -65px;
}
.countryBall.face-asian.attacker::before, .countryBall.spectator:nth-child(2n).face-asian::before {
    background-position: -240px -65px;
}
.countryBall.face-rainbow_glasses.attacker::before, .countryBall.spectator:nth-child(2n).face-rainbow_glasses::before {
    background-position: -300px -65px;
}
.countryBall.face-sunglasses_av.attacker::before, .countryBall.spectator:nth-child(2n).face-sunglasses_av::before {
    background-position: -180px -195px;
}
.countryBall.face-pixel_glasses.attacker::before, .countryBall.spectator:nth-child(2n).face-pixel_glasses::before {
    background-position: -60px -195px;
}
.countryBall.face-sunglasses.attacker::before, .countryBall.spectator:nth-child(2n).face-sunglasses::before {
    background-position: 0 -195px;
}
.countryBall.face-glasses.attacker::before, .countryBall.spectator:nth-child(2n).face-glasses::before {
    background-position: -120px -195px;
}

/* WEAPONS */
/* 
	TODO add position and animation for all weapons 
	throw: grenade, brick, molotov
	shoot: ak47, colt
	wiggle furiously: sword, axe
	up-and-down: chainsaw, spear	
*/

.countryBall .weapon, .countryBall .hat {
	display: none;
	height: 60px !important;
	overflow: visible;
	position: absolute;
	width: 60px !important;
}
.countryBall .weapon::before, .countryBall .hat::before  {
	background-image: url('../img/countryBallBattle/sprite_60x65_extras.png');
	display: block;
	content: "";
	height: 60px !important;
	overflow: hidden;
	position: absolute;
	width: 60px !important;
}

.countryBall.defender .weapon-snowball::before {
    background-position: -360px 0;
}
.countryBall.defender .weapon-ak47::before {
	background-position: -420px 0;
}
.countryBall.defender .weapon-axe::before {
	background-position: -480px 0;
}
.countryBall.defender .weapon-brick::before {
	background-position: -540px 0;
}
.countryBall.defender .weapon-chainsaw::before {
	background-position: -600px 0;
}
.countryBall.defender .weapon-colt::before {
	background-position: -660px 0;
}
.countryBall.defender .weapon-grenade::before {
	background-position: -720px 0;
}
.countryBall.defender .weapon-molotov::before {
	background-position: -780px 0;
}
.countryBall.defender .weapon-spear::before {
	background-position: -840px 0;
}
.countryBall.defender .weapon-sword::before {
	background-position: -900px 0;
}
.countryBall.defender .weapon-shovel::before {
    background-position: -960px 0;
}
.countryBall.defender .weapon-construction_log::before {
    background-position: -1020px 0;
}
.countryBall.defender .weapon-revolver::before {
    background-position: -360px -130px;
}
.countryBall.defender .weapon-wooden_axe::before {
    background-position: -420px -130px;
}
.countryBall.defender .weapon-asian_sword::before {
    background-position: -480px -130px;
}
.countryBall.defender .weapon-vintage_gun::before {
    background-position: -540px -130px;
}
.countryBall.defender .weapon-riffle::before {
    background-position: -600px -130px;
}
.countryBall.defender .weapon-hammer::before {
    background-position: -660px -130px;
}
.countryBall.defender .weapon-nunchaku::before {
    background-position: -720px -130px;
}
.countryBall.defender .weapon-medieval_sword::before {
    background-position: -780px -130px;
}
.countryBall.defender .weapon-torch::before {
    background-position: -840px -130px;
}
.countryBall.defender .weapon-pocket_knife::before {
    background-position: -900px -130px;
}
.countryBall.defender .weapon-construction_hammer::before {
    background-position: -960px -130px;
}
.countryBall.defender .weapon-luggage::before {
    background-position: -1020px -130px;
}
.countryBall.defender .weapon-second_luggage::before {
    background-position: -1020px -260px;
}
.countryBall.defender .weapon-flip_flop::before {
    background-position: -300px -130px;
}

.countryBall.attacker .weapon-snowball::before {
    background-position: -360px -65px;
}
.countryBall.attacker .weapon-ak47::before {
	background-position: -420px -65px;
}
.countryBall.attacker .weapon-axe::before {
	background-position: -480px -65px;
}
.countryBall.attacker .weapon-brick::before {
	background-position: -540px -65px;
}
.countryBall.attacker .weapon-chainsaw::before {
	background-position: -600px -65px;
}
.countryBall.attacker .weapon-colt::before {
	background-position: -660px -65px;
}
.countryBall.attacker .weapon-grenade::before {
	background-position: -720px -65px;
}
.countryBall.attacker .weapon-molotov::before {
	background-position: -780px -65px;
}
.countryBall.attacker .weapon-spear::before {
	background-position: -840px -65px;
}
.countryBall.attacker .weapon-sword::before {
	background-position: -900px -65px;
}
.countryBall.attacker .weapon-shovel::before {
    background-position: -960px -65px;
}
.countryBall.attacker .weapon-construction_log::before {
    background-position: -1020px -65px;
}
.countryBall.attacker .weapon-flip_flop::before {
    background-position: -300px -195px;
}
.countryBall.attacker .weapon-revolver::before {
    background-position: -360px -195px;
}
.countryBall.attacker .weapon-wooden_axe::before {
    background-position: -420px -195px;
}
.countryBall.attacker .weapon-asian_sword::before {
    background-position: -480px -195px;
}
.countryBall.attacker .weapon-vintage_gun::before {
    background-position: -540px -195px;
}
.countryBall.attacker .weapon-riffle::before {
    background-position: -600px -195px;
}
.countryBall.attacker .weapon-hammer::before {
    background-position: -660px -195px;
}
.countryBall.attacker .weapon-nunchaku::before {
    background-position: -720px -195px;
}
.countryBall.attacker .weapon-medieval_sword::before {
    background-position: -780px -195px;
}
.countryBall.attacker .weapon-torch::before {
    background-position: -840px -195px;
}
.countryBall.attacker .weapon-pocket_knife::before {
    background-position: -900px -195px;
}
.countryBall.attacker .weapon-construction_hammer::before {
    background-position: -960px -195px;
}
.countryBall.attacker .weapon-luggage::before {
    background-position: -1020px -195px;
}
.countryBall.attacker .weapon-second_luggage::before {
    background-position: -1020px -360px;
}

.countryBall .weapon, .countryBall .hat {
	display: block;
}

.countryBall.attacker .weapon {
	left:-32px;
	top:-7px;
}

.countryBall.defender .weapon {
	left:32px;
	top:-7px;
}

.countryBall.defender .weapon-luggage {
    top: 7px;
    left: -7px;
}
.countryBall.defender .weapon-second_luggage {
    left: -40px;
    top: 2px;
}

.countryBall.defender .hat,
.countryBall.spectator:nth-child(2n+1) .hat {
    left: -2px;
    top:-33px;
}
.countryBall.attacker .hat,
.countryBall.spectator:nth-child(2n) .hat {
    left: 2px;
    top:-33px;
}

.countryBall .hat.hat-none,
.countryBall .hat.weapon-none {
    display: none !important;
}

.countryBall.defender .hat-baseball_cap, .countryBall.spectator:nth-child(2n+1) .hat-baseball_cap {
    left: 5px !important;
    top: -30px !important;
}
.countryBall.defender .hat-liangmao, .countryBall.spectator:nth-child(2n+1) .hat-liangmao {
    left: -6px !important;
    top: -30px !important;
}
.countryBall .hat-birthday {
    top: -40px !important;
}
.countryBall.defender .hat-baseball, .countryBall.spectator:nth-child(2n+1) .hat-baseball {
    left: 4px !important;
    top: -25px !important;
}
.countryBall.defender .hat-fedora, .countryBall.spectator:nth-child(2n+1) .hat-fedora {
    left: -1px !important;
    top: -28px !important;
}
.countryBall .hat-rabbi, .countryBall .hat-horns {
    top: -20px !important;
}
.countryBall .hat-beret {
    top: -28px !important;
}
.countryBall .hat-sombrero {
    left: -30px !important;
    top: -34px !important;
}
.countryBall .hat-sombrero::before {
    width: 120px !important;
}

.countryBall .hat-none::before {
    background-image: none;
}


.countryBall.attacker .hat-baseball_cap, .countryBall.spectator:nth-child(2n) .hat-baseball_cap {
    left: -5px !important;
}
.countryBall.attacker .hat-liangmao, .countryBall.spectator:nth-child(2n) .hat-liangmao {
    top: -30px !important;
}
.countryBall.attacker .hat-baseball, .countryBall.spectator:nth-child(2n) .hat-baseball {
    left: -4px !important;
    top: -25px !important;
}
.countryBall.attacker .hat-fedora, .countryBall.spectator:nth-child(2n) .hat-fedora {
    left: 1px !important;
    top: -28px !important;
}
.countryBall.attacker .hat-old_hat, .countryBall.spectator:nth-child(2n) .hat-old_hat {
    left: -2px !important;
    top: -29px !important;
}

.countryBall.defender .hat-straw_brown::before, .countryBall.spectator:nth-child(2n+1) .hat-straw_brown::before {
    background-position: 0 -260px;
}
.countryBall.defender .hat-hat_dark::before, .countryBall.spectator:nth-child(2n+1) .hat-hat_dark::before {
    background-position: -60px -260px;
}
.countryBall.defender .hat-cylinder_grey::before, .countryBall.spectator:nth-child(2n+1) .hat-cylinder_grey::before {
    background-position: -120px -260px;
}
.countryBall.defender .hat-fedora_grey::before, .countryBall.spectator:nth-child(2n+1) .hat-fedora_grey::before {
    background-position: -180px -260px;
}
.countryBall.defender .hat-sherif::before, .countryBall.spectator:nth-child(2n+1) .hat-sherif::before {
    background-position: -240px -260px;
}
.countryBall.defender .hat-fedora_purple::before, .countryBall.spectator:nth-child(2n+1) .hat-fedora_purple::before {
    background-position: -300px -260px;
}
.countryBall.defender .hat-cylinder_gold::before, .countryBall.spectator:nth-child(2n+1) .hat-cylinder_gold::before {
    background-position: -360px -260px;
}
.countryBall.defender .hat-straw::before, .countryBall.spectator:nth-child(2n+1) .hat-straw::before {
    background-position: -420px -260px;
}
.countryBall.defender .hat-fez::before, .countryBall.spectator:nth-child(2n+1) .hat-fez::before {
    background-position: -480px -260px;
}
.countryBall.defender .hat-zorro::before, .countryBall.spectator:nth-child(2n+1) .hat-zorro::before {
    background-position: -540px -260px;
}
.countryBall.defender .hat-liangmao::before, .countryBall.spectator:nth-child(2n+1) .hat-liangmao::before {
    background-position: -600px -260px;
}
.countryBall.defender .hat-baseball_hat_teal::before, .countryBall.spectator:nth-child(2n+1) .hat-baseball_hat_teal::before {
    background-position: -660px -260px;
}
.countryBall.defender .hat-old_hat::before, .countryBall.spectator:nth-child(2n+1) .hat-old_hat::before {
    background-position: -720px -260px;
}
.countryBall.defender .hat-hat_brown::before, .countryBall.spectator:nth-child(2n+1) .hat-hat_brown::before {
    background-position: -780px -260px;
}
.countryBall.defender .hat-baseball_cap::before, .countryBall.spectator:nth-child(2n+1) .hat-baseball_cap::before  {
    background-position: -840px -260px;
}
.countryBall.defender .hat-beanie::before, .countryBall.spectator:nth-child(2n+1) .hat-beanie::before {
    background-position: -900px -260px;
}
.countryBall.defender .hat-construction::before, .countryBall.spectator:nth-child(2n+1) .hat-construction::before {
    background-position: -960px -260px;
}
.countryBall.defender .hat-crown::before, .countryBall.spectator:nth-child(2n+1) .hat-crown::before {
    background-position: 0 -390px;
}
.countryBall.defender .hat-birthday::before, .countryBall.spectator:nth-child(2n+1) .hat-birthday::before {
    background-position: -60px -390px;
}
.countryBall.defender .hat-baseball::before, .countryBall.spectator:nth-child(2n+1) .hat-baseball::before {
    background-position: -120px -390px;
}
.countryBall.defender .hat-fedora::before, .countryBall.spectator:nth-child(2n+1) .hat-fedora::before {
    background-position: -180px -390px;
}
.countryBall.defender .hat-witches::before, .countryBall.spectator:nth-child(2n+1) .hat-witches::before {
    background-position: -240px -390px;
}
.countryBall.defender .hat-rabbi::before, .countryBall.spectator:nth-child(2n+1) .hat-rabbi::before {
    background-position: -300px -390px;
}
.countryBall.defender .hat-cylinder::before, .countryBall.spectator:nth-child(2n+1) .hat-cylinder::before {
    background-position: -360px -390px;
}
.countryBall.defender .hat-santa::before, .countryBall.spectator:nth-child(2n+1) .hat-santa::before {
    background-position: -420px -390px;
}
.countryBall.defender .hat-horns::before, .countryBall.spectator:nth-child(2n+1) .hat-horns::before {
    background-position: -480px -390px;
}
.countryBall.defender .hat-aureola::before, .countryBall.spectator:nth-child(2n+1) .hat-aureola::before {
    background-position: -540px -390px;
}
.countryBall.defender .hat-beret::before, .countryBall.spectator:nth-child(2n+1) .hat-beret::before {
    background-position: -600px -390px;
}
.countryBall.defender .hat-hat_light::before, .countryBall.spectator:nth-child(2n+1) .hat-hat_light::before {
    background-position: -660px -390px;
}
.countryBall.defender .hat-sombrero::before, .countryBall.spectator:nth-child(2n+1) .hat-sombrero::before {
    background-position: -720px -390px;
}

.countryBall.attacker .hat-straw_brown::before, .countryBall.spectator:nth-child(2n) .hat-straw_brown::before {
    background-position: 0 -325px;
}
.countryBall.attacker .hat-hat_dark::before, .countryBall.spectator:nth-child(2n) .hat-hat_dark::before {
    background-position: -60px -325px;
}
.countryBall.attacker .hat-cylinder_grey::before, .countryBall.spectator:nth-child(2n) .hat-cylinder_grey::before {
    background-position: -120px -325px;
}
.countryBall.attacker .hat-fedora_grey::before, .countryBall.spectator:nth-child(2n) .hat-fedora_grey::before {
    background-position: -180px -325px;
}
.countryBall.attacker .hat-sherif::before, .countryBall.spectator:nth-child(2n) .hat-sherif::before {
    background-position: -240px -325px;
}
.countryBall.attacker .hat-fedora_purple::before, .countryBall.spectator:nth-child(2n) .hat-fedora_purple::before {
    background-position: -300px -325px;
}
.countryBall.attacker .hat-cylinder_gold::before, .countryBall.spectator:nth-child(2n) .hat-cylinder_gold::before {
    background-position: -360px -325px;
}
.countryBall.attacker .hat-straw::before, .countryBall.spectator:nth-child(2n) .hat-straw::before {
    background-position: -420px -325px;
}
.countryBall.attacker .hat-fez::before, .countryBall.spectator:nth-child(2n) .hat-fez::before {
    background-position: -480px -325px;
}
.countryBall.attacker .hat-zorro::before, .countryBall.spectator:nth-child(2n) .hat-zorro::before {
    background-position: -540px -325px;
}
.countryBall.attacker .hat-liangmao::before, .countryBall.spectator:nth-child(2n) .hat-liangmao::before {
    background-position: -600px -325px;
}
.countryBall.attacker .hat-baseball_hat_teal::before, .countryBall.spectator:nth-child(2n) .hat-baseball_hat_teal::before {
    background-position: -660px -325px;
}
.countryBall.attacker .hat-old_hat::before, .countryBall.spectator:nth-child(2n) .hat-old_hat::before {
    background-position: -720px -325px;
}
.countryBall.attacker .hat-hat_brown::before, .countryBall.spectator:nth-child(2n) .hat-hat_brown::before {
    background-position: -780px -325px;
}
.countryBall.attacker .hat-baseball_cap::before, .countryBall.spectator:nth-child(2n) .hat-baseball_cap::before {
    background-position: -840px -325px;
}
.countryBall.attacker .hat-beanie::before, .countryBall.spectator:nth-child(2n) .hat-beanie::before {
    background-position: -900px -325px;
}
.countryBall.attacker .hat-construction::before, .countryBall.spectator:nth-child(2n) .hat-construction::before {
    background-position: -960px -325px;
}
.countryBall.attacker .hat-crown::before, .countryBall.spectator:nth-child(2n) .hat-crown::before {
    background-position: 0 -455px;
}
.countryBall.attacker .hat-birthday::before, .countryBall.spectator:nth-child(2n) .hat-birthday::before {
    background-position: -60px -455px;
}
.countryBall.attacker .hat-baseball::before, .countryBall.spectator:nth-child(2n) .hat-baseball::before {
    background-position: -120px -455px;
}
.countryBall.attacker .hat-fedora::before, .countryBall.spectator:nth-child(2n) .hat-fedora::before {
    background-position: -180px -455px;
}
.countryBall.attacker .hat-witches::before, .countryBall.spectator:nth-child(2n) .hat-witches::before {
    background-position: -240px -455px;
}
.countryBall.attacker .hat-rabbi::before, .countryBall.spectator:nth-child(2n) .hat-rabbi::before {
    background-position: -300px -455px;
}
.countryBall.attacker .hat-cylinder::before, .countryBall.spectator:nth-child(2n) .hat-cylinder::before {
    background-position: -360px -455px;
}
.countryBall.attacker .hat-santa::before, .countryBall.spectator:nth-child(2n) .hat-santa::before {
    background-position: -420px -455px;
}
.countryBall.attacker .hat-horns::before, .countryBall.spectator:nth-child(2n) .hat-horns::before {
    background-position: -480px -455px;
}
.countryBall.attacker .hat-aureola::before, .countryBall.spectator:nth-child(2n) .hat-aureola::before {
    background-position: -540px -455px;
}
.countryBall.attacker .hat-beret::before, .countryBall.spectator:nth-child(2n) .hat-beret::before {
    background-position: -600px -455px;
}
.countryBall.attacker .hat-hat_light::before, .countryBall.spectator:nth-child(2n) .hat-hat_light::before {
    background-position: -660px -455px;
}
.countryBall.attacker .hat-sombrero::before, .countryBall.spectator:nth-child(2n) .hat-sombrero::before {
    background-position: -720px -455px;
}

/* 
<div class="weapon weapon-grenade weapon-brick shakeAndThrow"></div>
<div class="weapon weapon-colt weapon-ak47 rotate-90"></div>
 */
 .countryBall.attacker .weapon-ak47, .countryBall.attacker .weapon-riffle {
 	offset-path: path("M 75,48 l -32,2 l 20,-1 l -21,1 l 22,-2 l -21,2 l 22,-2");
   	offset-rotate: -45deg;
 }
 .countryBall.defender .weapon-ak47, .countryBall.defender .weapon-riffle {
 	offset-path: path("M -15,48 l 32,2 l -20,-1 l 21,1 l -22,-2 l 21,2 l -22,-2");
   	offset-rotate: 45deg;
 }
 .countryBall.attacker .weapon-colt, .countryBall.attacker .weapon-vintage_gun, .countryBall.attacker .weapon-revolver::before {
 	offset-path: path("M 40,45 l -4,2 l -2,-2 l -4,-4");
   	offset-rotate: 0deg;
 }
 .countryBall.defender .weapon-colt, .countryBall.defender .weapon-vintage_gun, .countryBall.defender .weapon-revolver::before {
 	offset-path: path("M 20,45 l 4,2 l 2,-2 l 4,-4");
   	offset-rotate: 0deg;
 }
 .weapon-ak47, .weapon-riffle {
 	animation-name: weaponAk47Animation;
	animation-direction: normal;
	animation-duration: 2000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
   	offset-rotate: 0deg;
}
.weapon-colt, .weapon-vintage_gun, .weapon-revolver {
 	animation-name: weaponColtAnimation;
	animation-direction: normal;
	animation-duration: 2000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
   	offset-rotate: 0deg;
}

.countryBall.attacker .weapon-ak47::before, .countryBall.attacker .weapon-riffle::before  {
	animation-name: rotateAk47AttackerAnimation;
	animation-direction: normal;
	animation-duration: 2000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.countryBall.defender .weapon-ak47::before, .countryBall.defender .weapon-riffle::before  {
	animation-name: rotateAk47DefenderAnimation;
	animation-direction: normal;
	animation-duration: 2000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.countryBall.attacker .weapon-colt::before, .countryBall.attacker .weapon-vintage_gun::before, .countryBall.attacker .weapon-revolver:before {
	animation-name: rotateColtAttackerAnimation;
	animation-direction: normal;
	animation-duration: 2000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.countryBall.defender .weapon-colt::before, .countryBall.defender .weapon-vintage_gun::before , .countryBall.defender .weapon-revolver::before {
	animation-name: rotateColtDefenderAnimation;
	animation-direction: normal;
	animation-duration: 2000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.weapon-colt {
	transform: scale(0.8);
 }
.countryBall.attacker .weapon.weapon-molotov, .countryBall.attacker .weapon.weapon-brick, .countryBall.attacker .weapon.weapon-grenade,
.countryBall.attacker .weapon.weapon-snowball, .countryBall.attacker .weapon.weapon-flip_flop, .countryBall.attacker .weapon.weapon-axe,
.countryBall.attacker .weapon.weapon-torch, .countryBall.attacker .weapon.weapon-wooden_axe, .countryBall.attacker .weapon.weapon-pocket_knife,
.countryBall.attacker .weapon.weapon-construction_hammer {
	offset-path: path("M 40,42 l 9,-8 l -4,8 l -7,-7 l -6,-9 l 8,6 l 4,8 l -9,-5 l 6,-8 l 7,6 l -7,9 l -8,6 C -120,-103 -280,-103 -600,33");
   	offset-rotate: 0deg;
}
.countryBall.defender .weapon.weapon-molotov, .countryBall.defender .weapon.weapon-brick, .countryBall.defender .weapon.weapon-grenade,
.countryBall.defender .weapon.weapon-snowball, .countryBall.defender .weapon.weapon-flip_flop, .countryBall.defender .weapon.weapon-axe,
.countryBall.defender .weapon.weapon-torch, .countryBall.defender .weapon.weapon-wooden_axe, .countryBall.defender .weapon.weapon-pocket_knife,
.countryBall.defender .weapon.weapon-construction_hammer {
	offset-path: path("M 20,42 l 5,-8 l -8,6 l 3,9 l 4,-8 l -3,-9 l -9,-4 l -4,8 l 8,-6 l 7,2 l -7,-2 l 9,4 C 180,-103 340,-103 660,33");
   	offset-rotate: 0deg;
}

.weapon.weapon-molotov, .weapon.weapon-brick, .weapon.weapon-grenade, .weapon.weapon-snowball, .weapon.weapon-flip_flop, .weapon.weapon-axe, .weapon.weapon-torch,
.weapon.weapon-wooden_axe, .weapon.weapon-pocket_knife, .weapon.weapon-construction_hammer {
	animation-name: weaponGrenadeAnimation;
	animation-direction: normal;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	transform: scale(0.8);
}
.weapon.weapon-molotov::before, .weapon.weapon-brick::before, .weapon.weapon-grenade::before, .weapon.weapon-snowball::before,  .weapon.weapon-flip_flop::before, .weapon.weapon-axe::before,
.weapon.weapon-torch::before, .weapon.weapon-wooden_axe::before, .weapon.weapon-pocket_knife::before, .weapon.weapon-construction_hammer::before {
	animation-name: weaponRotationRAnimation;
	animation-direction: normal;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.countryBall.attacker .weapon.weapon-molotov::before, .countryBall.attacker .weapon.weapon-brick::before, .countryBall.attacker .weapon.weapon-grenade::before,
.countryBall.attacker .weapon.weapon-snowball::before,  .countryBall.attacker .weapon.weapon-flip_flop::before, .countryBall.attacker .weapon.weapon-axe::before,
.countryBall.attacker .weapon.weapon-torch::before, .countryBall.attacker .weapon.weapon-wooden_axe::before, .countryBall.attacker .weapon.weapon-pocket_knife::before,
.countryBall.attacker .weapon.weapon-construction_hammer::before {
	animation-name: weaponRotationSAnimation;
}

div.countryBall:nth-child(4n) > .shakeAndThrow, div.countryBall:nth-child(4n) > .shakeAndThrow::before {
	animation-duration: 3000ms;
}
div.countryBall:nth-child(4n+1) > .shakeAndThrow, div.countryBall:nth-child(4n+1) > .shakeAndThrow::before {
	animation-duration: 3250ms;
}
div.countryBall:nth-child(4n+2) > .shakeAndThrow, div.countryBall:nth-child(4n+2) > .shakeAndThrow::before {
	animation-duration: 3500ms;
}
div.countryBall:nth-child(4n+3) > .shakeAndThrow, div.countryBall:nth-child(4n+3) > .shakeAndThrow::before {
	animation-duration: 3750ms;
}

div.countryBall:nth-child(7n) > .weapon, div.countryBall:nth-child(7n) > .weapon::before {
	animation-delay: 0ms;
}
div.countryBall:nth-child(7n+1) > .weapon, div.countryBall:nth-child(7n+1) > .weapon::before {
	animation-delay: 286ms;
}
div.countryBall:nth-child(7n+2) > .weapon, div.countryBall:nth-child(7n+2) > .weapon::before {
	animation-delay: 572ms;
}
div.countryBall:nth-child(7n+3) > .weapon, div.countryBall:nth-child(7n+3) > .weapon::before {
	animation-delay: 858ms;
}
div.countryBall:nth-child(7n+4) > .weapon, div.countryBall:nth-child(7n+4) > .weapon::before {
	animation-delay: 1144ms;
}
div.countryBall:nth-child(7n+5) > .weapon, div.countryBall:nth-child(7n+5) > .weapon::before {
	animation-delay: 1430ms;
}
div.countryBall:nth-child(7n+6) > .weapon, div.countryBall:nth-child(7n+6) > .weapon::before {
	animation-delay: 1716ms;
}

@keyframes weaponGrenadeAnimation {
	0% {
		offset-distance: 0%;
		transform: scale(0.8);
	}
	70% {
		offset-distance: 14%;
		transform: scale(0.8);
	}
	90% {
		offset-distance: 72%;
		transform: scale(0.8);
	}
	100% {
		offset-distance: 100%;
		transform: scale(0.5);
	}
}

@keyframes weaponColtAnimation {
	0%, 60%, 100% {
		offset-distance: 0%;
	}
	70%, 95% {
		offset-distance: 100%;
	}
}

@keyframes weaponAk47Animation {
	0%, 70%, 100% {
		offset-distance: 0%;
	}
	95% {
		offset-distance: 100%;
	}
}

@keyframes rotateAk47AttackerAnimation {
	0%, 20%, 40%, 60% {
		transform: rotate(100deg);
	}
	10%, 30%, 50%, 100% {
		transform: rotate(80deg);
	}
	70%, 84%, 98% {
		transform: rotate(10deg);
	}
	77%, 91% {
		transform: rotate(0deg);
	}
}

@keyframes rotateAk47DefenderAnimation {
	0%, 20%, 40%, 60% {
		transform: rotate(-100deg);
	}
	10%, 30%, 50%, 100% {
		transform: rotate(-80deg);
	}
	70%, 84%, 98% {
		transform: rotate(-10deg);
	}
	77%, 91% {
		transform: rotate(0deg);
	}
}
@keyframes rotateColtAttackerAnimation {
	0%, 30%, 60% {
		transform: rotate(-30deg);
	}
	15%, 45% {
		transform: rotate(-40deg);
	}
	70%, 73%, 82%, 90%, 96%  {
		transform: rotate(-45deg);
	}
	77%, 93% {
		transform: rotate(10deg);
	}
}
@keyframes rotateColtDefenderAnimation {
	0%, 30%, 60% {
		transform: rotate(40deg);
	}
	15%, 45% {
		transform: rotate(30deg);
	}
	70%, 73%, 82%, 90%, 96% {
		transform: rotate(45deg);
	}
	77%, 93% {
		transform: rotate(-10deg);
	}
}
@keyframes weaponRotationRAnimation {
	0%, 70% {
		transform: rotate(0deg);
	}
	85% {
		transform: rotate(360deg);
	}
	100% {
		transform: rotate(720deg);
	}
}

@keyframes weaponRotationSAnimation {
	0%, 70% {
		transform: rotate(0deg);
	}
	85% {
		transform: rotate(-360deg);
	}
	100% {
		transform: rotate(-720deg);
	}
}

.demoTest {
	offset-path: path("M 0,108 c 0,0 68,-83 140,1");
	animation: move 3000ms infinite alternate ease-in-out;
}

@keyframes move {
	0% {
		offset-distance: 0%;
	}
	100% {
		offset-distance: 100%;
	}
}

/* COUNTRIES */
.countryBall.ball-A.defender, .countryBall.ball-A.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/AT-right.png');
}
.countryBall.ball-A.attacker, .countryBall.ball-A.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/AT-left.png');
}
.countryBall.ball-AE.defender, .countryBall.ball-AE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/AE-right.png');
}
.countryBall.ball-AE.attacker, .countryBall.ball-AE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/AE-left.png');
}
.countryBall.ball-AF.defender, .countryBall.ball-AF.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/AF-right.png');
}
.countryBall.ball-AF.attacker, .countryBall.ball-AF.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/AF-left.png');
}
.countryBall.ball-AL.defender, .countryBall.ball-AL.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/AL-right.png');
}
.countryBall.ball-AL.attacker, .countryBall.ball-AL.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/AL-left.png');
}
.countryBall.ball-AM.defender, .countryBall.ball-AM.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/AM-right.png');
}
.countryBall.ball-AM.attacker, .countryBall.ball-AM.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/AM-left.png');
}
.countryBall.ball-AO.defender, .countryBall.ball-AO.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/AO-right.png');
}
.countryBall.ball-AO.attacker, .countryBall.ball-AO.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/AO-left.png');
}
.countryBall.ball-AR.defender, .countryBall.ball-AR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/AR-right.png');
}
.countryBall.ball-AR.attacker, .countryBall.ball-AR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/AR-left.png');
}
.countryBall.ball-AU.defender, .countryBall.ball-AU.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/AU-right.png');
}
.countryBall.ball-AU.attacker, .countryBall.ball-AU.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/AU-left.png');
}
.countryBall.ball-AZ.defender, .countryBall.ball-AZ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/AZ-right.png');
}
.countryBall.ball-AZ.attacker, .countryBall.ball-AZ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/AZ-left.png');
}
.countryBall.ball-BA.defender, .countryBall.ball-BA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BA-right.png');
}
.countryBall.ball-BA.attacker, .countryBall.ball-BA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BA-left.png');
}
.countryBall.ball-BD.defender, .countryBall.ball-BD.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BD-right.png');
}
.countryBall.ball-BD.attacker, .countryBall.ball-BD.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BD-left.png');
}
.countryBall.ball-BE.defender, .countryBall.ball-BE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BE-right.png');
}
.countryBall.ball-BE.attacker, .countryBall.ball-BE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BE-left.png');
}
.countryBall.ball-BF.defender, .countryBall.ball-BF.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BF-right.png');
}
.countryBall.ball-BF.attacker, .countryBall.ball-BF.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BF-left.png');
}
.countryBall.ball-BG.defender, .countryBall.ball-BG.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BG-right.png');
}
.countryBall.ball-BG.attacker, .countryBall.ball-BG.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BG-left.png');
}
.countryBall.ball-BH.defender, .countryBall.ball-BH.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BH-right.png');
}
.countryBall.ball-BH.attacker, .countryBall.ball-BH.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BH-left.png');
}
.countryBall.ball-BI.defender, .countryBall.ball-BI.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BT-right.png');
}
.countryBall.ball-BI.attacker, .countryBall.ball-BI.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BT-left.png');
}
.countryBall.ball-BJ.defender, .countryBall.ball-BJ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BJ-right.png');
}
.countryBall.ball-BJ.attacker, .countryBall.ball-BJ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BJ-left.png');
}
.countryBall.ball-BO.defender, .countryBall.ball-BO.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BO-right.png');
}
.countryBall.ball-BO.attacker, .countryBall.ball-BO.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BO-left.png');
}
.countryBall.ball-BR.defender, .countryBall.ball-BR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BR-right.png');
}
.countryBall.ball-BR.attacker, .countryBall.ball-BR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BR-left.png');
}
.countryBall.ball-BS.defender, .countryBall.ball-BS.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BS-right.png');
}
.countryBall.ball-BS.attacker, .countryBall.ball-BS.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BS-left.png');
}
.countryBall.ball-BT.defender, .countryBall.ball-BT.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BT-right.png');
}
.countryBall.ball-BT.attacker, .countryBall.ball-BT.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BT-left.png');
}
.countryBall.ball-BW.defender, .countryBall.ball-BW.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BW-right.png');
}
.countryBall.ball-BW.attacker, .countryBall.ball-BW.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BW-left.png');
}
.countryBall.ball-BY.defender, .countryBall.ball-BY.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BY-right.png');
}
.countryBall.ball-BY.attacker, .countryBall.ball-BY.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BY-left.png');
}
.countryBall.ball-BZ.defender, .countryBall.ball-BZ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/BZ-right.png');
}
.countryBall.ball-BZ.attacker, .countryBall.ball-BZ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/BZ-left.png');
}
.countryBall.ball-CA.defender, .countryBall.ball-CA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CA-right.png');
}
.countryBall.ball-CA.attacker, .countryBall.ball-CA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CA-left.png');
}
.countryBall.ball-CD.defender, .countryBall.ball-CD.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CD-right.png');
}
.countryBall.ball-CD.attacker, .countryBall.ball-CD.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CD-left.png');
}
.countryBall.ball-CF.defender, .countryBall.ball-CF.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CF-right.png');
}
.countryBall.ball-CF.attacker, .countryBall.ball-CF.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CF-left.png');
}
.countryBall.ball-CG.defender, .countryBall.ball-CG.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CG-right.png');
}
.countryBall.ball-CG.attacker, .countryBall.ball-CG.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CG-left.png');
}
.countryBall.ball-CH.defender, .countryBall.ball-CH.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CH-right.png');
}
.countryBall.ball-CH.attacker, .countryBall.ball-CH.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CH-left.png');
}
.countryBall.ball-CI.defender, .countryBall.ball-CI.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CI-right.png');
}
.countryBall.ball-CI.attacker, .countryBall.ball-CI.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CI-left.png');
}
.countryBall.ball-CL.defender, .countryBall.ball-CL.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CL-right.png');
}
.countryBall.ball-CL.attacker, .countryBall.ball-CL.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CL-left.png');
}
.countryBall.ball-CM.defender, .countryBall.ball-CM.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CM-right.png');
}
.countryBall.ball-CM.attacker, .countryBall.ball-CM.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CM-left.png');
}
.countryBall.ball-CN.defender, .countryBall.ball-CN.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CN-right.png');
}
.countryBall.ball-CN.attacker, .countryBall.ball-CN.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CN-left.png');
}
.countryBall.ball-CO.defender, .countryBall.ball-CO.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CO-right.png');
}
.countryBall.ball-CO.attacker, .countryBall.ball-CO.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CO-left.png');
}
.countryBall.ball-CR.defender, .countryBall.ball-CR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CR-right.png');
}
.countryBall.ball-CR.attacker, .countryBall.ball-CR.spectator:nth-child(2n) {
	background-image: url('../img/countryBallBattle/CR-left.png');
}
.countryBall.ball-CU.defender, .countryBall.ball-CU.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CU-right.png');
}
.countryBall.ball-CU.attacker, .countryBall.ball-CU.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CU-left.png');
}
.countryBall.ball-CY.defender, .countryBall.ball-CY.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CY-right.png');
}
.countryBall.ball-CY.attacker, .countryBall.ball-CY.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CY-left.png');
}
.countryBall.ball-CZ.defender, .countryBall.ball-CZ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/CZ-right.png');
}
.countryBall.ball-CZ.attacker, .countryBall.ball-CZ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/CZ-left.png');
}
.countryBall.ball-DE.defender, .countryBall.ball-DE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GER-right.png');
}
.countryBall.ball-DE.attacker, .countryBall.ball-DE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GER-left.png');
}
.countryBall.ball-DJ.defender, .countryBall.ball-DJ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/DJ-right.png');
}
.countryBall.ball-DJ.attacker, .countryBall.ball-DJ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/DJ-left.png');
}
.countryBall.ball-DK.defender, .countryBall.ball-DK.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/DK-right.png');
}
.countryBall.ball-DK.attacker, .countryBall.ball-DK.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/DK-left.png');
}
.countryBall.ball-DO.defender, .countryBall.ball-DO.spectator:nth-child(2n+1) {
	babackground-image: url('../img/countryBallBattle/DO-right.png');
}
.countryBall.ball-DO.attacker, .countryBall.ball-DO.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/DO-left.png');
}
.countryBall.ball-DZ.defender, .countryBall.ball-DZ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/DZ-right.png');
}
.countryBall.ball-DZ.attacker, .countryBall.ball-DZ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/DZ-left.png');
}
.countryBall.ball-EC.defender, .countryBall.ball-EC.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/EC-right.png');
}
.countryBall.ball-EC.attacker, .countryBall.ball-EC.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/EC-left.png');
}
.countryBall.ball-EE.defender, .countryBall.ball-EE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/EE-right.png');
}
.countryBall.ball-EE.attacker, .countryBall.ball-EE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/EE-left.png');
}
.countryBall.ball-EG.defender, .countryBall.ball-EG.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/EG-right.png');
}
.countryBall.ball-EG.attacker, .countryBall.ball-EG.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/EG-left.png');
}
.countryBall.ball-EH.defender, .countryBall.ball-EH.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/EH-right.png');
}
.countryBall.ball-EH.attacker, .countryBall.ball-EH.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/EH-left.png');
}
.countryBall.ball-ER.defender, .countryBall.ball-ER.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/ER-right.png');
}
.countryBall.ball-ER.attacker, .countryBall.ball-ER.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/ER-left.png');
}
.countryBall.ball-ES.defender, .countryBall.ball-ES.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/ES-right.png');
}
.countryBall.ball-ES.attacker, .countryBall.ball-ES.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/ES-left.png');
}
.countryBall.ball-ET.defender, .countryBall.ball-ET.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/ET-right.png');
}
.countryBall.ball-ET.attacker, .countryBall.ball-ET.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/ET-left.png');
}
.countryBall.ball-FI.defender, .countryBall.ball-FI.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/FI-right.png');
}
.countryBall.ball-FI.attacker, .countryBall.ball-FI.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/FI-left.png');
}
.countryBall.ball-FR.defender, .countryBall.ball-FR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/FR-right.png');
}
.countryBall.ball-FR.attacker, .countryBall.ball-FR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/FR-left.png');
}
.countryBall.ball-GA.defender, .countryBall.ball-GA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GA-right.png');
}
.countryBall.ball-GA.attacker, .countryBall.ball-GA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GA-left.png');
}
.countryBall.ball-GB.defender, .countryBall.ball-GB.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GB-right.png');
}
.countryBall.ball-GB.attacker, .countryBall.ball-GB.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GB-left.png');
}
.countryBall.ball-GE.defender, .countryBall.ball-GE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GE-right.png');
}
.countryBall.ball-GE.attacker, .countryBall.ball-GE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GE-left.png');
}
.countryBall.ball-GER.defender, .countryBall.ball-GER.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GER-right.png');
}
.countryBall.ball-GER.attacker, .countryBall.ball-GER.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GER-left.png');
}
.countryBall.ball-GH.defender, .countryBall.ball-GH.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GH-right.png');
}
.countryBall.ball-GH.attacker, .countryBall.ball-GH.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GH-left.png');
}
.countryBall.ball-GM.defender, .countryBall.ball-GM.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GM-right.png');
}
.countryBall.ball-GM.attacker, .countryBall.ball-GM.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GM-left.png');
}
.countryBall.ball-GN.defender, .countryBall.ball-GN.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GN-right.png');
}
.countryBall.ball-GN.attacker, .countryBall.ball-GN.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GN-left.png');
}
.countryBall.ball-GQ.defender, .countryBall.ball-GQ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GQ-right.png');
}
.countryBall.ball-GQ.attacker, .countryBall.ball-GQ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GQ-left.png');
}
.countryBall.ball-GR.defender, .countryBall.ball-GR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GR-right.png');
}
.countryBall.ball-GR.attacker, .countryBall.ball-GR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GR-left.png');
}
.countryBall.ball-GT.defender, .countryBall.ball-GT.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GT-right.png');
}
.countryBall.ball-GT.attacker, .countryBall.ball-GT.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GT-left.png');
}
.countryBall.ball-GW.defender, .countryBall.ball-GW.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GW-right.png');
}
.countryBall.ball-GW.attacker, .countryBall.ball-GW.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GW-left.png');
}
.countryBall.ball-GY.defender, .countryBall.ball-GY.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/GY-right.png');
}
.countryBall.ball-GY.attacker, .countryBall.ball-GY.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/GY-left.png');
}
.countryBall.ball-HN.defender, .countryBall.ball-HN.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/HN-right.png');
}
.countryBall.ball-HN.attacker, .countryBall.ball-HN.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/HN-left.png');
}
.countryBall.ball-HR.defender, .countryBall.ball-HR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/HR-right.png');
}
.countryBall.ball-HR.attacker, .countryBall.ball-HR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/HR-left.png');
}
.countryBall.ball-HT.defender, .countryBall.ball-HT.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/HT-right.png');
}
.countryBall.ball-HT.attacker, .countryBall.ball-HT.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/HT-left.png');
}
.countryBall.ball-HU.defender, .countryBall.ball-HU.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/HU-right.png');
}
.countryBall.ball-HU.attacker, .countryBall.ball-HU.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/HU-left.png');
}
.countryBall.ball-I.defender, .countryBall.ball-I.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/IE-right.png');
}
.countryBall.ball-I.attacker, .countryBall.ball-I.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/IE-left.png');
}
.countryBall.ball-ID.defender, .countryBall.ball-ID.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/ID-right.png');
}
.countryBall.ball-ID.attacker, .countryBall.ball-ID.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/ID-left.png');
}
.countryBall.ball-IL.defender, .countryBall.ball-IL.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/IL-right.png');
}
.countryBall.ball-IL.attacker, .countryBall.ball-IL.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/IL-left.png');
}
.countryBall.ball-IN.defender, .countryBall.ball-IN.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/IN-right.png');
}
.countryBall.ball-IN.attacker, .countryBall.ball-IN.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/IN-left.png');
}
.countryBall.ball-IQ.defender, .countryBall.ball-IQ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/IQ-right.png');
}
.countryBall.ball-IQ.attacker, .countryBall.ball-IQ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/IQ-left.png');
}
.countryBall.ball-IR.defender, .countryBall.ball-IR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/IR-right.png');
}
.countryBall.ball-IR.attacker, .countryBall.ball-IR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/IR-left.png');
}
.countryBall.ball-IS.defender, .countryBall.ball-IS.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/IS-right.png');
}
.countryBall.ball-IS.attacker, .countryBall.ball-IS.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/IS-left.png');
}
.countryBall.ball-IT.defender, .countryBall.ball-IT.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/IT-right.png');
}
.countryBall.ball-IT.attacker, .countryBall.ball-IT.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/IT-left.png');
}
.countryBall.ball-JM.defender, .countryBall.ball-JM.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/JM-right.png');
}
.countryBall.ball-JM.attacker, .countryBall.ball-JM.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/JM-left.png');
}
.countryBall.ball-JO.defender, .countryBall.ball-JO.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/JO-right.png');
}
.countryBall.ball-JO.attacker, .countryBall.ball-JO.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/JO-left.png');
}
.countryBall.ball-JP.defender, .countryBall.ball-JP.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/JP-right.png');
}
.countryBall.ball-JP.attacker, .countryBall.ball-JP.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/JP-left.png');
}
.countryBall.ball-KE.defender, .countryBall.ball-KE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/KE-right.png');
}
.countryBall.ball-KE.attacker, .countryBall.ball-KE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/KE-left.png');
}
.countryBall.ball-KG.defender, .countryBall.ball-KG.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/KG-right.png');
}
.countryBall.ball-KG.attacker, .countryBall.ball-KG.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/KG-left.png');
}
.countryBall.ball-KH.defender, .countryBall.ball-KH.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/KH-right.png');
}
.countryBall.ball-KH.attacker, .countryBall.ball-KH.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/KH-left.png');
}
.countryBall.ball-KP.defender, .countryBall.ball-KP.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/KP-right.png');
}
.countryBall.ball-KP.attacker, .countryBall.ball-KP.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/KP-left.png');
}
.countryBall.ball-KR.defender, .countryBall.ball-KR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/KR-right.png');
}
.countryBall.ball-KR.attacker, .countryBall.ball-KR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/KR-left.png');
}
.countryBall.ball-KW.defender, .countryBall.ball-KW.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/KW-right.png');
}
.countryBall.ball-KW.attacker, .countryBall.ball-KW.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/KW-left.png');
}
.countryBall.ball-KZ.defender, .countryBall.ball-KZ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/KZ-right.png');
}
.countryBall.ball-KZ.attacker, .countryBall.ball-KZ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/KZ-left.png');
}
.countryBall.ball-LA.defender, .countryBall.ball-LA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/LA-right.png');
}
.countryBall.ball-LA.attacker, .countryBall.ball-LA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/LA-left.png');
}
.countryBall.ball-LB.defender, .countryBall.ball-LB.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/LB-right.png');
}
.countryBall.ball-LB.attacker, .countryBall.ball-LB.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/LB-left.png');
}
.countryBall.ball-LK.defender, .countryBall.ball-LK.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/LK-right.png');
}
.countryBall.ball-LK.attacker, .countryBall.ball-LK.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/LK-left.png');
}
.countryBall.ball-LR.defender, .countryBall.ball-LR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/LR-right.png');
}
.countryBall.ball-LR.attacker, .countryBall.ball-LR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/LR-left.png');
}
.countryBall.ball-LS.defender, .countryBall.ball-LS.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/LS-right.png');
}
.countryBall.ball-LS.attacker, .countryBall.ball-LS.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/LS-left.png');
}
.countryBall.ball-LT.defender, .countryBall.ball-LT.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/LT-right.png');
}
.countryBall.ball-LT.attacker, .countryBall.ball-LT.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/LT-left.png');
}
.countryBall.ball-LV.defender, .countryBall.ball-LV.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/LV-right.png');
}
.countryBall.ball-LV.attacker, .countryBall.ball-LV.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/LV-left.png');
}
.countryBall.ball-LY.defender, .countryBall.ball-LY.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/LY-right.png');
}
.countryBall.ball-LY.attacker, .countryBall.ball-LY.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/LY-left.png');
}
.countryBall.ball-MA.defender, .countryBall.ball-MA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MA-right.png');
}
.countryBall.ball-MA.attacker, .countryBall.ball-MA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MA-left.png');
}
.countryBall.ball-MD.defender, .countryBall.ball-MD.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MD-right.png');
}
.countryBall.ball-MD.attacker, .countryBall.ball-MD.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MD-left.png');
}
.countryBall.ball-ME.defender, .countryBall.ball-ME.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/ME-right.png');
}
.countryBall.ball-ME.attacker, .countryBall.ball-ME.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/ME-left.png');
}
.countryBall.ball-MG.defender, .countryBall.ball-MG.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MG-right.png');
}
.countryBall.ball-MG.attacker, .countryBall.ball-MG.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MG-left.png');
}
.countryBall.ball-MK.defender, .countryBall.ball-MK.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MK-right.png');
}
.countryBall.ball-MK.attacker, .countryBall.ball-MK.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MK-left.png');
}
.countryBall.ball-ML.defender, .countryBall.ball-ML.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/ML-right.png');
}
.countryBall.ball-ML.attacker, .countryBall.ball-ML.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/ML-left.png');
}
.countryBall.ball-MM.defender, .countryBall.ball-MM.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MM-right.png');
}
.countryBall.ball-MM.attacker, .countryBall.ball-MM.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MM-left.png');
}
.countryBall.ball-MN.defender, .countryBall.ball-MN.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MN-right.png');
}
.countryBall.ball-MN.attacker, .countryBall.ball-MN.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MN-left.png');
}
.countryBall.ball-MR.defender, .countryBall.ball-MR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MR-right.png');
}
.countryBall.ball-MR.attacker, .countryBall.ball-MR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MR-left.png');
}
.countryBall.ball-MW.defender, .countryBall.ball-MW.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MW-right.png');
}
.countryBall.ball-MW.attacker, .countryBall.ball-MW.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MW-left.png');
}
.countryBall.ball-MX.defender, .countryBall.ball-MX.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MX-right.png');
}
.countryBall.ball-MX.attacker, .countryBall.ball-MX.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MX-left.png');
}
.countryBall.ball-MY.defender, .countryBall.ball-MY.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MY-right.png');
}
.countryBall.ball-MY.attacker, .countryBall.ball-MY.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MY-left.png');
}
.countryBall.ball-MZ.defender, .countryBall.ball-MZ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/MZ-right.png');
}
.countryBall.ball-MZ.attacker, .countryBall.ball-MZ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/MZ-left.png');
}
.countryBall.ball-NA.defender, .countryBall.ball-NA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/NA-right.png');
}
.countryBall.ball-NA.attacker, .countryBall.ball-NA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/NA-left.png');
}
.countryBall.ball-NE.defender, .countryBall.ball-NE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/NE-right.png');
}
.countryBall.ball-NE.attacker, .countryBall.ball-NE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/NE-left.png');
}
.countryBall.ball-NG.defender, .countryBall.ball-NG.spectator:nth-child(2n+1) {
	background-image: url('../img/countryBallBattle/NG-right.png');
}
.countryBall.ball-NG.attacker, .countryBall.ball-NG.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/NG-left.png');
}
.countryBall.ball-NI.defender, .countryBall.ball-NI.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/NI-right.png');
}
.countryBall.ball-NI.attacker, .countryBall.ball-NI.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/NI-left.png');
}
.countryBall.ball-NL.defender, .countryBall.ball-NL.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/NL-right.png');
}
.countryBall.ball-NL.attacker, .countryBall.ball-NL.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/NL-left.png');
}
.countryBall.ball-NO.defender, .countryBall.ball-NO.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/NO-right.png');
}
.countryBall.ball-NO.attacker, .countryBall.ball-NO.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/NO-left.png');
}
.countryBall.ball-NP.defender, .countryBall.ball-NP.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/NP-right.png');
}
.countryBall.ball-NP.attacker, .countryBall.ball-NP.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/NP-left.png');
}
.countryBall.ball-NZ.defender, .countryBall.ball-NZ.spectator:nth-child(2n+1) {
	background-image: url('../img/countryBallBattle/NZ-right.png');
}
.countryBall.ball-NZ.attacker, .countryBall.ball-NZ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/NZ-left.png');
}
.countryBall.ball-OM.defender, .countryBall.ball-OM.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/OM-right.png');
}
.countryBall.ball-OM.attacker, .countryBall.ball-OM.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/OM-left.png');
}
.countryBall.ball-PA.defender, .countryBall.ball-PA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/PA-right.png');
}
.countryBall.ball-PA.attacker, .countryBall.ball-PA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/PA-left.png');
}
.countryBall.ball-PE.defender, .countryBall.ball-PE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/PE-right.png');
}
.countryBall.ball-PE.attacker, .countryBall.ball-PE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/PE-left.png');
}
.countryBall.ball-PG.defender, .countryBall.ball-PG.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/PG-right.png');
}
.countryBall.ball-PG.attacker, .countryBall.ball-PG.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/PG-left.png');
}
.countryBall.ball-PH.defender, .countryBall.ball-PH.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/PH-right.png');
}
.countryBall.ball-PH.attacker, .countryBall.ball-PH.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/PH-left.png');
}
.countryBall.ball-PK.defender, .countryBall.ball-PK.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/PK-right.png');
}
.countryBall.ball-PK.attacker, .countryBall.ball-PK.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/PK-left.png');
}
.countryBall.ball-PL.defender, .countryBall.ball-PL.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/PL-right.png');
}
.countryBall.ball-PL.attacker, .countryBall.ball-PL.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/PL-left.png');
}
.countryBall.ball-PR.defender, .countryBall.ball-PR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/PR-right.png');
}
.countryBall.ball-PR.attacker, .countryBall.ball-PR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/PR-left.png');
}
.countryBall.ball-PS.defender, .countryBall.ball-PS.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/PS-right.png');
}
.countryBall.ball-PS.attacker, .countryBall.ball-PS.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/PS-left.png');
}
.countryBall.ball-PT.defender, .countryBall.ball-PT.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/PT-right.png');
}
.countryBall.ball-PT.attacker, .countryBall.ball-PT.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/PT-left.png');
}
.countryBall.ball-PY.defender, .countryBall.ball-PY.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/PY-right.png');
}
.countryBall.ball-PY.attacker, .countryBall.ball-PY.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/PY-left.png');
}
.countryBall.ball-QA.defender, .countryBall.ball-QA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/QA-right.png');
}
.countryBall.ball-QA.attacker, .countryBall.ball-QA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/QA-left.png');
}
.countryBall.ball-RO.defender, .countryBall.ball-RO.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/RO-right.png');
}
.countryBall.ball-RO.attacker, .countryBall.ball-RO.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/RO-left.png');
}
.countryBall.ball-RS.defender, .countryBall.ball-RS.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/RS-right.png');
}
.countryBall.ball-RS.attacker, .countryBall.ball-RS.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/RS-left.png');
}
.countryBall.ball-RU.defender, .countryBall.ball-RU.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/RU-right.png');
}
.countryBall.ball-RU.attacker, .countryBall.ball-RU.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/RU-left.png');
}
.countryBall.ball-RW.defender, .countryBall.ball-RW.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/RW-right.png');
}
.countryBall.ball-RW.attacker, .countryBall.ball-RW.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/RW-left.png');
}
.countryBall.ball-SA.defender, .countryBall.ball-SA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SA-right.png');
}
.countryBall.ball-SA.attacker, .countryBall.ball-SA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SA-left.png');
}
.countryBall.ball-SB.defender, .countryBall.ball-SB.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SB-right.png');
}
.countryBall.ball-SB.attacker, .countryBall.ball-SB.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SB-left.png');
}
.countryBall.ball-SD.defender, .countryBall.ball-SD.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SD-right.png');
}
.countryBall.ball-SD.attacker, .countryBall.ball-SD.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SD-left.png');
}
.countryBall.ball-SE.defender, .countryBall.ball-SE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SE-right.png');
}
.countryBall.ball-SE.attacker, .countryBall.ball-SE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SE-left.png');
}
.countryBall.ball-SI.defender, .countryBall.ball-SI.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SI-right.png');
}
.countryBall.ball-SI.attacker, .countryBall.ball-SI.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SI-left.png');
}
.countryBall.ball-SK.defender, .countryBall.ball-SK.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SK-right.png');
}
.countryBall.ball-SK.attacker, .countryBall.ball-SK.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SK-left.png');
}
.countryBall.ball-SL.defender, .countryBall.ball-SL.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SL-right.png');
}
.countryBall.ball-SL.attacker, .countryBall.ball-SL.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SL-left.png');
}
.countryBall.ball-SM.defender, .countryBall.ball-SM.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SM-right.png');
}
.countryBall.ball-SM.attacker, .countryBall.ball-SM.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SM-left.png');
}
.countryBall.ball-SN.defender, .countryBall.ball-SN.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SN-right.png');
}
.countryBall.ball-SN.attacker, .countryBall.ball-SN.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SN-left.png');
}
.countryBall.ball-SO.defender, .countryBall.ball-SO.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SO-right.png');
}
.countryBall.ball-SO.attacker, .countryBall.ball-SO.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SO-left.png');
}
.countryBall.ball-SR.defender, .countryBall.ball-SR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SR-right.png');
}
.countryBall.ball-SR.attacker, .countryBall.ball-SR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SR-left.png');
}
.countryBall.ball-SS.defender, .countryBall.ball-SS.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SS-right.png');
}
.countryBall.ball-SS.attacker, .countryBall.ball-SS.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SS-left.png');
}
.countryBall.ball-SV.defender, .countryBall.ball-SV.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SV-right.png');
}
.countryBall.ball-SV.attacker, .countryBall.ball-SV.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SV-left.png');
}
.countryBall.ball-SY.defender, .countryBall.ball-SY.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SY-right.png');
}
.countryBall.ball-SY.attacker, .countryBall.ball-SY.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SY-left.png');
}
.countryBall.ball-SZ.defender, .countryBall.ball-SZ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/SZ-right.png');
}
.countryBall.ball-SZ.attacker, .countryBall.ball-SZ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/SZ-left.png');
}
.countryBall.ball-TD.defender, .countryBall.ball-TD.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/TD-right.png');
}
.countryBall.ball-TD.attacker, .countryBall.ball-TD.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/TD-left.png');
}
.countryBall.ball-TG.defender, .countryBall.ball-TG.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/TG-right.png');
}
.countryBall.ball-TG.attacker, .countryBall.ball-TG.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/TG-left.png');
}
.countryBall.ball-TH.defender, .countryBall.ball-TH.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/TH-right.png');
}
.countryBall.ball-TH.attacker, .countryBall.ball-TH.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/TH-left.png');
}
.countryBall.ball-TJ.defender, .countryBall.ball-TJ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/TJ-right.png');
}
.countryBall.ball-TJ.attacker, .countryBall.ball-TJ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/TJ-left.png');
}
.countryBall.ball-TL.defender, .countryBall.ball-TL.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/TL-right.png');
}
.countryBall.ball-TL.attacker, .countryBall.ball-TL.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/TL-left.png');
}
.countryBall.ball-TM.defender, .countryBall.ball-TM.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/TM-right.png');
}
.countryBall.ball-TM.attacker, .countryBall.ball-TM.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/TM-left.png');
}
.countryBall.ball-TN.defender, .countryBall.ball-TN.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/TN-right.png');
}
.countryBall.ball-TN.attacker, .countryBall.ball-TN.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/TN-left.png');
}
.countryBall.ball-TR.defender, .countryBall.ball-TR.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/TR-right.png');
}
.countryBall.ball-TR.attacker, .countryBall.ball-TR.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/TR-left.png');
}
.countryBall.ball-TW.defender, .countryBall.ball-TW.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/TW-right.png');
}
.countryBall.ball-TW.attacker, .countryBall.ball-TW.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/TW-left.png');
}
.countryBall.ball-TZ.defender, .countryBall.ball-TZ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/TZ-right.png');
}
.countryBall.ball-TZ.attacker, .countryBall.ball-TZ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/TZ-left.png');
}
.countryBall.ball-UA.defender, .countryBall.ball-UA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/UA-right.png');
}
.countryBall.ball-UA.attacker, .countryBall.ball-UA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/UA-left.png');
}
.countryBall.ball-UG.defender, .countryBall.ball-UG.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/UG-right.png');
}
.countryBall.ball-UG.attacker, .countryBall.ball-UG.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/UG-left.png');
}
.countryBall.ball-US.defender, .countryBall.ball-US.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/US-right.png');
}
.countryBall.ball-US.attacker, .countryBall.ball-US.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/US-left.png');
}
.countryBall.ball-UY.defender, .countryBall.ball-UY.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/UY-right.png');
}
.countryBall.ball-UY.attacker, .countryBall.ball-UY.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/UY-left.png');
}
.countryBall.ball-UZ.defender, .countryBall.ball-UZ.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/UZ-right.png');
}
.countryBall.ball-UZ.attacker, .countryBall.ball-UZ.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/UZ-left.png');
}
.countryBall.ball-VE.defender, .countryBall.ball-VE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/VE-right.png');
}
.countryBall.ball-VE.attacker, .countryBall.ball-VE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/VE-left.png');
}
.countryBall.ball-VN.defender, .countryBall.ball-VN.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/VN-right.png');
}
.countryBall.ball-VN.attacker, .countryBall.ball-VN.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/VN-left.png');
}
.countryBall.ball-VU.defender, .countryBall.ball-VU.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/VU-right.png');
}
.countryBall.ball-VU.attacker, .countryBall.ball-VU.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/VU-left.png');
}
.countryBall.ball-XK.defender, .countryBall.ball-XK.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/XK-right.png');
}
.countryBall.ball-XK.attacker, .countryBall.ball-XK.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/XK-left.png');
}
.countryBall.ball-YE.defender, .countryBall.ball-YE.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/YE-right.png');
}
.countryBall.ball-YE.attacker, .countryBall.ball-YE.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/YE-left.png');
}
.countryBall.ball-ZA.defender, .countryBall.ball-ZA.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/ZA-right.png');
}
.countryBall.ball-ZA.attacker, .countryBall.ball-ZA.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/ZA-left.png');
}
.countryBall.ball-ZM.defender, .countryBall.ball-ZM.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/ZM-right.png');
}
.countryBall.ball-ZM.attacker, .countryBall.ball-ZM.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/ZM-left.png');
}
.countryBall.ball-ZW.defender, .countryBall.ball-ZW.spectator:nth-child(2n+1) {
    background-image: url('../img/countryBallBattle/ZW-right.png');
}
.countryBall.ball-ZW.attacker, .countryBall.ball-ZW.spectator:nth-child(2n) {
    background-image: url('../img/countryBallBattle/ZW-left.png');
}

.target {
	background-image: url('../img/target.png');
	background-repeat: no-repeat;
	height: 64px !important;
	position: absolute;
	width: 64px !important;
    background-size: 100% 100%;
}
.mobile .target {
	scale: 2.5;
}
.target::after {
	animation-name: targetBulletAnimation; 
	animation-direction: normal;
	animation-delay: 2150ms;
	animation-duration: 2000ms;
	animation-timing-function: steps(24);
	animation-iteration-count: infinite;
	background-image: url('../img/animation/target_bullets.png');
	background-repeat: no-repeat;
	background-position: 64px;
	content: '';
	display: block;
	height: 32px !important;
	left: 20px;
	position: absolute;
	top: 13px;
	width: 64px !important;
}
@keyframes targetBulletAnimation {
  from { background-position: 768px; }
  to { background-position: -768px; }
}

.countryBall.train-run {
	animation-name: trainRunAnimation;
	animation-direction: normal;
	animation-duration: 4400ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
   	z-index: 20;
}
@keyframes trainRunAnimation {
	0% { left: -50%; bottom: 2%; }
	39% { left: 28%; bottom: 2%; }
	40% { left: 29%; bottom: 4%; }
	41% { left: 31%; bottom: 6%; }
	42% { left: 33%; bottom: 4%; }
	43% { left: 34%; bottom: 2%; }
	45% { left: 41%; bottom: 2%; }
	/*46% { left: 42%; bottom: 31px; }*/
	/*47% { left: 44%; bottom: 43px; }*/
	/*48% { left: 46%; bottom: 30px; }*/
	49% { left: 47%; bottom: 2%; }
	51% { left: 54%; bottom: 2%; }
	52% { left: 55%; bottom: 4%; }
	53% { left: 57%; bottom: 6%; }
	54% { left: 59%; bottom: 4%; }
	55% { left: 60%; bottom: 2%; }
	57% { left: 67%; bottom: 2%; }
	/*58% { left: 68%; bottom: 32px; }*/
	/*59% { left: 70%; bottom: 43px; }*/
	/*60% { left: 72%; bottom: 30px; }*/
	61% { left: 73%; bottom: 2%; }
	100% { left: 150%; bottom: 2%; }
}
.fence {
	background-image: url('../img/animation/fence.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	height: 43px !important;
	position: absolute;
	width: 3% !important;
}

.grenadeContainer {
	position: absolute;
}
.grenade {
	animation-name: grenadeThrowAnimation; 
	animation-direction: normal;
	animation-duration: 3600ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	background-image: url('../img/countryBallBattle/sprite_60x65_extras.png');
	background-position: -720px -65px;
	background-repeat: no-repeat;
	display: block;
	height: 60px !important;
	overflow: hidden;
	position: absolute;
	scale: 0.7;
	width: 60px !important;
}
.mobile .grenade {
	scale: 2;
}
@keyframes grenadeThrowAnimation {
	0%, 10%, 24%, 36%, 60% { left: 2%; bottom: 3%; rotate: 2deg; opacity: 1; }
	16%, 28%, 44%, 52% { left: 3%; bottom: 2%; rotate: -2deg; }
	3%, 13%, 32%, 56% { left: 3%; bottom: 4%;  rotate: 0deg; }
	6%, 20%, 40%, 48%, 46% { left: 4%; bottom: 3%;  rotate: -4deg; }
	68% { left: 3%; bottom: 3%;  rotate: 2deg; }
	72% { left: 20%; bottom: 30%;  rotate: 72deg; }
	76% { left: 40%; bottom: 50%;  rotate: 216deg; }
	78% { left: 50%; bottom: 55%;  rotate: 360deg; }
	80% { left: 60%; bottom: 50%;  rotate: 432deg; }
	84% { left: 80%; bottom: 30%;  rotate: 576deg; }
	88% { left: 100%; bottom: 0%;  rotate: 720deg; opacity: 1; }
	89% { left: 100%; bottom: 0%; rotate: 720deg; opacity: 0; }
	100% { left: 3%; bottom: 0%; rotate: 720deg; opacity: 0; }
}
.grenadeExplosion {
	animation-name: grenadeExplosionAnimation; 
	animation-direction: normal;
	animation-duration: 3600ms;
	animation-timing-function: steps(72);
	animation-iteration-count: infinite;
	background-image: url('../img/animation/grenadeExplosion.png');
	background-repeat: no-repeat;
	height: 80px !important;
	position: absolute;
	width: 160px !important;
	margin-left: -40px;
}

.mobile .grenadeExplosion {
    scale: 3;
}

@keyframes grenadeExplosionAnimation {
  from { background-position: 10240px; }
  to { background-position: -1280px; }
}

.weights {
	animation-name: weightsAnimation; 
	animation-direction: alternate;
	animation-duration: 800ms;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	background-image: url('../img/animation/weight.png');
	background-repeat: no-repeat;
	background-size: contain;
	height: 45px !important;
	position: absolute;
	width: 40px !important;
}
.mobile .weights {
	scale: 2.4;
 	margin: 0 0 -0.5% -1%;
}
.mobile .fence {
 scale: 2;
}
@keyframes weightsAnimation {
  from { background-position-y: 10px; }
  to { background-position-y: 0px; }
}

    /*countryballsBeta css*/
.newcountryBall #userImage {
    width: 9vh;
    height: 9vh;
}

.newcountryBall .countryballTitle {
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    top: -4vh;
    text-align: center;
    z-index: 1;
}

.newcountryBall .countryballTitle:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: #ffffff transparent;
    border-width: 15px 15px 0;
    bottom: -15px;
    left: 50%;
    margin-left: -20px;
}

.mobile .countryBallContainer .countryballTitle {
    font-size: 2.5vh;
}

.newcountryBall:not(.topLeft)::after {
    color: #f2f2f2;
    content: attr(data-login);
    display: block;
    font-size: 2em;
    left: -5vh;
    overflow: hidden;
    padding: 5px 8px;
    position: absolute;
    text-align: center;
    text-overflow: ellipsis;
    text-shadow: 0 0 5px black, 1px 1px 1px black, 0 0 3px black;
    font-weight: bold;
    top: 4vh;
    width: 13vh;
    white-space: nowrap;
}

.newcountryBall .hat {
    height: 5vh !important;
    overflow: visible;
    position: absolute;
    width: 5vh !important;
}

.newcountryBall .hat::before {
    display: block;
    content: "";
    height: 5vh !important;
    overflow: hidden;
    position: absolute;
    width: 5vh !important;
    background-size: cover;
}

.newcountryBall.right .hat {
    left: -0.25vh;
    top: -2.8vh;
}
.newcountryBall.left .hat {
    left: -0.25vh;
    top: -2.8vh;
}

.newcountryBall .hat-straw_brown-left::before {
    background-image: url('../img/countryBallBattle/straw_brown-left.png');
}
.newcountryBall .hat-straw_brown-right::before {
    background-image: url('../img/countryBallBattle/straw_brown-right.png');
}
.newcountryBall .hat-hat_dark-left::before {
    background-image: url('../img/countryBallBattle/hat_dark-left.png');
}
.newcountryBall .hat-hat_dark-right::before {
    background-image: url('../img/countryBallBattle/hat_dark-right.png');
}
.newcountryBall .hat-cylinder_grey-left::before {
    background-image: url('../img/countryBallBattle/cylinder_grey-left.png');
}
.newcountryBall .hat-cylinder_grey-right::before {
    background-image: url('../img/countryBallBattle/cylinder_grey-right.png');
}
.newcountryBall .hat-fedora_grey-left::before {
    background-image: url('../img/countryBallBattle/fedora_grey-left.png');
}
.newcountryBall .hat-fedora_grey-right::before {
    background-image: url('../img/countryBallBattle/fedora_grey-right.png');
}
.newcountryBall .hat-sherif-left::before {
    background-image: url('../img/countryBallBattle/sherif-left.png');
}
.newcountryBall .hat-sherif-right::before {
    background-image: url('../img/countryBallBattle/sherif-right.png');
}
.newcountryBall .hat-fedora_purple-left::before {
    background-image: url('../img/countryBallBattle/fedora_purple-left.png');
}
.newcountryBall .hat-fedora_purple-right::before {
    background-image: url('../img/countryBallBattle/fedora_purple-right.png');
}
.newcountryBall .hat-cylinder_gold-left::before {
    background-image: url('../img/countryBallBattle/cylinder_gold-left.png');
}
.newcountryBall .hat-cylinder_gold-right::before {
    background-image: url('../img/countryBallBattle/cylinder_gold-right.png');
}
.newcountryBall .hat-straw-left::before {
    background-image: url('../img/countryBallBattle/straw-left.png');
}
.newcountryBall .hat-straw-right::before {
    background-image: url('../img/countryBallBattle/straw-right.png');
}
.newcountryBall .hat-fez-left::before {
    background-image: url('../img/countryBallBattle/fez-left.png');
}
.newcountryBall .hat-fez-right::before {
    background-image: url('../img/countryBallBattle/fez-right.png');
}
.newcountryBall .hat-zorro-left::before {
    background-image: url('../img/countryBallBattle/zorro-left.png');
}
.newcountryBall .hat-zorro-right::before {
    background-image: url('../img/countryBallBattle/zorro-right.png');
}
.newcountryBall .hat-liangmao-left::before {
    background-image: url('../img/countryBallBattle/liangmao-left.png');
}
.newcountryBall .hat-liangmao-right::before {
    background-image: url('../img/countryBallBattle/liangmao-right.png');
}
.newcountryBall .hat-baseball_hat_teal-left::before {
    background-image: url('../img/countryBallBattle/baseball_hat_teal-left.png');
}
.newcountryBall .hat-baseball_hat_teal-right::before {
    background-image: url('../img/countryBallBattle/baseball_hat_teal-right.png');
}
.newcountryBall .hat-old_hat-left::before {
    background-image: url('../img/countryBallBattle/old_hat-left.png');
}
.newcountryBall .hat-old_hat-right::before {
    background-image: url('../img/countryBallBattle/old_hat-right.png');
}
.newcountryBall .hat-hat_brown-left::before {
    background-image: url('../img/countryBallBattle/hat_brown-left.png');
}
.newcountryBall .hat-hat_brown-right::before {
    background-image: url('../img/countryBallBattle/hat_brown-right.png');
}
.newcountryBall .hat-baseball_cap-left::before {
    background-image: url('../img/countryBallBattle/baseball_cap-left.png');
}
.newcountryBall .hat-baseball_cap-right::before {
    background-image: url('../img/countryBallBattle/baseball_cap-right.png');
}
.newcountryBall .hat-beanie-left::before {
    background-image: url('../img/countryBallBattle/beanie-left.png');
}
.newcountryBall .hat-beanie-right::before {
    background-image: url('../img/countryBallBattle/beanie-right.png');
}
.newcountryBall .hat-construction-left::before {
    background-image: url('../img/countryBallBattle/construction-left.png');
}
.newcountryBall .hat-construction-right::before {
    background-image: url('../img/countryBallBattle/construction-right.png');
}
.newcountryBall .hat-crown-left::before {
    background-image: url('../img/countryBallBattle/crown-left.png');
}
.newcountryBall .hat-crown-right::before {
    background-image: url('../img/countryBallBattle/crown-right.png');
}
.newcountryBall .hat-birthday-left::before {
    background-image: url('../img/countryBallBattle/birthday-left.png');
}
.newcountryBall .hat-birthday-right::before {
    background-image: url('../img/countryBallBattle/birthday-right.png');
}
.newcountryBall .hat-baseball-left::before {
    background-image: url('../img/countryBallBattle/baseball-left.png');
}
.newcountryBall .hat-baseball-right::before {
    background-image: url('../img/countryBallBattle/baseball-right.png');
}
.newcountryBall .hat-fedora-left::before {
    background-image: url('../img/countryBallBattle/fedora-left.png');
}
.newcountryBall .hat-fedora-right::before {
    background-image: url('../img/countryBallBattle/fedora-right.png');
}
.newcountryBall .hat-witches-left::before {
    background-image: url('../img/countryBallBattle/witches-left.png');
}
.newcountryBall .hat-witches-right::before {
    background-image: url('../img/countryBallBattle/witches-right.png');
}
.newcountryBall .hat-rabbi-left::before {
    background-image: url('../img/countryBallBattle/rabbi-left.png');
}
.newcountryBall .hat-rabbi-right::before {
    background-image: url('../img/countryBallBattle/rabbi-right.png');
}
.newcountryBall .hat-cylinder-left::before {
    background-image: url('../img/countryBallBattle/cylinder-left.png');
}
.newcountryBall .hat-cylinder-right::before {
     background-image: url('../img/countryBallBattle/cylinder-right.png');
 }
.newcountryBall .hat-santa-left::before {
    background-image: url('../img/countryBallBattle/santa-left.png');
}
.newcountryBall .hat-santa-right::before {
    background-image: url('../img/countryBallBattle/santa-right.png');
}
.newcountryBall .hat-horns-left::before {
    background-image: url('../img/countryBallBattle/horns-left.png');
}
.newcountryBall .hat-horns-right::before {
    background-image: url('../img/countryBallBattle/horns-right.png');
}
.newcountryBall .hat-aureola-left::before {
    background-image: url('../img/countryBallBattle/aureola-left.png');
}
.newcountryBall .hat-aureola-right::before {
    background-image: url('../img/countryBallBattle/aureola-right.png');
}
.newcountryBall .hat-beret-left::before {
    background-image: url('../img/countryBallBattle/beret-left.png');
}
.newcountryBall .hat-beret-right::before {
    background-image: url('../img/countryBallBattle/beret-right.png');
}
.newcountryBall .hat-hat_light-left::before {
    background-image: url('../img/countryBallBattle/hat_light-left.png');
}
.newcountryBall .hat-hat_light-right::before {
    background-image: url('../img/countryBallBattle/hat_light-right.png');
}
.newcountryBall .hat-sombrero-left::before {
    background-image: url('../img/countryBallBattle/sombrero-left.png');
}
.newcountryBall .hat-sombrero-right::before {
    background-image: url('../img/countryBallBattle/sombrero-right.png');
}

.countryBallWithBubble .bubbleTextContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bolder;
    text-transform: uppercase;
    color: black;
    box-shadow: 0px 1px 4px 2px #000000;
    position: absolute;
    bottom: 120%;
    left:-100%;
    width: 150px;
    padding: 0.5em;
    background: #ffffff;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    border: #000000 solid 2px;
    /*transform: scaleX(-1);*/
    font-size: 1.5em;
}

.mobile .countryBallWithBubble .bubbleTextContainer {
    width: 215px;
    font-size: 1em;
}

.countryBallWithBubble .bubbleTextContainer:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 20px 20px 0;
    border-color: #ffffff transparent;
    display: block;
    width: 0;
    z-index: 1;
    margin-left: -20px;
    bottom: -19px;
    left: 50%;
}

.countryBallWithBubble .bubbleTextContainer:before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 23px 23px 0;
    border-color: #000000 transparent;
    display: block;
    width: 0;
    z-index: 0;
    margin-left: -23px;
    bottom: -25px;
    left: 50%;
}
    .mobile .countryBallWithBubble .bubbleTextContainer:before,
    .mobile .countryBallWithBubble .bubbleTextContainer:after {
        left: 20%;
    }
