html {
    min-height: 100%;
    position: relative;
}
a:focus {
    text-decoration: none;
}

/* NAVBAR */
.navbar {
    margin-bottom: 0;
}
.navbar-inverse {
    background: rgba(4, 28, 44, 1);
    border: none;
    height: 70px;
}
.navbar-inverse .navbar-nav > li > a {
    font-weight: 300;
    color: #F7F7F7;
    line-height: 40px;
}
.navbar-inverse .navbar-nav > li > a:hover {
    color: #00AFDB;
}
.navbar-toggle {
    margin-bottom: 18px;
    margin-top: 18px;
    border: none;
}
@media (max-width:767px) {
    .navbar-collapse {
        background: rgba(4, 28, 44, 0.9);
    }
}
.navbar-toggle {
    float: left;
    margin-left: 15px;
}
.navbar-appstore {
    float: right;
    margin: 15px 0 0 30px;
}
@media (max-width:767px) {
    .navbar-header {
        text-align: center;
    }
    .navbar-brand {
        float: none;
        display: inline-block;
        padding: 15px 72px 15px 0;
    }
    .navbar-appstore {
        display: none;
    }
}

/* HEADER */
.header {
    background-color: white;
    width: 100%;
    height: 50px;
    clear: both;
}
.article-header {
    text-align: center;
}
.article-header p,
.article-header a {
    font-family: 'Merriweather Sans', serif;
    font-size: 15px;
    display: inline;
}
.article-back {
    margin: 12px 0 0 0;
    padding: 0;
}
.article-back,
.article-header a {
    color: #00B0DF;
}
.article-header p.article-header-summary {
    padding: 0 10px 0 0;
    margin: 0 5px 0 0;
    border-right: 1px solid #999;
}

.header-elem {
    padding: 4px 0;
    margin: 10px 0;
    font-size: 12px;
    line-height: 20px;
}
.header-switch {
    float: left;
    font-family: 'Merriweather Sans', serif;
    font-size: 15px;
    overflow: hidden;
    max-width: calc(100% - 230px);
    text-overflow: ellipsis;
    white-space: nowrap;
}
a.header-label {
    line-height: 20px;
    float: right;
}
.header-label-back {
    position: absolute;
    top: -12px;
}
.no-margin {
    padding-right: 0;
}

/* FOOTER */
.footer {
    min-height: 70px;
    text-align: center;
}
.footer .container {
    background-image: url(/static/img/ui/hero1.jpg);
    background-position: 0 -320px;
    background-size: 1100px;
    padding: 0 0 40px 0;
    margin-bottom: 20px;
}
.footer p {
    color: white;
    padding: 15px 15px;
    line-height: 34px;
    font-size: 20px;
    text-align: center;
}
.footer a {
    padding: 15px 30px;
    background-color: #E6983F;
    color: white;
    border-radius: 4px;
}

.footer .nav > li {
    line-height: 50px;
}
.footer .nav > li > a {
    color: #f7f7f7;
}
.footer .nav > li > a:hover {
    background: none;
    color: #003A5D;
}
@media (max-width:991px) {
    .footer .nav-pills > li {
        float: none;
    }
    .footer .company {
        width: 100%;
        text-align: center;
    }
}
.company {
    color: #9FDDED;
    line-height: 70px;
}

/* MENU */
.menu {
    background-color: #00B0DF;
}
.menu a, .menu p {
    display: inline-block;
    padding: 20px 15px;
    color: white;
    font-size: 14px;
}
.menu a:hover {
    color: #003A5D;
}
.menu p {
    margin: 0;
}
.menu p.menu-brand-long {
    display: none;
    text-align: center;
}
.menu p.menu-brand-float {
    float: right;
}

/* CONTENT */
.content .container {
    padding: 0;
}
.content a.container {
    display: block;
}

@media (max-width:680px) {
    .navbar-elem {
        padding: 6px 10px;
    }
    .header .container {
        padding: 0 10px;
    }
    .header-label-back,
    .header-label:not(.icon) {
        display: none;
    }
    .article-header p,
    .article-header a {
        font-size: 13px;
    }
    .footer .container {
        background-position: -194px -275px;
    }
}
@media (max-width:767px) {
    .menu a {
        display: block;
        padding: 20px 30px;
    }
    .menu p.menu-brand-long {
        display: block;
    }
    .menu p.menu-brand-float {
        display: none;
    }
}
@media (min-width:768px) {
    body {
        margin-bottom: 50px;
    }
    .menu {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

/* Custom stuff */
.post {
    margin: 50px 0;
}
.post section {
    font-family: "Merriweather", serif;
    font-weight: 300;
    font-size: 1.2em;
}
.post-header {
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 700;
}
.post-header a {
    color: #041C2C;
}
.post-meta {
    font-weight: 300;
    margin: 30px 0;
}
.author-meta {
    margin-top: 10px;
}
.post::-moz-selection {
    background: #D6EDFF;
}
.post::selection {
    background: #D6EDFF;
}
.post h1, .post h2, .post h3, .post h4, .post h5, .post 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.4em 0;
    text-rendering: geometricPrecision;
}
.post h1 {
    font-size: 5rem;
    letter-spacing: -2px;
    text-indent: -3px;
    font-family: "Merriweather Sans", sans-serif;
}
.post h2 {
    font-size: 3.6rem;
    letter-spacing: -1px;
    font-family: "Merriweather Sans", sans-serif;
}
.post h3 {
    font-size: 3rem;
    font-family: "Merriweather Sans", sans-serif;
}
.post h4 {
    font-size: 2.5rem;
}
.post h5 {
    font-size: 2rem;
}
.post h6 {
    font-size: 2rem;
    font-weight: 700;
}

.post .lead {
    font-family: "Merriweather Sans", sans-serif;
    color:#818D95;
    font-size: 1.75rem;
}
.post p, .post ul, .post ol, .post 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;
    line-height: 1.75em;
    text-align: justify;
}

.post hr{
    margin-top: 40px;
    margin-bottom: 40px;
}

@media (max-width:767px) {
    .post .insta{
        margin-bottom: 30px;
    }
}

.btn-primary{
    background-color: #00749C;
    border-color: #00749C;
}

.btn-primary:hover{
    background-color: #00AFDB;
    border-color: #00AFDB;
}

.checked small {
    display: none;
}
