body {
  background-color: #1818ab;
  color: #eee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
  width: 80%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: tolo;
}

div {
  width: 100%;
  min-width: 400px;
  max-width: 700px;
}

form {
  margin-block-end: 1em;
}

.form {
  background-color: #3737f0;
  border-width: 2px;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  max-height: 300px;
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
  min-width: 400px;
  max-width: 700px;
  justify-content: center;
  align-content: center;
}

.user-content {
  background-color: #3737f0;
  border-width: 2px;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  margin-bottom: 10px;
  min-width: 400px;
  max-width: 700px;
}

.health-link {
  display: flex;
  flex-direction: row;
}

.footer {
  background-color: #3737f0;
  border-width: 2px;
  border-radius: 10px;
  box-sizing: border-box;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 100%;
  min-width: 400px;
  max-width: 700px;
  font-size: 20px;
}

.light-mode {
  color: black;
  background-color: #e8e8e8;
  border-color: black;
}

.dark-mode {
  color: #dcdcdc;
  background-color: #112;
  border-color: #dcdcdc;
}

.light-mode .form {
  color: inherit;
  background-color: #dcdcdc;
}

.light-mode .user-content {
  color: inherit;
  background-color: #dcdcdc;
}

.light-mode .footer {
  color: inherit;
  background-color: #dcdcdc;
}

.dark-mode .form {
  color: inherit;
  background-color: #484b66;
}

.dark-mode .user-content {
  color: inherit;
  background-color: #484b66;
}

.dark-mode .footer {
  color: inherit;
  background-color: #484b66;
}

thead {
  background-color: inherit;
  font-size: 1.6em;
}

tbody {
  background-color: inherit;
  font-size: 1.2em;
}

table,
th,
td {
  table-layout: fixed;
  align-content: center;
  text-align: center;
  overflow: hidden;
}

table thead tr {
  text-align: left;
  background-color: #3737f0;
}

table tbody tr:nth-of-type(even) {
  background-color: #3737f0;
}

.light-mode table thead tr {
  background-color: #dcdcdc;
}

.light-mode table tbody tr:nth-of-type(even) {
  background-color: #dcdcdc;
}

.dark-mode table thead tr {
  background-color: #484b66;
}

.dark-mode table tbody tr:nth-of-type(even) {
  background-color: #484b66;
}

.dark-mode .dropdown-content {
  background-color: #484b66;
}

.dark-mode .dropdown:hover {
  background-color: #484b66;
}

.light-mode .dropdown-content {
  background-color: #dcdcdc;
}

.light-mode .dropdown:hover {
  background-color: #dcdcdc;
}

.light-mode .dropdown-content a {
  color: black;
}

button.theme-pick {
  border: none;
  background-color: inherit;
}

img.theme-pick,
img.theme-pick-chosen {
  width: 50px;
  height: 50px;
}

img.theme-pick-chosen {
  width: 50px;
  height: 50px;
  background-color: rgba(18, 237, 51, 0.7);
}

img.theme-pick:hover {
  background-color: rgba(237, 230, 18, 0.7);
}

div[id^="vis_user_"] {
  display: flex;
  justify-content: center;
}

table {
  border-collapse: collapse;
  text-align: left;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 0.9em;
  border-width: 2px;
  width: 100%;
  min-width: 400px;
  max-width: 700px;
  align-items: center;
  justify-content: center;
}

thead > tr > th.col_heading.col0 {
  border-top-left-radius: 10px;
}

#T_user-metadata > thead > tr > th.col_heading.col3 {
  border-top-right-radius: 10px;
}

#T_requested-obj-metadata > thead > tr > th.col_heading.col8 {
  border-top-right-radius: 10px;
}

#T_search-metadata > thead > tr > th.col_heading.col3 {
  border-top-right-radius: 10px;
}

#T_repo-metadata > thead > tr > th.col_heading.col5 {
  border-top-right-radius: 10px;
}

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

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

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

#T_user-metadata > thead > tr > th.col0, th.col1, th.col2, th.col3 {
 width: 80px;
}

#T_requested-object-metadata > thead > tr > th.col0, th.col1, th.col2, th.col3 {
 width: 80px;
}

#T_repo-metadata > thead > tr > th.col0 {
 width: 75px;
}

#T_repo-metadata > thead > tr > th.col1 {
 width: 60px;
}

#T_repo-metadata > thead > tr > th.col2, th.col4 {
 width: 100px;
}

#T_repo-metadata > thead > tr > th.col5 {
 width: 110px;
}

div.search-table {
  display: flex;
  justify-content: center;
  width: 80%;
  min-width: 400px;
}

#T_search-metadata > thead > tr > th.col0, th.col1, th.col2, th.col3 {
 width: 80px;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
}

a#user-icon:hover {
  background-color: inherit;
}

p {
  width: 90%;
  margin: inherit;
}

tr {
  padding: 20px;
}

.form.login {
  height: 290px;
}

div.form-group {
  border-radius: 10px;
  box-sizing: border-box;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 90%;
  min-width: 80px;
  max-width: 400px;
  margin-bottom: 5px;
}

.form-control-label {
  box-sizing: border-box;
  border-width: 5px;
  border-color: inherit;
  width: 20%;
  min-width: 71px;
  display: inline-block;
}

#ignore.form-group {
  display: flex;
  flex-direction: row;
  min-width: 240px;
  max-width: 240px;
  height: 40px;
  padding: 10px;
}

#ignore > .form-control-label {
  min-width: 50px;
}

#ignore > .form-control {
  border-radius: 10px;
}


.form-group > #search_request {
  border-radius: 10px;
  width: 80%;
  min-width: 300px;
  color: black;
  font-size: 24px;
}

.btn-search {
  height: 30px;
  width: 30px;
  background-color: transparent;
  border-style: none;
  padding: 0px;
  position: relative;
  right: 40px;
  top: 10px;
}

img.search {
  height: 30px;
  width: 30px;
}

.form-control {
  color: dimgray;
  border-radius: 10px;
  justify-content: right;
  width: 79%;
  height: 34px;
  display: inline-block;
}

.form-check {
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  padding: 10px;
  justify-content: left;
  min-width: 100px;
  max-width: 100px;
}

.btn-primary {
  font-size: 18px;
  border-radius: 10px;
  background-color: inherit;
  width: 200px;
  height: 40px;
}

.btn-copy {
  font-size: 18px;
  border-radius: 10px;
  background-color: white;
  width: 60px;
  height: 40px;
}

ul.plots {
  display: flex;
}

span.plots {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  min-width: 400px;
  max-width: 700px;
}

/*
* div.plot {
*   width: 440px;
*   min-width: 400px;
*   min-height: 400px;
* }
*/

div.vega-embed.has-actions {
  padding-right: 0px;
}

.vega-embed summary {
  z-index: 0;
  position: relative;
}


#vg-tooltip-element {
  width: 50px;
  min-width: 10px;
  max-width: 40px;
  font-size: 16px;
  padding: 2px;
  font-family: inherit;
}

#left.direction {
  right: 10px;
}

#right.direction {
  left: 10px;
}

button.direction {
  padding: 0px;
  width: 55px;
  height: 55px;
  background-color: transparent;
  border: none;
  position: relative;
  top: 150px;
}

img.direction {
  width: 55px;
  height: 55px;
  border-radius: 28px;
  border-color: white;
  border-width: 2px;
  border-style: solid;
}

.invalid-feedback {
  font-size: 8px;
  color: coral;
}

.title {
  color: #eee;
  font-size: 36px;
  font-weight: 600;
  margin-top: 30px;
}

.subtitle {
  color: #eee;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

.input-container {
  height: 50px;
  position: relative;
  width: 100%;
}

.ic1 {
  margin-top: 40px;
}

.ic2 {
  margin-top: 30px;
}

.input {
  background-color: #303245;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  font-size: 18px;
  height: 100%;
  outline: 0;
  padding: 4px 20px 0;
  width: 100%;
}

.cut {
  border-radius: 10px;
  height: 20px;
  left: 20px;
  position: absolute;
  top: -20px;
  transform: translateY(0);
  transition: transform 200ms;
  width: 76px;
}

.cut-short {
  width: 50px;
}

.input:focus ~ .cut,
.input:not(:placeholder-shown) ~ .cut {
  transform: translateY(8px);
}

input[type="submit" i] {
  border-width: 4px;
  border-color: inherit;
}

.placeholder {
  color: #65657b;
  left: 20px;
  line-height: 14px;
  pointer-events: none;
  position: absolute;
  transform-origin: 0 50%;
  transition: transform 200ms, color 200ms;
  top: 20px;
}

.input:focus ~ .placeholder,
.input:not(:placeholder-shown) ~ .placeholder {
  transform: translateY(-30px) translateX(10px) scale(0.75);
}

.input:not(:placeholder-shown) ~ .placeholder {
  color: #808097;
}

.input:focus ~ .placeholder {
  color: #dc2f55;
}

.submit {
  background-color: #08d;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 18px;
  height: 50px;
  margin-top: 38px;
  text-align: center;
  width: 100%;
}

.submit:active {
  background-color: #06b;
}

.header {
  display: flex;
  flex-direction: row;
  white-space: nowrap;
  color: #dcdcdc;
  width: 100%;
  min-width: 400px;
  max-width: 700px;
  justify-content: center;
}

a.header {
  width: 100%;
  font-size: 40px;
  font-weight: bold;
}

.quicklink {
  font-size: 16px;
}

.image-link {
  padding: 4px 6px;
}

.image-link:hover {
  background-color: inherit;
}

/* dropdown hover but not title or menu-icon*/
li a:hover,
.dropdown:hover {
  background-color: #4169e1;
}

.menu-icon:hover {
  background-color: inherit;
}

li a:hover,
.dropdown:hover {
  background-color: #4169e1;
}

li.dropdown {
  display: inline-block;
}

div.dropdown {
  width: 100%;
  min-width: 60px;
  max-width: 60px;
}

div.dropdown-content {
  width: 100%;
  min-width: 130px;
  max-width: 130px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: inherit;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  font-size: 16px;
  width: 100%;
  min-width: 100px;
  max-width: 100px;
}

.dropdown-content a {
  color: inherit;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  background-color: inherit;
}

.dropdown-content a:hover {
  background-color: #4169e1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.main-icon,
.menu-icon {
  color: inherit;
  width: 55px;
  height: 55px;
  margin-top: 5px;
  border-radius: 28px;
}

.menu-banner {
  color: inherit;
  width: 220px;
  height: 55px;
  margin-top: 5px;
  border-radius: 28px;
}

.user-icon {
  border-style: solid;
  border-width: 4px;
}

#user-icon-nouser.user-icon {
  border-color: inherit;
}

#user-icon-user.user-icon {
  border-color: green;
}

textarea.content {
  background: inherit;
  color: inherit;
  background-color: inherit;
  width: 80%;
  margin-top: 10px;
}

div.about {
  background: inherit;
  color: inherit;
  background-color: inherit;
  width: 80%;
  margin-top: 10px;
}

form.limit {
  flex-direction: row;
  border-radius: 10px;
  margin-bottom: 10px;
  max-height: 60px;
}

.btn-more {
  font-size: 12px;
  width: 60px;
  height: 40px;
  padding: 0;
}

div.loading {
  display: none;
  z-index: 2;
  min-width: 100px;
  max-width: 100px;
  min-height: 100px;
  max-height: 100px;
  position: fixed;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
  margin: auto;
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.cursor-wait {
  cursor: wait;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.flashes {
  justify-content: center;
  margin-bottom: 5px;
}

div.warning,
div.error,
.flashes {
  font-size: 16px;
  white-space: nowrap;
  width: 500px;
}

div.error {
  color: red;
}

div.warning {
  color: yellow;
  background-color: inherit;
}

input.nbr-input {
  width: 40px;
  text-align: right;
}

div.invalid-feedback {
  font-size: 12px;
}

div.snippet {
  display: inline;
  border-width: 3px;
  border-style: dashed;
  padding: 5px;
  white-space: nowrap; /* this might overwrite clipboard.js example but IDGAF*/
}

/* https://clipboardjs.com/assets/styles/main.css */
.clippy {
  margin-top: -3px;
  position: relative;
  top: 3px;
}

.btn[disabled]
.clippy {
  opacity: .3;
}

.example + .snippet {
  background: #f8f8f8;
  border-radius: 4px;
  border: 1px solid #ddd;
  clear: both;
  top: -20px;
  padding: 20px 0 0;
}

.snippet {
  position: relative;
  overflow: visible;
}

.snippet code {
  font-size: 14px;
  line-height: 20px;
}

.snippet .btn {
  -webkit-transition: opacity .3s ease-in-out;
  -o-transition: opacity .3s ease-in-out;
  transition: opacity .3s ease-in-out;
  opacity: 0;
  padding: 2px 6px;
  position: absolute;
  right: -34px;
  top: -2px;
}
.snippet:hover .btn,
.snippet .btn:focus {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .snippet .btn {
    opacity: 1;
  }
}

.example + .snippet .btn {
  top: 22px;
  right: 2px;
}

.repo-status {
  width: 100%;
  min-width: 525px;
  max-width: 700px;
}

.multiselect {
  min-width: 146px;
  width: 146px;
}

.selectBox {
  position: relative;
  min-width: 146px;
  width: 146px;
}

.selectBox select {
  width: 100%;
}

.overSelect {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#select-x {
  display: none;
  flex-direction: column;
  border: 1px #dadada solid;
  justify-content: left;
  background-color: white;
  color: black;
  min-width: 146px;
  width: 146px;
  padding: 8px;
}

#select-x label {
  display: flex;
}

#select-x label:hover {
  background-color: #1e90ff;
}
