/**********************/
body {
  width: 100%;
  background-color: #EEE;
}

html, body {
  min-height: 100vh;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: underline;
}

#container {
  max-width: 980px;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  background-color: #FFF;
  display: flex;
  flex-direction: column;
  box-shadow: 1px 0 12px #333;
}

header {
  width: 100%;
  color: #000000;
  background-color: #FFF;
  margin-bottom: 10px;
}

header #title {
  font-family: impact;
  padding-left: 9px;
  text-transform: uppercase;
}

header #title a {
  color: #000000;
  text-decoration: none;
}

header #tad {
  padding-bottom: 20px;
}

header nav {
  background-color: #111;
}

header section#tad {
  margin-left: 10px;
  margin-right: 10px;
}

header section#tad img {
  max-width: 100%;
  height: auto;
}

#alpha {
  width: 100%;
  text-align: left;
  padding: 10px 25px 1px 25px;
  color: #777;
  background-color: #FFF;
  border-top: 10px solid #EEE;
  border-bottom: 10px solid #EEE;
  border-top: 10px solid #555;
  border-bottom: 10px solid #555;
}

#alpha,
#alpha a {
  font-size: 1.2rem;
}

#alpha a:hover {
  filter: brightness(200%);
}

#alpha-title {
  color: #C00;
  font-size: 1rem;
  font-weight: normal;
}

#alpha-title span {
  margin-left: 10px;
}

#alpha ul {
  display: flex;
  list-style-type: none;
  justify-content: space-between;
  font-size: 1.3rem;
}

#alpha ul li {
  min-width: 1.2rem;
  line-height: 3rem;
}

#instead-alpha {
  width: 100%;
  height: 10px;
  background-color: #FFF;
}

footer {
  width: 100%;
  color: #7CF;
  background-color: #333;
}

footer a {
  color: #7CF;
}

footer a:hover {
  color: #DDD;
}

footer ul {
  margin-bottom: 25px;
  text-align: center;
}

main#columns {
  max-width: 100%;
  display: flex;
  flex-grow: 1;
  flex-shrink: 1;
  background-color: #FFF;
  justify-content: space-between;
}

#left {
  width: 100%;
  background-color: #FFF;
  padding-left: 10px;
  padding-right: 10px;
}

#left img {
  max-width: 100%;
  height: auto;
}

#right {
  flex-shrink: 1;
  flex-grow: 1;
  padding-top: 15px;
  background-color: #FFF;
}

#right ul {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  background-color: #FFF;
}

#right li {
  display: block;
  margin-bottom: 20px;
}

#right ul.squares {
  padding-left: 10px;
  padding-right: 10px;
}

#right ul.squares li img {
  width: 300px;
  min-width: 200px;
  max-width: 100%;
  height: auto;
}

.link-list {
  padding-left: 10px;
  padding-right: 10px;
  background-color: #FFF;
}

#recent-posts {
  /*max-width: 340px;*/
  max-width: 330px;
}

article.post {
  padding: 10px;
  background-color: #FFF;
  margin-bottom: 70px;
}

article.post .post-title {
  color: red;
}

article.post .post-title a {
  color: green;
}

article.post a.continue-reading {
  font-weight: bold;
}

.featured-line ul {
  display: flex;
  background-color: #FFF;
}

.in-line-2 ul {
  justify-content: space-between;
}

.in-line-2:not(:first-child) {
  margin-top: 10px;
}

.in-line-2 img {
  width: 300px;
}

li.in-line-2 ul li:first-child {
  padding-right: 10px;
}

.prev-next {
  display: flex;
  flex-direction: column;
}

.prev-next li {
  margin-top: 15px;
}

.prev-next a {
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  display: inline-block;
}

.prev-next li:nth-child(odd) {
  background: linear-gradient(90deg, #FFF, #EEE);
}

.prev-next li:nth-child(even) {
  text-align: right;
  background: linear-gradient(90deg, #EEE, #FFF);
}

/*****************************************************************
                          Fonts sizes
*****************************************************************/
body {
  font-size: 1rem;
}

a {
  font-size: 1rem;
}

h3, h3 a {
  font-size: 1.2rem;
}

header #title,
header #title a {
  font-size: 2.7rem;
}

article.post a.continue-reading {
  font-size: 1.2rem;
}

.post-images ul {
  display: flex;
  flex-wrap: wrap;
}

.post-images ul.multiple li {
  width: 300px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.post-images ul.multiple li img {
  max-width: 100%;
}

.post-images ul.single li img {
  width: 610px;
}

.xad-2-in-line {
  display: none;
}

.xad-1-in-line {
  display: none;
}

#reciprocals {
  display: flex;
  padding: 10px;
  justify-content: space-between;
}

.reciprocal-link {
  display: flex;
  padding: 20px;
}

.reciprocal-link ul {
  padding-right: 20px;
}

#bad {
  margin-bottom: 50px;
}

/**************************************************************************
//
//			@note media dependent dimensions of elements
//
**************************************************************************/
@media screen and (max-width: 973px) {
  .xad-2-in-line {
    display: block;
  }

  .xad-3-in-line {
    display: none;
  }

  #container {
    max-width: 680px;
  }

  /*****************************************************************
                              Fonts sizes
  *****************************************************************/
  body {
    font-size: 0.9rem;
  }

  a {
    font-size: 0.9rem;
  }

  h3, h3 a, article.post a.continue-reading {
    font-size: 1rem;
  }

  header #title,
header #title a {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 670px) {
  #container {
    max-width: 340px;
  }

  .post-images ul li:first-child {
    padding-bottom: 10px;
  }

  .xad-2-in-line {
    flex-direction: column;
  }

  #tad .xad-2-in-line,
#bad .xad-2-in-line {
    display: none;
  }

  #tad .xad-1-in-line,
#bad .xad-1-in-line {
    display: flex;
  }

  #reciprocals {
    flex-direction: column;
  }
}
@media screen and (max-width: 420px) {
  .post-images ul {
    flex-direction: column;
  }

  .in-line-2 ul {
    flex-direction: column;
  }

  .post-featured ul li:first-child {
    padding-bottom: 10px;
  }

  header #title {
    font-size: 2rem;
  }
}
