/*  
Theme Name: Pearly Grey
Theme URI: http://www.bballcity.com/download/themes/pearly Grey/
Description: A wordpress theme by Ash Haque
Version: 1.0
Author: Ash Haque
Author URI: http://www.bballcity.com

The CSS, XHTML is released under a Creative Commons License
http://creativecommons.org/licenses/by/2.5/
*/


/*
1. Universal Declarations
2. Structure
	2.1. Header
	2.2. Content
	2.3. Comments
	2.4  Sidebar
	2.5  Footer
3. Lists
4. Headings
5. Images
6. Forms
7. Page Specific
8. Extras
*/


/* Universal Selectors
----------------------------------------------------------------------------- */

	*  {
		margin: 0;
		padding: 0;
		/* Resets all margins and paddings on the page */
		}
		
	ul {
		list-style-type: none;
		}
	
	* a:link, * a:visited, * a:hover, * a:active {
		text-decoration: none;
		color:#32348e;
		font-weight:bold;
		}
		
	* a:hover {
		cursor: pointer;
		/* works well for onclick anchors */
		border-bottom: 1px solid #32348e;
		}

	* a:active {
		outline: none;
		border-bottom: 1px solid #32348e;
		}
		
	:focus {
		-moz-outline-style: none;
		}
	
	:link img {
		border: none;
		}
	
	* img {
		border: none;
		}
	
	a img {
		border: none;
		}
	
	:link img, :active img {
		border: none;
		}

	

/* Structure
----------------------------------------------------------------------------- */
	
	html { background-color: #f5f0da; padding: 0px; margin: 0px;}

	body
	{
		font-size: 62.5%;
		/* Sets the page font to 10px */
		font-family: Verdana, Arial, sans-serif;
		text-align: center;
		padding: 0px;
		margin: 0px;
	}
	
	.entry table {width:100%;}
	
	td
	{
		vertical-align: top;
		font-size: 10px;
		color: #000;
		text-align: left;
		line-height: 16px;
		font-family: Verdana, Arial, sans-serif;
		font-style:italic;
	}
	
	.tdLeft { text-align: left; padding-right:14px;}
	.tdRight { text-align: right; padding-left:14px; }
	
	.row { padding-bottom:25px; }
	
	.tdText {padding:7px;text-align: left;}	
	.tdLeft .tdText {margin-right:6px;}
	.tdRight .tdText {margin-left:6px;}
	.tdCenterText {padding:4px 60px 0px 60px;text-align: left;}
	
	td b {font-style:normal !important;font-weight:bold;}
	
	
	#wrapper_plainbg
	{
		width: 970px;
		margin: 20px auto;
		background-image: url(images/sidebar_plain.jpg);
		background-repeat: repeat-y;
		background-position: left top;
		padding: 0px;
	}
		
	#wrapper
	{
		width: 970px;
		text-align: left;
		font-size: 1.1em;
		background-image: url(images/sidebar.jpg);
		background-repeat: no-repeat;
		background-position: left 180px;
		/* background-image: url(images/content_bg.jpg);
			background-repeat: repeat-y;
			background-position: center top;*/
		padding: 0px;
	}

    #wrapper a:hover {border:0px;}
		
	#header
	{
		padding: 0px 0px 0px 0px;
		width: 970px;
		height: 180px;
		background-image: url(images/logo.jpg);
		background-repeat: no-repeat;
		background-position: center top;
		background-color:#FFF;
        border:0px 0px 0px 0px;
        text-decoration:none;
	}
        #header:hover {border:0px 0px 0px 0px;}

	#main {
		padding: 0px;       
		}

	#content
	{
		float: right;
		width: 720px;
		margin: 30px 0px 0px 0px;
		clear: none;
	}
	
	#content_sub
	{
		float: right;
		width: 770px;
		margin: 30px 0px 0px 0px;
		clear: none;
	}
	
	#content_sub_wide
	{
		float: right;
		width: 750px;
		margin: 0px 0px 0px 0px;
		clear: none;
	}
		
	.content {
		padding: 0px 0px 0px 0px; 
		float: left;
		clear: none;
		width: 480px;
		}
		
	.content_sub {
		padding: 0px 0px 0px 0px; 
		float: left;
		clear: none;
		width: 550px;

		}
		
		
	#sidebar
	{
		padding-top: 0px;
		padding-left: 0px;
		float: left;
		width: 232px;
	}
	
	#sidebar_sub
	{
		padding-top: 0px;
		padding-left: 0px;
		float: left;
		clear:none;
		width: 200px;
	}
	.sidebar_sub, .sidebar_sub a
	{
		padding: 7px 20px 0px 7px;
		margin-top:-10px;
		font-size:12px;
		line-height:16px;
		color:#32348e;
		font-weight:bold;
		display:block;
	}
	
	.sidebar_right
	{
		float: right;
		width: 232px;
		clear: none;
		text-align:right;
	}
	
	.sidebar_right_sub
	{
		float: right;
		width: 200px;
		clear: none;
		text-align:right;
	}
	
	#sidebar p, .sidebar_right p {font-size:10px;font-style:italic;padding:30px;text-align:center;line-height:12px;}
	
	.sidebar_sub_photos
	{
		padding: 12px 50px 0px 17px;
		font-size: 10px;
		font-style: italic;
		line-height: 14px;
		color: #000;
		font-weight: normal;
	}
		
	#footer {
		padding: 20px 30px 20px 30px;
		*padding: 10px;
		/* IE6 and IE7 hack */
		clear: both;
		font-size: 10px;
		line-height:12px;
		font-family: Verdana, Arial, sans-serif;
		background-image: url(images/footer.jpg);
		background-repeat: no-repeat;
		background-position: right top;		
		}



	/* Header
	----------------------------------------------------------------------------- */
	
		#header h1 a {
			font-size: 1.4em;
			padding-bototm: 5px;
			border-bottom: 1px solid #eee;
			color: #555;
			}
			
		#header p.description {
			padding-top: 5px;
			font-size: 1.2em;
			}
					
		ul.mainmenu2
		{
			display: block;
			overflow: hidden;
			height: 45px;
			width: 813px;
			padding: 0px;
			margin: -35px 0 -10px 165px;
			z-index: 999;
		}
		
		.homepage ul.mainmenu {
			padding: 20px 1px 1px 155px;
			}
		
		.mainmenu2 li
		{
			float: left;
			position: relative;
			margin-left: 10px;
			margin-right: 10px;
			width: 80px;
			text-align: center;
			vertical-align: text-bottom;
		}
			
		.mainmenu2 .page_item a {
			_width: 1%;
			/* Or else IE6 does a crappy of job of displaying the menu */
			height: 15px;
			display: inline;
			padding: 0px;
			text-transform: uppercase;
			font-size: 11px;
			font-family: 'Trebuchet MS', Arial, Verdana, sans-serif;
			text-align: left;
			color: #FFF;
			letter-spacing:0px;
			border-bottom:0px;
			vertical-align: text-bottom;
			font-weight:bold;			
			}
			
		.mainmenu2 .current_page_item a {
			_width: 1%;
			/* Or else IE6 does a crappy of job of displaying the menu */
			height: 15px;
			display: inline;
			padding: 0px;
			text-transform: uppercase;
			font-size: 11px;
			font-family: 'Trebuchet MS', Arial, Verdana, sans-serif;
			text-align: left;
			color: #57c4c7;
			letter-spacing:0px;
			border-bottom:0px;
			vertical-align: text-bottom;
			font-weight:bold;
			}
		
		.mainmenu2 li a:hover {
			color: #57c4c7;
			text-decoration: none;
			border-bottom:0px;
			font-weight:bold;
			}
	
	
	
	
				
	/* Content
	----------------------------------------------------------------------------- */
		
		#content h2 {			
			border-bottom: 0px solid #b4a588;
			}
		#content h2 a {
			text-transform: none;
			font-size: 1em;
			color: #bf222c;
			letter-spacing:3px;
			margin-bottom: 10px;
			display: block;
			border-bottom: none;
			}
	
		#content p a, #content .metadata a {
			color: #32348e;
			padding-bottom: 2px;
			border-bottom: 0px solid #32348e;
			}
	
		#content p a:hover, #content .metadata a:hover {
			color: #bf222c;
			border-bottom: 0px solid #bf222c;
			}
			
		#content p a:visited {
			color: #32348e;
			}
	
		#content p, #content_sub p {
			font: 1.2em/1.4em Verdana, Arial, sans-serif;
			padding: .9em 0;
			color: #000;
			text-align: left;
			}
	
		#content .post h3 {
			border-bottom: 1px solid #ccc;
			font: 1.2em Verdana, Arial, sans-serif;
			padding-top: 20px;
			text-transform: uppercase;
			}
						
		#content .post-contain {
			clear: both;			
			padding:0 0 50px 0px;
			}
			
		#content .postright {
			float: right;
          	margin-bottom:15px;
          	width:100%;
			}
					
		#content ul.metadatafront {
			float: left;
			width: 155px;
			padding: 3.6em 0 10px;
			}
		
		#content ul.metadatafront li {
			padding: 5px 0;
			background: none;
			}
			
		#content ul.metadatafront li.category ul li {
			padding-left: 25px;
			
			}
		
		#content ul.metadatafront li.category ul {
			margin: 0;
			padding: 0;
			}
			
		#content div.date {
			color:#c2b59c;
			letter-spacing:2px;
			padding-top:20px;
			}
			
		#content ul.metadatafront li.leave_comment {
			padding-left: 25px;
			
			}
			
		#content .metadata {
			display: block;
			padding: 0px;
			top-border: 1px #000 solid;
			font-size:0.8em;
			margin: 5px 0 40px;
			font-style:italic;
			}
	
	
		
	/* Sidebar
	----------------------------------------------------------------------------- */
	
		#sidebar #sidePhoto {margin:0px;}
		
		#sidePNG {margin:130px 0px 0px 0px;}
		
		#sidebar h2 {
			text-transform: uppercase;
			font: 1.3em Verdana, Arial, sans-serif;
			margin-bottom: 10px;
			display: block;
			border-bottom: 1px solid #b4a588;
			}
		
		
		#sidebar .page_item a		{
			text-transform: lowercase;
			color:#a49371;
			font: 1.3em Verdana, Arial, sans-serif;
			margin: 0px 0px 10px 0px;
			display: block;
			border-width: 0 0 0px 0;
			letter-spacing:2px;
			color:#4b341f;
			font-style:normal;
			padding: 0px 0px 5px 17px;
 			background: url(images/bullet_arrow_dark.gif) center left no-repeat;
 			line-height:16px;
		}
		
		
 		#sidebar .current_page_item a
 		{
 			text-transform: lowercase;
 			font: 1.3em Verdana, Arial, sans-serif;
 			margin: 0px 0px 10px 0px;
 			display: block;
 			border-width: 0 0 0px 0;
 			letter-spacing: 2px;
 			font-style: italic;
 			color: #85724f;
 			padding: 0px 0px 5px 17px;
 			background: url(images/bullet_arrow.gif) center left no-repeat;
 			line-height:16px;
 		}
 		#sidebar .current_page_parent a
 		{
			text-transform: lowercase;
			font: 1.3em Verdana, Arial, sans-serif;
			margin: 0px 0px 10px 0px;
			display: block;
			border-width: 0 0 0px 0;
			letter-spacing:2px;
			font-style:italic;
			color: #85724f;
 			padding: 0px 0px 5px 17px;
 			background: url(images/bullet_arrow.gif) center left no-repeat;
 			line-height:16px;
		}
 
		#sidebar ul.sidebar {
			padding: 20px 20px 20px 60px;
			font: 1.3em Verdana, Arial, sans-serif;
			z-index:999;
			}
	
		#sidebar ul li.side {
			padding-bottom: 25px;
			}
			
		#sidebar div {
			line-height: 1.7em;
			}
			
		#sidebar h2 {
			display: block;
			padding: 0 0 10px;
			}
		
		#sidebar ul li a {
			line-height: 1.9em;
			color: #4b341f;
			}
			
		#sidebar ul li a:hover {
			color: #4b341f;
			}
			
		#sidebar ul li ul li ul
		{
			padding-left: 15px;
			list-style-type: square;
		}
			
		#sidebar ul li ul li ul li ul
		{
			padding-left: 30px;
			list-style-type: circle;
			list-style-position: default;
		}
		
		#sidebar ul li ul h2
		{
			padding-left: 0px;
			list-style-type: square;
			font: 1em/2em Verdana, Arial, sans-serif;
			margin: 15px 0px -10px 0px;
			color: #bf222c;
			text-align: justify;
			border-color: white;
			border-width: 0px;
			border-style: solid;
		}
	
		#sidebar ul li ul li ul
		{
			margin: 0px 0px 10px 0px;
			padding-left: 0px;
			list-style-type: none;
		}
	
	
	
	/* Footer
	----------------------------------------------------------------------------- */
	
		#footer p, #footer p a {
			color:#000;
			line-height: 16px;
			text-align:center;
			letter-spacing:0px;
			font-weight:normal;
			}
			
		




/* Lists
----------------------------------------------------------------------------- */

	#content ul, #content ol {
		line-height: 2em;
		padding: 15px 0 15px;
		}

	#content ul li a, #content ol li a {
		line-height: 2.5em;
		}

	#content .postright ol, #content .post ol {
		padding-left: 25px;
		*padding-left: 30px;
		}
	
	#content ul li {
		padding-left: 15px;
		background: url(images/bullet.gif) center left no-repeat;
		}
	
	#content ul li a {
		padding: 0 !important;
		margin: 0 !important;
		}
			


/* Headings
----------------------------------------------------------------------------- */

	h1, h1 a, h1 a:hover, h2, h2 a, h2 a:hover, h3, h3 a, h3 a:hover, h4, h4 a, h4 a:hover {
		color: #bf222c;
		font-weight: bold;
		font-family: Verdana, Arial, sans-serif;
		letter-spacing:0px;
		}
		
	h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited {
		color: #32348e;
		}

	h1 {
		font-size: 1.5em;
		}

	h2 {
		font-size: 1.3em;
		}

	h3 {
		font-size: 1em;
		}

	h4 {
		font-size: .8em;
		}
		
		
		
		
		



		
		
		
/* Page Specific
----------------------------------------------------------------------------- */

	.last_20 li {
		line-height: 2em;
		}

	.archive_date {
		width: 100px;
		float: left;
		}
		
	/* This is if you use the current page-archives.php for your archives */
		
	div.pagetitle {
		display: block;
		text-align: center;
		padding: 10px;
		color:#a49371;
		font-style:italic;
		text-transform: none;
		font-size: 1.4em;
		margin-bottom: 30px;
		font-family: Verdana, Arial, sans-serif;
		letter-spacing:2px;
		}
					
			
			
			
			
/* Extras
----------------------------------------------------------------------------- */

	blockquote {
		margin: 0;
		padding: 0 0 0 25px;
		background: url(images/quote.gif) top left no-repeat;
		}

	html>body blockquote {
		background-position: 0 0;
		}
		
	.center {
		text-align: center !important;
		}

	hr {
		display: none;
		}

	 div.dots {
  		height: 20px;
  		background: url(images/hr_dots.jpg) no-repeat scroll center;
  		margin: 20px auto;
		}
		
		div.backdots {
  		height: 20px;
  		background: url(images/back_to_top.gif) no-repeat scroll center;
  		margin: 15px auto 25px auto;
		}



