/* ==========================================================================
   Table of Contents
   ========================================================================== */

/*

    0.  Normalize
    1.  Icons
    2.  General
    3.  Utilities
    4.  General
    5.  Single Post
    6.  Tag Archive
    7.  Read Next
    8.  Third Party Elements
    9.  Pagination
    10.  Footer
    11. Media Queries (Tablet)
    12. Media Queries (Mobile)
    13. Animations

*/

/* ==========================================================================
   0. Normalize.css v2.1.3 | MIT License | git.io/normalize | (minified)
   ========================================================================== */

article, aside, details,
figcaption, figure,
footer, header, hgroup,
main, nav, section,
summary { display: block; }
audio, canvas, video { display: inline-block; }
audio:not([controls]) { display: none; height: 0; }
[hidden], template { display: none; }
html {
   font-family: sans-serif;
   -ms-text-size-adjust: 100%;
   -webkit-text-size-adjust: 100%;
}
body { margin: 0; }
a { background: transparent; }
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }
h1 { font-size: 2em; margin: 0.67em 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: 700; }
dfn { font-style: italic; }
hr {
   -moz-box-sizing: content-box;
   box-sizing: content-box;
   height: 0;
}
mark { background: #FF0; color: #000; }
code, kbd, pre,
samp { font-family: monospace, serif; font-size: 1em; }
pre { white-space: pre-wrap; }
q { quotes: "\201C" "\201D" "\2018" "\2019"; }
small { font-size: 80%; }
sub, sup {
   font-size: 75%;
   line-height: 0;
   position: relative;
   vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }
img { border: 0; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
fieldset {
   border: 1px solid #c0c0c0;
   margin: 0 2px;
   padding: 0.35em 0.625em 0.75em;
}
legend { border: 0; padding: 0; }
button, input, select,
textarea { font-family: inherit; font-size: 100%; margin: 0; }
button, input { line-height: normal; }
button, select { text-transform: none; }
button, html input[type="button"],
input[type="reset"], input[type="submit"] {
   -webkit-appearance: button;
   cursor: pointer;
}
button[disabled], html input[disabled] { cursor: default; }
input[type="checkbox"],
input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="search"] {
   -webkit-appearance: textfield;
   -moz-box-sizing: content-box;
   -webkit-box-sizing: content-box;
   box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner,
input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }
table { border-collapse: collapse; border-spacing: 0; }


/* ==========================================================================
   1. Icons - Sets up the icon font and respective classes
   ========================================================================== */

/* Import the font file with the icons in it */
@font-face {
    font-family: "petcube-icons";
    src:url("https://petcube.com/news/assets/fonts/petcube-icons.eot?v=4");
    src:url("https://petcube.com/news/assets/fonts/petcube-icons.eot?v=4#iefix") format("embedded-opentype"),
    url("https://petcube.com/news/assets/fonts/petcube-icons.woff?v=4") format("woff"),
    url("https://petcube.com/news/assets/fonts/petcube-icons.ttf?v=4") format("truetype"),
    url("https://petcube.com/news/assets/fonts/petcube-icons.svg?v=4#icons") format("svg");
    font-weight: normal;
    font-style: normal;
}

/* Apply these base styles to all icons */
[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "petcube-icons", "Open Sans", sans-serif;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    vertical-align: middle;
    line-height: 1;
    text-decoration: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Each icon is created by inserting the correct character into the
   content of the :before pseudo element. Like a boss. */
.icon-arrow-previous:before {
    content: "\e000";
}
.icon-arrow-next:before {
    content: "\e001";
}
.icon-youtube:before {
    content: "\e002";
    font-size: 1.4em;
}
.icon-burger:before {
    content: "\e003";
}
.icon-dropdown:before {
    content: "\e004";
}
.icon-facebook:before {
    content: "\e005";
}
.icon-facebook-1:before {
    content: "\e006";
    font-size: 1.2em;
}
.icon-instagram:before {
    content: "\e007";
    font-size: 1.1em;
}
.icon-letter:before {
    content: "\e008";
}
.icon-pinterest:before {
    content: "\e009";
    font-size: 1.14em;
}
.icon-pinterest-1:before {
    content: "\e00a";
    font-size: 1.2em;
}
.icon-tag:before {
    content: "\e00b";
}
.icon-topics:before {
    content: "\e00c";
}
.icon-twitter:before {
    content: "\e00d";
    font-size: 1.2em;
}
.icon-link:before {
    content: "\e00e";
}
.icon-location:before {
    content: "\e010";
}
.icon-stats:before {
    content: "\e011";
}
.icon-website:before {
    content: "\e00f";
    font-size: 1.2em;
}

img.svg {
    display: none;
}

/*
    IMPORTANT: When making any changes to the icon font, be sure to increment
    the version number by 1 in the @font-face rule. `?v=1` becomes `?v=2`
    This forces browsers to download the new font file.
*/


/* ==========================================================================
   2. General - Setting up some base styles
   ========================================================================== */

html {
    height: 100%;
    max-height: 100%;
    font-size: 62.5%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    height: 100%;
    max-height: 100%;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.01rem;
    font-size: 1.8rem;
    line-height: 1.75em;
    color: #000000;
    -webkit-font-feature-settings: 'kern' 1;
    -moz-font-feature-settings: 'kern' 1;
    -o-font-feature-settings: 'kern' 1;
    text-rendering: geometricPrecision;
}

::-moz-selection {
    background: #D6EDFF;
}

::selection {
    background: #D6EDFF;
}

h1, h2, h3,
h4, h5, h6 {
    -webkit-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
    -moz-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
    -o-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
    color: #2E2E2E;
    line-height: 1.15em;
    margin: 0 0 0.45em 0;
    font-family: 'gotham_problack', sans-serif;
    text-rendering: geometricPrecision;
    font-weight: normal;
}

h1 {
    font-size: 5rem;
    text-indent: -3px;
}

h2 {
    font-size: 4rem;
}

h3 {
    font-size: 3rem;
}

h4 {
    font-size: 2.5rem;
}

h5 {
    font-size: 2rem;
}

h6 {
    font-size: 2rem;
}

a {
    color: #000000;
    transition: color 0.3s ease;
}

a:hover {
    color: #111;
}

p, ul, ol, dl {
    -webkit-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
    -moz-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
    -o-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
    margin: 0 0 1.75em 0;
    text-rendering: geometricPrecision;
}

ol, ul {
    padding-left: 3rem;
}

ol ol, ul ul,
ul ol, ol ul {
    margin: 0 0 0.4em 0;
    padding-left: 2em;
}

dl dt {
    float: left;
    width: 180px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    margin-bottom: 1em;
}

dl dd {
    margin-left: 200px;
    margin-bottom: 1em
}

li {
    margin: 0.4em 0;
}

li li {
    margin: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: #EFEFEF 1px solid;
    margin: 3.2em 0;
    padding: 0;
}

blockquote {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 1.75em 0 1.75em -2.2em;
    padding: 0 0 0 1.75em;
    border-left: #4A4A4A 0.4em solid;
}

blockquote p {
    margin: 0.8em 0;
    font-style: italic;
}

blockquote small {
    display: inline-block;
    margin: 0.8em 0 0.8em 1.5em;
    font-size: 0.9em;
    color: #CCC;
}

blockquote small:before { content: "\2014 \00A0"; }

blockquote cite {
    font-weight: 700;
}

blockquote cite a { font-weight: normal; }

mark {
    background-color: #fdffb6;
}

code, tt {
    padding: 1px 3px;
    font-family: Inconsolata, monospace, sans-serif;
    font-size: 0.85em;
    white-space: pre-wrap;
    border: #E3EDF3 1px solid;
    background: #F7FAFB;
    border-radius: 2px;
}

pre {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 0 1.75em 0;
    border: #E3EDF3 1px solid;
    width: 100%;
    padding: 10px;
    font-family: Inconsolata, monospace, sans-serif;
    font-size: 0.9em;
    white-space: pre;
    overflow: auto;
    background: #F7FAFB;
    border-radius: 3px;
}

pre code, pre tt {
    font-size: inherit;
    white-space: pre-wrap;
    background: transparent;
    border: none;
    padding: 0;
}

kbd {
    display: inline-block;
    margin-bottom: 0.4em;
    padding: 1px 8px;
    border: #CCC 1px solid;
    color: #666;
    text-shadow: #FFF 0 1px 0;
    font-size: 0.9em;
    font-weight: 700;
    background: #F4F4F4;
    border-radius: 4px;
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.2),
        0 1px 0 0 #fff inset;
}

table {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 1.75em 0;
    width: 100%;
    max-width: 100%;
    background-color: transparent;
}

table th,
table td {
    padding: 8px;
    line-height: 20px;
    text-align: left;
    vertical-align: top;
    border-top: #EFEFEF 1px solid;
}

table th { color: #000; }

table caption + thead tr:first-child th,
table caption + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
    border-top: 0;
}

table tbody + tbody { border-top: #EFEFEF 2px solid; }

table table table { background-color: #FFF; }

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
    background-color: #F6F6F6;
}

table.plain tbody > tr:nth-child(odd) > td,
table.plain tbody > tr:nth-child(odd) > th {
   background: transparent;
}

iframe, .fluid-width-video-wrapper {
    display: block;
    margin: 1.75em 0;
}

.post-content .video {
    margin: 0 -8rem;
    width: auto;
}

/* When a video is inside the fitvids wrapper, drop the
margin on the iframe, cause it breaks stuff. */
.fluid-width-video-wrapper iframe {
    margin: 0;
}


/* ==========================================================================
   3. Utilities - These things get used a lot
   ========================================================================== */

/* Clears shit */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* Hides shit */
.hidden {
    text-indent: -9999px;
    visibility: hidden;
    display: none;
}

/* Creates a responsive wrapper that makes our content scale nicely */
.inner {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.inline-block {
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    *vertical-align: auto;
    zoom: 1;
    *display: inline;
}

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

/* Centres vertically yo. (IE8+) */
.vertical {
    display: table-cell;
    vertical-align: middle;
}

/* Wraps the main content & footer */
.site-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100%;
    background: #f4f4f4;
    -webkit-transition: -webkit-transform 0.5s ease;
            transition: transform 0.5s ease;
}

body.nav-opened {
    overflow: hidden;
}
body.nav-opened .site-wrapper,
body.nav-opened header.header {
    -webkit-transform: translate3D(-240px, 0, 0);
        -ms-transform: translate3D(-240px, 0, 0);
            transform: translate3D(-240px, 0, 0);
    -webkit-transition: -webkit-transform 0.3s ease;
            transition: transform 0.3s ease;
}

body.modal-opened {
    overflow: hidden;
}


/* ==========================================================================
   4. General - The main styles for the the theme
   ========================================================================== */

main.content {
    padding-top: 118px;
    position: relative;
}

/* Big cover image on the home page */
.main-header {
    position: relative;
    display: table;
    width: 100%;
    height: 100vh;
    margin-bottom: 5rem;
    text-align: center;
    background: #222 no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.main-nav {
    position: relative;
    padding: 35px 40px;
    margin: 0 0 30px 0;
}

.main-nav a {
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
}

/* Navigation */
body.nav-opened .nav-cover {
    position: fixed;
    top: 0;
    left: 0;
    right: 240px;
    bottom: 0;
    z-index: 200;
}

.nav {
    text-align: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    width: 240px;
    opacity: 0;
    margin-bottom: 0;
    overflow-y: auto;
    -webkit-transition: -webkit-transform 0.5s ease,
                        opacity 0.3s ease 0.7s;
            transition: transform 0.5s ease,
                        opacity 0.3s ease 0.7s;
}

body.nav-closed .nav {
    -webkit-transform: translate3D(97px, 0, 0);
        -ms-transform: translate3D(97px, 0, 0);
            transform: translate3D(97px, 0, 0);
}

body.nav-opened .nav {
    opacity: 1;
    -webkit-transition: -webkit-transform 0.3s ease,
                        opacity 0s ease 0s;
            transition: transform 0.3s ease,
                        opacity 0s ease 0s;
    -webkit-transform: translate3D(0, 0, 0);
        -ms-transform: translate3D(0, 0, 0);
            transform: translate3D(0, 0, 0);
}

.nav-title {
    font-family: 'gotham', sans-serif;
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 20px;
    font-weight: 600;
}

.nav-close {
    position: absolute;
    top: 18px;
    right: 25px;
    width: 25px;
    height: 25px;
    padding: 0;
    font-size: 10px;
}

.nav-close:focus {
    outline: 0;
}

.nav-close:before,
.nav-close:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background: rgb(150,150,150);
    top: 12px;
    right: 3px;
    -webkit-transition: background 0.15s ease;
            transition: background 0.15s ease;
}

.nav-close:before {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

.nav-close:after {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.nav ul {
    padding: 60px 9% 5%;
    list-style: none;
    counter-reset: item;
}

.nav li {
    margin: 0;
}
.nav li a {
    text-decoration: none;
    line-height: 2;
    font-size: 2rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav li.nav-current a,
.nav li a:hover,
.nav li a:active,
.nav li a:focus {
    border-bottom: 3px solid #feeca0;
}

/* Create a bouncing scroll-down arrow on homepage with cover image */
.scroll-down {
    display: block;
    position: absolute;
    z-index: 100;
    bottom: 45px;
    left: 50%;
    margin-left: -16px;
    width: 34px;
    height: 34px;
    font-size: 34px;
    text-align: center;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-animation: bounce 4s 2s infinite;
    animation: bounce 4s 2s infinite;
}

/* Stop it bouncing and increase contrast when hovered */
.scroll-down:hover {
    color: #fff;
    -webkit-animation: none;
    animation: none;
}

/* Put a semi-opaque radial gradient behind the icon to make it more visible
   on photos which happen to have a light background. */
.home-template .main-header:after {
    display: block;
    content: " ";
    width: 150px;
    height: 130px;
    border-radius: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -75px;
    background: radial-gradient(ellipse at center,  rgba(0,0,0,0.15) 0%,rgba(0,0,0,0) 70%,rgba(0,0,0,0) 100%);
}

/* Hide when there's no cover image or on page2+ */
.no-cover .scroll-down,
.no-cover.main-header:after,
.archive-template .scroll-down,
.archive-template .main-header:after {
    display: none
}

/* Appears in the top left corner of your home page */
.blog-logo {
    display: block;
    float: left;
    background: none !important; /* Makes sure there is never a background */
    border: none !important; /* Makes sure there is never a border */
}

.blog-logo img {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    height: 38px;
    padding: 1px 0 5px 0;
    width: auto;
}

a.menu-button {
    float: right;
    transition: all 0.5s ease;
    padding: 15px 20px;
    letter-spacing: normal;
}

a.menu-button:hover {
    color: #feeca0;
    background: #c5b46e;
}

a.menu-button.icon-burger:before {
     font-size: 2.6rem;
}

.menu-button:focus {
    outline: 0;
}

/* When the navigation is closed */
.nav-closed .menu-button {
    color: #c5b46e;
    background: #feeca0;
}

/* When the navigation is opened */
.nav-opened .menu-button {
    -webkit-transform: translate3D(94px, 0, 0);
        -ms-transform: translate3D(94px, 0, 0);
            transform: translate3D(94px, 0, 0);
    transition: all 0.3s ease;
}

/* Special styles when overlaid on an image*/
.main-nav.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    border: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%);
}
.no-cover .main-nav.overlay {
    background: none;
}

/* The details of your blog. Defined in ghost/settings/ */
.page-title {
    margin: 10px 0 10px 0;
    font-size: 5rem;
    letter-spacing: -1px;
    font-weight: 700;
    font-family: "Open Sans", sans-serif;
    color: #fff;
}

.page-description {
    margin: 0;
    font-size: 2rem;
    line-height: 1.5em;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.01rem;
    color: rgba(255,255,255,0.8);
}

.no-cover.main-header {
    min-height: 160px;
    max-height: 40vh;
    background: #f5f8fa;
}

.no-cover .page-title {
    color: rgba(0,0,0,0.8);
}

.no-cover .page-description {
    color: rgba(0,0,0,0.5);
}

/* Add subtle load-in animation for content on the home page */
.home-template .page-title {
    -webkit-animation: fade-in-down 0.6s;
    animation: fade-in-down 0.6s;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}
.home-template .page-description {
    -webkit-animation: fade-in-down 0.9s;
    animation: fade-in-down 0.9s;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

/* Every post, on every page, gets this style on its <article> tag */
.post {
    position: relative;
    max-width: 850px;
    margin: 4.8rem auto;
    padding: 6rem 8rem;
    word-wrap: break-word;
}

article.post {
    background-color: #FFFFFF;
}

.post .post-header > a {
    text-decoration: none;
}

.post .post-cover {
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #d5d5d5;
    background-size: cover;
    height: 335px;
    margin: -6rem -8rem 5rem;
    padding: 6rem 8rem;
    position:relative;
}

.post-cover:before, .read-next-story .cover:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -moz-linear-gradient(top, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.50)), color-stop(100%,rgba(0,0,0,0)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.50) 0%,rgba(0,0,0,0) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0.50) 0%,rgba(0,0,0,0) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.50) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.50) 0%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
}

.post-share {
    position:relative;
    float: right;
}

.post-share .share {
    color: #FFFFFF;
    opacity: 0.6;
    font-size: 2.6rem;
    margin-left: 1.7rem;
    transition: opacity 0.3s ease;
}

.post-share .share:first-child {
    margin-left: 0;
}

.post-share .share:hover {
    opacity: 1;
}

.post .category {
    font-family: 'gotham', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 4px;
    font-weight: bold;
    position: relative;
    margin-top: -6px;
    margin-right: 17px;
}

.post-template .category {
    float: left;
    color: #000000;
    margin-top: -8px;
    margin-left: -8px;
}

.post .category .title {
    line-height: 50px;
    float: right;
    margin-left: 17px;
}

.post .category .icon,
.post .category svg {
    position: relative;
    width: 50px;
    height: 50px;
    float: left;
}

.post-template .category .overlay {
    position: absolute;
    border: 8px solid #fff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-family: 'gotham', sans-serif;
}

.post-template .category svg {
    background-color: #000000;
}

.post-template .category svg * {
    fill: #ffffff;
}

body:not(.post-template) .post-title {
    font-size: 3.6rem;
    margin-bottom: 3rem;
}

.post-title a {
    text-decoration: none;
}

.post-excerpt p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7em;
}

.post-excerpt a {
    color: #0099ff;
    text-decoration: none;
}

.post-excerpt img, .post-excerpt iframe {
    display: none;
}

.post-excerpt a:hover {
    text-decoration: underline;
}

.read-more {
    text-decoration: none;
}

.post-excerpt p:last-child:after {
    content: '...';
}

.post-meta {
    display: table;
    margin: 3rem 0 0 0;
    font-family: "Open Sans", sans-serif;
    font-size: 1.4rem;
    line-height: 2.2rem;
    color: #d5d5d5;
    width: 100%;
}

.post-meta .icon-tag {
    float: left;
}

.post-meta > div {
    display: table-cell;
}

.post-meta .author-date {
    text-align: right;
}

.post-meta .icon-tag {
    margin-right: 10px;
    margin-left: -10px;
    font-size: 2.1rem;
}

.author-thumb {
    width: 24px;
    height: 24px;
    float: left;
    margin-right: 9px;
    border-radius: 100%;
}

.post-meta a {
    color: #c3c3c3;
    text-decoration: none;
    border-bottom: 1px solid #e2e2e2;
}

.user-meta {
    position: relative;
    padding: 0.3rem 40px 0 100px;
    min-height: 77px;
}

.post-date {
    display: inline-block;
    margin-left: 8px;
    padding-left: 12px;
    border-left: #d5dbde 1px solid;
    text-transform: uppercase;
    font-size: 1.3rem;
    white-space: nowrap;
}

.user-image {
    position: absolute;
    top: 0;
    left: 0;
}

.user-name {
    display: block;
    font-weight: 700;
}

.user-bio {
    display: block;
    max-width: 440px;
    font-size: 1.4rem;
    line-height: 1.5em;
}

.publish-meta {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4.3rem 0 4rem 0;
    text-align: right;
}

.publish-heading {
    display: block;
    font-weight: 700;
}

.publish-date {
    display: block;
    font-size: 1.4rem;
    line-height: 1.5em;
}


/* ==========================================================================
   5. Single Post - When you click on an individual post
   ========================================================================== */

.post-template .post-header {
   margin-bottom: 3.4rem;
}

.post-template .post-title {
    margin-bottom: 0;
}

.post-template .post-date {
    padding: 0;
    margin: 0;
    border: none;
}

.post-template .author-thumb {
    width: 50px;
    height: 50px;
    margin-right: 17px;
}

.post-template .post {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.post-header .author,
.post-header .author a {
    color: #c3c3c3;
    font-size: 1.4rem;
}

.post-header .author a {
    text-decoration: none;
    border-bottom: 1px solid #e2e2e2;
}

.post-header .author {
    margin: 30px 0;
    line-height: 50px;
}

.post-header .share.counters {
    text-align: right;
}

.post-header .share.counters a {
    margin-left: 12px;
}
.post-footer .share.counters a {
    margin-left: 0;
    margin-right: 12px;
}

.post-header .author a:hover, .post-meta a:hover {
    color: #9e9e9e;
}

.share.counters a i {
    font-size: 1.5rem;
}

.share.counters a span {
    font-family: 'gotham', sans-serif;
    letter-spacing: normal;
    font-weight: 500;
}

.share.counters a {
    font-family: 'gotham_problack', sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 12px;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.share.counters a:first-child {
    margin-left: 0;
}

.share .facebook {
    background-color: #435e9f;
}
.share .twitter {
    background-color: #50acf2;
}
.share .pinterest {
    background-color: #e66059;
}

.share.flying {
    position: fixed;
    top: 50%;
    transform: translate(0, -50%);
    margin-left: -70px;
    z-index: -1;
    visibility: hidden;
    -webkit-transition: visibility 0s ease 0.1s, margin 0.2s ease;
            transition: visibility 0s ease 0.1s, margin 0.2s ease;
}

.share.flying.active {
    margin-left: -140px;
    visibility: visible;
    z-index: auto;
    -webkit-transition: z-index 0s ease 0.2s, visibility 0.2s ease, margin 0.2s ease;
            transition: z-index 0s ease 0.2s, visibility 0.2s ease, margin 0.2s ease;
}

.share.flying a {
    text-align: center;
    display: block;
    border-radius: 100%;
    text-decoration: none;
    color: #ffffff;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    vertical-align: middle;
    padding-top: 6px;
    margin-bottom: 14px;
}

/* Keep images centered, and allow images wider than the main
   text column to break out. */
.post-content p > img {
    display: block;
    max-width: 850px;
    height: auto;
    /* Centers an image by (1) pushing its left edge to the
       center of its container and (2) shifting the entire image
       in the opposite direction by half its own width.
       Works for images that are larger than their containers. */
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%); /* for Safari and iOS */
    -ms-transform: translateX(-50%); /* for IE9 */
    transform: translateX(-50%);
}

.post-content .slider {
    margin: 0 -8rem;
}

.post-content a {
    color: #0099ff;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

.footnotes {
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.6em;
}

.footnotes li {
    margin: 0.6rem 0;
}

.footnotes p {
    margin: 0;
}

.footnotes p a:last-child {
    text-decoration: none;
}


/* The author credit area after the post */
.post-footer {
}

.post-footer h4 {
    font-size: 1.8rem;
    margin: 0;
}

.post-footer p {
    margin: 1rem 0;
    font-size: 1.4rem;
    line-height: 1.75em;
}

/* list of author links - location / url */
.author-meta {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 1.4rem;
    line-height: 1;
}

.author-meta i, .tag-meta i {
    color: #c9c9c9;
    margin-right: 10px;
}

.author-meta a {
    color: #231f20;
    border-bottom: 1px solid #c4c4c4;
}
.author-meta a:hover {
    color: #111;
}

/* Create some space to the right for the share links */
.post-footer .author {
    margin-right: 180px;
}

.post-footer h4 a {
    color: #2e2e2e;
    text-decoration: none;
}

.post-footer h4 a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   6. Author profile
   ========================================================================== */

.post-head.main-header {
    height: 65vh;
    min-height: 180px;
}

.no-cover.post-head.main-header {
    height: 85px;
    min-height: 0;
    margin-bottom: 0;
    background: transparent;
}

.author-profile, .tag-profile {
    padding: 50px 30px 0;
    border-bottom: #EBF2F6 1px solid;
    text-align: center;
}

.author-profile p, .tag-profile p {
    margin-bottom: 25px;
}

.author-image {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: absolute;
    top: -40px;
    left: 50%;
    margin-left: -40px;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    overflow: hidden;
    background: #fff;
    z-index: 2;
    box-shadow: #E7EEF2 0 0 0 1px;
}

.author-image .img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    border-radius: 100%;
}

.tag-profile .tag-image,
.author-profile .author-image {
    position: relative;
    left: auto;
    top: auto;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    box-shadow: none;
}

.tag-profile.no-posts, .author-profile.no-posts {
    padding-bottom: 50px;
}

.tag-profile .tag-image svg * {
    fill: #231f20;
}

.author-title {
    margin: 1.5rem 0 1rem;
    font-size: 3rem;
}

.tag-title {
    font-family: 'gotham_probold', sans-serif;
    font-size: 3rem;
    margin: 2.5rem 0;
}

.author-bio {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.8rem;
    line-height: 1.5em;
    color: #b3b3b3;
}

.author-meta {
    margin: 1.6rem 0;
}
/* Location, website, and link */
.tag-profile .tag-meta,
.author-profile .author-meta {
    margin: 2rem 0;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.01rem;
    font-size: 1.7rem;
}
.author-meta span {
    display: inline-block;
    margin: 0 4rem 1rem 0;
    word-wrap: break-word;
}
.author-meta a {
    text-decoration: none;
}

/* Turn off meta for page2+ to make room for extra
   pagination prev/next links */
.archive-template .author-profile .author-meta {
    display: none;
}


/* ==========================================================================
   7. Read More - Next/Prev Post Links
   ========================================================================== */

.read-next {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.read-next-story {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-width: 50%;
    text-decoration: none;
    position: relative;
}

.read-next-story a {
    width: 100%;
    background: #ffffff;
    margin-right: 40px;
}

.read-next-story.prev a {
    margin-left: 40px;
    margin-right: 0;
}

.read-next-story .post {
    margin: 0;
    padding: 4rem;
}
.read-next-story .post .arrow {
    position: relative;
    text-transform: uppercase;
    font-size: 1.6rem;
    color: #ffffff;
    border-radius: 4px;
    transition: all 0.5s ease;
    font-family: 'gotham_probold', sans-serif;
    font-weight: 700;
    letter-spacing: 6px;
    display: block;
    margin: 30px 23px;
}

.read-next-story a {
    text-decoration: none;
    display: block;
}

.read-next-story.single a {
    margin: 0;
}

.read-next-story .post i{
    font-size: 1.4rem;
}
.read-next-story .post i:before {
    vertical-align: text-top;
}

.read-next-story h2 {
    margin-top: 3rem;
    font-size: 2.4rem;
}

.read-next-story p {
    margin: 0;
}

.read-next-story .cover {
    position: relative;
    background: #222 no-repeat center center;
    background-size: cover;
    overflow: hidden;
    height: 192px;
    margin: -4rem -4rem 0 -4rem;
    text-align: left;
}

/* Special styles for posts with no cover images */
.read-next-story .cover.no-cover {
    background: #f5f8fa;
    opacity: 0.8;
}

.read-next-story.prev .cover {
    text-align: right;
}

/* Correctly position site-footer when next to the .read-next container */
.read-next + .site-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
}

/* ==========================================================================
   8. Third Party Elements - Embeds from other services
   ========================================================================== */

/* Github */
.gist table {
    margin: 0;
    font-size: 1.4rem;
}
.gist td {
    line-height: 1.4;
}
.gist .line-number {
    min-width: 25px;
}

/* Pastebin */
.content .embedPastebin {
    margin-bottom: 1.75em;
}


/* ==========================================================================
   9. Pagination - Tools to let you flick between pages
   ========================================================================== */

/* The main wrapper for our pagination links */
.pagination {
    position: relative;
    max-width: 850px;
    font-family: "Open Sans", sans-serif;
    font-size: 1.6rem;
    color: #d5d5d5;
    text-align: center;
}

.pagination a {
    transition: all 0.2s ease;
}

.pagination-bottom {
    margin-bottom: 7rem;
}

/* Push the previous/next links out to the left/right */
.older-posts,
.newer-posts {
    font-family: 'gotham_problack', sans-serif;
    display: inline-block;
    position: absolute;
    transition: color 0.3s ease;
    text-align: center;
    color: #d5d5d5;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.6rem;
    letter-spacing: 4px;
}

.older-posts i,
.newer-posts i {
    position: relative;
    top: -2px;
    font-size: 1.4rem;
}

.older-posts {
    right: 0;
}

.newer-posts {
    left: 0;
}

.page-number {
    display: inline-block;
    padding: 2px 0;
    min-width: 100px;
}

.older-posts:hover,
.newer-posts:hover {
    color: #9e9e9e;
}

.extra-pagination {
    display: none;
    border-bottom: #EBF2F6 1px solid;
}

.extra-pagination .pagination {
    width: auto;
}

/* On page2+ make all the headers smaller */
.archive-template .main-header {
    max-height: 30vh;
}

/* On page2+ show extra pagination controls at the top of post list */
.archive-template .extra-pagination {
    display: block;
}

.newsletter form {
    background: #ffffff;
    padding: 32px 48px;
    position: relative;
}

.newsletter form label {
    font-family: 'gotham', sans-serif;
    font-size: 23px;
    font-weight: bold;
    line-height: 50px;
}

.newsletter .input-group {
    float: right;
}

.newsletter form input {
    float: left;
    width: 350px;
}
.newsletter form button {
    float: left;
    font-size: 3.1rem;
    padding: 9px 41px;
}

.comments {
    margin: 4.8rem auto;
}

.comments iframe {
    margin: 0;
}

.comments .inner {
    background-color: #ffffff;
}

.fb-comments {
    width: 100%;
}

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget span iframe[style] {
    min-width: 100% !important;
    width: 100% !important;
}


/* ==========================================================================
   10. Footer - The bottom of every page
   ========================================================================== */

.site-footer {
    position: relative;
    margin: 8rem 0 0 0;
    padding: 1rem 15px;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.75em;
    color: #BBC7CC;
}

.site-footer a {
    color: #BBC7CC;
    text-decoration: none;
    font-weight: bold;
}

.site-footer a:hover {
    border-bottom: #bbc7cc 1px solid;
}

.poweredby {
    display: block;
    width: 45%;
    float: right;
    text-align: right;
}


/* ==========================================================================
   11. Media Queries - Smaller than 900px
   ========================================================================== */

@media only screen and (max-width: 900px) {

    blockquote {
        margin-left: 0;
    }

    .main-header {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        height: auto;
        min-height: 240px;
        height: 60vh;
        padding: 15% 0;
    }

    .scroll-down,
    .home-template .main-header:after { display: none; }

    .archive-template .main-header {
        min-height: 180px;
        padding: 10% 0;
    }

    .blog-logo img {
        padding: 4px 0;
    }

    .page-title {
        font-size: 4rem;
        letter-spacing: -1px;
    }

    .page-description {
        font-size: 1.8rem;
        line-height: 1.5em;
    }

    .post {
        font-size: 0.95em
    }

    body:not(.post-template) .post-title {
        font-size: 3.2rem;
    }

    hr {
        margin: 2.4em 0;
    }

    ol, ul {
        padding-left: 2em;
    }

    h1 {
        font-size: 4.5rem;
        text-indent: -2px;
    }

    h2 {
        font-size: 3.6rem;
    }

    h3 {
        font-size: 3.1rem;
    }

    h4 {
        font-size: 2.5rem;
    }

    h5 {
        font-size: 2.2rem;
    }

    h6 {
        font-size: 1.8rem;
    }

    .author-profile, .tag-profile {
        padding-bottom: 4rem;
    }

    .tag-profile .tag-description,
    .author-profile .author-bio {
        font-size: 1.6rem;
    }

    .author-meta span {
        display: block;
        margin: 1.5rem 0;
    }
    .tag-profile .tag-meta span,
    .author-profile .author-meta span {
        font-size: 1.6rem;
    }

    .post-head.main-header {
        height:45vh;
    }

    .read-next {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-top: 4rem;
    }

    .read-next p {
        display: none;
    }

    .read-next-story.no-cover + .read-next-story.no-cover {
        border-top: rgba(0,0,100,0.06) 1px solid;
        border-left: none;
    }

    .post-content img {
        padding: 0;
        width: calc(100% + 160px); /* expand with to image + margins */
        min-width: 0;
        max-width: 112%; /* fallback when calc doesn't work */
    }

    .read-next-story a,
    .read-next-story.prev a {
        margin: 0;
    }

    .newsletter form {
        text-align: center;
    }

    .newsletter form .input-group {
        float: none;
        max-width: 467px;
        margin: 0 auto;
    }

    .post-template .post {
        margin: 0 auto;
    }

    .post {
        margin: 0 auto;
    }

    .pagination-bottom {
        margin: 3rem 0;
    }

    main.content {
        padding-top: 56px;
    }

    .post-template .post-header {
        text-align: center;
    }

    .post-template .author-thumb {
        float: none;
        margin: 0;
    }
    .post-template .author .image-link {
        display: block;
        border: 0;
    }

    .post-template .category {
        float: none;
    }

    .post-header .share.counters {
        text-align: center;
    }

    .post-template .author {
        margin: 1.5rem 0;
        line-height: 3rem;
    }
}

@media only screen and (max-width: 850px) {
    .pagination {
        margin: 2.5rem;
    }
}
/* ==========================================================================
   12. Media Queries - Smaller than 500px
   ========================================================================== */

@media only screen and (max-width: 500px) {

    main.content {
        padding-top: 56px;
    }

    .main-header {
        margin-bottom: 15px;
        height: 40vh;
    }

    .no-cover.main-header {
        height: 30vh;
    }

    .archive-template .main-header {
        max-height: 20vh;
        min-height: 160px;
        padding: 10% 0;
    }

    .main-nav {
        padding: 5px;
        margin-bottom: 2rem;
    }

    .blog-logo {
        padding: 5px;
    }

    .blog-logo img {
        height: 30px;
    }


    .main-nav.overlay a:hover {
        color: #fff;
        border-color: transparent;
        background: transparent;
    }

    .no-cover .main-nav.overlay {
        background: none;
    }

    .nav .current a {
        border-bottom: 2px solid #feeca0;
    }

    .inner {
        width: auto;
        margin: 0 auto;
    }

    .post {
        width: auto;
        margin: 0;
        line-height: 1.65em;
        padding: 2rem 3rem;
    }

    .post-date {
        display: none;
    }
    .post .post-cover {
        margin: -2rem -3rem 3rem;
        padding: 2rem 2rem;
        text-align: center;
    }

    .post-template .post-header {
        margin-bottom: 2rem;
    }

    .post-template .post-date {
        display: inline-block;
    }

    .comments {
        margin: 0;
    }

    .comments .inner {
        background-color: transparent;
    }

    hr {
        margin: 1.75em 0;
    }

    p, ul, ol, dl {
        font-size: 1.25em;
        margin: 0 0 2.5rem 0;
    }

    .page-title {
        font-size: 3rem;
    }

    .post-excerpt p {
        font-size: 0.85em;
    }

    .page-description {
        font-size: 1.6rem;
    }

    h1, h2, h3,
    h4, h5, h6 {
        margin: 0 0 0.3em 0;
    }

    h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    h2 {
        font-size: 2.4rem;
        letter-spacing: 0;
    }

    h3 {
        font-size: 2.1rem;
    }

    h4 {
        font-size: 1.9rem;
    }

    h5 {
        font-size: 1.8rem;
    }

    h6 {
        font-size: 1.8rem;
    }

    body:not(.post-template) .post-title {
        font-size: 2.5rem;
    }

    .post-template .site-footer {
        margin-top: 0;
    }

    .post-content img {
        width: calc(100% + 60px); /* expand with to image + margins */
    }

    .post-meta {
        font-size: 1.3rem;
        margin-top: 2rem;
    }

    .post-footer {
        padding: 3rem 0;
    }

    .post-footer .share.counters a {
        display: block;
        text-align: center;
        margin-right: 0;
    }

    .post-header .share.counters {
        text-align: center;
        line-height: 34px;
    }

    .post-header .share.counters a {
        margin: 0 ;
    }

    .post-footer .author {
        margin: 0 0 2rem 0;
        padding: 0 0 1.6rem 0;
        border-bottom: #EBF2F6 1px dashed;
    }

    .post-footer .share {
        position: static;
        width: auto;
    }

    .post-footer .share a {
        margin: 1.4rem 0.8rem 0 0.8rem;
    }

    .post-content .video {
        margin: 0 -3rem;
    }

    .author-meta li {
        float: none;
        margin: 0;
        line-height: 1.75em;
    }

    .author-meta li:before {
        display: none;
    }

    .site-footer {
        margin-top: 3rem;
    }

    .author-profile, .tag-profile {
        padding-bottom: 2rem;
        padding-top: 10rem;
    }

    .post-head.main-header {
        height: 30vh;
    }

    .tag-profile .tag-image,
    .author-profile .author-image {
        margin-top: -70px;
    }

    .tag-profile .tag-meta span,
    .author-profile .author-meta span {
        font-size: 1.4rem;
    }

    .archive-template .main-header .page-description {
        display: none;
    }

    .read-next-story {
        width: auto;
    }

    .newsletter form label {
        display: block;
        text-align: center;
    }

    .newsletter form {
        padding: 20px 30px;
        background-color: transparent;
    }

    .newsletter form input {
        background-color: #ffffff;
    }

    .newsletter .input-group > * {
        width: 100%;
        text-align: center;
    }

    .post-share {
        float: none;
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%); /* for IE9 */
                transform: translate(-50%, -50%);
    }

    .post-template .post-header .share {
        display: none;
    }

    .post-template .post {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .read-next-story .cover {
        margin-top: -2rem;
        margin-bottom: -2rem;
    }

    .post .category {
        margin-top: 20px;
        margin-right: 0;
    }

}

/* ==========================================================================
   13. Animations
   ========================================================================== */

/* Used to fade in title/desc on the home page */
@-webkit-keyframes fade-in-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes fade-in-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Used to bounce .scroll-down on home page */
@-webkit-keyframes bounce {
    0%, 10%, 25%, 40%, 50% {
        -webkit-transform: translateY(0) rotate(-90deg);
                transform: translateY(0) rotate(-90deg);
    }
    20% {
        -webkit-transform: translateY(-10px) rotate(-90deg);
                transform: translateY(-10px) rotate(-90deg);
    }
    30% {
        -webkit-transform: translateY(-5px) rotate(-90deg);
                transform: translateY(-5px) rotate(-90deg);
    }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0) rotate(-90deg);
                transform: translateY(0) rotate(-90deg);
    }
    40% {
        -webkit-transform: translateY(-10px) rotate(-90deg);
                transform: translateY(-10px) rotate(-90deg);
    }
    60% {
        -webkit-transform: translateY(-5px) rotate(-90deg);
                transform: translateY(-5px) rotate(-90deg);
    }
}

@-webkit-keyframes button-pulse {
    0% { background-color: #f4f4f4 }
    100% { background-color: #e4e4e4; }
}

@-moz-keyframes button-pulse {
    0% { background-color: #f4f4f4 }
    100% { background-color: #e4e4e4; }
}

@-o-keyframes button-pulse {
    0% { background-color: #f4f4f4 }
    100% { background-color: #e4e4e4; }
}

@keyframes button-pulse {
    0% { background-color: #f4f4f4 }
    100% { background-color: #e4e4e4; }
}


@-webkit-keyframes slideInUpPopUp {
    from {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
        visibility: visible;
    }

    to {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

@keyframes slideInUpPopUp {
    from {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
        visibility: visible;
    }

    to {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

.slideInUpPopUp {
    -webkit-animation-name: slideInUpPopUp;
    animation-name: slideInUpPopUp;
}

/* ==========================================================================
   End of file. Animations should be the last thing here. Do not add stuff
   below this point, or it will probably fuck everything up.
   ========================================================================== */
