html{
	overflow: scroll;
	overflow-x: hidden;
}
body{
	margin: 0px;
	padding-top: 25px;
	font-family: arial;
	font-size: 12px;
	color: #131415;
	background-image:url(bg-repeater-body.jpg);
	background-repeat: repeat-x;
}
h1{
	margin: 3px 0px;
	font-size: 18px;
	color: #1F4E7A;
	border-bottom: solid 1px;
}
h2{
	margin: 3px 0px;
	font-size: 14px;
	color: #1F4E7A;
	border-bottom: solid 1px;
}
h3{
	margin: 0px;
	font-size: 13px;
}
h4{
	margin: 0px 0px 20px 0px;
	font-size: 11px;
}
h5{

}
h6{

}
a{
	color: #131415;
}
a:hover{
	color: #007DFF;
}
a img{
	border: none;
}
p{
	margin: 3px 0px;
	text-align: justify;
}
form{
	margin: 0px;
	padding: 0px;
}
input,select,textarea{
	font-family: arial;
	font-size: 12px;
	border: solid 1px #333333;
}
input[type=checkbox],input[type=radio]{
	border: none;
}
textarea{
	overflow: auto;
}
label{
	display: -moz-inline-stack;
	display: inline-block;
	width: 150px;
	margin-right: 20px;
	padding: 5px;
	vertical-align: top;
}
ul{
	margin: 0px 30px;
}
li{
	margin: 10px 0px;
}

#parent{
	display: block;
	width: 850px;
	margin: 0px auto;
}
#header{
	position: relative;
	display: block;
	width: 850px;
	height: 150px;
	margin: 0px auto;
	/*background-image:url(bg-repeater-header.jpg);*/
	background-image:url(mainimage-1.jpg);
	background-repeat: no-repeat;
}
#header h1{
	position: absolute;
	top: 30px;
	left: 10px;
	font-family: arial;
	font-size: 18px;
	color: #FFFFFF;
	margin: 0px;
	border: none;
}
#header h2{
	position: absolute;
	top: 50px;
	left: 10px;
	font-family: arial;
	font-size: 14px;
	font-style: italic;
	color: #FFFFFF;
	margin: 0px;
	border: none;
}
#titlebar{
	display: block;
	width: 840px;
	height: 15px;
	margin: 0px auto;
	padding: 5px;
	background-image:url(bg-repeater-titlebar.jpg);
	background-repeat: repeat-x;
	text-align: right;
	font-size: 11px;
	color: #FFFFFF;
}
#titlebar a{
	font-size: 11px;
	color: #FFFFFF;
	text-decoration: none;
}
#titlebar a:hover{
	text-decoration: underline;
}
#mainnav{
	position: relative;
	display: block;
	width: 850px;
	margin: 0px auto 3px auto;
	border-top: solid 1px #131415;
	border-bottom: solid 1px #131415;
	color: #8CC2F7;
}
#mainnav a{
	display: -moz-inline-stack;
	display: inline-block;
	width: 110px;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	font-size: 12px;
	font-weight: normal;
	color: #131415;
	text-decoration: none;
}
#mainnav a:hover{
	background-color: #131415;
	color: #FFFFFF;
	font-weight: bold;
}
#mainnav form{
	position: absolute;
	top: 2px;
	left: 680px;
	display: -moz-inline-stack;
	display: inline-block;
	width: 200px;
	margin: 0px;
}
#mainnav input{
	background-color: #FFFFFF;
	border: solid 1px #131415;
	color: #131415;
}
/*#mainnav input:hover{
	border: solid 1px #007DFF;
}*/
#maincontent{
	display: block;
	width: 850px;
	margin: 0px auto;
	padding: 0px;
}
#footer{
	display: block;
	width: 850px;
	margin: 20px auto 0px auto;
	font-size: 10px;
	border-top: solid 1px #131415;
}

#mainleft{
	float: left;
	width: 200px;
	margin-right: 5px;
	padding: 1px 5px;
	background-color: #FFFFFF;
	color: #131415;
}
#mainleft h3{
	display: block;
	height: 20px;
	margin: 0px;
	padding: 3px;
	background-color: #131415;
	color: #FFFFFF;
	font-size: 14px;
	border: none;
	background-image:url(bg-repeater-titlebar.jpg);
	background-repeat: repeat-x;
}
#mainleft p{
	margin: 0px;
}
#mainleft a{
	display: block;
	text-decoration: none;
	padding: 4px;
	text-align: left;
}
#mainleft a:hover{
	text-decoration: none;
	background-color: #B5D0EC;
	color: #131415;
}

#mainright{
	float: left;
	width: 630px;
	text-align: justify;
}
#minaret{
	position: absolute;
	left: 0px;
	top: -25px;
}

#namazTimes{
	display: block;
	width: 200px;
	height: 250px;
	background-image: url(namazTimes.jpg);
	background-repeat: no-repeat;
	padding-top: 9px;
}
#namazTimes p{
	margin: 0px;
	margin-bottom: 11px;
	margin-left: 135px;
	font-size: 15px;
	font-weight: bold;
	color: #103C69;
}

#eventPhotos{
	height: 380px;
	margin: 20px auto;
	overflow: auto;
	overflow-x: hidden;
}
#eventPhotos div{
	float: left;
	display: block;
	padding: 1px;
}
#eventPhotos div:hover{
	color: #FF9600;
	background-color: #1C1A18;
}
#eventPhotos div:hover a{
	color: #FF9600;
	background-color: #1C1A18;
	text-decoration: none;
}
#eventPhotos div:hover a:hover{
	text-decoration: underline;
}
#viewpane{
	width: 600px;
	margin: 0px;
	padding: 0px;
}
#viewpane img{
	border: solid 1px #1C1A18;
}

#rttoday{
	float: left;
	width: 285px;
	padding: 10px;
	font-size: 14px;
}
#rttomorrow{
	float: left;
	padding: 10px;
	font-size: 14px;
}
#rttoday p,#rttomorrow p{

}
#rttoday p span,#rttomorrow p span{
	display: -moz-inline-stack;
	display: inline-block;
	width: 30px;
	font-size: 10px;
}
#rttoday p b,#rttomorrow p b{
	font-weight: normal;
	color: #235280;
}
.rtdate{
	font-weight: bold;
	color: #235280;
	font-size: 18px;
	padding-bottom: 5px;
}
.rtdate-small{
	font-weight: bold;
	font-size: 11px;
	padding: 4px 0px 9px 0px;
}
.rttime{
	padding-left: 65px;
}

.label-title{
	display: block;
	width: 100%;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 10px;
	border-bottom: solid 1px;
}
.panel{
	position: relative;
	display: block;
	width: 296px;
	height: 150px;
	float: left;
	margin: 3px 3px 6px 3px;
	padding: 0px;
	padding-top: 20px;
	border: solid 3px #E9EEF4;
}
.panel:hover{
	border: solid 3px #133D69;
}
.panel h3{
	position: absolute;
	top: -5px;
	left: -3px;
	display: block;
	width: 292px;
	height: 20px;
	margin: 0px;
	padding: 5px;
	background-image:url(bg-repeater-titlebar.jpg);
	background-repeat: repeat-x;
	color: #FFFFFF;
	font-size: 14px;
	border: none;
}
.panel a{
	display: block;
	text-decoration: none;
	padding: 4px;
	text-align: left;
}
.panel a:hover{
	text-decoration: none;
	background-color: #B5D0EC;
	color: #131415;
}
.panel p{
	margin: 0px 0px 0px 0px;
	
}
.panel .bottomLink{
	position: absolute;
	left: 245px; 
	top: 145px;
	text-align: right;
}
.panel .bottomLink:hover{
	background-color: #FFFFFF;
	text-decoration: underline;
}
.articleTitle{
	
}
.articleTitle a{
	display: block;
	text-decoration: none;
	padding: 4px;
	text-align: left;
}
.articleTitle a:hover{
	text-decoration: none;
	background-color: #B5D0EC;
	color: #131415;
}
.categoryTitle{
	
}
.categoryTitleSelected{
	display: block;
	text-decoration: none;
	padding: 4px;
	text-align: left;
	background-color: #B5D0EC;
	color: #131415;
}
.categoryTitle a{
	display: block;
	text-decoration: none;
	padding: 4px;
	text-align: left;
}
.categoryTitle a:hover{
	text-decoration: none;
	background-color: #B5D0EC;
	color: #131415;
}
.librarycategorylink{
	float: left;
	display: block;
	width: 185px;
	margin: 3px; 
}
.library a{
	display: block;
	text-decoration: none;
	padding: 4px;
	text-align: left;
}
.library a:hover{
	text-decoration: none;
	background-color: #B5D0EC;
	color: #131415;
}
.events a{
	display: block;
	text-decoration: none;
	padding: 4px;
	text-align: left;
}
.events a:hover{
	text-decoration: none;
	background-color: #B5D0EC;
	color: #131415;
}
.caption{
	width: 596px;
	margin: 0px;
	padding: 2px;
	font-weight: bold;
	color: #FFFFFF;
	background-color: #1F4E7A;
	border: solid 1px #131415;
	border-bottom: none;
}

.galleryclassthumbs{

}
	.galleryclassthumbs a{
		position: relative;
		float: left;
	}
		.galleryclassthumbs a img.thumb{
			width: 92px;
			height: 61px;
		}
		.galleryclassthumbs a #mainimgframe{
			position: absolute;
			left: -300px;
			top: -200px;
			width: 600px;
			/*height: 420px;*/
			margin-bottom: 30px;
			padding: 5px;
			background-color: #999999;
			border: solid 2px #333333;
			z-index: 100;
			background-image: url(loading.bg.gif);
			background-repeat: no-repeat;
			background-position: 50% 10px;
		}
			.galleryclassthumbs a #mainimgframe img.mainimg{
				width: 600px;
			}

#lnkComment:hover{
	cursor: pointer;
}
#frmComment ul li{
	list-style-type: none;
}		
	#frmComment ul li input[type=text],#frmComment ul li textarea{
		width: 300px;
		font-size: 10px;
		padding: 3px;
	}			
			
/*PNGTAGS{
	behavior: url('resources/iepngfix.htc')
}*/

* html ul li a {
   height:1em;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.clearfix {
    display: inline-block;
}
html[xmlns] .clearfix {
    display: block;
}
* html .clearfix {
    height: 1%;
}