/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/*
Project: 		Nova Pole Industries
Created by:	Devon Lesk
Primary use:	Web, Mobile
*/


/*General Classes and Styles
*********************/
* {
	box-sizing:border-box!important;
	-moz-box-sizing:border-box!important;	
	-webkit-box-sizing:border-box!important;
}

html{font-size:16px; font-family: 'Muli', sans-serif;}

a{text-decoration:none; color:#0060aa;}

.left{float:left; display:inline;}
.right{float:right; display:inline;}
.clear{clear:both;}

.alignLeft{text-align:left;}
.alignRight{text-align:right!important;}
.alignCenter{text-align:center;}

/*Smallest/0.688em;Smaller/0.750em;Small/0.875em;Normal/1em;Large/1.125em;Larger/1.250em;Largest/1.500em; Drupal CKeditor font sizes for reference*/

/*Widget Styling*/

.column-half{float:left; width:48%; margin:0 1%;}
.column-third{float:left; width:31%; margin:0 1%;}
.full{float:left; width:100%;}

/**/

.padding{padding:1%;}
.leftPadding{padding:0 0 0 1%;}
.leftLargerPadding{padding:0 0 0 5%;}
.rightPadding{padding:0 1% 0 0;}

.margin{margin:1%;}
.leftMargin{margin:0 0 0 1%;}
.rightMargin{margin:0 1% 0 0;}

/*Image styles for Drupal's ckeditor*/
img[style*="left"]  {margin:0 10px 10px 0;}
img[style*="right"] {margin:0 0 10px 10px; }
/**/

.imgBorder{border:#CCC solid 1px; padding:4px; margin:1%;}
.imgBorder:hover{border:#ef4723 solid 1px;}

.thumbnail{border:#ccc solid 1px; padding:7px;}
.image-product_thumbnail{border:#ccc solid 1px; padding:7px;}
.gallery-item, figure{float:left; width:150px; height:200px; margin:10px 10px; text-align:center;}
.gallery-item img, figure img{border:#ccc solid 1px; padding:7px;}

.underline{text-decoration:underline;}

.width-wrapper{position:relative; display:block; margin:0 auto; width:1200px;}
.width-wrapper-medium{position:relative; display:block; margin:0 auto; width:1000px;}
.width-wrapper-small{position:relative; display:block; margin:0 auto; width:800px;}

hr{clear:both; position:relative; background:#cccccc; border:none; margin:10px 0px;}

/*tables*/
table{border:none;}
table td{border:none; padding:1%; vertical-align:top;}
thead tr{}
thead th{}
table tr:nth-child(odd){}

#product-table{border:#b7b7b7 solid 1px;}
#product-table td{border:none; padding:1%; vertical-align:top;}
#product-table thead tr{background:#6D8F9A!important; border:none!important;}
#product-table thead th{background:#3a924f!important; border:none!important; padding:1%; color:#fff!important;}
#product-table tr:nth-child(odd){background:#e6e6e6;}

/*forms*/
label{float:left; width:30%; font-size:0.875em; color:#232323; margin:10px 0; padding:2%;}
input{border:#c5c5c5 solid 1px; background:none; margin:10px 0; padding:2%; width:70%; color:#c5c5c5;}
input:focus{border:#0060aa solid 1px; color:#232323;}
textarea{width:70%!important; margin:10px 0; padding:1%; display:inline!important; border:#c5c5c5 solid 1px; background:none; color:#c5c5c5;}
textarea:focus{border:#0060aa solid 1px; color:#232323;}
.form-submit{color:#232323;}
input[type=submit]{margin:10px 0 10px 30%;}
.grippie{display:none;}
/**/

.button{clear:both; display:inline-block; color:#fff!important; border:#8b8b8b solid 1px; padding:.5% 2.5%; text-align:center;}
.button:hover{color:#fff!important;}

.photo{float:left; margin:1%;}
a .photo{padding:.5%; border:#0060aa solid 1px;}

#mobile-checker{display:none;}

h1{color:#232323; text-transform:uppercase; font-weight:900;}
h2{color:#232323; font-size:1.875em; text-transform:uppercase;}
.dark-background h2{color:#fff;}
h3{color:#232323; font-size:0.875em; text-transform:uppercase;}

/*Common Colors*/

/**/
/*********************/



/*Body and Wrapper*/
body{height:100%; padding:0; background:#232323;}
#main{position:relative; width:100%; height:auto; margin:0 auto; overflow:hidden;}
/**/

header{float:left; width:100%; position:relative; min-height:300px; height:auto; background:url(../img/header-pattern.png) repeat;}

	#header-top{position:absolute; z-index:100; width:96%; margin:1%; padding:1%; background:#fff;}
	#logo{float:left; background:#fff;}
	
	nav{float:right; width:50%; font-size:1.250em; text-transform:uppercase; background:#fff;}
		nav .leaf{padding:0px; margin:0px; list-style:none!important;}
		nav ul{margin:26px 0 0 0; padding:0px;}
		nav li{float:left; position:relative; display:inline-block; padding:0px; margin:0px; list-style:none;}
			nav ul li ul{position:absolute; display:none; background:#fff; padding:0 0 20px 0; font-size:.875em;}
				nav ul li ul li{width:100%; display:block;}
				nav ul li ul li a{width:100%; display:block;}
				.more, .less{display:none;}
		nav a{padding:15px 10px; color:#000;}
		
/*Slider*/
#hero{float:left; width:50%; height:1100px; position:relative; overflow:hidden;}
#hero ul{margin:0px; padding:0px;}
        #hero ul li {float:left; width:100%; height:1100px; position:relative; margin:0px; padding:0px; list-style:none; background-size:cover; background-position:bottom center;}
		#hero span{position:absolute; top:40%; left:10%; width:80%; font-size:2.250em; color:#fff; text-shadow:#000 0px 0px 3px;}
		#hero img{width:100%; display: block; height:auto;}
		#hero li a{position:absolute; z-index:10; text-indent:-999em; width:100%; height:100%;}


		
		
		
/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/
.bx-wrapper {position: relative; padding: 0; *zoom: 1;}
.bx-wrapper img {max-width: 100%;display: block;}

/** THEME
===================================*/
.bx-wrapper .bx-viewport {/*fix other elements on the page moving (on Chrome)*/-webkit-transform: translatez(0); -moz-transform: translatez(0); -ms-transform: translatez(0); -o-transform: translatez(0); transform: translatez(0);}
.bx-wrapper .bx-controls-auto {position: absolute;bottom: -30px;width: 100%;}
.bx-wrapper .bx-pager{display:none;}

/* LOADER */

.bx-wrapper .bx-loading {min-height: 50px;background: url(images/bx_loader.gif) center center no-repeat #fff;height: 100%;width: 100%;position: absolute;top: 0;left: 0;z-index: 2000;}

/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {left:20px; background:url(../img/arrow-left.png) no-repeat;}
.bx-wrapper .bx-next {right:20px; background:url(../img/arrow-right.png) no-repeat;}
.bx-wrapper .bx-controls-direction a {position:absolute; top:45%;margin-top: -27px;outline: 0;width: 29px;height:55px;z-index:99; text-indent:-999em;}
.bx-wrapper .bx-controls-direction a.disabled {display: none;}
	
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
/**/

	#masthead{float:left; position:relative; margin:0px; width:100%; height:400px; background:no-repeat; background-position:bottom center; background-size:cover;}
		#masthead img{position:absolute; left:0px; top:0px;width:100%; height:auto;}
		
	#categories{width:50%; padding:130px 2% 0 2%;}	
	.product-button{float:left; width:34%; height:240px; margin:5% 7.5%; text-align:center; color:#858585; background:#232323; border-radius:6px;}
		.product-button h3{color:#fff;}
		.product-button p{color:#858585!important; font-size:0.750em;}
		.product-button a{color:#858585; display:block; border-radius:4px;}
			
	.product{float:left; width:40%; border:#cccccc solid 1px;}	
		.picture{float:left; width:auto; height:100%;}
		.product .info{float:right; width:40%;}
		.product h3{text-align:center;}
		.product .width-wrapper{padding:0 0 0 100px;}
		.featured-products{float:left; width:460px; margin:20px; border:#cccccc solid 1px; text-align:center;}
		.featured-products img{float:left;}
		.featured-products h4{margin:0 0;}
			.featured-products .info{float:right;width:220px;}
		
	section{float:left; width:100%; padding:2.5% 2.5%;}
	#about{background:#232323 url(../img/about-us-back-compressed.png) center bottom no-repeat;}	
	.dark-background{background:#232323;}
		.dark-background p{color:#ffffff;}
	.light-background{background:#fff;}
		.light-background p{}
		.light-background .button{color:#232323!important;}
	#partners{background:#d2dfef;}
		#partners h3{display:inline; font-size:2em;}
				
#content{float:left; position:relative; width:100%; z-index:30; background:#fff;}

#webform-client-form-5 .form-item{float:left; width:40%; margin:0 5%;}
#webform-client-form-5 label{float:left; width:100%; margin:0 0;}
#webform-client-form-5 input{float:left; width:100%; margin:0 0 6px 0;}

.g-recaptcha iframe{width:100%!important;}
	.g-recaptcha-response{display:none!important;}

footer{float:left; width:100%;}
	#footer-form{position:relative; width:40%; left:50%; margin-left:-27%;}
	#footer-content{background:#ffffff; padding:40px 0 0 0;}
	.footer-info{float:left; width:30%; margin:1.5%; padding:10% 0% 5% 0%; font-size:0.750em; position:relative;}
		#phone:before{content:""; position:absolute; width:25px; height:42px; top:42px; left:50%; margin:0 0 0 -12px; background:url('../img/icon-sprite-sheet-compressed.png') no-repeat; background-position:-6px -4px;}
		#address:before{content:""; position:absolute; width:30px; height:42px; top:42px; left:50%; margin:0 0 0 -15px; background:url('../img/icon-sprite-sheet-compressed.png') no-repeat; background-position:-55px -4px;}
		#email:before{content:""; position:absolute; width:33px; height:21px; top:60px; left:50%; margin:0 0 0 -16px; background:url('../img/icon-sprite-sheet-compressed.png') no-repeat; background-position:-109px -14px;}
	#footer-bottom{padding:4% 0; font-size:0.750em; color:#919191; text-align:center;}
		#social{float:left; width:100%; margin:0 0 2% 0; text-align:center;}
		.footer-icon{display:inline-block; width:24px; height:24px; margin:0 1%; background:url('../img/icon-sprite-sheet-compressed.png') no-repeat;}
		#facebook{background-position: -166px -13px;}
		#twitter{background-position: -204px -13px;}
		#google{background-position: -252px -13px;}
		#instagram{background-position: -300px -13px;}





@media screen and (max-width: 1199px) {
	
.width-wrapper{position:relative; display:block; margin:0 auto; width:100%;}
.width-wrapper-medium{position:relative; display:block; margin:0 auto; width:100%;}
.width-wrapper-small{position:relative; display:block; margin:0 auto; width:100%;}

#logo img{width:300px; height:auto;}
nav{float:right; width:65%; font-size:1.250em; text-transform:uppercase; background:#fff;}
nav ul{margin:16px 0 0 0; padding:0px;}
nav li{float:left; position:relative; display:inline-block; padding:0px; margin:0px; list-style:none;}
nav ul li ul{position:absolute; display:none; background:#fff; padding:0 0 20px 0; font-size:.875em;}

.product-button{height:330px;}

		.featured-products{float:left; width:48%; margin:1%; border:#cccccc solid 1px; text-align:center;}
		.featured-products img{float:left; width:50%; height:auto;}
		.featured-products h4{margin:0 0;}
			.featured-products .info{float:right;width:50%; padding:4px;}
			.featured-products .info img{width:100%; height:auto;}

#hero ul{margin:0px; padding:0px;}
        #hero ul li {float:left; width:100%; position:relative; margin:0px; padding:0px; list-style:none;}
		#hero span{position:absolute; top:150px; left:15%; width:60%; font-size:2.250em; color:#fff;}
		#hero img{width:100%; display: block; height:auto;}
		#hero li a{position:absolute; z-index:10; text-indent:-999em; width:100%; height:100%;}
		
.bx-wrapper .bx-prev {left:20px; background:url(../img/arrow-left.png) no-repeat;}
.bx-wrapper .bx-next {right:20px; background:url(../img/arrow-right.png) no-repeat;}
.bx-wrapper .bx-controls-direction a {position:absolute; top:50%;margin-top: -27px;outline: 0;width: 29px;height:55px;z-index:99; text-indent:-999em;}
.bx-wrapper .bx-controls-direction a.disabled {display: none;}		
}

/*Large Phones/Tablets*/
@media screen and (max-width: 800px) {
.column-half{float:left; width:98%; margin:5% 1%;}
.column-third{float:left; width:98%; margin:5% 1%;}
	
.width-wrapper{position:relative; display:block; margin:0 auto; width:100%;}
.width-wrapper-small{position:relative; display:block; margin:0 auto; width:100%;}

.product-button{width:45%; height:340px; margin:0% 2.5%;}

#phone:before{height:42px; top:10%;}
#address:before{height:42px; top:10%;}
#email:before{height:21px; top:20%;}

#masthead img{position:absolute; left:0px; top:0px;width:200%; height:auto;}

#categories{width:100%; padding:1%;}

		.featured-products{float:left; width:98%; margin:1%; border:#cccccc solid 1px; text-align:center;}
		.featured-products img{float:left; width:50%; height:auto;}
		.featured-products h4{margin:0 0;}
			.featured-products .info{float:right;width:50%; padding:4px;}
			.featured-products .info img{width:100%; height:auto;}

table td{border:none; width:100%!important; display:block; height:auto!important; padding:1%; vertical-align:top;}

	nav{float:left; width:100%; font-size:1.250em;}
		nav .leaf{padding:0px; margin:0px; list-style:none!important;}
		nav ul{margin:26px 0 0 0; padding:0px;}
		nav li{float:left; position:relative; display:inline-block; padding:0px; margin:0px; list-style:none;}
			nav ul li ul{position:absolute; display:none; background:#fff; padding:0 0 20px 0; font-size:.875em;}
				nav ul li ul li{width:100%; display:block;}
				nav ul li ul li a{width:100%; display:block;}
				.more, .less{display:none;}
		nav a{padding:15px 10px; color:#000;}
		
#hero{float:left; width:100%; height:550px; position:relative; overflow:hidden;}
        #hero ul li {float:left; width:100%; height:550px; position:relative; margin:0px; padding:0px; list-style:none;}
		#hero span{position:absolute; top:250px; left:10%; width:80%; font-size:2.250em; color:#fff;}
		#hero img{width:100%; display: block; height:auto;}
		#hero li a{position:absolute; z-index:10; text-indent:-999em; width:100%; height:100%;}

}


/*Phones*/
@media all and (max-width:520px) {
label{float:left; width:20%; padding:1%;}
input{padding:1%; width:60%;}
textarea{width:25%!important; padding:1%; display:inline!important; border:#c5c5c5 solid 1px; background:none; color:#c5c5c5;}
textarea:focus{border:#0060aa solid 1px; color:#232323;}
.form-submit{color:#232323;}	
	
	
.photo{float:left; margin:5%;}
.button{width:60%; margin:10% 0 0 15%; padding:1% 5%; text-align:center;}
	
.width-wrapper{position:relative; display:block; margin:0 auto; width:100%;}
.width-wrapper-small{position:relative; display:block; margin:0 auto; width:100%;}

#logo img{width:100%; height:auto;}

#masthead img{position:absolute; left:0px; top:0px;width:300%; height:auto;}

.product-button{width:95%; margin:0% 2.5%;}


.footer-info{float:left; width:90%; margin:0% 5%; padding:20% 0% 5% 0%; font-size:0.750em; position:relative;}
#phone:before{height:42px; top:5%;}
#address:before{height:42px; top:5%;}
#email:before{height:21px; top:10%;}
}














/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
