
/* ==========================================================================
SENSIBLE DEFAULTS
========================================================================== */

body, html {
    word-wrap: break-word;
    -webkit-text-size-adjust: none;
    text-rendering: optimizeSpeed;
    border: none;
    width: 100%;
    padding: 0 0 4em 0;
    margin: 0;
    font-family: "Avenir", "HelveticaNeue", sans-serif;
    font-size: 18px;
    font-weight: 200;
    line-height: 1.5em;
    color: #444;
}

h1,h2,h3,h4,h5,h6 {
    margin: 2em 0 1em 0;
    color: #444;
}

h1, h2, h3 {
    font-weight: 700;
    font-size: 1.1em;
}

h4 {
    font-weight: 700;
    font-size: 1.0em;
    font-style: normal;
}

h5 {
    font-size: 1.0em;
    font-weight: 400;
    font-style: italic;
}

h6 {
    color: #aaa;
    font-size: 1.0em;
    font-weight: 400;
    font-style: normal;
}

p {
    margin: 0 0 1.5em 0;
}

a, a:active, a:visited {
    text-decoration: underline;
    color: rgb(66, 155, 255);
    font-weight: 500;
}

a:hover {
    color: rgb(38, 135, 246);
    background: #f4f4f4;
}

strong, b {
    font-weight: 500;
    color: #444;
}

em, i {
    font-weight: 200;
}

img, video, canvas {
    width: auto;
    max-width: 100% !important;
    height: auto;
    margin: 1.75em auto;
    clear:both !important;
    display: block;
    text-align: center;
    border: none;
    text-decoration: none;
    background: #dededf;
    -webkit-tap-highlight-color: rgba(255,255,255,0);
}

blockquote {
    margin: 0;
    box-sizing: border-box;
    padding: 0 1em;
    border-left: 2px solid #eee;
    color: #909090;
}

ul,ol {
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    padding: 0 2em;
}

ul {
    list-style-type: disc;
}

li {
    margin-bottom: 0.5em;
}

hr {
    border: 0;
    margin: 2em 0;
    height: 1px;
    background-color: #eee;
    width: 100%;
}

sub, sup {
    line-height: 0;
}

table {
    border-collapse: collapse; border-spacing: 0;
    width: 100%;
    margin: 0 0 1.5em 0;
}

tr {
    background-color: #fff;
}

tr:nth-child(2n) {
    background-color: #f8f8f8;
}

td, th {
    border: 1px solid #ddd;
    padding: 6px 13px;
}

th {
    background-color: #f8f8f8;
}

code {
    font-size: 0.8em;
    line-height: 1.41em;
}

pre {
    font-size: 0.8em;
    line-height: 1.41em;
}

pre code {
    font-size: 1.0em;
    line-height: 1.41em;
}

code {
    border: 1px solid #e4e4e4;
    background-color: #f4f4f4;
    border-radius: 3px;
    display: inline-block;
    padding: 0 4px;
    vertical-align: baseline;
    word-break: break-all;
}

pre code {
    border: none;
    background-color: none;
    display: inline;
}

pre {
    border: 1px solid #e4e4e4;
    background-color: #f4f4f4;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 1em;
    margin: 0 0 1.65em 0;
    width: 100%;
    overflow: auto;
    word-wrap: normal;
    white-space: pre;
}

/* ==========================================================================
MAIN WRAPPER
========================================================================== */

#main-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    padding: 4em 1em 0 1em;
}

/* ==========================================================================
MAIN HEADER
========================================================================== */

#main-header {
    text-align: left;
    width: 100%;
    float: left;
    margin: 0 0 4em 0;
    padding: 0;
}

a#main-header-logo-wrapper {
    display: block;
    height: 4em;
    float: left;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    text-indent: 100%;
    overflow: hidden;
    word-wrap: normal;
    word-break: keep-all;
    background-color: none !important;
    background-image: url('/assets/img/bloglovin-engineering-logo.png');
    background-repeat: no-repeat;
    background-position: left;
    background-size: auto 100%;
}

a#main-header-logo-wrapper:hover {
    background-color: #fff;
}

#main-header-links {
    width: 100%;
    float: left;
    text-align: left;
    clear: both;
    margin: 1em 0 0 0;
    padding: 0.5em 0 0 0;
    border-top: 2px solid #eee;
    height: 1.5em;
}

#main-header-links ul {
    display: block;
    list-style: none;
    height: 100%;
    float: left;
    text-align: left;
    margin: 0;
    padding: 0;
}

#main-header-links li {
    display: inline-block;
    height: 100%;
    padding: 0;
    margin: 0 1em 0 0;
}

#main-header-links a {
    text-decoration: none;
}

/* ==========================================================================
MAIN CONTENT
========================================================================== */

#main-content {
    width: 100%;
    float: left;
    margin: 0 0 4em 0;
}

/* ==========================================================================
MAIN FOOTER
========================================================================== */

#main-footer {
    color: #ccc;
    font-size: 0.75em;
    font-weight: 400;
    width: 100%;
    height: 64px;
    padding: 1em 0 0 0;
    clear: both;
    border-top: 2px solid #e4e4e4;
}

#main-footer a {
    color: #ccc;
}

/* ==========================================================================
POST HEADER
========================================================================== */

.post-header {
    text-align: left;
    width: 100%;
}

.post-header .post-title {
    font-weight: 700;
    font-size: 1.5em;
    line-height: 1.125em;
    margin: 0;
    padding: 0;
}

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

.post-byline {
    color: #aaa;
}

.post-header .post-byline a,
.post-header .post-byline a:active,
.post-header .post-byline a:hover,
.post-header .post-byline a:visited {
    font-weight: 200;
    text-decoration: none;
}

.bloglovin-widget-follow-btn {
    display: block;
    margin: 0.125em 0 0 0;
    padding: 0;
    float: left;
    opacity: 0.33;
}

.bloglovin-widget-follow-btn:hover {
    opacity: 0.66;
}

/* ==========================================================================
POST FOOTER
========================================================================== */

.post .post-meta {
    margin-top: 4em;
}

.post-date {
    margin: 0 0 1em 0;
    color: #ccc;
}

.post-tag {
    display: inline-block;
    padding: 0.125em 0.66em;
    font-size: 0.9em;
    background: #ccc;
    color: #fff;
    margin: 0 0.25em 0.5em 0;
    text-transform: lowercase;
    border-radius: 0.25em;
}

/* ==========================================================================
POST LISTS
========================================================================== */

.post-list {
    margin: 0 0 4em 0;
}

.post-list .post-header {
    margin: 0;
    padding: 0;
}

.post-list .post-byline {
    margin: 0;
    padding: 0;
}

.post-list .post-content {
    margin: 1em 0;
}

.post-list hr {
    margin: 4em 0;
    height: 2px;
}

/* ==========================================================================
SPECIAL CLASSES
========================================================================== */

.meta {
    font-size: 0.75em;
    color: #ccc;
}

.pinterest-button {
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: block;
    margin: 0px;
    padding: 0px;
}

.pinterest-button img {
    width: 30px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    min-width: 30px;
    max-width: 30px;
    display: block;
    margin: 0px;
    padding: 0px;
    background: rgba(255, 255, 255, 0);
    opacity: 0.75;
}

.image-wrapper {
    position: relative;
}

.author {
    color: #aaa;
    text-decoration: none;
}

.title a {
    text-decoration: none;
    border: none;
    color: #444;
}

iframe {
    margin: 1.5em auto 1.0em auto;
    text-align: center;
    background: #bbb;
    display: block;
}

.play {
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 100px;
    text-align: center;
    background:url('PlayIcon@2x.png') no-repeat center;
    background-size:70px 70px;
}

.originalweb {
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 100%;
    padding: 20px 50px;
    margin: 40px auto 10px;
    color: #aaa;
    text-decoration: none;
    text-align: center;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/

.clearfix {
    zoom: 1;
}

/* ==========================================================================
SPECIAL CLASSES
========================================================================== */

@media only screen and (max-width: 35em) {
    html, body {
        font-size: 18px;
    }
    a#main-header-logo-wrapper {
        height: 3.5em;
    }
    #main-header-logo-wrapper h1 {
        font-size: 1.25em;
    }
    .post-header .post-title {
        font-size: 1.25em;
    }
}

@media only screen and (max-width: 25em) {
    html, body {
        font-size: 17px;
    }
    a#main-header-logo-wrapper {
        height: 3.5em;
    }
    #main-header-logo-wrapper h1 {
        font-size: 1.25em;
    }
    .post-header .post-title {
        font-size: 1.25em;
    }
}

@media only screen and (max-width: 20em) {
    html, body {
        font-size: 16px;
    }
    a#main-header-logo-wrapper {
        height: 3em;
    }
    #main-header-logo-wrapper h1 {
        font-size: 1.25em;
    }
    #main-header-links li {
        font-size: 0.9em;
    }
    .post-header .post-title {
        font-size: 1.25em;
    }
}
