/*EM calculator: http://riddle.pl/emcalc/
The base font for the site is 10px or x-small.  To calculate the padding, width, etc with ems, 
you have to base it off the font of that element, or the next containing element.
*/

/**BACKGROUND SPECIFIC STYLES FOR SPIDER**/

/**************
H O M E  P A G E  B A C K G R O U N D 

S E C T I O N - A

I M A G E - A 
*************/

body.front #container {
	background-image:url(../gfx/cricket-home-bg.jpg);
	min-height:631px;
}
body.not-front #container {
	background-image:url(../gfx/cricket-pattern-bg.jpg);
	background-repeat: repeat-y;
	background-position: top left;
	padding-bottom: 50px;
}
body.menu-path-75-127-127 #container {
	padding-bottom:0px;
}
body.ntype-page #container,
body.menu-path-4-10-125 #container/*Chatterbox forum*/  {
	background-image: none;
}



/**************
M E E T  E V E R Y B U G G Y

S E C T I O N - C

I M A G E - A 
*************/
body.section-meeteverybuggy #container{
	background-image:url(../gfx/cricket-meeteverybuggy-pattern-bg.jpg);
	background-repeat:no-repeat;
	height:141px;
}
body.ntype-flash-section-meeteverybuggy #container #header{
	background-image:url(../gfx/cricket-meeteverybuggy-flash-header-bg.jpg);
	background-repeat:no-repeat;
	height:141px;

}

/**************
C R I C K E T  L E A G U E 

S E C T I O N - D

I M A G E - A 
*************/
/** I M A G E - A **/


body.ntype-flash-section-cricketleague #container #header{
	background-image:url(../gfx/cricket-cricketleague-flash-header-bg.jpg);
	background-repeat:no-repeat;
	height:141px;
}

body.section-cricket-league #container{
	background-image:url(../gfx/cricket-league-pattern-bg.jpg);
	background-repeat:no-repeat;
	height:141px;
}



/** I M A G E - C **/
body.view-author_artists_archive #container /*Author home page*/{
	background-image:url(http://www.cricketmagkids.com/files/cricket/cricket-authorartistcorner-bg.jpg);
	background-position:bottom right;
	background-repeat:no-repeat;
	padding-bottom: 0;
}

body.menu-path-4-10-252 #container,
body.menu-path--313 #container,
body.menu-path--314--314 #container,
body.menu-path--314 #container,
body.menu-path--347--347 #container,
body.menu-path--347 #container,
body.section-author-amp-artist-corner-fan-art #container,
body.section-fan-art #container,
body.ntype-ntype-fanart-submission-section-cricketleague #container,
body.ntype-fanart-topic-section-cricketleague #container,
body.ntype-author-section-cricketleague #container, 
body.ntype-artist-section-cricketleague #container,
body.ntype-author-section-corner #container, 
body.ntype-artist-section-corner #container,
body.ntype-starshard #container,
body.ntype-recipe #container,
body.ntype-artcraft #container,
body.ntype-experiment #container,
body.ntype-games #container,
body.menu-path-75-88-85 #container,
body.menu-path-75-88-261 #container,
body.menu-path-75-88-87 #container, 
body.section-cricketleague #container,
body.ntype-chatterbox #container,
body.ntype-chatterboxbab #container,
body.menu-path-4 #container,
body.menu-path-4-10 #container,
body.menu-path-4-10-239 #container {
	padding-bottom: 0;
	background-image:url(../gfx/cricket-league-pattern-bg.jpg);
	background-position: top left;
	background-repeat:no-repeat;
	height:141px;
}

/** I M A G E - D **/
body.section-cricketleague #container #block-views-funstuff_trythis{
	background-image:url(../gfx/cricket-funstuff-trythis-bg.jpg);
	background-repeat:no-repeat;
	height:160px;
	width:54.2em;
	position:relative;
	left:178px;
	top:30px;
}
/** I M A G E - E **/
body.section-cricketleague #container #block-views-funstuff_puzzles{
	background-image:url(../gfx/cricket-funstuff-puzzles-bg.jpg);
	background-repeat:no-repeat;
	height:270px;
	width:54.2em;
	position:relative;
	left:178px;
	bottom:0px;
}
/** I M A G E - F **/
/*eCards*/
body.section-ecards #container,
body.ntype-ecard #container {
	background-image:url(../gfx/cricket-league-pattern-bg.jpg);
	background-repeat: repeat-y;
}
/**************
O L D  C R I C K E T ' S  L I B R A R Y

S E C T I O N - E

I M A G E - A 
*************/

body.section-old-cricket-s-library #container,
body.ntype-cricket-readers-recommend #container,
body.menu-path-4-10-115 #container /*Submit a book page*/,
body.ntype-audio #container{
	background-image:url(../gfx/cricket-library-pattern-bg.jpg);
	background-repeat:no-repeat;
	height:141px;
}

body.ntype-flash-section-oldcricketlibrary #container #header{
	background-image:url(../gfx/cricket-library-flash-header-bg.jpg);
	background-repeat:no-repeat;
	height:141px;
}

body.view-chatterbox_kyngdom #container /*Kyngdom home page*/{
	background-image:url(http://www.cricketmagkids.com/files/cricket/kyngdom/cricket-kyngdom-bgL.jpg);
	background-repeat:no-repeat;
	padding-bottom: 0;
}
body.view-chatterbox_kyngdom_air #container{
	background-image:url(http://www.cricketmagkids.com/files/cricket/kyngdom/cricket-kyngdom-bgWing.jpg);
	background-position:bottom right;
	background-repeat:no-repeat;
	padding-bottom: 0;
}
body.view-chatterbox_kyngdom_claw #container{
	background-image:url(http://www.cricketmagkids.com/files/cricket/kyngdom/cricket-kyngdom-bgClaw.jpg);
	background-position:bottom right;
	background-repeat:no-repeat;
	padding-bottom: 0;
}
body.view-chatterbox_kyngdom_fin #container{
	background-image:url(http://www.cricketmagkids.com/files/cricket/kyngdom/cricket-kyngdom-bgFin.jpg);
	background-position:bottom right;
	background-repeat:no-repeat;
	padding-bottom: 0;
}
body.view-chatterbox_kyngdom_hoof #container{
	background-image:url(http://www.cricketmagkids.com/files/cricket/kyngdom/cricket-kyngdom-bgHoof.jpg);
	background-position:bottom right;
	background-repeat:no-repeat;
	padding-bottom: 0;
}
body.view-chatterbox_kyngdom_groups #container{
	background-image:url(http://www.cricketmagkids.com/files/cricket/kyngdom/cricket-kyngdom-bgGen.jpg);
	background-repeat:no-repeat;
	padding-bottom: 0;
}
body.view-chatterbox_kyngdom_rp #container{
	background-image:url(http://www.cricketmagkids.com/files/cricket/kyngdom/cricket-kyngdom-bgGenshort.jpg);
	background-position:bottom right;
	background-repeat:no-repeat;
	padding-bottom: 0;
}
body.view-chatterbox_kyngdom_archive #container /*Kyngdom home page*/{
	background-image:url(http://www.cricketmagkids.com/files/cricket/kyngdom/cricket-kyngdom-archive.jpg);
	background-repeat:no-repeat;
	padding-bottom: 0;
}

/** FIVE-STAR MODULE OVERRIDES **/
div.fivestar-widget-static .star {
  background: url(../gfx/cricket_stars.png) no-repeat 0 0px;
}
div.fivestar-widget-static .star span.on {
  background: url(../gfx/cricket_stars.png) no-repeat 0 -32px;
}

div.fivestar-widget-static .star span.off {
  background: url(../gfx/cricket_stars.png) no-repeat 0 0px;
}
div.fivestar-widget .star, div.fivestar-widget .star a {
  background: url(../gfx/cricket_stars.png) no-repeat 0 0px;
}

/** K E E P  L A S T **/
body.ntype-flash #container{
	padding-bottom: 0;
}

/*** D O  N O T  E D I T  ****/
#page .wrap0 {
  background:transparent url(../gfx/shadow-sides.gif) scroll repeat-y ;
	float:left;
	margin: 9px 0px 0px 0px;
}
#page .wrap2 {
 	background:transparent url(../gfx/shadow-bottom.gif) 0px 100% scroll no-repeat;
	background-position:bottom left;
	float:left;
}
#page .wrap3 {
  padding:18px 14px 18px 12px;
  background:transparent url(../gfx/shadow-top.gif) 0px scroll no-repeat;
	background-position:top left;
	float:left;
}
body.section-cricketleague #chatterbox_table td{
	padding:8px 10px;
}
body.ntype-flash #main{
	margin:141px 0px 0px 0px;
}

/**************
L O O K  I N S I D E

S E C T I O N - B

I M A G E - A 
*************/
body.section-lookinside #container{
	background-image:url(../gfx/cricket-lookinside-bg.jpg);
	background-repeat:no-repeat;
	height:141px;
}
/**body.section-lookinside #container #header{
	background-image:url(../gfx/cricket-lookinside-header-bg.jpg);
	background-repeat:no-repeat;
	height:141px;
}**/