﻿body {
    font-family: Calibri, sans-serif;
    font-size: 1.8em;
    padding-top: 100px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

li {
    margin-bottom: 8px;
}

.validation-error {
    font-size: 80%;
    font-weight: bold;
}

.text-danger {
    color: #d9534f;
}

/* navbar */

.navbar-inverse {
    min-height: 80px;
    padding-top: 20px;
    background-color: #685d9f;
    border-color: #444;
    background-image: linear-gradient(to bottom, #48416f, #685d9f);
    color: #ccc;
    font-size: 150%;
}

    /*.navbar-left {
	display: flex;
	align-items: baseline;
}*/

    .navbar-inverse .navbar-brand {
        color: #fff;
        font-size: 2.1em;
        font-family: Calibri;
        text-shadow: 3px 3px #444;
    }

.navbar-brand-sub {
    color: #ccc;
    font-size: 0.7em;
    font-weight: lighter;
    font-style: italic;
    text-shadow: 2px 2px #222;
    border-bottom: 2px dotted #7669b4;
}

.navbar-inverse .navbar-nav > li > a {
    color: #eee;
    font-size: 0.6em;
    font-weight: lighter;
}

@media screen and (max-width: 320px) {
    .navbar-header {
        display: flex;
    }

    .navbar-brand-sub {
        margin-top: 15px;
        border-bottom: none;
    }

    .navbar-brand img {
        margin-top: 10px;
        height: 32px;
        width: auto;
    }
}

@media screen and (min-width: 321px) and (max-width: 768px) {
    .navbar {
        padding-top: 0;
        margin-bottom: 0;
    }
    .navbar-brand img {
        height: 48px;
        width: auto;
    }
    .nav > li {
        display: inline-block;
    }
}

@media screen and (max-width: 768px) {
    .navbar-inverse {
        padding-top: 0;
        min-height: 60px;
    }

    .navbar-brand {
        font-size: 1.2em;
        margin-top: -10px;
    }

    .navbar-brand-sub {
        font-size: 0.45em;
    }

    .navbar-toggle {
        margin-top: 16px;
    }

    .navbar-inverse .navbar-nav > li > a {
        padding-top: 25px;
        padding-bottom: 0px;
    }
}

@media screen and (min-width: 769px) {
    .navbar-header {
        width: 60%;
    }

    .navbar-brand {
        margin-top: -25px;
    }

    .navbar-brand-sub {
        line-height: 60px;
    }
}

.navbar-collapse {
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
    border-color: #444;
}

/* Jumbotron */

.jumbotron-title {
    color: #685d9f;
}

@media screen and (min-width: 992px) {
    .jumbotron p {
        margin-top: -20px;
        font-size: 1.3em;
        font-weight: 400;
    }
}

@media screen and (max-width: 991px) {
    .jumbotron p {
        font-size: 1.2em;
        font-weight: 400;
    }
}


@media screen and (max-width: 768px) {
    .container .jumbotron, .container-fluid .jumbotron {
        padding-left: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .container .jumbotron, .container-fluid .jumbotron {
        height: 233px;
        padding-top: 20px;
        padding-left: 20px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .container .jumbotron, .container-fluid .jumbotron {
        height: 233px;
        padding-left: 120px;
    }
}

@media screen and (min-width: 1200px) {
    .container .jumbotron, .container-fluid .jumbotron {
        height: 233px;
        padding-left: 60px;
    }
}

/* header image */

@media screen and (max-width: 480px) {
    .header-image {
        display: none;
    }

    .header-image-wide {
        background-image: url(../images/1-wide-small.png);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position-y: 60px;
        border: none;
        height: 232px;
        width: 100%;
        margin-top: -120px;
        overflow-x: hidden;
        overflow-y: hidden;
    }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
    .header-image {
        display: none;
    }

    .header-image-wide {
        background-image: url(../images/1-wide.png);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position-y: 60px;
        height: 232px;
        width: 100%;
        margin-top: -120px;
        overflow-x: hidden;
        overflow-y: hidden;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .header-image {
        background-image: url(../images/1.png);
        height: 232px;
        width: 360px;
        -webkit-border-radius: 0px 6px 6px 0px;
        -moz-border-radius: 0px 6px 6px 0px;
        border-radius: 0px 6px 6px 0px;
        float: right;
        z-index: 1;
        position: relative;
    }

    .header-image-wide {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .header-image {
        background-image: url(../images/1.png);
        height: 232px;
        width: 360px;
        -webkit-border-radius: 6px 0px 0px 6px;
        -moz-border-radius: 6px 0px 0px 6px;
        border-radius: 6px 0px 0px 6px;
        margin-left: 20px;
        z-index: 1;
        position: relative;
    }

    .header-image-wide {
        display: none;
    }
}

/* header image column */

@media screen and (min-width: 992px) {
    .header-col {
        padding-left: 0;
        padding-right: 0;
        margin-left: -20px;
    }
}

@media screen and (max-width: 992px) {
    .header-col {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
    }
}

/* body image */

@media screen and (max-width: 480px) {
    .body-image {
        border: 1px solid #fff;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        margin-bottom: 20px;
        width: 308px;
        height: auto;
    }

    .body-image-left {
        border: 1px solid #fff;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        margin-bottom: 20px;
        width: 308px;
        height: auto;
    }
}

@media screen and (min-width: 480px) and (max-width: 768px) {
    .body-image {
        border: 1px solid #fff;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        margin-bottom: 20px;
    }

    .body-image-left {
        border: 1px solid #fff;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        margin-bottom: 20px;
    }
}

@media screen and (min-width: 768px) {
    .body-image {
        border: 1px solid #fff;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        float: right;
        margin-top: 10px;
        margin-left: 20px;
    }

    .body-image-left {
        border: 1px solid #fff;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        float: left;
        margin-bottom: 10px;
        margin-right: 20px;
    }
}


/* affix */

@media (max-width: 992px) {
    .affix {
        position: static;
    }
}

@media (min-width: 992px) {
    .affix {
        top: 100px;
        position: fixed;
    }
}

/* list-group overrides */

.list-group-item {
    width: 240px;
    background-color: #efefef;
}

    .list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
        background-color: #685d9f;
        border-color: #48416f;
    }

footer {
    font-size: 0.7em;
    color: #48416f;
}

/* Contact Details */

@media screen and (max-width: 992px) {
    .contact-details {
        border-top: 1px solid #ccc;
        margin-top: 30px;
        padding-top: 30px;
    }
}

@media screen and (min-width: 992px) {
    .contact-details {
        height: 100%;
        border-left: 1px solid #ddd;
        margin-left: 20px;
        padding-left: 46px;
    }
}

/* Callouts from Bootstrap docs */

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #428bca;
}

    .bs-callout-primary h4 {
        color: #428bca;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }
