/*  
Theme Name: Masjid Toronto
Version: 1.1
Description: Designed by <a href="http://www.monfx.com">MONFX</a>.
Author: MONFX
Author URI: http://www.monfx.com
*/

/* Default styles */
@import 'reset.css';

/*-------------------------------------------------------------------------------------------

INDEX:

1. SETUP
-1.1 Defaults
-1.2 Hyperlinks

2. SITE STRUCTURE & APPEARANCE
-2.1 Containers & Columns
-2.2 Navigation
-2.2.1 Drop-down menus
-2.3 Header
-2.4 Content
-2.5 Sidebar
-2.6 Footer

3. POSTS
-3.1 Typographic Elements
-3.2 Images
-3.3 Pagination / WP-Pagenavi

4. WIDGETS
-4.1 Generic Widgets
-4.2 Specific Widgets

5. COMMENTS
-5.1 Comments
-5.2 Comments Form
-5.3 Pingbacks / Trackbacks 

-------------------------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------------------------*/
/* 1. SETUP 
/*-------------------------------------------------------------------------------------------*/

/* 1.1 Base Config */

body { font-size: 12px; font-family: Verdana, Lucida Sans, Arial, Sans Serif; color: #000; background: url(images/bg.gif) repeat-x top; text-align: center; }
h1, h2, h3, h4, h5, h6  { margin: 0; font-family: Georgia, Verdana, Lucida Sans, Arial, Sans Serif; color: #000; }
h1  { font-size: 30px; } h2  { font-size: 24px; } h3  { font-size: 20px; } h4  { font-size: 18px; } h5  { font-size: 14px; } h6  { font-size: 12px; }
p { line-height: 18px; }
strong { font-weight: bold; }

/* 1.2 Hyperlinks */

a { color: #4572b3; }
a:visited { color: #4572b3; }
a:hover { color: #65aae5; }



/*-------------------------------------------------------------------------------------------*/
/* 2. SITE STRUCTURE & APPEARANCE */
/*-------------------------------------------------------------------------------------------*/

/* 2.1 Containers & Alignment */

#container { width: 1000px; margin: 0 auto; background: url(images/shadow.png) no-repeat top center; }
.wrap { width: 900px; margin: 0 auto; text-align: left; overflow: hidden; }
.left, .alignleft { float: left; }
.right, .alignright { float: right; }

/* 2.2 Navigation */

.nav-wrap { float: left; width: 100%; background: url(images/nav-bg.gif) repeat-x; margin-top:15px; }
ul#nav { width: 700px; float: left; border-bottom: 2px solid #0f7a0e; padding-left: 15px; }
#nav, #nav ul  { z-index:100; margin:0; padding:0; list-style:none; line-height:1; }
#nav a  { display:block; z-index:100; padding:2px 10px 3px; line-height:22px; font-size:15px; color:#fff; text-decoration:none; text-shadow: #0f7a0e 2px 2px 2px; -moz-border-radius-topright: 5px; -moz-border-radius-topleft: 5px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px  }
#nav li  { float:left; width: auto; padding:5px 5px 0px; }
#nav a:hover, #nav a.selected { background: #0f7a0e; }
#nav li li.selected { background: none; }

/* 2.2.1 Drop-down menus */
#nav li ul  { position: absolute; left: -999em; width: 165px; background: #f5fee2; border:1px solid #b5ce80; border-top: 2px solid #0f7a0e; padding:0; margin:0; }
#nav li ul li  { border: 1px solid #b4cf7b; border-width: 0 0 1px; padding: 0; }
#nav li ul li a  { width: 145px; line-height: 30px; font-size: 12px; color: #000; text-shadow: none; line-height: 24px }
#nav li ul li a:hover  { background: #d8efa8; }
#nav li ul ul  { margin: -25px 0 0 120px; }
#nav li ul li ul li a  { border-width: 0 0 1px; }
#nav li:hover ul ul, #nav li.sfhover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul ul { left: -999em; }
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul  { left: auto; }
#nav li:hover, #nav li.hover  { position: static; }

#search-form { position: relative; }
.search-text { background: #015a00; color: #94c76f; -moz-border-radius: 3px; -webkit-border-radius: 3px; border: none; padding: 2px; position: absolute; top: 7px; right: 42px; }
.search-button { position: absolute; right: 18px; top: 6px; }

/* 2.3 Header */

#header { height: 150px; }

#logo h1 { width: 373px; height: 91px; float: left; margin: 11px 0 0 20px; }
#logo h1 a { width: 100%; height: 100%; display: block; text-indent: -999em; background: url(images/logo.png) no-repeat; }

#address { float: right; text-align: right; margin: 25px 20px 0 0; font-size: 16px; color: #fff; text-shadow: #1a4c94 2px 2px 2px; }
#address p { line-height: 24px; }

#mac-top { float: right; text-align: right; position: relative; }
#mac-top img { position: absolute; right: 12px; top: 12px;}

/* 2.4 Content */
#content{ width: 520px; float: left; }
.fullpage #content { width: 860px; padding: 20px; }

#main{ width:860px; background:url(images/main-bg.gif) repeat-y center; overflow: hidden; padding: 30px 0;}

#slideshow { width: 512px; height: 200px; position: relative; overflow: hidden; border: 4px solid #e6e6e6; margin: 0 0 30px 0; position: relative; }
#slideshow .excerpt { position: absolute; bottom: 0; left: 0; width: 492px; background-color: #000; filter: alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5; color: #fff; padding: 10px; }
#slideshow .excerpt a { text-decoration: none; border: none; }


/* 2.5 Sidebar */
#sidebar{ width:300px; overflow:hidden; float: right; }

/* 2.6 Footer */
#footer { background: url(images/footer-bg.gif) repeat-x; border: 1px solid #e5e5e5; overflow: hidden; padding: 14px 20px; margin: 0 0 20px 0; }
#footer ul { color: #b1b1b1; list-style: none; margin: 10px 0 0; float: right; }
#footer ul li { float: left; margin-left: 10px; cursor: default; }
#footer ul li a { font-weight: bold; text-decoration: none; }
#footer p { color: #a9a9a9; font-size: 10px; text-align: right; line-height: 20px; width: 100%; float: right; clear: both; }
#footer p a { text-decoration: none; color: #666; }


/*-------------------------------------------------------------------------------------------*/
/* 3. POSTS */
/*-------------------------------------------------------------------------------------------*/

.post { margin: 0 0 25px 0; }
.post .meta { border-top: 1px dotted #ccc; font-size: 10px; color: #9f9f9f; margin: 10px 0 0; }

/* 3.1 Typographic Elements */

.post h4 { margin: 0 0 5px 0; }
.post h3 { margin: 30px 0 0px 0; border-bottom: 2px solid #eee; }

.navigation { clear: both; }
.navigation a { text-decoration: none; font-weight: bold; }

.page h2, .post h2 { margin: 0 0 10px 0; }

.post table { margin: 0 0 10px 0; }
.post tr { padding: 5px 0; line-height: 20px; border-bottom: 1px dotted #ccc; }
.post td, .post tr { vertical-align: top; }
.post .table { border: 2px solid #eee; display: block; padding: 10px; }

.entry p, .post p { margin: 0 0 15px 0; }
.post em { font-style: italic; }
.post strong { font-weight: bold; }

.post ul { list-style-type: square; margin: 20px 20px 20px 20px; }
.post ol { list-style-type: decimal; margin: 20px 20px 20px 20px; }
.post li { margin: 0 0 5px; }
.post li ul { padding: 0 0 0 20px; }

.postmetadata { float: left; width: 100%;}


/*-------------------------------------------------------------------------------------------*/
/* 4. WIDGETS */
/*-------------------------------------------------------------------------------------------*/

/* 4.2 Generic Widgets */
.widget  { margin: 0 0 20px 0; }
.widget h3  { margin: 0 0 15px 0;text-transform:uppercase; font-size:14px; text-transform:uppercase; color:#777; }

.widget p { color:#666; }
.widget ul  { clear:both; }
.widget ul li  { background: url(images/ico-bullet.png) no-repeat left 8px; padding-left:15px; }
.widget ul li a  { display: block; padding: 3px 0; line-height: 18px; text-decoration: none; color:#666; }
.widget ul li a:hover  { color: #000; }
.widget ul ul  { padding: 0 0 0 15px; border-top: none; }

/* 4.2 Specific Widgets */
#prayer-table { -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #b3c2d8; background: #f9fbfd url(images/prayer-table-top.gif) repeat-x top; margin: 0 0 10px; }
.pt-top { padding: 0 8px; overflow: hidden; display: block; line-height: 30px; border-bottom: 1px solid #b3c2d8; }
.pt-top strong { font-size: 16px; color: #4572b3; text-shadow: #fff 1px 1px 1px; float: left; }
.pt-date { float: right; line-height: 18px; margin: 5px 0 0; }
.pt-date span { font-size: 11px; padding: 2px 4px; background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border: 1px solid #dce5f1; border-width: 0 1px 1px 0; }
.pt { list-style: none; overflow: hidden; clear: both; }
.pt li { overflow: hidden; padding: 0 10px; line-height: 28px; }
.pt li:last-child { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; }
.pt li span { float: left; width: 90px; }
.pt .heading { background: url(images/prayer-table-heading.gif) repeat-x top; font-weight: bold; line-height: 24px; color: #474747; border-bottom: 1px solid #b7c5d8; text-shadow: #fff 1px 1px 1px; }
.pt .alt { background: #e8eef6; }
.pt-dl { margin: 0 0 20px; padding: 5px; background: #f9f9f9; border: 1px solid #cbcbcb;-moz-border-radius: 5px; -webkit-border-radius: 5px; }
.pt-dl img { margin: 0 5px 0 0; }
.pt-dl a { text-decoration: none; }
.next-prayer { background: #fff6d2; }
.alt.next-prayer { background: #fff6d2; }

#friday-table { -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #cbcbcb; background: #ffffff url(images/friday-bg.gif) repeat-x top; overflow: hidden; margin: 0 0 20px; }
.f-top { padding: 0 8px; overflow: hidden; display: block; line-height: 34px; border-bottom: 1px solid #cbcbcb; }
.f-top strong { font-size: 16px; color: #6e6e6e; text-shadow: #fff 1px 1px 1px; float: left; }
.f-row { padding: 6px 8px; display: block; overflow: hidden; border-bottom: 2px solid #e5e5e5; }
.f-title { background: #f5f9fe; padding: 4px 8px; }
.f-shift { font-weight: bold; background: #f9f9f9; }
.f-shift .right { font-weight: normal; }
.f-row em { font-style: italic; line-height: 18px; }
.f-row a { font-weight: bold; text-decoration: none; }
.f-row:last-child { border: none; }
.f-topic { padding: 3px 8px 10px 8px; }
.f-topic span { padding-top: 3px; display: block; }
.fp-1 { width: 140px; }
.fp-2 { width: 70px; text-align: center; }
.fp-3 { width: 70px; text-align: center; }

#donations { margin: 20px 0 0; background: #fffbf7; border: 1px solid #eccdb5; -moz-border-radius: 5px; -webkit-border-radius: 5px; padding: 15px; overflow: hidden; }
#donations h2 { margin: 0 0 5px 0; }
#donations p { font-size: 11px; margin: 0; }
#donations .left { width: 340px; }
#donations .right { text-align: center; padding: 50px 0 0; }

.wpcf7-form input {
	border: 1px solid #aaa;
	padding: 2px;
	margin: 0 0 5px;
	}
.wpcf7-form textarea {
	border: 1px solid #aaa;
	padding: 2px;
	margin: 0 0 5px;
	}
	
.widget_newsletterwidget {
	padding: 10px;
	background: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #cbcbcb;
	}
.widget_newsletterwidget h2 {
	margin: 0 0 5px;
	}
.widget_newsletterwidget {
	line-height: 18px;
	list-style: none;
	}
	.widget_newsletterwidget p {
		margin: 5px 0 0;
		}
.widget_newsletterwidget input {
	border: 1px solid #666;
	padding: 2px;
	margin: 2px 0;
	}
.widget_newsletterwidget a {
	display: none;
	}: 5px;
	border: 1px solid #cbcbcb;
	}
.widget_newsletterwidget h2 {
	margin: 0 0 5px;
	}
.widget_newsletterwidget {
	line-height: 18px;
	}
	.widget_newsletterwidget p {
		margin: 5px 0 0;
		}
.widget_newsletterwidget input {
	border: 1px solid #666;
	padding: 2px;
	margin: 2px 0;
	}
.widget_newsletterwidget a {
	display: none;
	}
	
.page-menu {
	padding: 10px;
	background: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #cbcbcb;
	}
	.page-menu h2 {
		font-size: 18px;
		margin: 0 0 5px;
		}
	.page-menu ul {
		list-style-type: square;
		margin: 0;
		padding: 0 0 0 15px;
		}
	.page-menu ul li {
		padding: 3px 0;
		}
	.page-menu ul li a {
		font-weight: bold;
		text-decoration: none;
		}
