/* global */

    body{
		background:#4D96B8;
		direction:rtl;
        font:100% "tahoma", Arial, Helvetica, Sans-Serif;
		color:#444;
		line-height:160%;
		margin:0;
		padding:0 0 1em 0;
		text-align:center;
        }

    /* headings */
        h1{
			font-size:200%;
			font-weight:normal;
            }
		h2, h3, h4, h5, h6{
			font-weight:normal;
			margin:1em 0;
			}
        h2{
			font-size:25px;
			font-weight:bold;
			padding-bottom:.75em;
			background:url(../img/bg_line.gif) no-repeat 0 100%;
            margin-bottom:.5em;
			}
        h3{          
			font-size:20px;
			font-weight:bold;
            }
        h4{
			font-size:16px;
            }
    /* // headings */

    /* image replacement */
        .graphic, #header h1{
            margin:0;
            padding:0;
            display:block;
            overflow:hidden;
            text-indent:-8000px;
            }
    /* // image replacement */

    /* clearfix */

		#content:after, .fixed:after{
			content:".";
			display:block;
			height:0;
			clear:both;
			visibility:hidden;
			}
		#content, .fixed{
			display:block;
			}
		/*  \*/
		#content, .fixed{
			min-height:1%;
			}
		* html #content, * html .fixed{
			height:1%;
			}

    /* // clearfix */
	
	/* HTML Tags */
        a{
			color:#387287;
			text-decoration:none;
			outline:none;
            }
        a:hover{
			color:#999;
			text-decoration:none;
            }
		table, input, textarea, select, li{
			line-height:160%;
			color:#242424;
			}
		p, blockquote, ul, ol, form{
			line-height:1.7em;
			margin:0 0 15px;
			}
		blockquote{
			}
		img{
			border:none;
			}
		hr{
			display:none;
			}
		table{
			margin:1em 0;
			width:100%;
			border-collapse:collapse;
			}
		th, td{
			padding:2px 5px;
			}
		th{
			text-align:right;
			}
		li{
			display:list-item;
			}

	/* // HTML Tags */

/* // global */

/* page setup */

	#container{
		margin:0 auto;
		width:854px;
		text-align:right;
		position:relative;
		}
	#header{
		background:url(../img/bg_header.png) no-repeat 0 0;
		height:95px;
		position:relative;
		}
	#content{
		background:#fff;
		padding:1em 0 1.5em 0;
		}
	#main{
		float:right;
		display:inline;
		width:470px;
		margin-right:55px;
		}
	#side{
		float:right;
		display:inline;
		width:274px;
		margin-right:24px;
		position:relative;
		}
	#footer{
		clear:both;
		background:#366980;
		padding:0 48px;
		color:#fff;
		height:60px;
		}

/* //page setup */


/* navigation elements */

	/* main nav */	
		ul#nav,  
		ul#nav li{
			margin:0;
			padding:0 5px;
			list-style:none;
			}
		ul#nav{
			background:#366980;
			height:55px;
			}
		ul#nav li{
			float:right;
			display:inline;
			height:55px;
			line-height:55px;
			}
		ul#nav li a{
			float:right;
			display:inline;
			height:55px;
			line-height:55px;
			font-size:17px;
			color:#fff;
			padding:0 15px;
			}
		ul#nav li.selected a, ul#nav li a:hover{
			color:#333;
			background:#fff;
			}
	/* //main nav */
	
	/* meta nav */
		#header ul,  
		#header ul li{
			margin:0;
			padding:0;
			list-style:none;
			}
		#header ul{
			height:55px;
			position:absolute;
			top:25px;
			left:7px;
			background:url(../img/bg_nav.png) no-repeat 0 0;
			padding:0 20px;
			}
		#header ul li{
			float:right;
			display:inline;
			height:55px;
			line-height:55px;
			padding:0 10px;
			}			
		#header ul li a{
			float:right;
			display:inline;
			height:55px;		
			line-height:55px;			
			font-size:13px;
			color:#fff;
			text-transform:lowercase;
			}
		#header ul li a:hover{
			color:#aaa;
			}

		#header #counter {
			background:url(../img/counter.gif);
			height:75px;
			left:18px;
			padding:5px 5px 0 0;
			position:absolute;
			top:-2px;
			width:75px;
		}
	/* //meta nav */

	/* sub nav */
		#side ul,  
		#side ul li{
			margin:0;
			padding:0;
			list-style:none;
			}
		#side ul{
			margin:1em 0;
			}
		#side ul li{
			border-bottom:1px solid #e5e5e5;
			padding:.5em 0;
			}
		#side ul li a{
			display:block;
			text-decoration:none;
			font-weight:normal;
			}
	/* //sub nav */		

/* //navigation elements */

/* header */
	#header h1{
		position:absolute;
		float:right;
		right:15px;
		top:15px;
		height:64px;
		width:150px;
		background:url(../img/azkar_logo.png) no-repeat 0 0;
		}
	#header h1 a{
		display:block;
		height:64px;
		}
/* // header */

/* content */
	#main a{
		font-weight:bold;
		}	
	.img{
		border:5px solid #fcfcfc;
		float:right;
		}
	.right{
		float:left;
		}

	/* intro */
		#intro{
			background:#fff url(../img/bg_intro.jpg) no-repeat 0 0;
			height:196px;
			position:relative;
			}
		#intro p{
			margin:0;
			margin-right:48px;
			padding-top:60px;
			font-size:18px;
			line-height:130%;
			width:400px;			
			color:#fff;
			}	
		#intro p a{
			color:#fff;
			padding:0 2px;
			}				
		#intro p a:hover{
			background:#366980;
			color:#fff;
			}							
		#intro img{
			position:absolute;
			right:448px;
			top:42px;
			}
	/* // intro */		

	/* form */
		form{
			margin:1em 0;
			}
		fieldset{
			border:none;
			margin:0;
			background:#f1f1f1;
			border:5px solid #e7e7e7;
			padding:1em 15px;			
			}
		legend{
			display:none;
			}
		label{
			float:right;
			clear:both;
			width:120px;
			margin-left:10px;
			margin-top:5px;
			text-align:left;
			}
		input, textarea{
			width:250px;
			border:1px solid #ccc;
			padding:5px;
			margin:5px 0;
			}			
		textarea{
			height:80px;
			overflow:auto;
			}						
		form p{
			clear:both;		
			margin:0;
			}	
		form h3{
			margin:1em 0 .5em 0;
			font-size:25px;
			}				
		button{
			border:none;
			width:171px;
			height:33px;
			line-height:33px;
			text-align:center;			
			padding:0;
			margin:0;
			margin-right:15px;
			background:url(../img/bg_button.gif) no-repeat 0 0;	
			color:#555;
			font-weight:bold;
			font-size:14px;
			cursor:pointer;			
			}										
		.submit{
			text-align:left;
			height:52px;
			margin:1em 0;					
			}
		span.error{
			display:block;
			color:#a50000;
			font-weight:bold;
			margin-right:130px;
			}
	/* // form */

/* // content */

/* footer */
	#footer p{
		margin:0;
		padding-top:15px;
		}
	#footer a{
		color:#fff;
		}
	#footer a:hover{
		color:#aaa;
		}		
	#footer ul{
		float:left;
		padding:15px 0 0 0;
		margin:0;
		}
	#footer li{
		display:inline;
		margin:0 10px 0 0;
		padding:0;
		list-style:none;
		}
/* // footer */

/* Classes */
#search_results .message {
	font-weight:bold;
}
.green {
	color:green;
}
.red {
	color:red;
}

#search_results .book_name {
	font-size:125%;
	margin-bottom:5px;
}
#search_results .hadith {
}

.highlight {
	background-color:yellow;
}
/* // Classes */