/* Home Page CSS Document */

/*
 * 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: #222;
}

body {
    font-size: 1em;	
    line-height: 1.4;
	text-shadow: 0px 1px 6px #000000;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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;
}

/* ==========================================================================
   Parallax Scroll
   ========================================================================== */
body, html {
	height: 100%;
	min-height: 100%;
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
	
}

body {
	
}

.no-js {
	padding-top: 106px;
}

.wrapper {
    overflow-y:hidden;
    height: 93%;
}

.footer {
    position:fixed;
    bottom: 0;
    height: 7%;
	width:100%;
	display: table-cell;
	vertical-align: middle;
    background-color:rgba(67,93,170,0.7);
	z-index:300;
}

.footer_logo {
	/*background: url(../img/logo_long.png) center 50% no-repeat;*/
	background-size: 150px;
	min-height:100%;
}

h2 {
	margin-top: 0;
	font-weight:normal;
	color:#fff;
}

h2 {
	
	color:#fff;
	font-size: 18px;
	font-weight:normal;
	opacity:1;
}

h2 a {
  	color:#fff;
	text-decoration: none;
}

h2 a:link {
	color: #fff;
	text-decoration: none;
}      /* unvisited link */

h2 a:visited {
	color: #fff;
	text-decoration: none;
}  /* visited link */

h2 a:hover {
	color: #fff;
	text-decoration: underline;
	text-shadow: 0 0 3px #fff;
}  /* mouse over link */

h2 a:active {
	color: #fff;
	text-decoration: none;
}  /* selected link */


h3 {
	
	color:#fff;
	font-size: 72px;
	font-weight:normal;
	line-height: 55px;
	margin: 0 auto;
}

.loading {
	background: url('../img/ico_loading.gif') no-repeat center center;
}

section {
	width: 100%;
	opacity: 0;
}

.loaded section,
.no-js section {
	opacity: 1;
	-webkit-transition: opacity 300ms ease-out;
	-moz-transition: opacity 300ms ease-out;
	transition: opacity 300ms ease-out;
}

main {
	overflow-x: hidden;
}

.bcg {
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	height: 100%;
	width: 100%;
}

/* Slide 1 */
#slide-1 .bcg_home {
	background-color: #fff;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	height: 100%;
	width: 100%;
}


#slide-2 .bcg_home {
	background-image:url('../img/backgrounds/test_1.jpg');
	background-color:#fff;
	background-attachment: fixed;
	background-size: cover;
	height: 100%;
	width: 100%;
	background-position: center center no-repeat;
}

#slide-3 .bcg_home {
	
	background-image:url('../img/backgrounds/hvac_2.jpg');
	background-color:#FFF;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	height: 100%;
	width: 100%;
}

#slide-4 .bcg_home {
	background-image:url('../img/backgrounds/sheet_metal_2.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	height: 100%;
	width: 100%;
}


#slide-5 .bcg_home {
	background-image:url('../img/backgrounds/test_3.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	height: 100%;
	width: 100%;
}


/*#slide-6 .bcg_home {
	background-image:url('../img/backgrounds/pipefitting.jpg');
	background-color:#FFF;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	height: 100%;
	width: 100%;
}*/

#slide-6 .bcg_home {
	background-image:url('../img/backgrounds/bmm_mt_logo.jpg');
	background-color:#FFF;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	height: 100%;
	width: 100%;
}

.arrow_test {
	margin-left: 50%;
	padding-top: 15%;
	background-image:url('../img/arrows/back_to_top.png');
	background-size: 300px;
	/*background-position: 0px 0px;*/
	background-repeat: no-repeat;
	position:absolute;
	z-index: 1;
	height: 290px;
	width: 300px;
}

.read_story {
	margin-top:35px;
	width: 180px;
	-webkit-border-top-left-radius:0px;
	-moz-border-radius-topleft:0px;
	border-top-left-radius:0px;
	-webkit-border-top-right-radius:0px;
	-moz-border-radius-topright:0px;
	border-top-right-radius:0px;
	-webkit-border-bottom-right-radius:0px;
	-moz-border-radius-bottomright:0px;
	border-bottom-right-radius:0px;
	-webkit-border-bottom-left-radius:0px;
	-moz-border-radius-bottomleft:0px;
	border-bottom-left-radius:0px;
	text-indent:0;
	border:1px solid #fff;
	display:inline-block;
	color:#fff;
	font-style:normal;
	height:66px;
	line-height:66px;
	padding: 0 20px 0 20px;
	text-decoration:none;
	text-align:center;
	background-color: rgba(0,0,0,0.5);
}

.read_story:hover {
	background-color: rgba(0,0,0,0.8);
	color:#fff;
	text-decoration:none;
}

.read_story:active {
	position:relative;
	top:1px;
	background-color: rgba(0,0,0,0.5);
}

.read_story_white {
	border:1px solid #c6c6c6;
}

.read_story_white:hover {
	background-color: rgba(0,0,0,0.3);
	color:#fff;
	text-decoration:none;
}

.black {
	background-color:#000;
	width: 100%;
	height:100%;
	position:absolute;
	z-index: 5;
}

.text_glow {
		text-shadow: 0 0 10px #fff, 
		0 0 20px #fff, 
		0 0 30px #fff, 
		0 0 40px #fff, 
		0 0 70px #fff, 
		0 0 80px #fff, 
		0 0 100px #fff, 
		0 0 150px #fff;
}

.white_block {
	background-color:#fff;
	opacity: .5;
	}

.hsContainer {
	display: table;
	table-layout: fixed;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	
}

.hsContent {
	max-width: 75%;
	margin: auto auto 0 auto;
	display: table-cell;
	vertical-align: middle;
	color: #fff;
	padding: 0 8%;
	text-align: center;
	position: relative;
	z-index: 10;

}

.white {
	color:#fff;
}

.hsContent h2,
.copy h2 {
	font-size: 45px;
	line-height: 48px;
	margin-bottom: 12px;
}

.hsContent p {
	width: 1000px;
	margin: 0 auto;
	color: #fff;
	font-size:22px;
}
	
.hsContent a {
	color: #fff;
	text-decoration: none;
}

.bgBlack {
	background-color: rgba(0,0,0,0.75);
	padding: 3px 10px;
}

h2 a {
  color:#fff;
	text-decoration: none;
}

h2 a:link {
	color: #fff;
	text-decoration: none;
}      /* unvisited link */

h2 a:visited {
	color: #fff;
	text-decoration: none;
}  /* visited link */

h2 a:hover {
	color: #fff;
	text-decoration: none;
}  /* mouse over link */

h2 a:active {
	color: #fff;
	text-decoration: none;
}  /* selected link */


.downSlide {
	background-image:url(../img/arrows/slide_down_arrow_white.png);
	background-size: 45px;
	background-position: center;
	background-repeat:no-repeat;
	height: 45px;
	width: 45px;
	opacity:0.5;
	filter:alpha(opacity=60); /* For IE8 and earlier */
	
}

.downSlide:hover {
	opacity:1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	
	}
	
.downSlide:hover {
	text-decoration: none;
	
}

.downSlideBlue {
	background-image:url(../img/arrows/slide_down_arrow.png);
	background-size: 45px;
	background-position: center;
	background-repeat:no-repeat;
	height: 45px;
	width: 45px;
	opacity:0.5;
	filter:alpha(opacity=60); /* For IE8 and earlier */
	
}

.downSlideBlue:hover {
	opacity:1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	
	}
	
.downSlideBlue:hover {
	text-decoration: none;
	
}


.backToTop {
	background-image:url(../img/arrows/back_to_top_white.png);
	background-size: 45px;
	background-position: center;
	background-repeat:no-repeat;
	height: 45px;
	width: 45px;
	opacity:0.5;
	filter:alpha(opacity=60); /* For IE8 and earlier */
	
}

.backToTop:hover {
	opacity:1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	
	}
	
.backToTop:hover {
	text-decoration: none;
	
}

.noUnderline:hover {
	text-decoration: none;
	
	}
	
.textGlow:hover {
	text-shadow: 0 0 20px rgba(255,255,255,1);
	
	}


/* Navigation */
#slideNav {
	display: none;
	position: fixed;
	right: 0;
	top: 50%;
	margin-top: -110px;
	z-index: 11;
}
#slideNav ul {
	list-style: none;
	color: #fff;
	font-size: 15px;
	text-align: center;
}
#slideNav li {
	width: 70px;
	height: 70px;
	line-height: 70px;
	background-color:rgba(67,93,170,0.7);
	margin-top: 3px;
	margin-bottom: 3px;
	border: 1px solid #fff;
	color:#fff;
	
	font-family: 'Droid Sans', sans-serif;
	
}

.no-rgba  #slideNav li {
	background-color: #ffffff
	}
#slideNav a {
	display: block;
	width: 70px;
	height: 70px;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	opacity:.6;
	color: #fff;
	background-color: rgba(0,0,0,0.3);
}
#slideNav a.disabled {
	cursor: default;
}

#slideNav a:hover {
	opacity:.9;
}

/* ==========================================================================
   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: 150%;
}

/*
 * 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These 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 print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* 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;
    }
}
