
/*** CROW ***/
.crow
{
	width: 42px;
	height: 34px;
    z-index: 5000;
}

.crow.reverse {
	-moz-transform: scale(-1, 1);
	-webkit-transform: scale(-1, 1);
	-o-transform: scale(-1, 1);
	transform: scale(-1, 1);
	filter: FlipH;
	-ms-filter: "FlipH";
}

.crow.left.reverse {
	-moz-transform: unset;
	-webkit-transform: unset;
	-o-transform: unset;
	transform: unset;
	filter: unset;
	-ms-filter: unset;
}

.crow.dead
{
	transform: scale(1, -1);
}

.crow.dead.left
{
	transform: scale(-1, -1);
}

.crow.start-left
{
	left: -45px;
}

.crow.start-right
{
	right: -45px;
}

.crow .hitbox
{
	height: 100%;
    top: 240px;
    width: 50px;
    left: 0px;
}

.crow .shadow
{
	height: 20%;
    top: 250px;
    width: 110%;
}

.item
{
	height: 20px;
	width: 20px;
	position: absolute;
	background-size: cover;
}
.item.bomb
{
	background-image: url('/games/gold-rush/images/crow/bomb.png?t=1571111287');
}
.item.bottle
{
	background-image: url('/games/gold-rush/images/crow/bottle.png?t=1571111287');
}
.item.coconut
{
	background-image: url('/games/gold-rush/images/crow/coconut.png?t=1571111287');
}
.item.coin
{
	background-image: url('/games/gold-rush/images/crow/coin.png?t=1571111287');
}
.item.diamond
{
	background-image: url('/games/gold-rush/images/crow/diamond.png?t=1571111287');
	width: 24px;
}
.item.emerald
{
	background-image: url('/games/gold-rush/images/crow/emerald.png?t=1571111287');
}
.item.heart
{
	background-image: url('/games/gold-rush/images/crow/heart.png?t=1571111287');
}
.item.log
{
	background-image: url('/games/gold-rush/images/crow/log.png?t=1571111287');
	width: 48px;
}
.item.log2
{
	background-image: url('/games/gold-rush/images/crow/log2.png?t=1571111287');
	width: 24px;
}
.item.mushroom
{
	background-image: url('/games/gold-rush/images/crow/mushroom.png?t=1571111287');
}
.item.pineapple
{
	background-image: url('/games/gold-rush/images/crow/pineapple.png?t=1571111287');
}
.item.purple
{
	background-image: url('/games/gold-rush/images/crow/purple.png?t=1571111287');
}
.item.ruby
{
	background-image: url('/games/gold-rush/images/crow/ruby.png?t=1571111287');
}
.item.sapphire
{
	background-image: url('/games/gold-rush/images/crow/sapphire.png?t=1571111287');
}
.item.star
{
	background-image: url('/games/gold-rush/images/crow/star.png?t=1571111287');
}


.bomb.not-lit {
    background-position-y: -40px;
}

.crow .item.bomb.lit {
	top: 57%;
	transform: rotate(25deg);
	animation: crow-bomb-item-moving 1s steps(4, end) infinite, bomb-lit .2s steps(2, end) infinite;
}

.bomb.lit {
	animation: bomb-lit .2s steps(2, end) infinite;
}

@keyframes bomb-lit {
	to
	{
		background-position-y: -40px;
	}
}

.crow .item.log,
.crow .item.log2 {
	left: 34%;
}



.item.pickup .hitbox
{
    height: 50%;
    width: 50%;
    left: 25%;
    top: 25%;
}
/*
*/
.crow .item .hitbox
{
    display: none;
}

.item.falling
{
	animation: falling-crow-item-right linear 1s;
}
.item.falling.left
{
	animation: falling-crow-item-left linear 1s;
}
@keyframes falling-crow-item-right {
	0%   {margin-top: -240px; margin-left: -5px;}
	30%  {margin-top: -120px; margin-left:  0px;}
	60%  {margin-top: -150px;                   }
	100% {margin-top: 0px;                      }
}
@keyframes falling-crow-item-left {
	0%   {margin-top: -240px; margin-left: 5px;}
	30%  {margin-top: -120px; margin-left: 0px;}
	60%  {margin-top: -150px;                  }
	100% {margin-top: 0px;                     }
}

.crow .item
{
    top: 70%;
    left: 43%;
    animation: crow-item-moving 1s steps(4, end) infinite;
}

@keyframes falling-crow-item-left {
	0%   {margin-top: -240px; margin-left: 5px;}
	30%  {margin-top: -120px; margin-left: 0px;}
	60%  {margin-top: -150px;                  }
	100% {margin-top: 0px;                     }
}


.item.coin.falling
{
	background-image: url('/games/gold-rush/images/crow/coin-animation.png?t=1571111287');
	animation: falling-crow-item-right linear 1s, coin-turning 4s steps(1, end) infinite;
}
.item.coin.falling.left
{
	background-image: url('/games/gold-rush/images/crow/coin-animation.png?t=1571111287');
	animation: 
	{
		falling-crow-item-left linear 1s,
		coin-turning 1s steps(1, end) infinite;
	}
}


@keyframes coin-turning {
	0% {
	}
	16.66% {
		background-position-y: 20px;
	}
	33.33% {
		background-position-y: 40px;
	}
	50% {
		background-position-y: 60px;
	}
	66.66% {
		background-position-y: 80px;
	}
	83.33% {
		background-position-y: 100px;
	}
}


.explosion
{
	background-image: url('/games/gold-rush/tools/bomb/explosion.png?t=1571111287');
	width: 100px;
	height: 90px;
	background-size: cover;
	margin-left: -24px;
	margin-top: -22px;
}

.how-to-play .items-container .items-container-inner .bomb .explosion
{
	width: 100px;
	top: -30px;
	left: -24px;
	position: relative;
}

.how-to-play .item
{
	display: block;
	position: unset;
}


.crow .crow-feet
{
	background-image: url('/games/gold-rush/images/crow.png?t=1571111287');
	width: 42px;
	height: 34px;
	background-position-y: 0;
	top: 0;
	animation: crow-flying 1s steps(4, end) infinite;
}


.crow.flying {
	animation: crow-flying 1s steps(4, end) infinite;
}
@keyframes crow-flying {
	to   {background-position-y: 146px; }
}

@keyframes crow-item-moving {
	to   {top: 68%; }
}

@keyframes crow-bomb-item-moving {
	to   {top: 54%; }
}
 