/* global colors */
.accent-color {
    background-color: rgb(71, 83, 111);
    color: white;
}

.accent-color p {
    color: white;
}

.accent-color input, .accent-color textarea {
    background-color: rgb(78, 95, 128);
    color: white;
}

/* typography */
body {
    font-family: 'Lato', sans-serif;
}

/* Un-break some weird Bootstrap stuff */
.row {
    margin-left: 0px;
    margin-right: 0px;
}

/* misc. */

.form-control {
    background-color: #5d5d5d;
    border: none;
    border-radius: 0;
}


.navbar-toggle {
    margin-top: 18px;
}

.navbar-toggle .icon-bar {
    background-color: black;
    height: 3px;
    margin-top: 5px;
}

p, .nav > li > a {
    color: rgb(89, 91, 92);
    font-weight: lighter;
    font-size: 16px;
}

.nav > li > a {
    line-height: 27px;
    margin: 15px;
}

/* Headings */

h1 {
    color: rgb(13, 103, 164);
    font-size: 50px;
    margin-bottom: 70px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 3px;
}

h2 {
    text-align: center;
    margin-top: 35px;
    margin-bottom: 25px;
}

h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: bolder;
    letter-spacing: 2px;
    font-size: 18px;
}

.cta h3 {
    font-variant: all-small-caps;
    font-size: 20px;
}

.service h3 {

}

.dash {
    margin-right: 10px;
    font-size: 24px;
}

footer.container {
    padding: 30px;
    width: 100%;
}

footer .row {
    width: 100%;
    text-align: center;
}

.container.contact {
    width: 100%;
    padding: 10px 10px;
}

.contact input[type=submit] {
    font-variant: all-small-caps;
    font-size: 18px;
    line-height: 22px;
    color: white;
}


/* === navbar responsiveness == */

/* default (small) sizes */
.navbar-brand {
    padding: 5px 5px;
}

.navbar-brand img {
    height: 42px;
    margin-top: 12px;
    margin-left: 15px;
}

a[name] {
    position: relative;
    top: -50px;
    display: block;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    height: 80px;
}

#navbar {
    background: rgba(255, 255, 255, 0.95);
    margin-top: 12px;
}

.avatar {
    text-align: center;
}

.logo-before {
    display: none;
}

.logo-after {
    display: block;
    clear: left;
}

.logo-before, .logo-after {
    text-align: center;
}

.logo-before img, .logo-after img {
    margin-top: 60px;
    height: 45px;
}

/* desktop sizes */
@media (min-width: 992px) {
    .navbar-brand {
        padding: 15px 15px;
    }
    .navbar-brand img {
        height: 45px;
    }
    .navbar {
        height: 90px;
        background: rgba(255, 255, 255, 0.7);
    }
    a[name] {
        position: relative;
        top: -80px;
        display: block;
    }
    #navbar {
        background: none;
        margin-top: 0px;
    }
    .avatar {
        text-align: right;
        margin-top: 50px;
    }
    .buffer {
        height: 100px;
    }
    footer.container {
        padding-top: 100px;
    }
    .logo-before {
        display: block;
    }
    .logo-after {
        display: none;
    }
    .contact h2 {
        text-align: left;
    }
}

/* For posts */

article {
    margin-bottom: 40px;
}

article h2 {
    margin: 0px;
    text-align: left;
}

article .date {
    text-align: right;
    margin-top: 7px;
}

.post table {
    width: 50%;
    margin: auto;
    margin-bottom: 12px;
}

.post table, .post th, .post td {
    border: 1px solid rgb(20, 20, 20);
}

.post th {
    text-align: center;
    font-weight: bold;
}

.post th, .post td {
    padding: 3px;
}

.post h1 {
    text-align: center;
    color: black;
    font-size: 40px;
    letter-spacing: inherit;
    font-weight: inherit;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 4px;
}

.post header h2 {
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 25px;
    font-style: italic;
    font-size: 25px;
    font-weight: normal;
    text-align: center;
    color: rgb(128, 130, 131);
}

.post h2 {
    text-align: left;
    margin-top: 35px;
    margin-bottom: 25px;
    font-family: 'Raleway', sans-serif;
}

.post h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: bolder;
    letter-spacing: 2px;
    font-size: 18px;
}

.post footer {
    margin-top: 30px;
    margin-bottom: 30px;
}

footer a, footer iframe, footer span {
    margin-right: 30px;
}

footer > a {
    vertical-align: top;
}