

/*
Theme Name: Zaid Al-Ali
Author: Bookswarm
Author URI: http://www.bookswarm.co.uk
Description: Custom theme for Zaid Al-Ali
Version: 1.0
Text Domain: zaid;
*/

/* --- reset --- */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

textarea, input {
	outline: none;
}

/* --- main styles --- */

body {
	background: url('images/main-bg.png');
	font-family: 'PT Sans', sans-serif;
	font-size: 12px; /* 1em */
}

.left { float: left; }
.right { float: right; }
.clear { clear: both; }

img.alignright {float:right; margin:0 0 1em 1em} 
img.alignleft {float:left; margin:0 1em 1em 0} 
img.aligncenter {display: block; margin-left: auto; margin-right: auto} 
.alignright {float:right; } 
.alignleft {float:left; } 
.aligncenter {display: block; margin-left: auto; margin-right: auto} 

/* --- typography and generic elements / classes --- */

h1,h2,h3,h4,h5,h6 {
	font-family:'PT Sans Narrow', sans-serif;
	font-weight: 700;
	line-height: 1em;
}

h1 {
	font-size: 2.750em;
	margin-bottom: 5px;
}

h2 {
	font-size: 1.750em;
	margin-bottom: 15px;
}

h3,h4,h5,h6 {
	font-size: 1.167em;
	margin-bottom: 15px;
}

strong {
	font-weight: 700;
}

.subtitle {
	font-size: 1.500em;
}

p {
	margin-bottom: 1.1em;
	line-height: 1.3em;
	font-size: 1.1em;
}

p.intro {
	font-size: 1.167em;
}

p.caption {
	display: block;
	background: url('images/comment-bg.png') no-repeat bottom left;
	padding: 5px 14px;
	font-style: italic;
	font-size: 1em;
}

p.date {
	margin-bottom: 6px;
}

a:link, a:visited {
	color: #996600;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a.button, input[type="submit"], .gform_button {
	display: inline-block;
	background: url('images/button.png') no-repeat top right;
	padding: 6px 22px 7px 6px;
	margin-right: 23px;
	color: #fff;
	/*font-family: 'Quicksand', sans-serif;*/
}

a.button:link, a.button:visited {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 12px;
	line-height: 1.1em;
}

a.button:hover {
	text-decoration: underline;
}

ol, ul {
	margin-bottom: 15px;
}

ul li, ol li {
	font-size: 1.1em;
}

ul li {
	list-style: disc;
	margin: 0 0 4px 15px;
}

li p {
	font-size: 1em;
}

ol {
	list-style: decimal;
}

ol li {
	margin: 0 0 4px 19px;
}

blockquote {
	margin-left: 20px;
	margin-right: 20px;
	font-family: 'PT Sans Narrow', sans-serif;
}

/* forms */

form p {
	margin-bottom: 2px;
}

textarea {
	border: 1px solid #ccc;
	margin-left:1px;
	height: 100px;
	margin-top: 2px;
}

input[type="text"] {
	padding: 3px;
	border: 1px solid #ccc;
}

input[type="submit"] {
	border: 0;
	padding-top: 5px;
	cursor: pointer;
	margin-top: 9px;
}

label {
	display: inline-block;
	width: 95px;
}

#sidebar .gform_wrapper .gform_footer {
	margin: 0;
	padding: 0;
}

#sidebar .gform_wrapper .top_label .gfield_label {
	display: none;
}

#sidebar .gform_fields li {
	margin-bottom: 7px;
}


/* --- structure and layout --- */

#top-pattern {
	background: url('images/top-pattern.png') repeat-x;
	height: 31px;
	width: 100%;
}

#wrapper {
	width: 1024px;
	margin: 0 auto;
	background-color: #fff;
}

#main {
	overflow: hidden;
}

/* nav */

#nav {
	background: url('images/nav-bg.png') no-repeat;
	height: 36px;
	margin-left: 23px;
	margin-right: 23px;
	padding: 5px 0;
	position: relative;
	z-index: 2;
}

#site-navigation {
	width: 665px;
	float: left;
}

#site-navigation > ul {
	overflow: hidden;
	margin-top: -5px;
	height: 36px;
}

#site-navigation li {
	display: block;
	float: left;
	margin: 0;
}

#site-navigation .rtl a {
	direction: rtl;
	text-align: right;
}

#site-navigation li a:link, #site-navigation li a:visited {
	display: block;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	padding: 12px 16px;
	font-size: 0.917em;
}

#site-navigation > ul > li > a:hover, #site-navigation > ul > li.current-menu-item > a {
	background: url('images/down-arrow.png') no-repeat top center;
}

#site-navigation > ul > li:hover > ul.sub-menu {
	display: block;	
}

#site-navigation ul.sub-menu {
	display: none;
	position: absolute;
	z-index: 999;
	width: auto;
	height: auto;
	background: #997d4a;
}

#site-navigation ul.sub-menu li:hover {
	background-color: #996600;
}

#site-navigation ul.sub-menu li {
	float: none;
	position: relative;
	margin: 0;
}

#site-navigation ul.sub-menu li a {
	border-right: 0;
	white-space: nowrap;
	padding: 10px 10px 6px;
	color: #fff;
}

#searchbox {
	width: 290px;
	float: right;
	margin-right: 23px;
}

#searchbox input {
	width: 100%;
	border: 1px solid #ccc;
	padding: 3px;
	background: #fff url('images/search.png') no-repeat right 3px center;
}

/* -- masthead -- */

#masthead {
	overflow: hidden;
	height: 307px;
	position: relative;
}

#header-img {
	position: absolute;
	z-index: 1;
}

#title {
	position: relative;
	z-index: 3;
	top: 113px;
}

#title a:link, #title a:visited {
	color: #000;
	text-decoration: none;
	display: inline-block;
	font-family: 'PT Sans Narrow', sans-serif;
}

#title a:link span.sub, #title a:visited span.sub {
	font-family: 'PT Sans', sans-serif;
}

#title .title {
	display: inline-block;
	background: url('images/transp-bg1.png') repeat-x;
	padding: 6px 12px 0;
	font-size: 5em;
	font-weight: 700;
	text-transform: uppercase;
	position: relative;
	z-index: 5;
}

#title .sub {
	display: inline-block;
	background: url('images/transp-bg2.png') repeat-x;
	padding: 12px;
	font-size: 27px;
	margin-top: -10px;
}

#arabic-title {
	position: absolute;
	right: 0;
	z-index: 5;
}


/* --- pages --- */
#page_content{
	padding: 25px 23px;
	width: 614px;
	float: left;
}

/* full width */
#page_content.fullwidth {
	width: 95.5%;
	border-right: 0;
}

/* -- homepage -- */

#newslist li {
	clear: both;
	background: url('images/dashed.png') repeat-x bottom;
	overflow: hidden;
	padding-bottom: 20px;
	margin-bottom: 20px;
	margin-left: 0;
	list-style: none;
}

#newslist li .left {
	width: 560px;
}

#newslist li .right {
	width: 460px;
	
}

#newslist li h3 a:link, #newslist li h3 a:visited {
	color: #000;
}

/* -- comments -- */

#comments {
	border-top: 4px solid #ccc;
	padding-top: 15px;
}

#respond {
	padding-top: 20px;
}

#comments .children {
	margin-left: 15px;
}

#comments .comment-body {
	padding-bottom: 15px;
}

#comments ul li {
	list-style: none;
	margin: 0 0 4px 0px;
}

.comment-author {
	margin-bottom: 3px;
}



/* --- sidebar --- */

#sidebar {
	width: 308px;
	padding: 25px 23px 0 23px;
	float: right;
	border-left: 1px solid #ccc;
	margin-bottom: 25px;
}

#sidebar form input[type="text"] {
	width: 96%;
	margin-left: 2px;
	color: #999;
}

#sidebar .widget, .border-top {
	border-top: 4px solid #ccc;
	padding-top: 23px;
	margin-bottom: 23px;
}

#sidebar img {
	display: block;
}

div#twitter-2.widget div ul li, .tweets li {
	list-style: none;
	margin: 0 0 15px 0px;
}

div#twitter-3.widget div ul li, .tweets li {
	list-style: none;
	margin: 0 0 15px 0px;
}

.rtl h2, .rtl p.intro, .rtl p.caption, .rtl p, .rtl {
	direction: rtl;
}

.rtl .gform_description {
	display: block;
	direction: rtl;
	text-align: right;
}

/* --- footer --- */

footer {
	background-color: #000;
	height: 26px;
	padding: 14px 20px 0 20px;
}


footer p, footer a:link, footer a:visited {
	color: #fff;
	font-size: 11px;
}

footer p {
	margin-bottom: 5px;
}




