/********************************************
   AUTHOR:  			Erwin Aligam 
   WEBSITE:   			http://www.styleshout.com/
	TEMPLATE NAME: 	Bright Side of Life
   TEMPLATE CODE: 	S-0005
   VERSION:          1.0          	
 *******************************************/ 
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* { padding: 0; margin: 0; }

body {
	margin: 0;
	padding: 0;
	font: .70em/1.5em  Verdana, Tahoma, Helvetica, sans-serif;
	color: #666666; 
	background: #4e3a47 url(../images/bg.gif) repeat-x;
	text-align: center;
}

/* links */
a { 
	color: #4284B0;
	background-color: inherit;
	text-decoration: none;
}
a:hover {
	color: #9EC068;
	background-color: inherit;
}

/* headers */
h1, h2, h3 {
	font: bold 3em 'Trebuchet MS', Arial, Sans-serif;
	color: #333;	
}
h1 { font-size: 1.5em; color: #6a114c; } 
h2 { font-size: 1.4em; text-transform:uppercase;}
h3 { font-size: 3em; }
h4 {font-size: 1.2em;
	text-transform: uppercase;
	margin: 10px 15px;
	color: #6a114c;
	font-weight: bolder;
	letter-spacing: 0.15em;
	background: url('../images/bullet.gif') no-repeat 0 center;
	border-bottom: 1px solid #D5D5D5;
}


p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;
	color: c02990;
}
ul span, ol span {
	color: #666666; 
}

/* images */
img {
	
}
img.no-border {
	border: none;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
a img {  
 
}
a:hover img {  
  border: 0px solid #CCC !important; /* IE fix*/
  border: 0px solid #568EB6;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #fafafa;  
  border-left: 4px solid #4284B0; 
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 15px;
 	padding: 0 0 0 20px;  	
  	xbackground: #f9e7f3;
	border: 1px solid #D5D5D5; 
	border-left: 4px solid #6a114c;   
	color: #6a114c;
	font:  1.2em/1.5em Georgia, 'Bookman Old Style', Serif; 
}

/* form elements */
form {
	margin:10px; padding: 0;
	border: 1px solid #fafafa; 
	background-color: #FAFAFA; 
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 2px;
	border:1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:300px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}
input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 2px 3px; 
	color: #4284B0;	
}

/* search form */
form.searchform {
	background: transparent;
	border: none;
	margin: 0; padding: 0;
}
form.searchform input.textbox { 
	margin: 0; 
	width: 120px;
	border: 1px solid #9EC630; 
	background: #FFF;
	color: #333; 
	height: 14px;
	vertical-align: top;
}
form.searchform input.button { 
	margin: 0; 
	padding: 2px 3px; 
	font: bold 12px Arial, Sans-serif; 
	background: #FAFAFA;
	border: 1px solid #fafafa;
	color: #777;	
	width: 60px;
	vertical-align: top;
}

/***********************
	  LAYOUT
************************/
#wrap {
	background: #2e2d2d;
	width: 900px; height: 100%;
	margin: 0 auto;	
	text-align: left;
	
}
#content-wrap {
	clear: both;
	margin: 0; 
	padding: 0;	
	background: #2e2d2d;
	height:100px
	padding-bottom: 0px;
	
}





#masjid-gallery{
	border:3px solid #eee;
}


#masjid-text{
	position: relative;
	padding: 0;
	width: 100%;
}



/* header */
#header {
	position: relative;
	height: 62px;	
	background: #000 url(../images/headerbg.gif) repeat-x 0% 100%;	
}
#header h1#logo {
	position: absolute;
	top:32px; left: 1px;
	margin: 0; padding: 2px 2px 2px 2px;
	font: normal 1.2em 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: 0.5px;
	color: #6a114c;
}
#header h2#slogan {
	position: absolute;	 
	top:0px; left: 95px;
	color: #666666;
	text-indent: 0px;
	font: bold 11px Tahoma, 'trebuchet MS', Sans-serif; 
	text-transform: none;	
}
#header form.searchform {
	position: absolute;
	top: 0; right: -12px;	
}

/* main */
#main {
	float: left;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	width: 58%;		
}





#logo-banner{
position: relative;
	margin-left: 0px;
	padding: 0;
	display:inline;
	width: 30%;
}

#logo-banner{
position: relative;
	margin-left: 0px;
	padding: 0;
	display:inline;
	width: 30%;
}

#container{
	position: relative;
		margin-left: 0px;
		margin-bottom: 0px;
		padding: 0;
		display:inline;
	width: 65%;
}

#main-content{
	float: left;
	margin-left: 0px;
	padding: 0;
	background: #ffffff;
	width: 100%;		
}

#menubottom{
position: relative;	 
background: url(../images/headerbottom.jpg) no-repeat top;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
width:900px;
height:33px;
padding-bottom: 0px;
padding-top: 0px;
margin-top:0px;
margin-bottom:0px
  
  
}

#menubottom #bottomnav li {
    margin-top:10px;
    display: inline;
    padding: 0 0 0 18px;
    color:#fff;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.10em;
}






#menubottom #bottomnav a {
    text-decoration: none;
    color:#fff;
    font-size: .6em;
    font-weight: bold;
    letter-spacing: 0.2em;
}

#menubottom  ul, ol{
margin: 0px 0px 0px 0px;
padding: 6px 0px 0px 0px;

}

 div#imagegallery{
    clear: all;
    margin-left: 0;
    margin-top: -8px;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    padding-top: 0;
    zpadding-left: 10px;
}

#imagegallerytext {
    width:120px;
    float: right;
    display: inline;
}

#articles {
    background: url(../images/articlesbg.gif) no-repeat left top;
    background-position: 3px 5px;
    width:265px;
    float: left;
    margin-left: 6px;
    padding: 5px 0px 0px 0px;
}



#announcement{
    background: url(../images/announcement.jpg) no-repeat left top;
    background-position: 15px 20px;
    width:100%;
    float: left;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    
}

#promos{
   
    width:500px;
    float: left;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    margin-left: 8px;
}


#reminder {
    background: url(../images/reminderbg.gif) no-repeat left top;
    background-position: 2px 5px;
    width:235px;
    float: right;
    margin-right: 0px;
    display: inline;
}


#announcement p {
        padding: 2px 0px 5px 10px;
   	margin:  70px 40px 50px 20px;
	width: 498;
	color:#fff;
	
}

#announcement a {
	color:#fff;
	text-decoration:underline;
	
}


#articles p {
	padding: 20px 0px 0px 0px;
	margin: 70px 0px 10px 25px;
	width: 80%;
	
}

#reminder p {
	padding: 20px 0px 5px 0px;
	margin: 66px 0px 10px 20px;
	width: 78%;
	
}

#main-prayer {
	clear: both; 
	float: left;
	margin-left: 0px;
	padding: 0;
	background-color: #ffffff;
	width: 75%;		
}
#main-gallery {
	clear: both; 
	float: left;
	margin-left: 0px;
	padding: 0;
	background-color: #2e2d2d;
	width: 75%;		
}



.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 20px 15px 0 15px;
	border: 1px solid #fafafa;
	font-size: 95%;	
}
.post-footer .date {
	background: url(clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* sidebar */
#sidebar {
	float: left;
	width: 20%;
	background: transparent url(../images/menu.gif) no-repeat;
	margin: 10px 5px 5px 5px;
	text-align: center;
	
	
	
	
}

#sidebar-prayer {
	float: right;
	width: 20%;
	background: transparent url(../images/menu.gif) no-repeat;
	background-color: #fff;
	margin: 10px 5px 5px 5px;
	text-align: center;
	
		
}

#sidebar-gallery {
	float: right;
	width: 20%;
	background: transparent url(../images/menu-gallery.gif) no-repeat;
	background-color: #2e2d2d;
	margin: 10px 5px 5px 5px;

	text-align: center;
	
		
}


#sidebar h1 {
	padding: 10px 0px 5px 10px;
	margin: 0;	
	color: #fff;	
}
.sidebox {
	margin-bottom: 10px;	
}

/* sidebar menu */
#sidebar ul.sidemenu {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 90%;		
}
#sidebar ul.sidemenu li {
	padding: 0px 10px;
}
#sidebar ul.sidemenu a {
	display:block;
	font-weight:normal;
	color: #fff;
	height: 1.5em;	
	padding:.3em 0 .3em 15px;
	line-height: 1.5em;
	border-bottom: 1px dashed #D5D5D5;
	text-decoration:none;
}
#sidebar ul.sidemenu a.top{	
	border-top: 1px dashed #cccccc;
}
#sidebar ul.sidemenu a:hover {
	padding: .3em 0 .3em 10px;
	border-left: 5px solid  #cccccc;
	color: #fff;		
}

#menu-page { padding: 60px 6px 6px 6px; align:left;

color: #6a114c;
	

}

#menu-page ul {
	margin: 0;
	padding:15px 15px 2px 10px;
	list-style: none;
	font-size: 100%;
}


#menu-page li {
	
	padding: 3px 3px 3px 3px;
	border-bottom: 1px dashed #D5D5D5;
	
}


#menu-page h3 {
	font-size: 1.1em;
	text-transform: uppercase;
	margin: 1.5em 0 0.1em 0;
	color: #fff;
	font-weight: bolder;
	letter-spacing: 0.15em;
	
	
}

#menu-page a:link{ color:#fff; }
	 



#menu-page a:visited { color: #fff;}
	 
#menu-page a:hover { color: #fff;
border-left: 3px solid  #fff;
padding: .3em 0 .3em 5px;
	

}


* html body #sidebar ul.sidemenu a { height: 18px; }

#sidebar ul.sidemenu a:hover {
	padding:2px 5px 2px 10px;
	background: #fafafa;
	color: #339900;
	border-left:4px solid #d644a7;
	background:url(images/arrow-normal.gif) 0 50% no-repeat #F6F4E4; color:#7F0A5F; text-decoration:none;
}

/* rightbar */
#rightbar {
	float: right;
	width: 20%;
	padding: 0px 0px 0px 0px; 
	margin:0px 0px 0px 0px;		
}

/* Footer */
#footer { 
	clear: both; 
	color: #FFF; 
	background: #f8f5f5; 
	border-top: 5px solid #568EB6;
	margin: 0; padding: 0; 
	height: 50px;	  
	font-size: 95%;		
}
#footer a { 
	text-decoration: none; 
	font-weight: bold;	
	color: #FFF;
}
#footer .footer-left{
	float: left;
	width: 65%;
}
#footer .footer-right{
	float: right;
	width: 30%;
}

/* menu tabs */
#header ul {
	
	position: absolute;
   margin:0; padding: 0;
   list-style:none;
	right: 0; 
	bottom: 6px !important; bottom: 5px;
	font: bold 13px  Arial, 'Trebuchet MS', Tahoma, verdana,  sans-serif;	
}
#header li {
   display:inline;
   margin:0; padding:0;
}
#header a {
   float:left;
   background: url(../images/tableft.gif) no-repeat left top;
   margin:0;
   padding:0 0 0 4px;
   text-decoration:none;
}
#header a span {
   float:left;
   display:block;
   background: url(../images/tabright.gif) no-repeat right top;
   padding:6px 15px 3px 8px;
   color: #FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#header a span {float:none;}
/* End IE5-Mac hack */
#header a:hover span {
	color:#6a114c;
}
#header a:hover {
   background-position:0% -42px;
}
#header a:hover span {
   background-position:100% -42px;
}
#header #current a {
   background-position:0% -42px;
	color: #6a114c;
}
#header #current a span {
   background-position:100% -42px;
	color: #6a114c;
}


/*----FOOTER PANEL---*/
#footermainPan{width:100%;height:100%; padding:0px;margin:0px; clear:both;}

#footerPan{width:900px; height:100%; display:block; position:relative; margin:0 auto; color:#b62282; background:url(images/footerbg1.gif) 0 0 repeat-x #dedbd6; font-family:Tahoma,Arial, Helvetica, sans-serif;}
#footerPan p{padding:51px 0 0;}
#footerPan p span{background:#1C1B19; color:#b62282; font-size:10px; text-decoration:bold;}
#footerPan p.copyright{ background:#979797; display:block; position:absolute; top:130px; left:192px; color:#b62282; font:11px/15px Tahoma,Arial, Helvetica, sans-serif; padding:0;}

#footerPan ul{width:900px; display:block; position:absolute; left:180px; top:20px; padding:0;list-style-type: none; }
#footerPan li{float:left; font:13px/18px Arial, Helvetica, sans-serif; font-weight:normal; text-decoration:none;}
#footerPan ul li a{padding:0 0 0 12px; color:#5e585c; background:#dedbd6; text-decoration:none;}
#footerPan ul li a:hover{text-decoration:underline;}
#footerPan ul.info{width:424px; height:45px; display:block; position:absolute; left:120px; top:70px; padding:0;}
#footerPan ul.info li{display:block; width:109px;}
#footerPan ul.info li.address{width:97px; background:url(images/vertical-dot.gif) 100% 0 repeat-y #979797; color:#353535; font-size:10px; font-family:Tahoma,Arial, Helvetica, sans-serif;  font-weight:bold; padding:0 0 0 12px;}
#footerPan ul.info li.phone{width:94px; background:url(images/vertical-dot.gif) 100% 0 repeat-y #979797; color:#353535; font-family:Tahoma,Arial, Helvetica, sans-serif; font-size:10px; padding:0 0 0 15px; font-weight:bold;}
#footerPan ul.info li.fax{width:94px; background:#979797; color:#353535; font-size:10px; padding:0 0 0 15px; font-family:Tahoma,Arial, Helvetica, sans-serif; font-weight:bold;}
#footerPan ul li span{background:#979797; color:#FFDB5D; font-size:10px; font-weight:bold; line-height:18px;}

#footerPan ul.templateworld{width:250px; background:#979797; color:#fff; display:block; position:absolute; top:147px; left:192px;}
#footerPan ul.templateworld li{widows:150; font-size:11px;}
#footerPan ul.templateworld li a{background:#979797; display:block; color:#fff; text-decoration:none;}
#footerPan ul.templateworld li a:hover{text-decoration:underline;}









/* end menu tabs */

/* alignment classes */
.float-left  { float: left; }
.float-right {	float: right; }
.align-left  {	text-align: left; }
.align-right {	text-align: right; }

/* additional classes */
.clear { clear: both; }
.green {	color: #9EC630; }
.gray  {	color: #BFBFBF; }

