.top-element-high {
  margin-top: 6vw;
}
.pane .row {
  position: relative;
  margin: 50px 0;
}
.pane .row .title {
  position: absolute;
  top: -80px;
  left: 25px;
}
.pane label {
  white-space: nowrap;
}
.pane a.img {
  position: relative;
  margin: 50px auto;
  display: block;
  max-width: 732px;
  width: 75vw;
  padding: 0;
}
h1.species {
  white-space: nowrap;
}
img.species {
  border-radius: 15px;
  max-width: 732px;
  width: 75vw;
  transition-duration: 0.25s;
}
a.img:hover img.species {
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 123, 255, 0.75);
  -moz-box-shadow:    0px 0px 30px 0px rgba(0, 123, 255, 0.75);
  box-shadow:         0px 0px 30px 0px rgba(0, 123, 255, 0.75);
}
div.details {
  margin: 50px auto 150px auto;
  max-width: 750px;
}
div.details a {
  margin: 15px auto;
  display: block;
  max-width: 300px;
}
div.details button {
  margin: 15px auto;
  display: block;
}
div.upload {
  margin: 50px auto;
  max-width: 650px;
}
table td {
  padding: 10px;
}
table.upload {
  background-color: rgba(0,0,0,0);
}
table.upload td {
  border: none;
  white-space: normal;
  width: 50%;
}
table.details td.first {
  border: none;
}
table.details td.first.right {
  border-left: 1px solid #eee;
}
td.nostretch {
  width: 1%;
}
div.container-features {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}
div.container-features .feature {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  border: 2px solid #ccc;
  border-radius: 14px;
  margin: 5px;
}
div.container-features span.name {
  width: 200px;
  color: white;
  font-weight: bold;
  background-color: forestgreen;
  border-radius: 10px 0 0 10px;
  padding: 4px 15px;
}
div.container-features span.details {
  display: flex;
  flex-grow: 1;
  background-color: white;
  border-radius: 0 10px 10px 0;
  padding: 4px 15px;
}


/* Owned profile */
table.upload tr.heading-row td {
  height: 100px;
}
table.upload span.owned {
  display: inline;
  color: forestgreen;
  background-color: white;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 5px 25px;
  line-height: 2rem;
  border-radius: 15px;
  box-shadow: 0 0 10px 5px #3d3;
}
table.upload span.owned-sub {
  display: inline;
  color: #222;
  background-color: white;
  font-size: 1.2rem;
  font-weight: normal;
  padding: 5px 25px;
  line-height: 2rem;
  border-radius: 15px;
  border: 2px solid #3d3;
}
button.disabled {
  color: #aaa;
  background-color: #666;
  border-color: #555;
  cursor: not-allowed;
}
label.normal {
  margin-bottom: 15px;
  position: relative;
  min-width: 150px;
  padding-right: 60px;
}
label.wider {
  margin-bottom: 15px;
  position: relative;
  min-width: 275px;
}
svg.edit-field {
  position: absolute;
  top: -6px;
  right: 0;
  cursor: pointer;
  border-radius: 50%;
  padding: 8px;
  margin: 0 15px;
  width: 2.5rem;
  height: 2.5rem;
  transition-duration: 0.25s;
}
svg.edit-field:hover {
  box-shadow: 0 0 10px dodgerblue;
}
svg.edit-field path.shape {
  fill: var(--inverse);
}

/* Edit features modal */
.features-dialog {
  display: flex;
  flex-direction: column;
  max-height: calc(75vh - 250px);
  overflow-y: auto;
}
.features-dialog p.heading span {
  margin: 5px;
}
.features-dialog p.heading span:first-child {
  margin-right: 136px;
}
.features-dialog .feature {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 5px;
}
.features-dialog .feature input {
  flex-grow: 1;
  padding: 3px 10px;
  border: 1px solid #aaa;
  border-radius: 0 10px 10px 0;
  background-color: #f5f5f5;
}
.features-dialog .feature input:focus {
  outline: none;
  box-shadow: 0 0 10px dodgerblue;
}
.features-dialog .feature input:first-child {
  width: 200px;
  flex-grow: 0;
  border-radius: 10px 0 0 10px;
}

@media (max-width: 768px) {
  div.upload {
    max-width: 350px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.6rem;
  }
  table.upload.lead {
    font-size: 1rem;
  }
  table.details {
    font-size: 0.8rem;
  }
  div.text-box {
    font-size: 1rem;
  }
  .row.mobile-wrap .text-box {
    min-width: 60vw;
  }
}
