/*  ~/Sites/jpdev/main.css*/
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  max-width:960px;
  margin: auto;
  margin-top: 10px;
  font-family: Arial, sans-serif;
  font-size: 12pt;
  line-height: 1.3em;
  color: #080808;
}
cite, i, em {
  font-size: 100%;
  font-style: italic;
}
blockquote {
  display: block;
  margin: 1em 40px 1em 40px;
  font-style: italic;
}
p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0;
  font-size 100%;
  border: 0;
  vertical-align: baseline;
}
p dfn {
  font-style: italic;
}
sup {
  vertical-align: super;
  font-size: smaller;
}
sub {
  vertical-align: sub;
  font-size: smaller;
}
.genus {font-style: normal;}
.species {font-style: oblique;}
ol {
  list-style-type: decimal;
  list-style-position: outside;
  margin: 20px;
  padding-left: 20px;
  }
ul {
  list-style-type: disc;
  list-style-position: outside;
  margin: 20px;
  padding-left:20px;
}
ul ul {
  list-style-type: circle;
}
li {
  margin-bottom: .5em;
}
strong {
  font-weight: bold;
}
h2 {
  margin-top: 20px;
  font-size: 1.5em; 
  font-weight: bold;
}
h3 {
  margin: 20px 0px 5px 0px;
  font-size: 1.2em;
  font-weight: bold;
}
h4 {
  color:#303030;
  font-size:1em;
  font-style:italic;
  text-decoration: underline;
  margin-bottom:0.5em;
  margin-top: 2em;
  /* padding-left: 1em; */
}
/* Header */
header.mainBanner p {
  padding-left: 25px;
  font-size: 12pt;
}
header.mainBanner img{
  width:100%;
  cursor: pointer;
  box-shadow: 2px 2px 4px #888888;
}
.dot {
  height: 10px;
  width: 10px;
  background-color: black;
  border-radius: 50%;
  display: inline-block;
  text-decoration: none;
}
/* Main */
main {
  width: 80%;
  float: right;
}
aside.mainSidePanel {
  position: fixed;
  height:100%;
  background: rgb(255, 230, 180);
  padding: 0;
  width:19%;
  max-width: 190px;
  overflow: auto;
}
aside.mainSidePanel h2 {
  margin: 0;
}
nav h2 {
  color: white;
  background: rgb(137, 67, 37);
  padding: 10px;
}
nav p {
  padding-left: 10px;
}
article {
  background-color: white;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12pt;
  box-shadow: 2px 2px 4px #aaaaaa;
  padding: 10px;
  margin-top: 40px;
  overflow: auto;
}
article h2 span {
  font-size: 0.8em;
  font-style: italic;
  float: right;
  padding: 4px;
}
article p {
	padding: 0;
	border: 0;
	vertical-align: baseline; 
}
article span.popup {
  color: rgb(30, 30, 200);
  text-decoration: none;
  cursor: pointer;
  font-weight: bold;
}
article a {
  color: rgb(20, 20, 200);
  text-decoration: underline;
  /* font-style: italic; */

}
figure.banner {
  margin: 10px 0px 15px 0px;
  width: 100%;
  box-shadow: none;
}
article figure {
  margin: 0px 10px 15px 15px;
  float: right;
  width: 45%;
  box-shadow: 2px 4px 6px #888888;
}
article figure img{
  width: 100%;
}
article figcaption {
  padding: 5px;
  font-size: 0.9em;
  line-height:1.1em;
  font-style: italic;
}
article figcaption span {
  font-style: normal;
}
footer {
  background-color: white;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12pt;
  /* box-shadow: 2px 2px 4px #aaaaaa; */
  padding: 10px;
  margin-top: 20px;
  margin-bottom:40px;
  overflow: auto;
  font-size: 0.8em;
  line-height: 1.1em;
}
footer figure {
  margin: 10px 10px 15px 15px;
  float: right;
  box-shadow: 2px 4px 6px #888888;
}

/* Banner modal */
div.bannerModal {
  font-family: Verdana, Geneva, sans-serif; 
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}
div.bannerModal a {
  color: #bbbbbb;
  text-decoration: underline;
}
/* Modal Content */
div.bannerModal div {
  background: black;
  margin: auto;
  padding: 16px;
  display: block;
  max-width: 80% ;
  overflow: auto;
  color: #cccccc;
}

div.bannerModal header span {
  float: right;
  color: #cccccc;
  font-weight: bold;
  cursor: pointer;
}
div.bannerModal figure {
  width: 100%;
  text-align: center;
}
div.bannerModal figure img {
  width: 100%;
}

/* Add Animation */
div.bannerModal div{
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.4s;
    animation-name: zoom;
    animation-duration: 0.4s;
}
div.modal div{
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.4s;
    animation-name: zoom;
    animation-duration: 0.4s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
