/*
Theme Name: Graylagoon
Theme URI: http://www.sureshjain.wordpress.com
Description: theundisputed...
Version: 0.1
Author: Suresh kumar
Author URI:
*/

.backgroundlink a {background-color:#99ccff;}
.backgroundlink a:hover {background-color:#fff;}

body {
	/*background:url(images/bg_tile.gif);*/
	color: #000000;
	font-size: 12px;
	font-family: Helvetica, Arial, Verdana, Sans-Serif;
	margin: 0px 0px 0px 0px;
	}

body * {margin: 0px; padding: 0px;}

a, a:visited { 
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	}
a:hover {
	font-weight: bold;
	text-decoration: none;
	color: #000000;
	}
a img,a:visited img {
background-color: none;}
 
#container { 
	background: #ffffff;
	width: 860px;
	text-align: left; 
	margin: 0px auto 0px auto; 
	border-right: 8px solid #000;
	border-left: 8px solid #000;
	overflow: hidden;
	}
#header {
	background-color: #ffffff;
	padding: 0px 35px 20px 35px;
	text-align: left;
	}	
#header h2 {
	color: #000000;
	font-size: 30px;
	font-family: Helvetica, Arial, Verdana, Sans-Serif;
	font-weight: bold;
	margin: 0px;
	}

#header h2 a {
	color: #000000;
	text-decoration: none;
	}

#header h2 a:hover {
	color: #000000;
        background-color: #ffffff;
	text-decoration: none;
	}

#header h3 {
	color: #000000;
	font-size: 13px;
	font-family: Helvetica, Arial, Georgia, Times New Roman, Sans-Serif;
	text-indent: 5px; 
	margin: 0px;
	}






<?php global $wp_query; // breadcrumb
    if( empty($wp_query->post->post_parent) ) {
        the_title();
    } else {
        // pages with a parent
        $parent = $wp_query->post->post_parent;
        $parent_title = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID = $parent");
            echo '<a href="/?p=' . $parent . '" title="Back to ' . $parent_title . '">' . $parent_title . '</a>';
            echo ' » <span>';
            the_title();
            echo '</span>';
    }
?>





<ul id="nav">
     <?php wp_list_pages('depth=1&title_li='); ?>
</ul>
<?php if(wp_list_pages("child_of=$post->ID&echo=0")) { ?>
     <ul id="nav-sub">
        <?php wp_list_pages("title_li=&child_of=$post->ID&sort_column=menu_order");?>
     </ul>
<?php } ?>

















#menu { 
        float: left;
	background: #99ccff;
	margin: 100px;
	padding: 0px 0px 0px 0px;
	text-align: center;
	/*border-bottom: 5px solid #99ccff;*/
	}
#menu img{
	border: none;
	}
img {border:0;}
#menu h2 {
	color: #99ccff;
	font-size: 15px;
	font-family: Helvetica, Arial, Verdana, Sans-Serif;
	font-weight: bold;
	margin: 0px;
	padding: 0px 0px 0px 0px;
	}
#menu li {
	display: inline;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	}
		
#menu ul {
	margin: 0px;
	padding: 0px;
	}
	
#menu ul li a {
	font-family: Helvetica, Arial, Verdana, Sans-Serif;
	font-weight: bold;
        text-transform: lowercase;
	font-size: 15px;
	color: #000;
	background: none;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	text-decoration: none;
	}

#menu ul li a:hover {
	color: #fff;
	background: #000;
	padding: 0px 0px 0px 0px;
	text-decoration: none;
	}



#content { 
	display: block;
	background: #fff;
	width: 600px; 
	margin-top: 65px;
	margin-bottom: 15px;
	margin-left: 0px;
	margin-right: 0px;
	float: left; 
	position:relative;
	padding: 0px 0px 15px 0px;
	}
#content p{
	margin: 0px;
	line-height: 18px;
	padding: 0px 0px 10px 0px;
	}
	
#content p img{
	border: 1px solid #000000;
	padding: 0px 0px 0px 0px;
	margin: 0px 10px 8px 0px;
	}

img.alignleft {
        margin: 0 10px 0px 0;
        display: inline;
        float: left;
	}


#content h1 {
	color: #000000;
	font-size: 22px;
	font-family: Helvetica Bold, Arial Bold, Verdana, Sans-Serif;;
	font-weight: normal;
	padding: 10px 10px 10px 10px;
	line-height: 150%;
	margin: 0px;
	}
	
#content h1 a  {
	color: #000000;
	text-decoration: none;
        background: none;
	}

#content h1 a:hover {
	color: #000000;
	text-decoration: none;
        background: #ffffff;
	}

#content h2 {
	color: #000000;
	font-size: 18px;	
	font-family: Helvetica Bold, Arial Bold, Verdana, Sans-Serif;;
	font-weight: bold;
	margin: 0px;
	line-height: 120%;
	font-variant: normal;
	}
#content h2 a  {
	color: #000000;
	text-decoration: none;
	}

#content h2 a:hover {
	color: #000000;
	background: none;
	text-decoration: underline;
	}

#content h3 {
	color: #000000;
	font-size: 14px;
	font-family: Helvetica Bold, Arial Bold, Verdana, Sans-Serif;;
	font-weight: bold;
	margin-bottom: 0px;
	line-height: 120%;
	}
#content h3 a  {
	color: #000000;
	text-decoration: none;
        background: #99ccff;
	}

#content h3 a:hover {
	color: #000000;
	background: #ffffff;
	text-decoration: none;
	}

#content ol {
	list-style-type: decimal;
	line-height: 18px;
	margin: 0px;
	padding: 0px 0px 10px 30px;
	}
#content ul {
	list-style: none;
	margin: 0px;
	padding: 0px 0px 10px 0px;
	}
	
#content li {
	margin: 0px;
	padding: 0px;
	}
	
#content ul li {
	list-style: square inside;
	margin: 0px 0px 0px 10px;
	padding: 5px 0px 0px 0px;
	}
	
#content ul li a {
	color: #000000;
	text-decoration: none;
        background: #99ccff;
	}

#content ul li a:hover {
	color: #000000;
	text-decoration: none;
        background: #ffffff;
	}
blockquote{
	margin: 0px 0px 0px 25px;
	padding: 0px 25px 0px 10px;
	font-style: italic;
	color: #666666;
	border-left: 1px solid #cccccc;
	}
	
#content blockquote p{
	margin: 0px 0px 20px 0px;
	padding: 0px;
	}

.postspace {
	width: 600px;
	height: 32px;
	margin: 0px;
	padding: 0px;
	}
.postspace2 {
	width: 600px;
	height: 0px;
	margin: 0px;
	padding: 0px;
	}
.postspace3 {
	width: 600px
	height: 15px;
	margin: 0px;
	padding: 0px;
	}

.postspacebelow {
	width: 600px
	height: 15px;
	margin: 50px;
	padding: 0px;
	}


#sidebar { 
	display: block;
	color: #000000;
	width: 170px;
	float: left; 
	position:relative;
	margin: 45px 30px 20px 0px;
	padding: 20px 30px 20px 0px;
	text-align: left;
	/*border: 1px dashed #cccccc;*/
	}

* html #sidebar { margin: 20px 20px 20px 10px; }

#sidebar p{
	margin: 0px;
	line-height: 18px;
	padding: 5px 0px 10px 0px;
        text-align:justify;
        color:#000000;
        
	}

#sidebar h2 {
	color: #000000;
	font-size: 15px;
	font-family: Helvetica Bold, Arial Bold, Verdana, Sans-Serif;;
	list-style: none;
	padding: 10px 0px 10px 0px;
	margin: 0px;
	border-bottom: 1px solid #cccccc;
	}

#sidebar ul {
	list-style: none;
	margin: 0px;
	padding: 13px 0px 20px 0px;
	}
	
#sidebar li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#sidebar ul li {
	list-style: none;
	margin: 0px;
	padding: 6px 0px 5px 30px;
	}
#sidebar ul li a {
	color: #000000;
	font-weight: bold;
	text-decoration: none;
        background: #ffffff;
	}

#sidebar ul li a:hover {
	color: #000000;
	text-decoration: none;
        background: #99ccff;
	}
#footer { 
	color: #000000;
	background-color:#ffffff;
	font-weight: bold;
	padding: 90px 0px 60px 0px;
	height: 20px;
	text-align: center;
	clear: both;
	}
#footer a {
	color: #000000;
	text-decoration: none;
        background: #99ccff;
	}
#footer a:hover {
	color: #000000;
	text-decoration: none;
        background: #ffffff;
	}

#footer img {
border:none;
float:right;
}

#footer img a:hover{
background: #000000;
}
