/* resets */
body, h1, ul, li, a {
	padding: 0;
	margin: 0;
	text-decoration: none;
	list-style: none;
	border: 0;
	outline: 0;
}

/* shared tag overrides */
body {
	background-color: #000;
}
h1, h2, h3 {
	text-indent: -9999px;
}
li {
	padding: 1px;
}

/* shared container */
#container {
	width: 980px;
	height: 736px;
}

/* shared navigation */
#nav {
	position: absolute;
	top: 187px;
	left: 168px;
}
#nav .btmnav {
	position: relative;
	top: 220px;
	left: 23px;
}
#nav ul li {
	margin: 0 20px;
}
#nav span.selected {
	font-weight: bold;
}

/* shared main content */
ul li a, #main a {
	text-indent: -9999px;
}

/*clean this up later, does not work as a list for some stupid reason */
body.aboutus #container #main {
	margin-left: 375px;
	margin-top: 109px;
}

body.calendar #container #main {
	margin-left: 375px;
	margin-top: 109px;
}

body.ourstore #container #main {
	margin-left: 375px;
	margin-top: 109px;
}

body.ourgames #container #main {
	margin-left: 375px;
	margin-top: 109px;
}

body.contact #container #main {
	margin-left: 375px;
	margin-top: 109px;
}

#link_home, #link_home a {
	width: 50px;
	height: 20px;
	display: block;
}
#link_about, #link_about a {
	width: 78px;
	height: 20px;
	display: block;
}
#link_about {
	margin-left: 10px;
}
#link_store, #link_store a {
	width: 91px;
	height: 15px;
	display: block;
}
#link_store {
	margin-left: 14px;
}
#link_games, #link_games a {
	width: 95px;
	height: 16px;
	display: block;
}
#link_games {
	margin-left: 22px;
}
#link_cal, #link_cal a {
	width: 88px;
	height: 18px;
	display: block;
}
#link_cal {
	margin-left: 28px;
}
#link_estore, #link_estore a {
	width: 68px;
	height: 17px;
	display: block;
}
#link_estore {
	margin-left: 35px;
}
#link_contact, #link_contact a {
	width: 100px;
	height: 17px;
	display: block;
}
#link_contact {
	margin-left: 31px;
}
#store_family, #store_family a {
	width: 127px;
	height: 25px;
	display: block;
}
#store_hobby, #store_hobby a {
	width: 127px;
	height: 26px;
	display: block;
}
#store_kids, #store_kids a {
	width: 127px;
	height: 26px;
	display: block;
}
#store_puzzles, #store_puzzles a {
	width: 127px;
	height: 26px;
	display: block;
}
#nav .btmnav li {
	margin-bottom: 2px;
}
#gamestorelink {
	position: relative;
	left: 227px;
	display: block;
	width: 334px;
	height: 127px;
}
#savagemillimglink {
	position: absolute;
	left: 661px;
	top: 547px;
	display: block;
	width: 121px;
	height: 117px;
}
#main p {
	padding: 10px;
	margin-top: 20px;
	width: 258px;
}

/* store pages */
body#store {
	background: url('https://www361.safesecureweb.com/familygamest/i/calendar_bg.png') repeat-y;
	
}
body#store #gamestorelink {
display:block;
height:127px;
left:612px;
position:absolute;
text-indent:-9999px;
top:139px;
width:334px;
}
body#store #container #main h1,
body#store #container #main h2,
body#store #container #main h3,
body#store #container #main td a {
	text-indent: 0;
	font-family: "Trebuchet MS", sans-serif;
}

body#store #container {
	background: #000 url('https://www361.safesecureweb.com/familygamest/i/shoponline.png') no-repeat;
}

body#store #container #main {
	position: absolute;
	left: 34px;
	top: 265px;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 14px;
	height:150px;
	width:600px;
}

body#store #container #main td p.description {
	width: 375px;
}

body#store #container #nav p {
	margin-left: 20px;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 14px;
}
body#store #container #main ul {
	float: left;
	width: 44em;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 14px;
}
body#store #container #main li {
	float: left;
	width: 12em;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 14px;
}
body#store #container #main ul li {
	margin: 20px 0;
}

body#store #container #main.search {
	top: 280px;
}
body#store ul li a {
	text-indent: 0;
}
body#store #container div#main.basket {
	top: 300px;
	width: 600px;
	font-size: 13pt;
}
body#store #container div#main.product {
	top: 280px;
	width: 600px;
}
body#store #container div#main.checkout {
	top: 275px;
	width: 600px;
}


body #container #nav {
	top: 186px;
	left: 185px;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 14px;
}

#main {
	margin-left: 336px;
	margin-top: 0px;
	height: 169px;
}

/* index.html */
body.home #container #nav {
	top: 186px;
	left: 173px;
}
body.home #container #main {
	margin-left: 336px;
	margin-top: 132px;
	height: 169px;
}
body.home #container #main p.imgheading {
	position: absolute;
	left: 786px;	
	top: 218px;
	width: 123px;
	line-height: 1.2em;
}
p.imgheading a em {
	text-decoration: underline;
	font-style: normal;
}
body.home #container #main p.imgheading a {
	color: #ed1c24;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 12px;
	text-indent: 0px;
}
body.home #main h3 {
	text-indent: 0px;
	position: absolute;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 16px;
	top: 315px;
	margin-left: -43px;
}
body.home #main #estorelink {
	position: absolute;
	left: 250px;
	top: 679px;
	width: 242px;
	height: 28px;
}
body.home #main #savagemillimglink {
	left: 794px;
	top: 139px;
}
body.home #container {
	background: #000 url('../i/home.png') no-repeat;
}
body.home div#main a#savagemilllink {
	left: 827px;
	top: 146px;
}
#main ul, #main ul li, #main ul li a {
	display: block;
}
body.home #nav li#link_home {
	text-indent: -9999px;
}
#main ul.familygames {
	position: absolute;
	left: 218px;
	top: 437px;
	width: 150px;
	height: 117px;
}
ul.familygames li#family_board, ul.familygames li#family_board a {
	height: 29px;
	margin-bottom: 2px;
}
ul.familygames li#family_card, ul.familygames li#family_card a,
ul.familygames li#family_classics, ul.familygames li#family_classics a,
ul.familygames li#family_travel, ul.familygames li#family_travel a,
ul.familygames li#family_dice, ul.familygames li#family_dice a,
ul.familygames li#family_party, ul.familygames li#family_party a {
	height: 31px;
	margin-bottom: 2px;
}

#main ul.hobbygames {
	position: absolute;
	left: 398px;
	top: 437px;
	width: 151px;
	height: 117px;
}
ul.hobbygames li#hobby_collect,  ul.hobbygames li#hobby_collect a {
	height: 29px;
	margin-bottom: 2px;
}
ul.hobbygames li#hobby_const, ul.hobbygames li#hobby_const a,
ul.hobbygames li#hobby_mini, ul.hobbygames li#hobby_mini a,
ul.hobbygames li#hobby_role, ul.hobbygames li#hobby_role a,
ul.hobbygames li#hobby_access, ul.hobbygames li#hobby_access a {
	height: 31px;
	margin-bottom: 2px;
}

#main ul.kidsgames {
	position: absolute;
	left: 578px;
	top: 437px;
	width: 151px;
	height: 117px;
}
ul.kidsgames li#kids_games, li#kids_games a {
	height: 29px;
	margin-bottom: 2px;
}
ul.kidsgames li#kids_puzzles, li#kids_puzzles a {
	height: 31px;
	margin-bottom: 2px;
}

#main ul.puzzles {
	position: absolute;
	left: 759px;
	top: 437px;
	width: 152px;
	height: 117px;
}
ul.puzzles li#puzzles_jigsaw, li#puzzles_jigsaw a {
	height: 29px;
	margin-bottom: 2px;
}
ul.puzzles li#puzzles_access, li#puzzles_access a, 
ul.puzzles li#puzzles_brain, li#puzzles_brain a {
	height: 31px;
	margin-bottom: 2px;
}

/* about_us.html */
body.aboutus #container {
	background: #000 url('../i/aboutus.png') no-repeat;
}
body.aboutus #nav li#link_about {
	text-indent: -9999px;
}
body.aboutus #container #main p.copy{
	font-family: "Trebuchet MS", sans-serif;
	font-size: 14px;
	color: #000000;
	margin-top:10px;
	padding:10px;
	width:237px;
}


/* contact_us.html */
body.contact #container {
	background: #000 url('../i/contactus.png') no-repeat;
}
body.contact #nav li#link_contact {
	text-indent: -9999px;
}
body.contact #container #main p.copy{
	font-family: "Trebuchet MS", sans-serif;
	font-size: 14px;
	color: #000000;
	text-align: center;
	margin-top:10px;
	margin-bottom: 18px;
	padding:10px;
	width:237px;
}

body.contact #main a#gmapslink {
	display: block;
	position: absolute;
	width: 208px;
	left: 666px;
	top: 280px;
	height: 178px;
}

/* our_games.html */
body.ourgames #container {
	background: #000 url('../i/ourgames.png') no-repeat;
}
body.ourgames #nav li#link_games {
	text-indent: -9999px;
}
body.ourgames #main p {
	margin-top: 242px;
}
body.ourgames #container #main p.copy{
	font-family: "Trebuchet MS", sans-serif;
	font-size: 14px;
	color: #000000;
	margin-top:246px;
	padding:10px;
	width:237px;
}

/* our_store.html */
body.ourstore #container {
	background: #000 url('../i/ourstore.png') no-repeat;
}
body.ourstore #nav li#link_store {
	text-indent: -9999px;
}
body.ourstore #main #savagemillimglink {
	width: 128px;
	left: 664px;
	top: 576px;
}
body.ourstore #container #main p.copy{
	font-family: "Trebuchet MS", sans-serif;
	font-size: 14px;
	color: #000000;
	margin-top:25px;
	padding:10px;
	width:237px;
}

/* calendar.html */

body.calendar {
	background: url('../i/calendar_bg.png') repeat-y;
}

body.calendar #nav li#link_cal {
	text-indent: -9999px;
}
body.calendar #container {
	background: url('../i/calendar.png') no-repeat;
}
body.calendar #nav li#link_store {
	text-indent: -9999px;
}
body.calendar #container #main div.calendar {
	margin-top: 29px;
	margin-left: 21px;
	padding-bottom: 50px;
}

table.tableListings {
	border:1px solid #006699;
	margin-top: 20px;
	padding:0;
	width:550px;
}


/***** DEBUG ******/
/*
li {
	border: solid #f00 1px;
	padding: 0px;
}
a {
	border: solid #f00 1px;
	padding: 0px;
}
*/
