body {
  font-family: sans-serif;
  font-size: 1.5rem;
  overflow-x: hidden;
}

header {
  text-align: center;
}

img {
  max-width: 50vw;
  max-height: 25vw;
  display: block;
  margin: auto;
}

button.action {
  padding: 5px 20px;
  margin: 10px auto;
  display: flex;
}

button.nav {
  float: right;
}

#basefishobj,
#goldenfishobj {
  height: 0px;
}

#tankcontainer {
  display: flex;
}

#tankobj {
  max-width: 95%;
  max-height: 75vh;
  margin-left: auto;
  margin-right: auto;
}


.color-box {
  width: 3rem;
  height: 1.5rem;
  display: inline-block;
  background-color: #ccc;
  vertical-align: top;
}

.color-box-text {
  padding-left: 5px;
}

.togglefavorite {
  color: gold;
  background-color: white;
  border-style: none;
  font-size: 1.5em;
  line-height: 1em;
  vertical-align: middle;
  text-align: center;
}

.dropbtn {
  background-color: #3498DB;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropbtn:hover,
.dropbtn:focus {
  background-color: #2980B9;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #ddd;
}

#navbuttons {
  position: fixed;
  right: 10px;
}

#navdropdown {
  right: 0px;
}

#accountinfosection {
  display: grid;
  grid-auto-columns: 1fr 1fr;
}

#accountinfosection div:nth-child(1){
  grid-column: 1;
}

#accountinfosection div:nth-child(2){
  grid-column: 2;
}

#testnetbanner {
  position: fixed;
  bottom: 0px;
  background-color: lightgoldenrodyellow;
  border-color: black;
  border-style: solid;
  border-width: thin;
}

#testnetbanner button.close{
  float: right;
}


.hidden,
button.hidden {
  display: none !important;
}

#navdropdown.login a#login,

#navdropdown.logout a#display,
#navdropdown.logout a#storage,
#navdropdown.logout a#logout,

#navdropdown.display a#login,
#navdropdown.display a#display,

#navdropdown.storage a#login,
#navdropdown.storage a#storage,

#navdropdown.random a#login,
#navdropdown.random a#random,

#navdropdown.about a#login,
#navdropdown.about a#about,

#navdropdown.admin a#login
{
  display: none;
}

#navdropdown a#admin{
  display: none;
}

#navdropdown.isAdmin a#admin{
  display: block !important;
}

.infotable {
  width: 95%;
  display:table;
}

.storagerow,
.storageheaderrow {
  display:table-row;
}

.storageheaderrow:only-child{
  display: none;
}

.storagecell {
  display:table-cell;
}

.storageheaderrow label {
  border-bottom: black solid thin;
  cursor: pointer;
}

.storagecell button {
  width: 100%;
}

.storagecell input[type="checkbox"]{
  width: 1.5em;
  height: 1.5em;
}

.sortasc::after {
  content: " \25B2 ";
}

.sortdsc::after {
  content: " \25BC ";
}

.storagecell .editbtn{
  margin-left: 15%;
  width: 20%;
  cursor: pointer;
}

.hatsdropdown {
  width: 65%;
}

.newstoragerow {
  background-color: lightyellow;
}

.unlockhatwindow {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.6);
}

.unlockhatwindowcontent {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
}

.showmodal {
  display: block;
}

#messagesection {
  position: absolute;
  bottom: 5px;
  background-color: lightcyan;
  border-style: solid none solid solid;
  border-width: thin;
  width: 20%;
  text-align: center;
  transition: all 2s ease 0s;
  right: -21%;
  opacity: 0;
  z-index: 1;
}

#messagesection.extended {
  right: 0%;
  opacity: 1;
}