/* general */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

body {
	background-color: #fff;
}

body, p {
	font-family: 'Nobile', sans-serif;
	font-weight: 300;
	font-size: .95em;
	padding-bottom: 13px; 
}

p {
	line-height: 22px;
	text-transform:none; /* BGE: felt like we needed normal casing for paragraphs */
}

hr {
	margin: 20px 0;
	opacity: .5;
}

section {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

footer .box {
	min-height: 700px;
	background: url("../img/footer-image.jpg") 100% 100% repeat-x;
	background-position: 0 0;
	background-color: #2b8095;
	padding: 0;
}

footer .l-6 {
	background: #fff;
	margin: 30px 30px 10px 30px;
	padding: 20px;
	float: right;
	opacity: .75;
	box-shadow: 0 2px 1px #333;
}

.main-header {
	position: absolute;
	height: 150px;
	z-index: 1;
}

.search-area {
	position: absolute;
	top:-5px;
	right: 25px;
	height: 70px;
	padding: 20px;
	background: #6da9bc;
	border: 1px solid #55a0b4;
	border-radius: 2px;
	box-shadow: 0 1px 1px #777;
	opacity: .75;
}

.search-area input {
	position: relative;
	top: -10px;
	min-width: 300px;
	min-height: 30px;
	background-color: #eee;
  	color: #333;
  	margin-top: -20px;
  	padding: 5px;
  	line-height: 20px;
  	font-size: 12px;
  	border:none;
  	border-radius: 2px;
  	box-shadow: 0 1px 1px #10324b;
  	opacity: 1;
}

.search-area a img {
	width: 30px;
	opacity: 1;
}

.search-button {
	position: absolute;
	top: 26px;
	right: 132px;
	width: 20px;
	opacity: .5;
}

.search-button:hover, .search-area a img {
	cursor: pointer;
}

.search-area a img:hover {
	opacity: .5;
}

.mens-studies, .mens-communities, .mens-events {
	padding: 20px 50px 50px 50px;
	min-height: 150px;
}

.mens-studies {
	background: #6da9bc;
	width: 100%;
}

.mens-communities {
	background: url('../img/wavegrid-yellow.png');
}

.mens-events {
	background: #534e48;
}

.sermons h1, .calendar h1  {
	font-family: 'Nobile', sans-serif;
	font-weight: 300;
	text-transform: lowercase;
	color: #fff;
	text-shadow: 0 1px 1px #000;
	margin:-20px 0 20px 0;
}

.photo p {
	font-size: 1em;
	line-height: 18px;
}
.photo p em {
	display: block;
	color: #3b92aa;
	font-weight: normal;
	margin-bottom: 10px;
}

a.anchor{display: block; position: relative; top: -135px; visibility: hidden;} /* BGE: giving room for navigation on anchor tag click */
a.anchor.section {display: block; position: relative; top: -60px; visibility: hidden;} /* BGE: giving room for navigation on anchor tag click */
ul.s1 {padding: 5px 5px 13px 20px;} /* BGE: Brian added */
ul.s1 li {line-height: 22px;} /* BGE: Brian added */

/* override from responsee */
.box {
	background: url('../img/light_grey-bluetinge.png');
	border-top: 1px solid #fff;
}
.box a {
	color: #2b8095;
}
.box a:hover {
	opacity: .75;
}

section h1, section h2, section h3, section h4, section h5 {
	margin-bottom: 1em;
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0, .5);
}
h1 { text-transform: lowercase;}

.box h4 {
	margin-top: 2em;
	font-size: 1.25em;
	color: #2b8095;
	text-shadow: none;
}

.l-4 .box {
	background: #fff;
	box-shadow: 0 1px 2px #555;
}

.l-2 {
	width: 20%;
	margin-bottom: 1em;
}

.adjust {}

nav {
	background-color: #534e48;
	width:100%;
	margin: 0 auto 0 auto;
	position: relative;
	top: 0;
	z-index: 2;
}

.nav-text, .top-nav li a, .login input, .login button, .forgot {
	font-family: 'Nobile', sans-serif;
	font-weight: 300;
	text-transform: lowercase;
}

.nav-text, .top-nav {
	text-shadow: 0 1px 1px #000;
}

.top-nav {
	border: 1px solid #817373;
	border-radius: 2px;
	width: 100%;
	box-shadow: 0 1px 2px #555;
	background-color: #534e48;
	background-size: 120px 37px;
}

.top-nav li {
	border-right: 1px solid #3f3933;
	min-width: 200px;
}

.top-nav li a:hover, .aside-nav li a:hover {background:#736555;}

.top-nav li a:visited {background:#534e48;}
.top-nav li a:active {background:#736555;}

.submenu ul {
	background: #644646;
	min-width: 200px;
	border-top: 1px solid #817373;
	margin: 0 2px 2px 2px;
	box-shadow: 0 1px 1px #333;
}

.submenu ul li {
	border-right: none;
	border-top: 1px solid #4f4848;
}

.margin-bottom {
	margin-bottom: 0;
}

.line {
	padding: 0;
	margin: 0;
}

.demo {
	background: #013f4f;
	margin-top: -67px;
}

#owl-demo {
	background: transparent;
	position: relative;
	margin-bottom: 4px;
}

.owl-carousel {
	padding-left: 25px;
	padding-right: 25px;
}

.owl-wrapper-outer {
	background: #fff;
	box-shadow: 0 0 4px #333;
	width: 100%;
}

.item img {
	width: 100%;
	border: 4px solid #fff;
	border-bottom: 2px solid #fff;
}

.s-12 .box {
	background: #fff;
}

.s-12 .box h2 {
	color:#7d1317;
	font-size: 1.7em;
}

.s-12 .photo img {
}

/* mens */

.message-text {
	position: absolute;
	width: 30%;
	top: 90px;
	right: 100px;
}
.message-text p {
	font-size: 85%;
	color: white;
	text-transform: none;
}

.message-text h1, .message-text h2, .message-text h3, .message-text h4, .message-text h5 {
	color: white;
	font-weight: bolder;
	text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.message-text h1 {
	font-size: 2.5em;
	text-transform: uppercase;
}

.message-text img {
	width: 80%;
	border: none;
	margin-bottom: 20px;
}

.men-info {
	background: url('../img/men/jim.jpg') left bottom no-repeat;
	background-color: #000;
	background-size: 60%;
	padding: 20px;
	overflow: hidden;
	margin-bottom: 0;
}

.men-info .welcome {
	width: 60%;
	float: right;
	padding: 20px;
	color: #fff;
}

.men-info .welcome p {
	margin: 20px 0;
	line-height: 25px;
}

.men-info .welcome h1 {
	color: #4d99ae;
}

/* components */

/* Icon font - MFG labs */
@font-face {
  font-family: 'mfg';
  src: url('../font/mfglabsiconset-webfont.eot');
  src: url('../font/mfglabsiconset-webfont.eot?#iefix') format('embedded-opentype'),
	url('../font/mfglabsiconset-webfont.woff') format('woff'),
	url('../font/mfglabsiconset-webfont.ttf') format('truetype'),
	url('../font/mfglabsiconset-webfont.svg#mfg_labs_iconsetregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
i, .icon {
  font-family: 'mfg';
  font-size: 1em;
  font-style: normal;
  font-weight: normal;
  color:#e3e3e3;
}
.icon2x {font-size: 2em;}
.icon3x {font-size: 3em;}
.gradient {
  color: #999999;
  text-shadow: 1px 1px 1px rgba(27, 27, 27, 0.19);
  transition: all 0.1s ease-in-out 0s;
}
.gradient:hover, .gradient .current {
  color: #EEEEEE;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.25);
}

.right a {
		color: #4d99ae;
	}
.right a:hover {
		text-decoration: underline;
	}

/* override media queries */
@media screen and (max-width:800px) {
	.s-6, .l-2 {
		width:80%;
		margin: 0 auto 20px auto;
		float:none;
	}

	.search-area {
		position: relative;
		top: 0px;
		right: 0;
		margin: 0 auto;
		width: 300px;
		height: 80px;
		padding: 10px;
		text-align: center;
		background: none;
		border: none;
		box-shadow: none;
	}

	.search-area a img {
		display: inline;
	}

	.search-button {
		top: 1px;
		right: 1px;
		width: 20px;
		opacity: .85;
	}

	.search-area input {
		position: relative;
		top: -10px;
		min-width: 300px;
		min-height: 30px;
		background-color: #fff;
  		color: #333;
  		margin-top: -20px;
  		padding: 5px;
  		line-height: 20px;
  		font-size: 12px;
  		text-align: center;
  		border: 1px solid #ddd;
  		border-radius: 2px;
  		box-shadow: 0 1px 1px #10324b;
	}

	.nav-text {
		float: none;
		text-align: center;
	}

	.submenu ul, .submenu ul li {
	background: #3f3933;
	border-top: none;
	margin: 0;
	box-shadow: none;
	}

	nav {
		width: auto;
		border: 1px solid #817373;
		border-radius: 2px;
		box-shadow: 0 1px 2px #555;
	}

	.top-nav li ul li a {
  	background:none repeat scroll 0 0 #635d55;
	}

	.login {
		width: 50%;
	}

	.nodemo {
		height: 0;
		display: none;
		visibility: hidden;
	}

	.men-info .welcome {
		width: 100%;
		float: none;
	}

	input[type=checkbox] {
    	border: 0;
    	clip: rect(0 0 0 0);
    	height: 1px;
    	width: 1px;
    	margin: -1px;
    	overflow: hidden;
    	padding: 0;
    	position: absolute;
	}

	footer .l-6 {
		text-align: center;
		background: none;
		margin: 0;
		padding: 20px;
		float: none;
		clear: both;
		opacity: none;
		box-shadow: none;
	}

	footer p, h1, h2, h3, hr {
		color: #fff;
	}

	footer .box a {
		color: #4d99ae;
	}

	[for="sign-in"] {
		position: absolute;
		top: 30px;
		right: 0;
		width: 100%;
		text-align: center;

	[for="sign-in"]:hover {
		background: rgba(0,0,0,.5);
		color: rgb(255,255,255);
	}

	[for="sign-in"] span:last-of-type {
		display: none;
		visibility: hidden;
	}

	input[type=checkbox]:checked ~ figure { 
		width: 100%;
	}

	input[type=checkbox]:checked ~ [for="sign-in"] span:first-of-type {
		display: none;
		visibility: hidden;
	}

	input[type=checkbox]:checked ~ [for="sign-in"] span:last-of-type {
		display: block;
		visibility: visible;
	}


}