﻿body
{
    background-color: #ffffff;
    font-family: Tahoma, Arial, MS Sans Serif;
    font-size: 10pt;
    color: #333333;
    margin: 0px;
    padding: 0px;
}

#formContainer
{
    width: 100%;
}

/*masterLayout-------------------------------------------------------------------------------------*/

#masterLayout
{
    width: 1020px;
    min-height:1300px;
    height:auto !important;
    margin-bottom:0px;
    margin-left: auto;
    margin-right: auto;
    background-image: url('pix/masterLayout_bg.png');
    background-repeat: repeat-y;
}

/*#masterFooter
{
    padding: 0px;
    width: 100%;
    height: 75px;
    background-color: #333399;
    margin-top:100%;
}*/

/*masterContainer-------------------------------------------------------------------------------------*/

#masterContainer
{
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    /*padding: 0px 5px 0px 5px;*/
}

#masterContainer p
{
    padding-top: 2px;
    padding-left: 5px;
    padding-bottom:5px;
    padding-right: 5px;
}

#masterContainer h3, h2
{
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 14px;
}

#masterContainer ul
{
    margin-top: 10px;
    margin-bottom: 10px;
}

/*masterBanner-------------------------------------------------------------------------------------*/

#masterBanner
{
    width: 1000px;
    padding: 0px;
    margin: 0px;
}

/*masterConent-------------------------------------------------------------------------------------*/

#masterContent
{
    padding-top: 5px;
    width: 1000px;
}

#masterContent a
{
    color: #CC0000;
    font-weight: bold;
    text-decoration: none;
}

#masterContent a:hover
{
    text-decoration: underline;
    color: #FFCC00;
}

#masterContent a:visited
{
    color: #FFCC00;
    font-weight: bold;
    text-decoration: none;
}

#masterContent p
{
    margin-top: 1px;
    margin-bottom: 5px;
    font-size: 12px;
}

#masterBanner
{
    background-color: #f0f0f0;
}

.loginBar
{
    width: 100%;
    height: 25px;
    background-color: #f0f0f0;
    vertical-align: bottom;
} 
 
.loginName
{
    text-align:center;
    float: left;
    margin-left: 5px;
    color: #cc0000;
    margin-bottom:0px;
} 

.hijriDate{
    color:#cc0000;
    font-size:10pt;
    text-align:left;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom:0px;
    vertical-align: bottom;
}

#ContentPlaceHolder1
{
    width:1000px;
    background-color: #ffffff;
}

#Content2
{
    width:1000px;
    background-color: #ffffff;
}

/*imamEditorial-------------------------------------------------------------------------------------*/


#imamEditorial
{
    width: 986px;
    border: 2px solid #F0f0f0;
    padding: 5px;
    float: left;
    background-color: #ffffff;
}

#imamEditorial h2
{
    margin: 0px 1px 4px 5px;
    color: #333399;
}

/*Hadith-------------------------------------------------------------------------------------*/


#Hadith
{
    width: 986px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
    border: 2px solid #f0f0f0;
    float: left;
    color: #333399;
    background-color: #ffffff;
}

/*left and subLeft-------------------------------------------------------------------------------------*/

.left
{
    float: left;
    width: 500px;
    padding: 5px;
    margin: 0px 6px 0px 0px;
    border: 2px solid #f0f0f0;
}

.left h3
{
    margin-bottom: 10px;
}

.left h4
{
    margin: 0px 1px 4px 0px;
    color: #333399;
    font-size: 18px;
    font-weight: bold;
}

.left h5
{
    margin-bottom: 10px;
    clear:left;

}

.left img
{
    width: 150px;
    float: left;
    padding: 0px 5px 5px 0px;
}


.event
{
    float: right;
    width: 475px;
    margin: 0px 0px 15px 0px;
}

.event h4
{
    margin: 0px 1px 4px 0px;
    color: #333399;
    font-size: 18px;
    font-weight: bold;
}

.event p
{
    color: #333399;
    text-align:center
}



/*middle and subMiddle-------------------------------------------------------------------------------------*/

.middle
{
    background-position: 2px 2px;
    float: left;
    width: 235px;
    padding: 5px;
    background-color: #FFFFFF;
    margin-left: 5px;    
    border: 2px solid #f0f0f0;
}

.subMiddle
{
    background-position: right top;
    margin-top: 6px;
    margin-bottom: 4px;
    padding: 0px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #f0f0f0;
    background-image: url('pix/sub-bg-middle.jpg');
    background-repeat: no-repeat;
}

.subMiddle h4
{
    margin: 0px 1px 4px 5px;
    color: #333399;
    font-size: 18px;
    font-weight: bold;
}

.subMiddle p
{
    margin: 1px 1px 1px 5px;
}

.subMiddle a
{
    font-size: 11px;
    color: #cc0000;
}

/*right and subRight-------------------------------------------------------------------------------------*/

.right
{
    background-position: center 2px;
    float: left;
    width: 205px;
    padding: 5px;
    background-color: #FFFFFF;
    border: 2px solid #f0f0f0;
    margin-left: 5px;
}

.subRight
{
    background-position: right top;
    margin-top: 6px;
    margin-bottom: 4px;
    padding: 0px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #f0f0f0;
    background-image: url('pix/sub-bg-right.jpg');
    background-repeat: no-repeat;
}

.subRight h4
{
    margin: 0px 1px 4px 5px;
    color: #333399;
    font-size: 18px;
    font-weight: bold;
}

.subRight p
{
    margin: 1px 1px 1px 5px;
}

.subRight a
{
    font-size: 11px;
    color: #cc0000;
}

.storyImage
{ margin-left:auto;
  margin-right:auto;
}


#generalPageFormat
{
    padding-top:20px;
   padding-left:5px;
   padding-right:5px;
   text-align:left;
}

#generalPageFormat img 
{
    margin-right:10px;
    margin-bottom:10px;
    margin-top:10px;
    float:left;
    caption-side:bottom
}

#generalPageFormat h3 
{
    text-align: left;
    color:#333399;
}

#generalPageFormat h5 
{
    margin-top:5px;
    text-align: left;
    color:#333399;
  font-size:11px;
}



.generalPageFormat
{
    padding-top:20px;
   padding-left:5px;
   padding-right:5px;
   text-align:left;
}

#generalPageFormat img 
{
    margin-right:10px;
    margin-bottom:10px;
    margin-top:10px;
    float:left;
    caption-side:bottom;
}

.generalPageFormat h3 
{
    text-align: left;
    color:#333399;
}

.generalPageFormat h5 
{
    margin-top:5px;
    text-align: left;
    color:#333399;
    font-size:11px;
    margin-bottom: 3px;
}




/*Sliding Divs on default pages*/

.ydcslider_title{	/* Styling question */
	/* Start layout CSS */
	color:#ffffff;
	font-size:13pt;
	background-color:#CC0000; /*#333399*/
    width:150px; 
	margin-bottom:2px;
	margin-top:2px;
	padding-left:2px;
	/* background-image:url('pix/bg_answer.gif');
	background-repeat:no-repeat;
	background-position:top right;	*/
	height:20px; 
	/* End layout CSS */
	overflow:hidden;
	cursor:pointer;
}

.ydcslider_box{	/* Parent box of slide down content */
	/* Start layout CSS */
	border:1px solid #333399;
	background-color:#ffffff;
	width:100%;
	/* End layout CSS */
	visibility:hidden;
	height:0px;
	overflow:hidden;
	position:relative;
}
.ydcslider_box_content{	/* Content that is slided down */
	padding:1px;
	font-size:8pt;	
	position:relative;
	text-align:left;
}
/*End of sliding Divs in audio and video pages*/

#marqueecontainer{
position: relative;
width: 200px; /*marquee width */
height: 250px; /*marquee height */
background-color: white;
overflow: hidden;
border: 2px solid #333399;
padding: 2px;
padding-left: 2px;
}

.hijriDate{
    color:#cc0000;
    font-size:10pt;
    text-align:left;
}
  
#scrollingContainer{
		width:170px;	/* 170 pixels in width */
		height:250px;	/* Height of box */
		
		border:1px solid #000;	/* Black border around box */
		background-color: #E2EBED;	/* Light blue background color */

		padding:2px;	/* A little bit of space between border of box and text inside */
		float:left;	/* I want the text to wrap around the box */
		margin-right:10px;	/* Right margin of 10 pixels */
		font-size:0.9em;	/* Smaller font size than the rest of the page */
		
		overflow:hidden;	/* Hide overflow content */
	}
	
/*Sliding Divs on Admin Panel pages*/
.adminydcslider_title{	/* Styling question */
	/* Start layout CSS */
	color:#333399;
	font-size:13pt;
	font-weight:bold;
	background-color:#ffffff;
    width:150px; 
	margin-bottom:2px;
	margin-top:2px;
	padding-left:2px;
	/* background-image:url('pix/bg_answer.gif');
	background-repeat:no-repeat;
	background-position:top right;	*/
	height:20px; 
	
	/* End layout CSS */
	
	overflow:hidden;
	cursor:pointer;
}

.adminydcslider_box{	/* Parent box of slide down content */
	/* Start layout CSS */
	border:1px solid #333399;
	background-color:#ffffff;
	width:100%;
	height:600px;
	
	/* End layout CSS */
	
	visibility:hidden;
	height:0px;
	overflow:scroll;
	position:relative;

}
.adminydcslider_box_content{	/* Content that is slided down */
	padding:1px;
	font-size:8pt;	
	position:relative;
	text-align:left;
}
/*End of sliding Divs in admin panel pages*/



/*THis is the Photos popup section*/

 .glidecontentwrapper{
position: relative; /* Do not change this value */
width:460px;
height:310px; /* Set height to be able to contain height of largest content shown*/
overflow: hidden;
margin-left: auto;
    margin-right: auto;
}
/*
	Total wrapper width: 350px+5px+5px=360px
	Or width of wrapper div itself plus any left and right CSS border and padding
	Adjust related containers below according to comments
*/


.glidecontent{ /*style for each glide content DIV within wrapper.*/
position: absolute; /* Do not change this value */
background: #f0f0f0;
padding: 5px;
visibility: hidden;
width:450px;
height:310px;
}

.glidecontnet img
{
    margin-left: auto;
    margin-right: auto;
}


/*
 Total glidecontent width: 330px+10px+10px=350px
	Or width of wrapper div itself (not counting wrapper border/padding)
*/

.glidecontenttoggler{ /*style for DIV used to contain toggler links. */
width: 450px;
margin-top: 6px;
text-align: center; /*How to align pagination links: "left", "center", or "right" */
background: #ffffff; /*always declare an explicit background color for fade effect to properly render in IE*/
margin-left: auto;
    margin-right: auto;
}
/*
 Total contenttoggler width: 350px+5px+5px=360px
	Or total width of wrapper div (counting wrapper border/padding)
*/

.glidecontenttoggler a{ /*style for every navigational link within toggler */
display: -moz-inline-box;
display: inline-block;
border: 1px #2a0055;
color: #cc0000;
padding: 1px 3px;
margin-right: 3px;
font-weight: bold;
text-decoration: none;
}

.glidecontenttoggler a.selected{ /*style for selected page's toggler link. ".selected" class auto generated! */
/*background: #E4EFFA;*/
color: #ffcc00;
}

.glidecontenttoggler a:hover{
/*background: #E4EFFA;*/
color: #ffcc00;
}

.glidecontenttoggler a.toc{ /*style for individual toggler links (page 1, page 2, etc). ".toc" class auto generated! */
font-weight: bold; color:#2a0055;}

.glidecontenttoggler a.prev, .glidecontenttoggler a.next{ /*style for "prev" and "next" toggler links. ".prev" and ".next" classes auto generated! */
}

.glidecontenttoggler a.prev:hover, .glidecontenttoggler a.next:hover{
/*background: #007fff;*/
color: #ffcc00;
}
/*End of photos popup section*/









#contentContainer h2{	/* No margins above <h2> tags */
	margin-top:0px;
}


#mainContainer{
	width:755px;
	margin:0 auto;
	text-align:left;
	padding:5px;
	margin-top:20px;
	border:1px solid #000;
	background-color: #FFF;
}
#contentContainer{
	float:left;
	border:1px solid #000;
	background-color: #E2EBED;
	overflow:auto;
	margin-right:10px;
	padding:10px;
	
	/* CSS HACK */
	width: 497px;	/* IE 5.x */
	width/* */:/**/480px;	/* Other browsers */
	width: /**/480px;
	
	/* CSS HACK */
	height: 412px;	/* IE 5.x */
	height/* */:/**/390px;	/* Other browsers */
	height: /**/390px;
			
}


#contentContainer .openingText{
	color:red;
}

#articleListContainer{	/* <ul> container for article list */
	float:left;
	height:410px;
	overflow:auto;	
	width:240px;
	border:1px solid #000;
	background-color:#FFF;	
}
.articleList{
	margin:0px;
	padding:2px;
}
.articleList li{	/* General layout article in list */
	list-style-type:none;
	border:1px solid #999;
	background-color:#EEE;
	height:50px;
	margin:1px;
	padding:2px;
	color:#333;
	cursor:pointer;
}
.articleList li.articleMouseOver{	/* Mouse over article in list - layout */
	border:1px solid #000;
	color:#000;
}
.articleList li.articleClick{	/* Active article in list - layout */
	border:1px solid #000;
	color:#000;
	background-color:#317082;
	color:#FFF;
}

.keyText{	/* Just a column I use for key text inside articles - the one with the light blue bg and dotted border */
	background-color:#FFF;
	border:1px dotted #000;
	float:right;
	margin-top:5px;
	margin-left:5px;
	margin-bottom:5px;
	width:150px;
	padding:3px
}
.clear{
	clear:both;
}

#listViewBio 
{
    width:650px;
    
}

.sbio ul
{
    list-style-type: none;
    margin-left: -5px;
}

.sbio li
{
    list-style-type: none;
}

.sbio p
{
    vertical-align: top;
}

.sbio img
{
    float:left;
    margin-right:5px;
    margin-bottom:5px;
}

.mmyL
{
    width: 300px;
    border: 2px solid #F0f0f0;
    float: left;
    margin-top:10px;
    margin-bottom:20px;
}

.mmyC
{
    width: 300px;
    border: 2px solid #F0f0f0;
    margin-left:44px;
    float: left;
    margin-top:10px;
    margin-bottom:20px;
}

.mmyR
{
    width: 300px;
    border: 2px solid #F0f0f0;
    margin-left:44px;
    float: right;
    margin-top:10px;
    margin-bottom:20px;
}

#MMY
{
}


.sliderwrapper{
position: relative; /*leave as is*/
overflow: hidden; /*leave as is*/
border: 1px solid #333399;
border-bottom-width: 3px;
width: 230px; /*width of featured content slider*/
height: 145px;
}



.sliderwrapper .contentdiv{
visibility: hidden; /*leave as is*/
position: absolute; /*leave as is*/
left: 0;  /*leave as is*/
top: 0;  /*leave as is*/
padding: 0px;
margin-left:auto;
margin-right:auto;
background: white;
width: 230px; /*width of content DIVs within slider. Total width should equal slider's inner width (390+5+5=400) */
height: 100%;
filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
}

.sliderwrapper .contentdiv a
{
    border-style: none;
    border-width: 0px;
}

.pagination
{
    width: 232px; /*Width of pagination DIV. Total width should equal slider's outer width (400+10+10=420)*/
    height:20px;
    text-align: center;
    background-color: #333399;
    padding: 0px;
}

.pagination a{
padding: 0 2px;
text-decoration: none; 
color: #cc0000;
background: #333399;
}

.pagination a:hover, .pagination a.selected{
color: #ffcc00;
background-color: #333399;
}