/*ROTATING BG */
* {
	box-sizing: border-box;
}
html {
	margin: 0;
}
/* NAV SLIDEBARS */
[canvas=container], [off-canvas] {
	padding: 10px 20px;
}
[class*=js-] {
	cursor: pointer;
}
[canvas], [off-canvas*=push] {
	z-index: 1
}
[off-canvas*=reveal], [off-canvas*=shift] {
	z-index: 0
}
[canvas=container], [off-canvas], body, html {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}
body, html {
	width: 100%;
	height:100%;
	overflow: hidden
}
[canvas=container] {
	width: 100%;
	height: 100%;
	overflow-y: auto;
	position: relative;
	-webkit-overflow-scrolling: touch
}
[canvas=container]:after, [canvas=container]:before {
	clear: both;
	content: '';
	display: table
}
[off-canvas] {
	display: none;
	position: fixed;
	overflow: hidden;
	overflow-y: auto;
	background-color: #FFFFFF;
	color: #333333;
	-webkit-overflow-scrolling: touch
}
[off-canvas*=right] {
	width: 255px;
	height: 100%;
	top: 0;
	right: 0
}
[off-canvas*=overlay] {
	z-index: 9999
}
[canvas], [off-canvas] {
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	transform: translate(0, 0);
	-webkit-transition: -webkit-transform .3s;
	transition: transform .3s;
	-webkit-backface-visibility: hidden
}
[off-canvas*=shift][off-canvas*=right] {
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0)
}

@media print {
[canvas] {
	-webkit-transform: translate(0, 0)!important;
	-ms-transform: translate(0, 0)!important;
	transform: translate(0, 0)!important
}
[off-canvas] {
	display: none!important
}
}

/* CORE STYLING */
.nav {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 3px;
	height: 150px;
	background-color: #FFF;
	box-shadow: 0px 0px 5px #CCC;
	z-index: 999;
	position: fixed;
}
.navib img {
	width: 32px;
	height: 32px;
	margin-top: 8px;
}
.logo {
	width: 300px;
	float: left;
}
.logo img{
	width: 270px;
}
.menu {
	margin-top: 50px;
	float: right;
	font-size: 16px;
	color: #555;
	font-weight: 600;
}
.menuitem {
	display: inline-block;
	padding: 0px 15px;
	border-right: 1px solid #CCC;
}
.menuitem a{
	color: #777555;
	text-decoration: none;
}
.menuitem a:hover{
	color: #999;
}
.menuitem:first-child {
	padding-left: 0px;
}
.menuitem:last-child{
	border: 0px;
}
.footer {
	width: 100%;
	box-sizing: border-box;
	padding: 50px 0px;
	background-color: #CCCCCC;
	text-align: center;
	color: #000;
}
.footer a {
	color: #000;
	text-decoration: none;
}
.footer a:hover {
	color: #000;
}
.footer img{
	width: 32px;
	height: 32px;
	display: inline-block;
	margin: 0px 5px;
}
.app img{
	width: 120px;
	height: auto;
	margin: 0 auto;
	display: inline-block;
	margin-bottom: 2px;
}
.menu img {
	height: 32px;
	width: auto;
	margin-top: 14px;
	margin-left: 32px;
}
.menu img:first-child {
	margin-left: 0px;
}
.main {
	padding-top: 210px;
	min-height: calc(100vh - 150px);
}
.homebg {
  background: url(SJM.jpg) no-repeat bottom fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding-top: calc(100vh - 60vh);
  min-height: calc(100vh - 150px);
}
.onethird {
	width: 32%;
	display: inline-block;
	float: left;
	margin-right: 2%;
}
.onethird:last-child {
	margin-right: 0%;
	float: right;
}
.onethirdtwo {
	width: 32.5%;
	display: inline-block;
	margin-right: 2%;
	margin: 5px auto;
}
.onethirdtwo:last-child {
	margin-right: 0%;
}
.onehalf {
	width: 49%;
	margin-right: 2%;
	box-sizing: border-box;
	float: left;
}
.onehalf:last-child {
	float: right;
	margin-right: 0;
}
.mobmenu {
	font-size: 16px;
	font-weight: bold;
	text-align: left;
	padding: 20px 10px 20px 20px;
	border-bottom: 1px solid #4EA4EA;
}
.mobmenu a {
	color: #333;
	text-decoration: none;
	font-weight: 400;
}
.mobmenu img {
	width: 18px;
	height: auto;
	vertical-align: middle;
	display: inline-block;
	margin-right: 10px;
}
.signup {
	width: 470px;
	float: right;
	margin-bottom: -10px;
}
.signup input {
	width: 300px;
	height: 50px;
	line-height: 50px;
	font-size: 16px;
	float: left;
	color: #333333;
}
.signup input[type=submit]{
	float: right;
	width: 150px;
	background-color: #4EA4EA;
	color: #4EA4EA;
	font-weight: normal;
	background-color: #FFF;
}
.signupform input {
	width: 350px;
	height: 50px;
	line-height: 50px;
	font-size: 16px;
}
.signupform input[type=submit]{
	width: 220px;
	background-color: #4EA4EA;
	color: #FFF;
	font-weight: normal;
}
.bluebg {
	background-color:  #fac222;
	color: #FFFFFF;
	padding: 50px 0px;
}
.pb50 {
	padding-bottom: 50px;
}
.imagebar {
	width: 100%;
	padding: 10px;
	line-height: 24px;
	text-align: right;
	background-color: #EEE;
	margin-top: -5px;
	z-index: 1000;
	margin-bottom: 10px;
}
.imagebar img {
	float: right;
	width: 24px !important;
	height: auto !important;
}
.imagebar a{
	display: block;
	color: #333333;
	text-decoration: none;
}
.imagebar a:hover {
	color: #555555;
	text-decoration: none;
}
.tw {
	color: #FFF;
	text-shadow: 0px 0px 2px #333;
}
.t22 {
	font-size: 22px;
    line-height: 30px;
    font-weight: 300;
}
.readings {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #AAA;
}
.readings:last-child {
	border-bottom: none;
	margin-bottom: 50px;
}
.readings h2 a{
	text-decoration: none;
	color: #333333;
}
.readings h4 a{
	text-decoration: underline;
	color: #333333;
}
.readings img{
	box-shadow: 0px 0px 5px #CCCCCC;
}
.contactform {
	width: 100%;
	max-width: 500px;
}
.box {
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	border: 2px solid #0299EA;
	background-color: #EEEEEE;
}
.box h3 {
	margin-bottom: 2px !important;
}
.box h4 {
	margin-bottom: 0px !important;
	padding-bottom: 0px !important;
}
.mobonly {
	display: none;
}
.splitter {
	width: 100%;
	height: 1px;
	background: #CCCCCC;
	margin-top: 20px;
	margin-bottom: 20px;
}
.picture {
	float: left;
	width: 100%;
	max-width: 40%;
	margin-bottom: 20px;
	margin-right: 20px;
}
.picture img{
	width: 100%;
}
#thread__container a {
	color: #4EA4EA !important;
}
.flags {
	position: absolute;
	z-index: 9999;
	top: 10px;
	right: 10px;
}
.flags img {
	width: 40px;
	height: auto;
}
.moblang {
	padding: 20px 10px 20px 20px;
}
.moblang img {
	display: inline-block;
	margin-right: 5px;
	margin-left: 5px;
	width: 40px;
	height: auto;
}
.ytcontainer {
	overflow:hidden;
	padding-bottom:56.25%;
	position:relative;
	height:0;
	margin-bottom:  20px;
}
.ytcontainer iframe{
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}