/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #353535;
    -webkit-tap-highlight-color: rgba(201, 224, 253, 0.8);
}

/*
 * Overrides the highlight color shown when the user taps a link or a
 * JavaScript clickable element in Safari on iOS. Needs to be manually re-
 * added to elements that should (i.e. input fields) receive this feedback.
 */

html {
	font-size: 62.5%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 1.5;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    width: auto;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Generic Global
   ========================================================================== */

@font-face {
    font-family: 'district_prothin';
    src: url('../fonts/distproth-webfont.eot');
    src: url('../fonts/distproth-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/distproth-webfont.woff') format('woff'),
         url('../fonts/distproth-webfont.ttf') format('truetype'),
         url('../fonts/distproth-webfont.svg#district_prothin') format('svg');
    font-weight: normal;
    font-style: normal;
}

:first-child {
	margin-top: 0;
}
:last-child {
	margin-bottom: 0;
}

a:hover {
    text-decoration: none;
}

h1, h2 {
    border-bottom: solid 1px #d1d1d1;
    font-family: district_prothin, 'Arial Narrow', sans-serif;
    font-size: 26px;
    font-size: 2.6rem;
    font-weight: normal;
    line-height: 1.1;
    padding-bottom: .5em;
}
h2 {
    font-size: 20px;
    font-size: 2rem;
    padding-top: 9px;
}
    h1 strong, h2 strong {
        color: #787878;
        font-weight: normal;
    }

/* ==========================================================================
   Header
   ========================================================================== */

.global-header {
    padding: 60px 0 20px;
}
    
    /*
     * Site logo (/w magnifying glass).
     */

    .global-sitelogo {
        border-bottom: 0;
        color: #888787;
        font-size: 40px;
        font-size: 4rem;
        padding-bottom: 0;
        text-transform: none;
        word-spacing: .25em;
    }
        .global-sitelogo a {
            color: inherit;
            text-decoration: none;
        }
            .global-sitelogo strong {
                color: #000;
                font-weight: normal;
                position: relative;
            }
            .global-sitelogo strong:after {
                background: url(../img/bg_global-sitelogo.png) no-repeat;
                content: "";
                height: 265px;
                left: -2em;
                position: absolute;
                top: -1em;
                width: 207px;
            }

    /*
     * Primary navigation.
     */

    .global-nav-primary {
        font-size: 12px;
        font-size: 1.2rem;
        text-align: right;
        text-transform: lowercase;
    }
        .global-nav-primary ul {
            display: inline-table;
            list-style-type: none;
            margin: 0;
            padding: 0;
        }
            .global-nav-primary li {
                display: inline-block;
                margin-left: 1em;
            }
            .global-nav-primary li:first-child {
                margin-left: 0;
            }
                .global-nav-primary a {
                    color: #7e7e7e;
                    text-decoration: none;
                    -webkit-transition: all .25s;
                    transition: all .25s;
                }
                .global-nav-primary .ui-active,
                .global-nav-primary a:hover {
                    color: #000;
                }

/* ==========================================================================
   Grid Layout
   ========================================================================== */

.global-page {
    margin-left: auto;
    margin-right: auto;
    width: 938px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.global-footer {
    border-top: solid 1px #d1d1d1;
    font-size: 12px;
    font-size: 1.2rem;
    margin-top: 40px;
    padding-top: 10px;
}

/* ==========================================================================
   UI Elements
   ========================================================================== */

/*
 * Grid layout.
 */

.ui-grid {
    display: table;
    table-layout: fixed;
    width: 100%;
}
.ui-grid + .ui-grid {
    margin-top: 20px;
}
    .ui-grid-item {
        border-left: solid 12px transparent;
        display: table-cell;
        vertical-align: top;
    }
    .ui-grid-item:first-child {
        border-left: 0;
    }
    .ui-grid-item[data-align="right"] {
        text-align: right;
    }
    .ui-grid-item[data-valign="middle"] {
        vertical-align: middle;
    }

        /*
         * 66% width column.
         */

        .ui-grid-item-74 {
            width: 74%;
        }

/*
 * Banner.
 */

.global-banner {
    background: url(../img/banner_walkway-john14-6.jpg) no-repeat;
    background-size: cover;
    padding: 90px 25% 13px 18px;
}

/*
 * Pull quotes.
 */

.ui-pullquote {
    font-family: district_prothin, 'Arial Narrow', sans-serif;
    font-size: 26px;
    font-size: 2.6rem;
    margin-left: 0;
}
    .ui-pullquote p {
        background-color: rgba(0, 0, 0, .3);
        box-shadow: -10px 0 0 rgba(0, 0, 0, .3), 10px 0 0 rgba(0, 0, 0, .3);
        color: #fff;
        display: inline;
    }
    .ui-pullquote cite {
        font-size: 80%;
        white-space: nowrap;
    }

/*
 * Callout box.
 */

.ui-callout {
    background: #323132;
    background: -moz-linear-gradient(left,  #323132 0%, #333333 16%, #313231 21%, #2f3030 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#323132), color-stop(16%,#333333), color-stop(21%,#313231), color-stop(100%,#2f3030));
    background: -webkit-linear-gradient(left,  #323132 0%,#333333 16%,#313231 21%,#2f3030 100%);
    background: -o-linear-gradient(left,  #323132 0%,#333333 16%,#313231 21%,#2f3030 100%);
    background: -ms-linear-gradient(left,  #323132 0%,#333333 16%,#313231 21%,#2f3030 100%);
    background: linear-gradient(to right,  #323132 0%,#333333 16%,#313231 21%,#2f3030 100%);
    color: #fff;
    font-family: district_prothin, 'Arial Narrow', sans-serif;
    font-size: 18px;
    font-size: 1.8rem;
    padding: 13px;
}
    .ui-callout a {
        color: inherit;
    }

/*
 * Button.
 */

.ui-button {
    background-color: #242324;
    color: #fff;
    display: inline-block;
    font-family: district_prothin, 'Arial Narrow', sans-serif;
    padding: .25em .5em;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transition: all .25s;
    transition: all .25s;
}
.ui-button:hover {
    background-color: #7e7e7e;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/*
 * Flexible media objects
 */

.media-object-wrapper {
	height: 0;
	padding-bottom: 56.25%; /*(16:9 = 9/16)*/
	position: relative;
	width: 100%:

	/* background imagery...*/
	background-image: url();
	background-size: cover;
}
	/* iframe, embed, object... */
	.media-object-item {
		height: 100%;
		position: absolute;
		width: 100%;
	}

/*
 * iOS WebKit browsers and auto-zooming form controls.
 * http://www.456bereastreet.com/archive/201212/ios_webkit_browsers_and_auto-zooming_form_controls/
 */

input[type="text"]:focus,
textarea:focus,
select:focus {
    font-size: 16px;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 2cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    [data-print="false"] {
        display: none !important;
    }
}

/*
 * Force Background Images And Colors
 */

@media print and (color) {
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}