* {
  padding:0px;
  margin:0px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

/* HEADER */

.header {
  position: relative;
  z-index: 100;
  padding-bottom: 0.2em;
}

.header .logo {
  margin-left: 30px;
  margin-top: 10px;
  height: 50px;
}
.header .banner {
  overflow: hidden;
}
.header .banner_image {
  height: 85px;
}

.header .header_title {
  float: left;
  display: block;
  background-color: white;
}

.header .header_subtitle {
  color: brown;
  font-size: 0.9em;
  margin-left: 20px;
  margin-top: 5px;
  margin-right: 15px;
}

.header .top_nav {
  width: 80%;
}

.header .top_nav ul {
  margin-top: 10px;
  margin-left: 7%;
  font-family: 'Merriweather', serif;
}
.header .top_nav li {
  font-size: 1.2em;
  display: inline-block;
  margin-top: 5px;
  margin-bottom: 5px;
  padding-left: 2%;
  padding-right: 2%;
  text-decoration: none;
  text-align: center;
  border-width: 1px;
  border-style: solid;
  border-color: #fff;
  /*background-color: #FFC840;
  background-image: -webkit-linear-gradient(top,#FFC840,#FFB600);
  background-image: -moz-linear-gradient(top,#FFC840,#FFB600);
  background-image: -o-linear-gradient(top,#FFC840,#FFB600);
  background-image: linear-gradient(top,#FFC840,#FFB600);
  box-shadow: 0em 0.07em 1px rgba(100,080,000,50);*/
}

.header .top_nav li:hover {
  border-color: #666;
  color: black;
  /*-webkit-transform: translate(0em, 0.07em);
  -moz-transform: translate(0em, 0.07em);
  -o-transform: translate(0em, 0.07em);
  -ms-transform: translate(0em, 0.07em);
  transform: translate(0em, 0.07em); */
}
.header .top_nav li a {
  text-decoration: none;
}
.header a:link, .header a:visited {
  color:#666;
}
.header a:hover {
  color:blue;
}

/* Blog specific stuff */

#blog_nav {
  width: 100%;
}

#blog_nav a {
  font-family: 'Merriweather', serif;
  font-size: 1em;
}

#blog_nav a:hover {
  color: blue;
}

#blog_nav .left_nav {
  margin-left: 10%;
  margin-top: 1em;
  float: left;
}

#blog_nav .right_nav {
  margin-right: 10%;
  margin-top: 1em;
  margin-bottom: 1em;
  float: right;
}

/* SIDEBAR */

/* This makes the sidebar work */
.all {
  position: relative;
}

.sidebar {
  position: absolute;
  right: 0px;
  top: 50px;
  bottom: 2px;
  width: 18%;
  border-color: black;
  border-style: solid;
  border-width: 1px;
  z-index: 200;
  overflow: hidden;
  background-color: white;
}

#sidebar a {
  font-family: 'Merriweather', serif;
  font-size: 0.9em;
  color: #707030;
}

#sidebar li {
  margin-bottom: 0.3em;
  margin-left: 1em;
  list-style: none;
}

.sidebar .sidebar_title {
  text-align: center;
  margin-left: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* FOOTER */
.footer {
  clear: both;
  width: 100%;
  font-size: 0.8em;
}

.footer p {
  margin-left: 20px;
  float: left;
}

.footer .rights {
  float: right;
  margin-right: 20px;
}

/* CONTENT */

.content {
  margin: 0px;
  margin-top: 1.2em;
  width: 81%;
  z-index: 0;
  min-height: 500px;
}

#fullwidth {
  width: 100%;
}

.content * {
  margin-left: 0em;
}

.content hr {
  margin-top: 1em;
  margin-bottom: 1em;
}

.content .title {
  color: #060;
  font-size: 1.4em;
  font-weight: 300;
  text-transform: capitalize;
  text-align: center;
  margin-bottom: 5px;
  margin-top: 2em;
  font-weight: 500;
  font-family: 'Merriweather', serif;
  font-style: italic;
}

.content .subtitle {
  font-size: 1.2em;
  font-weight: 300;
  text-transform: capitalize;
  text-align: center;
  margin-bottom: 2em;
  font-weight: 500;
  font-family: 'Merriweather', serif;
  font-style: italic;
}


.content h3, .content h2, .content h4 {
  font-family: 'Mate', serif;
  color:#555555;
  margin-top: 0.4em;
  margin-bottom: 0em;
  padding: 0em;
  font-weight: 500;
  margin-left: 1em;
}

.content h2 {
  font-size: 1.5em;
}

.content h3 {
  font-size: 1.2em;
}

.content h4 {
  font-size: 1em;
  font-weight: 600;
}

.content p, .content li {
  font-family: 'Merriweather', serif;
  font-size: 1em;
  margin: 0.3em;
  margin-bottom: 0.5em;
  padding: 0em;
  word-spacing: 0.09em;
  text-align: left;
  max-width: 800px;
  margin-left: 1.5em;
}
.content p {
  /*text-indent: 1.5em;*/
  line-height: 1.30em;
}
.content li {
  margin-left: 2.5em;
}

.content a:link, .header a:visited {
  color:#330;
  margin: 0px;
}
.content a:hover {
  color:blue;
}
.content img {
  border: 1px solid black;
  /*padding: 3px;*/
  background-color: #555;
  margin: 1.5em;
}
.content a[href^="http://www.flickr.com"][title] {
  margin: 0px;
  margin-left: 2%;
}
.content .right a[href^="http://www.flickr.com"][title] {
  float: right;
  margin: 0px;
  margin-right: 2%;
}
.content a[href^="https://www.flickr.com"][title] {
  margin: 0px;
  margin-left: 2%;
}
.content .right a[href^="https://www.flickr.com"][title] {
  float: right;
  margin: 0px;
  margin-right: 2%;
}
.clear_both {
  clear: both;
  width: 100%;
}

table {
  font-size: 0.9em;
  border-width: 1px;
  border-color: #666;
  border-style: solid;
  border-collapse: collapse;
}

table th, table td {
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  border-style: solid;
  border-width: 1px;
}
table th {
  background-color: #dedede;
}

@media (max-width:790px) {
  /* sidebar goes away */
  .sidebar {
    /*position: static;*/
    position: relative;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
  }
  .content {
    width: 100%;
  }
  .header .top_nav {
    width: 100%;
    clear: both;
  }
  /* top nav snaps left */
  .header .top_nav ul {
    margin-left: 10px;
  }
  
}
