/*
Theme Name: Raven
Theme URI: http://yellowbek.com/
Description: Custom theme based on the design (but not the code) of the BlackBird theme.
Author: Yellowbek Ltd
Author URI: http://yellowbek.com/
Version: 1.0
Tags: white, two-columns

License: MIT
License URI: http://opensource.org/licenses/MIT
*/

@import url(desktop.css) (min-width: 1024px);
@import url(tablet.css) (min-width:900px) and (max-width:1023px);
@import url(mobile.css) (max-width: 899px);

/* Structure. */

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body  {
  margin: 0;
  padding: 0;
  height: 100%;
}

.content {
  max-width: 52em;
  margin: auto;
}

p {
  word-wrap: break-word;
}

/* Styling. */

body {
  color: #333;
  background-color: white;
  font-family: Optima, Georgia, sans-serif;
  line-height: 1.5em;
}

h1 {
  margin: 0;
  padding: 0.8em 0;
  line-height: normal;
}

h1 + p {
  margin: 0 0 1em 0;
}

a {
  color: #c43825;
  text-decoration: none;
}

a img {
  border: none;
}

img {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

video {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

img.plain {
  box-shadow: none;
}

img.hero {
  width: 100%;
}

img.feature {
  max-width: 639px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2em;
  margin-bottom: 2em;
}

img.padded {
  padding: 2em;
}

blockquote{
  display:block;
  background: #fbfbf7;
  padding: 0em 1em 0em 3em;
  margin: 0 0 20px;
  position: relative;

  font-family: Optima, Georgia, serif;
  line-height: 1.5;
  color: #666;

  border: solid 1px #d9d9d9;
  border-radius: 5px;
}

blockquote::before{
  content: "\201C"; /*Unicode for Left Double Quote*/

  /*Font*/
  font-family: Georgia, serif;
  font-size: 300%;
  font-weight: bold;
  color: #999;

  /*Positioning*/
  position: absolute;
  left: 0.3em;
  top: -0.15em;
}

blockquote::after{
  /*Reset to make sure*/
  content: "";
}

blockquote a{
  text-decoration: none;
  background: #eee;
  cursor: pointer;
  padding: 0 3px;
  color: #c76c0c;
}

blockquote a:hover{
 color: #666;
}

blockquote em{
  font-style: italic;
}

figure {
  width: 40%;
  text-align: center;
}

table {
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid gray;
}

table td {
  padding: 0 1em 0 1em;
}

.embed {
  float: right;
}

.inline {
  display: inline;
}

figure img {
  width: 100%;
}

figcaption {
  font-size: 85%;
}

/* Header. */

header div.ribbon {
  background-color: #c43825;
  display: block;
  text-align: center;
}

header div.ribbon a {
  display: inline;
  color: #eaeaea;
  text-shadow: 2px 2px 2px #666;
}

nav.sitenav {
  background-color: #e5e9d0;
}

nav {
  overflow: hidden;
}

nav ul {
  position: relative;
  left: 50%;
  float: left;
  list-style-type: none;
  margin: auto;
  padding: 1em 0;
}

nav li {
  position: relative;
  right: 50%;
  float: left;
  font-size: larger;
  display: block;
}

nav li span {
  float: left;
  display: block;
}

nav a {
  display: block;
  text-decoration: none;
  color: #888;
}

nav a:hover {
    color: #c43825;
}

/* Content. */

.readmore {
  text-align: right;
}

#primary article {
  padding: 0 0 1em 0;
}

#primary article h1 {
  font-size: 200%;
}

#primary article header h1 {
  padding-bottom: 0.1em;
  text-align: center;
}

#primary article header .meta {
  color: #444;
  text-align: center;
}

#primary article header .author {
}

#primary article header time {
  margin: 0;
  padding: 0;
}

#primary article + article {
  padding-top: 1em;
}

#primary h2 {
  margin: 1.5em 0 0 0;
}

#primary [rel="prev"] {
  float: left;
}

#primary [rel="prev"]::before {
  content: "☚ ";
}

#primary [rel="next"] {
  float: right;
}

#primary [rel="next"]::after {
  content: " ☛";
}

#bottombar {
  margin-top: 2.3em;
}

#sidebar, #bottombar > ul {
  list-style-type: none;
  padding: 0;
}

/* Footer. */

footer {
  clear: both;
}

footer section {
  padding: 1em 2em;
}

footer.info {
  color: rgb(104, 128, 148);
  background-color: #12212F;
}

footer.info h2 {
  color: #F5C11C;
  font-size: 140%;
}

footer.info ul {
  float: right;
  list-style-type: none;
}

footer.info a {
  color: rgb(104, 128, 148);
  text-decoration: none;
}

footer a[title="twitter"]::before {
  content: url("images/twitter-icon.png");
  padding-right: 10px;
}

footer a[title="faqs"]::before {
  content: url("images/faqs-icon.png");
  padding-right: 10px;
}

footer a[title="contact"]::before {
  content: url("images/contact-icon.png");
  padding-right: 10px;
}

footer.info a {
  vertical-align: top;
}

/* Metadata footer. */

footer.metadata {
  color: #555;
  font-size: smaller;
  text-align: center;
  background-color: #e5e9d0;
}

footer.metadata .copyright {
}

footer.metadata .credits {
  float: right;
}

footer.metadata section {
  overflow: hidden;
}

/* Videos. */

.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%;
}

/* Tables. */

td {
  padding: 0em 0.6em;
}
