/* Simple fluid media
   Note: Fluid media requires that you remove the media's height and width attributes from the HTML
   http://www.alistapart.com/articles/fluid-images/ 
*/
img, object, embed, video {
	max-width: 100%;
}
#homepage img {
	max-width: none;
}
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
	width:100%;
}
/* Mobile Layout: 480px and below. */
body {
	background-color: #E3E3AE;
	text-align: center;
	font-size: 62.5%;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
p {
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 1em;
	padding-left: 0px;
}

h1 {
	font-size: 1.6em;
	line-height: 1.6em;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 1em;
	padding-left: 0px;
}
h2 {
	font-size: 1.4em;
	line-height: 1.4em;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 1em;
	padding-left: 0px;
}
.containerwidth {
	max-width: 900px;
	width: 96%;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
	text-align: right;
	padding-top: 10px;
	padding-bottom: 10px;
}
#maincontent {
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	text-align: left;
	overflow: hidden;
	font-size: 1.3em;
	line-height: 1.5em;
}
#header {
	background-color: #003265;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	padding-top: 4px;
	padding-bottom: 4px;
}
#footer {
	font-family: Arial, Helvetica, sans-serif;
	color: #003366;
	clear: both;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #003168;
	font-size: 0.9em;
	padding-top: 15px;
	padding-left: 10px;
}
.title, h1 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 17px;
	font-weight: normal;
	padding-top: 1em;
	padding-right: 0px;
	padding-bottom: 1em;
	padding-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	font-size: 1.5em;
}
.content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 19px;
}

#col2 {
	width: 100%;
	padding-bottom: 10px;
}
.navigationHighlighted {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #003366;
    background-color: #E3E3AE;
}
.style4 {color: #003366}
.style5 {font-size: 12px; font-family: Arial, Helvetica, sans-serif;}
.style8 {font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #F7CF12; }
.button, .button a, .button a:hover {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #FFDB0D;
    text-decoration: none;
}

.errors {
    color: red;
}

.align-left img {
    float: left;
}

.align-right img {
    float: right;
}

.align-center img {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.event {
    background-color: #efefd1;
    padding: 10px;
    margin-bottom: 10px;
}

.event h3 {
	margin: 0;
	padding: 0;
	font-size: 1.2em;
	line-height: 1.5em;
}

.event a {
    color: black;
    float: right;
}

.product {
    display: inline;
    width: 215px;
    float: left;
    text-align: center;
    margin-bottom: 10px;
}

.product a, .product a:hover {
    color: black;
}

#price, #from_price {
    font-weight: bold;
}

#product_images {
    float: right;
    width: 50%;
    text-align: center;
}

#product_images #secondary_product_images {
    text-align: left;
    width: 300px;
    margin: 5px auto;
}

#product_images .primary-product-image {
    display: block;
}

#product_images .secondary-product-image {
    display: block-inline;
}

img {
    border: none;
}

#basket {
    width: 100%;
}

#basket td,
#basket th {
    padding: 3px;
}

#basket th {
    border-bottom: 1px solid black;
}

#nav ul {
	margin: 0;
	padding: 0;
	display: block;
	list-style: none;
	width: 100%;
	padding: 0px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #7F99B4;
	margin-top: 0px;
	margin-right: 20px;
	margin-bottom: 2em;
	margin-left: 0px;
}

#nav li {
  display: block;
  width: 100%;
}
#nav ul li {
	margin: 0px;
	padding: 0px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #7F99B4;
}
#nav ul li a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #003366;
    text-decoration: none;
	display: block;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 10px;
}
#nav ul li.currentpage a,
#nav ul li.currentpage ul li.currentpage a {
    font-weight: bold;
}

#nav ul li.currentpage li  {
	border-bottom-style: none;
}
#nav ul li.currentpage ul li a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #003366;
	text-decoration: none;
	padding-left: 20px;
}

#nav ul li.currentpage ul {
	border-top-style: none;
	margin-bottom: 0px;
	margin-right: 0px;
}
.js #nav {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}
#nav.opened {
  max-height: 9999px;
}
a#nav-toggle {
	display: block;
	background-color: #D6D5D6;
	padding: 8px;
	color: #003465;
	text-decoration: none;
  }
#nav-toggle {
	display: block;
  }

#adverts {
    float: right;
    width: 215px;
    margin-left: 10px;
}
#adverts .advert {
    background-color: #003366;
    margin-bottom: 10px;
    width: 215px;
}
#adverts .advert img {
    border: none;
    width: 215px;
    height: 75px;
}
#adverts .advert span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #FFDB0D;
    text-decoration: none;
    padding: 10px;
    line-height: 30px;
}
#adverts a,
#adverts a:hover,
#adverts a:active,
#adverts a:visited {
    text-decoration: none;
}

 #banners
{
	display: block;
	height: 130px;
    overflow: hidden;
    margin-bottom: 10px;
}
#banners img
{
width: 100%;
}
@media only screen and (min-width: 400px) {
 #banners
{
	height: 150px;
}
}
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
  
 .js #nav {
    position: relative;
  }
  .js #nav.closed {
    max-height: none;
  }
  #nav-toggle, a#nav-toggle {
	display: none;
  }
  #nav {
	float: left;
	width: 25%;
}
#nav ul {
	width:auto;
}
#col2 {
	float: left;
	width: 75%;
	padding-bottom: 10px;
}
.full_width #col2 {
    width: 100% !important;
}
 #banners
{
	height: 170px;
}
}
@media only screen and (min-width: 600px) {
  
  #banners
{
	height: 190px;
}
@media only screen and (min-width: 700px) {

    #banners {
        height: 210px;
    }
}}

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

  #banners
{
	height: 230px;
}
}
@media only screen and (min-width: 900px) {

  #banners
{
	height: 250px;
}
}

/* BLACK STYLES */
body.black {
    background-color: #EEE;
}
body.black .containerwidth {
    background-color: #CCC;
}
body.black #col2 {
    background-color: #000;
    color: #fff;
    padding: 10px;
}
body.black #footer {
    color: #000;
    border: none;
}
body.black #header {
    background-color: #000;
}
body.black #col2 a,
body.black #col2 a:hover {
    color: #fff;
}