@import url("fonts/texgyreadventor.css");

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.clear {
  display: block;
}

.clear:after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

body {
  font-family: 'Source Sans Pro', 'Open Sans','Helvetica Neue','Helvetica',
    Helvetica, Arial, sans-serif;
  text-rendering: optimizelegibility;
  font-size: 1em;
}

tt,
code,
pre {
    font-family: 'Source Code Pro','Consolas','Monaco','Lucida Console',
    'Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono',
    'Courier New', monospace;
}

body > header,
body > section,
body > footer {
  clear: both;
  float: left;
  width: 100%;
  display: block;
}

html {
  background: url(/media/bamboo.jpg) no-repeat top fixed;
  background-size: cover;

}

html, body {
	height: 100vh;
	position: relative;
}

body > section > div.grid {
  background: #fff;
}

body > div.page-fill {
	position: relative;
}

body > div.page-fill div {
	position: absolute;
	background: #7676A3;
	width: 100%;
	height: 100vh;
	z-index: -1;
}

body > div.grid-fill > div.grid {
	background: #7676A3;
}

body > footer > div.grid {
  background: #7676A3;
}

body > footer {
  color: white;
  text-shadow: 1px 1px 1px #000;
}

body > footer a {
  color: #FFECB7;
}

header h1 {
  margin: 0px;
}

.topbar a {
	text-decoration: none;
	color: #fff;
}

.topbar a:hover {
  text-decoration: none;
  color: #fff;
}

.topbar > div.grid {
  position: relative;
  background: #000 url(/media/banner-background.png) repeat-y;
  background-position: 0 0;
  background-size: contain;
}


.banner {
  line-height: 0px;
}

.banner img {
  padding: 0px;
  display: block-inline;
  max-width: 100%;
  height: auto;

}

nav.main-nav {
  position: absolute;
  top: 0px;
  font-size: 25px;
  line-height: 35px;
  color: #FFF;
  text-shadow: 1px 1px 1px #000;
  font-variant: small-caps;
  font-weight: bold;
}

@media screen and (max-width: 568px) {
  nav.main-nav {
    position: static !important;
    font-size: 20px;
    line-height: 25px;
  }
}

nav.main-nav li {
  display: inline-block;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

nav.main-nav li:first-child {
  margin-left: 0em;
}

nav.main-nav li:last-child {
  margin-right: 0em;
}


nav.main-nav a {
  display: inline-block;
}

nav.main-nav a:hover {
  color: #FFECB7;
  text-decoration: none;
}

nav.main-nav ul {
  padding: 0px;
  margin: 0px;
}

p {
  font-family: inherit;
  font-size: 1em;
  font-weight: normal;
  line-height: 1.44;
  margin-bottom: 1.25em;
  margin-top: 0em;
}

p:last-child {
  margin-bottom: 0em;
}

.item {
  overflow: hidden;
}

.grid.item {
  border-bottom: 1px solid #ccc;
}

.grid.item:first-child {
	border-top: 1px solid #ccc;
}

.grid.item-first {
  margin-top: 10px;
}

a {
  text-decoration: none;
  color: #7C76A3;
}

a:hover {
  text-decoration: underline;
}

a img {
  padding: 3px;
}

a:hover img {
  padding: 1px;
  border: 2px solid #2956b2;
}

section h1, section h2, section h3,
section h4, section h5, section h6 {
  position: relative;
}

header a.anchor {
  display: inline-block;
  margin-left: 0em;
  padding: 0px;
  position: relative;
  color: black;
  text-decoration: none;
  height: 1px;
  line-height: 1px;
}

a.anchor span.anchor-link {
  display: none;
}

*:hover > a.anchor span.anchor-link {
  display: inline-block;
}

a.anchor:hover {
  color: #7C76A3 !important;
}

article h2 {
  margin-bottom: 0.5em;
}

.shy-hyphens {
  hyphens: manual;
  -moz-hyphens: manual;
  -ms-hyphens: manual;
  -webkit-hyphens: manual;
}

.blogpost header {
  background: #fff url(/media/paw.png) no-repeat scroll left center;
  margin: 0em -0.5em 0.5em -0.5em;
  padding: 0.125em 0.5em 0.125em calc(40px + 0.5em);
}

.blogpost header,
.blogpost header a,
.blogpost header a:hover {
  color: #000;
  text-decoration: none;
  ttext-shadow: 1px 1px 1px #ffecb7;
}

.blogpost header h2 {
  margin: 0em;
}

pre.highlight  { 
   background-color: #f7f7f7;
    border-radius: 3px;
    font-size: 85%;
    line-height: 1.45;
    overflow: auto;
    padding: 16px;
}


code::before,
code::after,
tt::before,
tt::after {
    content: " ";
    letter-spacing: -0.2em;
}

pre code::before,
pre code::after,
pre tt::before,
pre tt::after {
  content: normal;
} 

pre code,
pre tt {
    background-color: transparent;
    border: 0 none;
    display: inline;
    line-height: inherit;
    margin: 0;
    overflow: visible;
    overflow-wrap: normal;
    padding: 0;
}

pre > code {
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    font-size: 100%;
    margin: 0;
    padding: 0;
    white-space: pre;
    word-break: normal;
}

code,
tt {
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 3px;
    font-size: 85%;
    margin: 0;
    padding: 0.2em 0;
}

img {
  width: 100%;
  height: auto !important;
}

figure {
  background: #f0f0f0;
  width: 600px;
  box-sizing: content-box;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5em;
  margin-bottom: 0.5em;
  max-width: 100%;
}



.archivelist li {
  display: block;
  width: 200px;
  height: 200px;
  line-height: 200px;
  float: left;
  margin: 6px;
  background: #f7f7f7;
  text-align: center;
  font-size: 75px;
  font-weight: bold;
}

.archivelist li:hover {
  background: #7C76A3;
  color: white;
}

.archivelist li > a {
  background: transparent;
  color: inherit !important;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
}

a.anchor {
  display: block;
  height: 0px;
}

.header-link {
  position: relative;
  left: 0.5em;
  opacity: 0;
  font-size: 0.8em;
  color: #7C76A3;
  -webkit-transition: opacity 0.2s ease-in-out 0.1s;
  -moz-transition: opacity 0.2s ease-in-out 0.1s;
  -o-transition: opacity 0.2s ease-in-out 0.1s;
  transition: opacity 0.2s ease-in-out 0.1s;
}

h1:hover .header-link,
h2:hover .header-link,
h3:hover .header-link,
h4:hover .header-link,
h5:hover .header-link,
h6:hover .header-link {
  opacity: 1;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  color: #333;
  text-shadow: 1px 1px 2px #7C76A3;
}

.attrline span {
  margin-right: 1em;
}

.morelink {
  font-weight: bold;
}

/* Helper class taken from Bootstrap. Hides an element to all devices except screen readers.
*/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.on-the-left-side,
.on-the-right-side {
  width: 326px;
}

.on-the-left-side {
  float: left;
}

.on-the-right-side {
  float: right;
}

.centerImage
{
 text-align:center;
 display:block;
}


@media screen and (max-width: 568px) {
.on-the-left-side,
.on-the-right-side {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

}


/*
banner purple: #2a2452;
purpleish color: #7C76A3;
lite purpleish: #BAB1F5;
dark purpleish: #3E3B52;
bluish color: #2d318a;
another bluish color: #2956b2
yellowish: #FFECB7;
*/
