/*
Theme Name: BCA
Theme URI: http://underscores.me/
Author: Roderick Pugh Marketing
Author URI: http://roderickpughmarketing.com
Description: British Chiropractic Association Theme
Version: 1.2.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bca
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.

BCA is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/**
 * v1.2.3 Sep 2020
 * - corrected the event form submission process to sanitize the data and stripslashes
 * - fixed a bug that kept adding extra rows to the event programme
 * v1.2.2 Sep 2020
 * - added popup ads
 * v1.2.1 Jul 2020
 * - removed admin email nag
 * - added admin favicon
 * - removed contact classified ad option
 * - added telehealth on FAC
 * - added second clinic phone no on FAC
 * v1.1.1 Mar 2020
 * - added video lazyloading
 * v1.1.0 Sept 2019
 * - revised header for better mobile use
 * - enqueues now use theme version
 */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
	padding-left: 5px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {font-weight: 300; color:#1492a0;}

h1, .h1 {font-size: 42px;}
h2, .h2 {font-size: 36px;}
h3, .h3 {font-size: 30px;}
h4, .h4 {font-size: 25px;}
h5, .h5 {font-size: 20px;}
h6, .h6 {font-size: 15px;}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 30px 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	/* margin: 0 0 1.5em 3em; removed as the bootstrap margin is better */
}

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. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	/*border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;*/
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	/*border-color: #ccc #bbb #aaa;*/
}

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;*/
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	/*color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;*/
}

select {
	/*border: 1px solid #ccc;*/
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	/*color: #111;*/
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	/*padding: 3px;*/
}

textarea {
	/*padding-left: 3px;
	width: 100%;*/
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #005486;
}

a:visited {
	color: #005486;
}

a:hover,
a:focus,
a:active {
	color: #005486;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#site-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	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);
	float: left;
	position: absolute;
	top: 3em;
	/* left: -999em; */
	z-index: 99999;
	display: none;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a { /* width: 200px; */ }

.main-navigation ul ul li {}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	/* left: auto; */
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.posts-navigation .nav-previous a::before,
.post-navigation .nav-previous a::before {
	content: "« ";
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.posts-navigation .nav-next a::after,
.post-navigation .nav-next a::after {
	content: " »";
}

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

.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-size: 0.875rem;
	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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 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-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# 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;
	table-layout: fixed;
}

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

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

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	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;
}

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

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

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-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;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/**
 * More general stuff
 */
a {cursor: pointer;}

/**
 * Extending Bootstrap
 */
.btn-group-xl > .btn, .btn-xl {font-size: 20px; line-height: 1.333; padding: 14px 24px;}
.glyphicon-chevron-left::before, .glyphicon-chevron-right::before {color:#fff;}
.bg-danger, .bg-success, .bg-warning, .bg-info {padding: 15px;}
.bg-danger i, .bg-success i, .bg-warning i, .bg-info i {margin-right: 10px;}
.btn-lg.form-control {height: auto;}
@media all and (max-width: 430px){
	.hidden-xxs	{display: none;}
}

/**
 * buttons
 */
 .gform_button {
    -moz-user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
.btn, .wms-button, .intro-link, .action-readmore, input[type="submit"], .recent-post-link, .google-directions a, .readmore a, .gform_button {transition:background-color 400ms;}
.btn-default, input[type='submit'], .btn-default:visited {background-color:#fff; color:#1492a0; border-color: #fff;}
.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default {background-color:rgba(20, 146, 160, 0); color:#fff;}
.btn-default.focus, .btn-default:focus, .btn-default:hover, input[type='submit']:hover {background-color:rgba(20, 146, 160, 0); color:#fff; border-color: #fff;}
.btn-default[disabled], .btn-default.disabled, .btn-default.disabled.focus, .btn-default.disabled:focus, .btn-default.disabled:hover, .btn-default.focus[disabled], .btn-default[disabled]:focus, .btn-default[disabled]:hover, fieldset[disabled] .btn-default.focus, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:hover {color:#1492a0;}
.btn-primary, .btn-primary:visited, input.gform_button[type='submit'] {background:#1492a0; color:#fff; border-color: #1492a0;}
.btn-primary.active, .btn-primary:active, .open > .dropdown-toggle.btn-primary {background-color:#005486; color:#fff; border-color: #005486;}
.btn-primary.focus, .btn-primary:focus, .btn-primary:hover, input.gform_button[type='submit']:hover {background:#005486; color:#fff; border-color: #005486;}
/*.btn-white {background-color: #fff; border-color: #fff; color: #005486;}*/

/**
 * our new "sections"
 */
.section {background-position: 50% 50%; background-repeat: no-repeat; background-size: cover;}
.section-content {padding-top: 40px; padding-bottom: 40px;}
.multiple .section-content {padding: 0;}
.home h2 {margin-bottom:35px; text-align: center; text-transform: uppercase;}

/**
 * Topbar
 */

/* first the new stuff for the revised header in v1.1.0 */
.masthead-sml {font-size: 18px;}
.masthead-sml i {font-size: 24px;}
.masthead-sml .col-xs-3 {padding-left: 0; padding-right: 0;}
.masthead-sml .col-xs-3 a {display: block; width: 100%; height: 100%; line-height: 36px; transition: all 0.5s;}
.masthead-sml .phone-wrap a, .masthead-sml .phone-wrap a:visited, .masthead-sml .user-wrap a, .masthead-sml .user-wrap a:visited {background:#005486; color:#ffffff;}
.masthead-sml .user-wrap.logged-in a i {color:#1ae047;}
.masthead-sml .phone-wrap a:hover, .masthead-sml .phone-wrap a:focus, .masthead-sml .phone-wrap a:active, .masthead-sml .user-wrap a:hover, .masthead-sml .user-wrap a:focus, .masthead-sml .user-wrap a:active {color:#005486; background:#ffffff; text-decoration: none;}
.masthead-sml .menu-wrap a, .masthead-sml .menu-wrap a:visited, .masthead-sml .search-wrap a, .masthead-sml .search-wrap a:visited {background:#d2e0e4; color:#005486;}
.masthead-sml .menu-wrap a:hover, .masthead-sml .menu-wrap a:focus, .masthead-sml .menu-wrap a:active, .masthead-sml .search-wrap a:hover, .masthead-sml .search-wrap a:focus, .masthead-sml .search-wrap a:active {color:#005486; background:#ffffff; text-decoration: none;}
.masthead-sml .header-txt {display: none;}
@media (min-width: 520px){
	.masthead-sml .header-txt {display: inline;}	
}
.masthead-sml .logo-wrap {padding-top: 5px; padding-bottom: 5px;}
.masthead-sml .logo {max-height: 62px;}

.masthead-lge .toprow {background: #d2e0e4;}
.masthead-lge .phone-col {padding-left: 0; padding-right: 1px; text-align: center;}
.masthead-lge .user-col {padding-left: 1px; padding-right: 0; text-align: center;}
.masthead-lge .phone-col a, .masthead-lge .user-col a {display: block; width: 100%; height: 100%; line-height: 40px; transition: all 0.5s;}
.masthead-lge .phone-wrap a, .masthead-lge .phone-wrap a:visited, .masthead-lge .user-wrap a, .masthead-lge .user-wrap a:visited {background:#005486; color:#ffffff;}
.masthead-lge .user-wrap.logged-in a i {color:#1ae047;}
.masthead-lge .phone-wrap a:hover, .masthead-lge .phone-wrap a:focus, .masthead-lge .phone-wrap a:active, .masthead-lge .user-wrap a:hover, .masthead-lge .user-wrap a:focus, .masthead-lge .user-wrap a:active {color:#005486; background:#ffffff; text-decoration: none;}
.masthead-lge .logo-wrap {padding-top: 5px; padding-bottom: 5px;}
.masthead-lge .menu-btn-wrap {line-height: 100px; font-size: 24px;}
.masthead-lge .menu-btn-wrap a, .masthead-lge .menu-btn-wrap a:visited {color:#005486;}
.masthead-lge .menu-btn-wrap a:hover, .masthead-lge .menu-btn-wrap a:focus, .masthead-lge .menu-btn-wrap a:active {color:#1492a0; text-decoration: none;}
/*
.masthead-lge .menu-wrap.primary-menu .hide-public {display: none;}
.masthead-lge .menu-wrap.members-menu .hide-member {display: none;}
*/
.nav>li.hide-public {display: none;}
.logged-in .nav>li.hide-member {display: none;}
.logged-in .nav>li.hide-public {display: block;}

.navbar-nav>li>a {padding-left: 10px; padding-right: 10px;}

.masthead-lge .navbar-nav {font-size: 14px; margin-top: 0;}
@media (min-width: 1200px){
	.masthead-lge .navbar-nav {margin-top: 25px;}
}

.masthead-lge .menu-wrap {left:-1200px; z-index: 100; position: absolute; background: #fff; width: 100%; max-width: 500px; transition: left 1s;}
@media (min-width:992px){
	.masthead-lge .menu-wrap {max-width: 100%;}
}
@media (min-width: 1200px){
	.masthead-lge .menu-wrap {left:auto; z-index: auto; position: relative; background: #fff; width: auto;}
	#bca-primary-navbar .navbar-nav {display: inline-block;}
}
.masthead-lge .nav-closer {font-size: 24px; cursor: pointer;}
.masthead-lge .dropdown-menu > li > a {white-space: normal;}

/* change the menu toggle size from 768px to 992px */
@media (max-width:992px){
	.navbar-header {float:none;}
	.navbar-toggle {display:block;}
	.navbar-collapse {border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);}
	.navbar-collapse.collapse {display:none !important;}
	.navbar-nav {float:none !important;margin:7.5px -15px;}
	.navbar-nav>li {float:none;}
	.navbar-nav>li>a {padding-top:10px;padding-bottom:10px;}
	.navbar-text {float:none;margin:15px 0;}
	.navbar-collapse.collapse.in { display:block !important;}
	.collapsing {overflow:hidden !important;}
	.navbar-nav .open .dropdown-menu {position:static; float:none; width:auto; margin-top:0; background-color:transparent; border:0; -webkit-box-shadow:none; box-shadow:none;}
}
.search-form input {box-sizing: border-box;}
.dropdown-menu {min-width: 200px;}

.topwhois {font-size: 13px; line-height: 40px;}
.login-panel, .contact-panel, .search-panel {background: #005486; color:#fff; display: none;}
.login-panel h4 {color: #fff;}
.login-panel.redirect {display: block;}
.login-panel .redirect-msg {font-size: 120%;}
.login-panel .btn-wrap {padding-top: 10px; padding-bottom: 10px;}
.toppanel-close span {font-size:25px; font-weight:bold; cursor: pointer;}
.login-form-wrap, .topcontact-info-wrap {margin:5px 0 10px;}
.toplogin {background: #005486; color:#fff; cursor: pointer;}
.topcontact {cursor: pointer;}
.toplogin a, .toplogin a:visited, .toplogin a:hover, .toplogin a:focus, .toplogin a:active {color: #fff;}
.toplogin, .topcontact {line-height: 40px; text-align: center; text-transform: uppercase; font-size: 13px;}
.toppanels a:not(.btn), .toppanels a:not(.btn):visited, .toppanels a:not(.btn):hover, .toppanels a:not(.btn):focus, .toppanels a:not(.btn):active {color: #fff;}
.login-swap-wrap {margin-top: 5px;}
#toplogin-forgot-login {display: none;}
.login-email {width: 100%;}
.logout-panel {display: none;}
.search-panel {display: none;}
#topbar .social {text-align: right;}
#topbar .social {vertical-align: middle;}
#topbar .social-icons a {height:26px; line-height:40px; font-size:26px; transition: color 0.5s;}
#topbar .social-icons a:hover {color: #1492a0;}
.site-search {padding-top: 3px; padding-bottom: 3px; }
.search-panel .site-search {padding-bottom: 10px;}
.site-search button {border-color: #ccc;}
.site-search button:hover {background-color:#1492a0; border-color: #ccc;}
@media all and (min-width: 768px) {
	.login-email {width:350px !important;}
}
@media all and (max-width: 768px){
	#topbar .social {text-align: left;}
}

/**
 * Header and slider including navigation
 */

#masthead {position: relative;}
#home-slideshow, .wp-post-image {}
#home-slideshow .item-overlay, .wp-post-image .item-overlay {width: 100%; height: 100%;}
#home-slideshow .carousel-caption, .wp-post-image .carousel-caption {padding-left:1.5%; padding-right: 1.5%;}
#home-slideshow .carousel-inner {z-index: 0;}
#home-slideshow .carousel-inner .item, .wp-post-image .carousel-inner .item {background-repeat:no-repeat; background-position: center center; background-size: cover; height:300px;}
@media (min-width: 768px){
	#home-slideshow .carousel-inner .item, .wp-post-image .carousel-inner .item {height:500px;}
}
#home-slideshow .carousel-caption h3, .wp-post-image .carousel-caption h3 {font-size:60px; line-height:1; font-weight: 900; color:#fff;}
#home-slideshow .carousel-caption h3 a, .wp-post-image .carousel-caption h3 a, #home-slideshow .carousel-caption h3 a:visited, .wp-post-image .carousel-caption h3 a:visited {color:#eee;}
#home-slideshow .carousel-caption h3 a:hover, .wp-post-image .carousel-caption h3 a:hover, #home-slideshow .carousel-caption h3 a:focus, .wp-post-image .carousel-caption h3 a:focus, #home-slideshow .carousel-caption h3 a:active, .wp-post-image .carousel-caption h3 a:active {color:#fff; text-decoration: none;}
.carousel-indicators li {margin: 1px 4px;}
.carousel-indicators .active {margin: 0 3px;}
#site-navigation.overlay {position: absolute; top: 0;}
#site-navigation {background:rgba(255,255,255,0.75);}
#site-navigation .navbar {margin: 10px 0;}
#bca-primary-navbar {/*text-align: center;*/}
#bca-primary-navbar .navbar-nav {float: none; /*display: inline-block; font-size: 17px;*/ text-transform: uppercase;}
.site-header.no-images, .line {border-bottom: 5px solid #1492a0;}
@media all and (max-width: 768px){
	#home-slideshow .carousel-caption h3, .wp-post-image .carousel-caption h3 {font-size:40px;}
	#home-slideshow .carousel-caption p, .wp-post-image .carousel-caption p {display: none;}
}
/* ubermenu ... */
.site-logo {/*margin: 10px 0;*/}
.ubermenu-wrap {padding-top: 30px;}
@media all and (max-width: 992px){
	.ubermenu-wrap {padding-top: 20px;}
}
@media all and (max-width: 768px){
	.site-logo {max-width: 150px; float: left;}
	.ubermenu-wrap {float: left; width: calc(100% - 150px); padding-top: 12px;}
}
@media all and (max-width: 560px){
	.site-logo {text-align: center; width:100%; max-width: 100%;}
	.site-logo img {max-width: 125px;}
	.ubermenu-wrap {width: 100%; padding-top: 0; margin-bottom: 10px; background: #f9f9f9;}
}

/**
 * Page content
 */
.google-map .canvas {width: 100%; height: 300px;}
.google-map img {max-width: inherit !important;}

.wms-readmore {text-align: right;}
.wms-readmorelink {cursor: pointer;}
.wms-readmoretext {display: none;}

.wp-video {border:1px solid #ccc;}

.wms-background {position: relative;}
.wms-background .inner {padding: 35px 8%;}
.wms-background.indent {margin-left: 10%; margin-right: 10%;}
.wms-background .img-bg {background-size: cover; background-position: center; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: -1;}
.wms-background.quote:before, .wms-background.quote:after {font-family: FontAwesome; font-weight: normal; font-style: normal; display: inline-block; text-decoration: inherit; position: absolute; top:40px; color: #fff; font-size: 50px; }
.wms-background.quote:before {content: "\f10d"; left: 40px;}
.wms-background.quote:after {content: "\f10e"; right: 40px;}

blockquote {background: #d2e0e4; border-color: #104b6e;}

.fa-ul.bca-3x {margin-left: 5em;}
.fa-ul.bca-3x li {margin: 0 0 20px;}
.fa-ul.bca-3x .fa-li {color: #1492a0; top:0;}

img.border {border: 1px solid #ccc;}

/* hd video */
.hd-video-container {position: relative; padding-bottom: 56.25%; padding-top: 0; height: 0; overflow: hidden;}
.hd-video-container.HD720, .hd-video-container.HD720 iframe {max-width: 1280px; max-height: 720px;}
.hd-video-container.HD1080, .hd-video-container.HD1080 iframe {max-width: 1920px; max-height: 1080px;}
.hd-video-container iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

.video-embed-wrap {background:#FCECAD; padding: 10px; margin: 15px 0;}
.video-embed-wrap p {margin-bottom: 5px;}
.video-embed-wrap code {display: block; background: #ddd; font-size: inherit;}

/* collapsibles */
.panel-default > .panel-heading {background-color:#004a7e;}
.panel-title > a {color:#fff; font-weight: 900;}
.panel-title a:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: #fff;         /* adjust as needed */
}
.panel-title a.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

/* members featured items */
.memb-feat .carousel {margin-bottom: 50px;}
.memb-feat .carousel-indicators {bottom: -50px;}
.memb-feat .carousel-indicators li {border: 1px solid #1492a0;}
.memb-feat .carousel-indicators .active {background-color:#1492a0;}
.mem-feat-img {height:350px; background-repeat: no-repeat; background-position: center; background-size:contain;}
@media all and (max-width: 992px){
	.mem-feat-img {height:200px;}
}

.reverse {background: #048e98; color: white; padding:15px 15px 5px; margin-bottom: 10px; display: inline-block; border-radius: 10px;}
.reverse p {margin-bottom: 10px;}
.reverse i {margin-right: 10px;}

.event-page th {background: #1492a0; color: #fff;}
.event-page td {font-size: 14px;}

.event-tandc-wrap {padding: 5px 10px; border-radius: 5px; margin-top: 10px; font-size: 15px;}
.event-page input.error {border:2px solid #ff0000; background: #ffe6e6;}
.event-tandc-wrap.error, td.error {background: #ffe6e6; border:1px solid #ff0000;}
.event-page .no-std-tkts {background: #ffe6e6; border:1px solid #ff0000; border-radius: 3px; margin-bottom:20px; padding: 15px;}
.event-page .no-std-tkts p {margin: 0;}

.event-price {font-size: 28px;}

/**
 * Find a Chiro (home)
 */
#fac-row {background: #d2e0e4; padding: 40px 0 20px;}
#fac-row .fac-hdr {font-size: 36px; line-height: 67px; font-weight:300; color: #1492a0; text-transform: uppercase; text-align: right;}
#fac-row .fac-std-form {background: #fff; display: inline-block; border-radius: 3px; position: relative;}
#fac-row .fac-std-input {border:none; font-size: 19px; line-height: 65px; padding: 0 0 0 20px;}
#fac-row .fac-std-form .fac-std-sub {font-family:FontAwesome; background:#004a7e; font-size:28px; color: #fff; line-height:48px; padding:0 10px; margin: 10px; border:none; display: inline-block; cursor: pointer;}
.fac-curr-loc-wrap {display: none;}
#fac-row .fac-adv-link, #fac-row .fac-curr-loc-wrap {margin:5px 0;}
#fac-row .fac-std-instant {position: absolute; width: 100%; background: #fff; box-shadow: 0 5px 5px 0 rgba(0,0,0,0.35); z-index: 999; display:none;}
.fac-std-result {border-top: 1px solid #ccc; padding: 12px 0 12px 20px; font-size: 16px; text-align: left;}
@media all and (max-width: 992px){
	#fac-row .fac-hdr, #fac-row .fac-form-wrap {text-align: center;}
	#fac-row .fac-hdr {line-height: 1.3;}
}

/**
 * Find a Chiro (other pages)
 */
#page-fac-row {background: #d2e0e4; padding:10px 0;}
#page-fac-row .fac-hdr {font-size: 22px; line-height:39px; font-weight:300; color: #1492a0; text-align: right;}
#page-fac-row .fac-std-form {background: #fff; display: inline-block; border-radius: 3px; position: relative;}
#page-fac-row .fac-std-input {border:none; font-size: 19px; line-height: 26px; padding: 0 0 0 20px;}
#page-fac-row .fac-std-form .fac-std-sub {font-family:FontAwesome; background:#004a7e; font-size:19px; color: #fff; line-height:19px; padding:5px 10px; margin:5px; border:none; display: inline-block; cursor: pointer;}
#page-fac-row .fac-adv-link, #page-fac-row .fac-curr-loc-wrap {margin:0; line-height:39px; font-size:13px;}
#page-fac-row .fac-std-instant {position: absolute; width: 100%; background: #fff; box-shadow: 0 5px 5px 0 rgba(0,0,0,0.35); z-index: 999;}
.fac-std-result {border-top: 1px solid #ccc; padding: 12px 0 12px 20px; font-size: 16px; text-align: left;}
@media all and (max-width: 992px){
	#page-fac-row .fac-hdr, #page-fac-row .fac-form-wrap {text-align: center;}
	#page-fac-row .fac-hdr {line-height: 1.3;}
}
.fac-page-form .checkbox, .fac-page-form .checkbox-inline, .fac-page-form .radio, .fac-page-form .radio-inline {font-size:14px; line-height:18px; padding-left:5px;}
.fac-page-form label {font-weight: normal;}
.fac-page-form input[type=checkbox] { display:none; } /* to hide the checkbox itself */
.fac-page-form input[type=checkbox] + label:before { font-family: FontAwesome; display: inline-block; font-size:20px; line-height: 28px;}
.fac-page-form input[type=checkbox] + label:before { content: "\f096"; } /* unchecked icon */
.fac-page-form input[type=checkbox] + label:before { letter-spacing: 10px; } /* space between checkbox and label */
.fac-page-form input[type=checkbox]:checked + label:before { content: "\f046"; } /* checked icon */
.fac-page-form input[type=checkbox]:checked + label:before { letter-spacing: 7px; } /* allow space for check mark */
.fac-page-form input[type=radio] { display:none; } /* to hide the radio itself */
.fac-page-form input[type=radio] + label:before { font-family: FontAwesome; display: inline-block; font-size:20px; line-height: 28px;}
.fac-page-form input[type=radio] + label:before { content: "\f096"; } /* unchecked icon */
.fac-page-form input[type=radio] + label:before { letter-spacing: 10px; } /* space between radio and label */
.fac-page-form input[type=radio]:checked + label:before { content: "\f046"; } /* checked icon */
.fac-page-form input[type=radio]:checked + label:before { letter-spacing: 7px; } /* allow space for check mark */
#fac-page-srch-btn.glow {animation: glow 5s;}
@keyframes glow {
	0% {box-shadow: none;}
	25% {box-shadow: 0px 0px 15px 5px rgba(255,255,0,1);}
	75% {box-shadow: 0px 0px 15px 5px rgba(255,255,0,1);}
	100% {box-shadow: none;}
}


/**
 * Find a chiro (results)
 */
.fac-page-srch-wrap, .fac-page-results-wrap {background:#d2e0e4; padding-top: 10px; margin-bottom: 5px;}
.fac-page-srch-wrap.results {display: none;}
.fac-page-results-wrap.search {display: none;}
.fac-page-results-wrap {padding-bottom: 15px;}
#fac-page-instant {position: absolute; width: 100%; background: #fff; box-shadow: 0 5px 5px 0 rgba(0,0,0,0.35); z-index: 999;}
.facr-list {height:800px;}
.facr-info {background:#d2e0e4; margin:0 -15px 5px; padding: 10px 15px; }
.facr-info-found {margin: 10px 0;}
.facr-info-item i {margin-right: 10px;}
.facr-list {border-top:1px solid #ccc; position: relative; margin: 0 -15px 5px; overflow: auto;}
@media all and (max-width: 768px){
	.facr-list {height: auto;}
	.facr-list {display: none;}
}
.facr-clinic {border-bottom: 1px solid #ccc; padding: 10px 10px 0;}
.facr-clinic:hover, .facr-clinic.highlight {background: #eee;}
.facr-clinic h5 {margin-top: 0;}
.facr-clinic h5, .facr-clinic p {margin-bottom: 0;}
.facr-clinic p {font-size: 13px;}
.facr-clinic p.facr-title {font-size: 15px;}
.facr-clinic i {color: #888; min-width:15px; margin-right: 7px;}
.facr-clinic .moreless {font-size: 11px; line-height: 1.5; border-top: 1px solid #eee; border-left: 1px solid #eee; border-right: 1px solid #eee; border-radius: 3px 3px 0 0; color:#777; padding: 2px 15px;}
.facr-results {clear:both; padding: 0 15px;}
.facr-result-group {margin-bottom: 15px;}
.facr-result-srch-group {text-align: center;}
.facr-result-item {font-size: 18px;}
.facr-results p {margin-bottom: 0;}
.facr-full {display: none;}
.facr-detail {display: none; position: absolute; top:20px; left:105%; width: 100%; background: #fff; z-index: 1; border: 1px solid #ccc; padding: 10px; box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.3);}
.facr-detail .chiros {margin-bottom: 5px;}
.facr-detail h5 {margin-top: 0; margin-bottom: 5px;}
.facr-detail p {font-size: 13px; margin-bottom: 0;}
.facr-detail i {min-width:15px; margin-right: 7px; color: #888;}
.facr-spacer {display:inline-block; width:15px; margin-right: 7px;}
.facr-det-close {float:right; cursor:pointer; font-size: 22px; margin-top: -8px;}
.facr-clinic i.fa-map-marker, .facr-detail i.fa-map-marker {color: #f76458;}
@media all and (min-width: 768px){
	.fac-map-wrap {padding-right: 0;}
}
.fac-map {height: 800px; margin-bottom: 50px;}
@media all and (max-width: 992px){
	.fac-page-srch-wrap .submit-wrap label {display: none;}
	.fac-page-srch-wrap .submit-wrap {margin-bottom: 20px;}
	.facr-detail { position:fixed; left: auto; right: 0;}
	.facr-list, .fac-map {height: 500px;}
}
.facr-modal-trigger {text-align: center; margin-bottom: 0; margin-top: 5px;}
@media all and (min-width: 768px){
	.facr-modal-trigger {display: none;}
}
.facr-modals p {margin-bottom: 5px;}
.facr-modals i {min-width:15px; margin-right: 7px; color: #888;}

/**
 * recent posts slider
 */
.cloneditem-1, .cloneditem-2 {display: none;}
@media all and (min-width: 768px) {
  .latest-news .carousel-inner > .active.left,
  .latest-news .carousel-inner > .prev {
    left: -50%;
  }
  .latest-news .carousel-inner > .active.right,
  .latest-news .carousel-inner > .next {
    left: 50%;
  }
  .latest-news .carousel-inner > .left,
  .latest-news .carousel-inner > .prev.right,
  .latest-news .carousel-inner > .active {
    left: 0;
  }
  .latest-news .carousel-inner .cloneditem-1 {
    display: block;
  }
}
@media all and (min-width: 768px) and (transform-3d), all and (min-width: 768px) and (-webkit-transform-3d) {
  .latest-news .carousel-inner > .item.active.right,
  .latest-news .carousel-inner > .item.next {
    -webkit-transform: translate3d(50%, 0, 0);
            transform: translate3d(50%, 0, 0);
    left: 0;
  }
  .latest-news .carousel-inner > .item.active.left,
  .latest-news .carousel-inner > .item.prev {
    -webkit-transform: translate3d(-50%, 0, 0);
            transform: translate3d(-50%, 0, 0);
    left: 0;
  }
  .latest-news .carousel-inner > .item.left,
  .latest-news .carousel-inner > .item.prev.right,
  .latest-news .carousel-inner > .item.active {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
    left: 0;
  }
}
@media all and (min-width: 992px) {
  .latest-news .carousel-inner > .active.left,
  .latest-news .carousel-inner > .prev {
    left: -33.333%;
  }
  .latest-news .carousel-inner > .active.right,
  .latest-news .carousel-inner > .next {
    left: 33.333%;
  }
  .latest-news .carousel-inner > .left,
  .latest-news .carousel-inner > .prev.right,
  .latest-news .carousel-inner > .active {
    left: 0;
  }
  .latest-news .carousel-inner .cloneditem-2 {
    display: block;
  }
}
@media all and (min-width: 992px) and (transform-3d), all and (min-width: 992px) and (-webkit-transform-3d) {
  .latest-news .carousel-inner > .item.active.right,
  .latest-news .carousel-inner > .item.next {
    -webkit-transform: translate3d(33.333%, 0, 0);
            transform: translate3d(33.333%, 0, 0);
    left: 0;
  }
  .latest-news .carousel-inner > .item.active.left,
  .latest-news .carousel-inner > .item.prev {
    -webkit-transform: translate3d(-33.333%, 0, 0);
            transform: translate3d(-33.333%, 0, 0);
    left: 0;
  }
  .latest-news .carousel-inner > .item.left,
  .latest-news .carousel-inner > .item.prev.right,
  .latest-news .carousel-inner > .item.active {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
    left: 0;
  }
}

.rp-bg {position: relative;}
.rp-inner {padding: 15px; width: 50%; position: absolute;}
.recent-post h3 {font-size: 27px; margin: 0 0 15px;}
.recent-posts-img {background:none; border: none; border-radius: 0; padding: 0; margin: 0; float:right;}
.rp-content {overflow: hidden;}
.rp-hover {display: none;}
.rp-btn-wrap {margin-top: 10px; text-align: center;}
@media all and (max-width:768px) {
	.rp-content.maxht {max-height: 80px;}
}
@media all and (min-width:768px) {
	.rp-content.maxht {max-height: 100px;}
}
@media all and (min-width:992px) {
	.rp-content.maxht {max-height: 112px;}
}
@media all and (min-width:768px) and (max-width:1200px) {
	.recent-post h3 {font-size: 22px;}
	.rp-excerpt {display: none;}
}
@media all and (max-width:992px) {
	.recent-post h3 {margin: 0 0 10px;}
	.rp-excerpt {font-size: 1.5rem; line-height: 1.5;}
}

/**
 * Hover panels
 */
.bcahp-wrap {position: relative; height: 310px; overflow: hidden; margin-bottom: 30px;}
.bcahp-img {height:255px; background-size: cover; background-position: center;}
.bcahp-content-wrap {padding:3px 20px; position: absolute; top: 255px; width: 100%;}
.bcahp-title {}
.bcahp-showonhover {display:none;}
.bcahp-content {}
.bcahp-link-wrap {text-align: center; margin-top: 10px;}
.bcahp-link {}

/**
 * adverts
 */
.ad-loginform {border: 1px solid #ccc; border-radius: 10px; padding-top: 15px; padding-bottom: 15px; margin-bottom: 50px;}
@media all and (min-width:768px){
	.ad-formspacer {width: 100%; height: 34px; display: block;}
}

.ad-edit-image {border: 1px solid #ccc; border-radius: 5px; margin: 10px 0 0 15px; padding: 10px;}
.ad-preview {border: 1px solid #ccc; border-radius: 5px; padding: 20px 0;}
.ad-preview .ad-images {margin-bottom: 15px;}
.adimgthumb, .ad-preview .ad-images .carousel img {border: 1px solid #ccc;}
.ad-preview .ad-title {margin-bottom: 30px;}
.ad-preview .ad-description {margin-bottom: 1.5em;}
.ad-options {border-top: 1px solid #ccc; border-bottom: 1px solid #ccc;}
.ad-options .checkbox {font-size: 16px; line-height:28px;}
input.ad-option[type=checkbox] { display:none; } /* to hide the checkbox itself */
input.ad-option[type=checkbox] + label:before { font-family: FontAwesome; display: inline-block; font-size:20px; line-height: 28px;}
input.ad-option[type=checkbox] + label:before { content: "\f096"; } /* unchecked icon */
input.ad-option[type=checkbox] + label:before { letter-spacing: 10px; } /* space between checkbox and label */
input.ad-option[type=checkbox]:checked + label:before { content: "\f046"; } /* checked icon */
input.ad-option[type=checkbox]:checked + label:before { letter-spacing: 7px; } /* allow space for check mark */
.user-ad {border-bottom: 1px solid #ccc;}
.user-ad-info, .user-ad-actions {font-size: 90%;}
.user-ad-actions {position: relative; left: -9999px;}
.user-ad-actions span {margin-right:10px;}
.user-ad:hover .user-ad-actions {left: 0;}
.ad-disp-cat-sel {list-style: none; margin: 0 0 15px; padding-left: 5px;}
.ad-disp-cat-sel .children {list-style: none; margin: 0;}
#disp-locn-instant {position: absolute; width: 100%; background: #fff; box-shadow: 0 5px 5px 0 rgba(0,0,0,0.35); z-index: 999;}
.disp-locn-result {border-top: 1px solid #ddd; padding: 8px 0 8px 10px; font-size: 13px;}
.ad-excerpt-wrap {padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #ccc;}
.ad-excerpt-wrap .ad-images img {max-height: 126px; border: 1px solid #ccc; margin: 0 auto;}
.ad-meta, .ad-actions {margin-top: 20px; padding-top: 20px; border-top: 1px solid #ccc;}
.ad-meta .ad-contact p {margin-bottom: 0;}
.single-advert .ad-images img {border: 1px solid #ccc; max-height: 400px; margin: 0 auto;}
.ad-price-disp-wrap {font-size: 22px; font-weight: 600;}
.ad-price-load {display: none;}
.ad-links {padding: 40px 0 60px;}
.edit-advert {margin-bottom: 60px;}
.ad-options-error, .ad-billing-error {padding: 15px; margin-bottom: 20px;}
.ad-mod {background:#eee; padding:20px; margin-bottom:20px;}
.ad-mod .ad-desc, .ad-mod .ad-image {margin-bottom: 20px;}
.ad-thanks {padding: 50px 0 200px;}
.user-adverts-wrap {border: 1px solid #ccc; max-height: 350px; overflow: auto; border-radius: 10px;}
.user-adverts-wrap .user-ad {padding: 15px;}
.user-adverts-wrap .user-ad.pending_revision {background: #fcf8e3;}
.user-adverts-wrap .user-ad.draft {background: #fcf8e3;}
.user-adverts-wrap .user-ad.suspended {background: #f2dede;}
.user-adverts-wrap .user-ad.expired {color:#aaa;}
.ad-page-links {padding-bottom: 50px;}
.ad-title {text-transform: uppercase;}

/**
 * My Membership side menu
 */
.offcanvas-row {overflow: hidden; position: relative;}
.offcanvas-wrapper {width:100%; position: absolute; top:0; left:0; right:0; transition: left 1s, right 1s;}
.show-menu .offcanvas-wrapper {left:300px; right:-300px;}
.offcanvas-column {position: absolute; min-height: 1px; top:0; width:300px; left:-300px; transition: left 1s;}
.offcanvas-content {overflow: hidden; margin-left: 15px; margin-right: 15px;}
.offcanvas-toggle {border: 1px solid #ccc; border-radius: 6px; padding: 3px 12px; font-size: 22px; color: #999; margin-bottom: 15px; display: block;}
.oncanvas-content {position: absolute; top:0; min-height: 1px; padding-left: 15px; padding-right: 15px;}
@media all and (min-width:768px) {
	.offcanvas-wrapper {position: relative;}
	.offcanvas-column {position: relative; width:33.33%; left:0; float: left;}
	.offcanvas-toggle {display: none;}
	.oncanvas-content {position: relative; width: 66.67%; float: left;}
}
@media all and (min-width:992px){
	.offcanvas-column {width:29%;}
	.oncanvas-content {width:71%}
}
@media all and (min-width:1200px){
	.offcanvas-column {width:25%;}
	.oncanvas-content {width:75%;}
}
.my-memb-menu-wrap .navbar .navbar-collapse {padding: 0; max-height: none;}
.my-memb-menu-wrap .navbar .nav {display: inline;}
.my-memb-menu-wrap .navbar ul {float: none;}
.my-memb-menu-wrap .navbar ul:not {display: block;}
.my-memb-menu-wrap .navbar li {float: none; display: block;}
.my-memb-menu-wrap .navbar li a {padding-top: 12px; padding-bottom: 12px;}
.my-memb-menu-wrap .dropdown-menu {width: 100%}
.my-memb-menu-wrap .navbar .current-menu-ancestor .dropdown-menu {position: relative; display: block; left:25px; border: none; box-shadow: none;}
.my-memb-menu-wrap .dropdown-menu > .active > a, .my-memb-menu-wrap .dropdown-menu > .active > a:focus, .my-memb-menu-wrap .dropdown-menu > .active > a:hover {background-color: #1492a0;}

.my-memb-photo {width:100%; height: 300px; background-size: contain; background-repeat: no-repeat;}

/**
 * Pay Anything pages
 */
.pay-anything-wrap {border:1px solid #bbb; background: #eee; border-radius:20px; padding: 30px; margin-bottom: 50px;}
.pay-anything-wrap.solo {margin-top: 100px;}
.pay-anything-form {padding-top: 20px; padding-bottom: 20px;}
.pay-anything-msg {border-radius: 5px;}
.pay-anything-error {border:1px solid #a94442;}

/**
 * BCA Plus
 */
.bca-plus-tabs .bca-plus-tab {opacity: 0.5;}
.bca-plus-tabs .active .bca-plus-tab {opacity: 1;}
.bca-plus-item {border-bottom: 1px solid #ccc;padding-top: 20px; padding-bottom: 30px;}
.bca-plus-tab-content {margin-bottom: 50px;}
.bca-plus-excerpt {margin-bottom: 20px;}
.bca-plus-details {display: none;}

/**
 * Footer
 */
#colophon {padding: 30px 0; background: #1492a0; color: #fff;}
#colophon h1, #colophon h2, #colophon h3, #colophon h4, #colophon h5, #colophon h6 {color: #fff;}
.seo-footer-wrapper {background: #1492a0; color: #fff;}
.seo-footer-wrapper a {color: #fff;}
.sub-footer {padding: 20px 0;}
.footer-keywords {font-size: 80%;}
.footer-keywords ul {list-style: none; margin: 0; padding: 10px 0; text-align: center;}
.footer-keywords li {display: inline; padding: 0 10px 0 6px;}
.footer-keywords li:last-child {border: none;}
.footer-keywords, .copy-info {font-size: 80%; margin-top: 20px;}
.copy-info {text-align: center;}
@media all and (min-width:768px){
	.copy-info .client {text-align: left;}
	.copy-info .rpm {text-align: right;}
}

/**
 * BCA Plus Footer Banner
 */
.footer-banner {position: fixed; bottom: 0; width: 100%; background:#FFA500; box-shadow: 0 -2px 2px 0 rgba(50,50,50,0.5);}
.footer-banner-tab {text-align: center; padding-top: 15px; padding-bottom: 15px;}
.footer-banner-closer {position: absolute; right: 0px; top: -35px; width: 36px; height: 36px; font-size: 14px; line-height: 1; color:#397d82; cursor: pointer;}
.footer-banner-logo {}
.footer-banner-text {font-size: 24px; color: #fff; margin-top: 5px;}
.footer-banner-btn {margin-top: 5px;}
@media all and (min-width:768px){
	.footer-banner-text {margin-top: 0;}
	.footer-banner-btn {margin-top: 5px;}
}
@media all and (min-width:992px){
	.footer-banner-text {margin-top: 5px;}
	.footer-banner-btn {margin-top: 10px;}
}

/**
 * scroll to top
 */
.scrolltop {
	display:none;
	width:100%;
	margin:0 auto;
	position:fixed;
	bottom:20px;
	right:10px;	
}
.scroll {
	position:absolute;
	right:20px;
	bottom:20px;
	background:#b2b2b2;
	background:rgba(178,178,178,0.7);
	padding:20px;
	text-align: center;
	margin: 0 0 0 0;
	cursor:pointer;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s; 		
}
.scroll:hover {
	background:rgba(178,178,178,1.0);
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s; 		
}
.scroll:hover .fa {
	padding-top:-10px;
}
.scroll .fa {
	font-size:30px;
	margin-top:-5px;
	margin-left:1px;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s; 	
}

.popup-ad-bg {display:none; z-index: 1000; position: fixed; top:0; bottom: 0; left:0; right:0; padding: 80px 10%; background: rgba(0,0,0,0.5); overflow-x: hidden; overflow-y: auto;}
@media all and (min-width:768px){
	.popup-ad-bg {padding-top: 10%;}
}
.popup-ad-closer {position: absolute; top: 35px; right: 15px; color: #ffffff; font-weight: 700; font-size: 50px; line-height: 1; cursor: pointer;}