/**********************/
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 ul {
  margin-top: 30px;
  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: 650px;
  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: 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-1 img {
  /*width: 610px;*/
}

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

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

.prev-next {
  display: flex;
  justify-content: space-between;
}

.prev-next li {
  max-width: 65%;
}

.prev-next a {
  font-weight: bold;
}

.betweenPostsAd {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

/*****************************************************************
                          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;
}

/**************************************************************************
//
//			@note media dependent dimensions of elements
//
**************************************************************************/
@media screen and (max-width: 670px) {
   main#columns {
    flex-direction: column;
  }

  #right {
    display: flex;
    flex-direction: row;
  }

  #right .squares {
    display: none;
  }
  
  #left {
    width: initial;
    max-width: 650px;
  }

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

  /*****************************************************************
                              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: 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;
  }
}
