html {
  min-height:100%;
}

body {
  margin: 0;
  padding: 0;
  color: #333333;
  font-family: 'Lato', sans-serif;
}

#cover {
  position:fixed;
  height:100%;
  width:100%;
  top:0;
  left:0;
  z-index:-1;
}

#nav {
  background-color: #20B2FF;
  color: #FFFFFF;
  font-family: 'Signika Negative', sans-serif;
  width: 100%;
  border-bottom: 1px solid #CCCCCC;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 140px;
  margin: 0;
  padding:0; 
}

.logo img {
  width:auto;
}

#nav span {
  font-size: 82px;
  margin: 0 0 0 14px;
}

.nav-buttons {
  display: block;
  margin: 0 0 20px 0;
}

.nav-buttons ul {
  list-style-type: none;
  padding: 0 14px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.nav-buttons li {
  text-align: center;
  display: list-item;
  flex-grow: 1;
  min-width:120px;
  font-size: 20px;
  padding: 5px 0;
}

.nav-buttons a,
.nav-buttons a:visited,
.nav-buttons a:link,
.nav-buttons a:active {
  text-decoration: none;
  color:inherit;
  opacity:0.65;
  border: 1px solid transparent;
}

.nav-buttons a:hover {
  color:inherit;
  opacity: 0.95;
  text-decoration: none;
}

.shadowbox {
  background-color: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
  box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
  max-width: 740px;
  font-size: 16px;
  line-height: 1.75em;
  padding: 16px 40px;
}

.shadowbox.article-preview {
  border: none;
  margin-bottom: 24px;
  height:320px;
  padding:0;
}

.shadowbox.slim-article-preview {
  height:180px;
}

.article-preview a,
.article-preview a:visited,
.article-preview a:active,
.article-preview a:link {
  position:relative;
  text-decoration: none;
  display:inline-block;
  width:100%;
  height:100%;
  cursor:pointer;
}

.article-preview a:hover {
  text-decoration: none;
  background-color:rgba(255,255,255,0.2);
}

.article-preview-overlay {
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  border-radius: 0 0 8px 8px;
  background-color: rgba(0,0,0,0.5);
  padding: 16px;
  color: #FFFFFF;
}

.article-preview-text {
  display:block;
  line-height:1.2em;
}

.article-preview-title {
  font-size: 26px;
  font-weight: bold;
}

.article-preview-date {
  font-size: 18px;
}

.slim-article-preview .article-preview-title {
  font-size: 18px;
}

.slim-article-preview .article-preview-date {
  font-size: 14px;
}

#content {
  margin: 60px auto 50% auto;
}

.content {

}

/*#content-heading {
  color: white;
  text-align:center;
  opacity:0.5;
  margin: 0 0 60px 0;
}

#content-heading h1 {
  padding: 0.4em;
  display:inline-block;
  background-color: #20B2FF;  
  border-radius: 8px;
  box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
}*/

#content-panel {
  min-width: 100%;
}

@media (min-width:240px)  { 
  /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ 
  .logo {
    padding: 14px;
  }

  .logo img {
    width: 26px;
  }

  #nav span {
    font-size: 26px;
  }

  .nav-buttons {
    margin: 0 0 10px 0;
  }

  .nav-buttons a.active {
    padding: 0.2em 0.4em;
    border: 1px solid white;
    border-radius: 4px;
  }

  #content {
    margin-top: 15px;
    max-width: 85%;
    font-size: 13px;
  }

  #content-panel {
  }

  .shadowbox {
    padding: 12px 20px;
  }

}
@media (min-width:480px)  { 
  /* smartphones, Android phones, landscape iPhone */ 
  .logo {
    padding: 14px;
  }

  .logo img {
    width: 26px;
  }

  #nav span {
    font-size: 26px;
  }

  .nav-buttons {
    margin: 0 0 10px 0;
  }

  .nav-buttons li {}
}
@media (min-width:600px)  { 
  /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ 
  .logo {
    padding: 14px;
  }

  .logo img {
    width: 40px;
  }

  #nav span {
    font-size: 40px;
  }

  .nav-buttons {
    margin: 0 0 10px 0;
  }

  .nav-buttons li {}

  #content {
    margin-top: 40px;
    font-size: 16px;
  }

  .shadowbox {
    padding: 18px 30px;
  }
}
@media (min-width:801px)  { 
  /* tablet, landscape iPad, lo-res laptops ands desktops */ 
  .logo img {
    width:auto;
  }

  #nav span {
    font-size: 82px;
    margin: 0 0 0 14px;
  }

  .nav-buttons {
    margin: 0 0 20px 0;
  }

  #content {
    margin-top: 60px;
    max-width: 740px;
  }

  #content-panel {
  }

}
@media (min-width:1025px) { 
  /* big landscape tablets, laptops, and desktops */ 
}
@media (min-width:1281px) { 
  /* hi-res laptops and desktops */ 
}


#copyright {
  /*position: absolute;*/
  bottom:0;
  left:0;
  width: 100%;
  opacity: 0.4;
  font-size: 10px;
  text-align:center;
  padding: 16px 0;
}