#maincenterdiv
{
width:1000px; margin:auto; background-color:white; border:white 10px solid;
	  	box-shadow: 0 1px 10px black;

}



#homelib{
width:100%; height:auto}
#homelib img
{
		padding: 0px 0px 0;
		border:5px rgb(94, 10, 10) solid;
	  	box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
  		-moz-box-shadow: 0 1px 2px rgba(34,25,25,0.4);
  		-webkit-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
		margin-bottom: 0px;
		margin-left:5px; margin-right:7px;
}


#library{
width:100%; height:auto;
}
#library img { margin:0 5px 10px; padding:0px; border:8px solid white; border-radius: 0px; width:200px; height:300px;
	  	box-shadow: 0px 1px 3px #520202;
  		-moz-box-shadow: 0 1px 2px rgba(34,25,25,0.4);
  		-webkit-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
}

#langeng{
width:46px; height:157px;  position:fixed; top:275px; left:0px; z-index:10000;}
#langurdu{
width:46px; height:157px;  position:fixed; top:275px; right:0px; z-index:10000;}
#bannerwrap{ width:100%; height:auto;}
#bannerdiv{width:1000px; height:180px; background-image:url(../images/logo1.jpg); margin:auto;}
#videodiv{width:100%; height:auto; }
#videodiv img { margin:0 1px 8px; padding:3px; border:1px solid #eee9e9; border-radius: 4px;}

#masjidimgdiv{width:100%; height:auto; }
#masjidimgdiv img { margin:0 3px  8px ;; border:10px solid #d5d8da; border-radius: 8px;}

#mediadiv{width:100%; height:auto; }
#mediadiv img { width:900px; margin:0 1px 8px; padding:3px; border:1px solid #053f66; border-radius: 4px;}

#certdiv{width:100%; height:auto; }
#certdiv img { margin:15px; padding:0; border:5px solid #FFF; border-radius: 0px; box-shadow:0px 0px 3px #555}

#gallerydiv{width:100%; height:auto; }
#gallerydiv img { margin:0 6px 12px; border:0px solid #FFF; padding:0px; box-shadow:0px 0px 0px; border:5px solid #FFF; box-shadow:0px 0px 3px #333 }



body {
	margin:0px;
	padding:0px;
	color:#3f0404;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:13px;
	line-height:1.5em; 
	background-color:#FFF;
	background: #ffffff url(../images/n12.html) top fixed;
	 
}
.border p.urdu{text-align:right;}
a, a:link, a:visited {
	color: #520f0f; 
	text-decoration: none;
}

a:hover {
	color: #97b413;
	text-decoration: underline;
}

p { margin: 0px; padding: 0 0 10px 0; }
img { border: none; }

h1, h2, h3, h4, h5{ font-weight: normal; }

h1 { font-size: 36px; color: #000; }
h2 { font-size: 24px; color: #000; margin: 0 0 20px 0; padding: 0; }
h3 { font-size: 21px; color: #ccc; margin: 0 0 20px 0; padding: 0; }
h4 { font-size: 18px; color: #000; margin: 0 0 10px 0; padding: 0; }
h5 { font-size: 16px; color: #000; margin: 0 0 10px 0; padding: 0; }
h6 { font-size: 14px; margin: 0 0 5px 0; padding: 0;}

.cleaner { clear: both; width: 100%; height: 0px; font-size: 0px;  }

.cleaner_h10 { clear: both; width:100%; height: 10px; }
.cleaner_h20 { clear: both; width:100%; height: 20px; }
.cleaner_h30 { clear: both; width:100%; height: 30px; }
.cleaner_h40 { clear: both; width:100%; height: 40px; }
.cleaner_h50 { clear: both; width:100%; height: 50px; }
.cleaner_h60 { clear: both; width:100%; height: 60px; }

.float_l {
	float: left;
}

.float_r {
	float: right;
}

blockquote { font-style: italic; }
cite { font-weight: bold; }
cite span { color: #000; } 

.button a{
	clear: both;
	display: block;
	width: 103px;
	height: 23px;
	padding: 4px 0 0 0;
	background: url(../images/templatemo_button.html) no-repeat;

	color: #fff;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
}

.button a:hover {
	background: url(../images/templatemo_button_hover.html) no-repeat;
}

#header_wrapper {
	width: 1000px;
	margin: auto;
	padding: 0 0px;
}

#header {
	width: 1000px;
	height: 100px;
	padding: 0 30px;
}

#header  #site_title {
	float: left;
	width: 360px;
	padding: 30px 0 0 0;
}

#header  #site_title h1 {
	margin: 0;
	padding: 0;
	margin-top:5px;
}

#header  #site_title h1 a{
	margin:5px 0 0 0px;
	padding: 0px;
	font-size: 25px;
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
	font-stretch:condensed;
	font-family:Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

#header  #site_title h1 a span {
	display: block;
	text-align: right;
	font-size: 14px;
	color: #CCC;
	font-weight: bold;
	letter-spacing: 2px;
}

#header  #site_title2 {
	float:right;
	width: 360px;
	padding: 30px 0 0 0;
}

#header  #site_title2 h1 {
	margin: 0;
	padding: 0;
}

#header  #site_title2 h1 a{
	margin: 0px;
	padding: 0px;
	float:right;
	font-size: 25px;
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
	font-stretch:condensed;
	font-family:Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

#header  #site_title2 h1 a span {
	display: block;
	text-align: left;
	font-size: 14px;
	color: #CCC;
	font-weight: bold;
	letter-spacing: 2px;
}

/* menu */

#navbar {
	clear: both; background-color:#ddcccc; width:1000px;
	height: 38px; margin-bottom:10px; background-image:url(../images/menubar.jpg);
}

#navbar ul {

	list-style: none; margin-left:-40px;
}

#navbar ul li {
	padding:5px 0px 0px 0px;
	margin: 0px;
	float:left;
	display: inline;
	position:relative;	
}

#navbar ul li a {
	width: auto; 
	display: block;
	height: 30px;
	padding: 3px 20px 0px 20px;
	margin-left: 1px;
	text-align: center;
	font-size: 15px; font-weight:500;
	text-decoration: none;
	color: #FFFFFF;	
	outline: none;

}
#navbar ul li a.english {
	width: auto; 
	display: block;
	height: 28px;
	padding: 7px 19px 0px 19px; font-weight:bold;
	margin-right: 0px;
	text-align: center;
	font-size: 24px;
	text-decoration: none;
	color: #ebe3e3; background-color:white; border-radius:10px 10px 0px 0px;
	font-weight: bold;
	outline: none;

}
#navbar ul li a.english:hover{
color:#b0bac2; font-size:22px;
}

#navbar li a:hover, #navbar li a.current{
	 background-color:rgb(2, 17, 9); color:#f1f1f1; border-radius:10px 10px 0px 0px;
}







#navbar ul li ul{
	top:38px;
	position:absolute;
	left:40px;
	margin-right:0px;
	border-top:white 1px solid;
	background-color:#b40404;
	padding-top:10px;
	padding-bottom:10px;
	visibility:hidden;
	border-top-left-radius:10px;
	border-bottom-left-radius:10px;
	border-top-right-radius:10px;
	border-bottom-right-radius:10px;
	z-index:999; width:180px;
opacity: 0.9;
	  	box-shadow: 0 1px 10px black;
  		-moz-box-shadow: 0 1px 2px rgba(34,25,25,0.4);
  		-webkit-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
		border: white 2px solid;

} 
#navbar ul li ul li
{
border-left:none; margin-left:-40px;}


#navbar ul li:hover ul{
	visibility:visible;
}

#navbar ul li ul li a{
	display:block;
	height:35px;
	line-height:27px;
	width:180px;
	text-align:left;
	margin-right:5px;
	margin-left:5px;
	margin-top:3px;
	margin-bottom:3px;
	border-radius:5px;
	border:none;
	color:#fff;
	padding-right:0px;
	font-size:17px;
	z-index:999;
	padding-top:5px;
}
#navbar ul li ul li a:hover{
	background:#de0002; border-radius:10px; border-top:none; border-bottom:2px solid white; color:white
}



/* end of english menu */


/* menu urdu */

#navbarurdu {
	clear: both; background-color:#b40404; width:1000px;
	height: 38px; background-image:url(../images/menubar.jpg); margin-bottom:10px;
}

#navbarurdu ul {

	list-style: none; margin-left:-40px;
}

#navbarurdu ul li {
	padding:3px 0px 0px 0px;
	margin: 0px;
	float:right;
	display: inline;
	position:relative;	
}

#navbarurdu ul li a {
	width: auto; 
	display: block;
	height: 33px;
	padding: 0px 23px 0px 23px;
	margin-right: 0px;
	text-align: center;
	font-size: 14px;
	text-decoration: none;
	color: #9a9c9e;	
	font-weight: bold;
	outline: none;

}
#navbarurdu ul li a.english {
	width: auto; 
	display: block;
	height: 28px;
	padding: 7px 19px 0px 19px; font-weight:bold;
	margin-right: 0px;
	text-align: center;
	font-size: 24px;
	text-decoration: none;
	color: #dac3c3; background-color:white; border-radius:10px 10px 0px 0px;
	font-weight: bold;
	outline: none;

}
#navbarurdu ul li a.english:hover{
color:#990626; font-size:22px;
}

#navbarurdu li a:hover, #navbarurdu li.current{
margin-top:2px;
}



#navbarurdu ul li ul{
	top:38px;
	position:absolute;
	right:00px;
	margin-right:0px;
	border-top:rgb(122, 6, 6) 1px solid;
	background-color:#990000/*008040*/;
	padding-top:10px;
	padding-bottom:10px;
	visibility:hidden;
	z-index:999; width:180px;
opacity: 0.9;
	  	box-shadow: 3px 3px 4px black;
		border: white 2px solid; border-top:none;

} 
#navbarurdu ul li ul li
{
border-left:none;}


#navbarurdu ul li:hover ul{
	visibility:visible;
}

#navbarurdu ul li ul li a{
	display:block;
	height:35px;
	line-height:27px;
	width:170px;
	text-align:right;
	margin-right:5px;
	margin-left:5px;
	margin-top:3px;
	margin-bottom:3px;
	border-radius:5px;
	border:none;
	color:rgb(131, 19, 19);
	padding-right:5px;
	font-size:17px;
	z-index:999;
	padding-top:5px;
}
#navbarurdu ul li ul li a:hover{
	background:#b8a5a6/*00592D*/; border-radius:10px; border-top:none; border-bottom:2px solid white;
}



/* end of menu urdu*/



/* Arabic menu  */

#navbararbi {
	clear: both; background-color:#b40404; width:1000px;
	height: 38px; background-image:url(../images/menubar.jpg); margin-bottom:10px;
}

#navbararbi ul {

	list-style: none; margin-left:-40px;
}

#navbararbi ul li {
	padding:3px 0px 0px 0px;
	margin: 0px;
	float:right;
	display: inline;
	position:relative;	
}

#navbararbi ul li a {
	width: auto; 
	display: block;
	height: 33px;
	padding: 0px 17px 0px 17px;
	margin-right: 0px;
	text-align: center;
	font-size: 14px;
	text-decoration: none;
	color: #75191e;	
	font-weight: bold;
	outline: none;

}
#navbararbi ul li a.english {
	width: auto; 
	display: block;
	height: 28px;
	padding: 7px 19px 0px 19px; font-weight:bold;
	margin-right: 0px;
	text-align: center;
	font-size: 24px;
	text-decoration: none;
	color: #990000; background-color:white; border-radius:10px 10px 0px 0px;
	font-weight: bold;
	outline: none;

}
#navbararbi ul li a.english:hover{
color:#744201; font-size:22px;
}

#navbararbi li a:hover, #navbararbi li.current{
margin-top:2px;
}



#navbararbi ul li ul{
	top:38px;
	position:absolute;
	right:00px;
	margin-right:0px;
	border-top:white 1px solid;
	background-color:#990000/*008040*/;
	padding-top:10px;
	padding-bottom:10px;
	visibility:hidden;
	z-index:999; width:180px;
opacity: 0.9;
	  	box-shadow: 3px 3px 4px black;
		border: white 2px solid; border-top:none;

} 
#navbararbi ul li ul li
{
border-left:none;}


#navbararbi ul li:hover ul{
	visibility:visible;
}

#navbararbi ul li ul li a{
	display:block;
	height:35px;
	line-height:27px;
	width:170px;
	text-align:right;
	margin-right:5px;
	margin-left:5px;
	margin-top:3px;
	margin-bottom:3px;
	border-radius:5px;
	border:none;
	color:#fff;
	padding-right:5px;
	font-size:17px;
	z-index:999;
	padding-top:5px;
}
#navbararbi ul li ul li a:hover{
	background:#de0002/*00592D*/; border-radius:10px; border-top:none; border-bottom:2px solid white;
}


/* Arabic menu end */


/*search_news*/
#search_news{
	height:45px; 
	width:100%;
	background:url(../images/news_background.html) repeat-x;
	border-radius:5px; 
	margin-left:auto; 
	margin-right:auto;
	margin-top:0px; 
	margin-bottom:6px;
}
#search_news img
{
margin-top:3px;
margin-left:3px; border-radius:5px;}
.search_field{
	float:left;
	height280px;
	margin-left:30px;
	margin-top:8px;
	border:2px solid rgb(191, 197, 204);
	border-top-left-radius:5px;
	border-bottom-left-radius:5px;
	border-top-right-radius:7px;
	border-bottom-right-radius:7px;
}
#search_box{
	height:26px;
	border:none;
	border-top-left-radius:5px;
	border-bottom-left-radius:5px;
	margin-right:0px;
	float:left;
}
#search_btn{
	margin-left:0px;
	border:none;
	height:26px;
	width:25px;
	background:url(../images/search_icon.html) no-repeat;
	border-top-right-radius:5px;
	border-bottom-right-radius:5px;
}

#news_field{
	float:right;
	margin:5px 30px 0 0;
	width:700px;
	height:30px;
}
#news_field h3{
	line-height:30px;
	float:right;
	color:#333;
}
#news_field a{
	width:600px;
	height:28px;
	line-height:30px;
	float:right;
	font-size:16px;
	margin-right:10px;
	color:#FFF;
}
#news_field a marquee:hover{
	text-decoration:underline;}

/* banner*/

#banner {
	width: 920px;
	height: 285px;
	padding:0px 30px;
	overflow: hidden;
}
#banner img{
width:920px;
height:300px;
}

#banner h3 {
	color: #06243d;
	font-size: 42px;
}

#banner p {
	color: #9c0404;
	font-size: 16px;
}

/* end of banner */

#content_wrapper_outer {
	width: 100%;
	 margin-top:1px;
	border-top: 1px solid #e4870e;
	
}

#content_wrapper_inner {
	width: 100%;
		
}

#content_wrapper {
	width: 960px; background-color:white;
	margin:0 auto;
	padding: 20px;
	
}

#content {
	width: 660px;
	float: left; 
	position:relative;border:1px solid #bbb;
margin:10px 0px; padding:10px;
background:#FFFFFF url(../images/matterbg.jpg) bottom repeat-x;
border-radius:8px; 
	
}
#content h2{
color:#990000; font-weight:bold;
}

#content p{
	 font-size:16px; line-height:25px;}
#contentother {
	width: 940px;
	position:relative;border:1px solid #bbb;
margin:10px 0px; padding:10px;
background:#FFFFFF url(../images/matterbg.jpg) bottom repeat-x;
border-radius:8px;
}
#contentother h2{
color:#990000; font-weight:bold;
}

#matterdiv{
width:940px; height:auto;
}
#contentother p{
font-size:16px; line-height:25px;}

.service_box {
	width: 280px;
}

.service_image {
	float: left;
	width: 64px;
	margin: 3px 0 0 0;
}

.service_box .service_text {
	float: right;
	width: 200px;
	text-align: justify;
}

.services_section {
	clear: both;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid #CCC;
	background: url(../images/templatemo_divider.html) bottom repeat-x;	
}

.services_section h4 {
	margin-bottom: 20px;
}

.services_section .right {
	float: right; 
	width: 120px;
}

.services_section .right img {
}

.services_sectio .services_content {
	clear: both;
	margin: 10px 0;
}

.services_section .left {
	float: left; 
	width: 470px;
}

.services_section .left p {
	text-align: justify;
}


.post_section {
	clear: both;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid rgb(146, 11, 11);
	background: url(../images/templatemo_divider.html) bottom repeat-x;	
}

.post_section h2  {
	margin: 0 0 5px 0;
	padding: 10px 0 5px 0;
	background: url(../images/header.html) no-repeat bottom left;
}

.post_section .post_content {
	clear: both;
	margin: 10px 0;
}
.post_content .left {
	float: left; 
	width: 130px;
}

.post_content .left img {
	border:1px solid #CCC;
	padding: 5px;
	background: #fff;
}

.post_content .right {
	float: right; 
	width: 450px;
}

.post_section p {
	padding-bottom: 5px;
	margin-bottom: 8px;
}

.post_section .comment_tab {
	padding: 10px 0;
	margin: 40px 0 20px 0;
	border-bottom: 1px dashed #666;
	font-size: 20px;
	font-weight: bold;
}



/* gallery */
#gallery {
		width: 610px;
	}
	#gallery ul { list-style: none; margin: 0; padding: 0; }
	#gallery ul li {
		float: left;
		display: inline; 
		padding: 0;
		margin: 0;
		width: 270px;
		padding: 6px;
		margin: 0 20px 20px 0;
		background: #190564;
		border: 1px solid #72092c;
	}
	#gallery ul img {
		width: 270px;
		height: 130px;
		border: none;
		margin-bottom: 5px;
	}
/* end of gallery */

#contact_form {
	float: left;
	padding: 20px 0 0 0;
}

#contact_form form {
	margin: 0px;
	padding: 0px;
	/*border:1px solid #e2d1be;
	padding: 20px 20px 10px 20px; */
}

#contact_form form .input_field {
	height: 18px;
	width: 230px;
}

#contact_form form label {
	display: block;
	margin-right: 10px;
	font-size: 14px;	
}

#contact_form form textarea {
	width: 310px;
	height: 150px;
}

#contact_form form .submit_btn {
	float: left;
	margin-right: 110px;
	width: 103px;
	height: 27px;
	padding: 0px 0 0 0;
	text-align: center;
	cursor: pointer;
	border: none;
	color: rgb(105, 4, 9);
	background: url(../images/templatemo_button.html) no-repeat;
}


/* sidebar */

#sidebar {
	float: right;
	width: 252px;
}


.section_rss_twitter {
	width: 240px;
	margin-top: 20px;
	margin-bottom: 120px;
}

.rss_twitter a{
	display: block;
	width: 240px;
	color: #333;
	padding: 20px 0 0 0;
	margin-bottom: 40px;
	font-size: 24px;
	font-weight: bold;
	text-decoration: none;
}

.rss_twitter a:hover {
	text-decoration: none;	
}

.rss_twitter a span {
	font-size: 15px;
	margin-top: 5px;
	display: block;
	letter-spacing: 5px;
}

.rss a{

	background: url(../images/rss.html) right bottom no-repeat;
}

.twitter a{

	background: url(../images/twitter.html) right bottom no-repeat;
}


#sidebar_featured_project {
	margin: 0 0 40px 0;
	padding: 0;
}

#sidebar_featured_project .left {
	float: left;
	width: 64px;
}

#sidebar_featured_project .right {
	float: right;
	width: 170px;
}

#sidebar_featured_project h6 a{
	color: #fff;
}

#news_section {
	margin: 0 0 40px 0;
	padding: 0;
}

.news_section h3 {
}

.news_box a {
	font-weight: normal;
	text-decoration: underline;
}

.news_box  {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dashed #CCC;
}

/* end of sidebar */

/* footer */

#footer_wrapper {
	clear: both;
	width: 100%;
	background-color:#08565c;
	border-top:#dee2dd 1px solid;
	background-image:url(../images/z4scbg.html);
}


#footer {
	clear: both;
	width: 940px;
	padding: 20px 20px;
	margin: 0 auto;
	text-align: center;
	color: #FFFFFF;
}

#footer a {
	color: #FFFFFF;
	font-weight: normal;
	text-decoration: underline;
}

#footer a:hover {
	color: #c7cec5; font-size:16px;
	text-decoration: none;
}

#footer .footer_menu {
	margin: 0 0 10px 0;
	padding: 0px;
	list-style: none;
}

.footer_menu li {
	margin: 0px;
	padding: 0 20px 0 0;
	display: inline;
}

.footer_menu li a {
	color: #ffffff;
}

.footer_menu .last_menu {
	border: none;
}
#footer p
{
font-size:15px; line-height:20px;}
/* end of footer */