/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
    color: #222;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
    color: #fff;
    text-shadow: none; /* Prevent inheritence from `body` */
    background-color: #222;
    border: 1px solid #222;
}

/*
 * Base structure
 */

html,
body {
    height: 100%;
    background-color: #fff;
}

body {
    color: #222;
    text-align: center;
    /* text-shadow: 0 1px 3px rgba(255, 255, 255, .5); */
    box-shadow: inset 0 0 100px rgba(0, 0, 0, .5);
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper, .one-page-wrapper {
    display: table;
    width: 100%;
    height: 100%; /* For at least Firefox */
    min-height: 100%;
}

.site-wrapper-inner, .one-page-content {
    display: table-cell;
    vertical-align: top;
}

.cover-container {
    margin-right: auto;
    margin-left: auto;
}

/* Padding for spacing */
.inner {
    padding: 30px;
}

/*
 * Header
 */
.masthead {
    background-color: #fff;
}
.masthead-brand {
    margin-top: 10px;
    margin-bottom: 10px;
}

.masthead-nav > li {
    display: inline-block;
}

.masthead-nav > li + li {
    margin-left: 20px;
}

.masthead-nav > li > a {
    padding-right: 0;
    padding-left: 0;
    font-size: 16px;
    font-weight: bold;
    color: #222; /* IE8 proofing */
    color: rgba(0, 0, 0, .75);
    border-bottom: 2px solid transparent;
}

.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
    background-color: transparent;
    border-bottom-color: rgba(0, 0, 0, .25);
}

.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
    color: #222;
    border-bottom-color: #222;
}

@media (min-width: 768px) {
    .masthead-brand {
        float: left;
        /*font-size: 3em;*/
        /*left: 20px;*/
        /*position: fixed;*/
        /*top: 20px;*/
    }

    .masthead-nav {
        float: right;
    }
}

/*
 * Cover
 */

.cover {
    padding: 0 20px;
}

.cover .btn-lg {
    padding: 10px 20px;
    font-weight: bold;
}

/*
 * Footer
 */

.mastfoot {
    background-color: #fff;
    color: #222; /* IE8 proofing */
    color: rgba(0, 0, 0, .5);
}

/*
 * Affix and center
 */

@media (min-width: 768px) {
    /* Pull out the header and footer */
    .masthead {
        /*position: fixed;*/
        /*top: 0;*/
    }
    .masthead-fixed {
        position: fixed;
        top: 0;
        z-index: 1;
    }
    .mastfoot {
        /*position: fixed;*/
        /*bottom: 0;*/
    }
    .mastfoot-fixed {
        position: fixed;
        bottom: 0;
        z-index: 1;
    }

    /* Start the vertical centering */
    .site-wrapper-inner, .one-page-content {
        vertical-align: middle;
    }

    /* Sit each page content in it's own scroll box */
    .one-page-scroll-box {
        /*overflow-y: scroll;*/
    }

    /* Handle the widths */
    .masthead,
    .mastfoot,
    .cover-container {
        width: 100%; /* Must be percentage or pixels for horizontal alignment */
    }
}

@media (min-width: 992px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 990px;
    }
}

@media (min-width: 1200px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 1170px;
    }
}
