﻿/*
Theme Name: under_vbsa
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: under_vbsa
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 under_vbsa is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
p {
	margin-bottom: 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in IE6/IE7 */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="phone"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="phone"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: black;
}
/*a:visited {
	color: purple;
}*/
a:hover,
a:focus,
a:active {
	color: #ff6713;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.menu-toggle {
        display: block;
        border: 0;
        width: 46px;
        height: 46px;
        background-image: url(images/hamburger-vbsa.png);
		background-color: transparent;
		box-shadow: none;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
}

.main-navigation {
	clear: both;
	display: block;
	float: left; 
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.5em;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
}
/* Small menu */
.menu-toggle {
	cursor: pointer;
	display: none;
}
@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
}
.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-main .gallery dd,
.site-main .gallery figcaption {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}



/* Customized Style by Annie */


/*General Style */
div {
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
}

h1 { font-size: 32px;}
h2 { font-size: 28px;}
h3 { font-size: 24px;}
h4 { font-size: 20px;}
p { font-size: 15px;}

.entry-meta,
.entry-footer {
	display: none;
}

/*Header and Footer */
.site-content,
.site-info {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px;
}

nav {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.main-navigation .main_site_menu {
	float: left;
	width: auto;
	margin-left: 30px;
}

.main-navigation aside {
	float: right;
	width: auto;
}

.main-navigation {
	float: none;
}

.main-navigation a {
	width: auto;
	padding: 0 15px;
	color: #ff6713;
	border-right: 1px dotted #ff6713;
	font-size: 16px;
}

#menu-item-1926 a {
	border-right: none;
	margin-right: 20px;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:active {
	color: rgb(43, 145, 165);
}

.current-menu-item a {
	color: rgb(43, 145, 165);
}

#search-form label {
	position: relative;
}

#search-form label:before {
	content: url(images/search.png);
	position: absolute;
	top: -10px;
	left: -25px;
}

#search {
	padding-right: 30px;
	margin-bottom: 0.5em;
	font-size: 16px;	
}

.site-branding {
	height: 110px;
	margin: 0 auto 30px auto;
	background-color: #044d7a;
}

.vbsa-header {
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
}

.site-title img {
	width: 150px;
	float: left;
	margin-left: 30px;
	margin-top: 10px;
}

.site-description {
	font-size: 36px;
	width: 75%;
	float: left;
	margin-top: -65px;
	margin-left: 25%;
	color: white;
}

.site-description span {
	margin-left: 8%;
	font-size: 28px;
}


footer {
	margin-top: 20px;
	background-color: #004d7a;
	color: white;
	text-align: center;
}

#instruction li {
	list-style: none;
	display: inline-block;
}

#instruction li a {
	text-decoration: none;
	color: white;
	padding: 20px;
}

#instruction {
	margin-left: -50px;
	font-size: 15px;
}

.site-info {
	padding-bottom: 10px;
}

/*Home Page Main Content */

/*notice */

.vbsa_notice {
	color: red;
	font-weight: bold;
	display: none;
}

.vbsa_notice:front {
	content: ‘’ ;
}

.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}.animated.hinge{-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}
@-webkit-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}
	40% {-webkit-transform: translateY(-30px);}
	60% {-webkit-transform: translateY(-15px);}
}

@-moz-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
	40% {-moz-transform: translateY(-30px);}
	60% {-moz-transform: translateY(-15px);}
}

@-o-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
	40% {-o-transform: translateY(-30px);}
	60% {-o-transform: translateY(-15px);}
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}

.bounce {
	-webkit-animation-name: bounce;
	-moz-animation-name: bounce;
	-o-animation-name: bounce;
	animation-name: bounce;
}
/*end notice*/

.clear {
	clear: both;
}

.empty {
	clear: both;
}

.vbsa_intro .pic_1 {display: none;}

.vbsa_intro .intro_content {
	padding-left: 10px;
	padding-right: 10px;
}

.vbsa_intro p:nth-of-type(2) {
	width: 39%;
	float: left;
	margin-top: 10px;
}

.vbsa_intro p:nth-of-type(4) {
	width: 37%;
	float: left;
	margin-top: 10px;
}

.vbsa_intro p:nth-of-type(3) {
	width: 24%;
	float: left;
	max-width: 250px;
	padding-left: 10px;
	padding-right: 15px;
}

.vbsa_intro {
	border: 1px solid #044d7a;
	margin-bottom: 50px;
}

.vbsa_block_outline {
	border: 1px solid #044d7a;
	margin-left: 3px;
	margin-top: 3px;
	margin-right: -5px;
	margin-bottom: -5px;
}
	
.home #primary {
	width: 65%;
	float: left;
}

.home #secondary {
	width: 35%;
	float: right;
}

.left {
	width: 65%;
	float: left;
	padding-right: 5px;
}

.right {
	width: 32%;
	float: left;
	margin-left: 3%;
}

p {
	margin-bottom: 0.8em;	
}

h3:before {
	content: "-- ";	
}

h3:after {
	content: " --";	
}


#topic a {
	width: 45%;
	float: left;
	text-decoration: none;
	margin-left: 5%;
}

#bible a {
	width: 33%;
	float: left;
	text-decoration: none;
}

h2 {
	height: 60px;
	font-weight: bold;
	color: white;
	padding-left: 10px;
	padding-top: 10px;
}

h3 {
	color: #ff6713; 
	text-align: center; 
	padding-bottom: 20px;
	padding-top: 10px;
}

#bible, 
.schedule,
.meetings {
	margin-top: 50px;
}

#topic h2 {
	background-image: url(images/grass.jpg);
}

#bible h2 {
	background-image: url(images/purple_flower.jpg);
}

.schedule h2 {
	background-image: url(images/white_lotus.jpg);
}

.meetings h2 {
	background-image: url(images/yellow_daisy.jpg);
}

#latest  h2 {
	background-image: url(images/tree.jpg);
}

#topic, 
#bible,
.schedule, 
.meetings,
#latest {
	border: 1px solid #044d7a;
}

.block_outline {
	border: 1px solid #044d7a;
	margin-left: 3px;
	margin-top: -57px;
	margin-right: -5px;
	margin-bottom: -5px;
}


.home .bible_old_testament,
#notice {
	margin-top: 70px;
}

.all_topics,
#calendar,
.latest_posts,
.home .audio_sunday_worship{
	margin-top: 90px;
}

.empty, 
#calendar, 
.audio_questions {
	margin-bottom: 50px;
}

.all_topics,
.bible_old_testament a,
.bible_new_testament a,
#notice,
#calendar,
.latest_posts {
	padding-left: 20px;
}

#notice,
#calendar,
.latest_posts,
.audio_sunday_worship,
.audio_youth_fellowship,
.audio_sisters_fellowship {
	padding-right: 15px;
}

.right a {
	text-decoration: none;
}

#notice {
	min-height: 150px;
}

.home .audio_sunday_worship,
.home .audio_youth_fellowship,
.home .audio_sisters_fellowship,
.home .audio_questions {
	padding-left: 25%;
}

#calendar a {
	color: rgb(43, 145, 165);
}

#latest a, 
#calendar table {
	font-size: 15px;
}

	
/* Style of Sub-pages */

.page .site-content {
	width: 100%;
	max-width: 1200px;
}

.page .content-area {
	border: 1px solid #044d7a;
	padding: 0;
}

.page .site-main {
	border: 1px solid #044d7a;
	margin: 3px -5px -5px 3px;
	padding: 20px;
}

.page .content-area h1 {
	text-align: center;
	text-shadow: 5px 5px 5px #044d7a;
	letter-spacing: 20px;
}

.page-id-6 .content-area,
.page-id-58 .content-area,
.page-id-339 .content-area,
.page-id-50 .content-area {
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}

.page-id-6 .entry-content {
	margin-left: 15%;
}

.page-id-23 .content-area,
.page-id-323 .content-area,
.page-id-321 .content-area  {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.page-id-321 .entry-content,
.page-id-339 .entry-content {
	margin-top: 0;
}

.topics_list a {
	width: 30%;
	float: left;
	text-decoration: none;
	margin-left: 3%;
}

.bible_study_list a {
	width: 22%;
	float: left;
	text-decoration: none;
	margin-left: 3%;
}

.page-id-339 .meetings_list a {
	width: 40%;
	float: left;
	text-decoration: none;
	margin-left: 10%;
}

.page .all_topics,
.page .audio_sunday_worship {
	margin-top: 0;
}

.page .hentry {
	margin-bottom: 0.5em;
}

.page-id-321 .hentry {
	margin-bottom: 0;
}
 
.single .site-content {
	margin-top: 30px;
}

.single .entry-content {
	width: 70%;
	float: left;
	padding-right: 5px;
}

.single .right_side {
	width: 27%;
	float: left;
	margin-left: 3%;
}

.mejs-container, .mejs-embed, .mejs-embed body {
	background: none !important;	
}

.single-topic table,
.single-bible_study table,
.single-meeting table {
	width: 100%;
	margin: 0 auto;
	font-size: 14px;
}

.single-topic table td,
.single-bible_study table td,
.single-meeting table td {
	border-bottom: 1px dotted #044d7a;
}

.single-topic table tr,
.single-bible_study table tr,
.single-meeting table tr {
	height: 60px;
}

table .mp3-name {
	width: auto;
	padding-left: 5%;
	padding-right: 15px;
}

table .mp3-embed {
	width: 300px;
	padding-top: 15px;
}

table .mp3-download {
	width: auto;
	padding-left: 8%;
}

.single .entry-title {
	width: 70%;
	text-align: center;
}

.single .entry-content a {
	color: rgb(43, 145, 165);
}

.single .entry-content p {
	text-align: center;
}

.side_book_list,
.side_study_list,
.side_meeting_list {
	border: 1px dotted #044d7a;
	width: 85%;
	margin-left: auto;
	margin-right: auto;
	margin-top: -60px;
}

.side_topic_list {
	width: 100%;
	border: 1px dotted #044d7a;
	margin-top: -60px;
}

.side_topic_list p,
.side_book_list p,
.side_study_list p,
.side_meeting_list p {
	margin-left: 30px;
}

.side_topic_list a,
.side_book_list a,
.side_study_list a,
.side_meeting_list a {
	text-decoration: none;
}

.postid-1783 table,
.postid-1795 table,
.postid-1804 table {
	width: 60%;
	margin: 0 auto;
}

.postid-1783 table td,
.postid-1795 table td,
.postid-1804 table td {
	border: none;
}

.book-name {
	width: 60%;
}

.book-link {
	width: 40%;
}

.single .site-content {
	padding-top: 0;
}

.postid-1783 .site-content {
	padding-top: 30px;
}

.single h4 {
	text-align: center;
}

.single h4:nth-of-type(2),
.single h4:nth-of-type(3) {
	margin-top: 30px;
}


/* Style of schedule page */

#post-6 table{
	font-size: 15px;
}
.empty_row {
	height: 20px;	
}

.schedule_order {
	width: 5%;
	padding: 5px 0;
}

.schedule_time,
.schedule_title {
	width: 50%;
	padding: 5px 0;
}

.schedule_time {
	color: #ff6713;
}

.tel, .address {
	width: 82px;
	color: #ff6713;
}

#calendar p span {padding-left: 100px !important;}


/* single post page with long file names */
.single-meeting .mp3-name,
.postid-209 .mp3-name,
.postid-570 .mp3-name,
.postid-1718 .mp3-name,
.postid-1650 .mp3-name {
	padding-left: 0;
	padding-right: 0;
}

.single-meeting .mp3-download,
.postid-209 .mp3-download,
.postid-1718 .mp3-download,
.postid-1650 .mp3-download {
	padding-left: 5%;
}


.postid-1650 table:nth-of-type(1){
	width: 70%;
	border: 1px dotted #044d7a;
	padding-top: 20px;
	padding-left: 20px; 
}

.postid-1627 table:nth-of-type(1),
.postid-1632 table:nth-of-type(1){
	width: 90%;
	border: 1px dotted #044d7a;
	padding-top: 20px;
	padding-left: 20px; 
}

.postid-1540 table:nth-of-type(1){
	width: 80%;
	border: 1px dotted #044d7a;
	padding-top: 20px;
	padding-left: 20px; 
}

.postid-1540 table:nth-of-type(1) td,
.postid-1650 table:nth-of-type(1) td,
.postid-1627 table:nth-of-type(1) td,
.postid-1632 table:nth-of-type(1) td {
	border: none;
}

.postid-1540 table:nth-of-type(1) tr,
.postid-1650 table:nth-of-type(1) tr,
.postid-1627 table:nth-of-type(1) tr,
.postid-1632 table:nth-of-type(1) tr {
	height: 40px;
}


/* Questions and answers page */
.pageid-55 table .column01 {
	width: 10%;
}

.page-id-55 table .column02 {
	width: 90%;
}

.page-id-55 table tr:nth-of-type(1) {
	color: rgb(43, 145, 165); 
	line-height: 40px;
} 

.messages_form ol li {
	font-size: 16px;
}

.wpcf7-form {
	font-size: 15px;
}

.messages_form input {
	width: 100%;
	max-width: 300px;
}

/*attachment page*/
.attachment .nav-previous {
	margin-top: 50px;
}


/* mobile style - front page */

@media screen and (max-width: 1138px) {
	#calendar .address {display: none !important;}
	
	#calendar table:nth-of-type(3) td:nth-of-type(2) {width: 100% !important;}
}

@media screen and (max-width: 1120px) {
	#search {margin-top: 10px;}
	.site-description {font-size: 32px;}
	.site-description span {font-size: 24px;} 
}


@media screen and (max-width: 1050px) {
	#calendar p span {padding-left: 0 !important;}
}

@media screen and (max-width: 990px) {
	.intro_content p:nth-of-type(3) { margin-top:20px;}
	.site-title img {width: 120px;}
	.site-branding {height: 100px;}
	.site-description {font-size: 28px;}
	.site-description span {font-size: 20px;} 
	.site-description {margin-top: -50px; margin-left: 20%;}
}

@media screen and (max-width: 952px) {
	.site-title img {width: 100px;}
	.site-branding {height: 80px;}
	.site-description {margin-top: -45px;}
}

@media screen and (max-width: 896px) {
	.right, .left {width: 100%; float: none;}
	.right {margin-top: 50px; margin-left: 0px;}	
	.mobile_left {width: 48%; float: left;}
	.schedule {width: 48%; float: right; margin-top: 0;}
	.intro_content p:nth-of-type(2),
	.intro_content p:nth-of-type(4) {width: 90% !important; float: none; margin-left: 5%;}
	.intro_content p:nth-of-type(3) {display: none;}
	.intro_content .pic_1 {display: block; text-align: center;}
}

@media screen and (max-width: 832px) {
	.site-description span {margin-left: 15px;}
	.site-title img {width: 90px; margin-left: 10px;}
	.site-description {margin-left: 18%;}
	.site-branding {height: 75px;}
}

@media screen and (max-width: 789px) {
	.main-navigation a { padding: 0 10px;}
	.site-description {font-size: 24px; margin-top: -40px;}
	.site-description span {font-size: 16px;} 
}

@media screen and (max-width: 700px) {
	.main-navigation a { font-size: 14px; padding: 0 7px;}
	#search, td, p, #latest a { font-size: 14px;}
	.mobile_left, .schedule {width: 100%; float: none;}
	#calendar .address {display: block !important;}
	.home .audio_sunday_worship, .home .audio_youth_fellowship, .home .audio_sisters_fellowship, .home .audio_questions {padding-left: 30px;}
.schedule {margin-top: 50px;}	
}

@media screen and (max-width: 670px) {
	.site-description {margin-top: -35px; margin-left: 20%;}
	.site-title img {width: 70px;}
	.site-branding {height: 60px;}
	.site-description span {display: none;} 
}

@media screen and (max-width: 590px) {
	#topic a {width: 80%; float: none;}
	#topic p {margin-bottom: 0 !important;}
	#bible a {width: 50%;}
	.intro_content p:nth-of-type(2),
	.intro_content p:nth-of-type(4) {width: 100% !important; margin-left: 0 !important;}
	.empty { margin-bottom: 0 !important }
}

@media screen and (max-width: 531px) {
	.site-description {font-size: 20px;}
}

@media screen and (max-width: 445px) {
	.site-description {letter-spacing: 3px; margin-top: -45px; line-height: 1.3; margin-left: 35%; width: 60%;}
	.searchLabel { display: none; }
	.searchText { width: 140px; }
}

@media screen and (max-width: 417px) {
	#calendar .address {display: none !important;}	
}

/* mobile style - Sub pages */
@media screen and (max-width: 1130px) {
	.topics_list a {width: 45%; margin-left: 5%;}	
}

@media screen and (max-width: 1075px) {
	.side_topic_list, .side_book_list, .side_study_list, .side_meeting_list {display: none !important;}	
	.single .entry-content {width: 100%;}
	.single .entry-title  {width: 100%;}
}

@media screen and (max-width: 1058px) {
	.page-id-6 .entry-content {margin-left: 10%;}
}

@media screen and (max-width: 932px) {
	.page-id-6 .content-area {width: 80%;}
}

@media screen and (max-width: 874px) {
	.page-id-58 .content-area {width: 80%;}
		
}

@media screen and (max-width: 855px) {
	.bible_study_list a {width: 30%;}
		
}

@media screen and (max-width: 806px) {
	.topics_list a {width: 80%; margin-left: 10%;}	
}

@media screen and (max-width: 782px) {
	.page-id-339 .content-area {width: 80%;}
	.postid-1650 table:nth-of-type(1) {width: 100%;}
}

@media screen and (max-width: 675px) {
	.page-id-6 .entry-content {margin-left: 5%;}
	.postid-1783 table, .postid-1795 table, .postid-1804 table {width: 100%;}
}

@media screen and (max-width: 638px) {
	.bible_study_list a {width: 45%;}
	.page-id-58 .content-area {width: 100%;}	
}

@media screen and (max-width: 619px) {
	.messages_form input {width: 98%;
}
	.page-id-6 .content-area {width: 100%;}	
	.single .site-content h1 {font-size: 24px; color: #ff6713;}
	.single-topic table, .single-bible_study table, .single-meeting table    {
        margin: 1em 0;
        min-width: 300px;
    }

    .single-topic table th, .single-bible_study table th, .single-meeting table th {
        display: none;
    }

    .single-topic table td, .single-bible_study table td, .single-meeting table td {
        display: block;
        border-bottom: none;
        padding: 5px 20px;
        font-weight: 300 !important;
        text-align: left;
	}

  	.single-topic table td:before, .single-bible_study table td:before, .single-meeting table td:before {
        content: attr(data-th);  /* ": ";*/
        display: inline-block;
    }

    .single-topic table tr td:nth-of-type(1), .single-bible_study table tr td:nth-of-type(1), .single-meeting table tr td:nth-of-type(1) {
        padding: 10px 20px 0 20px !important;
        font-weight: bold !important;
        border-top: black 1px solid;
     }

    .single-topic table tr td:last-of-type, .single-bible_study table tr td:last-of-type, .single-meeting table tr td:last-of-type {
        padding-bottom: 20px !important;
     }

    .single-topic table tr:nth-of-type(1) td:nth-of-type(1), .single-bible_study table tr:nth-of-type(1) td:nth-of-type(1), .single-meeting table tr:nth-of-type(1) td:nth-of-type(1) {
        border-top: none !important;
		padding-bottom: 0 !important;
     }

}

@media screen and (max-width: 590px) {
	.page-id-339 .content-area {width: 100%;}
	.page-id-55 .site-main {padding-left: 0;}
	.page-id-55 pre {padding:0.8em;}
}

@media screen and (max-width: 550px) {
	.postid-1650 table:nth-of-type(1) tr {height: 50px;}
} 

@media screen and (max-width: 500px) {
	.topics_list a {width: 100% !important; margin-left: 0 !important;}
	.page-id-23 .content-area, .page-id-323 .content-area, .page-id-321 .content-area {width: 100%;}	
}

@media screen and (max-width: 480px) {
	.page-id-339 .meetings_list a {width: 80%;}
}

@media screen and (max-width: 439px) {
	.page-id-6 .address {display: none;}
	#instruction li a {padding: 20px 10px;}
}