.divtrade {
  margin: auto;
}

.lblcode {
  font-family: 'Courier New', Courier, monospace;
  font-size: 40px;
  font-stretch: expanded;
}

.lblstatus {
  max-width: 100%;
}

.hideinput {
  display: none;
}

.forcehide {
  display: none !important;
}

.scrollablep {
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
  max-height: 600px;
  overflow-y: scroll;
}

.pokestable {
  border: none !important;
  border-collapse: collapse !important;
  table-layout:fixed;
  word-wrap:break-word;
}

.pgmodal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.pgmodal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.pgclose {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.pgclose:hover,
.pgclose:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* IVs Table */
.ivtable {
  table-layout: fixed;
  background-color: transparent;
}

.ivtable td {
  padding: 5px;
  overflow: hidden; 
  text-overflow: ellipsis; 
  word-wrap: break-word;
  text-align: center;
  vertical-align: middle;
}

.ivtable td input[type="number"] {
  max-width: 65px;
  vertical-align:middle;
}

.ivtable td input[type="range"] {
  max-width: 100px;
  width: 100%;
  vertical-align:middle;
}

@media only screen and (max-width: 480px) {
  /* horizontal scrollbar for tables if mobile screen */
  .ivtable {
      overflow-x: auto;
      display: block;
  }
}