/**********************************************************************************
	(c) New English Review
**********************************************************************************/

/**********************************************************************************
	Fonts
**********************************************************************************/

@import url('https://fonts.googleapis.com/css?family=Roboto:400,700|Montserrat:400,700');



/**********************************************************************************
	111 Overwrites
**********************************************************************************/

.SideColDiv .w_BlogFeed,
.SideColDiv .w_NewsFeed,
.SideColDiv .w_ShoppingBasket,
.SideColDiv .w_Custom,
.SideColDiv .w_Twitter,
.SideColDiv .w_Poll,
.SideColDiv .w_PageContent,
.SideColDiv .w_AltContent {
	padding: 0px;
}
.SideColDiv h3,
.SideColDiv h4 {
	padding: 0;
	margin: 0;
}
body.big1 #contentWrap {
	width: auto;
	padding: 0;
}
body.big1 #mainBtm {
	display: none;
}



/**********************************************************************************
	HTML
**********************************************************************************/

body {
	background-color: #fff;
	font-size: 1em;
	font-family: 'Roboto', sans-serif;
	color: #555;
}

h1, p {
	margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.7em;
	font-weight: 400;
	color: #551212;
	line-height: 1.1em;
}
h1 {
	font-size: 2em;
	color: #761616;
}






/**********************************************************************************
	Main Structure
**********************************************************************************/

#container {
	position: relative;
	width: auto;
	margin: 0 auto;
}

#header {
	border: 1px solid #2d2a2a;
	border-width: 2px 0 3px;
	background: #551212 url('bg-hdr.png') center top repeat-x;
}
#headerDiv1 {
	position: relative;
	border: 1px solid #fff;
	border-width: 2px 0 4px;
	min-height: 220px;
	background: transparent url('bg-bokeh.png') center top no-repeat;
}

#mainWrap {
/* 	background: transparent url('bg-content.png') center top repeat-x; */
	border-top: 18px solid #e3e3e3;
}

#headerDiv1 .wrapper,
#main {
	width: auto;
	max-width: 1000px;
	box-sizing: border-box;
	margin: 0 auto;
}
#headerDiv1 .wrapper {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	min-height: 220px;
}

#headerDiv1 .wrapper .logo {
	position: absolute;
	bottom: -40px;
	left: 24px;
}



/**********************************************************************************
	Navigation
**********************************************************************************/

a.navmenu {
	display: none;
}
.w_SiteNav.show,
.w_SiteNav.hide {
	display: block;
}

#headerDiv2 {
	background-color: #2d2a2a;
	padding: 8px 24px;
}

.w_SiteNav {
	width: auto;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

ul.TopNav {
	display: inline-block;
	margin: 0 auto;
}

ul.TopNav li {
	position: relative;
	margin: 1px;
	list-style-type: none;
	font-weight: bold;
	text-align: left;
	cursor: pointer;
	float: left;
	float: none;
	display: inline-block;
}

ul.TopNav li a:link,
ul.TopNav li a:visited {
	display: block;
	float: none;
	padding: 5px 12px;
	margin: 0;
	background-color: transparent;
	font-weight: 400;
	font-size: 0.825em;
	color: #aaa;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	-o-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
ul.TopNav li a:hover {
	color: #2d2a2a;
	background-color: #fff;
}





/**********************************************************************************
	Content
**********************************************************************************/

#contentContainer p {
	line-height: 1.7em;
}

#contentWrapper {
	padding: 24px;
	box-sizing: border-box;
	width: auto;
	max-width: 1000px;
}


body.centeredcols #contentWrap,
body.centeredcols #mainDiv1,
body.centeredcols #mainDiv2 {
	padding: 0;
}


body.centeredcols #mainDiv1 {
    float: none;
    width: auto;
    margin: 0;
    display: block;
}

body.centeredcols #contentWrap {
    float: left;
    width: 68%;
}

body.centeredcols #mainDiv2 {
    float: right;
    width: 26%;
}





body.right2 #contentWrap,
body.right2 #mainDiv1,
body.right2 #mainDiv2 {
	padding: 0;
}


body.right2 #mainDiv2 {
    float: none;
    width: auto;
    margin: 0;
    display: block;
}

body.right2 #contentWrap {
    float: left;
    width: 68%;
}

body.right2 #mainDiv1 {
    float: right;
    width: 26%;
}


body.right2 #mainDiv2 {
    clear: both;
}





.blogFeed_post {
	border-bottom: 1px solid #eee;
}
.blogFeed_post:nth-of-type(1) {
	border-top: 1px solid #eee;
}

.w_BlogFeed h3 {
	margin: 0 0 12px;
	padding: 0 4px;
}

.blogFeed_post h4 {
	margin: 0;
	font-size: 0.75em;
	padding: 0px 0 8px;
}

.blogFeed_post h4 a {
	text-decoration: none;
	display: block;
	-o-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	padding: 2px 4px;
}

.blogFeed_post h4 a:hover {
	text-decoration: none;
	background-color: #eee;
}

.blogFeed_post_date {
	padding: 8px 4px 0;
	color: #aaa;
	font-size: 0.7em;
	font-weight: 400;
}

.blog_nav {
	border: none;
}

#blog_components_top {
/*
	border: 1px solid #eee;
	border-width: 1px 0;
*/
	border: none;
	padding-top: 12px;
}


#blog_components_links {
	display: none;
	display: block;
}


#blog_components_top #blog_categories {
	display: block;
	display: none;

}
#blog_components_top h2 {
	margin: 12px 0;
	font-size: 16px;
	padding: 0px 0 8px;
}


#blog_components_links a:link,
#blog_components_links a:visited {
    display: inline-block;
    float: none;
    padding: 4px 8px;
    margin: 2px 0;
    font-weight: 400;
    font-size: 0.75em;
    text-decoration: none;
    border: 2px solid #e3e3e3;
    background-color: #2d2a2a;
    color: #aaa;
}
#blog_components_links a:hover {
    display: inline-block;
    background-color: #2d2a2a;
    color: #fff;
}





#contentDiv img {
	height: initial !important;
}




/**********************************************************************************
	Footer
**********************************************************************************/

#footer {
	background-color: #262223;
	border-top: 7px solid #e3e3e3;
}

#footerDiv1 {
	margin-top: 2px;
	border-top: 2px solid #fff;
}

#footerDiv2 {
	width: auto;
	max-width: 1000px;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 24px;
}

#footerDiv2 .w_Custom a,
#footerDiv2 .w_PageContent a {
	text-decoration: none;
	color: #aaa;
}

#footerDiv2 .w_Custom a:hover,
#footerDiv2 .w_PageContent a:hover {
	color: #fff;
}

#footerDiv2 .w_Custom,
#footerDiv2 .w_PageContent {
	display: inline-block;
	float: left;
	margin: 0;
	margin-top: 18px;
	margin-bottom: 12px;
	padding: 0;
	width: 30%;
	box-sizing: border-box;
}

#footerDiv2 .w_Custom {
	margin-right: 4%;
}

#footerDiv2 .w_PageContent {
	text-align: left;
	float: right;
	line-height: 1.5em;
	font-size: 0.75em;
}

#footerDiv2 .donations,
#footerDiv2 .donations * {
	text-align: center;
}

#footerDiv2 .donations em {
	font-size: 0.8em;
	margin-top: 8px;
}





/**********************************************************************************
	Global Classes
**********************************************************************************/

.social {
	position: absolute;
	top: 60px;
	right: 36px;
}
.social_footer {
	text-align: right;
}
.social a,
.social_footer a {
	display: inline-block;
	width: 60px;
	height: 60px;
	-o-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.social img,
.social_footer img {
	width: 60px;
	height: 60px;
}
.social .facebook,
.social_footer .facebook {
	background: transparent url('icon-facebook-fade.png') center center no-repeat;
}
.social .facebook:hover,
.social_footer .facebook:hover {
	background: transparent url('icon-facebook.png') center center no-repeat;
}
.social .twitter,
.social_footer .twitter {
	background: transparent url('icon-twitter-fade.png') center center no-repeat;
}
.social .twitter:hover,
.social_footer .twitter:hover {
	background: transparent url('icon-twitter.png') center center no-repeat;
}





/**********************************************************************************
	Responsive
**********************************************************************************/

@media screen and ( max-width: 750px ) {
	#header {
		background: #551212 url('bg-hdr.png') center bottom repeat-x;
	}
	#headerDiv1 {
		min-height: 0;
		background: transparent url('bg-bokeh.png') center bottom no-repeat;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}

	#headerDiv1 .wrapper {
		position: relative;
		overflow: visible;
		box-sizing: border-box;
		min-height: 0;
		text-align: center;
	}
	#headerDiv1 .wrapper .logo {
		position: relative;
		display: block;
		bottom: auto;
		left: auto;
		text-align: center;
		padding: 8px 0 0;
	}
	#headerDiv1 .wrapper .logo img {
		width: 100%;
		max-width: 300px;
	}
	.social {
		position: relative;
		text-align: center;
		top: auto;
		right: auto;
		padding: 0 0 8px;
	}
}

@media screen and ( max-width: 640px ) {
	body.centeredcols #contentWrap,
	body.centeredcols #mainDiv2 {
	    float: none;
	    width: auto;
	    padding: 0 24px;
	}
	body.right2 #contentWrap,
	body.right2 #mainDiv1 {
	    float: none;
	    width: auto;
	    padding: 0 24px;
	}

	a.navmenu {
		display: block;
		text-decoration: none;
		font-size: 1.8em;
		padding: 8px 6px;
		color: #fff;
		background-color: transparent;
		border: none;
		position: relative;
		text-align: center;
		-o-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
	a.navmenu.active {
		color: #aaa;
	}
	a.navmenu.inactive {
		color: #fff;
	}
	a.navmenu.active:hover,
	a.navmenu.inactive:hover {
		color: #aaa;
	}
	a.navmenu span {
		display: inline-block;
		vertical-align: middle;
		font-size: 0.5em;
		text-transform: uppercase;
	}

	#headerDiv2 {
		padding: 0;
	}

	.w_SiteNav {
		display: none;
		padding: 0;
	}
	.w_SiteNav.show {
		display: block;
	}
	.w_SiteNav.hide {
		display: none;
	}

	ul.TopNav {
		display: block;
		width: auto;
		position: relative;
		margin: 0;
		padding: 0;
		left: auto;
		bottom: auto;
	}
	ul.TopNav li,
	ul.TopNav li:hover,
	ul_topNav a:hover {
		background: transparent;
	}
	ul.TopNav li {
		display: block;
		float: none;
		border-top: 1px solid #555;
		margin: 0;
	}

	ul.TopNav li a:link,
	ul.TopNav li a:visited {
		display: block;
		width: auto;
		margin: 0;
		float: none;
		padding: 12px;
		transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-webkit-transition: all 0.3s ease-in-out;
	}
	ul.TopNav li a:hover {
/*
		background-color: #291464;
		color: #fff;
*/
	}
	.w_SiteNav br {
		display: none;
	}

	ul.TopNav li ul {
		display: none;
	}
/*
	ul.TopNav li ul {
		width: auto;
		position: relative !important;
		display: block;
		left: 0 !important;
		top: 0 !important;
	}
	ul.TopNav li ul li a:link,
	ul.TopNav li ul li a:visited {
		display: block;
		width: auto;
		position: relative !important;
		margin: 0;
		padding: 5px 7px 5px 28px;
		font-size: 0.85em;
	}
	ul.TopNav li ul li a:hover {
		background-color: #d42933;
		color: #fff;
	}
	ul.TopNav li:hover ul,
	ul.TopNav li:hover ul.ulChildren,
	ul.TopNav li.msieFix ul {
		display: block;
		position: relative !important;
		z-index: 999;
		top: 0;
	}

	ul.TopNav li ul {
		top:36px;
		margin-top: 0;
	}
*/

}

@media screen and ( max-width: 600px ) {
	.footer_links li a {
		padding: 12px 12px;
		font-size: 0.9em;
	}
	.social_footer {
		text-align: center;
	}
	#footerDiv2 .w_Custom,
	#footerDiv2 .w_PageContent {
		display: block;
		float: none;
		margin: 0;
		margin-top: 18px;
		margin-bottom: 18px;
		width: auto;
	}
	#footerDiv2 .w_PageContent:nth-of-type(2) {
		text-align: center;
		float: none;
		line-height: 1.5em;
		font-size: 0.9em;
		padding-top: 24px;
	}
	.footer_links li a {
		text-align: center;
	}
	.social_footer {
		text-align: center;
	}
}

@media screen and ( max-width: 540px ) {
	.email_form_table {
		width: 100%;
	}
	.email_form_table td {
		display: block;
		width: 100%;
		text-align: left;
	}
	.email_form_table input[type="text"],
	.email_form_table textarea {
		width: 100%;
	}
}




/**********************************************************************************
	clearfix
**********************************************************************************/

.group:before,
.group:after {
    content: "";
    display: table;
} 
.group:after {
    clear: both;
}
.group {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}


