
/* General and small screens */

html {
	font-size: 100%;
      scroll-behavior: smooth;
}
body {
	font: 1em Arial, sans-serif;
      line-height: 1.5;
      background-color: #fff;
      color: #333;
}
* {
      box-sizing: border-box;
}
header {
      margin: 0;
      text-align: center;
}
header, footer, main {
      display: block;
}
a:link {
      text-decoration: underline;
      color: #0645ad;
}
a:active {
      color: purple;
}
a:visited {
      color: purple;
}
a:hover {
      text-decoration: none;
      color: #000;
}
a:focus {
        text-decoration: none;
        outline-offset: 2px;
}
h1 {
      display: none;
}
h2 {
	font-size: 1.25em;
	font-weight: normal;
      font-style: italic;
      font-family: serif;
      margin-top: 0;
}
h2 span {
      display: block;
}
h3 {
      font-weight: normal;
      margin-top: 0;
      font-size: 1.2em;
}
h4 {
      margin-bottom: 0.5em;
}
div.thumbnail-display-panel h4:first-of-type {
      margin-top: 0.5em;
      padding-top: 0;
}
img {
      max-width: 100%;
      height: auto;
}
ul {
      margin: 0;
      padding: 0;
      list-style: none;
}
ul li {
      display: inline;
}
footer li:last-child { 
	display: block;
	margin-top: 1em;
}
div.container {
	max-width: 72em;
	background: #fff;
      padding: 1em;
	box-shadow: none;
	margin: 0;
}
div.main-content {
      clear: both;
      margin: 3em 0;
}
div.main-content p {
      margin-top: 0.5em;
}
div.image-display-panel {
      text-align: center;
      max-width: 50em;
      margin: 0 auto;
}
div.image-display-panel img {
      border-radius: 0.25em;
	box-shadow: 0 0 0.12em #bfbfbf;
}
div.image-display-panel div {
      position: relative;
}
div.thumbnail-display-panel {
      border: thin solid #c0c0c0;
      border-radius: 0.25em;
      padding: 0 0.5em 0.5em;
      max-height: 18.75em;
      overflow: scroll;
}
div.thumbnail-display-panel ul li {
      margin-right: 0.25em;
}
div.thumbnail-display-panel ul li img {
      border-radius: 0.1em;
      cursor: pointer;
}
div.thumbnail-display-panel ul li img:hover {
      outline: 2px solid #2F4F4F;
}
div.image-display-panel div aside {
      position: absolute;
      right: 1.5em;
      bottom: 4em;
      max-width: 10em;
      height: auto;
      background: #fffafa;
      font-size: 80%;
      border: thin solid #c0c0c0;
      border-radius: 0.25em;
      padding: 0.5em;
      text-align: left;
      font-weight: bold;
      opacity: 0.8;
      display: none;
}
footer {
      padding-top: 1em;
      text-align: center;
      margin-top: 2em;
      border-top: thin dotted #c0c0c0;
}
footer ul {
	margin: 0;
}
footer li span.divider {
	display: none;
}
footer li:last-child {
	display: block;
	margin-top: 1em;
}
footer li a img {
	border: none;
      transition: opacity 0.5s;
}
footer li a img:hover {
      opacity: 0.7;
}
fieldset { 
      padding: 0 0.75em 0.75em;
      border: thin solid #c0c0c0;
      border-radius: 0.25em;
      margin: 2em 0 0.5em 0;
      display: block;
}
fieldset p:first-of-type {
      margin-top: 0.5em;
}
legend {
      padding: 0 0.5em;
      margin: 0 0 0.25em 0;
      border-bottom: none;
      width: auto;
      font-size: 1.5em;
}
fieldset img {
      display: block;
	float: left;
	margin-right: 0.75em;
      border-radius: 50%;
      shape-outside: circle(50%);
      filter: saturate(150%);
      border: medium solid #fff;
      box-shadow: 4px 2px 4px #e0e0e0;
}
noscript p {
      max-width: 80%;
      border: thin solid #c0c0c0;
      border-radius: 0.25em;
      background: #fffafa;
      margin: 0 auto 2em auto;
      padding: 0.5em 1em;
      font-size: 1.15em;
}

/* Large screens */

@media only screen and (min-width: 1150px) {
body {
      background: #2F4F4F;
}
div.container {
	margin: 1.75em auto;
      border-radius: 0.25em;
}
div.image-display-panel {
      float: right;
      margin: 0;
}
div.thumbnail-display-panel {
      max-width: 15.625em;
      max-height: 37.5em;
}
h2 {
      font-size: 1.6em;
}
h2 span {
      display: inline;
}
header {
      margin-top: 1.5em;
}
footer li span.divider {
	display: inline;
}
footer ul li {
      display: inline;
}
footer li:last-child {
	display: inline;
}
fieldset { 
      max-width: 60%;
}
noscript p {
      max-width: 60%;
}
}

