/*
 * Written by Stefano Mazzocchi <stefano at apache dot org>
 */

/* ----------------------------- Global Definitions -------------------- */

body {
	margin: 0px;
	padding: 0px;
	color: #222;
	background-color: #fff;
	quotes: "\201C" "\201E" "\2018" "\2019";
	font-family: 'Jameel Noori nastaleeq', 'Alvi Lahori Nastaleeq', 'Alvi Nastaleeq', 'Trebuchet MS', Helvetica, Arial, sans-serif;
        -webkit-font-feature-settings: "ccmp" 0;
}

a:link {
	color: #222;
}

a:visited {
	color: #555;
}

a:hover {
	color: #000;
}

a:active {
}

a:focus {
}

a.inactive {
	color: #558;
}

a.rising {
	font-weight: bold;
}

a[rel~='license'] {
    text-decoration: none;
}  
body > h1 {
	font-size: 2em;
	font-family: ;
	padding: 10px;
	margin: 0px 0px 0px 0px;
	color: #000;
	font-weight: normal;
	background-color: #eee;
	border-bottom: 2px solid #bbb
}

/* ----------------------------- Navigation Bar ------------------ */
#nav {
	background-color:#8fa5c3;
	padding-top: 6px;
	/*font-family: "Jameel Noori nastaleeq","Nafees Web Naskh", "Urdu Naskh Asiatype", tahoma, "Arial Unicode MS", arial, georgia, verdana, sans-serif;*/
}

#nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav li {
	float: right;
	position: relative;
	width: 12.5%;
	background-color:#8fa5c3;
	text-align: center;
}

#nav li a {
	color: #000000;
	text-decoration:none;
}

/* ----------------------------- Sidebar --------------------------- */

#sidebar {
	/*font-family: "Jameel Noori nastaleeq","Nafees Web Naskh", "Urdu Naskh Asiatype", tahoma, "Arial Unicode MS", arial, georgia, verdana, sans-serif;*/
	float: left;
	top: 150px;
	left: 0px;
	width: 210px;
	background-color: white;
	padding: 0px 0px 20px 0px;
	margin: 0px 20px 20px 0px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#sidebar h2 {
	font-size: small;
	color: #666;
	font-weight: normal;
	padding: 2px 4px 2px 0px;
	margin: 15px 10px 5px 0px;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#sidebar h2 a img {
        margin-bottom: 2px;
        vertical-align: middle;
}

#sidebar p {
	font-size: x-small;
	padding-right: 20px;
	padding-left: 5px;
}

#sidebar ul {
	font-family: sans-serif;
	margin-right: 5px;
	padding-right: 25px;
}

#sidebar li {
	margin-right: 0px;
	text-indent: -15px;
	list-style-type: none;
	font-size: x-small;
}

#sidebar ul li a {
	text-decoration: none;
}

#sidebar ul li a:hover {
	text-decoration: underline;
}

#sidebar ul li a:visited {
	color: #000;
}

#sidebar ul li ul {
	display: none;
}

#sidebar ul li {
	position: relative;
}

#sidebar ul li:hover ul {
	background-color: #EEE;
	border: 2px solid #BBB;
	color:#000;
	display: block;
	margin-right: -300px;
	margin-left: 115px;
	padding: 10px;
	padding-right: 25px;
	position: absolute;
	left: 80px;
	top: -12px;
	z-index: 1;
}

#sidebar img {
	border: 0;
}

#sidebar dl {
	font-size: x-small;
	padding-right: 1.0em;
}

#sidebar dl ul {
	padding-right: 1em;
}

#sidebar dt {
	margin-top: 1em;
	font-weight: bold;
	padding-right: 1.0em;
}

#sidebar dd {
	margin-right: 2.5em;
}

#sidebar .message {
	cursor: help;
	border-bottom: 1px dashed red;
}

#sidebar a.message:hover {
	cursor: help;
	background-color: #ffD0D0;
	border: 1px dashed red !important;
	text-decoration: none !important;
}

#sidebar input[name=q] {
        margin: 4px 0 0 24px;
}

/* ---------------------------- Footer --------------------------- */

#footer ul {
	margin: 0 -25px 0 20px;
	padding: 0;
}

#footer li {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline;
}

#footer ul li ul {
	display: none;
}

#footer img {
	display: none;
}

/* ----------------------------- Body ---------------------------- */

#body {
	margin-top: 10px;
}

.admin {
	text-align: right;
}

#body > h2 {
	text-transform: none;
	font-size: medium;
	color: #333;
	text-align: right;
	border-top: 1px solid #ccc;
	background-color: #eee;
	border-bottom: 1px solid #ccc;
	padding: 1px 5px 1px 15px;
	margin: 0;
}

/* ----------------------------- News ---------------------------- */

.news {
	margin: 30px 10px 30px 10px;
	clear: right;
}

.news h3 {
	margin: 0 0 .5em 0;
	padding: 0px;
	font-size: 1.5em;
}
.news h3 a {
        color:#036;
        text-decoration:none;
}

.news .content {
	margin: 5px 15px 5px 5px;
	padding: 0px 1em 1em 1em;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	line-height: 1.5em;
	font-size: 1em;
	/*font-family: "Jameel Noori nastaleeq","Nafees Web Naskh", "Urdu Naskh Asiatype", tahoma, "Arial Unicode MS", arial, georgia, verdana, sans-serif;*/
}

.news .links {

}

.news .permalink {
	text-align: left;
}

.news .icon {
	height: 1em;
	width: 1em;
	border: 0;
	bottom: 0;
}

/* ----------------------------- News Content ---------------------------- */

.news .content p {
	line-height: 1.2em;
}

.news .content img {
	margin: 5px;
}

.news .content blockquote {
	margin: 10px 35px 10px 35px;
	padding: 5px;
}

.news .content pre {
	font-family: monospace;
	border: 1px solid #ddd;
	padding: 10px;
	margin: 10px 20px 10px 20px;
	background-color: #f8f8f8;
	overflow: auto;
}
.news .content code {
       font-family: monospace;
}

.news .content ul, .news .content ol {
	margin: 5px 35px 5px 35px;
	padding: 5px;
	counter-reset: item;
}

.news .content ul > ul, .news .content ul > ol, .news .content ol > ul, .news .content ol > ol {
	margin: 0px 35px 0px 0px;
	padding: 0px;
}

.news .content li {
	padding: 1px;
	line-height: 1.2em;
}

.news code {
	font-family: large;
}

.news .content :link,
.news .content :visited {
	text-decoration: none;
	font-weight:bold;
	color:#036;
}
.news .content p:hover a,
.news .content dt:hover a,
.news .content dd:hover a,
.news .content li:hover a {
        text-decoration: underline;
}
 
.news :link:active,
.news :visited:active,
.news :link:hover,
.news :visited:hover {
	color: #FFCC66;
}

/* --------------------------- Accomodations ----------------------- */

/* boing boing */
br {
	clear: none !important;
}

/* engadget */
p {
	clear: none !important;
}

/* cadenhead */
p.sourcecode {
	font-family: monospace;
	font-size: medium;
	font-weight: bold;
	border: 1px solid #ddd;
	padding: 10px;
	margin: 10px 20px 10px 20px;
	background-color: #f8f8f8;
	overflow: auto;
}

/* cadenhead */
span.sourcecode {
	font-family: monospace;
	font-size: medium;
	font-weight: bold;
	font-size: large;
	background-color: #f8f8f8;
}

/* hsivonen */
ul p, ol p {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

/* programmableweb */
.imgRight {
	float: right;
}

/* gizmodo */
img.left {
	float: left;
}

/* gizmodo */
img.right {
	float: right;
}

/* gizmodo */
img.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* wikipedia */
table {
	width: auto !important;
}

/* del.icio.us */
.delicious-tags {
	font-size: x-small;
	text-align: right;
}

/* musings */
img.mathlogo, img.svglogo {
	float: right;
	border: 0;
}

math {
	white-space: nowrap;
}

math[display=block] {
	overflow: auto;
}

.numberedEq span, .eqno {
	float: right;
}

/* sutor */
img.post-img-right {
	float:right;
}

/* niall */
img.floatright {
	float: right;
}

/* jason kolb */
.FeaturedPost > li {
	list-style-type: none;
	background-color: #f8f8f8;
}

/* Tantek */
ul.tags,ul.tags li,h4.tags {
	display:inline;
	font-size: x-small
}

ul.tags a:link, ul.tags a:visited {
	color:green
}

a[rel='tag'] img {
    border: 0;
}  

/* DiveIntoMark */
.framed {
	float: none;
}

/* BurningBird */
.update:before {
	content: 'Update';
	font-weight: bold;
}

.update {
    margin: 2em;
    padding: 0 1em 0 1em;
    background: #eee;
    border: 1px solid #aaa;
}

/* ----------------------------- Footer ---------------------------- */

#footer {
	padding: 0px;
	margin: 30px 50px 50px 0px;
}

#footer p {
	padding: 2px 5px 2px 2px;
	background-color: #ccc;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	border-right: 1px solid #aaa;
	letter-spacing: 0.15em;
	text-align: right;
}
