/**
 * Colors:
 *   - green: #BED440
 *   - purple: #7A5467
 */

body {
    background: url('../images/bg.jpg') #000000 no-repeat;
    color: #FFFFFF;
    font-size: 18px;
}

body #main {
    background-color: #FFFFFF;
    color: #444444;
    border-top: .4em solid #BED440;
    line-height: 1.8em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nobile', sans-serif;
    font-weight: bold;
    line-height: 1.3em;
}

.menu-top, .menu-main {
    font-family: 'Nobile', sans-serif;
}

img {
    max-width: 100%;
}

strong {
    color: #7A5467;
    font-weight: bold;
    text-transform: uppercase;
}

.green {
    color: #BED440;
}

div#site-name {
    background-color: #000000;
    height: 48px;
    line-height: 48px;
    font-size: 1.05em;
    text-align: center;
}

#site-name a {
    color: #FFFFFF;
}

#site-name .warthog {
    font-weight: bold;
}

#site-name .adv {
    color: #BED440;
}

div#nav {
    background: url('../images/purple-bar.jpg') repeat-x;
    border-left: .6em solid #BED440;
    border-right: .6em solid #BED440;
    height: 48px;
}

div .navbar-header {
    height: 48px;
}

.navbar-collapse {
    border: 0;
    width: 100%;
}

.navbar.menu-top {
    background-color: inherit;
    border: 0;
}

.navbar.menu-top .navbar-nav {
    margin: 0;
}

.navbar.menu-top .navbar-nav a {
    background-color: #000000;
    color: #FFFFFF;
    text-transform: uppercase;
    z-index: 9999;
}

.navbar.menu-top .navbar-nav a:hover {
    background-color: #444444;
    color: #FFFFFF;
}

.navbar.menu-top .navbar-nav .active a {
    color: #BED440;
}

.navbar-default .navbar-toggle {
    background-color: #DDDDDD;
}

.navbar-default .navbar-toggle:hover {
    background-color: #BED440;
}

div#branding {
    clear: both;
    text-align: center;
}

div#branding img {
    margin: 1em 0;
    max-width: 100%;
}

div#device-graphic {
    position: relative;
    overflow: visible;
}

div#device-graphic p {
    position: absolute;
}

div#device-graphic p span {
    display: block;
    float: left;
    padding: 0 15px;
}

div#device-graphic img {
    position: absolute;
    top: -40px;
    right: 0;
    max-width: 235px;
    z-index: 1;
}

div#sidebar {
    background-color: #DEE99C;
    padding: 0;
}

a, a:hover {
    color: #7A5467;
    text-decoration: underline;
}

div#nav a, div#sidebar a {
    text-decoration: none;
}

div#sidebar ul {
    margin: 0;
    padding: .1em 0;
    list-style-type: none;
}

div#sidebar .menu-main li {
    background: url("../images/main-nav-icon.png") no-repeat #FFFFFF;
    font-weight: bold;
}

div#sidebar .menu-main li.active {
    background-image: url("../images/main-nav-icon-active.png");
    font-weight: bold;
}

div#sidebar .menu-main a {
    display: block;
    line-height: 1.5em;
    margin: 0.5em 0;
    min-height: 43px;
    padding: 11px 11px 11px 43px;
    width: 100%;
    z-index: 9999;
}

div#footer {
    background-image: url('../images/footer-bg.jpg');
    border-top: .3em solid #303030;
    padding: 1em 0;
}

div#footer .logo {
    text-align: center;
}

div#footer .logo img {
    width: 100%;
    max-width: 190px;
}

div#footer .contact {
    margin-top: 1em;
    text-align: center;
}

div#bottom {
    background: url('../images/bottom-bg.jpg') repeat-x;
    height: 21px;
}

@media screen and (min-width: 768px) {
    div#branding {
        text-align: left;
    }
    .navbar.menu-top .navbar-nav a {
        background-color: inherit;
        height: 48px;
    }
    .navbar.menu-top .navbar-nav a:hover {
        background-color: inherit;
        color: #BED440;
        -o-transition: .5s;
        -ms-transition: .5s;
        -moz-transition: .5s;
        -webkit-transition: .5s;
        /* ...and now for the proper property */
        transition: .5s;
    }
    div#sidebar {
        padding-top: .6em;
    }
    div#footer .contact {
        margin-top: 0;
        text-align: left;
        font-size: .95em;
    }
}

@media screen and (min-width: 992px) {
    div#site-name {
        font-size: 1.25em;
    }
    div#device-graphic p {
        bottom: -90px;
        left: 10px;
    }
    div#device-graphic img {
        max-width: 310px;
    }
    div#sidebar {
        padding-top: 4em;
    }
}

@media screen and (min-width: 1200px) {
    div#device-graphic p {
        left: 80px;
    }
    div#device-graphic img {
        max-width: 380px;
    }
    div#sidebar {
        padding-top: 7em;
    }
}