/*--------------------------------------
all styles compiled into here
---------------------------------------*/
/*-------------------------------
screen sizes and important widths
--------------------------------*/
/*----------------------------------------
Styles for small screen sizes (400px and less)
-----------------------------------------*/
/*defaults-------------------------------*/
/*--------------------------------------
default/general styles
---------------------------------------*/
/* https://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
* {
  font-family: arial;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.5;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*layouts--------------------------------*/
/*--------------------------------------
general layouts for pages
----------------------------------------*/
header {
  display: block;
  width: 100%;
  background-color: #404040;
  padding-bottom: 10px;
}

header h1,
header h1 a {
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-size: 1.25em;
}

header h2,
header h2 a {
  color: #b8b8b8;
  text-align: center;
  line-height: 1;
  padding-bottom: 15px;
  font-size: 1em;
}

header nav ul {
  margin: 0 auto;
  text-align: center;
  min-width: 85%;
  max-width: 100%;
}

header nav li,
header nav li a {
  color: #e8e8e8;
  text-decoration: none;
  font-weight: bold;
  background-color: black;
}

header nav li {
  display: block;
  margin: 0 auto;
  float: none;
}

header nav li a {
  display: block;
  padding: 5px 8px 5px 8px;
}

header nav > ul > li:hover,
header nav > ul > li:hover a {
  background-color: #1a1a1a;
}

header nav ul ul {
  display: none;
}

.ads {
  height: 100px;
  margin-top: -75px;
}

header .ads .sub {
  float: right;
  top: 0px;
}

.ads img {
  height: 100px;
}

header .ads {
  display: none;
  position: absolute;
  top: 100px;
  right: 0;
}

.centered {
  width: auto;
  margin: 0 auto;
}

article h1,
div h1 {
  text-align: center;
}

main h1,
main h2,
main h3,
main h4,
main h5 {
  text-align: left;
}

main h1 {
  font-size: 1.5em;
}

main h2 {
  font-size: 1.2em;
}

main h3 {
  font-size: 1.1em;
}

main h4, main h5 {
  font-size: 1em;
  font-weight: bolder;
}

.tile-wrapper .tile {
  border: 3px solid white;
  min-height: 100px;
  background-color: #b8b8b8;
  padding: 15px;
  height: auto;
  max-width: 100%;
}

.tile-wrapper .tile:first-of-type {
  float: none;
}

.tile-wrapper .tile:last-of-type {
  float: none;
}

.tile-wrapper .row {
  clear: both;
  margin-bottom: 25px;
}

p,
h1,
h2,
h3,
h4,
h5,
ul,
ol {
  margin: 0 10px;
}

p {
  font-size: 1.1em !important;
  word-spacing: 5px;
  line-height: 25px;
}

.content {
  overflow: hidden;
}

footer {
  background-color: #9f9f9f;
  padding-bottom: 25px;
}

footer * {
  color: #262626;
  text-decoration: none;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer ul {
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
}

footer a {
  font-size: 16px;
  line-height: 180%;
}

footer a:hover {
  color: #e8e8e8;
  border-bottom: solid 2px #e8e8e8;
}

footer .ads {
  max-width: 125px;
  padding-top: 25px;
  margin: 0 auto;
}

footer .ads .sub {
  float: right;
  display: inline-block;
  width: 115px;
  height: 115px;
  margin: 0 auto;
}

body {
  max-width: 100% !important;
}

/*media----------------------------------*/
.featured {
  width: 100%;
  margin-top: 25px;
}

.tile img {
  max-width: 100%;
  margin: 15px auto;
}

/*tables---------------------------------*/
/*-------------------------
table styles, 0px and up
--------------------------*/
.tableWrapper {
  max-width: 100%;
  overflow-x: auto;
}

table th,
table thead td,
table thead th {
  background-color: #e8e8e8;
  padding: 8px;
  font-size: 120%;
  font-weight: 1400;
}

table {
  border-radius: 10px;
  margin: 0 auto;
  margin-top: 25px;
  width: 100%;
}

table td,
table th {
  text-align: center;
}

table td,
table th {
  padding: 3px;
}

table tr:nth-child(even) {
  background-color: #999999;
}

table tr:nth-child(odd) {
  background-color: #b3b3b3;
}

table tfoot tr {
  border-top: solid #e8e8e8 2px;
  border-bottom: solid #e8e8e8 2px;
}

table tfoot td {
  text-align: center;
}

/*non-standard---------------------------*/
.extras {
  display: none;
}

@media screen and (min-width: 600px) {
  /*----------------------------------------
Styles for medium screen sizes (600px and up)
-----------------------------------------*/
  /*defaults-------------------------------*/
  /*layouts--------------------------------*/
  header nav > ul > li {
    background-color: black;
    border-radius: 0px;
  }
  header nav > ul > li > a {
    padding: 5px 8px 5px 8px;
  }
  body {
    background-image: url(/media/featured-images/pine-background.jpg);
    background-size: 100% 200%;
  }
  header h1,
  header h2,
  header h3 {
    font-size: 2em;
  }
  footer a {
    font-size: 16px;
    line-height: 180%;
  }
  footer {
    margin-bottom: 0px;
    padding-bottom: 0px;
    min-height: 85px;
    width: 100%;
    bottom: 0px;
  }
  footer a:hover {
    color: #e8e8e8;
    border-bottom: solid 2px #e8e8e8;
  }
  footer li {
    float: left;
    margin: 0 15px;
    margin-top: 15px;
  }
  /*media----------------------------------*/
  /*tables---------------------------------*/
  /*non-standard---------------------------*/
}

@media screen and (min-width: 850px) {
  /*----------------------------------------
Styles for large screen sizes (850px and up)
-----------------------------------------*/
  /*defaults-------------------------------*/
  /*layouts--------------------------------*/
  header nav > ul > li {
    background-color: black;
    border-radius: 10px;
    padding: 5px 8px 5px 8px;
    margin-left: 10px;
    margin-right: 10px;
    display: inline;
  }
  header nav li a {
    display: inline;
    width: auto;
    min-width: 80px;
  }
  header .ads {
    display: inline;
    top: 75px;
  }
  .tile-wrapper {
    width: 100%;
    margin: 0px;
    padding: 0px;
  }
  .tile {
    width: calc(50% - 50px);
    float: left;
    padding: 15px;
  }
  .tile-wrapper .row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .tile img {
    float: left;
    clear: right;
    padding-right: 15px;
  }
  .tile p {
    margin-top: 15px;
  }
  .tile-wrapper .tile {
    border: 3px solid white;
    min-height: 100px;
    background-color: #b8b8b8;
    padding: 15px;
    height: auto;
    margin: 25px;
  }
  .tile-wrapper .tile:first-of-type {
    float: left;
  }
  .tile-wrapper .tile:last-of-type {
    float: right;
  }
  .tile-wrapper .row {
    clear: both;
    margin-bottom: 25px;
  }
  main {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 0px;
    margin-top: 0px;
  }
  footer .ads {
    display: none;
  }
  /*media----------------------------------*/
  /*tables---------------------------------*/
  /*non-standard---------------------------*/
}
