/*
 * 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.
 */
 
/* ==========================================================================
   Font families embedded with @font-face.
   Inlined to avoid required HTTP connection.
   ========================================================================== */

@font-face {
    font-family: 'SourceSansProRegular';
    src: url('fonts/SourceSansPro-Regular-webfont.eot');
    src: url('fonts/SourceSansPro-Regular-webfont.eot%3F') format('embedded-opentype'),
         url('fonts/SourceSansPro-Regular-webfont.woff') format('woff'),
         url('fonts/SourceSansPro-Regular-webfont.ttf') format('truetype'),
         url('fonts/SourceSansPro-Regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProLight';
    src: url('fonts/SourceSansPro-Light-webfont.eot');
    src: url('fonts/SourceSansPro-Light-webfont.eot%3F') format('embedded-opentype'),
         url('fonts/SourceSansPro-Light-webfont.woff') format('woff'),
         url('fonts/SourceSansPro-Light-webfont.ttf') format('truetype'),
         url('fonts/SourceSansPro-Light-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*
 *
 * Font Name:	Function Pro
 * Vendor:      FontSite Inc.
 * License URL: http://www.fontspring.com/fflicense/fontsite
 *
 */

@font-face {
    font-family: 'FunctionProCondensedRegular';
    src: url('fonts/FunctionPro-Condensed-webfont.eot');
    src: url('fonts/FunctionPro-Condensed-webfont.eot%3F') format('embedded-opentype'),
         url('fonts/FunctionPro-Condensed-webfont.woff') format('woff'),
         url('fonts/FunctionPro-Condensed-webfont.ttf') format('truetype'),
         url('fonts/FunctionPro-Condensed-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'function_pro_mediumregular';
    src: url('fonts/FunctionPro-Medium-webfont.eot');
    src: url('fonts/FunctionPro-Medium-webfont.eot%3F') format('embedded-opentype'),
         url('fonts/FunctionPro-Medium-webfont.woff') format('woff'),
         url('fonts/FunctionPro-Medium-webfont.ttf') format('truetype'),
         url('fonts/FunctionPro-Medium-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}



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

html,
button,
input,
select,
textarea {
    color: #222;
    font-family: "SourceSansProRegular", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "FunctionProCondensedRegular", Futura, sans-serif;
	text-transform: uppercase;
	font-weight: normal;
}

body {
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * 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 {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
	background: url(../img/brushed_alu.png) repeat;
}
#contact-info {
	text-align: right;
	font-family: 'SourceSansProLight';
	font-style: normal;
	position: absolute;
	top: 20px;
	width: 960px;
}
#contact-info a {
	color: inherit !important;
	text-decoration: none;
}
#navextension-left {
	content: " ";
	background: url(../img/red_carbon.png) repeat center;
	position: absolute;
	top: 89px;
	height: 77px;
	width: -webkit-calc(((100% - 960px) / 2) - 40px);
	width: -moz-calc(((100% - 960px) / 2) - 40px);
	width: -o-calc(((100% - 960px) / 2) - 40px);
	width: calc(((100% - 960px) / 2) - 40px);
}
#navextension-right {
	content: " ";
	background: url(../img/red_carbon.png) repeat center;
	position: absolute;
	height: 77px;
	top: 89px;
	right: 0;
	width: -webkit-calc((100% - 960px) / 2);
	width: -moz-calc((100% - 960px) / 2);
	width: -o-calc((100% - 960px) / 2);
	width: calc((100% - 960px) / 2);
}
header {
	height: 200px;
	width: 960px;
	margin: 0px auto;
	clear: both;
	position: relative;
}
header > #logo {
	margin: 20px 0 0 10px;
	float: left;
}
header > #navbar {
	clear: both;
	position: absolute;
	top: 89px;
	left: 395px;
	background: url(../img/red_carbon.png) repeat;
	margin: 0px auto;
	padding: 0px;
	min-height: 77px;
	width: 585px;
	color: #f5f5f5;
	text-align: center;
}
header > #navbar > li {
	list-style: none;
	display: inline-block;
	font-family: 'function_pro_mediumregular', Futura, sans-serif;
	font-size: 26px;
	margin: 18px 10px;
	zoom: 1;
	*display: inline;
	_height: 77px;

}
header > #navbar a, header > #navbar a:visited {
	color: #f5f5f5;
	text-decoration: none;
}
header > #navbar a:hover {
	color: #CCC;
}
header > #navbar a:active {
	position: relative;
	top: 1px;
}
article {
	clear: both;
	width: 960px;
	margin: 30px auto;
	padding: 0 20px;
}
footer {
	width: 100%;
	min-width: 960px;
	margin: 0px;
	background-image: url(../img/red_carbon.png);
	background-repeat: repeat;
	color: #f2f2f2;
	display: block;
}
footer > #content {
	width: 960px;
	margin: 0 auto;
	padding: 10px 0;
	display: block;
}
#contact-form #form-left {
	display: inline;
	float: left;
	width: 460px;
	margin: 0 10px;
}
#contact-form #form-right {
	display: inline;
	float: left;
	width: 460px;
	margin: 0 0 0 10px;
}
#contact-form input, 
#contact-form textarea,
#contact-form button {
	padding: 10px;
	border-radius: 7px;
	width: 440px;
	border: #444 solid 1px;
}
#contact-form textarea {
	height: 100px;
}
#contact-form label {
	display: block;
	margin: 10px 0;
}
#contact-form button {
	width: auto;
	height: auto;
	margin-top: 1em;
	float: right;
	background-color: #d9d455;
}
#contact-form .hint {
	color: #999;
}
#contact_form_messages {
	color: #d9d455;
}
#contact-form {
	display: block;
	height: auto;
	margin-bottom: 20px;
}
#copyright {
	font-size: .85em;
	text-align: center;
}
#copyright a {
	color: #999;
	text-decoration: none;
}






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

/*
 * Image replacement
 */

.ir {
    border: 0;
    font: 0/0 a;
    text-shadow: none;
    color: transparent;
    background-color: transparent;
}

/*
 * 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 helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

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

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   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: 0.5cm;
    }

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

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