* {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans');

body::before {
  display: none;
  content: url("https://www.edlede.com/images/edledecorner.png");
  content: url("https;//www.edlede.com/images/edledemast.jpg");
}

.article-container {
  margin: 4rem;
  max-width: 90vw;
  width: 800px;
}

.article-masthead {
  width: 50%;
}

.article-title {
  font-family: "Noto Sans", Helvetica, sans-serif;
  font-size: 2em;
}

.article-subtitle {
  font-family: "Noto Sans", Helvetica, sans-serif;
  font-size: 1.7em;
  line-height: 1.4;
  hyphens: none;
  margin: 1.5em;
}

.article-byline {
  color: #555;
  text-decoration: none;
}

.article-image {
    height: auto;
    max-width: 100%;
    position: relative;
    border-style: none;
    width: 780px;
    aspect-ratio: auto 780 / 520;
}

.article-content {
  font-family: "Times Roman", Georgia, serif;
  line-height: 1.6;
  text-rendering: optimizelegibility;
}

#table {
  display: table;
  padding: 4px;
  width: 100%;
}

body {
  position: absolute;
  top: 0;
  background: white;
  width: 100%;
  padding: 8px;
  font-family: "Times Roman, serif";
  font-size: 1em;
}

.header {
  padding: 4px;
  text-align: center;
  position: sticky;
  top: 0px;
  background: white;
  display: block;
  width: 100%;
  /* overflow: hidden; */
}

.header img {
  width: 60%;
}

.topnav {
  height: 1.5em;
  overflow: hidden;
  background-color: #1b4d1b;
  text-align: right;
  margin-right: 10px;
}

/* Style the topnav links */
.topnav a, .menubar {
  margin-top: 0.1em;
  margin-right: 8px;
  padding-right: 8px;
  text-align: right;
  font-family: "Noto Sans";
  font-weight: bold;
  color: #eee;
  text-decoration: none;
}
.menubar { background-color: #1b4d1b; float: left; margin-left: 1em; margin-right: 1em; }


/* Change color on hover */
.topnav a:hover {
  color: #f8e005;
}

.alert {
  color: white;
  background-color: #c02;
}

.articles {
  display: grid;
  row-gap: 2px;
  text-align: left;
}

.article {
  padding: 2px;
  margin: 2px;
}

.articletitle a {
  font-weight: bold;
  text-decoration: none;
  color: #1b4d1b;
  transition: color 2s;
}

.articletitle a:hover {
  font-weight: bold;
  text-decoration: none;
  color: #1a2;
  transition: color 1s;
}

.imgcontainer {
  float: right;
}

img.articleimage {
  width: 200px;
}

.articlefacts {
  float: left;
  width: 60%;
  padding-bottom: 8px;
  line-height: 1.4em;
}

.articlefactsonly {
  width: 100%;
}

.articledate {
  font-family: Arial;
  font-size: 0.9em;
  margin-bottom: .5em;
  color: #333;
}

.articleauthor {
  margin-bottom: .5em;
  margin-top: .5em;
}

span.category {
  font-style: italic;
  border-radius: 3px;
  border-top-left-radius: 5px;
  background-color: #dea;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.articlepub {
  font-family: Arial;
  font-size: 0.9em;
  color: #333;
  font-style: italic;
}

table.main {
  width: 100%;
}

.tr {
  display: table-row;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
  width: 70%;
  display: table-cell;
}

/* Right column */
.rightcolumn {
  width: 30%;
  display: table-cell;
  padding-left: 4px;
  background-color: #f1f1f1;
}

/* Footer */
.footer {
  padding: 4px;
  text-align: left;
  display: block;
  color: #eee;
  background: #1b4d1b;
  margin-top: 20px;
  font-size: 1em;
  font-style: italic;
}

a.centerlink { float: none; }

div.text {
  font-family: "Open Sans", sans-serif;
  font-size: 1.25em;
}

div.text p {
  margin-right: 1em;
}

h1.text {
  font-family: "Open Sans", sans-serif;
  font-size: 1.6em;
  padding-right: 1em;
}

div.subscribe { text-align: center; }

label {display: block;}

input[type=text], input[type=email] {
  width: 30%;
  font-size: 1em;
  padding: 12px;
  margin: 10px 0;
  box-sizing: border-box;
  border: 2px solid #1b4d1b;
  border-radius: 8px;
}

button.subscribe {
  background-color: #1b4d1b;
	font: 1.2em Tahoma, sans-serif;
  border: none;
  color: #eee;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 16px;
}

button.subscribe:hover {
  color: white;
  background-color: #ABC578;
}

/* < 800px wide, the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1024px) {
  .articlefacts {
    width: 58%;
  }
  img.articleimage {
    width: 180px;
  }
  .header img {
    width: 80%;
  }
}

@media screen and (max-width: 720px) {
  input[type=email] {
    width: 40%;
  }
  .leftcolumn {
    width: 100%;
  }
  .articlefacts {
    width: 55%;
  }
  img.articleimage {
    width: 180px;
  }
  .header img {
    width: 80%;
  }
}

@media screen and (max-width: 640px) {
  input[type=text], input[type=email] {
    width: 50%;
  }
  .articlefacts {
    width: 55%;
  }
  img.articleimage {
    width: 160px;
  }
  .header img {
    width: 80%;
  }
}

/* < 400px wide, navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 490px) {
  .articlefacts {
    width: 50%;
  }
  img.articleimage {
    width: 160px;
  }
  .topnav a {
    float: none;
  }
  .header img {
    width: 70%;
  }

  .header {
    top: 4px;
  }
}

@media screen and (max-width: 480px) {
  .articlefacts {
    width: 60%;
  }
  img.articleimage {
    width: 128px;
  }
  .topnav a {
    float: none;
  }
  .header img {
    width: 70%;
  }

  .header {
    top: 0px;
  }
}
