
/* Splinterlands Fonts */
/*@font-face {
  font-family: 'ruba';
  src:  url('https://s3.amazonaws.com/steemmonsters/website/fonts/ruba_oblique-webfont.eot');
  src:  url('https://s3.amazonaws.com/steemmonsters/website/fonts/ruba_oblique-webfont.eot') format('embedded-opentype'),
    url('https://s3.amazonaws.com/steemmonsters/website/fonts/ruba_oblique-webfont.ttf') format('truetype'),
    url('https://s3.amazonaws.com/steemmonsters/website/fonts/ruba_oblique-webfont.woff') format('woff'),
    url('https://s3.amazonaws.com/steemmonsters/website/fonts/ruba_oblique-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}*/

@font-face {
  font-family: 'nanami-heavy';
  src:  url('https://d36mxiodymuqjm.cloudfront.net/website/fonts/nanami-heavyoblique-webfont.eot');
  src:  url('https://d36mxiodymuqjm.cloudfront.net/website/fonts/nanami-heavyoblique-webfont.eot') format('embedded-opentype'),
    url('https://d36mxiodymuqjm.cloudfront.net/website/fonts/nanami-heavyoblique-webfont.ttf') format('truetype'),
    url('https://d36mxiodymuqjm.cloudfront.net/website/fonts/nanami-boldoblique-webfont.woff') format('woff'),
    url('https://d36mxiodymuqjm.cloudfront.net/website/fonts/nanami-heavyoblique-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}




/* TEMP */
/*#allfilteritems .filteritem.all .itembox {width: initial; margin:  5px; zoom: 60%;}
#allfilteritems .filteritem.all .itembox .overlay {width: 100%; height:  100%; top:  0; left:  0; zoom: 170%; }*/


.itembox.card {display: inline-block; zoom: 100%; display: flex; justify-content: space-around; align-items: center;}
.itembox.card .centerbox {display: inline-block; position: relative;}
.itembox.card .centerbox .imagewrapper {line-height: 0; position:  relative; overflow: hidden;}
.itembox.card .centerbox .imagewrapper .layer1 {position:  absolute; top:  0; left:  0;}


.itembox.card .centerbox .imagewrapper .layer1.id333 img { filter:  brightness(.9); margin-top: 8%;} /* lava launcher */
.itembox.card .centerbox .imagewrapper .layer1.id447 img {width: 130%; max-width: 130%; height:  auto; filter:  brightness(1.4); margin-top: -17%; margin-left: -10%;}/* Grumm */
.itembox.card .centerbox .imagewrapper .layer1.id342 img {width: 80%; height:  auto; margin:  0 auto; margin-top:  20%} /* Harklaw */
.itembox.card .centerbox .imagewrapper .layer1.id379 img {width: auto; height:  90%; margin-top: -10%;} /* Queen Mycilia */
.itembox.card .centerbox .imagewrapper .layer1.id427 img {width: 90%; height:  auto; margin-top: 3%; margin-left:  5%;} /* Xenith Archer */
.itembox.card .centerbox .imagewrapper .layer1.id445 img {width: auto; height:  90%; margin-top: 3%;filter:  brightness(1.3);} /* Lira the dark */
.itembox.card .centerbox .imagewrapper .layer1.id352 img {width: auto; height:  80%; margin-top: 11%; filter:  brightness(1.1);} /* Dr Blight */

.itembox.card .centerbox .imagewrapper .layer1.id331 img {width: 100%; height:  auto; margin-top: 8%; filter:  brightness(.9);} /* Venari Heatsmith */
.itembox.card .centerbox .imagewrapper .layer1.id336 img {width: 100%; height:  auto; margin-top: 4%; filter:  brightness(1);} /* Djinn Bilijka */
.itembox.card .centerbox .imagewrapper .layer1.id340 img {width: 120%; max-width:  120%; height:  auto; margin-top: 6%; filter:  brightness(1);} /* Pelcore Deciever */
.itembox.card .centerbox .imagewrapper .layer1.id355 img {width: 100%; height:  auto; margin-top: 10%; filter:  brightness(1.5);} /* Shadow Snitch */
/*.itembox.card .centerbox .imagewrapper .layer1.id361 img {width: 100%; height:  auto; margin-top: 0%; filter:  brightness(1);}*/ /* Windekcu Attack */
.itembox.card .centerbox .imagewrapper .layer1.id363 img {width: 100%; height:  auto; margin-top: -3%; margin-left: 16%; filter:  brightness(1);} /* Insidious Warlock */
.itembox.card .centerbox .imagewrapper .layer1.id365 img {width: 100%; height:  auto; margin-top: 6%; filter:  brightness(1);} /* Muirat */
.itembox.card .centerbox .imagewrapper .layer1.id373 img {width: 100%; height:  auto; margin-top: 20%; filter:  brightness(1);} /* Regal Peryton */
.itembox.card .centerbox .imagewrapper .layer1.id377 img {width: 100%; height:  auto; margin-top: 16%; filter:  brightness(1);} /* Hunter Jarx */
.itembox.card .centerbox .imagewrapper .layer1.id384 img {width: 100%; height:  auto; margin-top: 10%; filter:  brightness(1);} /* Flying Squid */
.itembox.card .centerbox .imagewrapper .layer1.id406 img {width: 100%; height:  auto; margin-top: 5%; filter:  brightness(1);} /* Djinn Inferni */
.itembox.card .centerbox .imagewrapper .layer1.id425 img {width: 100%; height:  auto; margin-top: 4%; margin-left:  10%; filter:  brightness(1);} /* Disintegrator */
.itembox.card .centerbox .imagewrapper .layer1.id449 img {width: 100%; height:  auto; margin-top: 0%; filter:  brightness(1);} /* Waka */





.itembox.card .centerbox .imagewrapper .layer2 {position:  absolute; top:  0; left:  0;}



.itembox.card .stat.mana {position: absolute;top:0; left: 0; width: 80px; height: 80px;}
.itembox.card .stat.speed {position: absolute;top: 200px; left: -10px; width: 60px; height: 60px;}

.itembox.card .attackboxes {position: absolute; top: 198px; left: -15px; width: 80px; display: flex; justify-items: flex-start; align-items: flex-end; flex-wrap: wrap; transform: translateY(-100%);}
.itembox.card .stat.attack {display: block; margin-bottom: -7px;width: 70px; height: 70px;}
.itembox.card .stat.ranged {display: block; margin-bottom: -7px;width: 70px; height: 70px;}
.itembox.card .stat.magic {display: block; margin-bottom: -7px;width: 70px; height: 70px;}
.itembox.card .stat.health {position: absolute;top:198px; right: -10px; width: 70px; height: 70px;}
.itembox.card .stat.armor {position: absolute;top:128px; right: -10px; width: 70px; height: 70px;}


.itembox.card .stat .relative {position: relative; display: inline-block;}
.itembox.card .stat .relative .imagewrapper {max-width: 100px; max-height: 100px;}
.itembox.card .stat .relative .statoverlay {font-weight: 700; font-size: 38px; font-family: "nanami-heavy"; color: #ffffff; text-shadow: 2px 2px #000000; position: absolute; top: -1px; left: -4px; width: 100%; height: 100%; display: flex; justify-content: space-around; align-items: center; -webkit-text-stroke: 2px black;}

.itembox.card .stat.speed .relative .statoverlay {left: -6px; top: 4px;}

.itembox.card .namelevel {position: absolute; top: 283px; left: 36px; width: calc(100% - 72px); height: 44px; font-family: "nanami-heavy";  text-transform: uppercase;color: #ffffff; font-size: 20px; text-shadow: black 2px 2px 3px;; display: flex; justify-content: space-between; align-items: center;}
.itembox.card .namelevel .name {display: inline-block;}
.itembox.card .namelevel .level {margin-left: 5px; display: flex; align-items: center;}
.itembox.card .namelevel .level .icon {display: inline-block; font-family: "nanami-heavy"; color: #ffffff; font-size: 26px; text-shadow: black 2px 2px 3px; text-transform: uppercase;}
.itembox.alpha .namelevel {top: 274px; left: 28px; width: calc(100% - 57px); height: 28px; padding: 0 6px; box-sizing: border-box;}
.itembox.chaos .namelevel .level {position: relative; top: 2px; right: -11px;}
.itembox.chaos .namelevel .level .icon {display: none;}

.itembox.card .abilitywrap {height: 70px; width: 247px; bottom: -51px; left: 26px; transform: translateY(-100%); position: absolute; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; }
.itembox.alpha .abilitywrap {height: 70px; width: 247px; bottom: -29px; left: 26px;}
.itembox.chaos .abilitywrap {height: 70px; width: 247px; bottom: -65px; left: 26px;}

.itembox.card .abilitywrap .centerit { display: flex; justify-content: flex-start; align-items: center; line-height: 0;}
.itembox.card .abilitywrap .abilitybox {display: inline-block; max-width: 50px; line-height: 0; order: 2;}
.itembox.card .abilitywrap .stat {max-width: 70px; position: relative; top: initial; right: initial; height: initial; width: initial; order:  1;}
.itembox.card .abilitywrap .stat.ranged {margin-bottom: initial;}
.itembox.card .abilitywrap .stat.magic {margin-bottom: initial;}
.itembox.card .abilitywrap .stat.speed {left: initial; max-width: 60px; top: -2px;}
.itembox.card .abilitywrap .stat.health {top: 2px;}


/*#frame .itembox.card .abilitywrap {bottom:  -67px;}*/

.itembox.card.alpha.green .namelevel {
  background: #053700; /* Old browsers */
  background: -moz-linear-gradient(top, #053700 0%, #399e16 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #053700 0%,#399e16 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #053700 0%,#399e16 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#053700', endColorstr='#399e16',GradientType=0 ); /* IE6-9 */  
}

.itembox.card.alpha.white .namelevel {
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#202020+0,7a7a7a+100 */
background: #202020; /* Old browsers */
background: -moz-linear-gradient(top, #202020 0%, #7a7a7a 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #202020 0%,#7a7a7a 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #202020 0%,#7a7a7a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#202020', endColorstr='#7a7a7a',GradientType=0 ); /* IE6-9 */  
}

.itembox.card.alpha.black .namelevel {
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#2f065b+0,7c38e4+100 */
background: #2f065b; /* Old browsers */
background: -moz-linear-gradient(top, #2f065b 0%, #7c38e4 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #2f065b 0%,#7c38e4 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #2f065b 0%,#7c38e4 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f065b', endColorstr='#7c38e4',GradientType=0 ); /* IE6-9 */
}


.itembox.card.alpha.red .namelevel {
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#490305+0,e6583d+100 */
background: #490305; /* Old browsers */
background: -moz-linear-gradient(top, #490305 0%, #e6583d 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #490305 0%,#e6583d 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #490305 0%,#e6583d 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#490305', endColorstr='#e6583d',GradientType=0 ); /* IE6-9 */
}

.itembox.card.alpha.blue .namelevel {
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0c326a+0,308cf2+100 */
background: #0c326a; /* Old browsers */
background: -moz-linear-gradient(top, #0c326a 0%, #308cf2 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #0c326a 0%,#308cf2 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #0c326a 0%,#308cf2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0c326a', endColorstr='#308cf2',GradientType=0 ); /* IE6-9 */
}




.itembox.card.alpha.gold .namelevel {
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#322155+0,7f68af+100 */
background: #322155; /* Old browsers */
background: -moz-linear-gradient(top, #322155 0%, #7f68af 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #322155 0%,#7f68af 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #322155 0%,#7f68af 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#322155', endColorstr='#7f68af',GradientType=0 ); /* IE6-9 */
}





/*  ************************************************************************************ */
/*  *****  Barons Troop Display CSS    */
/*  ************************************************************************************ */

.troopcard {margin: 5px; border: 1px solid #ffffff; box-sizing: border-box; display: inline-block; border-radius: 10px;}
.troopcard .imagewrapper {width: 150px; height: 150px; position: relative; overflow: hidden; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; box-sizing: border-box;border-radius: 10px;}
.troopcard .underlay {position: absolute; top: 0; left: 0; height: 100%; width: 100%; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap;z-index: -1; box-sizing: border-box;border-radius: 10px;}
.troopcard .image {width: 140px; height: 140px; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap;z-index: 10; box-sizing: border-box;}
.troopcard .image img {max-width: 100%; max-height: 100%; object-fit: contain; }
.troopcard .overlay {position: absolute; top: 0; left: 0; height: 100%; width: 100%; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap;z-index: 20; box-sizing: border-box; border-radius: 10px;}
.troopcard .overlay .cardname {position: absolute; bottom: 0; left: 0; width: 100%; height: 18px; background: rgba(0,0,0,.7); color: #ffffff; font-size: 12px; font-weight: 700; text-align: center; display: flex; justify-content: space-around; align-items: center;}

.troopcard .overlay .trooplevel {position: absolute; top: 0;right: 0;}
.troopcard .overlay .trooplevel i {font-size: 32px; position: relative;}
.troopcard.Common .overlay .trooplevel i:before {color: #bfd1da;}
.troopcard.Rare .overlay .trooplevel i:before {color: #7ac2ff;}
.troopcard.Epic .overlay .trooplevel i:before {color: #ca6eeb;}
.troopcard.Legendary .overlay .trooplevel i:before {color: #f3c059;}
.troopcard .overlay .trooplevel i .level {font-size: 12px; margin-top: 2px; position: absolute; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); color: #000000; font-weight: 700; }


.troopcard .locked {background: rgba(0,0,0,.7); position: absolute; top: 0; left: 0; height: 100%; width: 100%; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap;z-index: 30; box-sizing: border-box;border-radius: 10px;}
.troopcard .locked i {font-size: 90px; color: #c4ad03; }




.troopcard.Fire .underlay {background: #490305;}
.troopcard.Water .underlay {background: #0c326a;}
.troopcard.Earth .underlay {background: #053700; }
.troopcard.Life .underlay {background: #000000;}
.troopcard.Death .underlay {background: #202020;}
.troopcard.Dragon .underlay {background: #2f065b;}
.troopcard.Nuetral .underlay {background: #404040;}





