@namespace url(http://www.w3.org/1999/xhtml);

/* ---------------------------------------------- *
 * Style:   IAFD - Site cleanup			  *
 * Author:  Diddle				  *
 * ---------------------------------------------- *
 * January 9th, 2008:				  *
 * 	- Fixes for check scene pairings pages	  *
 * 						  *
 * September 24th, 2007:			  *
 * 	- Fix for changed site's source layout	  *
 * 						  *
 * September 18th, 2007:			  *
 * 	- Fixed bug with hiding copyright table	  *
 * 						  *
 * September 16th, 2007:			  *
 * 	- Fixed actors tooltip layout		  *
 * 						  *
 * September 15th, 2007:			  *
 * 	- Initial version			  *
 * ---------------------------------------------- */

@-moz-document domain("iafd.com") {

	/* Coloring the page, tables and links */
	body, .c, tr[bgcolor="white"] { background: #333333 !important; color: #dddddd !important; }	/* Even rows */
	.g, tr[bgcolor="#eeeeee"] { background: #3d3d3d !important; color: #dddddd !important; }	/* Uneven rows */
	.co { background: #111111 !important; color: #dddddd !important; }				/* Compilation rows */
	td[bgcolor="#c0c0c0"] { background: #444444 !important; border: none !important; }		/* Left column on homepage */

	a { color: #5577ff !important; }
	a:hover { color: #ccbb55 !important; }
	a:visited { color: #7f557f !important; }

	/* Reduce space use of paragraphs */
	p { margin: 0px !important; }

	/* Changing layout of tooltips when hovering over names */
	#ajax_tooltip_content { background: #444444 !important; border: 2px solid #999999 !important; margin-top: 5px !important; margin-left: -12px !important; }
	#ajax_tooltip_arrow { display: none !important; }

	/* Remove border of left column on homepage */
	table[width="200"] { border: none !important; }

	/* Searchbox on top */
	#rameheader > table > tbody > tr > td:first-child { background: #444444 !important; text-align: center !important; }

	/* Adjusting headings space use and colors */
	h1 { padding: 0px !important; margin: 0px !important; }
	h3, h4 { background: #444444 !important; }

	/* Removing ugly headshot background */
	#headshot { background: #333333 !important; }

	/* Reducing searchpairing size */
	#searchpairing { border: 1px solid #cccccc !important; margin-bottom: 20px !important; }
	#searchpairing > tbody > tr:first-child,
	#searchpairing > tbody > tr:last-child,
	#searchpairing > tbody > tr > td > p { display: none !important; }

	/* Moving and changing the corrections links/buttons */
	#corrections { margin-top: 10px !important; padding-top: 5px !important; border-top: 1px dotted #cccccc !important; text-align: center !important; }
	#corrections > div { margin-top: 5px !important; }

	/* Changing the links below the movie listing */
	#helpfullinks { margin: 5px 20px 0px 0px !important; padding-top: 5px !important; border-top: 1px dotted #cccccc !important; text-align: right !important; }

	/* Removal of all unnecessary stuff */
	.menu,					/* IAFD menu */
	#usage,					/* Legal babble on movie pages */
	#bantop,				/* Banners on top of page */
	.heading,				/* Location on the site */
	#commerce,				/* Buy DVD information */
	#gallerybox,				/* Links to photogalleries */
	#AutoNumber4, 				/* Ads on homepage */
	#reviews > p,				/* Text in review section */
	#moviedata > h1,			/* Location on the site on movie pages */
	body > p,				/* Text below the amount of titles on person pages */
	#corrections > br,			/* Lots of empty spaces in the correction links area */
	#rameheader > div:last-child,		/* Some weird bar on homepage */
	tr > td > br:first-child:last-child,	/* Empty row below personal data */
	img[src$="newlogo-smaller-bday.gif"],	/* IAFD Logo on homepage */
	#formfilter,				/* Movie filter checkboxes */
	body > table[cellspacing="5"],		/* Copyright and usage information */
	td[bgcolor="#c0c0c0"] > table > tbody > tr > td > hr,	/* All the fugly horizontal bars in the menu left on the homepage */
	#rameheader > table > tbody > tr > td:not(:first-child) { display: none !important; }	/* Gay information toggle box */

	/* Additions for Check Scene Pairing pages */
	h2 { background: transparent !important; }
	div.perfchunka, div.perfchunkb { background: #444444 !important; }

}