
#qs { width: auto; border-style: solid; border-color: gray; border-width: 1px 1px 0px 1px; padding: 0.5em 0.5em; display:none; position:relative; }
#qs form { padding: 0px; margin: 0px; }
#qs form p { padding: 0px; margin: 0px; }

.invalidsearch { background-color: red; }

.qstable table { border: 1px gray solid; width: 100%; empty-cells: show; }
.qstable th, td { border: 1px gray solid; padding: 0.5em; vertical-align: top;  }
.qstable td { text-align: left; vertical-align: top; }
.qstable th { background-color: #EFEFEF; }

.qstable td a { color: navy; text-decoration: none; }
.qstable td a:hover  { text-decoration: underline; }

.qstable tr.notrxval { display: none;}
.qstable tr.noshow { display: none;}
.qstable tr.highlight td { background-color: #F1F1F1; border-top: 2px black solid; font-weight: bold; }
.qstable tr.nextshow td { border-bottom: 1px gray solid; }
.qstable tr.lastshow td { border-bottom: 2px black solid; }

.qstable tr.abstract td { background-color: #C4DDF6;  }
.qstable tr.review td { background-color: pink;  }
.qstable tr.bibtex td { background-color: #F6D288;  }
.qstable tr.bibtex pre { width: 100%; background:#BBCDAA;}

.menutable td {border: 0px;}
.unknow td {border: 0px;}

p.infolinks { margin: 0.5em 0em 0em 0em; padding: 0px; }
/*
#qssettings { padding: 0.5em; position: absolute; top: 0.2em; right: 0.2em; border: 1px gray solid; background-color: pink; display: none; }

*/
#qssettings { padding: 0.5em; padding-top: 3px; border: 1px gray solid; background-color: pink; display: none; width:100%; min-height:10px;}
#qssettings p { font-weight: bold; cursor: pointer; }
#qssettings ul { display: none; list-style-type: none; padding-left: 0; margin: 0; }
#qssettings.active ul { display: block; }
/*
#qsedition { padding: 0.5em; position: absolute; top: 0.2em; right: 10%; border: 1px gray solid; background-color: pink; display: none; }
*/
#qsedition { padding: 0.5em; padding-top: 3px; border: 1px gray solid; background-color: pink; display: none; width:100%; min-height:10px;margin-left:2px;}
#qsedition p { font-weight: bold; cursor: pointer; }
#qsedition ul { display: none; list-style-type: none; padding-left: 0; margin: 0; }
#qsedition.active ul { display: block; }


@media print {
	p.infolinks, #qssettings, #qsedition, #qs { display: none !important; }
	.qstable table { border-width: 0px; }
	.qstable tr { page-break-inside: avoid; }
	.qstable tr > * + * + * + * + * {display: none; }
	.qstable thead tr::before { content: "Reference"; border: 1px gray solid; padding: 0.5em; vertical-align: top; font-weight: bold; text-align: center; display: table-cell; background-color: #EFEFEF; }
	.qstable tr[id]::before { content: attr(id); display: table-cell; border: 1px gray solid; padding: 0.5em; vertical-align: top; font-style: italic; }
}
