/* GLOBAL STYLES */

body {
    -moz-box-sizing: border-box; /* Firefox */
    -webkit-box-sizing: border-box; /* Safari */
	box-sizing: border-box;
    padding: 0px;
	margin: 0px;
	font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
	font-size: 13px;
	width: 980px;
	color: #555555;
}

td {
	font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #555555;
}

a {
	text-decoration: none;
	color: #005388;
}

a:link {}
a:visited {}
a:hover {color: #4888b0;}
a:active {}

img {
	border-style: none;
}

.mainContainer {
	width: 980px;
	padding: 0px;
	background-color: white;
}

.floatRightBox {
	float: right;
	padding: 10px;
}

.title {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 30px;
	color: 333333;
}

.blueText {
	color: #005388;
}

.subtitle {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #333;
}

.author {
	font-size: 13px;
}

.date {
	font-size: 11px;
}

.summary {
	font-style: italic;
}

.endnotes {
	margin-top: 3px;
	font-size: 12px;
    line-height: 17px;
}

.endnotes a {
    display: inline-block;
    margin-top: 7px;
    margin-right: 2px;
}

.externalLink {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=) no-repeat;
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 15px;
}

/* HEADER STYLES */

#header {
	width: 980px;
	color: #005388;
}

#header #headerImage {
	height: 156px;
    margin-bottom: 3px;
}

#header #aboveBorder #quoteOfDay {
	position: absolute;
	top: 90px;
	left: 10px;
	width: 955px;
	margin: 5px;
	line-height: 15px;
	color: white;
	font-style: italic;
    font-weight: bold;
}

#MSIE #header #aboveBorder #quoteOfDay {
    font-weight: normal;
}

#header #aboveBorder #quoteOfDay #moreQuotes {
	padding-left: 5px;
	color: #CFF;
}

#header #headerButtonsAndSearch {
    position: relative;
    border-bottom: 3px solid #b1d8f3;
}

#header #headerButtons {
    position: absolute;
    bottom: 0;
}

#header .headerButton {
    display: inline-block;
    border: 2px solid #b1d8f3;
    border-bottom: none;
    border-top-left-radius:8px;
	border-top-right-radius:8px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: rgb(230,245,245);
    font-weight: bold;
}

#header .headerButton:hover {
    background-color: rgb(220,235,235);
}

#header .headerButton #littleHouseImg {
    position: relative;
    top: 1px;
}

#MSIE #header .headerButton #littleHouseImg {
    display: none;
}

#IPAD #header .headerButton #littleHouseImg, #IPHONE #header .headerButton #littleHouseImg {
    height: 13px;
}

#header #donateLeft {
    margin-left: 10px;
}

#header .donateButton {
	color: #C33;
}

form .donateInputTextBox  {
	position: relative;
	top: -1px;
	color: #7AD;
	height: 22px;
	padding-left: 3px;
	font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 13px;
	padding-bottom: 0px;
	border: 1px solid #999;
	border-right: none;
}

form .donateInputTextBox {
    height: 24px;
	border: 1px solid #999;
	margin-right: 3px;
}

/** SEARCH BOX **/

#header #search { /* Search Form */
    float: right;
    border: 1px solid #999;
    margin-right: 3px;
    margin-bottom: 2px;
}

#header #searchTextBox {
    float: left;
    padding-left: 3px;
    color: #7AD;
    font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
    font-weight: bold;
	font-size: 13px;
	border: none;
	padding-top: 2px;
    padding-bottom: 2px;
}

#CHROME #header #searchTextBox, #SAFARI #header #searchTextBox {
    font-weight: normal;
    padding-top: 0;
    padding-bottom: 0;
}

#header #searchArrow {
	float: left;
    width: 22px;
    border: none;
    background-image: url(../img/searchArrow.gif);
    background-position: center center;
    cursor: pointer;
}

#SAFARI #IPAD #header #searchArrow {
    background-repeat: no-repeat;
}

/** BREADCRUMB **/

#header #breadCrumb {
	float: left;
	width: 275px;
	margin-left: 10px;
	padding-top: 3px;
	color: #555555;
	font-weight: normal;
	font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
	font-size: 11px;
}

#header #translationModule { /* to the left of Google Translate on home page */
	float: left;
	width: 275px;
	margin-left: 10px;
	font-size: 12px;
}

#translationModule #translateModuleTitle {
    float: left;
    margin-top: 8px;
}

#MSIE #translationModule #translateModuleTitle {
    margin-top: 7px;
}

#CHROME #translationModule #translateModuleTitle, #SAFARI #translationModule #translateModuleTitle {
    margin-top: 6px;
}

#header #google_translate_element, #articleMainContainer #google_translate_element {
    float: left;
	height: 27px;
	margin-top: 3px;
	overflow: hidden;
	padding-left: 5px;
}

#header #newsTicker {
	float: left;
	margin-left: 15px;
	padding-top: 4px;
    font-weight: bold;
    color: #005388;
}

#MSIE #header #newsTicker {
    font-weight: normal;
}

#newsTicker .newsTickerText {
    display: none;
}

#header #karaiteDate {
	float: right;
	padding-top: 4px;
	margin-left: 25px;
    font-weight: bold;
}

#MSIE #header #karaiteDate {
    font-weight: normal;
}

#header #iButton {
	float: right;
	margin-left: 4px;
	margin-top: 6px;
}

#MSIE #header #iButton {
    margin-top: 4px;
}

#header #karaiteDateMore {
	display: none;
	position: absolute;
	top: 90px;
	left: 620px;
	border: 1px solid #0069AA;
	background: url(../img/dateFade.gif) white repeat-x;
    padding: 10px;
	font-size: 12px;
	font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 150%;
}

/* FOOTER STYLES */

#footer {
    position: absolute;
	width: 980px;
    border-bottom: 2px solid #b1d8f3;
    background-image: url(../img/footerFade.gif);
	padding-top: 5px;
	padding-bottom: 5px;
	color: #005388;
    font-weight: bold;
}

#footer a:hover {color: #4888b0;}

#footer #readTanach {
    display: inline-block;
    position: relative;
}

#SAFARI #IPHONE #footer #readTanach {
    font-size: 20px;
}

#footer #tanachBalloon {
    position: absolute;
    display: none;
    bottom: -3px;
    left: -11px;
    width: 320px;
    border: 1px solid blue;
    border-radius: 5px;
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px; 
    opacity: 0.9;
    filter: alpha(opacity=90);
    background-color: #FF5;
    padding: 10px;
    padding-bottom: 2px;
    font-weight: normal;    
}

#tanachBalloon #tanachBalloonText {
    font-size: 12px;
    line-height: 130%;
    font-style: italic;
}

#tanachBalloon #goOrNot {
    margin: 10px;
    margin-left: 25px;
    margin-bottom: 15px;
}

#goOrNot #goOrNotGo, #goOrNot #goOrNotNot {
    border-radius: 10px;
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px; 
    padding: 3px;
    padding-left: 5px;
    padding-right: 5px;
    color: #FF5;
}

#goOrNot #goOrNotGo {
    background-color: green;
}

#goOrNot #goOrNotNot {
    background-color: red;
}

/* INDEX PAGE STYLES */

#topLandingTableContainer, #botLandingTableContainer {
	padding-top: 10px;
	padding-bottom: 20px;
}

#landingTableContainer {
	background-color: #FFC;
	padding-top: 10px;
	padding-bottom: 20px;
	border-top: 1px solid #3083B8;
	border-bottom: 1px solid #3083B8;
}

#landingTable { /* To center table in FF; for IE, enclose in div with text-align: center */
	margin-left: auto;
	margin-right: auto;
}

#landingTable #tableEntry  {
	width: 300px;
}

#botLandingTable #tableEntry  {
	width: 475px;
}

#tableEntry {
	vertical-align: top;
}

#tableEntry #title {
	font-size: 18px;
	font-weight: bold;
	padding-left: 5px;
	padding-top: 20px;
}

#topLandingTable #tableEntry #deck, #botLandingTable #tableEntry #deck {
	font-size: 13px;
    line-height: 140%;
}

#landingTable #tableEntry #deck {
    font-size: 12px;
    line-height: 150%;
}

#tableEntry #deck {
    padding-top: 5px;
	padding-left: 5px;
	padding-right: 40px;
}

#tableEntry #author {
	padding-left: 5px;
	font-size: 14px;
}

#tableEntry #date {
	padding-left: 5px;
	font-size: 11px;
}

#tableEntry #image {
	float: left;
	width: 100px;
	height: 100px;
	padding: 5px;
	padding-right: 10px;
}

#rightCallouts {
	float: right;
	margin-right: 15px;
	margin-top: 15px;
}

#rightCallouts div {
	border: 1px dotted gray;
}

/* ARTICLE PAGE STYLES */

#articleMainContainer {
	padding-left: 10px;
}

#articleMainContainer #title {
	padding-top: 20px;
}

#articleMainContainer #subtitle, #articleMainContainer #author, #articleMainContainer #summary {
    font-weight: bold;
}

#articleMainContainer #summary {
    line-height: 18px;
}

#articleMainContainer .socialBarModule {
    float: left;
    height: 30px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #EEE;
	padding: 5px;
    font-weight: bold;
    background-color: #FFC;
}

#articleMainContainer #translateArticleContainer {
    margin-left: 20px;
}

#articleMainContainer #socialIconsContainer {
	margin-left: 20px;
}

#articleMainContainer .socialBarModuleHeadline {
    float: left;
    margin-top: 6px;
    margin-right: 5px;
}

#MSIE #articleMainContainer .socialBarModuleHeadline {
    margin-top: 7px;
}

#socialIconsContainer a {
    display: inline-block;
    float: left;
    height: 40px;
    width: 40px;
    margin-top: -7px;
}

#articleMainContainer #socialIconsContainer a#youtube {
	background: url(/img/youtube.png);
}

#articleMainContainer #socialIconsContainer a#twitter {
	background: url(/img/twitter.png);
}

#articleMainContainer #socialIconsContainer a#facebook {
	background: url(/img/facebook.png);
}

#articleMainContainer #socialIconsContainer a#instagram {
	background: url(/img/instagram.png);
}

#articleMainContainer #socialIconsContainer a#youtube:hover {
	background: url(/img/youtube_hover.png);
}

#articleMainContainer #socialIconsContainer a#twitter:hover {
	background: url(/img/twitter_hover.png);
}

#articleMainContainer #socialIconsContainer a#facebook:hover {
	background: url(/img/facebook_hover.png);
}

#articleMainContainer #image img {
    -moz-box-shadow: 10px 10px 5px #888;
    -webkit-box-shadow: 10px 10px 5px #888;
    box-shadow: 10px 10px 5px #888;
}

#articleMainContainer #caption {
    position: relative;
    top: -18px;
    height: 18px;
    filter: alpha(opacity=60);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    opacity: 0.6;
    background-color: black;
    padding-left: 3px;
    padding-right: 3px;
    color: white;
}

#articleMainContainer #sectionHeadline {
	font-size: 18px;
}

#articleMainContainer #body {
    line-height: 19px;
}

#articleMainContainer #summary sup, #articleMainContainer #body sup {
    position: relative;
    top: -0.5em;
    vertical-align: top;
    font-size: 0.8em;
}

#FIREFOX #articleMainContainer #body sup {
    top: -0.1em;
}

#articleMainContainer #sectionSubHeadline {
	padding-top: 10px;
	font-size: 16px;
}

#articleMainContainer #sectionSubSubHeadline {
	padding-top:3px;
	text-decoration:underline;
}

#articleMainContainer .indentedQuotation {
	margin-left: 20px;
	margin-right: 20px;
}

#articleMainContainer #body table {
	margin: 20px;
}

#articleMainContainer #body table, #articleMainContainer #body td, #articleMainContainer #body th {
	border-collapse: collapse;
	border: 1px solid #A7C942;
	padding: 3px;
}
			
#articleMainContainer #body th {
	background-color: green;
	padding: 5px;
	color: white;
}

#endNotePopup {
    display: none;
    position: absolute;
    width: 300px;
    margin-top: 23px;
    margin-left: -11px;
    border: 1px solid #005388;
    border-radius: 5px;
    opacity: 0.9;
    background-color: beige;
    cursor: default;
    padding: 10px;
    line-height: 135%;
    font-size: 12px;
    
}

#FIREFOX #endNotePopup {
    margin-top: 26px;
}

#CHROME #endNotePopup, #SAFARI #endNotePopup {
    margin-top: 27px;
}

#MSIE #endNotePopup sup {
    font-size: 11px;
}

#articleMainContainer #postComment {
	background: url(/img/backgroundBlue.gif) repeat-x;
	padding: 10px;
	border: 1px solid #CCC;
}

#articleMainContainer #postComment td {
	vertical-align: top;
}

#articleMainContainer #postComment .commentInput {
	width: 300px;
}

#articleMainContainer #postComment #commentSubmit {
	background-image: url(/img/commentGo.gif);
	width: 83px;
	cursor: pointer;
}

#MSIE #articleMainContainer #postComment #commentSubmit {
	border: 1px solid transparent;
}

#articleMainContainer .articleComment {
	display: none;
	overflow: auto;
	float: left;
	width: 220px;
	height: 200px;
	padding: 5px;
	margin: 1px;
}

#articleMainContainer #commentArrow {
	padding-top: 1px;
	float:left;
	cursor:pointer;
}

#articleMainContainer .articleComment #number {
	color: blue;
}

#articleMainContainer .articleComment #name, #articleMainContainer .articleComment #city {
	font-weight: normal;
	font-size: 12px;
	font-style: italic;
}

#articleMainContainer .articleComment #title {
	padding-top: 5px;
}

#articleMainContainer .articleComment #text {
	font-weight: normal;
	padding-top: 5px;
}


/* DONATION PAGE STYLES */

#donationButtonContainer {
    margin-top: 25px;
    margin-left: 50px;
}

#recurDonation {
	color: #7AD;
	font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: italic;
}

/* LANDING PAGE STYLES */

.landingMainContainer {
	padding-left: 10px;
}

.landingMainContainer #landingTableContainer {
	width: 960px;
}

.landingMainContainer #landingTable #tableEntry {
	width: 960px;
}


/* BASICS STYLES */

#basicsMainContainer #landingTableContainer {
	background-color: #DFF;
}


/* LIBRARY STYLES */

#libraryMainContainer #landingTableContainer {
	background-color: #DFD;
}


/* VIDEO ROOM PAGE STYLES */

#videoRoomMainContainer {
	padding-left: 10px;
}

#videoRoomMainContainer table {
	border-bottom: 1px solid #3083B8;
}

#videoRoomMainContainer td {
	font-family: Arial, Helvetica, sans-serif;
	padding-right: 10px;
}

#videoRoomMainContainer #firstRow {
	background-color: #3083B8;
	font-size: 14px;
	font-weight: bold;
}

#videoRoomMainContainer #firstRow td {
	color: white;
}

#videoRoomMainContainer #rowOdd {
	background-color: #e7f3ff;
}

#videoRoomMainContainer td#comments {
	vertical-align: top;
	font-size: 15px;
	font-style: italic;
}

#videoRoomMainContainer img#videoImage {
	width: 40px;
	height: 40px;
	padding-top: 3px;
	padding-bottom: 3px;
}

#videoRoomMainContainer #playerObject {
	float: left;
	height: 27px;
	margin-top: 20px;
	margin-bottom: 300px;
	padding-left: 5px;
}

#videoRoomMainContainer #playerInfo {
	float: left;
	padding-left: 15px;
	color: #005388;
}


/* GIFT SHOP STYLES */

#giftshopMainContainer #landingTableContainer {
	background-color: #FDF;
}


/* SEARCH RESULTS PAGE STYLES */

.searchResults {
	background-color: #F1F1F1;
	margin-left: 20px;
	padding-left: 30px;
	width: 900px;
}
