﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.container {max-width: 1600px; padding-right: 20px;}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


body {
  padding-top: 50px;
  padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
  padding-left: 15px;
  padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
  white-space: normal;
}



/*homepage*/
.BlueText { color: blue;}
.left{display:inline-block}
.right{display:inline-block; float:right}

/*question display*/

#pleaseTag {
  background-color: lightgreen;
}

.voteBox {
  float: Left;
  display: table-cell;
  white-space: nowrap;
  margin-right: 25px;
}

.questionBox {
  display: table-cell;
  vertical-align: top;
  width: 99%;
}
.editLink {
  color: cadetblue;
  font-size: 60%;
}
#ShowTitle a:last-child {
  color: cadetblue;
  font-size: 30%;
}

#EditTitle input {
  width: 100%;
  max-width: none;
}

#EditTitle {
  display: none;
}
/* voting */

.voteNumber {
  font-size: 18px;
  text-align: center;
}

.arrowUp {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid black;
  cursor: pointer;
}

.arrowDown {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid black;
  cursor: pointer;
}

.arrowUpSelected {
  border-bottom: 20px solid orange;
}
.arrowDownSelected {
  border-top: 20px solid orange;
}

/*Comments*/
.buttonBox {
  float: right;
  display: table-cell;
  white-space: nowrap;
  margin-right: 5px;
  margin-top: 5px;
}

.commentEntry {
  width: 99%;
  max-width: none;
}

.commentMetadata {
  color: cadetblue;
  font-size: 60%;
}

.commentUI ul li p{ margin: 0;}


/*Revison Screen*/
.revisonHeaderText {
  font-size: 18px;
}

.revisonHeader {
  background: lightgrey;
}

/*search screen*/

.showGrid {
  border-collapse: collapse;
  border: 1px solid black;
}

.showGrid td {
  border: 1px solid black;
  padding: 2px;
}

.groupButton {
  margin-top: 10px;
  margin-bottom: 10px;
}

/*Display paper data*/
.paperData {
  display: table;
}

.paperItem {
  display: table-row
}

.paperLabel {
  display: table-cell;
  padding-right: 15px;
  font-weight: bold;
  white-space: nowrap;
}

.paperDatum {
  display: table-cell
}

.journalName {
  font-style: italic
}

.toolTipHost {
  position: relative;
  display: inline-block;
}

.toolTipHost>:first-child {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -60px;
  white-space: normal;
}

.toolTipHost>:first-child:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;

}

.toolTipHost:hover>:first-child {
  visibility: visible;
}

#tagContainer>a:last-child {
  color: cadetblue;
  font-size: 80%;
}

/* home page*/


#Tags{
  width: 100%;
  max-width: none;
}

#SearchBox {
  width: 100%;
  display: table
}
#SearchBox > input {
  width: 100%;
  max-width: none;
  display: table-cell;
}

#SearchBox > a {
  display: table-cell;
}

.dBNum { text-align: right;}

/*icons are 16 x 16 */
.qI {
  padding: 0.15em 0 0em 1.3em;
  margin-bottom: 0.0em;
  text-indent: 0.4em;
  list-style: none;
  background-repeat: no-repeat;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAAAAACo4kLRAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACMSURBVBjTY/iPBTDAGA93bD77F1WwggEMjB4hCUoywMAFuGACAwLABUEchf//tUH0HajgFQYmJoYZ//9PBwmeRbb9//8DTCjaQeCLBNjIGSiCAiAhttMojr8LEstE89FOmHnIgl+PnTl9HsPv2AIkF6T9DZpgKUjwPZpgGTbBLGzar63dtGnNb3y2AwADqS5Sj2onGwAAAABJRU5ErkJggg==');
}

.pI {
  padding: 0.15em 0 0em 1.3em;
  margin-bottom: 0.0em;
  text-indent: 0.4em;
  list-style: none;
  background-repeat: no-repeat;
  background-image:  url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAABlBMVEUAAAD///+l2Z/dAAAAK0lEQVR4AWNABoxQAGEh2JiCQIgpCEQwQbiJYBIqiAJIF0R26bDVjgbAggDoNAESUS4mMAAAAABJRU5ErkJggg==);
}

.ssI {
  padding: 0.15em 0 0em 1.3em;
  margin-bottom: 0.0em;
  text-indent: 0.4em;
  list-style: none;
  background-repeat: no-repeat;
  background-image:  url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAABMSURBVDhPY/wPBAwUALABjIyMUC5pAGQ33AAQhxQA08ME5ZMNRg2gggHUSQdQPlZAKI3g9QLMZfhcSLtARLcVlyto4wJctmGKMzAAALI0IxpVyB7sAAAAAElFTkSuQmCC);
}

.cpI {
  padding: 0.15em 0 0em 1.3em;
  margin-bottom: 0.0em;
  text-indent: 0.4em;
  list-style: none;
  background-repeat: no-repeat;
  background-image:  url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACYSURBVDhPY/z//z8DDOyqjoCyYMCtdQWUBQNMUBqbaiDAFIRqgEu4t62EM+BsZICwARdAswTqB6zugQMUnwA1QMDOqnCoEBIACkKlYYDkUELRAAFwbZiqgQCnp7GqBgIsNjh4noWyGBgObDeGsmAAoQFZHRpA1gbVgEc1HEC0gfxAjGo4YLT3OANlEgGAlhBOGmiARA0MDACwE1VaYami8wAAAABJRU5ErkJggg==);
}

.testimonyI {
  padding: 0.15em 0 0em 1.3em;
  margin-bottom: 0.0em;
  text-indent: 0.4em;
  list-style: none;
  background-repeat: no-repeat;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAChSURBVDhPY9hZFf6fFMDEwMCwqzoCSBIJQBqAAFkPIwaASoABC4Rya10BYQClgY6EsOEAKAh0DITNtF0iHYggHKyqgQBZEOokCIBLuLetRGPA3YyiAe4wuE44Ay6FogEI4BLIAFkQXQMQAKWRVaAZgUUDfsBYMGkflEkI9Oc6AkkSbCicvB9IkuYkoB5EFMIBxCQ0AHQPyTaQ7Acg6M91BABYaWEk8KNBoAAAAABJRU5ErkJggg==);
}


.expertReportI {
  padding: 0.15em 0 0em 1.3em;
  margin-bottom: 0.0em;
  text-indent: 0.4em;
  list-style: none;
  background-repeat: no-repeat;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAABQSURBVDhPY/z//z8DGDAyMkIYaACuAAJQNPz/BGEiACMfiETWwwSlcQOgKciWE9YAsQSuh4CT4ACoDaKSsA1oYFQDMWAQaiCcvOEApJKBAQDnqh4X7b49KwAAAABJRU5ErkJggg==);
}

.legalItemI {
  padding: 0.15em 0 0em 1.3em;
  margin-bottom: 0.0em;
  text-indent: 0.4em;
  list-style: none;
  background-repeat: no-repeat;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAALiIAAC4iAari3ZIAAAH4SURBVDhPjZS/y0FRHMbvpGTDIItMFpRBUVb/gGQySMJmMRhIBovZrkhRROFvYKf8CosMQgmZ9Lx9j3Nu9/W6Xk+dnO/3PM/HOZdzJXyhbreLRqPBq8/6ChiPxxEOh3n1WV8BU6kUg36jf4HJZBIejwderxeRSIR31SUDaQe9Xo8FJUmCxWJBIBBANpuFXq+H0WhEJpNBMBiE1WplHrfbjU6ng1gsxikKYLFYRK1W4xUwmUzQbrdRLpdht9ths9nYvNVqYTwecxdQr9dRKBR4pQBWq1U++yutVst2pCblRmRXv9/Hcrnk1W/pdDpVIGUoKyS7BoOBKlCj0XwEUlaIuWazGTabDfb7Pc7nM1tQimDvgOSlDGXn8znrMRcVq9WKNZQPXEgNKLzr9fo3cDqdYrfb4fF4sF/3VWpA8lKGssQgSYfDAff7HdfrFbfbjX1ST6l3wOPxiMvlImeIQTmJjkqNxWKB4XDI5uLbSKfTSQZut1vefZ6KvKPRiB2XwMSS0um0HBCDrppQs9mU+5VKhXfBPMoMDcaiRbpeBoOB/d9CoRALCNHtEIFSqcS7T5GXMpTN5XKs9/dJv4ggApjP53lXXf8CfT6fDHS5XLyrro/ARCIBk8nEXg40zGYzotEoX30vVSC9mpxOJ9uhcjgcDvj9fu56FfAD0DI63KcFGdUAAAAASUVORK5CYII=);
}

.unindentList {
  padding-left: 0;
}

.highlight { background-color: yellow; }

/*Feeds page*/
#filterTags {
  width: 700px;
}

/*footer*/
.alignleft {
  float: left;
}

.alignright {
  float: right;
}

/*about page*/
.aboutImg img{
  border: 1px solid black;
}

.aboutImg {
  margin: 20px 0;
  text-align: center;
}

.tagDisplay label {
  margin-right: 10px;
}

.tagDisplay {white-space:normal}

.tagDisplay a {
  background: lightblue;
  padding: 1px 4px;
  margin: 1px;
  border-radius: 10px;
  white-space:nowrap;
}

.tagDisplay input {width: auto}
a.selectedTag {
  background: pink;
}
a.rejectedTag {
  background: darkgray;
  text-decoration: line-through;
}
.tagDisplay img {
  margin-right: 3px
}

/*MArkdown Editor*/
.noMaxWidth {
  width: 100%;
  max-width: none;
}

.renderedMarkdown table {
  border-collapse: collapse;
}

.renderedMarkdown td, .renderedMarkdown th {
  border: 1px solid #000000;
  padding: 3px;
}

.noTableLines td, .noTableLines th{
  border-width: 0;
}

.noTableLines {border-width: 0;}

/*doc Viewer*/
.docViewer {
  width: 100%;
  height: 90vh;
}
.indexScreen {
  height: 95vh;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr 3fr;
  grid-template-areas: "head head"
  "index doc"

}

.indexDiv {
  grid-area: index;
  overflow-y: auto;
}

.indexScreen h2{ grid-area: head;}
.indexScreen .indexDocViewer{ grid-area: doc;}

/*select items*/
.itemSelector {
  display: none;
}

.groupSelector {
  display: none;
}

.titleSearchBox {
  width: 100%;
  margin-top: 10px;
}

/* TagQuery view*/
.vertSpace {padding-bottom: 5px;}

/*OBCAP Intrusive editor*/
.oiContainer {
  display:grid;
  grid-template:
          "bigHead smallHead" auto
          "bigHead hint" auto
          "text    hint" 2fr
          "foot    hint" 1fr / 3fr 1fr;
  grid-gap: 2px;
}

.oiHeader {grid-area: bigHead}
#oiEditor {
  grid-area: text;
  max-width: none;
}
#oiFootnotes {
  grid-area: foot;
  background: tan;
}
.oiHintHeader {grid-area: smallHead}
.oiHints { grid-area: hint; background: lightblue;}

.fullscreen {
  position: fixed;
  top: 50px;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  background: white;
}

#frameSource {
  top: 0;
  left: 0;
  width: 98%;
  height: 100%;
  border: 0;
  overflow-x: hidden;
}

#oiHintsLoading {
  grid-area: smallHead;
  justify-self: flex-end;
  color: red;
  display: none;
}

a:not([href]) {
  color: #007bff!important;
}

a:not([href]):hover {
  text-decoration: underline!important;
  cursor: pointer;
}

.btn{
  border: 1px solid!important;
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p:first-child {
  display: inline;
}

blockquote p:nth-child(2){
  margin-top: 1rem;
}

table{
  border-collapse:collapse;
  border:1px solid black;
}

table td, table th{
  border:1px solid black;
}

.navbar input {max-width: none;}