/*
Theme Name: Torath Moshe
Theme URI: http://www.purpleguy.com/
Description: A custom theme for the Torath Moshe website.
Version: 1.0
Author: Jacob Scharff
*/

/*------------------------------------------------------------
Resetting the Browser Defaults, taken from...
http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/*------------------------------------------------------------
Resetting standard page elements
------------------------------------------------------------*/
body {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 1em;
}

h1 {
	font-size: 1.6em;
	font-weight: bold;
	margin-top: 15px;
	margin-bottom: 25px;
	color: #053681;
	text-align: center;
}

h2 {
	font-size: 1.4em;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 17px;
	color: #053681;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-style: italic;
	margin-top: 10px;
	margin-bottom: 17px;
	color: #053681;
}

h4 {
	font-size: 1.2em;
	font-weight: bold;
	font-style: italic;
	margin-top: 10px;
	margin-bottom: 17px;
	color: #053681;
}

h5 {
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 17px;
	color: #053681;
}

h6 {
	font-size: 1em;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 17px;
	color: #053681;
}

p {
	line-height: 17px;
	margin-bottom: 20px;
}

ul {
	list-style: disc;
	margin-left: 40px;
}

ul li {
	margin-bottom: 17px;
}

ol {
	list-style: decimal;
	margin-left: 35px;
}

ol li {
	margin-bottom: 17px;
}

blockquote, q {
	margin-left: 40px;
}

a {
	color: #053681;
	text-decoration: underline;
}
			
a:hover {
	text-decoration: underline;
}

big {
	font-size: 1.2em;
}

em, i {
	font-style: italic;
}

small {
	font-size: .85em;
}

strong, b {
	font-weight: bold;
}

/*------------------------------------------------------------
Setting custom page elements
------------------------------------------------------------*/
.bluesky {
	background: #84b5ea url(images/back.jpg) repeat-x top center;
}

.hebrew {
	direction: rtl;
	text-align: right;
}

#Hashem {
	height: 20px;
	text-align: center;
	color: #ffde24;
	font-size: .7em;
}

	#Hashem .English {
		float: left;
		width: 300px;
		text-align: left;
		padding-left: 10px;
		padding-top: 3px;
		font-family: Tahoma;
	}

	#Hashem .Hebrew {
		float: right;
		width: 300px;
		text-align: right;
		padding-right: 10px;
		font-family: David, Tahoma;
		font-size: 1.2em;
	}


#Main {
	width: 766px;
	margin: auto;
}

	#Header {
		height: 103px;
		margin-top: 13px;
		background: transparent url(images/logo.png) no-repeat top left;
	}
	
		#Description {
			float: left;
			width: 335px;
			margin-left: 243px;
			color: #fff;
		}
		
		#Description p {
			margin: 0;
			padding: 0;
			text-align: center;
			font-size: .7em;
			line-height: 13px;
		}

		#Mishneh {
			float: left;
			width: 188px;
		}
	
	#Menu, #Menu_Home {
		height: 40px;
		padding: 0 0 0 15px;
		background: transparent url(images/back_menu.jpg) no-repeat bottom center;
	}

	#Menu_Home {
		background: transparent url(images/back_menu_home.jpg) no-repeat bottom center;
	}
	
		#Menu ul, #Menu_Home ul {
			list-style: none;
			margin: 0;
			padding: 0;
		}
		
		#Menu ul li, #Menu_Home ul li {
			list-style: none;
			float: left;
			width: 105px;
			height: 40px;
			text-align: center;
			margin: 0;
			padding: 0;
		}
		
			#Menu ul li a, #Menu_Home ul li a {
				display: block;
				width: 105px;
				height: 18px;
				padding-top: 8px;
				background: transparent url(images/tab.png) no-repeat top center;
				text-decoration: none;
				color: #053681;
				font-size: .8em;
			}

			#Menu ul li a:hover, #Menu_Home ul li a:hover {
				background: transparent url(images/tab_hover.png) no-repeat top center;
			}
			
			#Menu ul li a.active, #Menu_Home ul li a.active {
				background: transparent url(images/tab_active.png) no-repeat top center;
			}

	#BodyWrapper {
		background: transparent url(images/back_content.gif) repeat-y top center;
	}

	#BodyWrapper_Home {
		background: transparent url(images/back_content_home.gif) repeat-y top center;
	}

		#PrinciplesLabel {
			color: #232752;
			font-size: .7em;
			position: relative;
			top: -3px;
			padding-left: 15px;
		}
		
		#Principles {
			height: 58px;
			background: transparent url(images/back_principles.gif) no-repeat top center;
			position: relative;
		}
		
		#Principle1, #Principle2, #Principle3, #Principle4, #Principle5, #Principle6, #Principle7, #Principle8, #Principle9, #Principle10, #Principle11, #Principle12, #Principle13, #Principle14 {
			position: absolute;
			top: 0;
		}
		
		.PrincipleNumber {
			float: left;
			width: 66px;
			margin-left: 8px;
			margin-right: 1px;
			padding-top: 12px;
			font-size: 2em;
			color: #fff;
			text-align: center;
		}
		
		.PrincipleText {
			float: left;
			width: 663px;
			padding: 11px 10px 10px 10px;
			color: #ffde24;
		}

		#Principle2 .PrincipleText, #Principle3 .PrincipleText, #Principle5 .PrincipleText, #Principle6 .PrincipleText, #Principle7 .PrincipleText, #Principle10 .PrincipleText, #Principle12 .PrincipleText {
			padding-top: 18px;
		}
		
		.PrincipleText a {
			color: #ffde24;
			text-decoration: none;
		}
		
		.PrincipleText a:hover {
			color: #ffde24;
			text-decoration: none;
		}
		
		#Column1 {
			float: left;
			width: 498px;
			margin-left: 8px;
			margin-right: 6px;
			margin-top: 5px;
		}

		#QuoteTitle {
			margin: 20px 32px 5px 32px;
			text-align: center;
			color: #694a48;
		}

		#QuoteTitle h2 {
			font-size: 1em;
			font-weight: bold;
			font-style: italic;
		}

		#QuoteTitle p {
			font-size: .7em;
			font-weight: normal;
			font-style: italic;
			margin: 5px 0 20px 0;
			padding: 5px 0 15px 0;
			border-bottom: dashed 1px #694a48;
		}

		#Quotes {
			color: #053884;
			font-size: .85em;
			line-height: 20px;
		}
		
			#Quotes #Arrow_Left {
				float: left;
				width: 33px;
				margin: 15px 0 0 1px;
			}

			#Quotes #Hebrew {
				float: left;
				width: 332px;
				margin-right: 20px;
				margin-bottom: 30px;
			}
			
			#Quotes #English {
				float: left;
				width: 332px;
				margin-bottom: 30px;
			}

			#Quotes #Quote {
				float: left;
				width: 421px;
				min-height: 264px;
				margin-bottom: 30px;
				background: transparent url(images/quotes.jpg) no-repeat top center;
			}

			#Quotes #Arrow_Right {
				float: left;
				width: 33px;
				margin: 15px 0 0 0;
			}

			#Quotes sup {
				display: inline-block;
				padding-bottom: 5px;
				font-weight: bold;
			}

			#Quotes p {
				margin: 5px 10px;
			}

			#Quotes b, #Quotes strong {
				font-weight: bold;
			}

			#Quotes em, #Quotes i {
				font-style: italic;
			}
			
			#Quotes .Attribution {
				color: #80a9d2;
				font-size: .85em;
				font-weight: bold;
				line-height: 15px;
				margin-top: 4px;
			}

		#Column2 {
			float: left;
			width: 246px;
			margin-top: 5px;
		}
		
		#Features {
			width: 246px;
		}

		#Upcoming {
			background: #f0f0f0 url(images/back_upcoming.gif) no-repeat top left;
			color: #fff;
			clear: both;
			margin-left: 8px;
			margin-right: 8px;
			margin-top: 5px;
		}
		
			#Upcoming h1 {
				font-weight: bold;
				padding-top: 5px;
				padding-left: 10px;
				margin-bottom: 15px;
				text-align: left;
				font-size: 1em;
				color: #fff;
			}
		
		#Upcoming_Footer {
			background: transparent url(images/back_upcoming_footer.gif) no-repeat bottom center;
			color: #333;
			padding: 0 10px;
		}
		
			#Upcoming_Footer p {
				line-height: 15px;
				margin-bottom: 0;
				padding-bottom: 15px;
				font-size: .75em;
			}

			#Upcoming_Footer a {
				font-size: 1.2em;
				font-weight: bold;
				text-decoration: none;
			}

		#Sidebar {
			float: left;
			width: 171px;
			margin-left: 8px;
			margin-right: 15px;
			color: #053681;
			font-size: .75em;
			line-height: 15px;
			min-height: 100px;
		}
		
			#Sidebar b {
				display: block;
				font-weight: bold;
				padding-left: 10px;
				padding-right: 10px;
				padding-bottom: 5px;
			}
			
			#Sidebar a {
				display: block;
				color: #053681;
				text-decoration: none;
				font-size: .9em;
			}
			
			#Sidebar ul {
				list-style: none;
				margin: 0;
				border-top: solid 1px #ccc;
			}
			
			#Sidebar ul li {
				border-bottom: solid 1px #ccc;
				margin-bottom: 0;
			}

			#Sidebar ul li a {
				padding: 5px 10px;
			}

			#Sidebar ul li a:hover {
				background-color: #fff;
			}

			#Sidebar ul li.page-item-102 {
				background: transparent url(images/back_testimonials.jpg) no-repeat top left;
			}

			#Sidebar ul li.page-item-102 a {
				height: 70px;
				padding-right: 80px;
				padding-top: 20px;
				font-weight: bold;
			}

			#Sidebar ul li ul {
				border-top: none;
			}
			
			#Sidebar ul li ul li {
				border-bottom: none;
				border-top: solid 1px #ccc;
			}

			#Sidebar ul li ul li a {
				padding: 5px 10px 5px 30px;
				background-color: #f9f9f9;
			}

			#Sidebar ul li ul li a:hover {
				background-color: #fff;
			}
		
		#Content {
			float: left;
			width: 557px;
			font-size: .8em;
			line-height: 17px;
		}
		
			#Content #Breadcrumb {
				font-size: .8em;
				color: #ccc;
				padding-bottom: 3px;
				margin-bottom: 20px;
				border-bottom: solid 1px #f0f0f0;
			}

			#Content #Breadcrumb a {
				color: #ccc;
				text-decoration: none;
			}

			#Content #Breadcrumb a:hover {
				text-decoration: underline;
			}
		
			#Content .postmetadata {
				color: #666;
				font-size: .85em;
				background-color: #f0f0f0;
				padding: 10px 10px;
				margin-bottom: 35px;
			}
			
			#Content .postdate {
				color: #666;
				font-size: .85em;
				margin-top: -15px;
			}
			
			#Content .more-link {
				margin-top: -15px;
			}

			.section_break {
				margin: 30px 0;
				background-color: #ccc;
			}

			.fiction {
				font-size: 1.2em;
				color: #cc0000;
			}

			.fact {
				font-size: 1.2em;
				color: #009900;
			}
			
		#Stretcher, .Stretcher {
			clear: both;
			height: 1px;
		}
		
	#Footer, #Footer_Home {
		padding-top: 30px;
		padding-bottom: 10px;
		background: #84b5ea url(images/back_footer.gif) no-repeat top center;
		color: #dae8f8;
		text-align: center;
		font-size: .7em;
	}

	#Footer_Home {
		background: #84b5ea url(images/back_footer_home.gif) no-repeat top center;
	}
	
		#Footer p, #Footer_Home p {
			margin-bottom: 10px;
		}

		#Footer a, #Footer_Home a {
			text-decoration: none;
			color: #dae8f8;
		}
		
		#Footer a:hover, #Footer_Home a:hover {
			text-decoration: underline;
		}

