/*
Theme Name: QPAA
Theme URI: http://www.qpaa.com.au
Author: Creative Perspective
Author URI: http://www.creativeperspective.com.au
Description: A custome built theme for Queensland Police Academy to run on WP E-commerce.
Version: 1.1
License: GNU General Public License
License URI: license.txt
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Containers
	## Pages
	## Header
	## Sidebar
	## Footer
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# GENERAL LAYOUT MEDIA QUERIES
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: ##4D4D4D;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

body {
	margin: 0;
	color: ##4D4D4D;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.231;
	background-image: url(i/PM-bkg.jpg);
	background-repeat: repeat;
}

body, button, input, select, textarea { font-family: 'Questrial', sans-serif; color: #4D4D4D; }

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: 'Questrial', Helvetica, sans-serif;
  text-rendering: optimizelegibility;
  font-weight: normal;
}
h1 a,
.h1 a,
h2 a,
.h2 a,
h3 a,
.h3 a,
h4 a,
.h4 a,
h5 a,
.h5 a
h6 a,
.h6 a  {
  text-decoration: none;
}
h1,
.h1,
h1 a,
.h1 a,
.post h1,
.post h1 a,
.entry-content h1,
.entry-content h1 a {
	font-size: 2.9rem;
	font-size: 29px;
	font-family: 'Questrial', sans-serif;
	color: #1B003E;
}
h2,
.h2,
h2 a,
.h2 a,
.post h2,
.post h2 a,
.entry-content h2,
.entry-content h2 a {
	font-size: 2.9rem;
  	font-size: 29px;
	font-family: 'Questrial', sans-serif;
	color: #F15A24;
}

h3,
.h3,
.post h3,
.entry-content h3  {
	font-size: 2.5rem;
  	font-size: 25px;
	font-family: 'Questrial', sans-serif;
	color: #4D4D4D;
}
h4,
.h4,
.post h4,
.entry-content h4  {
	font-size: 2.2rem;
	font-size: 22px;
	font-family: 'Questrial', sans-serif;
	color: #4D4D4D;
}
h5,
.h5,
.post h5,
.entry-content h5  {
	font-size: 2rem;
  	font-size: 20px;
	font-family: 'Questrial', sans-serif;
	color: #4D4D4D;
}

h6,
.h6,
.post h6,
.entry-content h6  {
	font-size: 1.8rem;
  	font-size: 18px;
	font-family: 'Questrial', sans-serif;
	color: #4D4D4D;
}

.title h1 a {
	width: 100%;
	display: block;
	color: #1B003E;
	clear: both;
	float: left;
	margin-top: -3em;
	padding-bottom: 1.5em;
}

p { font-family: 'Questrial', sans-serif; color: #4D4D4D; padding-bottom: 6px; margin-bottom: 1.5em; }

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	font-family: 'Questrial', sans-serif;
	font-weight: normal;
	font-size: 1.05em;
	color: #4D4D4D;
	padding-top: 3em;
	padding-right: 17em;
	padding-bottom: 1em;
	padding-left: 3em;
	margin: 0 1.5em 3em 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.post-edit-link {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.75em;
}

.entry-date {
	font-size: 1em;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	color: #666666;
	margin-top: 1em;
}

.entry-meta {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #a1c2bb;
	margin-top: 40px;
	padding-top: 10px;
	font-weight: 700;
	font-size: 0.85em;
}

.entry-meta a {color:#5fa9b1;}
.entry-meta a:hover {color:#0f7391;}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Containers
--------------------------------------------------------------*/

.content-area {padding-top: 1.5em; padding-bottom: 1.5em;}

/* format body text into columns */
@media only screen and (min-width: 481px) {
.content-area {
	-moz-column-count:2; /* Firefox */
	-webkit-column-count:2; /* Safari and Chrome */
	column-count:2;
	-moz-column-gap:40px; /* Firefox */
	-webkit-column-gap:40px; /* Safari and Chrome */
	column-gap:40px;
	-moz-column-rule:1px outset #dedede; /* Firefox */
	-webkit-column-rule:1px outset #dedede; /* Safari and Chrome */
	column-rule:1px outset #dedede;
}
}

@media only screen and (min-width: 769px) {
.content-area {
	-moz-column-count:3; /* Firefox */
	-webkit-column-count:3; /* Safari and Chrome */
	column-count:3;
	-moz-column-gap:40px; /* Firefox */
	-webkit-column-gap:40px; /* Safari and Chrome */
	column-gap:40px;
	-moz-column-rule:1px outset #dedede; /* Firefox */
	-webkit-column-rule:1px outset #dedede; /* Safari and Chrome */
	column-rule:1px outset #dedede;
}
}

/*--------------------------------------------------------------
## Pages
--------------------------------------------------------------*/
/*Page with sidebar*/
.left-content-area {
	display: block;
	clear: both;
	float: left;
	width: 100%;
}

#sidebar {
	display: block;
	clear: both;
	float: left;
	width: 100%;
	padding-left: 2%;
	margin-top: 5%;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #abadd3;
}

@media only screen and (min-width: 769px) {
.left-content-area {
	display: block;
	clear: none;
	width: 70%;
}

#sidebar {
	display: block;
	clear: none;
	width: 30%;
}
}

/*Home Page*/

PageSectionTitle  {
	text-align: center;
	clear: both;
	width: 100%;
	border-bottom:1px solid #1B003E; /* set horizontal rule */
	margin-top: -20px;
	margin-bottom: 20px;
}
.PageSectionTitle h2, .PageSectionTitle h2 a {
	display: inline-block; /* display & position to offset text on top of rule */
	position: relative;
	top: 32px;
	font-size: 1.5em;
	font-family: 'Questrial', sans-serif;
	font-weight: normal;
	padding: 0 10px;
	color: #F15A24; /* add background to hide rule behind header */
	background-color: #fff;
}

#SiteInformation h2 {font-size: 1.5em; color:#313188; font-weight:normal;}
#SiteInformation h3 {font-size: 1.2em; color:#313188; font-weight:normal; margin-top: 0; line-height: 0;}

@media screen and (max-width: 965px) {
	#SiteInformation h2 {font-size: 1em; color:#313188; font-weight:normal;}
	#SiteInformation h3 {font-size: 1em; color:#313188; font-weight:normal; margin-top: 0; line-height: 0;}
}

/*Latest News*/

.recent-posts-container {
	display: inline-block;
	background-image: none;
	height: auto;
	width: 100%;
}

.recent {display: block; float: left; clear: none; text-align:center; border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #4D4D4D; }
	
.recent .entry-date { font-family: 'Questrial', sans-serif; font-weight: normal; font-size: 0.9em; color: #8E8E8E; }

.recent-post-title h2, .recent-post-title h2 a {color: #1B003E; font-size: 1.1em; margin-bottom:0;}

@media only screen and (min-width: 769px) {
	

.recent-posts-container {
	display: inline-block;
	width: 100%;
	background-image: url(i/recent_news_hr.png);
	background-repeat: repeat-y;
	height: auto;
	background-position: 50%;
}
.recent { width: 44%; padding: 0 3%; border: 0;}
.recent-post-title h2, .recent-post-title h2 a {font-size: 1.1em;}
}

@media only screen and (min-width: 1000px) {
	.recent-posts-container {
	display: inline-block;
	width: 90%;
	padding: 0 5%;
}
}


/*Single Product Page*/

.wpsc-breadcrumbs 
{
	padding: 5px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #abadd3;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #abadd3;}
	
.productcol {
	display: block;
	clear: none;
	float: left;
	width: 100%;
}
.imagecol {
	display: block;
	clear: none;
	float: right;
	width:100%;
	text-align: left;
}
@media only screen and (min-width: 769px) {
	.productcol {
	display: block;
	clear: none;
	float: left;
	width: 35%;
}
.imagecol {
	display: block;
	clear: none;
	float: right;
	width: 65%;
	text-align: right;
}
}

.product_description p {
	font-size: 1.1em;
}

fieldset.quantity legend {
	color: #1B003E;
}

.single_product_display .wpsc_product_price p, #content .single_product_display .wpsc_product_price p {
	font-size: 1.6em;
}

.currentprice {
	font-size: 1.4em;
	color: #1B003E;
}

.GST {
	font-size: 0.85em;
}

.oldprice {
	font-size: 1em;
}

.wpsc_buy_button_container {
	padding-top: 15px;
}

form.product_form .wpsc_buy_button {
	width: 190px;
	height: 81px;
	border: none;
	background-color: #f7931e;
	color: #fff;
}

/*WPSC Default styles */
.single_product_display form.product_form .wpsc_buy_button_container,
#content .single_product_display form.product_form .wpsc_buy_button_container{
	text-align: left;
}

/*.imagecol {
	margin-right:5px;
/* 	width:25%; *//*
	float:left;	
	position:relative;
} */

.single_product_display .wpsc_product_price {
	display: inline-block;
	width: 100%;
	margin-bottom: 10px;
	padding-top: 15px;
	text-transform: uppercase;
	font-family: 'Questrial', Arial, Helvetica, sans-serif
}

.single_product_display form.product_form input, #content .single_product_display form.product_form input {
	padding:2px;
	margin:0;
	line-height:1.2em;
	font-size:14px;
}

/*Grid View Product Page*/
.entry-content h2.producttitle a {
	color: #1B003E;
	text-align: left;
	font-size: 0.65em;
}

.product_grid_display .product_grid_item {
	width: 90%;
	margin:5px;
	-moz-box-shadow:1px 1px 8px rgba(0,0,0,0.3);
	-webkit-box-shadow:1px 1px 8px rgba(0,0,0,0.3);
	*border:1px solid #ccc;
	border:1px solid #ccc\9;
	padding:10px;
	float:left;
	clear:both;
	text-align:left;
	position:relative;
}
@media only screen and (min-width: 769px) {
.product_grid_display .product_grid_item {
	width: 28%;
	margin:5px;
	-moz-box-shadow:1px 1px 8px rgba(0,0,0,0.3);
	-webkit-box-shadow:1px 1px 8px rgba(0,0,0,0.3);
	*border:1px solid #ccc;
	border:1px solid #ccc\9;
	padding:10px;
	float:left;
	clear: none;
	text-align:left;
	position:relative;
}
}

/*Checkout Page*/
tr .wpsc_shipping_info {margin-bottom: 15px;}


/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

#CustomerLinks a, #Search a {text-decoration: none; color: #1B003E; }
#CustomerLinks a:hover, #Search a:hover {text-decoration: underline; }

/*--------------------------------------------------------------
## Sidebar
--------------------------------------------------------------*/

#sidebar h1 {
	font-size: 1.25em;
	font-family: 'Questrial', Arial, Helvetica, sans-serif;
	background-color: #FCF6F5;
	padding-bottom: 10px;
	padding-top: 10px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: F15A24;
	border-bottom-color: #f15a24;
	color: #F15A24;
}

#sidebar ul {
	padding-left: 0;
	margin-left: 0;
	list-style-type: none;
}

#sidebar ul li {
	display: inline-block;
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #b3b3b3;
}

#sidebar ul li a {
	color: #4D4D4D;
	font-family:'Questrial', Arial, Helvetica, sans-serif;
	text-decoration: none; 
	font-size: 1.1em;
}

#sidebar ul li a:hover {
	color: #2E3192; 
}

#sidebar ul li.wpsc-current-cat a {
	color: #2E3192; 
	font-weight: 700;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.copyright {display:block; color: #fff; font-size: 0.8em; font-family:; width: 100%; text-transform: uppercase;}
.copyright_symbol {display: inline; float: left; clear:none;}
.copyright_widget {display: inline; float: left; clear:none;}
.credit {width: 100%; float: right; clear:both; color: #666666; font-size: 0.7em; text-align:right;}
.credit a {color: #666666; text-decoration: none;}

/*Footer Menu*/

#footer-menu { padding-left: 0; }

#footer-menu {
	clear: none;
	float: left;
	width: 100%;
	text-align: left;
	padding-bottom: 5px;
}

#footer-menu /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
{
	list-style-type: none;
	font-size: 100%;
	cursor: default;
	float: left;
}

#footer-menu li {
	display: inline-block;
}
#footer-menu li a {
	color: #fff;
	height: 41px;
	display: block;
	cursor: pointer;
	font-family: 'Questrial', Helvetica, sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 0.85em;
	letter-spacing: 1px;
	color: #fff;
	line-height: 2.4em;
	padding: 0 1.1em 0 1.1em;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #F15A24; text-decoration: underline;
}

a:visited {
	color: #F15A24;
}

a:hover,
a:focus,
a:active {
	color: #a93e18; text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	list-style-type: none;
	font-size: 100%;
	cursor: default;
	width: 100%;
	float: left;
}

.main-navigation ul {
	margin: 0;
}

.main-navigation li {
	display: inline-block;
	float: left;
	text-align: left;
	position: relative; /* required to set drop down menus */
	*vertical-align: middle; /*IE7*/
	*display:inline; /*IE7*/
    *zoom:1; /*IE7*/
}

.main-navigation a {
	color: #fff;
	height: 41px;
	display: block;
	cursor: pointer;
	font-family: 'Questrial', Helvetica, sans-serif;
	text-decoration: none;
	font-weight: normal;
	font-size: 1.2em;
	letter-spacing: 1px;
	color: #fff;
	line-height: 2.4em;
	padding: 0 1.2em 0 1.2em;
}

.main-navigation ul li a:hover, .main-navigation ul li a:focus {
	color: #fff;
	background-color: #585aa8;
}


.main-navigation ul ul {
	background:#585AA8; /* Adding a background makes the dropdown work properly in IE7+ */
	background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	float: left;
	list-style-type:none;
	position: absolute;
	left: -999em;
	z-index: 99999;
	padding-left: 0;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li {
	width: 100%;
	display: block;
}

.main-navigation ul li ul li:hover {
	background-color: #b7b7d5;
}

.main-navigation ul ul a {
	white-space:nowrap; 
	width: auto;
	font-size: 0.9em;
	margin-top: 1em;
	border-bottom: 1px dotted #fff;
}

.main-navigation ul ul li {
	padding-top:2px; 
	float:none;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
	background-color:;
	text-decoration:none;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
	color: #ffffff; 
	text-decoration: none;
	background-position: 0 0; 
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
	color: #fff;
	background-color: #b7b7d5;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: 0;
	position: absolute;
	z-index: 1000;
	margin-left: 0px;
	background:#585AA8;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

/* Small menu. */
.menu-toggle {
	display: none;
}

@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
		width: 100%;
		padding: 0.35em;
		font-weight: bold;
	}
	
	.menu-toggle {
		font-size: 2.35em;
	}

	.main-navigation ul {
		display: none;
	}
	.main-navigation li {
	display: block;
	width: 100%;
	}
	.main-navigation li a {
	font-size: 1em;
	padding: 0;
	height: auto;
	border-bottom: 1px dotted #fff;
	line-height: 2em;
	}
	.main-navigation li.current-menu-item a, .main-navigation li.current-menu-parent a, .main-navigation li.current_page_item a 
	{ border-bottom: 1px dotted #fff; }
	
	.main-navigation ul li ul {
	display: block;
	background-color: #585AA8;
	list-style-type:none;
	position: static;
	float: none;
	margin-left: 0;
	left: 0 px;
	height: auto;
	}
	.main-navigation ul li:hover ul {
	position: static;
	left: 0;
	z-index: 1000;
	margin-left: 0;
	height: auto;
	width: 100%;
	padding: 0;
	text-align: center;
	}
	.main-navigation ul li ul li {
		display: block;
		width: 100%;
		padding-top:2px; 
		float: none;
		text-align: center;
		font-weight: normal;
		font-size: 0.9em;
		text-align: left;
	}
	.main-navigation ul li ul li a {
		width: 100%;
		color: #fff;
		margin-top: 0;
		padding-left: 10px;
	}
	.main-navigation ul li ul li a:hover {
		background-color: #b7b7d5;
	}
	
	.main-navigation ul li ul a {
    white-space: normal;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* force WordPress post images to be responsive */
.entry-content img,
.entry-content img.product_image,
.comment-content img,
.widget img {
    max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}

img[class*="align"],
img[class*="wp-image-"] {
    height: auto; /* Make sure images with WordPress-added height and width >attributes are scaled correctly */
}
img.size-full {
    max-width: 97.5%;
    width: auto; /* Prevent stretching of full-size images with height and >>width attributes in IE8 */
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
	font-size: 0.85em;
	font-weight: 700;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	ax-width: 97.5%;
	height: auto;
	width: auto9; /* ie8 */
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*********************
# GENERAL LAYOUT MEDIA QUERIES
*********************/

/* Mobile Layout: 480px and below. */

.gridContainer {
	margin-left: auto;
	margin-right: auto;
	width: 87.36%;
	padding-left: 1.82%;
	padding-right: 1.82%;
}
.wrap{
	margin-left: auto;
	margin-right: auto;
	width: 87.36%;
	padding-left: 1.82%;
	padding-right: 1.82%;
}
#page {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#masthead{
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	background-image: url(i/QPAA_header_bgd_m.gif);
	background-repeat: repeat-x;
	height: 245px;
}
#InnerHeader {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	background-color: #FFF;
	height: 245px;
	-moz-box-shadow: 0px 0px 12px 9px #1c184a;
	-webkit-box-shadow: 0px 0px 12px 9px #1c184a;
	box-shadow: 0px 0px 12px 9px #1c184a;
}
#site-navigation {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	background-color: #1b003e;
	height: auto;
	min-height: 50px;
	text-align: center;
}
#content {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#colophon {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	background-color: #1b003e;
	height: 165px;
	background-image: url(i/QPAA_footer_bgd.gif);
	background-repeat: repeat-x;
}
#QPAA_logo {
	clear: both;
	float: left;
	margin-left: 0;
	width: 50%;
	display: block;
	height: 85px;
}
#HeaderWidgets {
	clear: none;
	float: right;
	margin-left: 0%;
	width: 50%;
	display: block;
	background-color: #b7b7d5;
	padding-top: 15px;
	height: auto;
}
#CustomerLinks {
	clear: both;
	float: left;
	width: 100%;
	display: block;
	margin-left: 0;
	background-color: #b7b7d5;
	height: 50px;
	text-align: center;
}
#Search {
	clear: both;
	float: left;
	margin-left: 0;
	margin-top: 10px;
	width: 100%;
	display: block;
	height: 50px;
	text-align: center;
}
#Social {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	height: 35px;
	text-align: center;
}
#SiteInformation {
	clear: both;
	float: left;
	margin-left: 5%;
	width: 95%;
	display: block;
	height: 110px;
}
#livesearch {
	clear: both;
	float: left;
	margin-bottom: 15%;
	padding-bottom: 5%;
	width: 100%;
	display: block;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #d6d6d6;
	border-bottom-color: #d6d6d6;
}

/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 481px) {
.gridContainer {
	width: 90.675%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
}
.wrap {
	width: 90.675%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
}
#page {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#masthead {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	height: 165px;
}
#InnerHeader {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	height: 142px;
}
#site-navigation {
	clear: both;
	float: left;
	display: block;
	margin-left: 0;
	width: 100%;
}
#content {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#colophon {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#QPAA_logo {
	clear: both;
	float: left;
	margin-left: 0;
	width: 23.0769%;
	display: block;
	height: 142px;
}
#HeaderWidgets {
	clear: none;
	float: right;
	margin-left: 2.5641%;
	width: 74.3589%;
	display: block;
	padding-top: 15px;
}
.textwidget {font-size: 13px;}
#CustomerLinks {
	clear: both;
	float: left;
	width: 45%;
	display: block;
	height: auto;
}
#Search {
	clear: none;
	float: left;
	margin-left: 2.5%;
	margin-top: 0;
	width: 25%;
	display: block;
	height: 32px;
}
#Social {
	clear: none;
	float: left;
	margin-left: 2.5%;
	width: 20%;
	display: block;
	height: 32px;
}
#SiteInformation {
	clear: none;
	float: left;
	margin-left: 2.5641%;
	width: 74.3589%;
	display: block;
	height: 95px;
}
}

/* Desktop Layout: 869px to a max of 960px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 869px) {
.gridContainer {
	width: 88.2%;
	max-width: 960px;
	padding-left: 0.9%;
	padding-right: 0.9%;
	margin: auto;
}
.wrap {
	width: 88.2%;
	max-width: 960px;
	padding-left: 0.9%;
	padding-right: 0.9%;
	margin: auto;
}
#page {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#masthead {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	height: 142px;
}
#InnerHeader {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	height: 142px;
}
#site-navigation {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
}
#content {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#colophon {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#QPAA_logo {
	clear: both;
	float: left;
	margin-left: 0;
	width: 18.3673%;
	display: block;
	height: 142px;
}
#HeaderWidgets {
	clear: none;
	float: right;
	margin-left: 2.0408%;
	width: 79.5918%;
	display: block;
	padding-top: 15px;
}
.textwidget {font-size: 16px;}
#CustomerLinks {
	clear: both;
	float: left;
	width: 48.9795%;
	display: block;
	height: 32px;
}
#Search {
	clear: none;
	float: left;
	margin-left: 2.0408%;
	margin-top: 0;
	width: 28.5714%;
	display: block;
	height: 32px;
}
#Social {
	clear: none;
	float: left;
	margin-left: 2.0408%;
	width: 18.3673%;
	display: block;
	height: 32px;
}
#SiteInformation {
	clear: none;
	float: left;
	margin-left: 2.0408%;
	width: 79.5918%;
	display: block;
	height: 95px;
}
}

