@import '//fonts.googleapis.com/css?family=Open+Sans|Raleway';

body {
  font-family: "Open Sans", "segoe ui", helvetica, arial, sans-serif;
  font-size: 24px;
  font-size: calc(1em + 1vw);
  /* ^ this is the bollocks! Thanks @vasilis */
  margin: 0;
  padding: 0;
  min-width: 330px;
}
#masthead label {
  padding-right: 1em;
}
#masthead form {
  display: flex;
  align-items: flex-start;
  flex: 0 1 auto;
  color: #ccc;
}
#masthead {
  font-size: 60%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #111;
  padding: 1vh 1vw;
}
#masthead a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  flex: 0 1 auto;
}
#masthead small {
  color: orange;
}
#masthead button {
  padding: 0 0 0 0;
  margin: 0 0 0 1em;
  border: none;
  background: transparent;
  color: #fff;
}
header {
  clear: both;
  display: block;
  background: #eee;
  padding: 0 1vh 0 1vh;
  min-height: 150px;
  overflow: auto;
  font-size: 70%;
  transition: 400ms;
}
header:hover {
  transition: 400ms;
  box-shadow: -2px 2px 5px #ccc;
 transform: translate(0,-1px);
}
#sitenav img {
  width: 130px;
}
#sitenav {
  font-size: 85%;
  min-height: 120px;
  align-content: center;
  align-items: center;
  overflow: hidden;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
  padding: 20px 0;
}
#sitenav li {
  float: left;
  padding: 0 10px;
  text-align: center;
  display: inline-block;
  display: flex;
  flex: 0 1 auto;
}
#sitenav svg {
  display: block;
  margin: 5px auto;
  color: #e2712e;
  transition: 400ms;
}
#sitenav a {
  transition: 400ms;
  border-bottom: 2px solid transparent;
  padding-bottom: 5px;
  text-decoration: none;
  color: #2097bd;
}
#sitenav a:hover svg, #sitenav a:focus svg {
  color: #8f4a38;
  transform: scale(1.2);
}
#sitenav a:hover, #sitenav a:focus {
  border-color: #000;
  color:#000;
}
#sitenav li:first-child a:hover, #sitenav li:first-child a:focus {
  border-color: transparent;
  color:#000;
  transform: rotate(10deg);
}
#sitenav li:first-child {
  order: 1;
}
#sitenav li:nth-of-type(n+6) {
  order: 2;
}
/* ^ cor, that centres the logo */

.ms3 {
display: block;
}
footer {
  clear: both;
  padding: 20px;
  background: #ddd;
  display: block;
  font-size: 60%;
  color: #666;
}
footer a {
  color: #333;
}
section {
  max-width: 45em;
  margin: 0 auto;
  clear: both;
  font-size: 70%;
  display: block;
  padding: 2vh 4vw;
}
h1 {
  font-family: "Raleway";
  font-weight: normal;
  color: #006881;
}
h2 {
  font-family: "Raleway";
  font-weight: normal;
  color: #333;
}
h3 {
  font-family: "Raleway";
  font-weight: normal;
  color: #3AB4DC;
}
h1 a , h2 a, h3 a{
  text-decoration: none;
  color: #e2712e;
}

section a {
  color: #e2712e
}
section p, section li {
  line-height: 1.5em;
}
section img {
  max-width: 600px;
  margin: 0 auto;
}
section img.hero, section img.notop {
  max-width: 100%;
}
section li {
  padding-bottom: .5em;
  list-style: square;
}
.vignette {
  float: left;
  margin-right: 5px;
  margin-bottom: 10px;
  width: 20%;
}

blockquote {
  clear: both;
  position: relative;
  margin-left: 0;
  padding-left: 40px;
  color: #666;
}
blockquote:after {
  content: '”';
  font-size: 400%;
  position: absolute;
  top: -30px;
  left: 0; 
  color: #ccc;
}


.archives li {
  display: inline;
  padding-right: 1em;
}
.ads {
  text-align: center;
  clear: both;
  margin: 1em;
  width: calc(100% - 2em);
}
.postmetadata {
  color: #999;
  font-size: 90%;
}
.postmetadata a{
  color: #666;
}
.post small {
  color: rgb(102, 102, 102);
  font-style: italic;
}


.navigation {
  padding: 1vh 1vw;
  overflow: auto;
  margin: 0;
}
.navigation li {
  width: 50%;
  padding: 0;
  margin: 0;
  list-style: none;
}
.navigation .alignleft {
  float: left;
}
.navigation .alignright {
  float: right;
  text-align: right;
}
.navigation a {
  text-decoration: none;
}
/* ^ previous, next shizzle */


.tweetthis {
  float: right;
  text-align: center;
  margin: 2vh auto;
}
.tweetthis a {
  background: #2097bd;
  text-decoration: none;
  color: #fff;
  display: block;
  padding: 5px 10px;
  line-height: 32px;
  transition: 400ms;
}
.tweetthis svg {
  float: left;
  color: lightgoldenrodyellow;
  margin-right: 10px;
}
.tweetthis a:hover {
  background: #369;
}
/* ^ social media masterplan */

div.wp_syntax {
  width: calc(100% - 20px);
  margin: 5px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid silver;
  font-size: 0.8em;
}

/* ^ darn code, you */

@media all and (max-width: 766px) {
  header {
    min-height: 0;
    padding: 1vh;
  }
  #sitenav {
    padding: 25px 0 5px 0;
    display: block;
    min-height: 0;
  }
  #sitenav li:first-child {
    order: 0;
  }
  #sitenav img {
    width: 100px;
    margin: -25px 10px 0 0;
  }
  #sitenav li {
    text-align: center;
    padding:0 0 0 5px;
  }
  #sitenav li:first-child {
    padding-top: 0px;
    text-align: center;
  }
  #sitenav li svg {
    display: none;
  }
  section {
    font-size: 90%;
    display: block;
    padding: 2vh 4vw;
  }
}

.skip {
    font-size: 70%;
    color: #eee;
    position: absolute;
    top: 6vh;
    left: -50%;
    text-decoration: none;
    padding: 0.5em 1em;
}
figure {
  display: block;
  margin: 0.5em 0;
}
figcaption {
  font-size: 80%;
  display: block;
  padding: .5em 0;
}
.bottom {
  top: auto;
  color: #fff;
  position: relative;
}
.skip:focus {
    left: 0;
    background: #000;
    color: #fff;
}
.amplink {
  float: right;
}
@media print {
  header {
    display: none;
  }
  a {
    text-decoration: none;
  }
}

@media all and (max-width: 600px) {
  section iframe {
    display: none;
  }
  section  .embed-container iframe {
    display: block;
  }
}
/* Older videos bork it up, newer ones work */