.anchor {
    font-size: .75em;
    text-decoration: none;
    visibility: hidden;
}

.standard-navigation {
    display: none;
}
h2:hover .anchor {
    visibility: visible;
    text-decoration: none;
}

h3 a, h3 a:hover {
    color: inherit;
    text-decoration: none;
}

h2 .label,
h3 .label { vertical-align: middle; }

.by { margin-top: -15px; color: #999; }

.jumbotron {
    text-align: center;
    margin: 0.5em 0 2em 0;
}

.jumbotron .tagline a {
    color: inherit;
}

.jumbotron .tagline a:hover {
    color: #08c;
}

.jumbotron h1 {
    display: inline-block;
    font-size: 4em;
    line-height: 1em;
}

footer h1 a,
.jumbotron h1 a {
    display: inline-block;
    background-image: url(stack-logo.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    text-indent: 1em;
    color: inherit;
    text-decoration: none;
}

/*
.navbar a.brand {
    display: inline-block;
    background-image: url(stack-logo.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: 1em;
    background-position-x: .5em;
    text-indent: 1em;
}
*/

.jumbotron p.tagline {
    font-size: 1em;
    line-height: 1em;
    margin: .75em 0;
}

h4 small {
    display: block;
    font-size: 60%;
    color: #888;
}

.navbar .container-fluid, .mainContent, footer.container {
    max-width: 900px;
}
.navbar .container-fluid {
    margin: 0 auto;
}

footer.container {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 2px solid #eee;
}

pre code.php {
    background-color: #f5f5f5;
}

figure {
    text-align: center;
}

.authors {
    text-align: center;
}

ul.avatars {
    list-style: none;
}

ul.avatars li {
    display: inline-block;
    margin-right: 20px;
    margin-top: 20px;
}

ul.avatars li img {
    margin-right: 10px;
}

ul.avatars li a {
    text-decoration: none;
}

.about.text,
.middleware.text,
.frameworks {
    margin: 3em 0 5em;
}
.frameworks-logo-list {
    list-style: none;
    text-align: center;
    margin: 1.5em 0;
}

.frameworks-logo-list > li {
    vertical-align: middle;
    display: inline-block;
    margin: 5px 10px 0 10px;
}
.frameworks-logo-list img {
    max-height: 60px;
}

ol.conventions {
    margin: 1.5em 0;
}

ol.conventions .no {
    background: #000000;
    color: #ffffff;
    border-radius: 999px;
    padding: 5px;
    width: 1em;
    text-align: center;
    margin: 0 auto 10px auto;
}

.stack-nav {
    text-align: center;
    margin-top: 2em;
}
.stack-nav ul {
    display: inline-block;
}

@media (max-width: 399px) {
    .nav.social {
        display: block;
        width: 100%;
    }
    .nav.social li {
        float: none;
        width: 60%;
        display: block;
        margin: 0 auto;
    }
}
@media (min-width: 400px) {
    .standard-navigation {
        display: block;
    }

    .collapsable-navigation {
        display: none;
    }
}
@media (max-width: 767px) {
    .jumbotron .nav a.btn {
        font-size: 12px;
        padding: 5px 9px;
    }

    ol.conventions li {
        padding-top: 0.2em;
    }
    ol.conventions .no {
        float: left;
        margin-right: 0.5em;
        margin-top: -0.2em;
    }

    .conventions-and-protocols div.row-fluid h3,
    .middlewares div.row-fluid h3 {
        margin-top: 20px;
    }

    .mainContent.stack-nav {
        margin-top: 0em;
    }
    .mainContent.stack-nav ul.nav {
        margin-top: 1em;
    }
}

@media (min-width: 768px) {
    .jumbotron.huge {
        font-size: 2em;
        margin-bottom: 2em;
    }

    .jumbotron .nav {
        margin-bottom: 0;
    }

    .jumbotron .nav a.btn {
        margin-top: 1em;
    }

    .text p, .text ul, .text ol {
        font-size: 1.4em;
        line-height: 1.6em;
    }

    .text li, {
        margin-top: 10px;
    }

    .conventions-and-protocols div.row-fluid:not(:nth-of-type(1)),
    .middlewares div.row-fluid:not(:nth-of-type(1)) {
        margin-top: 2em;
    }
}
