/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
HTML content. To learn how to do something, just try searching Google for questions like
"how to change link color." */

body {
  background-color: #436a7b;
  background-image: url('../images/bg_diamond.png');
  background-position: top;
  font-size: 1.125em;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

p {
  line-height: 1.6; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid #c7b591;
  border-width: 2px 0 0 0;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a {
  color: #0063C7;
}

a:visited {
  color: #551A8B;
}

a:hover, a:focus { 
  background-color: #fff6e6;
}

h1, h2, h3, h4, h5, #postDate {
  font-family: Tahoma, Geneva, sans-serif;
  color: #34436f;
}

#postDate {
  font-size: 1em;
  margin: 1.33em 0;
  font-weight: bold;
  line-height: normal;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
  max-width: 700px;
  background-color: #f1e3c9;
  color: #151515; 
  outline-color: #a9a9a9;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}

/*HEADER STYLE*/
#header {
  background-color: #384879;
  padding: 0 5%;
  border-color: #a9a9a9;
  border-style: ridge;
  border-width: 0 0 4px 0;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover, #header li a:focus {
  text-decoration: underline;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}

/*SKIP LINKS STYLE*/
#skiptocontent a {
  /*stuff below this line effects how the link LOOKS, feel free to change!*/
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: bold;
  color: #34436f;
  border-right: 4px ridge #a9a9a9; 
  border-bottom: 4px ridge #a9a9a9; 
  background-color: #f1e3c9;
  padding: 6px;
  text-decoration: none;
  /*stuff below this line effects how the link BEHAVES, 
  probably best not to mess with this! */
  position: absolute; 
  top: -40px; 
  left: 0px;
  -webkit-transition: top 1s ease-out; 
  transition: top 1s ease-out; 
  z-index: 100; 
}
#skiptocontent a:focus {
  position: absolute; 
  left: 0px; 
  top: 0px; 
  outline-color: transparent; 
  -webkit-transition: top .1s ease-in; 
  transition: top .1s ease-in;
}
@media (prefers-reduced-motion: reduce) {
  #skiptocontent a {
    transition-duration: 0.001ms !important;
  }
}