/*
Theme Name: DivyaManian
Theme URI: http:/swaroopch.com
Description: Divya Manian's Theme for Swaroop blog
Version: 1.0
Author: Divya Manian
Author URI: http://nimbupani.com/blog
Tags: green, custom header, fixed width, two columns
*/


/*
** SWAROOP THEME STYLE
*/
/* ============= */
/* = RESET CSS = */
/* ============= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

div.clear {
	clear:both;
}

strong {
	font-weight:bold;
}

em {
	font-style:italic;
}

small {
	font-size:11px;
}
body {
	background:url(./images/bodybkg.gif) #e5dbc1 top left repeat-x;
	text-align:center;
}

div.container {
	width:755px;
	margin:0 auto;
	text-align:left;
	position:relative;
}

/* HEADER */
div.header {
	background:url(./images/header.gif) #fff top center no-repeat;
	height:150px;
	margin-top:43px;
}

div.header > ul {
	height:36px;
	padding:103px 0 0 145px;
}

div.header > ul li {
	float:left;
	height:30px;
	display:inline;
	margin:0 25px 0 0;
}

div.header > ul li a {
	display:block;
	height:36px;
    font-size: large;
    font-weight: bold;
    color: white;
	width:auto;
}            

div.header > ul li a:hover {
	text-decoration:none;
}

div.header ul.topnav ul li{
	height:auto;
	margin:0; 
}        

div.header ul.topnav ul li a {
	font-size:small;	
	height: auto; 
	line-height: 1.5;
	font-weight: normal;
	padding: 0 0 10px 10px;
}
   
div.header ul.topnav ul li a:hover {
	text-decoration:underline;
}

/* http://css-tricks.com/examples/SimplejQueryDropdowns/ */

/* 
	LEVEL ONE
*/
ul.topnav                         { position: relative; z-index:10; }
ul.topnav li                      { font-weight: bold; float: left; }
ul.topnav li a                    { display: block; }
/*
 * Disabled because of validation errors at jigsaw.w3.org/css-validator/
 *
ul.topnav li:last-child a         { border-right: none; } Doesn't work in IE
*/
ul.topnav li.hover,
ul.topnav li:hover                { position: relative; z-index:10; }

/* 
	LEVEL TWO
*/
ul.topnav ul 						{ z-index:1000; visibility: hidden; width: 175px; padding: 10px 5px 5px 5px; position: absolute; top: 20px; left: 0; background: #80B4B1; }
ul.topnav ul li 					{ font-weight: normal; color: #000; float: none; }
									  
                                    /* IE 6 & 7 Needs Inline Block */
ul.topnav ul li a					{ border-right: none; width: 100%; display: inline-block; } 

/* 
	LEVEL THREE
*/
ul.topnav ul ul 					{ z-index: 1000; left: 100%; top: 0; background: #80B4B1; }
ul.topnav li:hover > ul 			{ visibility: visible; }


/* MAIN CONTENT */
div.maincontent {
	background:url(./images/container_bottom.gif) bottom left no-repeat;
	padding:0 0 20px 0;
	width:755px;
}

div.maincontent div.mainbottom {
	background:url(./images/container_mid.gif) center left repeat-y;	
	width:755px;
}

/* SIDEBAR */
div.c0 {
	width:165px;
	float:left;
	display:inline;
	margin:0 0 0 40px;
	background:url(./images/sidebar-top.gif) top left no-repeat;
	padding:16px 0 0 0;	
	overflow:hidden;
}

div.c0 div.mid {
	background:url(./images/sidebar-mid.gif) top left repeat-y;		
}

div.c0 div.bottom {
	background:url(./images/sidebar-bottom.gif) bottom left no-repeat;
	padding:0 0 20px 0;
	width:165px;
}

div.c0 div.mid ul, div.c0 div.mid ul li {
	list-style:none;
	margin:0;
	padding:0;
}

div.c0 div.mid ul {
	margin-left:15px;
	margin-right:10px;
}
 
div.c0 div.mid ul li ul {
	margin:0.3em 0pt 0pt 1.5em;
	line-height:1.5em;
	list-style: square outside url(./images/bullet.gif);
}

div.c0 div.mid ul li li, .entry ul li {
	margin-bottom:0.1em;
	list-style: square outside url(./images/bullet.gif);
}

div.c0 li h2 {
	padding-bottom:10px;
}

div.c0 li h3 {
	margin-top:15px;
}

div.c0 p.current {
	margin:30px 0 0 0;
}
div.c0 form#searchform {
	height:54px;
}

div.c0 form#searchform input#s {
	width:130px;
    border: 1px solid #F5EACE;
}

div.c0 form#searchform input#searchsubmit, div.c0 input.subscribe {
	background:url(./images/search-btn.gif) top left no-repeat;
	width:60px;
	height:24px;
	margin:6px 0 0 0;
	padding:0 0 0 60px;
	overflow:hidden;
	float:left;
	display:inline;
	border:0;
	text-indent:1000em;
	
}

div.c0 input.subscribe {
	background:url(./images/subscribe-btn.gif) top left no-repeat;	
	float:none;
	width:80px;
}

div.c1 {
	width:500px;
	float:right;
	display:inline;
	margin:0 35px 0 0;
}

div.c1 p {
    /* WAS commented out by @foff , looks bad for list in '/byteofpython/' */
	/* padding:0 0 15px 0; */
	padding:15px 0 0 0;
}

ul#twitter_update_list li {
    margin-bottom: 1.5em;
}


/* POST */
div.post img, div.post a img, div.post-latest a img {
	margin:5px 5px 5px 0pt;
}

div.post .share-button, div.post .share-button:hover, div.post .share-button-wrapper a.share-active {
	background:url(./images/share-btn.gif) transparent top left no-repeat;
}

/* FRONT PAGE */

/* BLOG & BOOKS */
div.frontpage div.top {
	background:url(./images/home_top.gif) 2px 0px no-repeat;
	padding:15px 0 0 0;
	width:682px;
	margin:0 0 20px 40px;
	position:relative;
}

div.frontpage div.top div.bottom {
	background:url(./images/home_bottom.gif) bottom left no-repeat;
	padding:0 0 20px 0;
	width:682px;
}

div.frontpage div.top div.mid {
	background:url(./images/home_mid.gif) top left repeat-y;
	width:682px;
}

div.frontpage div.top h2 {
	position:absolute;
	top:-29px;
	left:0;
	background:url(./images/home_blog.gif) top left no-repeat;
	width:99px;
	height:34px;
	text-indent:-1000em;
	overflow:hidden;
}

div.frontpage div.top h3 {
	margin:0 0 5px 0;
    width: 250px;
}

div.frontpage div.top div.popular h3, div.frontpage div.top div.editor h3 {
	margin-top:30px;
	margin-bottom:16px;
}


/* BLOG */
div.frontpage div.blogentry {
	width:270px;
	float:left;
	display:inline;
	margin:30px 0 0 40px;
}

div.frontpage div.blogentry div.text {
	width:230px;
}

div.frontpage div.blogentry p {
	margin-top:15px;
}

div.popular {
	float:left;
	width:170px;
}

div.editor {
	float:right;
	width:170px;
	margin:0 10px 0 0;
	display:inline;
}

div.blog ul li {
	list-style: disc outside url(./images/bullet.gif);
    margin-bottom: 4px;
}

/* BOOKS */
div.frontpage div.books h2 {
	background-image:url(./images/home_books.gif);
}

div.frontpage div.books div.book {
	margin:0 0 0 40px;
	padding:30px 0 0 0;
	display:inline;
	float:left;
	width:290px;
}

div.frontpage div.books div.book2 {
	margin-left:20px;
}

div.book a.button {
	background:url(./images/home_read.gif) top left no-repeat;
	display:block;
	text-indent:-1000em;
	overflow:hidden;
	width:127px;
	height:23px;
	margin:20px 0 0 0;
}

/* NEWS */
/* Added by Swaroop */
div.frontpage div.news h2 {
	background-image:url(./images/home_news.gif);
}

div.frontpage div.news div.newsentry {
	margin:0 0 0 40px;
	padding:30px 0 0 0;
	display:inline;
	float:left;
	width:600px;
}

div.newsentry ul li {
	list-style: disc outside url(./images/bullet.gif);
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

/* FOOTER */
div.footer {
	margin:10px 0 10px 40px;
    text-align:center;
}

div.footer a {
	/* font-weight:bold; */
}

div.top h3, .portlet h5, div.c1 h2 {
	margin:0 0 5px 0;
}

div.c1 h2 {
	margin-top:20px;	
}

div.c1 h2 .editsection, div.c1 h3 .editsection {
	font-size:11px;
}

div.c1 h3 {
	margin-top:10px;
}

div.footer li {
	display:inline;
	padding:0 4px;
	list-style-image:none;
	margin:0;
}

div.footer li#copyright {
	padding-left:0;
}

div.footer ul {
	margin:0;
}


/* general styles */

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

.entry p a:visited {
	/*color: #b85b5a;*/
	/*color: #B6212D;*/
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist li.author {
/*	border:1px solid #E5DBC1; */
	background:#E5DBC1;
}

div.c1 .commentlist p {
	padding:0;
}
.commentlist li .avatar, .commentlist li .identicon { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

/* @foff */
.commentlist > li > ol > li {
    list-style-type: decimal;
    list-style-position: inside;
    font-weight: normal;
    font-size: 1em;
}

/* @foff */
.commentlist > li > ul > li {
    list-style-type: disc;
    list-style-position: inside;
    font-weight: normal;
    font-size: 1em;
}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #7a5a37;
	text-decoration: none;
	}

a:hover {
	/*color: #147;*/
	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
.post {
	/* margin: 0 0 30px; */
    padding-bottom: 30px;
    border-bottom: thin solid #A63A12;
	}

.post hr {
	display: block;
    margin:15px 0 0 0;
}


.post ul {
	margin-left:20px;
    padding-top:10px;
}
.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.postmetadata {
	clear: left;
}

div.c1 .postmetadata {
    padding-top: 30px;
}

.clear {
	clear: both;
}

/* End Structure */



/*	Begin Headers */
h1 {
	margin: 0;
	}

div.entry h1 {
	font-size:24px;
	line-height:30px;
	margin:18px 0pt 25px;	
}

h2 {
	margin: 30px 0 0;
	}

h2.pagetitle {
	margin-top: 30px;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */


.entry ol {
	padding: 10px 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	/* text-align: justify; */
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 0 10px 0;
	margin-left: 545px;
	width: 190px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	padding-left: 42px;
	background:url(./images/quote.gif) top left no-repeat;
	min-height:33px;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
	
dd {
		line-height: 1.5em;
		margin-left: 25px;
		margin-bottom: .1em;
	}
	
/* End Various Tags & Classes*/

/* TABLE */
table {
	margin:5px 0 10px 0;
}
table th {
	font-weight:bold;
	border-bottom:1px solid #444;
	padding:0 5px;
}

table td {
	padding:2px 5px;
}

/* ========= */
/* = FONTS = */
/* ========= */

body {
	font:12px/18px "Verdana", "Trebuchet MS","lucida sans unicode","lucida grande",verdana,sans-serif;
}

div.footer {
	font-size:11px;
}

div.top h3, .portlet h5, div.c1 h3, div.c0 li h2
 {
	font-size:16px;
}

div.c0 li h3 {
	font-size:14px;
}

div.c0 div.mid ul {
	font-size:95%;
}
div.c1 h2 {
	font-size:20px;
}


div.c1 blockquote {
	margin:15px 0;
}

div.c1 blockquote p {
	margin:0 0 7px 0;
}

div.footnote {
    font-size: small;
}

sup {
    vertical-align: top;
    font-size: x-small;
}

h4 {
    font-size: 14px;
    color: black;
    padding-top: 1em;
    padding-bottom: 0.5em;
}

dt {
    font-weight: bold;
    padding-top: 1em;
}

/* ========== */
/* = COLORS = */
/* ========== */
body {
	color:#545454;
	line-height:18px;
}

div.c1 {
    line-height: 1.5em;
}

a {
	color:#a63a12;
	text-decoration:none;
}

div.top h3, div.c0 li h2, div.c1 h2, div.c1 h3, div.entry h1
 {
	color:#000;
}

div.post h2 {
	color:#408080;
}

input#searchInput {
	border-color:#f5eace;
}

.bordered {
    border:2px solid black;
}

div.front {
	width:682px;
    margin: 0 0 20px 40px;
    padding: 5px 0 0;
    position: relative;
z-index:1;
}

div.front h3 {
    color: #000;
    font-size: 16px;
    padding-bottom: 10px;
}

.wpcf7-captcha-your-captcha {
    vertical-align: middle;
}

pre {
    padding-top: 10px;
}

.ratings {
    margin-top: 30px;
    margin-bottom: 10px;
}

ul.long li, ol.long li {
    padding-bottom: 2em;
}

ul.long ul li, ul.long ol li, ol.long ul li, ol.long ol li {
    padding-bottom: 1em;
}


/* ========== */
/* = IMAGES = */
/* ========== */

div.photo, div.video {
    text-align: center;
}

div.photo div.caption, div.video div.caption {
    font-size: 80%;
    text-align: center;
}

div.post img.wp-smiley, div.post-latest img.wp-smiley {
    margin: 0;
}

div.front p {
    margin-bottom: 8px;
}

/* Polls */
div.PDS_Poll {
    padding: 2em;
}

/* MailChimp-powered email subscription form */
div.emailsubscribe_form {
    width: 250px;
    padding-left: 50px;
    margin-left: 300px;
}

div.emailsubscribe_form div.mc_custom_border_hdr {
    border: 0;
    padding: 0 0 10px 0;
}

div.emailsubscribe_form div.mc_signup_submit {
    padding-top: 10px;
    width: 100px;
}

div.emailsubscribe_form div#mc_unsub_link {
    width: 150px;
    margin-top: 20px;
}

#subscribe-options {
    margin-top: 5px;
}

#google-adsense {
    border-bottom: thin solid #A63A12;
}

.btc-summary {
    margin-top: 20px;
}

.blog blockquote, .book blockquote {
    margin-top: 20px;
}

div.dhiti-widget {
  margin-top: 20px !important;
}

#tweets {
    margin-top: 40px;
}

