/* ==========================================================================
   Styling and layout for all media
   ========================================================================== */


/* Abridged version of Normalize.css
   ========================================================================== */
/* original authors: Nicolas Gallagher and Jonathan Neal - http://necolas.github.com/normalize.css/ */

/* --- Pruned Modern Reset --- */

/* Prevents layout jump when scrollbar appears on short pages */
html {
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Prevents sub and sup from affecting line-height */
sub, sup {
  font-size: .857em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Remove margins/padding from nested lists */
dl dl, ul ul, ol ol { margin: 0; }
menu, ol, ul { padding: 0; }

/* HTML5 hidden attribute fallback */
[hidden] { display: none; }

/* Optional: Keep this ONLY if your site relies on bold text being dark gray */
b, strong { color: #333; } 

/* ==========================================================================
   Styling and layout for screen media (mobile first)
   ========================================================================== */

@media screen {

/* Layout
   ========================================================================== */



/* Links
   ========================================================================== */

a {
  text-decoration: none;
  color: #114eb1;
  -webkit-tap-highlight-color: rgba(0, 102, 255, 0.5); /* Keeps nice mobile tap feedback */
}

a:hover, 
a:focus { /* Added :focus for keyboard accessibility */
  color: #3280ff;
  /* outline removed: lets the browser show a natural focus ring for keyboard users */
}

/* Active/current navigation link */
.current {
  color: #3280ff;
  /* If you really want the 1px shift effect, uncomment the next two lines: */
  /* position: relative; */
  /* top: 1px; */
}

/* Typography
   ========================================================================== */

/* --- Typography & Layout --- */

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  line-height: 1.4;
  color: #555;
  margin: 0; /* Replaces the old -webkit-margin-* hacks */
}

p {
  font-weight: 300;
  font-size: 1em;
  line-height: 1.4;
  color: #555;
}

h1 {
  font-family: 'Averia Libre', cursive;
  font-size: 1.5em;
  font-weight: normal;
  color: #333;
  line-height: 1.0;
  margin: 0;
}

h2 {
  font-family: 'Oswald', Helvetica, sans-serif;
  font-size: 1.25em;
  color: #2671ea;
  padding: 1em 0 0.75em 0; /* Shorthand for top/right/bottom/left */
  line-height: 1.0;
  margin: 0;
}

h3 {
  font-family: 'Oswald', sans-serif; /* Added fallback */
  font-size: 1.25em;
  color: #333;
}

h4 {
  font-family: 'Oswald', sans-serif; /* Added fallback */
  font-size: 1.25em;
  font-weight: 400;
  font-style: normal;
  color: #333;
  line-height: 1.4;
  text-align: center;
  margin: 1.0em 0;
}

h5 {
  font-size: 0.875em;
  color: #777;
  margin: 0;
}

blockquote {
  font-size: 1.14em; /* Rounded from 1.14285714285714em */
  font-style: italic;
  margin: 0.875em 0;
  padding: 1px 0.875em;
  border-radius: 0.36em; /* Rounded, removed dead -moz- prefix */
  background: #fff6d3;
}

pre {
  margin: 0 0 0 4.0em; /* Shorthand for top/right/bottom/left */
  padding: 0;
}

/* layout attributes
----------------------------------------------- */

/* --- Layout & Float Structure --- */

.image_article {
  float: right;
  width: 66%;
  max-width: 47.25em;
  margin-right: 2em;
}

.paginator-l,
.paginator-r {
  float: left; /* paginator-r will override to right below */
  width: 40%;
  padding-top: 1em;
  text-align: left;
}
.paginator-r {
  float: right;
  text-align: right;
}

.hidden {
  display: none;
}

.thumb {
  margin: 3em auto;
  padding: 3em 0;
}

.hr {
  margin: 1em auto; /* FIXED: now actually centers */
}

.menu {
  display: inline;
  font-size: 1.25em; /* FIXED: was incorrectly in font-family */
  font-family: "Oswald", Helvetica, sans-serif;
  color: #114eb1;
  padding-right: 8%;
}

.wrap {
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
  min-width: 320px;
}

#accessibility {
  position: absolute;
  top: -10000px;
}

#container {
  overflow: hidden; /* Acts as a clearfix for floats! */
  width: 100%;
  max-width: 67.5em;
  min-width: 320px;
  margin: 0 auto;
  padding-bottom: 3em;
}

#bluelake {
  float: left;
  clear: both;
  width: 25%;
  max-width: 20em;
  margin-top: 0.8125em;
  text-align: right;
  line-height: 1em;
}

#navmenu {
  float: right;
  width: 66%;
  max-width: 45em;
  margin-top: 1em;
  text-align: left;
}

#site-name {
  line-height: 1.0;
}

#site-name a:hover {
  text-decoration: none;
  color: #2671ea;
}

#site-slogan {
  font-family: "Oswald", Helvetica, sans-serif;
  font-size: 1.5em;
  color: #114eb1;
  text-align: right;
}

#navmenu ul {
  display: inline;
  list-style: none;
  font-family: "Oswald", Helvetica, sans-serif;
  font-size: 1.75em;
  color: #114eb1;
}

#navmenu li {
  display: inline;
  font-size: 0.875em; /* FIXED: was incorrectly in font-family */
  font-family: "Oswald", Helvetica, sans-serif;
  color: #114eb1;
  padding-right: 8%;
}

#navmenu ul a,
#navmenu ul a:hover,
#navmenu ul a:active {
  display: inline;
  margin: 0;
  text-decoration: none;
}

#navmenu ul a:hover,
#navmenu ul a:active {
  color: #2671ea;
}

#top_image {
  width: 100%;
}

#breadcrumb {
  margin-bottom: 1.5em;
  text-align: center;
}

#content,
#contact {
  float: right;
  width: 66%;
  max-width: 47.25em;
  margin: 2.5em 2em 0 0;
}

#foot {
  position: relative;
  clear: both;
  width: 100%;
  max-width: 67.5em;
  height: 5em;
  margin: -2em auto 0 auto; /* Sticky footer trick */
  padding: 0;
  border-top: 1px dotted;
  color: #114eb1;
}

#foot_text {
  width: 66%;
  max-width: 47.25em;
  margin-left: 34%;
  padding-top: 1em;
}

/* contact page
----------------------------------------------- */


#contact fieldset {
  border: none;
  padding-bottom: 20px;
}

#contact legend {
  display: none; /* Hidden, so removed all other properties */
}

#contact label {
  float: left;
  width: 120px;
  margin: 0 10px 0 0;
  text-align: right;
  font: 1em/1.4 "Trebuchet MS", Helvetica, sans-serif;
  color: #666633;
}

#contact input {
  width: 50%;
  margin: 0.1em 0 0.5em 0;
  color: #114eb1;
}

#contact input[type="submit"] { /* FIXED: was #contact submit */
  margin: 2em 0 20px 65px;
}

/* Optional: Modern clearfix alternative (uncomment if needed) */
/* #contact fieldset::after {
  content: "";
  display: table;
  clear: both;
} */

/* Embedded content
   ========================================================================== */

img,
video {
  max-width: 100%;
  height: auto;
  }

/* image alignments */
img.align-left {
  float: left;
  margin: 0;
  }

img.align-right {
  float: right;
  margin: 0;
  }

.align-center {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  }

/* corrects overflow displayed oddly in IE9 */
svg:not(:root) {
  overflow: hidden;
  }

/* Lists
   ========================================================================== */

li {
  list-style-type: none;
  font-size: 0.925em;
  line-height: 1.5em;
  }

[role="main"] #article-list {
  list-style: none;
  margin: 0 0 2em 0;
  padding: 0;
  border-top: solid 1px #ccc;
  }

#article-list li {
  border-bottom: solid 1px #ccc;
  padding-top: 1em;
  margin-bottom: 0;
  }

/* Forms
   ========================================================================== */

/* --- Form Elements --- */

form {
  margin: 0;
}

fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

legend {
  border: 0;
  padding: 0;
}

/* Base form element styling */
button, input, select, textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
}

/* Modern placeholder styling */
::placeholder {
  color: #888;
}

/* Text inputs and textareas */
textarea,
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
  -webkit-appearance: none; /* Still needed for iOS Safari */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.857em; /* Rounded from .85714285714286em */
  border: 1px solid #ccc;
  padding: 0.5em;
  background: #fff;
  box-sizing: border-box;
  border-radius: 0;
}

input[type="color"] {
  padding: 0;
  height: 2.33em;
}

[role="complementary"] input[type="search"] {
  display: inline-block;
  width: 66.67%;
  margin-right: 2px;
}

textarea {
  width: 50%;
  min-height: 3em;
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

select {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.857em;
  border: 1px solid #ccc;
  padding: 0.5em;
  background: #fff;
  box-sizing: border-box;
}

textarea,
select[size],
select[multiple] {
  height: auto;
}

optgroup {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: normal;
  color: #333;
}

/* Checkboxes and radios */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/* Disabled elements */
button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
  opacity: 1;
  user-select: none;
  border: 1px solid #d2d2d2 !important;
  color: #888 !important;
  background: #eee !important;
  cursor: default !important;
}

/* Size variants */
.large input {
  width: 50%;
  min-width: 302px;
}

.large textarea {
  height: 156px;
}

.small input {
  width: 25%;
  min-width: 151px;
}

.small textarea {
  height: 5.5em;
}

/* 
==========================================================================
   Additional layout for screen media 490px and up
   ========================================================================== */


@media only screen and (min-width: 35em) {

nav ul {
  width: 93.75%;
  }

nav li {
  float: left;
  border-right: solid 1px #e1a61a;
  border-bottom: 0;
  }

nav li:first-child {
  border-left: solid 1px #e1a61a;
  }

nav a {
  padding: .5em 1em;
  }

}

/* ==========================================================================
   Additional layout for screen media 672px and up
   ========================================================================== */


@media only screen and (min-width: 48em) {

  [role="main"] {
    float: left;
    width: 61.67%; /* Rounded from 61.666666666667% */
  }

  [role="complementary"] {
    float: right;
    width: 30.21%; /* Rounded from 30.208333333333% */
    padding: 1em 1em 0;
    border: 1px solid #e3e3e3;
    border-radius: 0.36em; /* Rounded, removed dead -moz- prefix */
    background: #f7f7f7;
  }

  h1 {
    font-size: 2.5em;
  }

  #siteslogan h2 {
    font-family: 'Oswald', sans-serif; /* Added fallback */
    font-size: 1.125em;
    line-height: 1.2;
    padding: 0.25em 0;
    text-align: right;
  }

  h2 {
    font-family: 'Oswald', sans-serif; /* Added fallback */
    font-size: 1.5em;
    line-height: 1.2;
    padding: 1em 0; /* Simplified from 1em 0 1em 0 */
    text-align: center;
  }

  h3 {
    font-family: 'Oswald', sans-serif; /* Added fallback */
    font-size: 1.25em;
    color: #333;
  }

  blockquote {
    float: right;
    width: 42.91%; /* Rounded from 42.905405405405% */
    margin: 0 0 0.875em 0.875em;
  }

}

/* ==========================================================================
  /* ==========================================================================
   Styling and layout for print media
   ========================================================================== */

@media print {
  /* Force black text and remove backgrounds for faster, ink-saving printing */
  * {
    color: black !important;
    text-shadow: none !important;
    background: transparent !important;
    box-shadow: none !important; /* Removed dead -webkit- and -moz- prefixes */
  }

  body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 8pt; /* 8pt is quite small for print; consider 10pt or 11pt if it's hard to read */
    line-height: 1.5;
    margin: 0.5cm;
    padding: 2em 5em;
  }

  header {
    border-bottom: 1pt solid black;
  }

  footer {
    margin-top: 12pt;
    border-top: 1pt solid black;
  }

  /* Hide unnecessary content from print */
  nav,
  audio,
  video,
  form,
  [role="complementary"],
  #paginator,
  #comments-form,
  .comments h4 a:last-child {
    display: none;
  }

  a {
    text-decoration: none;
  }

  /* Show URLs for links in print */
  a[href]:after {
    content: " (" attr(href) ")";
  }

  /* Exclude headings, tags, and discussion links from showing URLs */
  h1 a[href]:after,
  h2 a[href]:after,
  h3 a[href]:after,
  sup a[href]:after,
  a[itemprop="discussionUrl"]:after,
  a[rel="tag"]:after {
    content: "";
  }

  /* Show long-form for abbreviations in print */
  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  h1 {
    font-size: 32pt;
    line-height: 36pt;
    font-weight: normal;
    margin: 0.5em 0;
  }

  h2 {
    font-size: 18pt;
    line-height: 23pt;
    page-break-after: avoid; /* Keeps heading with its content */
    orphans: 3;
    widows: 3;
    margin: 0.67em 0; /* Rounded from .66666666666667em */
  }

  h3 {
    font-size: 12pt;
    line-height: 17pt;
    page-break-after: avoid;
    orphans: 3;
    widows: 3;
    margin: 0.67em 0; /* Rounded from .66666666666667em */
  }

  p {
    orphans: 3;
    widows: 3;
  }

  blockquote {
    border: 1pt solid black;
    padding: 0 8pt;
    page-break-inside: avoid;
  }

  pre {
    margin-bottom: 8pt;
    border: 1pt solid black;
    padding: 8pt;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Image alignments for print */
  img.align-left {
    float: left;
    margin: 1em 1em 1em 0;
  }

  img.align-right {
    float: right;
    margin: 1em 0 1em 1em;
  }

  img.align-center {
    display: block;
    margin: 1em auto;
  }

  /* Note: 'audio' was removed from here as it's already hidden above */

  ul {
    /* Check this: 'none' removes bullets in print. Change to 'disc' if you want bullets. */
    list-style: disc; 
    margin: 0 0 8pt 1.8em;
  }

  ol {
    list-style: decimal;
    margin: 0 0 8pt 1.8em;
  }

  dl {
    margin: 0 0 8pt 1.8em;
  }
}
  /* Match GLightbox font to your site */

/* Override GLightbox's default padding */
.glightbox-clean .gdesc-inner {
    padding: 10px 20px !important;
}

.gslide-description {
    text-align: center !important;
    background: white !important;
    padding-top: 5px !important;
    padding-bottom: 10px !important;
}

.gslide-title {
    font-family: 'Open Sans', sans-serif !important;
    color: #000000 !important;
    font-size: 0.95em !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.gslide-desc {
    margin: 0 !important;
    padding: 0 !important;

}

/* Clearfix
   ========================================================================== */
/* updated to prevent margin-collapsing on child elements in most situations -
   http://nicolasgallagher.com/micro-clearfix-hack/ */

.clearfix,
header,
nav ul,
.container,
footer,
#paginator,
#monthly-list {
  /* zoom IE7 fix */
  *zoom: 1;
}

.clearfix:before,
.clearfix:after,
header:before,
header:after,
nav ul:before,
nav ul:after,
.container:before,
.container:after,
footer:before,
footer:after,
#paginator:before,
#paginator:after,
#monthly-list:before,
#monthly-list:after {
  content: "";
  display: table;
}

.clearfix:after,
header:after,
nav ul:after,
.container:after,
footer:after,
#paginator:after,
#monthly-list:after {
  clear: both;
}