/*
 * 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;
	font-family: "proxima-nova",sans-serif;
	background-color: #46505C;
}

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

header {height: 50px; background-color: #000;}

h1 {font-family: "refrigerator-deluxe",sans-serif; color: #fff; margin: 0; line-height: 1em; letter-spacing: -1px;}

.anchor {width: 39px; padding: 15px; margin: auto; display: block; overflow: hidden; position: relative; z-index: 500;}
.anchor:focus {outline: 0;}
.anchor-cont {width: 100%; float: left;}

nav {max-width: 960px; margin: auto; height: 50px; text-align: center;}
nav ul {list-style-type: none; padding:0; margin:0; height: 50px; max-width: 845px; margin: auto;	}
nav ul li { float: left; margin: 1% 2% 0; }
nav ul li a {color: #fff; padding: 0.5em; float: left; text-decoration: none;}
nav ul li a:hover {color: #bbb;}
nav ul li a:focus {outline: 0; overflow: hidden;}
nav ul li.home {height: 30px; margin-top: 0;}

#mobile-wrapper {display: none;}

.nav-fixed {position: fixed; top:0;	margin: auto;	width: 100%; z-index: 600;}

#slider {/* background: url('../img/bg-slider.jpg') repeat-x 0 0 #46505C; */ background-color: #252525; overflow: hidden;}
#slider .container {max-width: 960px;/*  background: url('../img/bg-glow.png') no-repeat center top; */ margin: auto; overflow: hidden;}
#slider .container .slide {width: 100%; float: left;} 
#slider .container .slide h1 {float: left; margin: 14% 0 10% 4%; width: 40%; font-size: 6em;}
/* #slider .container .slide.three h1 {float: left;  margin: 22% 0 5% 5%; font-size: 9em; line-height: normal; width: 50%} */
/* #slider .container .slide img {float: right; margin: 8% 0 0 0; width: 55%;} */
/* #slider .container .slide.three img {width: 88%;} */
#packshot {/* background: url('../img/banner-winner-dec-2017.jpg') center center no-repeat; */ width: 960px; height: auto; margin-top: 20px;}
#packshot .bannerImage {width: 100%;}


#future {background: #e67e22; width: 100%; float: left;}
#future .container {max-width: 960px; margin:auto; padding: 30px 0; text-align: center;}
#future .container h2 {font-size: 28px; color: #fff; border-bottom: 1px solid #fff; text-align: center; padding-bottom: 15px; margin: 0 50px 30px; text-transform: uppercase;}
#future .container p {color: #fff; padding: 0 90px 0; text-align: center; font-size: 21px; line-height: 1.33em; float: left;}
#future .container a {padding: 15px 40px; background-color: #474951; color: #fff; text-decoration: none; text-align: center; margin-top: 20px; font-weight:600; -moz-border-radius: 4px; border-radius: 4px;}

#key {background: #000; width: 100%; float: left; position: relative;}
#key .container {max-width: 1200px; margin: auto; padding: 30px 0 60px; text-align: center; }
#key .container h2 {font-size: 28px; color: #fff; text-align: center; margin: 0 50px 65px;}
#key .container h3 {color: #fff; text-align: center; font-weight: 600; text-transform: uppercase; font-size: 1.05em;}
#key .container p {color: #fff;}
#key .container .feature {width: 17%; float: left; padding-right: 6%;}
#key .container .feature.first {padding-left:7%;}
#key .container .feature.last {padding-right:7%;}
#key .container .feature span {display: block; width: 100%; height: 90px;}

#key .tabs {margin:0; padding:0; list-style-type: none; width: 40%; margin: auto; max-width: 650px;}
#key .tabs li {float: left; width: 50%; background: url('../img/bg-tab.jpg') repeat-x 0 0; text-align: center; overflow: hidden; -moz-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;}
#key .tabs li.active {background: url('../img/bg-white.jpg') repeat-x 0 0;}

#key .tabs li a {color: #fff; font-weight: 600; font-size: 20px; text-decoration: none; width: 100%; float: left; padding: 18px 0;}
#key .tabs li.active a {color: #474951;}

#products {background: url('../img/bg-white.jpg') repeat 0 0; width: 100%; float: left; padding-bottom: 40px;}
#products .container {max-width: 1200px; margin: auto; padding: 30px 0; border-top: none;}
#products .container .roundup {width: 50%; float: left;}
#products .container .others {width: 50%; float: left;}
#products .container h2 {color: #474951; width: 100%; font-size: 28px; text-align: center; margin:0 0 50px 0;}
#products .container h3 {text-transform: uppercase; color: #61c250; font-weight: 600; margin:0; font-size: 17px; line-height: 1.1em;}
#products .container h3 span {color: #333; text-transform: none;}
#products .container p {font-size: 13px;}
#products .container .item {min-height: 320px; width: 100%; float: left; margin-bottom: 40px;}
#products .container .item.bottom {min-height: 250px;}
#products .container .roundup img {float: left; padding-left:13%; width: 20%;}
#products .container .roundup .deets {width: 62%; float: left; padding: 0 3% 0 2%;}
#products .container .others img {float: left; padding-left:3%; width: 20%;}
#products .container .others .deets {width: 62%; float: left; padding: 0 8% 0 3%;}
#products .container .download, .btn-submit {font-size: 11px; margin: 0 15px 15px 0; padding: 8px 0; float: left; text-decoration: none; color: #fff; font-weight: 600; background-color: #e67b1e; width: 123px; text-align: center; -moz-border-radius: 3px; border-radius: 3px;}
#products .container .msds {font-size: 11px; padding: 8px 0; float: left; text-decoration: none; color: #fff; font-weight: 600; background-color: #95a5a6; width: 123px; text-align: center; -moz-border-radius: 3px; border-radius: 3px;}

#products .container .ultramax {width: 84%; margin: auto; border-bottom: 1px solid #c5c5c5; text-align: center; margin-bottom: 70px; padding-bottom: 40px;}
#products .container .ultramax img {margin: 10px 0 40px 0;}
#products .container .ultramax p {padding: 10px 80px; font-size: 16px;}
#products .container .ultramax p.fine-print {font-size: 12px;}

#products .container .ultra-download {width: 250px; margin: auto;}
#products .container .nz-roundup .ultra-download {width: 370px; margin: auto;}

#products .container .find-more {text-align: center; margin: auto; width: 100%; float:left; }
#products .container .find-more a {padding: 15px 40px; background-color: #61c250; color: #fff; text-decoration: none; text-align: center; margin-top: 20px; font-weight:600; -moz-border-radius: 4px; border-radius: 4px;}

#products .container .download {font-size: 10px; margin: 5px 10px 5px 0; padding: 12px 0; float: left; text-decoration: none; color: #fff; font-weight: 600; background-color: #e67b1e; width: 115px; text-align: center; -moz-border-radius: 3px; border-radius: 3px; overflow: hidden;}
#products .container .sds {font-size: 10px; margin: 5px 10px 5px 0; padding: 12px 0; float: left; text-decoration: none; color: #fff; font-weight: 600; background-color: #95a5a6; width: 115px; text-align: center; -moz-border-radius: 3px; border-radius: 3px; overflow: hidden;}
#products .container .haznote {font-size: 10px; margin-top: 5px; padding: 12px 0; float: left; text-decoration: none; color: #fff; font-weight: 600; background-color: #61c250; width: 115px; text-align: center; -moz-border-radius: 3px; border-radius: 3px; overflow: hidden;}

/* General button style (reset) */
.btn {border: none;	font-family: inherit;	font-size: inherit;	color: inherit;	background: none;	cursor: pointer;	padding: 25px 80px;	display: inline-block;	text-transform: uppercase; font-weight: 700;	outline: none;	position: relative;	-webkit-transition: all 0.3s;	-moz-transition: all 0.3s;	transition: all 0.3s;}

.btn:after {content: '';	position: absolute;	z-index: -1;	-webkit-transition: all 0.3s;	-moz-transition: all 0.3s;	transition: all 0.3s;}

/* Pseudo elements for icons */
.btn:before {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	position: relative;
	-webkit-font-smoothing: antialiased;
}


.icon-download:before {
	content: url('../img/icon-download.png');}
}


.btn-download {
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}

.btn-download:active {
	background: #9053a9;
	top: 2px;
}

.btn-download span {
	display: inline-block;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.3s;
	-webkit-backface-visibility: hidden;
	-moz-transition: all 0.3s;
	-moz-backface-visibility: hidden;
	transition: all 0.3s;
	backface-visibility: hidden;
}

.btn-download:before {
	position: absolute;
	height: 100%;
	width: 100%;
	line-height: 2.5;
	font-size: 180%;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.btn-download:active:before {
	color: #703b87;
}

/* Button 5a */
.btn-download-a:hover span {
	-webkit-transform: translateY(300%);
	-moz-transform: translateY(300%);
	-ms-transform: translateY(300%);
	transform: translateY(300%);
}

.btn-download-a:before {
	left: 0;
	top: -101%;
}

.btn-download-a:hover:before {
	top: 7%;
}

.btn-watch {font-size: 100%; margin: 370px 0 100px 10px; padding: 2%; float: left; text-decoration: none; color: #fff; font-weight: 600; background-color: #61c250; width: 20%; text-align: center; -moz-border-radius: 3px; border-radius: 3px; overflow: hidden;}

.lt-ie8 #signup, .lt-ie8 #key {background-position: center 700px;}

.lt-ie8 #products .container .find-more a {float: left;}
.lt-ie8 #products .container .find-more {width: 40%; margin: auto;}

@media screen and (min-width: 850px) and (max-width: 960px) {
	
	
	
	#mobile-wrapper {display: none;}
	
	#slider .container .slide h1 {font-size: 3.8em; margin-top: 16%;}
	/* #slider .container .slide img {margin-top: 11%;} */
	
	#key .container .feature.first {padding-left: 4%;}
	#key .container .feature.last {padding-right: 4%;}
	#key .container .feature {padding-right: 5%; width: 19%;}
	#key .container h3 {font-size: 16px;}
	#key .container p {font-size: 14px;}
	
	#key .tabs li a {font-size: 18px; padding: 15px 0;}
	
	#products .container .item {min-height: 350px;}

	#products .container .ultra-download { float: none; margin: auto;}
}

@media screen and (min-width: 768px) and (max-width: 849px) {
	nav ul li a {font-size: 14px}
	#mobile-wrapper {display: none;}
	
	#slider .container .slide h1 {font-size: 3.4em; margin-top: 15%;}
	/* #slider .container .slide img {margin-top: 19%;} */
	
	#packshot {width: 100%; height: 560px; background-position: -110px -50px;}
	
	#key .container .feature.first {padding-left: 4%;}
	#key .container .feature.last {padding-right: 4%;}
	#key .container .feature {padding-right: 5%; width: 19%;}
	#key .container h3 {font-size: 16px;}
	#key .container p {font-size: 14px;}
	
	#key .tabs li a {font-size: 16px; padding: 12px 0;}
	
	#products .container .ultramax p {padding: 10px 40px;}
	#products .container .item {min-height: 350px;}
	
	#products .container .ultra-download { float: none; margin: auto;}

}

@media screen and (min-width: 640px) and (max-width: 767px) {
	nav ul li a {font-size: 12px}
	#mobile-wrapper {display: none;}
	
	#slider .container .slide h1 {font-size: 3.4em; margin-top: 32%;}
	/* #slider .container .slide img {margin-top: 19%;} */
	
	#key .container .feature.first {padding-left: 4%;}
	#key .container .feature.last {padding-right: 4%;}
	#key .container .feature {padding-right: 5%; width: 19%;}
	#key .container h3 {font-size: 16px;}
	#key .container p {font-size: 14px;}
	
	#key .tabs li a {font-size: 16px; padding: 12px 0;}
	
	#products .container .ultramax p {padding: 10px 40px;}
	#products .container .item {min-height: 350px;}

	#products .container .ultra-download { float: none; margin: auto;}
}

@media screen and (min-width: 240px) and (max-width: 640px) {

	nav ul {display: none;}
	#mobile-wrapper {display: block; width: 100%;}
	#mobile-wrapper a {overflow: hidden;}
	#mobile-wrapper a.home {width: 32px; float: left; overflow: hidden; margin: 10px 0 0 5%;}
	#mobile-wrapper a.mobmenu {width: 32px; float: right; overflow: hidden; margin: 10px 5% 0 0;}
	#mobile-wrapper #mobile-menu ul {display:block; background-color: #000; position: relative; z-index: 1000; float: left; height: 100%; width: 100%;}
	#mobile-wrapper #mobile-menu ul li {width: 95%; display: block; margin:0; padding: 5px 0 5px 5%;}
	
	#mobile-menu {width: 100%; float: left;}
	
	.anchor {display:none;}
	
	#packshot {width: 100%; background-size: 100%; height: 230px; margin-top: 0; float: left;}
	
	#slider .container .slide h1 {font-size: 1.5em; margin-top: 4%; width: 35%; margin-left: 4%; margin-bottom: 3px;}
	/* #slider .container .slide img {margin: 20% 3% 10% 0;} */
	
	.btn-watch {width: 200px ; float: none; display: block; margin: 250px auto 10px;}
	
	#slider .container {height: 300px;}
	
	#future .container p {color: #FFFFFF; float: left; font-size: 15px; line-height: 1.33em; padding: 0 20px; text-align: center;}
	#future .container h2 {font-size:22px; margin: 0 20px 5px; padding-bottom: 5px;}
	
	#key .tabs {width: 85%;}
	#key .tabs li a {font-size: 13px; padding: 12px 0;}
	
	#key .container .feature {margin-bottom: 15px;}
	#key .container .feature.first {padding-left: 0;}
	#key .container .feature.last {padding-right: 0;}
	#key .container .feature {padding-right: 0; width: 100%; float: left;}
	#key .container h2 {font-size: 20px; margin-bottom: 25px;}
	#key .container h3 {font-size: 16px; float: left; text-align: left; width: 62%; background: url('../img/icon-arrow.png' ) right 6px no-repeat; padding: 5px 8% 10px 0; margin-top:5%;}
	#key .container p {font-size: 13px; text-align: left; padding-left: 25%; padding-right: 15%;}
	#key .container .feature span {float: left; width: 25%; height: auto;}
	#key .container .feature span img {max-width: 50%; margin-top: 20px;}
	#key .container .feature span.rain img {margin-top: 5px;}
/* 	#key .container .feature h3.rain-head {margin-top: 30px;} */
	#key .container .feature span.tank img {width: 55%;}
	
/* 	#products .container .deets .download, #products .container .deets .sds, #products .container .deets .haznote {display: none;} */
/* 	#products .ultra-download {display: none;} */
	
	#products .country .item img {display: none;}
	#products .container .others .deets, #products .container .roundup .deets {width: 100%; padding: 0 0 15px 0;}
	/* #products .country .item .deets p {display: none;} */
	#products .container .roundup, #products .container .others {width: 86%; padding: 0 7%;}
	#products .container .item {min-height: 100%; border-bottom: 1px solid #ccc; margin-bottom: 20px;}
	
	#products .container .find-more a {font-size: 11px; padding: 10px 15px;}

	#products .container .ultramax p {padding: 10px 0;}
	#products .container .ultramax {width: 86%; margin: 0 7% 40px;}

	#products .container .ultra-download {float: none; margin: auto; width: auto;}
	
	#products .container .download {margin-right: 25px; float: left; width: 130px; margin-right: 0;}
	#products .container .sds {float: right; margin-right: 0; width: 130px;}
	#products .container .haznote {float: left; width: 130px;}
	
	#products .container .nz-roundup .ultra-download {width: auto;}
	
	#products .container .deets h3 {background: url('../img/icon-arrow.png' ) right 6px no-repeat; padding-right: 10%;}
	#products .container .deets h3 span {color: #222; font-size: 13px;}
}

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