/* vim: set sw=2 ts=2 sts=2 expandtab: */

:root {
  /* Colors */
  --w3-grey: #9e9e9e;
  --w3-dark-grey: #616161;

  /* Font sizes */
  --w3-large: 14pt;
  --w3-small: 10pt;
  --w3-xxlarge: 22pt;
  --w3-xxxlarge: 36pt;
}

/* Title */
title {
  font-size: 60px;
}

/* Body of the page */
body {
  background-color: white;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  height: 100vh;
  margin: 0;
}
html {
  font-family: Verdana, sans-serif;
  font-size: 12pt;
  line-height: 1.5;
}


/* Table */
table, th, td {border: 1px solid var(--w3-grey); border-collapse: collapse;}
th, td {padding: 5px;}
th {text-align: right;}
th.leftaln {text-align: left;}
td.clickable {
  text-align: right;
  outline: 0.1em solid transparent;
  outline-offset: -0.3em;
  transition: outline 222ms;
}
td.clickable:hover {
  outline: 0.1em solid #aaa;
}
td.nonclickable {text-align: right; font-style: italic; color:var(--w3-grey); background-color: #d5d5d5 }

#browse-layout-first {
  width: min-content;
  overflow: scroll;
  position: relative;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
#browse-layout-first::-webkit-scrollbar {
    display: none;
}

#browse-layout-second {
  display: flex;
  flex: 1;
}

#browse-ntc-select {
  flex: 1;
}

#browse-seq-select {
  flex: 1;
}

#home-layout-first {
  width: min-content;
  overflow: scroll;
  position: relative;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
#home-layout-first::-webkit-scrollbar {
    display: none;
}

#home-layout-second {
  display: flex;
  flex: 1;
}

#howtocite-layout-first {
  overflow: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
#howtocite-layout-first::-webkit-scrollbar {
    display: none;
}

@media screen and (min-width: 80em) {
  .limited-height {
    /* Nothing */
  }
}

@media screen and (max-width: 80em) {
  .limited-height {
    max-height: 75%;
  }
}

/* Show button in browser */
#submitquery {
  flex: 1;
}

#wva-app-home {
  flex: 1;
}

#wva-app-browse {
  flex: 1;
}

.footer {
  background-color: var(--w3-dark-grey);
  color: white;
  text-align: center;
  width: 100%;
}

.footer-gutter {
  background-color: var(--w3-grey);
  height: 0.5em;
  width: 100%;
}

.content-container {
  display: flex;
  max-height: 90vh;
}

.error {
    color: red;
}

.flex-item-samedim {
  flex: 1;
}

.flex-padder {
  flex: 4;
}

.flex-row {
  display: flex;
  gap: 1em;
}

.flex-cross-center {
  align-items: center;
}

.flex-main-center {
  justify-content: center;
}

.header {
  background-color: var(--w3-dark-grey);
  color: white;
  font-size: var(--w3-xxlarge);
  padding: 0.33em;
  text-align: center;
}

.index-pushbutton {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;

  align-items: center;
  background-color: white;
  border: none;
  display: flex;
  font-size: var(--w3-xxxlarge);
  height: 2em;
  justify-content: center;
  padding: 0!important;
  text-align: center;
  white-space: normal;
}
.index-pushbutton:hover {
  background-color: var(--w3-grey);
}

.navigation-tabs {
  background-color: var(--w3-grey);
  display: flex;
  font-size: var(--w3-large);
}

.navtab-icon {
  width: 1em;
  height: 1em;
}

.navtab-icon-large {
  height: 2em;
}

.navtab-pushbutton {
  align-items: center;
  display: flex;
  gap: 0.75em;
  justify-content: center;
  padding: 0.075em 0.5em;
  white-space: nowrap;
}
.navtab-pushbutton:hover {
  background-color: #4CAF50;
  color: white;
}

.navtab-pushbutton-selected {
  background-color: #4CAF50;
  color: white;
}

.ntc-caption-floating {
  background-color: white;
  color: navy;
  font-style: oblique;
  font-size: var(--w3-small);
  padding: 0.15em;
}

.ntc-seq-table {
  width: 100%;
  margin-bottom: 1em;
}

.ntc-seq-table-container {
  width: max-content;
}

.ntc-seq-title-text {
  max-width: 25em;
}

.proportional-layout {
  display: flex;
  flex: 1;
  gap: 1em;
  margin: 0;
  overflow: clip;
  padding: 0;
}

@media screen and (min-width: 80em) {
  .proportional-layout-responsive-flow {
    flex-direction: row;
  }
}

@media screen and (max-width: 80em) {
  .proportional-layout-responsive-flow {
    flex-direction: column;
  }
}

.pushbutton {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: 0.15em solid var(--w3-grey);
  border-radius: 0;
  white-space: normal;
}
.pushbutton:hover {
  background-color: white;
}

/* Tab content */
.tabcontent {
  display: none;
  flex: 1;
  -webkit-animation: fadeEffect 2s;
  animation: fadeEffect 3s;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0.15em;
  width: 100%;
}

.select-wrapper {
    border: 0.15em solid var(--w3-grey);
    border-radius: 0;
    margin: 0;
    padding: 0;
    position: relative;
}

.select-wrapper:after {
    content: "▿";
    position: absolute;
    right: 0.15em;
    top: 0;
}

.shadowed-block {
  box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
  margin: 2em;
  padding: 1em;
}

.viewer-error-msg {
  background-color: white;
  border: 0.1em solid black;
  color: red;
  left: 2em;;
  max-width: 75%;
  padding: 0.15em;
  position: relative;
  top: 2em;
  transition: opacity 1s;
}
.viewer-error-msg-fading {
  opacity: 0%;
}

.warning {
  color: #ff6600;
}

.w3-small {
  font-size: var(--w3-small);
}

.w3-large {
  font-size: var(--w3-large);
}

.w3-xxlarge {
  font-size: var(--w3-xxlarge);
}

.w3-xxxlarge {
  font-size: var(--w3-xxxlarge);
}
