@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,700,700italic,400italic,300italic|Inika);

/* Global Reset */
* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  background-color: #FFF;
  font-family: 'Roboto', serif;
  font-size: 16px;
  line-height: 1.6em;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  color: #002b36;
  font-family: 'Inika', serif;
  word-spacing: .1em;
}

p { margin: 1em 0; }

a, a:visited, a:link, a:hover {
  color: #1240AB;
  text-decoration: none;
  border-bottom: 1px dotted #2A4480
}

blockquote {
  font-size: 1.3em;
  font-style: italic;
  text-align: center;
}

blockquote p {
  font-weight: 300;
}

blockquote cite {
  color: #999999;
  font-size: 14px;
  display: block;
  margin-top: 5px;
}

table {
  font-size: inherit;
  font: 100%;
}

/* LAYOUT */

#wrapper {
  margin: 0 auto;
  max-width: 1180px;
  padding: 15px 0;
}

@media only screen and (min-width: 768px) {
  #wrapper {
    padding: 40px 0;
  }
}

header {
  text-align: center;
  margin-bottom: 15px;
}

header p {
  padding: 0 20px;
}

#logo {
  text-decoration: underline;
}

#logo img {
  display: none;
}


@media only screen and (min-width: 768px) {
  header {
    text-align: left;
    position: fixed;
    width: 220px;
    padding: 20px 40px 0;
    top: 0;
  }

  #logo h1 {
    text-align: center;
  }

  #logo {
    text-decoration: none;
  }

  #logo img {
    display: block;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    margin-bottom: 10px;
    margin-left: 10px;
  }

  header p {
    padding: 0;
  }

}

#logo {
  border: 0;
}

#logo h1 {
  font-size: 1.6em;
}

#content {
  background: #FFF;
  margin-left: 5px;
  margin-right: 0px;
  max-width: 60em;
  padding: 0 10px;
}

#content h1 {
  font-size: 2.0em;
  line-height: 1.1em;
}

@media only screen and (min-width: 768px) {
 #content {
  margin-left: 300px;
  margin-right: 40px;
  max-width: 60em;
  padding: 0 40px;
 }
}

#menu {
  margin: 5px;
  margin-top: 40px;
  padding: 0 10px;
}

#menu h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
}


@media only screen and (min-width: 768px) {
  #menu {
    margin: 0;
    position: fixed;
    top: 450px;
    width: 220px;
    margin: 0px;
    padding: 0 40px;
  }
}

#menu ul {
  list-style-type: none;
  margin-bottom: 1rem;
}


/* POSTS */

.posts h2 {
  font-size: 1.25em;
  line-height: 1.61803em;
}

.posts ul {
  list-style-type: none;
}

@media only screen and (min-width: 768px) {
  .posts li {
    border-bottom: 1px dotted #ece7db;
  }
}

.post-group span {
  background: #FFF;
  display: inline-block;
  position: relative;
  top: 6px;
}

.post-group .date {
  float: right;
  padding: 0 0 0 5px;
  display: none;
}

@media only screen and (min-width: 768px) {
  .post-group .date {
    display: block;
  }
}


.post-group {
  margin-top: 2rem;
}

.post-group:first-child {
  margin-top: 0;
}

.posts a {
  border-bottom: none;
}

/* Footer */
footer {
  margin-top: 40px;
}

@media only screen and (min-width: 768px) {
  footer {
    float: right;
  }
}

/* Single Post */

#content time {
  font-size: 12px;
  font-style: italic;
}

#post ul, #post ol {
  margin-left: 40px;
}

#post h2 {
  margin-top: 1.8em;
}

#post img {
  display:block;
  margin:5rem 0;
  width: 100%;
}

/* Pagination */
.pagination {
  text-align: center;
  margin: 20px 0;
}

#disqus_thread {
  margin-top: 3em;
}

#speaking h2 {
  font-size: 2.0rem;
  margin: 20px 0;
}

#speaking h3 {
 margin: 15px 0;
 border-bottom: 1px solid #CCC;
}

#speaking li {
  margin-left: 3em;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}