/* GENERAL FORMATTING */

html, body {
  height: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
  background-color: #fff;
  height: 100%;
}

@media (min-width: 1200px) {
  body { background-color: #fdfdff; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
}

span.clear { clear: left; display: block; }

div {

}

/* HEADER */

div.header {
  background-color: #303039;
  color: #fdfdff;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px 20px 10px 20px;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  z-index: 100;
}

div.header a {
  color: #fdfdff;
  text-decoration: none;
}

div.header a:visited {
  color: #fdfdff;
}

div.header a:hover, div.header a.title:hover {
  color: #fdfdff;
  text-decoration: underline;
}

div.header a.title {
  font-size: 18px;
  line-height: 24px;
}

img.title-icon {
  height: 24px;
  margin-right: 10px;
  margin-bottom: -6px;
  margin-top: -6px;
}

@media (min-height: 480px) {
  div.header {
    padding: 12px 20px 15px 20px;
  }

  img.title-icon {
    height: 28px;
    margin-right: 10px;
    margin-bottom: -8px;
    margin-top: -8px;
  }

  div.header a.title {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (min-height: 640px) {
  div.header {
    padding: 16px 20px 20px 20px;
  }

  img.title-icon {
    height: 36px;
    margin-right: 10px;
    margin-bottom: -10px;
    margin-top: -10px;
  }

  div.header a.title {
    font-size: 22px;
    line-height: 32px;
  }
}

@media (min-height: 800px) {
  div.header {
    padding: 20px 20px 24px 20px;
  }

  img.title-icon {
    height: 42px;
    margin-right: 10px;
    margin-bottom: -12px;
    margin-top: -12px;
  }

  div.header a.title {
    font-size: 24px;
    line-height: 36px;
  }
}

/* MENU */

div.main-menu-horizontal {
  float: right;
  position: 0;
  line-height: 24px;
}

@media (min-height: 480px) {
  div.main-menu-horizontal {
    line-height: 28px;
  }
}

@media (min-height: 640px) {
  div.main-menu-horizontal {
    line-height: 32px;
  }
}

@media (min-height: 800px) {
  div.main-menu-horizontal {
    line-height: 36px;
  }
}

@media (min-width: 1000px) {
  span.title-text { display: inline; }
}

@media (max-width: 1001px) {
  span.title-text { display: none; }
}

@media (min-width: 640px) {
  .main-menu-horizontal { display: inline; }
}

@media (max-width: 641px) {
  .main-menu-horizontal { display: inline; font-size: 11px;}
}

/* Use when there is a hamburger menu
@media (min-width: 640px) {
  .main-menu-horizontal { display: inline; }
  .main-menu-vertical { display: none; }
}

@media (max-width: 641px) {
  .main-menu-horizontal { display: none; }
  .main-menu-vertical { display: inline; }
}
*/


/* CONTAINER */

div.container {
  padding: 0px 0px;
  margin: 0 auto;
  max-width: 1200px;
  background-color: #fff;
  min-height: 100%;
  box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.2);
}

div.page-content {
  padding: 80px 40px;
}

/* CONTENT */

h1, h2, h3, h4, h5, h6 {
  color: #50505a;
  text-align: center;
  line-height: 1.25em;
}

li + li {
	margin-top: 0.6em;
}

img.hero {
  display: block;
  margin: 20px auto;
  max-width: 100%;
}

img.logo {
  display: block;
  margin: 20px auto;
  width: 100%;
  max-width: 12em;
}

div.page-content a, div.page-content a:visited {
  color: #339;
}

div.page-content a:hover {
  color: #33f;
}

div.page-content a.btn, div.page-content a.btn:visited {
  color: #fff;
}

.large-center {
  font-size: 24px;
  text-align: center;
}

p.center {
  text-align: center;
}

sup.ordinal {
	font-size: 60%;
	vertical-align: top;
	position: relative;
	top: -0.5em;
}

span.small {
	font-size: 75%;
}

/* FOOTER */

div.footer {
  display: none;
}

div.footer-inline {
  display: block;
  text-align: center;
  font-size: 12px;
  padding-top: 1em;
}

@media (min-width: 640px) and (min-height: 800px) {
  div.footer {
    display: block;
    background-color: #303039;
    color: #fdfdff;
    font-size: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px 16px 12px 16px;
    box-sizing: border-box;
    text-align: center;
    position: fixed;
    bottom: 0;
    z-index: 100;
  }

  div.footer-inline {
    display: none;
  }
}

/* inline nav links */

.inline-nav-links {
	display: flex;
	flex-wrap: wrap;
	border-top: 0.5px solid #888;
	margin-top: 2em;
	padding-top: 1em;
}

.inline-nav-prev {
	min-width: 33%;
	text-align: left;
}

.inline-nav-index {
	min-width: 34%;
	text-align: center;
}

.inline-nav-next {
	min-width: 33%;
	text-align: right;
}

/* FOUC SHOW */

.fouc-fix {
  visibility: visible;
  opacity: 1;
  transition-delay: 200ms;
  transition-duration: 150ms;
  transition-property: opacity;
}
