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


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


/* General Fonts
-------------------------------------------------- */

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

}

/* CSS3 Animations
--------------------------------------------------*/
@-webkit-keyframes spaceboots {
	0% { -webkit-transform: translate(2px, 1px) rotate(0deg); }
	10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
	20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
	30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
	40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
	50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
	60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
	70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
	80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
	90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
	100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}
.shake:hover,
.shake:focus {
	-webkit-animation-name: spaceboots;
	-webkit-animation-duration: 0.8s;
	-webkit-transform-origin:50% 50%;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
}
.shake {
	display:inline-block
}

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

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

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





/* ==========================================================================
     General Styles
   ========================================================================== */

.container {
	max-width: 1020px;
	margin: 0 auto; 
}
 
 .copyTitle, .productTitle {
  font-size: 50px;
  font-weight: bold;
  color: white;
  font-family: 'intro_boldregular';
}

.orangeTitle {
  text-shadow: 0px 3px 0px #f35f1b;
}

.blueTitle {
  text-shadow: 0px 3px 0px #003378;
}

.yellow { color: #ffe809; }

.lower { margin-top: 200px !important; }
 

/* ==========================================================================
     Header and Nav Styles
   ========================================================================== */
    

#list_icon{
	display: none;
}
   


.logo {
	margin-left: 20px;
	margin-top: 8px;
	float: left;
}

#panel {
	float: right; 
	margin-top: 15px;
}

#panel li {
	float: left;
	display: inline;
	margin-right: 25px; 
}

/* Global Navigation link style */
nav#panel li a{
	color: white;
	font-size: 18px;
	font-family: 'intro_boldregular';
	text-decoration: none; 
	text-shadow: 0px 0px 4px #f35f1b;
	transition: 0.4s ease-in-out all;
	-webkit-transition: 0.4s ease-in-out all;
	-moz-transition: 0.4s ease-in-out all; 
}
 
#panel li a:hover {
	color: #f46608; 
	text-shadow: none;
}

/* Social Buttons */

#panel li ul {
	float: left;
	margin: 0;
	padding: 0;
}

#panel li ul li{
	margin-top: -5px;
	margin-right: 5px;
}
 

@media (min-width : 490px) and (max-width : 800px) {  
	#panel li {
		float: left;
		display: inline;
		margin-right: 10px; 
	} 
}


@media (min-width : 490px) and (max-width : 710px) {  
	#panel li {
		float: left;
		display: inline;
		margin-right: 10px; 
	} 
	
	.logo {
		margin-left: 5px;
	}
	
	.logo img {
		width: 100px;
	} 	
}
 

@media (min-width : 490px) and (max-width : 670px) {   
	nav li a{
		color: white;
		font-size: 14px;
		font-family: 'intro_boldregular';
		text-decoration: none; 
		text-shadow: 0px 0px 4px #f35f1b;
		transition: 0.4s ease-in-out all;
		-webkit-transition: 0.4s ease-in-out all;
		-moz-transition: 0.4s ease-in-out all; 
	}

}



/* -- Mobile Header view --- */ 
@media (min-width : 320px) and (max-width : 600px) { 
	
		.logo{ 
			margin-top: 5px;
			float: left;
		}

		.logo img {
			width: 87px;
		}

header{
	height: 89px;
	background: url("../img/header_bg.gif") repeat-x center bottom;
	box-shadow: 0 2px 4px rgba(0,0,0, 0.2);
	width: 100%;
	position: fixed;
	z-index: 10000;
}


		nav {
			display: none;
		}
		 
		#list_icon { 
			display: block;
			float: right;
			margin-top: 8px;
			margin-right: 13px
		}
		  

		/*---------------------------/
		/------ Mobile Navigation Panel -------/
		/-------------------------*/

		#panel {
			display: none;
			width: 100%; 
			background: #f35f1b; 
			z-index: 1000001;
			position: absolute;
			top: 60px;
			margin-top: 9px;
		}

		#panel ul {
			padding: 0;
			margin: 0;
		}
		 
		#panel ul li{
			height: 50px;
			text-align: center;
			list-style: none;
			background: #ff930f; /* Old browsers */
			background: -moz-linear-gradient(top,  #ff930f 0%, #ff7708 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff930f), color-stop(100%,#ff7708)); /* Chrome,Safari4+ */
			background: -webkit-linear-gradient(top,  #ff930f 0%,#ff7708 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top,  #ff930f 0%,#ff7708 100%); /* Opera 11.10+ */
			background: -ms-linear-gradient(top,  #ff930f 0%,#ff7708 100%); /* IE10+ */
			background: linear-gradient(to bottom,  #ff930f 0%,#ff7708 100%); /* W3C */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff930f', endColorstr='#ff7708',GradientType=0 ); /* IE6-9 */ 
			padding: 0; 
			line-height: 50px;
			margin: 0;
			width: 100%;
			border-bottom: 1px solid #f35f1b;
		}

		#panel ul li a{
			text-decoration: none;
			font-family: 'intro_boldregular';
			font-size: 28px;
			color: white;
		}

		#panel ul li ul {
			width: 155px;
			float: none;
			margin: 0 auto;
		}

		#panel ul li ul li{
			display: inline;
			float: left;
			background: none;
			width: 25px;
			text-align: center;
			margin-left: 13px;
		} 
	
}


/*---------------------------/
/------ Footer Styles ------/
/-------------------------*/

footer {
	background: url("../img/backgrounds/footer_BG.png") repeat-x center;
	position:relative;
	float:left;
	width:100%;
	min-width:320px;
	height: auto;
}

footer nav{ 
	float:none;
	width: 403px;
	margin: 0 auto;
	margin-top: 20px;
}

footer nav li {
	list-style: none;
	display: inline;
	float: left;
	margin-right: 20px;
}


footer nav li:last-child {
	margin-right: 0
}

footer p{
	clear:both;
	text-align: center;
	font-size: 10px;
	color:#fff;
	width:75%;
	margin:0 auto;
    padding: 0px 0px 40px;
}