@media all and (max-width: 55.9em) {
  div.spc_lng { display:block; float:left; }
  div.spc_menu { display:block; float:left; }
  div.spc_ext { display:block; float:left; }
  div.spc_links { display:block; clear:left; }
  div.spc_main { display:block; clear:left; }
  div.mlo { display:none; }
  body {
    margin: 0em; 
  }
  div.maincontent {
    padding-left:0.2em;padding-right:0.2em;
  }
}

@media all and (min-width: 56em) {
  div.spc_lng { display:block; clear:left; }
  div.spc_menu { display:block; clear:left; }
  div.spc_ext { display:block; clear:left; }
  div.spc_links { display:block; float:left; width: 24%; }
  div.spc_main { float:left; width: 75%; }
  div.mlo { display:block; }
  body {
    margin: 0.5em; 
  }
  div.maincontent {
    border: 1px solid silver;
    margin-left:1em;padding-left:1em;padding-right:1em;padding-top:1em;padding-bottom:2em;
    -webkit-border-radius:0.7em;-moz-border-radius:0.7em;border-radius:0.7em;
    max-width:42em;
  }
}



body {
  font-family:'Times New Roman',serif; background:#8E9ECC; color:#333333;
}

a:link    { color:#000080; }
a:visited { color:#000080; }
a:active  { color:#000080; }

a.menu:link    { color:#000000; text-decoration:none; }
a.menu:visited { color:#000000; text-decoration:none; }
a.menu:focus   { color:#000080; text-decoration:underline; }
a.menu:hover   { color:#000080; text-decoration:underline; }
a.menu:active  { color:#000000; text-decoration:none; }
a.lang:link    { color:#000000; text-decoration:none; }
a.lang:visited { color:#000000; text-decoration:none; }
a.lang:focus   { color:#000080; text-decoration:underline; }
a.lang:hover   { color:#000080; text-decoration:underline; }
a.lang:active  { color:#000000; text-decoration:none; }

div.menulink{  padding-left:0.5em; padding-top:0.2em;padding-bottom:0.2em;}

div.menuthis{ padding-left:0.5em; padding-top:0.2em;padding-bottom:0.2em;background: #CDD5E1;color:#000000;-webkit-border-radius:0.4em;-moz-border-radius:0.4em;border-radius:0.4em;}
div.menulink:hover{  padding-left:0.5em; padding-top:0.2em;padding-bottom:0.2em; background: #CDD5E1; color:#000080;-webkit-border-radius:0.4em;-moz-border-radius:0.4em;border-radius:0.4em;}

div.menu{ padding-left:0.5em; padding-top:0.2em;padding-bottom:0.2em;color:#000000;}
span.langlink:hover{ background: #CDD5E1; color:#000080;}
span.lang{ color:#000000;}

div.maincontent {
  background: #FFFFFF;
  text-align: justify;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Times New Roman',serif;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  line-height: 1.3;
  text-align: left;
  color:#000000;
}

h2 {
  padding-top: 0.5em;
}

div.sectionbody {
  font-family: 'Times New Roman',serif;
  margin-left: 0;
}

hr {
  border: 1px solid silver;
}

p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

ul, ol, li > p {
  margin-top: 0;
}

pre {
  padding: 0;
  margin: 0;
}

span#author {
  font-family: 'Times New Roman',serif;
  font-weight: bold;
  font-size: 1.1em;
}
span#email {
}
span#revision {
  font-family: 'Times New Roman',serif;
}

div#footer {
  font-family: 'Times New Roman',serif;
  font-size: small;
  border-top: 2px solid silver;
  padding-top: 0.5em;
  margin-top: 4.0em;
}


div.tableblock {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

div.imageblock, div.exampleblock, div.verseblock,
div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
div.admonitionblock {
  margin-right: 10%;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
div.admonitionblock {
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}

div.content { /* Block element content. */
  padding: 0;
}

/* Block element titles. */
div.title, caption.title {
  font-family: 'Times New Roman',serif;
  font-weight: bold;
  text-align: left;
  margin-top: 1.0em;
  margin-bottom: 0.5em;
}
div.title + * {
  margin-top: 0;
}

td div.title:first-child {
  margin-top: 0.0em;
}
div.content div.title:first-child {
  margin-top: 0.0em;
}
div.content + div.title {
  margin-top: 0.0em;
}

div.sidebarblock > div.content {
  background: #ffffee;
  border: 1px solid silver;
  padding: 0.5em;
}

div.listingblock {
  margin-right: 0%;
}
div.listingblock > div.content {
  border: 1px solid silver;
  background: #f4f4f4;
  padding: 0.5em;
}

div.quoteblock {
  padding-left: 2.0em;
}
div.quoteblock > div.attribution {
  padding-top: 0.5em;
  text-align: right;
}

div.verseblock {
  padding-left: 2.0em;
}
div.verseblock > div.content {
  white-space: pre;
}
div.verseblock > div.attribution {
  padding-top: 0.75em;
  text-align: left;
}
/* DEPRECATED: Pre version 8.2.7 verse style literal block. */
div.verseblock + div.attribution {
  text-align: left;
}

div.admonitionblock .icon {
  vertical-align: top;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: underline;
  padding-right: 0.5em;
}
div.admonitionblock td.content {
  padding-left: 0.5em;
  border-left: 2px solid silver;
}

div.exampleblock > div.content {
  border-left: 2px solid silver;
  padding: 0.5em;
}

div.imageblock div.content { padding-left: 0; }
div.imageblock img { border: 1px solid silver; }
span.image img { border-style: none; }

.half-width img{
  max-width:50%;
  height: auto;
}

.full-width img{
  max-width:100%;
  height: auto;
}

.grid-all table{
  border: 1px solid;
}
table.grid-all th, table.grid-all td {
  border: 1px solid;
}
table {
  border-collapse: collapse;
}
th, td {
  padding-left: 3px;
  padding-right: 3px;
}

dl {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
dt {
  margin-top: 0.5em;
  margin-bottom: 0;
  font-style: normal;
}
dd > *:first-child {
  margin-top: 0.1em;
}

ul, ol {
    list-style-position: outside;
}
div.olist > ol {
  list-style-type: decimal;
}
div.olist2 > ol {
  list-style-type: lower-alpha;
}

div.tableblock > table {
  border: 3px solid #527bbd;
}
thead {
  font-family: 'Times New Roman',serif;
  font-weight: bold;
}
tfoot {
  font-weight: bold;
}

div.hlist {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
div.hlist td {
  padding-bottom: 15px;
}
td.hlist1 {
  vertical-align: top;
  font-style: normal;
  padding-right: 0.8em;
}
td.hlist2 {
  vertical-align: top;
}

@media print {
  div#footer-badges { display: none; }
}

div#toctitle {
  font-family: 'Times New Roman',serif;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 1.0em;
  margin-bottom: 0.1em;
}

div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
  margin-top: 0;
  margin-bottom: 0;
}
div.toclevel2 {
  margin-left: 2em;
  font-size: 0.9em;
}
div.toclevel3 {
  margin-left: 4em;
  font-size: 0.9em;
}
div.toclevel4 {
  margin-left: 6em;
  font-size: 0.9em;
}

div.langsorry {
  border: 1px solid silver;
  padding: 0.5em;
  margin: 0.5em;
  text-align: center;
  background: #CDD5E1;
  -webkit-border-radius:0.7em;-moz-border-radius:0.7em;border-radius:0.7em;
  
}

div.lightbox {
  border: 1px solid silver;
  padding: 0.5em;
  margin: 0.5em;
  background: #FFFFFF;
  -webkit-border-radius:0.7em;-moz-border-radius:0.7em;border-radius:0.7em;
}


div.newshead { margin-top: 0.7em;color:#000000; }
div.newscontent { 
  margin-left: 3em;
}
