/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/

/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */

html,
body
{
	height: 100%;
}

body {
	background: #262627 url(textures/layout/canvas.png) repeat fixed;
	overflow-x: hidden;
}

@font-face
{
	font-family: 'AllerBold';
	src: url('type/aller-webfont.eot');
	src: url('type/aller-webfont.eot?#iefix') format('embedded-opentype'),
		 url('type/aller-webfont.woff') format('woff'),
		 url('type/aller-webfont.ttf') format('truetype'),
		 url('type/aller-webfont.svg#allerbold') format('svg');
	font-weight: normal;
	font-style: normal;
}

div#header {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	float: left;
	padding: 0;
	width: 270px;
	background: #000;
	height: 100%;
}

div#header h1 {
	display: block;
	margin: 0;
	position: relative;
	z-index: 100;
	margin: 40px 0 0 30px;
}

div#header h1 a {
	background: transparent url(textures/layout/jack-logo.png) center top no-repeat scroll;
	background-size: 100% auto;
	display: block;
	width: 192px;
	height: 134px;
	text-indent: -9999px;
}

div#header nav {
	display: block;
	position: relative;
	text-align: center;
	width: 244px;
}

div#header nav ul {
	margin: 35px 0 0 8px;
	list-style: none;
}

div#header nav ul li {
	list-style: none;
	margin: 0;
	padding: 0;
}

div#header nav ul li a {
	display: block;
	width: 244px;
	height: 55px;
	text-indent: -9999px;
}

div#header nav ul li.promo a {
	background: url(textures/sprite/jd-promo-nav.gif) 0 0 no-repeat;
}

div#header nav ul li.store a {
	background: url(textures/sprite/jd-promo-nav.gif) 0 -55px no-repeat;
}

div#header nav ul li.site a {
	height: 59px;
	background: url(textures/sprite/jd-promo-nav.gif) 0 -110px no-repeat;
}

div#header nav ul li.promo a:hover {
	background: url(textures/sprite/jd-promo-nav.gif) 0 -169px no-repeat;
}

div#header nav ul li.store a:hover {
	background: url(textures/sprite/jd-promo-nav.gif) 0 -224px no-repeat;
}

div#header nav ul li.site a:hover {
	background: url(textures/sprite/jd-promo-nav.gif) 0 -279px no-repeat;
}


div.extra {
	width: 198px;
	height: 78px;
	background: url(textures/sprite/extra.png) top no-repeat;
	margin: 50px 0 0 30px;
}

div.extra h2 {
	display: none;
}

div.extra p {
	text-align: center;
	padding-top: 24px;
}

div.extra p a {
	margin: 0 5px;
}

.main-content {
	float: left;
	width: 680px;
	margin: 40px 0 0 20px;
	padding-left: 280px;
}

/* ___________________________________________________________________________________
// Footer.
*/

div#footer
{
	clear: both;
	padding-top: 32px;
	background: url(textures/layout/footer.png) no-repeat center top;
	font-size: 10px;
	font-family: Arial;
	color: #999;
	text-align: center;
}

div#footer h3
{
	color: #FFF;
	text-transform: uppercase;
	font-size: 11px;
	margin-bottom: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}

div#footer p
{
	margin-bottom: 12px;
	line-height: 14px;
}

div#footer p a
{
	color: #999;
}

div#footer p a:hover
{
	color: #FFF;
}

div#footer ul
{
	list-style: none;
	display: inline-block;
	padding-top: 10px;
}

div#footer ul li
{
	display: inline;
	color: #614B31;
	font-family: 'AllerBold';
	font-size: 12px;
}

div#footer ul li a
{
	color: #614B31;
	text-decoration: none;
	text-transform: uppercase;
	display: inline-block;
	padding: 0 8px;
}

div#footer ul li a:hover
{
	color: #7C613F;
}

div.extra {
	width: 198px;
	height: 78px;
	background: url(../images/bg/extra.png) top no-repeat;
	margin: 50px 0 0 30px;
}

div.extra h2 {
	display: none;
}

div.extra p {
	text-align: center;
	padding-top: 24px;
}

div.extra p a {
	margin: 0 5px;
}

/* #Page Styles
================================================== */

h2.all-promotions {
	text-indent: -9999px;
	background: url(../images/text/all-promotions.png) no-repeat;
	width: 218px;
	height: 59px;
	margin: 0 0 80px 240px;
}

h2.store-locator {
	text-indent: -9999px;
	background: url(../images/text/store-locator.png) no-repeat;
	width: 354px;
	height: 59px;
	margin: 0 0 80px 190px;
}

ul#promotions {
}

ul#promotions > li {
	position: relative;
	float: left;
	margin: 12px 18px;
	width: 188px;
	height: 175px; 
}

/*ul#promotions > li:hover + li div.enter-info
{
	display: none !important;
}*/

ul#promotions li h3 {
	font-size: 12px;
	color: #DDDDDD;
	text-shadow: 2px 2px 2px #000000;
    filter: dropshadow(color=#000000, offx=2, offy=2);
	font-family:Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	background: url(../images/bg/h3.gif) right top no-repeat;
	font-weight: bold;
	padding: 12px 25px 0 0;
	line-height: 16px;
	height: 35px;
}

ul#promotions li h3 span {
	display: block;
	width: 25px;
	height: 31px;
	float: left;
	padding-right: 10px;
}

ul#promotions li h3 a {
	color: #DDDDDD;
	text-decoration: none;
}

ul#promotions li h3 a:hover {
	color: #FFF;
	text-decoration: none;
}

ul#promotions li h3 span.no-1 {
	background: url(../images/text/no-1.png) no-repeat top left;
}
ul#promotions li h3 span.no-2 {
	background: url(../images/text/no-2.png) no-repeat top left;
}
ul#promotions li h3 span.no-3 {
	background: url(../images/text/no-3.png) no-repeat top left;
}
ul#promotions li h3 span.no-4 {
	background: url(../images/text/no-4.png) no-repeat top left;
}
ul#promotions li h3 span.no-5 {
	background: url(../images/text/no-5.png) no-repeat top left;
}
ul#promotions li h3 span.no-6 {
	background: url(../images/text/no-6.png) no-repeat top left;
}
ul#promotions li h3 span.no-7 {
	background: url(../images/text/no-7.png) no-repeat top left;
}
ul#promotions li h3 span.no-8 {
	background: url(../images/text/no-8.png) no-repeat top left;
}
ul#promotions li h3 span.no-9 {
	background: url(../images/text/no-9.png) no-repeat top left;
}

ul#promotions li img {
	border: 1px solid #555;
}

ul#promotions li div.info {
	position: absolute;
	z-index: 2;
}

ul#promotions li div.info + img
{
	position: absolute;
	left: 50%;
	top: 70%;
	margin-left: -105px;
	border: none;
	z-index: 10;
}

ul#promotions li div.winner {
	position: absolute;
	top: 80px;
	left: -13px;
}
ul#promotions li div.winner img {
	border: none;
}

ul#promotions li div.more-info {
	display: none;
	position: absolute;
	top: -20px;
	left: -20px;
	background: #000;
	border-top: 1px solid #555;
	width: 440px;
	z-index: 1;
}

ul#promotions li div.more-info.active {
	display: block;
	z-index: 3;
}

ul#promotions li div.info.active {
	z-index: 4;
}

ul#promotions li div.more-info .content {
	padding: 15px;
	float: right;
	width: 180px;
}
	
ul#promotions li div.more-info p {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 11px;
	color: #DDDDDD;
	line-height: 15px;
}

ul#promotions li div.more-info p a {
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	color: #DDDDDD;
	font-size: 10px;
}

ul#promotions li div.enter-info {
	display: none;
	position: absolute;
	top: 56px;
	left: 1px;
	z-index: 1;
}

ul#promotions li div.enter-info img {
	border: 0;
}

ul#promotions li div.enter-info.active {
	display: block;
	z-index: 4;
}


ul#promotions li div.more-info .btn-wrap p {
	margin: 0 0 12px 0;	
}

a.btn {
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	color: #FFFFFF;
	font-size: 10px;
	text-align: center;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 5px 8px;
	background: #515151; /* Old browsers */
	background: -moz-linear-gradient(top,  #515151 0%, #373737 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#515151), color-stop(100%,#373737)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #515151 0%,#373737 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #515151 0%,#373737 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #515151 0%,#373737 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #515151 0%,#373737 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#515151', endColorstr='#373737',GradientType=0 ); /* IE6-9 */
}

a.btn:hover {
	background: #373737; /* Old browsers */
	background: -moz-linear-gradient(top,  #373737 0%, #515151 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#373737), color-stop(100%,#515151)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #373737 0%,#515151 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #373737 0%,#515151 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #373737 0%,#515151 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #373737 0%,#515151 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#373737', endColorstr='#515151',GradientType=0 ); /* IE6-9 */
}

p.btn-slider {
	position: absolute;
	width: 120px;
	margin: 0;
	right: 0px;
	bottom: 10px;
}

p.btn-slider a {
	color: #fff;
}

/* #Store Locator
================================================== */

div#map
{
	width: 680px;
	height: 500px;
}

div#store-locator 
{
	margin-bottom:20px;
}

div#criteria
{
	display: block;
	z-index: 50;
	padding: 1px 3px;
	margin: 2px;
	color: #C7C7C7;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 12px;
	float: right;
	height: 40px;
}

input#postcode
{
	width: 40px;
	margin-left: 5px;
}

input#postcode.bad
{
	border: 1px solid #AA0D11;
	color: #C22;
	background: #FFE1E2;
}

select#promo
{
	width: 180px;
}

input[type=text],
select
{
	outline: none;
	border: 1px solid #fff;
	padding: 2px;
	color: #1B1B1D;
	font-family: Georgia, "Times New Roman", Times, serif;
	background-color: #D7D7D7;
	border-radius: 2px;
}

input[type=text]:focus,
select:focus
{
	color: #1B1B1D;
}

input#postcode
{
	background: url(../images/bg/postcode.png) no-repeat transparent;
	border: none;
	height: 25px;
	width: 48px;
	padding: 0 5px;
}

input[type=submit]
{
	background: url(../images/bg/btn-go.png) no-repeat transparent;
	width: 35px;
	height: 27px;
	text-indent: -9999px;
	padding: 0;
	border: none;
	padding: 0;
	cursor: pointer;
	margin-right: 10px;
}

div.info
{
	font-size: 11px;
	color: #111;
	overflow: hidden;
}

div.info h1
{
	font-size: 13px;
	line-height: 19px;
	margin-bottom: 10px;
}

div.info div.address
{
	color: #555;
}


.search-text, .search-field, .search-btn, .search-list
{
	float: left;
}

.search-text
{
	padding: 7px 6px 0 0;
}

.search-field
{
	margin: 1px -2px 0 0;
}





/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {
			div#header div.inner {
				width: 244px;
				margin: 0 auto;
				position: static;	
			}
			div#header
			{
				width: 100%;
				height: 540px;
				position: static;
			}
			.main-content {
				width: 80%;
				margin: 0 auto;
				float: none;
				padding: 20px 0 40px 0;
				clear: both;
			}
			h2.all-promotions {
				background: url(../images/text/all-promotions.png) center no-repeat;
				width: 100%;
				margin: 40px 0 40px 0;
			}
			h2.store-locator {
				background: url(../images/text/store-locator.png) center no-repeat;
				width: 100%;
				margin: 40px 0 40px 0;
			}
			header {
				width: 260px;
			}
			header nav ul {
				margin: 45px 0 0 8px;
			}
			div.extra {
				margin: 50px 0 0 30px;
			}
			ul#promotions li {
				margin: 12px 15px;
			}
			div#map {
				width: 90%;
				margin: 0 auto;
			}
		}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
		}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
			ul#promotions li {
				margin: 12px 10px;
			}
		}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
			ul#promotions {
				width: 188px;
				margin: 0 auto;
			}
			ul#promotions li {
				margin: 12px 10px;
			}
			ul#promotions li div.more-info {
				width: 230px;
				height: auto;
				z-index: 1;
			}
			ul#promotions li div.more-info .content {
				padding: 15px;
				float: none;
				margin-top: 180px;
			}
		}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
			div.extra {
				margin: 0 auto;
				margin-top: 40px;
				width: 244px;
			}
			h2.all-promotions {
				background: url(../images/text/all-promotions.png) center no-repeat;
				width: 100%;
				margin: 40px 0 20px 0;
			}
			h2.store-locator {
				background: url(../images/text/store-locator.png) center no-repeat;
				width: 100%;
				margin: 40px 0 20px 0;
			}
			ul#promotions {
				width: 188px;
				margin: 0 auto;
			}
			ul#promotions li {
				margin: 12px 10px;
			}
			ul#promotions li div.more-info {
				width: 230px;
				height: auto;
				z-index: 1;
			}
			ul#promotions li div.more-info .content {
				padding: 15px;
				float: none;
				margin-top: 180px;
			}
			div#criteria {
				height: 65px;
			}
			.search-text
			{
				float: none;
				padding-bottom: 8px;
			}
			input#postcode {
				margin-left: 0;
			}
		}


/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/