/* Minification failed. Returning unminified contents.
(2177,45): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
 */
          
.layout .mode1, .layout .mode2, .layout .mode0 {
   text-decoration:underline;
   cursor: pointer;
   display:none;
}
.layout .on {
   display:inline;
}

.b-combat {
    position: relative;
    background: #111111;
    overflow: hidden;
}

/* MOB STATS */

.combat-mob-info {
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 100;
    padding: 8px 0 22px 0;
}

.combat-mob-amount {
    position: absolute;
    right: 6%;
    top: 58px;
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #7e786a;
    width: 48px;
    height: 55px;
    background: url('../images/combat/army_amount.png') 0 0 no-repeat;
    z-index: 120;
    text-shadow: 2px 2px 4px #000000;
}

.combat-stats {
    font-size: 14px;
    color: #9a9485;
}

.combat-stat {
    display: inline-block;
    position: relative;
    margin: 0 7px;
}

.combat-stat img {
    margin-top: -3px;
}

._stat-down {
    color: #af0605;
}

._stat-up {
    color: #e8ba00;
}

.combat-stat-digit {
    opacity: 0;
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 24px;
    font-weight: bold;
    color: #e8ba00;
    text-shadow: 2px 2px 4px #000000;
    z-index: 300;
}

.combat-damage {
    position: absolute;
    left: 0%;
    top: 0%;
    font-size: 40px;
    font-weight: bold;
    color: #ee0;
    z-index: 200;
    text-shadow: 2px 2px 4px #000000;
}
.combat-damage._player {
    font-size: 24px;
}
/* MOB PANEL */

.combat-mob-wrapper {
    display: block;
    position: relative;
    top: 0px !important;
    left: 0px !important;
    width: 90%;
    margin: 0 auto;
    cursor: pointer;
    z-index: 20;
}

.combat-mob-wrapper._lock {
    cursor: auto;
}

.combat-mob-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 90%;
}

.combat-mob-wrapper-link {
    display: block;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: auto;
    height: auto;
    cursor: pointer;
    z-index: 999;
}

.combat-mob-frame {
    display: block;
    position: absolute;
    width: auto;
    height: auto;
    left: -6%;
    right: -6%;
    top: -10%;
    bottom: -10%;
    z-index: 50;
    background: url('../images/combat/mob_frame.png') 50% 50% no-repeat;
    background-size: 100% 100%;
}

.combat-mob {
    display: block;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    overflow: hidden;
    z-index: 45;
    background-size: auto auto, auto auto, auto 100% !important;
}


/* BATTLE PANEL */

.combat-attack {
    display: block;
    position: relative;
    margin: -50px auto 0 auto;
    width: 20%;
    z-index: 100;
}

.combat-attack-wrap {
    width: 100%;
    padding-bottom: 78%; ;
    background: url('../images/content/topor.png') 50% 50% no-repeat, url('../images/combat/button_attack.png') 50% 50% no-repeat;
    background-size: auto auto, 100% auto;
    text-align: center;
}

._lock .combat-attack-wrap {
    background: url('../images/content/topor.png') 50% 50% no-repeat, url('../images/combat/button_attack_lock.png') 50% 50% no-repeat;
}

._lock .combat-attack-link {
    cursor: auto;
}

._buttons-lock .combat-attack,
.combat-attack._cooldown {
    opacity: 0.5; 
/*    filter: grayscale(1);
    -webkit-filter: grayscale(1); */
}

.combat-spells {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    width: 90%;
    margin: 15px auto 0 auto;
    text-align: center;
    z-index: 100;
}

.combat-spell {
    order: 1;
    display: inline-block;
    position: relative;
    margin: 0;
    width: 18%;
    background: url('../images/combat/button_spell.png') 50% 50% no-repeat;
    background-size: 100% auto;
    vertical-align: top;
    z-index: 105;
}

.combat-spell-wrap {
    display: block;
    width: 100%;
    padding-bottom: 79%;
    position: relative;
    left: 0px;
    top: 0px;
}

.combat-spell img {
    position: absolute;
    display: inline-block;
    top: 15%;
    left: 50%;
    height: 60%;
    margin-left: -23%;
    width: auto;
}

._buttons-lock .combat-spell {
    opacity: 0.5;
}

.combat-spell._lock,
.combat-spell._cooldown {
    opacity: 0.5;
    background-image: url('../images/combat/button_spell_lock.png');    
}

.combat-spell-cost {
    position: absolute;
    right: -5px;
    bottom: -5px;
    display: inline-block;
    padding: 3px;
    padding-top: 4px;
    border-radius: 50%;
    border: 1px solid #008d80;
    width: 15px;
    height: 13px;
    text-align: center;
    font-size: 11px;
    background-color: #021;
    color: #35dec9;
    box-shadow: 0px 2px 1.5px 1.5px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0px 2px 1.5px 1.5px rgba(0, 0, 0, 0.75);
    z-index: 110;
}

._lock .combat-spell-cost {
    display: none;
}

._cooldown .combat-spell-cost {
    color: #777;
    border-color: #444;
}

.combat-attack-link,
.combat-spell-link {
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 999;
}

.combat-spell._glow {
    filter: drop-shadow(0px 0px 3px rgba(255,0,0,1)) drop-shadow(0px 0px 3px rgba(255,0,0,1)) drop-shadow(0px 0px 3px rgba(255,0,0,1));
    -webkit-filter: drop-shadow(0px 0px 3px rgba(255,0,0,1)) drop-shadow(0px 0px 3px rgba(255,0,0,1)) drop-shadow(0px 0px 3px rgba(255,0,0,1));
    animation: combatButtonCritical 1s ease-in-out infinite;
    -webkit-animation: combatButtonCritical 1s ease-in-out infinite;
}

.combat-energy-text {
    position: absolute;
    left: 31%;
    padding-left: 5px;
    top: -32px;
    color: #00ffaa !important;
}

.combat-energy {
    width: 80%;
    margin: 15px auto 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
}

.energy-progress {
    clear: both;
    position: relative;
    height: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #09463b;
    background: #041f1c;
    margin-bottom: 5px;
    z-index: 80;
}

.energy-progress-fill {
    display: inline-block;
    margin: 0;
    background: url('../images/content/progress-energy-fill.png') 0 0 repeat-x #305130;
    background-size: contain;
    height: 20px;
}


.energy-progress-text {
    width: 100%;
    margin-top: -20px;
    text-align: center;
    color: #35dec9;
    filter: drop-shadow(0px 0px 1px #000) drop-shadow(0px 0px 1px #000);
    -webkit-filter: drop-shadow(0px 0px 1px #000) drop-shadow(0px 0px 1px #000);
    z-index: 100;
}


/* HEALTH PANEL */

.combat-health {
    width: 250px;
    height: 30px;
    position:relative;
    background: #000;
    filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.5));
    -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.5));
}

.combat-health._mob {
    position: absolute;
    width: auto;
    top: 29px;
    left: 25%;
    right: 25%;
}

.combat-health._player {
    position: absolute;
    width: auto;
    top: -13px;
    left: 33%;
    right: 7%;
    z-index: 60;
}

.health-frame {
    display: block;
    position: absolute;
    right: -22px;
    top: 0px;
    z-index: 105;
}

.health-frame._left {
    left: -22px;
}

.health-border {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0px;
    z-index: 110;
    background: url('../images/content/main-menu-item-disabled-bot.png') 50% 50% repeat-x;
}

.health-border._top {
    bottom: auto;
    top: 0px;
}

.health-progress {
    clear: both;
    padding: 5px 8px;
    min-height: 20px;
    background: #000;
}

.health-progress-fill {
    background: url('../images/leagues/league_progress_delta-green.png') 0 0 repeat-x #d8700a;
    min-height: 20px;
    float: left;
    filter: brightness(1.25);
    -webkit-filter: brightness(1.25);
}

.health-progress-fill._delta {
    background: url('../images/leagues/league_progress_delta-red.png') 0 0 repeat-x #d8700a;
}



/* PLAYER PANEL */


.combat-player {
    position: relative;
    margin: 50px auto 0 auto;
    width: 96%;
    min-height: 60px;
    z-index: 150;
}

.combat-player-wrapper {
    position: absolute;
    width: 25%;
    left: 2%;
    bottom: 10%;
    z-index: 100;
}

@media screen and (max-width: 400px) {
    .combat-player-wrapper {
        bottom: 50%;
    }
}

.combat-player-frame {
    display: block;
    position: absolute;
    left: -5px;
    top: -5px;
    right: -5px;
    bottom: -5px;
    width: auto;
    height: auto;
    z-index: 120;
    background: url('../images/combat/avatar_frame_combat.png') 50% 50% no-repeat;
    background-size: 100% 100%;
    filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.5));
    -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.5));
}

.combat-player-avatar {
    position: relative;
    width: 100%;
    padding-bottom:  81%;
    overflow: hidden;
    z-index: 105;
}

.combat-player-avatar img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: auto;
}

.combat-stats._player {
    padding: 30px 3% 10px 32%;
    width: 100%;
    box-sizing: border-box;
    z-index: 110;
}

.combat-log {
    text-align: center;
    color: #3d3d3d;
    padding: 8px;
    font-size: 12px;
    background: #0a0a0a;
}

.eff-layer-top {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}


.combat-debuffs {
    position: absolute;
    text-align: left;
    top: 65px;
    left: 8%;
    width: 80px;
    height: 35px;
    filter: drop-shadow(0px 0px 8px rgba(0,0,0,1));
    -webkit-filter: drop-shadow(0px 0px 8px rgba(0,0,0,1));
    z-index: 70;
}

.combat-buffs {
    position: absolute;
    top: initial;
    top: -10px;
    left: -10px;
    width: 35px;
    height: 85px;
    filter: drop-shadow(0px 0px 8px rgba(0,0,0,1));
    -webkit-filter: drop-shadow(0px 0px 8px rgba(0,0,0,1));
    z-index: 150;
}

.combat-buff,
.combat-debuff {
    display: none;
}

.eff-layer-spell {
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 35px;
    height: 35px;
    margin-left: -17.5px;
    z-index: 300;
}

.combat-buff,
.combat-debuff {
    width: 35px;
    height: 35px;
    position: relative;
}

.combat-buff-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('../images/combat/cast-fail.png') 50% 50% no-repeat;
    background-size: 100% auto;
    opacity: 0;
}

.combat-buff._glow img,
.combat-debuff._glow img { display: none; }

.eff-layer-spell {
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 35px;
    height: 35px;
    margin-left: -17.5px;
    z-index: 300;
}

/* FINISH COMBAT */


.combat-slicer {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.combat-slice-l, .combat-slice-r {
    position: relative;
    z-index: 50;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: none;
    padding: 5%;
    margin: -5% 0 -13% 0;
}

.combat-slice-r {
    position: absolute;
    top: 0px;
    left: 52%;
}

.combat-slice-r>div,.combat-slice-l>div {
    position: relative;
    width: 100%;
    padding-bottom: 90%;
}

.combat-slice-l {
    transform: skewX(-35deg);
    -webkit-transform: skewX(-35deg);
    left: -52%;
}

.combat-slice-l>* {
    transform: skewX(35deg);
    -webkit-transform: skewX(35deg);
    left: 52%;
}

.combat-slice-r {
    transform: skewX(-35deg);
    -webkit-transform: skewX(-35deg);
}

.combat-slice-r>* {
    transform: skewX(35deg);
    -webkit-transform: skewX(35deg);
    left: -52%;
}

/* RESULTS */

.combat-result {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    min-height: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0,0,0,0.9);
    padding-top: 150px;
    box-sizing: border-box;
}

.combat-result-content {
    position: relative;
}

._fail .combat-result-victory,
._resurrect .combat-result-victory,
._victory .combat-result-fail,
._fail .combat-result-resurrect {
    display: none;
}

._ressurect .combat-result-resurrect {
    display: block;
}

.combat-result-content:before {
    content: '';
    position: absolute;
    z-index: 1000;
    left:0px;
    width: 100%;
    top: -140px;
    height: 130px;
    background: url('../images/content/siege_fail.png') 50% 0 no-repeat;
}

._victory .combat-result-content:before {
    background: url('../images/content/siege_victory.png') 50% 0 no-repeat;
}

.combat-result-button {
    width: 200px;
    margin: 10px auto 0 auto;
}

.combat-result-notice {
    width: 300px;
    font: 13px;
    margin: 10px auto 0 auto;
    background: #000;
    border-radius: 10px;
    padding: 10px;
}

.combat-result .button-mini {
    max-width: 178px;
    margin: 7px auto;
}




/* ------------------------------
------------SCENES---------------
------------------------------ */


/* -------------- */
/* INTRO */
/* -------------- */
/*._start .combat-mob-wrapper {
    animation: startCombat 0.5s 1 ease-in forwards;
    -webkit-animation: startCombat 0.5s 1 ease-in forwards;
}*/

/* -------------- */
/* VICTORY COMBAT */
/* -------------- */
._victory-mob .combat-mob-wrapper {
    display: none;
}

._victory-mob .combat-slice-l {
    display: block;
    animation: finishLeft 1.5s 1 ease-in forwards;
    -webkit-animation: finishLeft 1.5s 1 ease-in forwards;
}

._victory-mob .combat-slice-r {
    display: block;
    animation: finishRight 1.5s 1 linear forwards;
    -webkit-animation: finishRight 1.5s 1 linear forwards;
}

._victory .combat-result-content::before {
    animation: showResultsContent 0.7s 1 ease-out forwards;
    -webkit-animation: showResultsContent 0.7s 1 ease-out forwards;
}

._victory-mob .eff-layer-slice {
    background: url('../images/combat/slash.png') 0% 50% no-repeat;
    background-size: auto 100%;
    position: absolute;
    top: -5%;
    left: 5%;
    width: 100%;
    padding-bottom: 120%;
    z-index: 60;
    opacity: 0.5;
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
}



/* ----------- */
/* FAIL COMBAT */
/* ----------- */
._fail .combat-result-content::before,
._resurrect .combat-result-content::before {
    animation: showResultsContent 0.7s 1 ease-out forwards;
    -webkit-animation: showResultsContent 0.7s 1 ease-out forwards;
}

._resurrect .combat-result {
    background: rgba(0,0,0,0.75);
}

/* ------------ */
/* BUTTON PRESS */
/* ------------ */
._combat-press {
    animation: combatButtonPress 0.05s 1 linear forwards;
    -webkit-animation: combatButtonPress 0.05s 1 linear forwards;
}

/* ------------- */
/* CRITICAL IDLE */
/* ------------- */
._critical .combat-attack-wrap {
    filter: drop-shadow(0px 0px 3px rgba(255,0,0,1)) drop-shadow(0px 0px 3px rgba(255,0,0,1)) drop-shadow(0px 0px 3px rgba(255,0,0,1));
    -webkit-filter:  drop-shadow(0px 0px 3px rgba(255,0,0,1)) drop-shadow(0px 0px 3px rgba(255,0,0,1)) drop-shadow(0px 0px 3px rgba(255,0,0,1));
    animation: combatButtonCritical 1s ease-in-out infinite;
    -webkit-animation: combatButtonCritical 1s ease-in-out infinite;
}

/* ------ */
/* ATTACK */
/* ------ */
._combat-attack .eff-layer-a {
    background: url('../images/combat/slash.png') 50% 50% no-repeat;
    background-size: auto 100%;
    position: absolute;
    left: 0px;
    top: -15%;
    width: 100%;
    padding-bottom: 120%;
    z-index: 300;
    opacity: 0;
    animation: slashSword 0.5s 1 linear forwards;
    -webkit-animation: slashSword 0.5s 1 linear forwards;
}

._combat-attack .eff-layer-b {
    opacity: 0;
    background: rgba(244,0,0,0.5);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 48;
    animation: combatDamage 0.25s 0.05s 1 linear forwards;
    -webkit-animation: combatDamage 0.25s 0.05s 1 linear forwards;
}

._combat-attack .combat-mob-frame {
    animation: combatShake 0.2s 0.1s linear both;
    -webkit-animation: combatShake 0.2s 0.1s linear both;
}

._combat-attack .combat-mob {
    animation: combatHit 0.2s 0.05s 1 linear forwards;
    -webkit-animation: combatHit 0.2s 0.05s 1 linear forwards;
}

._combat-attack .combat-mob-amount._change {
    animation: combatDepopulate 0.7s 1 linear forwards;
    -webkit-animation: combatDepopulate 0.7s 1 linear forwards;
}


/* ---------- */
/* MOB ATTACK */
/* ---------- */
._mob-attack .combat-mob-wrapper {
    animation: combatAttackMob 0.6s 1 linear forwards;
    -webkit-animation: combatAttackMob 0.6s 1 linear forwards;
}

._mob-attack .eff-layer-top {
    opacity: 0;
    background: url('../images/combat/slash_strip.png') -378px bottom no-repeat;
    background-color: rgba(255,0,0,0.5);
    z-index: 500;
    animation: combatDamage 0.5s 0.42s 1 linear forwards;
    -webkit-animation: combatDamage 0.5s 0.42s 1 linear forwards;
}



/* -------- */
/* CRITICAL */
/* -------- */
._combat-critical .eff-layer-a {
    background: url('../images/combat/slash.png') 50% 50% no-repeat;
    background-size: auto 100%;
    position: absolute;
    left: 0px;
    top: -15%;
    width: 100%;
    padding-bottom: 120%;
    z-index: 300;
    opacity: 0;
    animation: slashSwordCrit 0.75s 1 linear forwards;
    -webkit-animation: slashSwordCrit 0.75s 1 linear forwards;
}

._combat-critical .eff-layer-b {
    opacity: 0;
    background: rgba(244,0,0,0.5);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 48;
    animation: combatDamageCrit 0.75s 0.1s 1 linear forwards;
    -webkit-animation: combatDamageCrit 0.75s 0.1s 1 linear forwards;
}

._combat-critical .combat-mob-frame {
    animation: combatShakeCrit 0.7s 0.15s ease-in forwards;
    -webkit-animation: combatShakeCrit 0.7s 0.15s ease-in forwards;
}

._combat-critical .combat-mob {
    animation: combatHitCrit 0.7s 0.15s 1 ease-in forwards;
    -webkit-animation: combatHitCrit 0.7s 0.15s 1 ease-in forwards;
}

._combat-critical .combat-mob-amount._change {
    animation: combatDepopulate 0.7s 1 linear forwards;
    -webkit-animation: combatDepopulate 0.7s 1 linear forwards;
}


/* -------- */
/* LIGHTNING */
/* -------- */
._combat-lightning .eff-layer-a {
    background: url('../images/combat/lightning_flash.png@v=2') 50% 50% no-repeat;
    background-size: auto 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    padding-bottom: 110%;
    z-index: 300;
    opacity: 0;
    animation: lightningFlash 0.3s 1 linear forwards;
    -webkit-animation: lightningFlash 0.3s 1 linear forwards;
}

._combat-lightning .eff-layer-c {
    opacity: 0;
    background: rgba(255,255,255,1);
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    z-index: 90;
    animation: combatDamage 0.5s 0.2s 1 linear forwards;
    -webkit-animation: combatDamage 0.5s 0.2s 1 linear forwards;
}

._combat-lightning .combat-mob-frame {
    animation: shockHit 0.5s 0.2s 1 linear forwards;
    -webkit-animation: shockHit 0.5s 0.2s 1 linear forwards;
}

._combat-lightning .combat-mob {
    animation: shockHit 0.5s 0.2s 1 linear forwards;
    -webkit-animation: shockHit 0.5s 0.2s 1 linear forwards;
}

/* -------- */
/* FIREBALL */
/* -------- */
._combat-fireball .eff-layer-a {
    background: url('../images/combat/flame_ball.png') 50% 50% no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin: -100px;
    z-index: 300;
    opacity: 0;
    animation: fireBall 0.3s 1 linear forwards;
    -webkit-animation: fireBall 0.3s 1 linear forwards;
}

._combat-fireball .eff-layer-c {
    opacity: 0;
    background: url('../images/combat/flame_wave.png') 50% 50% no-repeat rgba(255,255,255,1);
    background-size: 100% auto;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    z-index: 90;
    animation: combatFire 0.5s 0.2s 1 linear forwards;
    -webkit-animation: combatFire 0.5s 0.2s 1 linear forwards;
}

._combat-fireball .combat-mob-frame {
    animation: fireHit 0.5s 0.2s 1 linear forwards;
    -webkit-animation: fireHit 0.5s 0.2s 1 linear forwards;
}

._combat-fireball .combat-mob {
    animation: fireHit 0.5s 0.2s 1 linear forwards;
    -webkit-animation: fireHit 0.5s 0.2s 1 linear forwards;
}


/* -------- */
/* ICE SHARDS */
/* -------- */
._combat-icebolt .eff-layer-a {
    background: url('../images/combat/frost_shards.png') 50% 50% no-repeat,url('../images/combat/frost_shards.png') 50% 50%/70% 70% no-repeat;

    position: absolute;
    top: -20%;
    left: -25%;
    width: 150%;
    height: 150%;
    z-index: 300;
    opacity: 0;
    animation: iceShards 0.3s 1 linear forwards;
    -webkit-animation: iceShards 0.3s 1 linear forwards;
}

._combat-icebolt .eff-layer-c {
    opacity: 0;
    background: url('../images/combat/frost_screen.jpg') 50% 50% no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 90;
    animation: combatIce 0.5s 0.2s 1 linear forwards;
    -webkit-animation: combatIce 0.5s 0.2s 1 linear forwards;
}

._combat-icebolt .combat-mob-frame {
    animation: fireHit 0.5s 0.2s 1 linear forwards;
    -webkit-animation: fireHit 0.5s 0.2s 1 linear forwards;
}

._combat-icebolt .combat-mob {
    animation: fireHit 0.5s 0.2s 1 linear forwards;
    -webkit-animation: fireHit 0.5s 0.2s 1 linear forwards;
}

/* ------ */
/*  HEAL  */
/* ------ */
._combat-heal .eff-layer-spell,
._combat-bloodlust .eff-layer-spell,
._combat-shield .eff-layer-spell {
    opacity: 0;
    background: url('../images/spells/spell_heal_1_35x35.png');
    filter: drop-shadow(0px 0px 15px rgba(0,255,0,1)) drop-shadow(0px 0px 15px rgba(0,255,0,1));
    -webkit-filter: drop-shadow(0px 0px 15px rgba(0,255,0,1)) drop-shadow(0px 0px 15px rgba(0,255,0,1));
    animation: combatBuffIcon 0.75s 1 linear forwards;
    -webkit-animation: combatBuffIcon 0.75s 1 linear forwards;
}

._combat-heal .eff-layer-player,
._combat-bloodlust .eff-layer-player,
._combat-shield .eff-layer-player {
    opacity: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: url('../images/combat/heal_effect.png') 50% bottom no-repeat;
    background-size: auto 100%;
    z-index: 400;
    animation: combatBuff 0.75s 0.75s 1 linear forwards;
    -webkit-animation: combatBuff 0.75s 0.75s 1 linear forwards;
}

._combat-heal ._player ._stat-hp .combat-stat-digit,
._combat-bloodlust ._player ._stat-atk .combat-stat-digit,
._combat-shield ._player ._stat-def .combat-stat-digit {
    animation: combatStatDigit 0.75s 0.75s 1 linear forwards;
    -webkit-animation: combatStatDigit 0.75s 0.75s 1 linear forwards;
}

._combat-heal ._player ._stat-hp .combat-stat-digit {
    color: #0a0;
}

._combat-heal .combat-player-avatar,
._combat-bloodlust .combat-player-avatar,
._combat-shield .combat-player-avatar {
    animation: combatHealPlayer 0.75s 0.75s 1 linear forwards;
    -webkit-animation: combatHealPlayer 0.75s 0.75s 1 linear forwards;
}

/* ----------- */
/*  BLOODLUST  */
/* ----------- */
._combat-bloodlust .eff-layer-player,
._combat-spell_lock .eff-layer-player,
._combat-shield .eff-layer-player {
    background-image: url('../images/combat/buff_effect.png');
}

._combat-bloodlust .eff-layer-spell {
    background: url('../images/spells/spell_bloodlust_1_35x35.png');
    filter: drop-shadow(0px 0px 15px rgba(255,155,0,1)) drop-shadow(0px 0px 15px rgba(255,155,0,1));
    -webkit-filter: drop-shadow(0px 0px 15px rgba(255,155,0,1)) drop-shadow(0px 0px 15px rgba(255,155,0,1));
}

/* -------- */
/*  SHIELD  */
/* -------- */
._combat-shield .eff-layer-player {
    filter: saturate(0);
    -webkit-filter: saturate(0);
}

._combat-shield .eff-layer-spell {
    background-image: url('../images/spells/spell_shield_1_35x35.png');
    filter: drop-shadow(0px 0px 10px rgba(200,200,250,1)) drop-shadow(0px 0px 10px rgba(200,200,250,1));
    -webkit-filter: drop-shadow(0px 0px 10px rgba(200,200,250,1)) drop-shadow(0px 0px 10px rgba(200,200,250,1));
}

/* -------- */
/*  SPELL LOCK  */
/* -------- */
._combat-spell_lock .eff-layer-player {
    filter: saturate(0);
    -webkit-filter: saturate(0);
}

._combat-spell_lock .eff-layer-spell {
    background-image: url('../images/spells/spell_spell_lock_1_35x35.png');
    filter: drop-shadow(0px 0px 10px rgba(200,200,250,1)) drop-shadow(0px 0px 10px rgba(200,200,250,1));
    -webkit-filter: drop-shadow(0px 0px 10px rgba(200,200,250,1)) drop-shadow(0px 0px 10px rgba(200,200,250,1));
}



/* ------ */
/* REDUCE */
/* ------ */
._combat-reduce_armor .eff-layer-c,
._combat-paralyze .eff-layer-c,
._combat-weakness .eff-layer-c {
    opacity: 0;
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    overflow: hidden;
    background: url('../images/combat/debuf_effect.png') 50% 50% repeat-x;
    background-size: 100% auto;
    z-index: 300;
    animation: combatDebuff 1.7s 1 linear forwards;
    -webkit-animation: combatDebuff 1.7s 1 linear forwards;
}

._combat-reduce_armor ._mob ._stat-def .combat-stat-digit,
._combat-weakness ._mob ._stat-atk .combat-stat-digit {
    animation: combatStatDigit 0.75s 0.75s 1 linear forwards;
    -webkit-animation: combatStatDigit 0.75s 0.75s 1 linear forwards;
}

._combat-paralyze .eff-layer-spell,
._combat-reduce_armor .eff-layer-spell,
._combat-weakness .eff-layer-spell {
    background: url('../images/spells/spell_reduce_armor_1_35x35.png');
    filter: drop-shadow(0px 0px 25px rgba(100,0,255,1)) drop-shadow(0px 0px 25px rgba(100,0,255,1)) drop-shadow(0px 0px 25px rgba(100,0,255,1));
    -webkit-filter: drop-shadow(0px 0px 25px rgba(100,0,255,1)) drop-shadow(0px 0px 25px rgba(100,0,255,1)) drop-shadow(0px 0px 25px rgba(100,0,255,1));
    animation: combatDebuffIcon 0.75s 1 linear forwards;
    -webkit-animation: combatDebuffIcon 0.75s 1 linear forwards;
}

/* ------ */
/* WEAKNESS */
/* ------ */
._combat-weakness .eff-layer-c {
    filter: hue-rotate(90deg);
    -webkit-filter: hue-rotate(90deg);
}

._combat-weakness .eff-layer-spell {
    background: url('../images/spells/spell_weakness_1_35x35.png');
    filter: drop-shadow(0px 0px 25px rgba(255,255,0,1)) drop-shadow(0px 0px 25px rgba(255,255,0,1)) drop-shadow(0px 0px 25px rgba(255,255,0,1));
    -webkit-filter: drop-shadow(0px 0px 25px rgba(255,255,0,1)) drop-shadow(0px 0px 25px rgba(255,255,0,1)) drop-shadow(0px 0px 25px rgba(255,255,0,1));
}

/* ------ */
/* PARALYZE */
/* ------ */
._combat-paralyze .eff-layer-c {
    filter: hue-rotate(-50deg);
    -webkit-filter: hue-rotate(-50deg);
}

._combat-paralyze .eff-layer-spell {
    background: url('../images/spells/spell_paralyze_1_35x35.png');
    filter: drop-shadow(0px 0px 25px rgba(255,255,0,1)) drop-shadow(0px 0px 25px rgba(255,255,0,1)) drop-shadow(0px 0px 25px rgba(255,255,0,1));
    -webkit-filter: drop-shadow(0px 0px 25px rgba(255,255,0,1)) drop-shadow(0px 0px 25px rgba(255,255,0,1)) drop-shadow(0px 0px 25px rgba(255,255,0,1));
}

/* ------ */
/* ASTRAL BLOCK */
/* ------ */

.combat-spell-cast {
    background: url('../images/combat/astral-block.png') 50% 50% no-repeat;
    background-size: contain;
    width: 30%;
    height: 30%;
    position: absolute;
    left: 35%;
    top: 50px;
    z-index: 155;
}

.combat-spell-lock {
    width: 130%;
    height: 160%;
    position: absolute;
    left: -15%;
    top: -30%;
    background: url('../images/combat/astral-block.png') 50% 50% no-repeat;
    background-size: auto 100%;
}

.combat-spell-lock  span {
    color: #5500aa;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    display: block;
    width: 100%;
    top: 70%;
    left: 0px;
    margin-top: -13px;
}


/* ------------------------------
----------ANIMATIONS-------------
------------------------------ */

@keyframes startCombat {
    from, 60%, 75%, 90%, to {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        transform: translate3d(0, -3000px, 0);
    }
    60% {
        opacity: 1;
        transform: translate3d(0, 25px, 0);
    }
    75% {
        transform: translate3d(0, -10px, 0);
    }
    90% {
        transform: translate3d(0, 5px, 0);
    }
    to {
        transform: none;
    }
}
@-webkit-keyframes startCombat {
    from, 60%, 75%, 90%, to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -3000px, 0);
    }
    60% {
        opacity: 1;
        -webkit-transform: translate3d(0, 25px, 0);
    }
    75% {
        -webkit-transform: translate3d(0, -10px, 0);
    }
    90% {
        -webkit-transform: translate3d(0, 5px, 0);
    }
    to {
        -webkit-transform: none;
    }
}


@keyframes combatButtonCritical {
    from {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}
@-webkit-keyframes combatButtonCritical {
    from {
        -webkit-transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.1);
    }
    to {
        -webkit-transform: scale(1);
    }
}

@keyframes combatDebuffIcon {
    from {
        opacity: 0;
        transform: scale(3);
        bottom: 60%;
        left: 50%;
    }
    30%, 80% {
        opacity: 1;
        transform: scale(1);
        bottom: 60%;
        left: 50%;
    }
    95% {
        opacity: 1;
        transform: scale(1);
        bottom: 85%;
        left: 10%;
    }
    to {
        opacity: 0;
        transform: scale(1);
        bottom: 85%;
        left: 10%;
    }
}
@-webkit-keyframes combatDebuffIcon {
    from {
        opacity: 0;
        -webkit-transform: scale(3);
        bottom: 60%;
        left: 50%;
    }
    30%, 80% {
        opacity: 1;
        -webkit-transform: scale(1);
        bottom: 60%;
        left: 50%;
    }
    95% {
        opacity: 1;
        -webkit-transform: scale(1);
        bottom: 85%;
        left: 10%;
    }
    to {
        opacity: 0;
        -webkit-transform: scale(1);
        bottom: 85%;
        left: 10%;
    }
}

@keyframes combatBuffIcon {
    from {
        opacity: 0;
        transform: scale(3);
        bottom: 50%;
        left: 50%;
    }
    30%, 80% {
        opacity: 1;
        transform: scale(1);
        bottom: 50%;
        left: 50%;
    }
    95% {
        opacity: 1;
        transform: scale(1);
        bottom: 10%;
        left: 20%;
    }
    to {
        opacity: 0;
        transform: scale(1);
        bottom: 10%;
        left: 20%;
    }
}
@-webkit-keyframes combatBuffIcon {
    from {
        opacity: 0;
        -webkit-transform: scale(3);
        bottom: 50%;
        left: 50%;
    }
    30%, 80% {
        opacity: 1;
        -webkit-transform: scale(1);
        bottom: 50%;
        left: 50%;
    }
    95% {
        opacity: 1;
        -webkit-transform: scale(1);
        bottom: 10%;
        left: 20%;
    }
    to {
        opacity: 0;
        -webkit-transform: scale(1);
        bottom: 10%;
        left: 20%;
    }
}

@keyframes combatDebuff {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    20% {
        opacity: 0.5;
        transform: scale(1);
    }
    60% {
        opacity: 0.5;
        transform: scale(1.5);
    }
    to {
        opacity: 0;
        transform: scale(1.75);
    }
}
@-webkit-keyframes combatDebuff {
    from {
        opacity: 0;
        -webkit-transform: scale(0.8);
    }
    20% {
        opacity: 0.5;
        -webkit-transform: scale(1);
    }
    60% {
        opacity: 0.5;
        -webkit-transform: scale(1.5);
    }
    to {
        opacity: 0;
        -webkit-transform: scale(1.75);
    }
}

@keyframes combatBuff {
    from {
        opacity: 0;
        transform: translateY(0%);
    }
    40% {
        opacity: 1;
        transform: translateY(-10%);
    }
    70% {
        opacity: 1;
        transform: translateY(-20%);
    }
    to {
        opacity: 0;
        transform: translateY(-25%);
    }
}
@-webkit-keyframes combatBuff {
    from {
        opacity: 0;
        -webkit-transform: translateY(0%);
    }
    40% {
        opacity: 1;
        -webkit-transform: translateY(-10%);
    }
    70% {
        opacity: 1;
        -webkit-transform: translateY(-20%);
    }
    to {
        opacity: 0;
        -webkit-transform: translateY(-25%);
    }
}

@keyframes shockHit {
  10%, 90% {
    transform: translate(-5px, 4px);
  }
  
  20%, 80% {
    transform: translate(8px, -6px);
  }

  30%, 50%, 70% {
    transform: translate(-15px, 12px);
  }

  40%, 60% {
    transform: translate(15px, -14px);
  }
}
@-webkit-keyframes shockHit {
  10%, 90% {
    -webkit-transform: translate(-5px, 4px);
  }
  
  20%, 80% {
    -webkit-transform: translate(8px, -6px);
  }

  30%, 50%, 70% {
    -webkit-transform: translate(-15px, 12px);
  }

  40%, 60% {
    -webkit-transform: translate(15px, -14px);
  }
}

@keyframes fireHit {
  10%, 90% {
    transform: translate(-2px, 1px);
  }
  
  20%, 80% {
    transform: translate(3px, -2px);
  }

  30%, 50%, 70% {
    transform: translate(-3px, 3px);
  }

  40%, 60% {
    transform: translate(2px, -1px);
  }
}
@-webkit-keyframes fireHit {
  10%, 90% {
    -webkit-transform: translate(-2px, 1px);
  }
  
  20%, 80% {
    -webkit-transform: translate(3px, -2px);
  }

  30%, 50%, 70% {
    -webkit-transform: translate(-3px, 3px);
  }

  40%, 60% {
    -webkit-transform: translate(2px, -1px);
  }
}

@keyframes lightningFlash {
    from {
        opacity: 1;
        transform: translateY(-300px);
    }
    40% {
        opacity: 1;
        transform: translateY(0px);
    }
    50%, 70%, 90% {
        transform: scaleX(-1) translateY(0px);;
    }
    60%, 80% {
        transform: scaleX(0.5) translateY(0px);;
    }
    55%, 65% {
        transform: scaleX(1.5) translateY(0px);;
    }
    75%, 85% {
        transform: scaleX(-0.7) translateY(0px);;
    }
    92% {
        transform: scaleX(2) translateY(0px);;
    }
}

@-webkit-keyframes lightningFlash {
    from {
        opacity: 1;
        -webkit-transform: translateY(-300px);
    }
    40% {
        opacity: 1;
        -webkit-transform: translateY(0px);
    }
    50%, 70%, 90% {
        -webkit-transform: scaleX(-1) translateY(0px);;
    }
    60%, 80% {
        -webkit-transform: scaleX(0.5) translateY(0px);;
    }
    55%, 65% {
        -webkit-transform: scaleX(1.5) translateY(0px);;
    }
    75%, 85% {
        -webkit-transform: scaleX(-0.7) translateY(0px);;
    }
    92% {
        -webkit-transform: scaleX(2) translateY(0px);;
    }
}

@keyframes fireBall {
    from {
        opacity: 1;
        transform: translate(-100px,300px);
    }
    90% {
        opacity: 1;
        transform: translate(0px,0px);
    }
    to {
        opacity: 0;
        transform: translate(0px,0px);
    }
}
@-webkit-keyframes fireBall {
    from {
        opacity: 1;
        -webkit-transform: translate(-100px,300px);
    }
    90% {
        opacity: 1;
        -webkit-transform: translate(0px,0px);
    }
    to {
        opacity: 0;
        -webkit-transform: translate(0px,0px);
    }
}

@keyframes iceShards {
    from {
        opacity: 0;
        transform: scale(3);
        background-size: 100% 100%, 80% 80%;
    }
    5% {
        opacity: 1;
        transform: scale(2);
    }
    80% {
        opacity: 1;
        transform: scale(1.5);
    }
    to {
        opacity: 0;
        transform: scale(1);
        background-size: 20% 20%, 70% 70%;
    }
}
@-webkit-keyframes iceShards {
    from {
        opacity: 0;
        -webkit-transform: scale(3);
        background-size: 100% 100%, 80% 80%;
    }
    5% {
        opacity: 1;
        -webkit-transform: scale(2);
    }
    80% {
        opacity: 1;
        -webkit-transform: scale(1.5);
    }
    to {
        opacity: 0;
        -webkit-transform: scale(1);
        background-size: 20% 20%, 70% 70%;
    }
}

@keyframes combatDamage {
    from {
        opacity: 0;
    }
    10%, 30% {
        opacity: 1;
    }
    99% {
        opacity: 0;
        transform: translateX(0px);
    }
    to {
        opacity: 0;
        transform: translateX(-480px);
    }
}
@-webkit-keyframes combatDamage {
    from {
        opacity: 0;
    }
    10%, 30% {
        opacity: 1;
    }
    99% {
        opacity: 0;
        -webkit-transform: translateX(0px);
    }
    to {
        opacity: 0;
        -webkit-transform: translateX(-480px);
    }
}

@keyframes combatFire {
    from {
        opacity: 0;
        background-size: 20% 20%;
        transform: translateX(0px) scale(1);
        background-color: rgba(255,0,0,0);
    }
    10%, 30% {
        opacity: 1;
        transform: translateX(0px) scale(1.2);
    }
    99% {
        opacity: 0;
        transform: translateX(0px) scale(1.2);
        background-size: 160% 160%;
        background-color: rgba(255,0,0,1);
    }
    to {
        opacity: 0;
        transform: translateX(-480px);
        background-size: 200% 200%;
        background-color: rgba(255,0,0,1);
    }
}
@-webkit-keyframes combatFire {
    from {
        opacity: 0;
        background-size: 20% 20%;
        -webkit-transform: translateX(0px) scale(1);
        background-color: rgba(255,0,0,0);
    }
    10%, 30% {
        opacity: 1;
        -webkit-transform: translateX(0px) scale(1.2);
    }
    99% {
        opacity: 0;
        -webkit-transform: translateX(0px) scale(1.2);
        background-size: 160% 160%;
        background-color: rgba(255,0,0,1);
    }
    to {
        opacity: 0;
        -webkit-transform: translateX(-480px);
        background-size: 200% 200%;
        background-color: rgba(255,0,0,1);
    }
}

@keyframes combatIce {
    from {
        opacity: 0;
    }
    10%, 30% {
        opacity: 1;
    }
    99% {
        opacity: 0;
    }
    to {
        opacity: 0;
    }
}
@-webkit-keyframes combatIce {
    from {
        opacity: 0;
    }
    10%, 30% {
        opacity: 1;
    }
    99% {
        opacity: 0;
    }
    to {
        opacity: 0;
    }
}

@keyframes combatDamageCrit {
    from {
        opacity: 0;
    }
    10%, 30% {
        opacity: 1;
        transform: scale(0.85) rotate(-5deg);
    }
    50% {
        opacity: 0;
        transform: translateX(0px);
    }
    60%, 80% {
        opacity: 1;
        transform: scale(0.85)  rotate(5deg);
    }
    99% {
        opacity: 0;
        transform: translateX(0px);
    }
    to {
        opacity: 0;
        transform: translateX(-480px);
    }
}
@-webkit-keyframes combatDamageCrit {
    from {
        opacity: 0;
    }
    10%, 30% {
        opacity: 1;
        -webkit-transform: scale(0.85) rotate(-5deg);
    }
    50% {
        opacity: 0;
        -webkit-transform: translateX(0px);
    }
    60%, 80% {
        opacity: 1;
        -webkit-transform: scale(0.85)  rotate(5deg);
    }
    99% {
        opacity: 0;
        -webkit-transform: translateX(0px);
    }
    to {
        opacity: 0;
        -webkit-transform: translateX(-480px);
    }
}

@keyframes slashSword {
    from {
        transform: scale(0.1);
        opacity: 0;
    }
    20% {
        transform: scale(0.9);
        opacity: 0.75;
    }
    99% {
        transform: scale(1);
        opacity: 0;
    }
    to {
        transform: translateX(-480px);
        opacity: 0;
    }
}
@-webkit-keyframes slashSword {
    from {
        -webkit-transform: scale(0.1);
        opacity: 0;
    }
    20% {
        -webkit-transform: scale(0.9);
        opacity: 0.75;
    }
    99% {
        -webkit-transform: scale(1);
        opacity: 0;
    }
    to {
        -webkit-transform: translateX(-480px);
        opacity: 0;
    }
}

@keyframes slashSwordCrit {
    from {
        transform: scale(0.1);
        opacity: 0;
    }
    20% {
        transform: scale(0.9);
        opacity: 0.75;
    }
    40% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(0.1) rotate(-60deg);
        opacity: 0;
    }
    70% {
        transform: scale(0.9) rotate(-60deg);
        opacity: 0.75;
    }
    80% {
        transform: scale(1) rotate(-60deg);
        opacity: 0;
    }
    99% {
        transform: scale(1) rotate(-60deg);
        opacity: 0;
    }
    to {
        transform: translateX(-480px);
        opacity: 0;
    }
}
@-webkit-keyframes slashSwordCrit {
    from {
        -webkit-transform: scale(0.1);
        opacity: 0;
    }
    20% {
        -webkit-transform: scale(0.9);
        opacity: 0.75;
    }
    40% {
        -webkit-transform: scale(1);
        opacity: 0;
    }
    50% {
        -webkit-transform: scale(0.1) rotate(-60deg);
        opacity: 0;
    }
    70% {
        -webkit-transform: scale(0.9) rotate(-60deg);
        opacity: 0.75;
    }
    80% {
        -webkit-transform: scale(1) rotate(-60deg);
        opacity: 0;
    }
    99% {
        -webkit-transform: scale(1) rotate(-60deg);
        opacity: 0;
    }
    to {
        -webkit-transform: translateX(-480px);
        opacity: 0;
    }
}

@keyframes combatButtonPress {
    10% {
        opacity: 0.5;
        transform: translateY(10px) scale(0.95);
    }
    5% {
        opacity: 1;
    }
}
@-webkit-keyframes combatButtonPress {
    10% {
        opacity: 0.5;
        -webkit-transform: translateY(10px) scale(0.95);
    }
    5% {
        opacity: 1;
    }
}

@keyframes combatStatDigit {
    from {
        transform: translateY(15px);
        opacity: 1;
    }
    30%,90% {
        opacity: 1;
        transform: translateY(-1px);
    }
    to {
        opacity: 0;
        transform: translateY(-1px);
    }
}
@-webkit-keyframes combatStatDigit {
    from {
        -webkit-transform: translateY(15px);
        opacity: 1;
    }
    30%,90% {
        opacity: 1;
        -webkit-transform: translateY(-1px);
    }
    to {
        opacity: 0;
        -webkit-transform: translateY(-1px);
    }
}

@keyframes combatShake {
  10%, 90% {
    transform: translate(-2px, 4px);
  }
  30%, 70% {
    transform: translate(4px, -2px);
  }
  40%, 60% {
    transform: translate(4px, -4px);
  }
}
@-webkit-keyframes combatShake {
  10%, 90% {
    -webkit-transform: translate(-2px, 4px);
  }
  30%, 70% {
    -webkit-transform: translate(4px, -2px);
  }
  40%, 60% {
    -webkit-transform: translate(4px, -4px);
  }
}

@keyframes combatShakeCrit {
    from {
        transform: scale(1) translate(-2px, 4px);
    }
    10%, 25% {
        transform: scale(0.85) rotate(-5deg);
    }
    50% {
        transform: scale(1) translate(4px, -2px);
    }
    60%, 75% {
        transform: scale(0.85) translate(4px, -4px) rotate(5deg);
    }
    to {
        transform: scale(1);
    }
}
@-webkit-keyframes combatShakeCrit {
    from {
        -webkit-transform: scale(1) translate(-2px, 4px);
    }
    10%, 25% {
        -webkit-transform: scale(0.85) rotate(-5deg);
    }
    50% {
        -webkit-transform: scale(1) translate(4px, -2px);
    }
    60%, 75% {
        -webkit-transform: scale(0.85) translate(4px, -4px) rotate(5deg);
    }
    to {
        -webkit-transform: scale(1);
    }
}

@keyframes combatHit {
    20%, 50% {
        transform: scale(0.9);
    }
}
@-webkit-keyframes combatHit {
    20%, 50% {
        -webkit-transform: scale(0.9);
    }
}

@keyframes combatHitCrit {
    from {
        transform: scale(1);
    }
    10%, 25% {
        transform: scale(0.85) rotate(-5deg);;
    }
    50% {
        transform: scale(1);
    }
    60%, 75% {
        transform: scale(0.85) rotate(5deg);;
    }
    to {
        transform: scale(1);
    }
}
@-webkit-keyframes combatHitCrit {
    from {
        -webkit-transform: scale(1);
    }
    10%, 25% {
        -webkit-transform: scale(0.85) rotate(-5deg);;
    }
    50% {
        -webkit-transform: scale(1);
    }
    60%, 75% {
        -webkit-transform: scale(0.85) rotate(5deg);;
    }
    to {
        -webkit-transform: scale(1);
    }
}

@keyframes combatHealPlayer {
    20%,80% {
        filter: brightness(2) saturate(3);
    }
}
@-webkit-keyframes combatHealPlayer {
    20%,80% {
        -webkit-filter: brightness(2) saturate(3);
    }
}

@keyframes combatAttackMob {
    30% {
        transform: scale(0.95) translate(10px, -30px);;
        filter: brightness(0.83);
    }
    50%, 65% {
        transform: scale(0.9) translate(40px, -40px);
        filter: brightness(0.75);
    }
    70% {
        transform: scale(1.2) translate(-20px, 20px);
    }
    80% {
        transform: translate(-10px, 50px) scale(1);
    }
}
@-webkit-keyframes combatAttackMob {
    30% {
        -webkit-transform: scale(0.95) translate(10px, -30px);;
        -webkit-filter: brightness(0.83);
    }
    50%, 65% {
        -webkit-transform: scale(0.9) translate(40px, -40px);
        -webkit-filter: brightness(0.75);
    }
    70% {
        -webkit-transform: scale(1.2) translate(-20px, 20px);
    }
    80% {
        -webkit-transform: translate(-10px, 50px) scale(1);
    }
}

@keyframes combatDepopulate {
    20%, 80% {
        transform: scale(1.5);
        filter: brightness(1.5) saturate(1.5);
    }
}
@-webkit-keyframes combatDepopulate {
    20%, 80% {
        -webkit-transform: scale(1.5);
        -webkit-filter: brightness(1.5) saturate(1.5);
    }
}

@keyframes showResults {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-webkit-keyframes showResults {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes showResultsContent {
    from, 20% {
        transform: scale(0.8);
    }
    70% {
        transform: scale(1.05);
    }
    to {
        transform: scale(1);
    }
}
@-webkit-keyframes showResultsContent {
    from, 20% {
        -webkit-transform: scale(0.8);
    }
    70% {
        -webkit-transform: scale(1.05);
    }
    to {
        -webkit-transform: scale(1);
    }
}

@keyframes finishLeft{
    from {
        transform: translate(0px,0px) skewX(-35deg);
    }
    10%,15% {
        transform: translate(-2%,4%) skewX(-35deg);
    }
    to {
        transform: translate(-5%,7%) skewX(-35deg);
        filter: brightness(0.5) saturate(0);
    }
}
@-webkit-keyframes finishLeft{
    from {
        -webkit-transform: translate(0px,0px) skewX(-35deg);
    }
    10%,15% {
        -webkit-transform: translate(-2%,4%) skewX(-35deg);
    }
    to {
        -webkit-transform: translate(-5%,7%)) skewX(-35deg);
        -webkit-filter: brightness(0.5) saturate(0);
    }
}

@keyframes finishRight{
     from {
        transform: translate(0px,0px) skewX(-35deg);
    }
    10%,15% {
        transform: translate(2%,-4%) skewX(-35deg);
    }
    to {
        transform: translate(5%,-7%) skewX(-35deg);
        filter: brightness(0.5) saturate(0);
    }
}
@-webkit-keyframes finishRight{
     from {
        -webkit-transform: translate(0px,0px) skewX(-35deg);
    }
    10%,15% {
        -webkit-transform: translate(2%,-4%) skewX(-35deg);
    }
    to {
        -webkit-transform: translate(5%,-7%) skewX(-35deg);
        -webkit-filter: brightness(0.5) saturate(0);
    }
}

/* animation Off */
._animationOff .eff-layer-slice,
._animationOff .combat-slice-l,
._animationOff .combat-slice-r {
    display: none;  
}
._animationOff * {
    animation: none !important;
    -webkit-animation: none !important;
}


.combat-unit-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.combat-unit-wrapper .b-progress-hp {
    position: relative;
    z-index: 100;
}


.enemy-spell {
    position: absolute;
    text-align: center;
    background: rgba(20,20,0,0.85);
    cursor: pointer;
    padding: 5px;
    bottom: 5px;
    left: -10px;
    border: 2px solid #100; 
    z-index: 120;
    width: 35px;
    height: 35px;
}

.enemy-spell._my {
    left: auto;
    right: -10px;
}

.enemy-spell._apply img {
    opacity: 0.5;
    animation: spellCast 0.5s linear forwards;
    -webkit-animation: spellCast 0.5s linear forwards;
}

.enemy-spell._preview {
    background: rgba(50,20,20,0.85);
}

.enemy-spell>img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events:none
}


.enemy-spell .descript-popup {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 55px;
    width: 150px;
    padding: 0px 7px 0px 7px;
    margin-left: -125px;
    border: 3px solid #4d4333;
    border-radius: 6px;
    background-color: #342d22; 
    text-align: center;
    z-index: 10000;
    filter: drop-shadow(0px 2px 5px #000) drop-shadow(0px 2px 5px #000);
}

.enemy-spell .descript-popup:before {
    content: '';
    display: block;
    height: 2px;
    width: 0px;
    position: absolute;
    left: 75%;
    bottom: -13px;
    margin-left: -10px;
    border: 10px solid transparent;
    border-bottom-width: 0;
    border-top-color: #4d4333;
}

.enemy-spell:active .descript-popup,
.enemy-spell:hover .descript-popup {
    display: block;
}

.unit-rage {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: #f50;
    opacity: 0.25;
}

.unit-effect {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 5;
}

.unit-effect._lightning, .unit-effect._weakness, .unit-effect._armour {
    display: block;
    animation: spellCast 1s linear infinite;
    -webkit-animation: spellCast 1s linear forwards;
    background: url('../images/content/hit_lightning_01_480.png') 100% 0% no-repeat;
}

.unit-effect._weakness {
    background: url('../images/combat/weakness_effect.png') 50% 50% no-repeat;
    background-size: 200px 200px;
    opacity: 0.75
}

.unit-effect._armour {
    background: url('../images/combat/buff_effect.png') 0% 0% no-repeat, url('../images/combat/buff_effect.png') 50% 50% no-repeat, url('../images/combat/buff_effect.png') 0% 100% no-repeat, url('../images/combat/buff_effect.png') 100% 100% no-repeat,url('../images/combat/buff_effect.png') 100% 0% no-repeat rgba(255,255,0,0.5);
}

@keyframes spellCast {
    from { opacity: 1; }
    to { opacity: 0; }
}
@-webkit-keyframes spellCast {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* RESISTS */

.spell-status {
    -display: none;
    width: 100%;
    position: absolute;
    z-index: 95;
    left: 0;
    bottom: -20px;
    padding: 70px 0;
    background: url('../images/combat/weak-bg.png') 50% 50% no-repeat;
    text-align: center;
    animation: showSpellStatus 2s 1 linear forwards;
    -webkit-animation: showSpellStatus 2s 1 linear forwards;
}

@keyframes showSpellStatus {
    from,30%,to { opacity: 0; }
    40%,90% { opacity: 1; }
}
@-webkit-keyframes showSpellStatus {
    from,30%,to { opacity: 0; }
    40%,90% { opacity: 1; }
}

.spell-status._resist {
    background-image: url('../images/combat/resist-bg.png');
}

.spell-status>* {
    vertical-align: middle;
    filter: drop-shadow(0px 0px 2px #ffffff) drop-shadow(0px 0px 5px #ffffff);
    -webkit-filter: drop-shadow(0px 0px 2px #ffffff) drop-shadow(0px 0px 5px #ffffff);
}

.spell-status._resist>* {
    filter: drop-shadow(0px 0px 2px #220000) drop-shadow(0px 0px 5px #220000);
    -webkit-filter: drop-shadow(0px 0px 2px #220000) drop-shadow(0px 0px 5px #220000);
}

.spell-status>img {
    margin: 0 5px;
}

.spell-status-text {
    font-size: 24px;
    color: #8c0000;
    font-weight: bold;
    font-family: 'Trajan',Arial,sans-serif;
}

._resist .spell-status-text {
    color: #ffea00;
}

.spell-status-effect {
    color: #1b9200;
    font-size: 14px;
    display: inline-block;
    font-weight: bold;
}

._resist .spell-status-effect {
    color: #ff0000;}

.spell-status-effect:before {
    content: '';
    position: relative;
    display: block;
    margin: 0 auto;
    height: 0px;
    width: 0px;
    border-width: 0px 10px 10px 10px;
    border-color: transparent transparent #1b9200 transparent;
    border-style: solid;
}

._resist .spell-status-effect:before {
    display: none;
}

._resist .spell-status-effect:after {
    content: '';
    position: relative;
    display: block;
    margin: 0 auto;
    height: 0px;
    width: 0px;
    border-width: 10px 10px 0px 10px;
    border-color: #ff0000 transparent transparent transparent ;
    border-style: solid;
}

@media screen and (max-width: 360px) {
    .spell-status-text {
        font-size: 18px;
    }

    .b-title.combat .title-l,
    .b-title.combat .title-r {
        display: none;
    }
}

.mob-name {
    position: absolute;
    left: 0px;
    top: 25%;
    width: 80%;
    padding: 0 10%;
    text-align: center;
    font-size: 12px;
    color: #ffeeaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* NEW WINSCREENS*/

.wrap-artbox._combat {
    overflow-y: auto;
    height: 100%;
    height: 100vh;
}

.combat-totals {
    position: relative;
    display: block;
    max-width: 380px;
    top: 80px;
    margin: 0 auto;
    padding: 4px;
    background: url('../images/content/popups/item-menu-tl.png') 0 0 no-repeat,
    url('../images/content/popups/item-menu-tr.png') 100% 0 no-repeat,
    url('../images/content/popups/item-menu-t.png') 50% 0 no-repeat,

    url('../images/content/popups/item-menu-bl.png') 0 100% no-repeat,
    url('../images/content/popups/item-menu-br.png') 100% 100% no-repeat,
    url('../images/content/popups/item-menu-b.png') 50% 100% no-repeat,

    url('../images/content/popups/item-menu-l.png') 0 50% no-repeat,
    url('../images/content/popups/item-menu-r.png') 100% 50% no-repeat,
    url('../images/content/popups/item-menu-c.png') 50% 50% no-repeat;
    background-size: auto auto, auto auto, 95% 16px,
    auto auto, auto auto, 95% 16px,
    16px 95%, 16px 95%, 95% 95%;
    filter: drop-shadow(0px 3px 18px #000000) drop-shadow(0px 3px 18px #000000);
    -webkit-filter: drop-shadow(0px 3px 18px #000000) drop-shadow(0px 3px 18px #000000);
}

.combat-totals-body {
    background: url('../images/content/popups/cornet-gold-r.png') 97% 97% no-repeat, url('../images/content/popups/cornet-gold-l.png') 3% 97% no-repeat, url('../images/content/popups/win-bg.jpg') 50% 50% repeat-y;
    overflow: hidden;
    border-radius: 5px;
    text-align: center;
    padding: 50px 10px 40px 10px;
}

.combat-totals-header {
    background: url('../images/content/popups/win-header.png') 50% 50% no-repeat;
    width: 401px;
    height: 162px;
    position: absolute;
    left: 50%;
    margin-left: -200.5px;
    top: -70px;
}

.combat-totals-content {
    text-align: center;
}

.combat-totals-advice {
    padding: 30px 20px 20px 20px;
    font-family: 'Trajan', Arial, sans-serif;
    color: #fbc803;
    font-size: 18px;
    display: none;
}

._tasks .combat-totals-advice {
    display: block;
}

.combat-totals-item {
    display: inline-block;
    margin: 10px 5px;
    position: relative;
    padding: 10px 12px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,.4), inset 0 -2px 2px rgba(0,0,0,.2), inset 0 -1px 2px rgba(0,0,0,.2);
    -webkit-box-shadow: inset 0 1px 2px rgba(255,255,255,.4), inset 0 -2px 2px rgba(0,0,0,.2), inset 0 -1px 2px rgba(0,0,0,.2);
    border-radius: 5px;
}

.combat-totals-lp {
    background: url('../images/content/popups/lp-up-bg.png') 50% 50% no-repeat;
    margin-bottom: 8px;
    padding: 10px;
    display: none;
}

.combat-totals-item-name,
.combat-totals-lp-name,
.combat-totals-condition>span {
    margin-top: -15px;
    color: #fbc803;
    font-size: 14px;
    font-family: 'Trajan', Arial, sans-serif;
    z-index: 1;
    filter: drop-shadow(1px 1px 2px #000000);
}

.combat-totals-lp-value {
    font-size: 28px;
    font-weight: bold;
    color: #2CC913;
    filter: drop-shadow(1px 1px 2px #000000);
}

.combat-totals-lp-name {
    margin-top: -10px;
    margin-bottom: -3px;
}

.combat-totals-lp-value:before {
    content: '+';
}

.combat-totals-condition {
    margin-top: 15px;
    display: none;
}

.combat-totals-item-image { position: relative; z-index: 1; height: 49px; width: auto; }

.combat-totals-item:before {
    content: '';
    display: block;
    width: 120px;
    height: 120px;
    position: absolute;
    left: 50%;
    top: 42%;
    margin-left: -60px;
    margin-top: -60px;
    background: url('../images/content/popups/reward-glow.png') 50% 50%/100% 100% no-repeat;
}

.combat-totals-item-value {
    position: relative;
    color: #ffffff;
    z-index: 1;
    font-size: 14px;
    margin-top: 5px;
}

.combat-totals-item-hint {
    position: relative;
    z-index: 1;
    font-size: 10px;
    margin-top: 5px;
    margin-bottom: -4px;
    text-shadow: 1px 1px 2px #221100,-1px -1px 2px #221100, -1px 1px 2px #221100, 1px -1px 2px #221100;
    -webkit-text-shadow: 1px 1px 2px #221100,-1px -1px 2px #221100, -1px 1px 2px #221100, 1px -1px 2px #221100;
}

.combat-totals-buttons {
    position: absolute;
    bottom: -32px;
    left: 0px;
    width: 100%;
    text-align: center;
}

.combat-totals-buttons .main-button {
    display: none;
}

.combat-totals-buttons .main-button-inner {
    font-size: 14px;
    padding-top: 5px;
}

._fail .main-button._retreat,
._victory .main-button._excellent,
._tasks .main-button._tasks {
    display: table;
    background-image: url('../images/content/main-button-green.png');
}

._resurrect .main-button._retreat,
._resurrect .main-button._fight,
._tasks .main-button._retreat,
._tasks .main-button._tasks {
    background-image: url('../images/content/small-button-regular.png');
    width: 140px;
    display: inline-table;
    vertical-align: top;
    margin: 0 5px;
}

._resurrect .main-button._fight,
._tasks .main-button._tasks {
    background-image: url('../images/content/small-button-action.png');
}

.main-button._retreat .main-button-inner,
.main-button._fight .main-button-inner {
    width: 120px;
}

.main-button._excellent,
.main-button._tasks {
    display: none;
}

.combat-totals-buttons {
    filter: drop-shadow(1px 1px 4px #000000);
}

._league .combat-totals-lp {
    display: block;
}

._fail .combat-totals-lp {
    background-image: url('../images/content/popups/lp-down-bg.png');
}

._fail .combat-totals-lp-value:before {
    content: '-';
}

._fail .combat-totals-lp-value,
._resurrect .combat-totals-lp-value {
    color: #ff4444;
}

._fail .combat-totals-body {
    background: url('../images/content/popups/cornet-gold-r.png') 97% 97% no-repeat, url('../images/content/popups/cornet-gold-l.png') 3% 97% no-repeat, url('../images/content/popups/lose-bg.jpg') 50% 50% repeat-y;
}

._fail .combat-totals-header {
    background-image: url('../images/content/popups/fail-header.png');
}

._timeout .combat-totals-header {
    background-image: url('../images/content/popups/timeout-header.png');
    top: -90px;
}

._fail .combat-totals-body {
    padding-top: 60px;
}

._resurrect .combat-totals-condition {
    display: block;
}

._fail.combat-totals {
    top: 70px;
}

.icon-sound {
    background: url('../images/icons/audio_icons.png') 0% 50% no-repeat;
    width: 25px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 200;
    display: block;
}
.icon-sound._off {
    background-position: 100% 0;
}

.use-effect {
    background: url('../images/combat/use-consume-energy.png') 0% 50% no-repeat;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -100px;
    z-index: 200;
}

