/* Default css file for jemdoc. */

table#tlayout {
  border: none;
  border-collapse: separate;
  background: white;
  width: 100%;
}

body {
  background: white;
    width:100%;
    height:100%;
  font-family: Calibri;
  font-size: 100%;
  padding-bottom: 1%;
  margin: auto;
}

#layout-menu {
  background: #fff;
  border-bottom: 0.1em solid #dddddd;
  padding-top: 1%;
  padding-left: 10%;
  padding-right: 10%;
  font-size: 150%;
  width: 80%;
/*  display: flex;
  align-items: center;
  justify-content: space-around; */
  height: 100%;
  white-space: nowrap;
  text-align: center;
  vertical-align: top;
  display: flex;
}

#layout-menu td {
  background: #f4f4f4;
  vertical-align: top;
}

#layout-content {
  padding-top: 1%;
  padding-left: 10%;
  padding-right: 10%;
  border: none;
  background: white;
  text-align: left;
  vertical-align: top;
  display: block;
}

#layout-menu a {
  /* line-height: 1.5%; */
  margin-left: 1.5%;
}

tt {
  background: #ffffdd;
}

pre,
tt {
  font-size: 90%;
  font-family: monaco, monospace;
}

a,
a > tt {
  color: #224b8d;
  text-decoration: none;
}

a:hover {
  border-bottom: 1px gray dotted;
}

#layout-menu a.current:link,
#layout-menu a.current:visited {
  color: #022b6d;
  /* border-bottom: 1px gray solid; */
}
#layout-menu a:link,
#layout-menu a:visited,
#layout-menu a:hover {
  color: #527bbd;
  text-decoration: none;
}
#layout-menu a:hover {
  text-decoration: none;
}

div.menu-category {
  font-weight: 700;
  font-size: 160%;
  /* width: 10em; */
  display: flex;
  text-align: center;
  line-height: 2.4em;
  margin-left: 0em;
  text-shadow: 0.3em 0.3em 0.2em rgb(117, 135, 142);
}

div.menu-category img{
	width: 3.6em;
	height: 3.6em;
	margin-left: 1.5em;
}

/* .imgtable img{
	width: auto;
	height: 10em;
} */
.first{
	display: flex;
	width: 90%;
	flex-direction: column;
 }
 .sencode{
	 display: flex;
 }
div.menu-item {
  line-height: 300%;
  text-align: center;
  width: auto;
  font-size: 100%;
  margin-right: 3%;
}

div#toptitle {
  padding-bottom: 0%;
  margin-bottom: 0%;
  border-bottom: 0em double rgb(250, 245, 245);
}

/* Reduce space if we begin the page with a title. */
div#toptitle + h2,
div#toptitle + h3 {
  margin-top: 1%;
}

div#subtitle {
  margin-top: 0em;
  margin-bottom: 0em;
  padding-top: 0em;
  padding-bottom: 0.1em;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

h1,
h2,
h3 {
  color: #527bbd;
  margin-top:1%;
  margin-bottom: 1%;
  padding-bottom: 1%;
  line-height: 100%;
  padding-top: 1%;
  border-bottom: 0.05em solid #aaaaaa;
}

h1 {
  font-size: 165%;
}

h2 {
  padding-top: 1%;
  font-size: 125%;
}

h2 + h3 {
  padding-top: 0.2em;
}

h3 {
  font-size: 110%;
  border-bottom: none;
}

p {
  margin-top: 1%;
  margin-bottom: 1%;
  font-size: 100%;
  padding: 0em;
  line-height: 100%;
}

pre {
  padding: 0em;
  margin: 0em;
}

div#footer {
  font-size: small;
  border-top: 0.1em solid #c0c0c0;
  padding-top: 1%;
  margin-top: 1%;
  color: #c0c0c0;
}

div#footer a {
  color: #80a0b0;
}

div#footer-text {
  float: left;
  padding-bottom: 8px;
}

ul,
ol,
dl {
  margin-top: 1%;
  padding-top: 0;
  margin-bottom: 1%;
}

dt {
  margin-top: 0.5em;
  margin-bottom: 0;
}

dl {
  margin-left: 20px;
}

dd {
  color: #fdf8f8;
}

dd > *:first-child {
  margin-top: 0;
}

ul {
  list-style-position: outside;
  list-style-type: square;
}

p + ul,
p + ol {
  margin-top: -0.5em;
}

li ul,
li ol {
  margin-top: -0.3em;
}

ol {
  list-style-position: outside;
  list-style-type: decimal;
}

li p,
dd p {
  margin-bottom: 0.3em;
}

ol ol {
  list-style-type: lower-alpha;
}

ol ol ol {
  list-style-type: lower-roman;
}

p + div.codeblock {
  margin-top: -0.6em;
}

div.codeblock,
div.infoblock {
  margin-right: 0%;
  margin-top: 1%;
  margin-bottom: 1%;
}

div.blocktitle {
  font-weight: bold;
  color: #cd7b62;
  margin-top: 1%;
  margin-bottom: 1%;
}

div.blockcontent {
  border: 0.1em solid silver;
  padding: 1% 1%;
}

div.infoblock > div.blockcontent {
  background: #ffffee;
}

div.blockcontent p + ul,
div.blockcontent p + ol {
  margin-top: 0.4em;
}

div.infoblock p {
  margin-bottom: 0em;
}

div.infoblock li p,
div.infoblock dd p {
  margin-bottom: 0.5em;
}

div.infoblock p + p {
  margin-top: 0.8em;
}

div.codeblock > div.blockcontent {
  background: #f6f6f6;
}

span.pycommand {
  color: #000070;
}

span.statement {
  color: #008800;
}
span.builtin {
  color: #000088;
}
span.special {
  color: #990000;
}
span.operator {
  color: #880000;
}
span.error {
  color: #aa0000;
}
span.comment,
span.comment > *,
span.string,
span.string > * {
  color: #606060;
}

@media print {
  #layout-menu {
    display: none;
  }
}

#fwtitle {
  margin: 2px;
}

#fwtitle #toptitle {
  padding-left: 0.5em;
  margin-bottom: 0.5em;
}

#layout-content h1:first-child,
#layout-content h2:first-child,
#layout-content h3:first-child {
  margin-top: -0.7em;
}

div#toptitle h1,
#layout-content div#toptitle h1 {
  margin-bottom: 0em;
  padding-bottom: 0.1em;
  padding-top: 0;
  margin-top: 0.5em;
  border-bottom: none;
}

img.eq {
  padding: 0;
  padding-left: 0.1em;
  padding-right: 0.1em;
  margin: 0;
}

img.eqwl {
  padding-left: 2em;
  padding-top: 0.6em;
  padding-bottom: 0.2em;
  margin: 0;
}

table {
  border: 0.1em solid black;
  border-collapse: collapse;
}

td {
  padding: 0.2em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  text-align: center;
  /* border: 1px solid gray; */
}

table + table {
  margin-top: 1em;
}

tr.heading {
  font-weight: bold;
  border-bottom: 200px solid black;
}

img {
  border: none;
}

table.imgtable,
table.imgtable td {
  border: none;
  text-align: left;
}