body {
    background-color: #2a2f32;
    color: white;
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.type-icon {
    display: inline-block;
    width: 46px;
    margin-bottom: 4px;
    background: #dbdbdb;
    border: 1px solid #a3a3a3;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: .55rem;
    font-weight: normal;
    line-height: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    transition: opacity .4s
}

.type-icon:hover, .type-icon:active, .type-icon:focus {
    color: #fff;
    text-decoration: none
}

.type-icon:link:hover, .type-icon:link:active, .type-icon:link:focus {
    opacity: 0.85
}

.type{
	max-width: 50px; vertical-align: middle;border-radius: 2px;filter: none;
}

.type-normal {
    background-color: #aa9
}

.type-fire {
    background-color: #ff9d55
}

.type-water {
    background-color: #39f
}

.type-electric {
    background-color: #fc3
}

.type-grass {
    background-color: #7c5
}

.type-ice {
    background-color: #6cf
}

.type-fighting {
    background-color: #cf4069
}

.type-poison {
    background-color: #a59
}

.type-ground {
    background-color: #db7645
}

.type-flying {
    background-color: #89f
}

.type-psychic {
    background-color: #f59
}

.type-bug {
    background-color: #ab2
}

.type-rock {
    background-color: #ba6
}

.type-ghost {
    background-color: #66b
}

.type-dragon {
    background-color: #76e
}

.type-dark {
    background-color: #754
}

.type-steel {
    background-color: #aab
}

h .type-fairy {
    background-color: #e9e
}

.type-curse {
    background-color: #698
}

.type-none {
    visibility: hidden
}

.button-capture {
    background: #080675;
    color: #ffffff;
    border-radius: 5px;
    margin-bottom: 1px
}

.button-combat {
    background: #790000;
    color: #ffffff;
    border-radius: 5px;
    margin-bottom: 1px
}

.button-fuite {
    background: #51afdc;
    color: #ffffff;
    border-radius: 5px;
    margin-bottom: 1px
}
.vitals-table {
    margin: auto;
    border-spacing: 0;
    border-style: double;
    border-color: #2a2f32;
    width: 115px;
}



.vitals-table th, .vitals-table td {
    border-width: 1px 0;
    border-style: solid;
    border-color: #2a2f32;
}

.vitals-table th {
    color: #737373;
    font-size: .875rem;
    font-weight: normal;
    text-align: right;
    max-width:20px;
}

.vitals-table td {
	letter-spacing: -0.06em;
	font-family: monospace;
}
.round-fight {}

.won-fight {
    color: green;
}

.attaque-type-icon {
    width: 25px;
    vertical-align: middle;
    margin-bottom: 5px
}

.message-box {
    max-width: 90%;
    background: #15181aba;
    border-radius: 30px;
    margin: auto;
    color: #cffaff;
}

.floor-box {
    border-radius: 30px;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 350px;
    margin-bottom: 8px;
    background-size: cover;
}

.floorname {
    font-family: "Georgia";
    font-style: italic;
    font-weight: bold;
    font-size: xxx-large;
    text-align: center;
    opacity: 0.75;
}

.team-box {
    max-width: 800px;
    background-color: #13181a;
    border-radius: 30px;
    color: #d2d2d2;
}

.shop-item{
	min-width: 170px;
}

.move-name{
	font-style: italic;
	font-size: 0.75em;
}
.move{
	box-shadow: 0px 0px 2px 1px #262626;
}
.attack-spe {
    background: url("spe.png");
    background-repeat: round;
    color: #000000;
    border-radius: 100%;
    text-shadow: 1px 0px 0px #8e8e8e;
    text-align: center;
    width: 21px;
    height: 19px;
    font-size: 0.8em;
    box-shadow: 0px 0px 2px 1px #262626;
    font-weight: bold;
    display: inline-block;
    line-height: 19px;
    margin-right:3px;
}


.pokemon-team {
	min-width: 110px;
}

.attack-phy {
    background: url("phy.png");
    background-repeat: round;
    color: #000000;
    border-radius: 100%;
    text-shadow: 1px 0px 0px #8e8e8e;
    width: 21px;
    height: 19px;
    font-size: 0.8em;
    box-shadow: 0px 0px 2px 1px #262626;
    font-weight: bold;
    display: inline-block;
    line-height: 19px;
    margin-right:3px;
    text-align:center;



}

.pokedex-icon{
    height: 18px;
    filter: grayscale(.5) brightness(.6);
}

.pokedex-icon:hover {
   filter: grayscale(0) brightness(1);
}

.aide h1{ color: aqua }
.aide h2{ color: darkcyan }
.aide h3{ color: orange}


.red-box-shadow {
	box-shadow: 0px 0px 2px 1px red;
}

.poke-icon {
 position: relative;margin-right: -20px;margin-top: -20px; top: 7px; left: -10px;filter:none;
}

.damage {

    font-weight: bold;
    font-size: 0.9em;
    width: auto;
    }
.floor-choice-img {
	width:100%;
	height:300px;
}

.pokefight-infobox{
    margin: auto;
}
.pokefight-name{
    font-size: 1.2em;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    width: 270px;
    position: relative;
    background-color: #000000;
    margin: 0 auto;
}

.pokefight-level{
    background: #780000;
    width: 50px;
    border-radius: 100%;
    /* height: 50px; */
    position: relative;
    text-align: center;
    line-height: 50px;
    font-size: 1.25em;
    top: -31px;
    right: 142px;
    z-index: 5;
    margin:auto;
}

.pokefight-pv{
    position: relative;
    top: -50px;
    height: 17px;
    width: 265px;
    left: 2px;
    background: #d3d3d3;
    font-size: 0.8em;
    color: #006e13;
    line-height: 17px;
    margin: auto;
}

.pokefight-healthbar{
    height: 17px;
    background-color: #35cb41;
    position: relative;
}

.leaderboard-table {
    border-collapse: collapse;
    margin: auto;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.leaderboard-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 12px 15px;
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.leaderboard-table tbody tr:nth-of-type(even) {
    background-color: #282626;
}

.leaderboard-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.leaderboard-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.sticky {
    position: sticky;
    top:0;
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.4);
    background-color: #009879;
    z-index:9999;

}

.map-tile-image {
	box-shadow: 0px 0px 2px 1px #262626;
	height: 100px;
       	width: 90%;
       	object-fit: cover;
       	border-radius: 15px;
}

.current {
	box-shadow: 0px 0px 11px 2px #ffffff 
}

.next {
	box-shadow: 0px 0px 11px 7px #ffe110;
	animation: currentanimation 1.2s infinite;
}

@keyframes currentanimation {
	50% {box-shadow: 0px 0px 11px 14px #9b9e04;  }
}

.map-tile-overlay{
  top: 0;
  right: 5%;
  border-radius:15px;
  height: 100px;
  position: absolute;
  width: 90%;
  letter-spacing: normal;
  opacity: 0;
  transition: .5s ease;
  background-color: #009879;
}

.mto-next{
  box-shadow:0px 0px 0px 14px #0ff9fb;

}

.map-tile:hover .map-tile-overlay{
 opacity:1;
}
.map-tile-grid{
  display: grid;
  grid-gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  position:absolute; 
  top:0;
  left:0;
  width:100%;
  height:100%;
}

.map-tile{
position :relative;
}

table a{
   /* RESET */
   text-decoration: none;
   line-height: 1;
   
   position: relative;
   z-index: 0;
   display: inline-block;
   padding: 5px 5px;
   overflow: hidden;
   color: #8090fc;
   vertical-align: bottom;
   transition: color .3s ease-out;
   border-radius:10%;
}

table a::before {
   content: "";
   position: absolute;
   z-index: -1;
   top: 0;
   left: 0;
   transform: translateY(calc(100% - 2px));
   width: 100%;
   height: 100%;
   background-image: linear-gradient(60deg, #009879 0%, #6681f3 100%);
   transition: transform .25s ease-out;
}

table a:hover { 
   color: #fff; 
}
table a:hover::before {
   transform: translateY(0);
   transition: transform .25s ease-out;
}

.dmg-4 { color: #ff00d4; font-weight: bold;}
.dmg-2 { color: #04ff00}
.dmg-1 { color: white }
.dmg-05{ color: #ab815c}
.dmg-025{ color: #ad4a4a}
.dmg-00 { color: #656565}

/* FORM RADIO */


.radiobox input{
	display: none;
}

.radiobox { min-width: 160px; }

.radiobox label{
	position: relative;
	color: #fff;
	background-color: #626262;
	text-align: center;
	height: 150px;
	display: block;
	cursor: pointer;
	border: 3px solid transparent;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 3px;
}

.difficulty-icon{
	max-height:40px;
	margin-bottom:-15px;
	filter: drop-shadow(1px 2px 4px black);
}

.pure-menu .difficulty-icon{
	max-height:21px;
	margin-bottom:-5px;

}

.leaderboard-table .difficulty-icon{
	max-height:30px;
	margin-bottom:-8px;
}

input:checked + label{
	border: 1px solid #333;
	background-color: #2fcc71;
	box-shadow: 0 0 8px 1px #2fcc71;
}

input:checked + label:after{
	content: "\2713";
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 100%;
	border: 2px solid #333;
	background-color: #2fcc71;
	z-index: 999;
	position: absolute;
	top: -6px;
	right: -6px;
}

.active-game{
    margin-top: -10px;
    width: 400px;
    background: #282626;
    color: #009879;
    box-shadow: 1px 1px 3px 1px black;
}

button{
box-shadow: 1px 1px 3px 1px black;
}


#choice {
    margin: 0 auto;
}

#choice img {
    min-height: 200px;
}



#choice form {
    padding: 3px 0;
}

#content {
    text-align: center;
}

#content ol {
    display: inline-block;
}

#team {
    margin: 0 auto;
}

#team .pokemon-team {
    padding: 10px 0;
}

#pokefight {
    margin: 0 auto;
}

/* Team sprites on the dashboard (40x30 PokeAPI gen-vii menu icons) */
.team-sprite {
    width: 40px;
    height: 30px;
    margin: 0 -8px;
    vertical-align: middle;
    image-rendering: pixelated;
}
