/*
Theme Name: Temple Beth Hatfiloh
Theme URI: http://www.bethhatfiloh.org/
Author: The Williams Group
Author URI: http://www.wmsgroup.com/
Description: Modified theme based on twentytwelve. Designed to support Temple Beth Hatfiloh branding standards.
Version: 0.1
*/

@import url("../twentytwelve/style.css");

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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {font-weight: normal !important;}

body.custom-background {
	background-color: #FFF;
	background-image:url(images/main-bg.jpg);
	background-repeat: repeat;
}


body .site {
    box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
    margin-bottom: 3.42857rem;
    margin-top: 0;
    padding: 0 2.85714rem;
	}

body.custom-font-enabled {
    font-family: "Times New Roman", Times, serif;
	}
	
.site-content article {
	margin-bottom: 8px;
	margin-top: 12px;
	padding-bottom: 0px;
	border-bottom: none;
        hyphens: none; 
	}
	
.site-content {
	margin: 0;
	}
	
h2.site-description {
	font-size: 1.6rem;
	text-align: center;
	font-style: italic;
	margin-top: 24px;
	/*margin-bottom: 10px;*/
	border-top: 1px solid #f6f6f6;
	border-bottom: 1px solid #f6f6f6;
	line-height: 2rem;
	padding-top: 8px;
	padding-bottom: 8px;
	}
	
h1, h1 a {
	color: #00395a;
	}

	
/* Site Header Overrides */	
	
.site-header {
	padding: 0;
	}
	
img.header-image {
    border-radius: 0;
    box-shadow: none;
	margin: 0;
}

/* Main Navigation Styles */

@media all and (max-width: 599px) {

	.nav-menu {
		margin-top: 6px;
		}
	
	.nav-menu li a, .main-navigation li ul li a {
		border: medium none;
		background-color: none;
		font-family: "Times New Roman",Times,serif;
		font-size: 1.3em;
		font-style: italic;
		line-height: 1.28182;
		padding: 0.371429rem 0.514286rem;
		text-transform: none;
		text-decoration: none;
	}
	
	.nav-menu li:hover, .main-navigation li ul li:hover {
		background-color: none;
	}
	
			
	div.nav-menu ul li ul.children {
		display: none;
	}
}

@media all and (min-width: 600px) {
	.main-navigation {
		/*margin-top: 5px;*/
		}
	
	.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a {
		color: #5ea1c7;
		font-weight: normal;
		}
		
	.main-navigation div.nav-menu > ul {
		border-bottom: 2px solid #01476f;
		text-align: center;
		}
		
	.main-navigation div.nav-menu > ul li {
		text-align: left;
		}
		
	.main-navigation li {
		margin: 0;
		}
		
	.main-navigation li a {
		}

	}

.nav-menu {
	background-color: #00395a;
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;
	border-bottom: 2px solid #01476f;
	z-index: 999; 
	}
	
.nav-menu li {
	font-family: Helvetica, Arial, sans-serif;
	}
	
.nav-menu li:hover {
	background-color: #194c6a
	}
	
.nav-menu li a {
	color: #FFF;
	padding: 0 .75714rem 0 .75714rem;
	}
	
.nav-menu li a:hover {
	color: #FFF;
	}

.main-navigation li ul li a {
	background-color: #1a4e6c;
	border: none;
	font-family: "Times New Roman", Times, serif;
	text-transform: none;
	font-style: italic;
	font-size: 1.3em;
	line-height: 1.28182;
    /*padding: 0.371429rem 0.514286rem;*/	
	}

.main-navigation li ul li a:hover {
	color: #FFF;
	background-color: #164561;
	}
		
	
.nav-menu li ul li a {
    }

/* Home Page Template */

.home-page {
	width: 100%;
}

.homepage-sidebar ul li {
	display: inline;
	float: left;
	}
	
.homepage-sidebar .widget {
	background:none;
	float: left;
	clear: none;
	}
	
.homepage-sidebar .widget .widgettitle {display:none;}
	

#text-2 {
	background-color: none;
	}

#constant_contact_api_widget-5 {
	width: 20%;
	padding: 10px;
	background-color: #024972;
	border-radius: 0; 
	/*border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;*/
	}
#constant_contact_api_widget-5 input {
	width: auto;
	}
	
button, input, textarea {border: 0; border-radius: 0; }

.menu-toggle, input[type="submit"], input[type="button"], input[type="reset"], article.post-password-required input[type=submit], li.bypostauthor cite span {border-radius: 0;}
	
.header-sidebar {
	float: right;
	margin: 0;
	}
	
.header-sidebar .widget {
	background:none;
	margin-top: 17px;
	width: 350px;
	border-left: 1px solid #ededed;
	}

@media all and (max-width: 959px) {
	#constant_contact_api_widget-5 {
	width: 100%;
	}
	
	#constant_contact_api_widget-5 label, #constant_contact_api_widget-5 div  {
	float: left;
	display: inline;
	margin: 3px;
	}
}

@media all and (max-width: 680px) {
	#constant_contact_api_widget-5 {
	width: 100%;
	}
	
	#constant_contact_api_widget-5 label, #constant_contact_api_widget-5 div  {
	float: none;
	display: block;
	margin: 3px;
	}
}

@media all and (max-width: 800px) {
	.header-sidebar {
	display: none;
	}
	
	.homepage-sidebar .widget {display:none;}

}


/* Front-Page Template - Setting Sidebars like Default Template */

body.template-front-page .site-content, body.single-attachment .site-content {
    float: left;
    width: 65.1042%;
}

.template-front-page .widget-area {
    float: right;
    /*width: 26.0417%;*/
    margin: 1.71429rem 0 0;
	padding: 0;
	border: none;
	clear: none;
}

.template-front-page .widget-area .widget, .template-front-page.two-sidebars .widget-area .front-widgets {
    /*width: 100%;*/
}

@media all and (max-width: 599px) {
	body.template-front-page .site-content, body.single-attachment .site-content, .site-content {
		float: left;
		width: 100%;
		clear: right;
	}
}

/* Widget Styling */

@media all and (max-width: 599px) {
	.template-front-page .widget-area {
		border: medium none;
		clear: right;
		float: left;
		margin: 1.71429rem 0 0;
		padding: 0;
		width: 100%;
	}
}

.widget {
	padding: 0 10px;
	background-color: #024972;
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;
	clear: left;
}

.widget-area .widget h3 {
    margin-bottom: 0.71429rem;
}

.widget-area .widget, .template-front-page .widget-area .widget {
    -moz-hyphens: auto;
    margin-bottom: 1px;
    word-wrap: break-word;
	padding: 24px;
}

.template-front-page .widget-area .widget li {
	list-style: none;
	}
	
.template-front-page .widget-area .widget li a {
    color: #339ed4;
}

.widget-title, .widgettitle {
    color: #FFF;
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 1.8;
    text-transform: uppercase;
	letter-spacing: 2px;
	/*border-bottom: 1px dotted #004770;*/
}

.widget-title a {
	color: #FFF;
	}

.widget-area .widget a {
	color: #FFF;
}

/* Sub-Pages Widget */

#upcoming-events {
	color: #339ed4;
	}
	
#upcoming-events li a {
	color: #fff;
	font-style: italic;
	text-decoration:none;
	}
	
#pssubpages-2 ul li {
	list-style: none;
}

/*#pssubpages-2 {
	float: left;
	width: 100%;
	}*/
	
/* Categories Widget */

.cat-item {
	color: #339ed4;
}

/* Events Calendar Upcoming Widget */

li.future-event {
    color: #339ed4;
}

/* Constant Contact Widget */

.constant-contact-signup p, #constant-contact-signup label {
	color: #339ed4
	}

/* Hebcal Widget */

#hebcal-results li, #hebcal-98501 h3, #hebcal-98501 small {
	color: #666;
	line-height: 14px;
	font-size: 11px;
	font-family: Helvetica, Arial, sans-serif;
	display: inline;
}
.copyright {display:none;}



/* Img Styling */


.homepage-image {
    margin: 0;
}

.entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image {
    border-radius: 0;
    box-shadow: none;
}


/* Footer Overrides */

footer {
	display: block;
	overflow: visible;
	border-top: 0;    
    clear: both;
    font-size: 0.857143rem;
    line-height: 2;
    margin-left: auto;
    margin-right: auto;
	margin-top: 0;
    max-width: 68.5714rem;
    padding: 0;
		border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;
	}

.site-info {
	border-top: 2px solid #194c6a;
	background-color: #00395a;
	margin: 10px auto;
	padding: 14px;
	}
	
.site-info .footer-block:nth-child(5) {
	border-right: none;
	}
	
.footer-block {
	float: left;
	border-right: 1px solid #024b76;
	width: 170px;
	margin: 10px;
	}

@media all and (max-width: 959px) {
	.footer-block {
	border-right: none;
	}

}

.footer-block h4 {
	font-family: "Times New Roman", Times, serif;
	text-transform: uppercase;
	color: #FFF;
	font-size: 1.1rem;
	font-weight: normal;
	line-height: 1.2rem;
	margin-bottom: 1rem;
	}

.footer-block img {
	margin: 3px;
	}
	
.footer-block p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	color: #FFF;
	}
	
.footer-block p a {
	color: #3399cc;
	text-decoration: none;
	}
	
.clear {
	clear: both;
}
footer.entry-meta {
	display: none;
	}
footer[role="contentinfo"] {
	margin-top: 0 !important;
	border: none !important;
}
.menu-toggle:active, .menu-toggle.toggled-on, .menu-toggle {background-color: #01476f !important; width: 90%; background-image: none !important; box-shadow: none !important; color: #FFFFFF; font-size:16px;}

/* Royal Slider Styles */

.abBlackBox {background: rgba(102, 102, 102, 0.8); text-align: center; font-size: 150%; font-weight: normal !important;}