/*
Calculating Specificity

The actual specificity of a group of nested selectors takes some calculating. You can give every ID selector (�#whatever�) a value of 100, every class selector (�.whatever�) a value of 10 and every HTML selector (�whatever�) a value of 1. When you add them all up, hey presto, you have a specificity value.

- p has a specificity of 1 (1 HTML selector)
- div p has a specificity of 2 (2 HTML selectors, 1+1)
- .tree has a specificity of 10 (1 class selector)
- div p.tree has a specificity of 12 (2 HTML selectors + a class selector, 1+1+10)
- #baobab has a specificity of 100 (1 id selector)
- body #content .alternative p has a specificity of 112 (HTML selector + id selector + class selector + HTML selector, 1+100+10+1)

So if all of these examples were used, div p.tree (with a specificity of 12) would win out over div p (with a specificity of 2) and body #content .alternative p would win out over all of them, regardless of the order.
*/

/*
Responsive Breakpoints - http://codepen.io/davidgilbertson/pen/aBpJzO
for-phone-only
  @media (max-width: 599px) { @content; }

for-tablet-portrait-up
  @media (min-width: 600px) { @content; }

for-tablet-portait-only
  @media (min-width: 600px) and (max-width: 899px) { @content; }

for-tablet-landscape-up
  @media (min-width: 900px) { @content; }

for-tablet-landscape-only
  @media (min-width: 900px) and (max-width: 1199px) { @content; }

for-desktop-up
  @media (min-width: 1200px) { @content; }

for-desktop-only
  @media (min-width: 1200px) and (max-width: 1799px) { @content; }

for-big-desktop-up
  @media (min-width: 1800px) { @content; }

*/

/*
CSS Positioning Tutorial
https://www.freecodecamp.org/news/how-to-use-the-position-property-in-css-to-align-elements-d8f49c403a26/
*/

/*** box-sizing - makes width behave better! - see https://css-tricks.com/box-sizing/ ***/

/*
Theme Name: RTM 4.0
Description: Theme for Richmond Team Ministry adapted from the Wordpress TwentyTen theme and modelled on the Melksham Team Ministry site.
Author: Robert Kealey
Author URI: http://www.richmondteamministry.org/
Version: 4.0
Text Domain: rtm
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

/* =Layout
-------------------------------------------------------------- */

/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#container {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
}
#content {
	margin: 0 280px 0 20px;
}
#sidebar {
	float: right;
	overflow: hidden;
	width: 220px;
}
#footer {
	clear: both;
	width: 100%;
}

/*
LAYOUT: One column, no sidebar
DESCRIPTION: One centered column with no sidebar
*/

.one-column #content {
	margin: 0 auto;
	width: 640px;
}

/*
LAYOUT: Full width, no sidebar
DESCRIPTION: Full width content with no sidebar; used for attachment pages
*/

.single-attachment #content {
	margin: 0 auto;
	width: 900px;
}


/* =Fonts
-------------------------------------------------------------- */
body,
input,
textarea,
.page-title span,
.pingback a.url {
	font-family: Tahoma, Verdana, sans-serif;
}
#access .menu,
#rhmenu .menu {
	font-family: Georgia, "Bitstream Charter", serif;
}
h3#comments-title,
h3#reply-title,
#access div.menu ul,
#cancel-comment-reply-link,
.form-allowed-tags,
#site-info,
#site-title,
#wp-calendar,
.comment-meta,
.comment-body tr th,
.comment-body thead th,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
.sidebar-content label,
.sidebar-content tr th,
.sidebar-content thead th,
#respond label,
.navigation,
.page-title,
.pingback p,
.reply,
.widget-title,
.wp-caption-text {
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
input[type="submit"] {
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
}
code {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}


/* =Structure
-------------------------------------------------------------- */

/* The main theme structure */
#access .menu-header,
div.menu,
#colophon,
#branding,
#main,
#wrapper {
	margin: 0 auto;
	width: 940px;
}
#wrapper {
	background: #fff;
	margin-top: 20px;
	padding: 0 20px;
}

/* Structure the footer area */
#footer-widget-area {
	overflow: hidden;
}
#footer-widget-area .widget-area {
	float: left;
	margin-right: 20px;
	width: 220px;
}
#footer-widget-area #fourth {
	margin-right: 0;
}
#site-info {
	float: left;
	font-size: 14px;
	font-weight: bold;
	width: 700px;
}
#site-generator {
	float: right;
	width: 220px;
}


/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */
body {
	background: #f1f1f1;
}
body,
input,
textarea {
	color: #666;
	font-size: 12px;
	line-height: 18px;
}
hr {
	background-color: #e7e7e7;
	border: 0;
	clear: both;
	height: 1px;
	margin-bottom: 18px;
}

/* Text elements */
p {
	margin-bottom: 18px;
}
ul {
	list-style: square;
	margin: 0 0 18px 1.5em;
}
ol {
	list-style: decimal;
	margin: 0 0 18px 1.5em;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 0 24px 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 18px;
}
strong {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
big {
	font-size: 131.25%;
}
ins {
	background: #ffc;
	text-decoration: none;
}
blockquote {
	font-style: italic;
	padding: 0 3em;
}
blockquote cite,
blockquote em,
blockquote i {
	font-style: normal;
}
pre {
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	overflow: auto;
	padding: 1.5em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: smaller;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
textarea {
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	padding: 2px;
}
a:link {
	color: #0066cc;
}
a:visited {
	color: #743399;
}
a:active,
a:hover {
	color: #ff4b33;
}

/* Text meant only for screen readers */
.screen-reader-text {
	position: absolute;
	left: -9000px;
}


/* =Header
-------------------------------------------------------------- */

#header {
	padding: 20px 0 0 0;
}
#site-title {
	float: left;
	font-size: 30px;
	line-height: 36px;
	margin: 0 0 18px 0;
	width: 680px;
}
#site-title a {
	color: #000;
	font-weight: normal;
	text-decoration: none;
}
#site-description {
	clear: right;
	float: right;
	font-style: italic;
	margin: 15px 0 18px 0;
	width: 220px;
}

/* These are the custom header images - either side of the cross */
#west img {
	border-top: 4px solid rgb(15,40,106);
	border-bottom: 1px solid rgb(27,80,201);
	display: block;
	float: left;
	width: 680px;
}

#east img {
	border-top: 4px solid rgb(15,40,106);
	border-bottom: 1px solid rgb(27,80,201);
	display: block;
	float: right;
	width: 240px;
}


/* =Menus
-------------------------------------------------------------- */

/* main navbar */

#access {
	background: rgb(15,40,106);
	display: block;
	float: left;
	margin: 10px auto 0px auto;
	width: 940px;
}
#access .menu-header,
div.menu {
	font-size: 1.1em;
	margin-left: 12px;
	width: 928px;
}
#access .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#access .menu-header li,
div.menu li {
	float: left;
	position: relative;
}
#access a {
	color: #aaa;
	display: block;
	line-height: 38px;
	padding: 0 10px;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	display: none;
	position: absolute;
	top: 38px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
}
#access ul ul li {
	min-width: 180px;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: rgb(27,80,201);
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: rgb(27,80,201);
	color: #fff;
}
#access ul li:hover > ul {
	display: block;
}
#access ul li.current_page_item > a,
#access ul li.current_page_ancestor > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color: #fff;
}
* html #access ul li.current_page_item a,
* html #access ul li.current_page_ancestor a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color: #fff;
}


/* rhmenu */

#rhmenu {
	background: white;
	display: block;
	float: left;
	margin: 10px auto 0px auto;
	width: 940px;
}
#rhmenu .menu-header,
div.menu {
	font-size: 13px;
	margin-left: 12px;
	width: 928px;
}
#rhmenu .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#rhmenu .menu-header li,
div.menu li {
	float: left;
	position: relative;
}
#rhmenu a {
	color: #666;
	display: block;
	line-height: 38px;
	padding: 0 10px;
	text-decoration: none;
	border-style: solid;
	border-width: 1px 0 0 0;
}
#rhmenu ul ul {
	/*box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);*/
	display: none;
	/*position: absolute;
	top: 38px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;*/
}
#rhmenu ul ul li {
	min-width: 180px;
	list-style: none;
}
#rhmenu ul ul ul {
	left: 100%;
	top: 0;
}
#rhmenu ul ul a {
	background: #fff;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
#rhmenu li:hover > a,
#rhmenu ul ul :hover > a {
	background: rgb(173,216,230);
}
#rhmenu ul li:hover > ul {
	display: block;
}
#rhmenu ul li.current_page_item > a,
#rhmenu ul li.current-menu-item > a {
	background: rgb(27,80,201);
	color: #fff;
}

#rhmenu ul li.current_page_ancestor > a,
#rhmenu ul li.current-menu-ancestor > a,
#rhmenu ul li.current-menu-parent > a {
		background: rgb(173,216,230);
}

#rhmenu ul li.current-menu-item > ul,
#rhmenu ul li.current-menu-parent > ul {
	display:block;
}

* html #rhmenu ul li.current_page_item a,
* html #rhmenu ul li.current_page_ancestor a,
* html #rhmenu ul li.current-menu-ancestor a,
* html #rhmenu ul li.current-menu-item a,
* html #rhmenu ul li.current-menu-parent a,
* html #rhmenu ul li a:hover {
	color: #fff;
}

/* =Content
-------------------------------------------------------------- */

#main {
	clear: both;
	overflow: hidden;
	padding: 40px 0 0 0;
}
#content {
	margin-bottom: 36px;
}
#content,
#content input,
#content textarea {
	color: #333;
	font-size: 16px;
	line-height: 24px;
}
#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
	margin-bottom: 24px;
}
#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
	margin-bottom: 0;
}
#content pre,
#content kbd,
#content tt,
#content var {
	font-size: 15px;
	line-height: 21px;
}
#content code {
	font-size: 13px;
}
#content dt,
#content th {
	color: #000;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	color: #000;
	line-height: 1.5em;
	margin: 0 0 20px 0;
}
#content table {
	border: 1px solid #e7e7e7;
	margin: 0 -1px 24px 0;
	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #777;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 9px 24px;
}
#content tr td {
	border-top: 1px solid #e7e7e7;
	padding: 6px 24px;
}
#content tr.odd td {
	background: #f2f7fc;
}
.hentry {
	margin: 0 0 48px 0;
}
.home .sticky {
	background: #f2f7fc;
	border-top: 4px solid #000;
	margin-left: -20px;
	margin-right: -20px;
	padding: 18px 20px;
}
.single .hentry {
	margin: 0 0 36px 0;
}
.page-title {
	color: #000;
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 36px 0;
}
.page-title span {
	color: #333;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
}
.page-title a:link,
.page-title a:visited {
	color: #777;
	text-decoration: none;
}
.page-title a:active,
.page-title a:hover {
	color: #ff4b33;
}
#content .entry-title {
	color: #000;
	font-size: 21px;
	font-weight: bold;
	line-height: 1.3em;
	margin-bottom: 0;
}
.entry-title a:link,
.entry-title a:visited {
	color: #000;
	text-decoration: none;
}
.entry-title a:active,
.entry-title a:hover {
	color: #ff4b33;
}
.entry-meta {
	color: #777;
	font-size: 12px;
}
.entry-meta abbr,
.entry-utility abbr {
	border: none;
}
.entry-meta abbr:hover,
.entry-utility abbr:hover {
	border-bottom: 1px dotted #666;
}
.entry-content,
.entry-summary {
	clear: both;
	padding: 12px 0 0 0;
}
#content .entry-summary p:last-child {
	margin-bottom: 12px;
}
.entry-content fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 24px 0;
	padding: 24px;
}
.entry-content fieldset legend {
	background: #fff;
	color: #000;
	font-weight: bold;
	padding: 0 24px;
}
.entry-content input {
	margin: 0 0 24px 0;
}
.entry-content input.file,
.entry-content input.button {
	margin-right: 24px;
}
.entry-content label {
	color: #777;
	font-size: 12px;
}
.entry-content select {
	margin: 0 0 24px 0;
}
.entry-content sup,
.entry-content sub {
	font-size: 10px;
}
.entry-content blockquote.left {
	float: left;
	margin-left: 0;
	margin-right: 24px;
	text-align: right;
	width: 33%;
}
.entry-content blockquote.right {
	float: right;
	margin-left: 24px;
	margin-right: 0;
	text-align: left;
	width: 33%;
}
.page-link {
	clear: both;
	color: #000;
	font-weight: bold;
	line-height: 48px;
	word-spacing: 0.5em;
}
.page-link a:link,
.page-link a:visited {
	background: #f1f1f1;
	color: #333;
	font-weight: normal;
	padding: 0.5em 0.75em;
	text-decoration: none;
}
.home .sticky .page-link a {
	background: #d9e8f7;
}
.page-link a:active,
.page-link a:hover {
	color: #ff4b33;
}
body.page .edit-link {
	clear: both;
	display: block;
}
#entry-author-info {
	background: #f2f7fc;
	border-top: 4px solid #000;
	clear: both;
	font-size: 14px;
	line-height: 20px;
	margin: 24px 0;
	overflow: hidden;
	padding: 18px 20px;
}
#entry-author-info #author-avatar {
	background: #fff;
	border: 1px solid #e7e7e7;
	float: left;
	height: 60px;
	margin: 0 -104px 0 0;
	padding: 11px;
}
#entry-author-info #author-description {
	float: left;
	margin: 0 0 0 104px;
}
#entry-author-info h2 {
	color: #000;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 0;
}
.entry-utility {
	clear: both;
	color: #777;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a,
.entry-utility a {
	color: #777;
}
.entry-meta a:hover,
.entry-utility a:hover {
	color: #ff4b33;
}
#content .video-player {
	padding: 0;
}



/* =Sidebar
-------------------------------------------------------------- */

#sidebar,
#sidebar input,
#sidebar textarea {
	color: #333;
	font-size: 16px;
	line-height: 24px;
	}

#sidebar h1,
#sidebar h2,
#sidebar h3 {
	color: #000;
	line-height: 1.5em;
	margin: 0 0 20px 0;
	}

/* =Asides
-------------------------------------------------------------- */

.home #content .format-aside p,
.home #content .category-asides p {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 10px;
	margin-top: 0;
}
.home .hentry.format-aside,
.home .hentry.category-asides {
	padding: 0;
}
.home #content .format-aside .entry-content,
.home #content .category-asides .entry-content {
	padding-top: 0;
}


/* =Gallery listing
-------------------------------------------------------------- */

.format-gallery .size-thumbnail img,
.category-gallery .size-thumbnail img {
	border: 10px solid #f1f1f1;
	margin-bottom: 0;
}
.format-gallery .gallery-thumb,
.category-gallery .gallery-thumb {
	float: left;
	margin-right: 20px;
	margin-top: -4px;
}
.home #content .format-gallery .entry-utility,
.home #content .category-gallery .entry-utility {
	padding-top: 4px;
}


/* =Attachment pages
-------------------------------------------------------------- */

.attachment .entry-content .entry-caption {
	font-size: 140%;
	margin-top: 24px;
}
.attachment .entry-content .nav-previous a:before {
	content: '\2190\00a0';
}
.attachment .entry-content .nav-next a:after {
	content: '\00a0\2192';
}


/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-container img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
	max-width: 622px; /* caption width - 10px */
}
.wp-caption p.wp-caption-text {
	color: #777;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #777;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}


/* =Navigation
-------------------------------------------------------------- */

.navigation {
	color: #777;
	font-size: 12px;
	line-height: 18px;
	overflow: hidden;
}
.navigation a:link,
.navigation a:visited {
	color: #777;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color: #ff4b33;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-above {
	margin: 0 0 18px 0;
}
#nav-above {
	display: none;
}
.paged #nav-above,
.single #nav-above {
	display: block;
}
#nav-below {
	margin: -18px 0 0 0;
}


/* =Comments
-------------------------------------------------------------- */
#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	color: #000;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	list-style: none;
	margin: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	color: #777;
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
	color: #ff4b33;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
	color: #777;
}
.reply a:hover,
a.comment-edit-link:hover {
	color: #ff4b33;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	color: #777;
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}

/* Comments form */
input[type="submit"] {
	color: #333;
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	color: #ff4b33;
	font-weight: bold;
}
#respond label {
	color: #777;
	font-size: 12px;
}
#respond input {
	margin: 0 0 9px;
	width: 98%;
}
#respond textarea {
	width: 98%;
}
#respond .form-allowed-tags {
	color: #777;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}


/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
	list-style: none;
	margin-left: 0;
}
.widget-area ul ul {
	list-style: square;
	margin-left: 1.3em;
}
.widget-area select {
	max-width: 100%;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display: none;
}
.widget-container {
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	margin: 0 0 18px 0;
}
.widget-container .wp-caption img {
	margin: auto;
}
.widget-title {
	color: #222;
	font-weight: bold;
}
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: underline;
}
.widget-area .entry-meta {
	font-size: 11px;
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #222;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: left;
}
#wp-calendar thead {
	font-size: 11px;
}
#wp-calendar thead th {
}
#wp-calendar tbody {
	color: #aaa;
}
#wp-calendar tbody td {
	background: #f5f5f5;
	border: 1px solid #fff;
	padding: 3px 0 2px;
	text-align: center;
}
#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
.widget_rss a.rsswidget {
	color: #000;
}
.widget_rss a.rsswidget:hover {
	color: #ff4b33;
}
.widget_rss .widget-title img {
	width: 11px;
	height: 11px;
}

/* Main sidebars */
#main .widget-area ul {
	margin-left: 0;
	padding: 0 20px 0 0;
}
#main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}
#sidebar {
}

/* Footer widget areas */
#footer-widget-area {
}

/* front page ai1ec widgets - now my widget!! */

.threebox{
	width:195px;
	float:left;
	border-width:0px 2px;
	border-style:solid;
	-webkit-border-image: -webkit-linear-gradient(bottom,white,rgb(208,14,33),white);
	border-image:linear-gradient(to top, white, rgb(208,14,33), white) 1 100%;
	margin:0px 7px 20px 7px;
	font-size: 0.8em;
	}

#sunday .threebox {
	width:208px;
	}

#sunday .threebox h1 {
	font-size: 1em;
	text-align:center;
	font-family: "Helvetica Neue", Arial;
	padding: 0px 5px;
	color:#111;
	}

#sunday .services {
	border:none;
	margin:0px;
	padding:0px;
	}

#sunday .services td {
	border:none;
	padding:0px;
	height:24px;
	line-height:1.1em;
	}

#sunday td.service-time {
	padding-left:8px;
	width:34.5%;
	white-space:nowrap;
	font-weight:bold;
	vertical-align:middle;
	padding-bottom:5px;
	}

#sunday td.service-title {
	padding-left:5px;
	vertical-align:middle;
	padding-bottom:5px;
}

/* but how to size the image?
.fblink::before {
	content: url('images/f_logo_RGB-Blue_58.png');
	height: 35px;
	width:35px;
}
*/
	
.fblink {
	background:white;
	background-image:url('images/f_logo_RGB-Blue_58.png');
	background-size:2em 2em;
	background-repeat:no-repeat;
	background-position:1em center;
	color:#1877f2;
	text-align:center;
	font-size:1.2em;
	line-height:1.2em;
	padding:0.25em 0px 0.25em 1em;
	margin-top:0.5em;
}

.fblink img {
	display:block;
	float:left;
}

/* team widgets */

#team {
	position:relative;
	background:#eee;
	width:650px;
	height:110px;
	clear:both;
	margin:5px 7px 10px 7px;
	padding:5px;
	border-top: 1px solid rgb(27,80,201);
	border-bottom: 4px solid rgb(15,40,106);
	}

#teaminner {
	position:absolute;
	background:transparent;
	margin:0px;
	padding:0px;
	clip:rect(0px,650px,110px,0px);
	width:650px;
	height:110px;
	}

#teaminner>div {
	margin:0px;
	padding:0px;
	top: 0px;
	width: 650px;
	height: 110px;
	left: 0px;
	position: absolute;
	background:transparent;
	}

#team h3 {
	margin-bottom:10px;
	}

/* front page prayer widget */

#daily-prayer {
	width:240px;
	float:left;
	background:white;
	border-radius: 5px;
	margin:0px 0px 30px 0px;
	}


/* front page news widget */

#news {
	width:200px;
	float:left;
	padding:5px;
	margin-left:8px;
	margin-right:8px;
	font-size:0.8em;
	}

/*hack*/	
#menu-item-7177 {
	font-weight:bold;
	}

/* extra txt */

#text-7 {
	background:#eee;
	padding:3px;
	font-size:1.1em;
	border: 1px solid rgb(27,80,201);
	}

/* =Footer
-------------------------------------------------------------- */

#footer {
	margin-bottom: 20px;
}
#colophon {
	border-top: 4px solid rgb(15,40,106);
	margin-top: -4px;
	overflow: hidden;
	padding: 18px 0;
}
#site-info {
	font-weight: bold;
}
#site-info a {
	color: #000;
	text-decoration: none;
}
#site-generator {
	font-style: italic;
	position: relative;
}
#site-generator a {
	background: url(images/wordpress.png) center left no-repeat;
	color: #666;
	display: inline-block;
	line-height: 16px;
	padding-left: 20px;
	text-decoration: none;
}
#site-generator a:hover {
	text-decoration: underline;
}
img#wpstats {
	display: block;
	margin: 0 auto 10px;
}


/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}


/* =Print Style
-------------------------------------------------------------- */

@media print {
	body {
		background: none !important;
	}
	#wrapper {
		clear: both !important;
		display: block !important;
		float: none !important;
		position: relative !important;
	}
	#header {
		border-bottom: 2pt solid #000;
		padding-bottom: 18pt;
	}
	#colophon {
		border-top: 2pt solid #000;
	}
	#site-title,
	#site-description {
		float: none;
		line-height: 1.4em;
		margin: 0;
		padding: 0;
	}
	#site-title {
		font-size: 13pt;
	}
	.entry-content {
		font-size: 14pt;
		line-height: 1.6em;
	}
	.entry-title {
		font-size: 21pt;
	}
	#access,
	#branding img,
	#respond,
	.comment-edit-link,
	.edit-link,
	.navigation,
	.page-link,
	.widget-area {
		display: none !important;
	}
	#container,
	#header,
	#footer {
		margin: 0;
		width: 100%;
	}
	#content,
	.one-column #content {
		margin: 24pt 0 0;
		width: 100%;
	}
	.wp-caption p {
		font-size: 11pt;
	}
	#site-info,
	#site-generator {
		float: none;
		width: auto;
	}
	#colophon {
		width: auto;
	}
	img#wpstats {
		display: none;
	}
	#site-generator a {
		margin: 0;
		padding: 0;
	}
	#entry-author-info {
		border: 1px solid #e7e7e7;
	}
	#main {
		display: inline;
	}
	.home .sticky {
		border: none;
	}
}


html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
	margin-bottom:2%;
	}

/** nicked from bootstrap.css **/	
.container {
  padding-right: 2%;
  padding-left: 2%;
  margin-right: auto;
  margin-left: auto;
  background: white;
  width:100%;
}

@media (min-width: 900px) {
  .container {
    width: 877px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

#login {
	width:100%;
	padding: 2%;
	margin: 8% auto;
	background:white;
}

@media (min-width: 600px) {
	#login {
		width: 400px;
	}
}

form.login {
	padding: 26px 24px 46px;
	overflow: hidden;
	background: #fff;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13);
	box-shadow: 0 1px 3px rgba(0,0,0,0.13);
	margin:20px auto;
	font-size:1.5em
	font-weight:400;
}

/* end login bits */

/*header*/
#header {
	color:black;
	margin:0px;
	padding:20px 0px 20px 0px;
	font-family:Georgia;
	font-size:2.0em;
	}
	
#header .headline {
	display:block;
	line-height:1.2em;
}
	
#header .headdash {
	display:none;
}

@media (min-width: 600px) {
	#header{
		font-size:2.0em;
	}
  
	#header .headline {
		display:inline;
	}
	
	#header .headdash {
		display:inline;
	}
}

@media (min-width: 900px) {
	#header{
		font-size:2.5em;
	}
}

@media (min-width: 1200px) {
	#header {
		font-size:3.0em;
	}
}	

/** CONTENT COLUMN **/
#content {
	width:100%;
	margin:0px;
	padding:0px;
	float:left;
	line-height:normal;
	}

@media screen and (min-width: 900px) {
	#content {
		width:80%;
	}
}
	
/*search*/
#search {
	display:block;
	background:#f2f7fc;
	border-top: 4px solid rgb(15,40,106);
	border-bottom: 1px solid rgb(27,80,201);
	padding:5px;
	}

#query {
	display:block;
	}
	
#filter {
	display:block;
	padding:5px 0px;
	}

/*	
#filter select {
	font-size:16px;
	padding:2px;
	font-family: Tahoma, Verdana, sans-serif;
	}
*/

.ui-selectmenu-button.ui-button{
		width:auto;
		padding:.2em .5em;
	}
	
@media screen and (min-width: 600px) {
	#search h3 {
		display:inline;
	}
	
	#query {
		display:inline-block;
	}
	
	#filter {
		display:inline-block;
	}
}
	
/*browsebar*/
#browsebar{
	position:relative;
	font-size:1.2em;
	color:white;
	background:rgb(15,40,106);
	margin:5px 0px 10px 0px;
	padding:5px;
	}
	
#hamburger {
	position: absolute;
	top:0;
	right:0;
	padding: 9px 10px;
	margin:0px;
	background-color: transparent;
	background-image: none;
	border-left: 1px solid white;
	border-top:none;
	border-right:none;
	border-bottom:none;
}

.icon-bar {
  display: block;
  background:white;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}

.icon-bar+.icon-bar {
	margin-top: 4px;
}

@media screen and (min-width: 900px) {
	#hamburger {
		display:none;
	}
}

/*catalogue*/
#catalogue {
	width:100%;
	}

#catalogue-header{
	height:30px;
	padding:3px 3px 3px 9px;
	display:none;
	}

@media screen and (min-width: 600px) {	
	#catalogue-header{
		display:block;
	}
}

.column-header {
	display:inline-block;
}

.card {
	border:1px solid lightgray;
	padding:3px;
	margin-bottom:3px;
	color:rgb(15,40,106);
	}

.card-header {
	position:relative;
	padding:0px 0px 0px 5px;
	}

@media screen and (min-width: 600px) {
	.card-header {
		height:34px;
	}
}

.detail {
	padding:3px 0px;
}

.card-header .label {
	display:inline;
}

@media screen and (min-width: 600px) {
	.card-header .label {
		display:none;
	}

	.composer {
		width:30%;
	}
		
	.title {
		width:50%;
	}
	
	.title .editbox {
		width:100%;
	}
	
	.voices {
		width:15%;
	}
}
	
.card-details {
	display:none;
	position:relative;
	width:100%;
	font-size:1.0em;
	padding:10px;
	}

.details-block {
	/* padding:0px 0px 8px 0px; */
	/* height:30px; */
	display:block;
	}
	
.details-colleft {
	display:block;
	}
	
.details-colright {
	display:block;
	}

/* 
<detail>
	<label>Name:</label>
	<data>
		<field><boilerplate>Joe</boilerplate><editbox>Joe</editbox></field>
		<field><boilerplate>Bloggs</boilerplate><editbox>Bloggs</editbox></field>
	</data>
</detail>
*/	
	
.detail {
	display:block;
	}

.card-details .detail {
	padding-bottom:15px;
	}
	
.card-details .label {
	display:inline-block;
	width:90px;
	text-align:right;
	}
	
@media screen and (min-width: 600px) {
	.detail {
		display:inline-block;
		/*float:left;*/
	}
	
	.card-details .label {
		width:auto;
	}
}

.label {
	display:inline;
	padding-right:3px;
	}

.data {
	display:inline;
	}
	/*
.data select {
	display:none;
	}
	*/
.field {
	display:inline;
	margin:0;
	padding:0;
	}
	
.card-details .data {
	color:black;
	}
	
.details-block .data {
	padding:2px 16px 2px 5px;
	}
	
.boilerplate {
	display:inline;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
	padding:0px;
	margin:0px;
	}
	
#content .editbox[type="text"], #content .editbox {
	/* display:none; - can't hide here - hide after rendered - mucks up inline display otherwise */
	/* border:0px;
	box-shadow:none;
	outline:none;
	padding:2px 2px 2px 5px;
	background:#eeeeee; */
	}

/* individual details */
@media screen and (min-width: 600px) {
	.details-colleft {
		width:60%;
		float:left;
	}
	
	.details-colright {
		width:35%;
		float:left;
	}
	
	.details-block .data {
		padding:0px;
	}

	.publ {
		width:30%;
	}
	
	.year {
		width:16%;
	}
	
	.copies {
		width:16%;
	}
	
	.accomp {
		width:30%;
	}

	.format {
		width:45%;
	}

	.condition {
		width:50%;
	}

	.catno {
		width:30%;
	}
	
	.location {
		width:65%;
	}
	
	.comment {
		width:100%;
	}
	
	.comment .editbox {
		width:80%;
	}
}

.loanbox {
	/* display:inline-block; */
	background:pink;
	border:lightgray 1px solid;
	border-radius:5px;
	padding:3px 5px;
	}
	
.loanbox .detail {
	display:block;
	}

.loancomment{
	width:100%;
	}

.comment .label{
	vertical-align:top;
	}
	
.comment .editbox{
	height:auto;
	resize:none;
	}
	
.loancomment .label{
	vertical-align:top;
	}

.loancomment .editbox{
	width:70%;
	height:auto;
	resize:none;
	}

/* buttons */
.btn-plus {
	position:absolute;
    top: 0px;
    right: 0px;
	}
	
.btn-minus {
	display:none;
	position: absolute;
    top: 0px;
    right: 0px;
	}
	
.btn-edit {
	position:absolute;
    right: 0px;
	bottom: 35px;
	}
	
.btn-delete {
	position:absolute;
    bottom: 0px;
    right: 0px;
	}
	
.btn-save {
	display:none;
	position:absolute;
    bottom: 0px;
    right: 0px;
	}
	
.btn-cancel {
	display:none;
	position:absolute;
	right: 0px;
	bottom: 35px;
	}
	
/* page navigation */

#pageNav {
	border:1px solid lightgray;
	margin-top:5px;
	padding:3px;
	}
	
.page-nav {
	padding:5px;
	margin:0px 2px;
	background:lightgray;
	}
	
.page-this{
	color:white;
	background:gray;
	}

/* sidebar */
#sidebar {
	display:none;
	position:absolute;
	width:100%;
	right:0;
	}

#sidebar h2 {
	display:none;
}
	
@media screen and (min-width: 600px) {
	#sidebar {
		width:30%;
		right:2%;
	}
}

@media screen and (min-width: 900px) {
	#sidebar {
		display:block !important;
		width:20%;
		margin:0px;
		padding-left:15px;
		position:relative;
		right:0;
	}

	#sidebar h2 {
		display:block;
	}
}
		
#sidebar .listitem {
	color:white;
	background:rgb(15,40,106);
	display:block;
	text-decoration:none;
	font-size:1.2em;
	padding:5px;
	margin:0px;
}

#sidebar .listitem+.listitem {
	border-top:1px solid white;
}