/* @override 
	http://dev2.9marks.org/wp-content/themes/9marks/style-mobile.css?ver=1.3
	http://dev.9marks.org/site/wp-content/themes/9marks/style-mobile.css?ver=1.3 */
@media screen and (max-width:600px) {
body,
body.mobile-enabled {
	min-width:320px;
	width:auto;
	display: block !important;
	font-size: 120% !important;
	line-height: 1.45;	
}
.set-initial-min-height {
	min-height: 10px !important;
}
.mobile-hide {
	display: none !important;
}
.mobile-only {
	display: block !important;
}
span.mobile-only {
	display: inline !important;
}
.desktop-only {
	display: none;
}
.desktop-hide {
	display: block;
}
.wp-caption {
	max-width: 100%;
}
img {
	max-width: 100%;
	height: auto;
}
div.alignleft,
div.alignright,
img.alignleft,
img.alignright {
	float: none;
	display: block;
	margin: 0 0 15px 0;
}
.wp-caption.alignright,
.wp-caption.alignleft, 
.featured-image.alignright,
.featured-image.alignleft {
	margin: 0 1em 1.5em 0;
	float: left;
}
.row {
	width: auto !important;
	xmargin: 0 15px !important;
	margin-left: auto !important;
}

[class*="span"] {
	float: none !important;
	margin: 0 0 15px 0 !important;
	width: auto !important;
}

.wrap {
	width: auto;
	margin: 0 15px;
}
.scrolled #header {
	top: -46px;
	min-width: 10px;
}

#banner.tall {
	height: 230px;
}
#banner.tall:after {
	height: 150px;
	background-size: auto 150px;
}
#banner.tall .page-title {
	bottom: 20px;
	padding: 0 20px;
}
#banner > .bar {
	background-position: 0 -30px;
	background-size: 320px auto;
	width: 100%;
	height: 120px;
}
#banner .section-page-title {
	top: 10px;
	font-size: 30px;
	width: 150px;
}
#nav-main > ul > li:last-of-type {
	width: inherit;
}
#nav-main > ul > li.last {
	margin-left: 0;
}
#lang > ul > li, 
#lang > ul > li.selected {
	width: 60px; 
	margin: 0 10px 10px 0;
}

#content {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	min-height: 100px;
}

.category #banner .post-filter {
	background: red;
	display: none;
}
.category #banner.tall {
	height: auto;
}
.category #banner.tall .featured-posts,
.featured-posts {
	position: relative;
	z-index: auto;
	height: auto;
	bottom: auto;
	margin: 0px 0 20px -3px;
	padding: 10px 0 0 0;
	width: auto;
}
.category #banner.tall > .bar {
	top: 0;
}
#banner.journal {
	height: auto;
	padding: 20px 45px;
}
#banner.journal .section-page-title {
	position: relative;
	margin: 0 0 10px 0;
	width: auto;
	top: auto;
	left: auto;
	color: #003471;
}
#banner.journal .page-title {
	position: relative;
	padding: 0;
	left: auto;
	bottom: auto;
}
#banner.journal .page-title h1 {
	font-size: 20px;
	margin: 0;
	font-weight: bold;
	background: none;
}
#banner.journal .page-title h1:after {
	background: none;
}
#banner.journal > .bar {
	background-image: url(images/bar-grey2.png);
}

#pagetitle { font-size: 2em; }
h2.journal { font-size: 150%; }
.post-type-archive-journal .hentry.journal {
	width: 100%;
	margin: 0;
	padding: 2em 2em 0;
}
.post-type-archive-journal h3 {
	margin-bottom: 0;
	font-size: 100%;
}

.featured-posts.journal {
	padding-top: 0;
}
.featured-posts:after {
	display: block;
	clear: both;
	content: ' ';
}
.featured-posts .hentry {
	width: 50%;
	height: 200px;
}
.featured-posts .hentry:nth-of-type(odd) {
	float: right;
	margin: 0;
	width: 49%;
}
.featured-posts .hentry.large:before {
	display: none;
}
.featured-posts .hentry.large {
	float: none;
	width: auto;
	height: 320px;
	margin: 0px 0 0 0;
}
.featured-posts .hentry.large .content {
	left: 10px;
}
.featured-posts .hentry .title,
.featured-posts .hentry.large .title {
	font-size: 120%;
}
.featured-posts .hentry.large .thumb img,
.featured-posts .hentry .thumb img {
	height: auto;
	width: 100%;
}
.hentry.excerpt .content .meta {
	float: none;
}

.hentry.excerpt.has-thumbnail .thumb {
	margin-left: 0;
	float: none;
}
.hentry.excerpt.has-thumbnail .thumb:after {
	max-width: 100px;
}

.featured-posts.front-page {
	margin-bottom: 40px;
}
.featured-posts.front-page .hentry {
	width: 50%;
	float: none;
	margin: 0;
	
}
.featured-posts.front-page .hentry.nth-1 {
	width: 100%;
	margin-bottom: 20px;
}

.featured-events {
	margin-left: -10px;
	margin-right: -10px;
}
.featured-events .hentry {
	width: 49%;
	height: 200px;
	margin: 0 0 10px 0;
}
.featured-events .hentry + .hentry {
	margin-left: 2%;
}
.featured-events .hentry .title {
	font-size: 120%;
}
.editors-picks.row {
	margin-bottom: 0;
}
.editors-picks.row .hentry.excerpt {
	max-width: none;
	padding-bottom: 0;
}
.editors-picks.row {
	margin-left: -20px !important;
}
.editors-picks.row .span5,
.editors-picks.row .span6 {
	margin-bottom: 0 !important;
	margin-left: 20px !important;
	width: -webkit-calc(50% - 20px) !important;
	width: -moz-calc(50% - 20px) !important;
	width: calc(50% - 20px) !important;
	float: left !important;
}


.recent-posts {
	margin-left: -20px;
	margin-right: -15px;
	padding: 35px 15px 0px 0;
	background: #f5f5f5;
	
}
.recent-posts:after {
	content: ' ';
	display: block;
	clear: both;
}
.recent-posts .hentry {
	margin-left: 20px;
	float: left;
	width: -webkit-calc(50% - 20px);
	width: -moz-calc(50% - 20px);
	width: calc(50% - 20px);
	clear: none;
	border-top: 0;
}
.recent-posts .hentry.has-thumbnail .thumb {
	display: none;
}
.recent-posts .hentry:nth-child(odd) {
	clear: left;
}

form.signup input[type="email"] {
	display: inline-block;
	vertical-align: middle;
	width: 200px;
	width: -webkit-calc(100% - 162px);
	width: -moz-calc(100% - 162px);
	width: calc(100% - 162px);
}
form.signup label strong {
	width: auto;
	padding: 0 10px;
	display: inline-block;
	vertical-align: middle;
	color: #252525;
	background: no-repeat;
	font-weight: normal;
	border-right: 0;
	line-height: 34px;
}
form.signup button {
	font-size: 14px;
}
blockquote,
blockquote p {
	line-height: 1.45;
}
blockquote {
	margin: 2em 0;
	background: #eee;
	border-left: 10px solid #003471;
	padding: 15px 15px 5px;
	clear: both;
}
blockquote.quote2 {
	float: none;
	border: none;
}

#sidebar {
	float: none;
	margin: 30px 0 0 0;
	padding: 15px 15px 0 15px;
	width: auto;
}
#main > #subnav {
	float: none;
	width: auto;
	margin-top: -40px;
	margin-bottom: 30px;
}
#subnav .menu-toggle {
	display: block;
	background: #eee;
	background-color: rgba(0,0,0,0.1);
	margin-left: -40px;
	padding: 5px 5px 5px 40px;
	cursor: pointer;
}
#subnav .menu-toggle:before {
	content: ' ';
	display: block;
	position: absolute;
	top: 10px;
	left: -32px;
	width: 20px;
	height: 10px;
	border: 2px solid #003470;
	border-left: 0;
	border-right: 0;
}
#subnav .menu-toggle:after {
	content: ' ';
	display: block;
	position: absolute;
	top: 16px;
	left: -32px;
	height: 2px;
	width: 20px;
	background: #003470;
}
#subnav > ul {
	display: none;
}
#subnav.on > ul {
	display: block;
}
.widget {
	margin-right: 0;
	margin-left: -15px;
	padding-left: 15px;
	line-height: 1.45;
}
.home .widget.event {
	border-top: none;
}
.widget.event {
	margin: 0;
	padding: 20px 0 0 0;
	text-align: center;
}
.widget.author {
	min-height: 192px;
	margin-right: 0;
	padding-top: 10px;
	background-position: top left;
}
.widget.author .avatar {
	float: left;
	margin-top: 0;
	margin-right: 15px;
}

.widget.ad2 {
	line-height: normal;
}
.widget.ad2 h3:before {
	font-size: 42px;
}

#sidebar .scroll-in {
	position: relative !important;
	top: auto !important;
	margin: 0 !important;
	width: auto !important;
}
#sidebar .fixed-bottom {
	position: relative !important;
	bottom: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	width: auto !important;
}
#sidebar .widget.bottom {
	padding-top: 0;
}

#sidebar form.signup {
	margin: 0;
}
form.signup button {
	width: 100%;
}
#map-join {
	padding: 0 0 20px;
	width: auto;
	z-index: 0;
	position: relative;
}
#map-join:before {
	content: none;
}
#address-search {
	padding: 0;
	/*margin-bottom: 20px;*/
}
#address-search .wrap {
	margin: 0;
}
#address-search input[type="text"] {
	width: calc(100% - 100px);
}
#address-search button {
	width: 90px;
	text-align: center;
}

#map-wrap .status {
	padding: 10px 0 0;
	font-size: 20px;
	line-height: normal;
	position: relative;
}
#map {
	height: 300px;
}

#map-bottom {
	padding: 20px 0;
}

.church-infobubble {
	padding-left: 0;
}
.church-infobubble .image {
	display: none;
}

#posts-filter {
	position: relative;
	top: auto;
	left: auto;
	height: auto;
	margin: 0 10px;
	min-width: 10px;
	font-size: 12px;
	max-width: none;
}
#posts-filter label {
	height: auto;
	width: 32%;
}

#banner + #posts-filter {
	margin-top: -50px;
}

#page-tools {
	position: relative !important;
	display: block;
	top: auto !important;
	left: auto !important;
	margin: 30px auto !important;
	width: auto;
}
#page-tools > ul {
	text-align: center;
	margin: 10px 0;
}
#page-tools > ul > li {
	display: inline-block;
	width: 50px;
	vertical-align: middle;
}
#page-tools > ul > li > a.comments-count {
	margin-bottom: 0;
}
#page-tools > ul > li.tool-email,
#page-tools > ul > li.font-size,
#page-tools > ul > li.tool-print {
	display: none;
}

#page-tools.home  {
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg); 
	-o-transform: rotate(0deg); 
	transform: rotate(0deg);
	text-align: center;
	padding: 50px 0;
}
#page-tools.home > a {
	margin: 1em;
}
#related {
	padding: 0;
	height: auto;
	margin: 30px 0 0;
}
#related:before {
	display: none;
}
#related .posts {
	top: auto;
	padding: 0;
}
#related .posts > .col {
	width: auto;
	float: none;
	height: auto;
	padding: 10px;
}
#related .posts > .col .label {
	position: relative;
	top: auto;
	margin: 0 0 0.5em;
}
#related .posts .hentry.excerpt.title {
	width: 50%;
	clear: none;
}
#footer-promos {
	padding: 0;
	height: auto;
	border: 0;
}
#footer-promos .boxes {
	min-width: 10px;
	border: 0;
}
#footer-promos .boxes .box {
	float: none;
	width: auto;
	padding: 0px 0;
	height: auto;
	margin: 10px 15px 10px 15px;
	border: 0;
	background: none;
}

#footer-promos .promo {
	position: relative;
	float: none;
	margin: 0;
	width: auto;
	height: auto;
	padding: 20px;
}
#footer-promos .promo:after {
	position: relative;
	content: ' ';
	display: block;
	clear: both;
	width: auto;
	height: auto;
	top: auto;
	left: auto;
}
#footer-promos .promo a.icon-map {
	display: block;
	width: 120px;
	float: left;
	margin: 0 15px 0 0;
}
#footer-promos .promo a.icon-map:before {
	font-size: 63px;
	margin: 0 0 13px 0;
}
#footer-promos .promo h2 {
	font-size: 20px;
	margin: 0 0 15px 0;
	min-height: 60px;
}
#footer-promos .social {
	position: relative;
	z-index: 1;
	float: right;
	margin: 0;
	width: auto;
	height: auto;
	padding: 0;
	
	position: absolute;
	left: 50%;
	margin: 20px 0 0 -80px;
}

#footer-promos .social:after {
	display: none;
}
#footer-promos .social ul {
	margin: 5px 0 0 0;
	padding: 0;
} 
#footer-promos .social ul li {
	display: inline-block;
	margin: 0 10px;
}
#footer-promos-short .social ul li {
	margin: 0 20px 0 0;
}
#footer-promos-short .social ul li:last-child {
	margin: 0;
}
#footer-promos .social ul li.feed {
	display: none;
}
#footer-promos .social ul li a {
	color: white;
}

#footer-promos-short {
	padding: 25px 15px 15px 15px;
	background-size: cover;
}

#footer-promos-short .social {
	position: static;
    margin: 0 auto 20px;
    text-align: center;
}

#backtotop {
	text-align: center;
	font-size: 20px;
	padding: 10px 0;
}

#footer {
	clear: left;
	height: auto;
	padding: 60px 0 5px;
	border: none;
}
.home #footer {
	padding-top: 5px;
}
#footer .about {
	position: relative;
	top: auto;
	left: auto;
	margin: 0px 0 0 0;
}
#footer .about:before {
	margin-top: -5px;
}
#nav-footer {
	padding: 15px;
	text-align: left;
}
#nav-footer ul {
	text-align: center;
}
#nav-footer > ul > li {
	margin: 0 15px 0 0;
}

.home .hentry.excerpt {
	font-size: 12px;
}
.home .hentry.excerpt .content,
.home .hentry.excerpt strong.meta {
	margin-left: 0;
}
.home .hentry.excerpt {
	padding-top: 30px !important;
	margin-bottom: 40px;
}
.home .hentry.excerpt .title {
	font-size: 14px;
}
.home .hentry.excerpt .post_type {
	position: absolute;
	float: none;
	top: 0;
}
.home .hentry.excerpt .content {
	display: none;
}

.home .editors-picks .hentry.excerpt.has-thumbnail {
	padding-top: 0 !important;
}
.home .editors-picks .hentry.excerpt.has-thumbnail .post_type {
	top: 115px;
}
.home .editors-picks .hentry.excerpt.has-thumbnail .thumb {
	margin-bottom: 50px;
}
.home .editors-picks .hentry.excerpt.has-thumbnail.author .thumb {
	margin-bottom: 15px;
}

.home #sidebar .widget {
	display: inline-block;
	width: 49%;
	vertical-align: text-top;
	margin: 0 0px;
	padding: 0;
	background-image: none;
}
.home #sidebar .widget.event:after {
	position: absolute;
	top: -40px;
	left: -120px;
	z-index: -1;
	content: ' ';
	display: block;
	width: 219px;
	height: 192px;
	background-image: url(images/angle.png);
}

.letter {
	margin-bottom: 0;
	padding: 1em 0 0.5em;
	background: none;
	border-left: none;
	border-top: 3px solid #0095DA;
}
}