/*
Theme Name: Chamber Beautiful
Theme URI: https://chamberdashboard.com/downloads/chamber-beautiful
Author: Nichole Betterley
Author URI: https://npoweredsites.com
Description: Chamber Beautiful is a responsive multipurpose WordPress theme designed especially for Chambers of Commerce and membership organizations. This theme is built for simplicity and ease of use. It has a clean, professional look that will make your site stand out. Chamber Beautiful is specifically written to support features most used by membership organizations such as highlighting member businesses, sponsor logo display, connecting with social media sites and more. Check out the demo at http://chamber-beautiful.chamberdashboard.com.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Tags: one-column, two-columns, full-width-template, flexible-header, custom-colors, custom-header, custom-logo, custom-menu, featured-images, flexbox footer-widgets, blog, threaded-comments, theme-options, cross-browser compatible, SEO-friendly, translation-ready, rtl-language-support, chambers of commerce, professional membership associations, things-to-do, alumni groups, Audubon society, social clubs
Text Domain: chamber-beautiful
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.

Chamber Beautiful is based on Underscores http://underscores.me/, (C) 2012-2016 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.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Header / Footer
# Widgets
# Content
	## Globals
	## Posts and pages
	## Comments
	## Chamber Dashboard Customization
# 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: 600;
}

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-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;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #000000;
	font-family: 'Open Sans';
	font-weight: 300;
	letter-spacing: 1px;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1 { font-size: 1.875em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.125em; }
h4 { font-size: 1em; }
h5 { font-size: 0.875em; }
h6 { font-size: 0.75em; }

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 1.5em;
	border-left: 5px solid #ebebeb;
	padding: 0 0 0 20px;
	font-family: 'Kameron';
	font-style: italic;
	color: #888888;
	font-weight: normal;
	font-size: 1.2em;
}

blockquote p {
	margin: 0;
	padding: 10px 0;
}

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;
}

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: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	border-radius: 3px;
	background: #e64a19;
	color: rgba(255, 255, 255, .8);
	font-family: 'Kameron', serif;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
	padding: 1em 1em;
	transition-duration: 0.25s;
    transition-property: border, background, color, opacity;
    transition-timing-function: ease-in-out;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	opacity: .8;
	color: rgba(255, 255, 255, 1);
}

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;
	padding: 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;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a,
 a:visited {
	color: #e64a19;  /* color set as accent_color in Customizer. */
	transition-duration: 0.25s;
    transition-property: border, background, color, opacity;
    transition-timing-function: ease-in-out;	
}

a:hover,
a:focus,
a:active {
	opacity: .6;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

.nav-links a {
	text-decoration: none;
	font-size: .9em;
}

.prev-next {
	font-family: 'Kameron', serif;
	font-size: 13px;
	font-size: .8125em;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	font-family: 'Open Sans', serif;
	text-transform: uppercase;
	font-size: 14px;
	font-size: .875em;
	height: 83px;
	line-height: 83px;
}

@media screen and (max-width: 64em) {
	.main-navigation {
		justify-content: center;
		margin-bottom: 10px;
		line-height: initial;
		height: initial;
	}
}

@media screen and (max-width: 37.5em) {
	.main-navigation {
		margin-bottom: 0;
	}
	
	.sticky .main-navigation {
		border-bottom: 0;
	}
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	float: right;
	line-height: 1;
}

.main-navigation li {
	float: left;
	position: relative;
	padding: .5em;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation li:last-child {
	padding-right: 0;
}

.main-navigation .menu-item-has-children a::after,
.main-navigation .menu-item-has-children li.menu-item-has-children a::after {
	font-family: 'FontAwesome';
	content: '\f107';
	position: relative;
	margin-left: 5px;
	font-size: .8em;
}

.main-navigation .menu-item-has-children ul a::after,
.main-navigation .menu-item-has-children li.menu-item-has-children ul a::after  {
	content: '';
	margin-left: 0;
}

.main-navigation ul ul {
	border: 1px solid #e8e8e8;
	background: #ffffff;
	float: left;
	position: absolute;
	top: 2em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {
	padding: .5em;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
	color: #e64a19;  /* color set as accent_color in Customizer. */
}

.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 {
	font-weight: 700;
}

/* Small menu. */
.menu-toggle::before {
	font-family: 'FontAwesome';
	content: '\f0c9';
	position: relative;
	margin-right: 5px;
}

.main-navigation.toggled {
	flex-wrap: wrap;	
}

.menu-toggle,
.main-navigation.toggled ul {
	display: block;
	font-family: 'Kameron', serif;
	text-transform: uppercase;
	width: 100%;
}

.toggled .menu-primary-navigation-container {
	width: 100%;
}

.main-navigation.toggled ul {
	background: #ffffff;
}

.main-navigation.toggled li {
	float: none;
	padding: .5em 1em;
}

.main-navigation.toggled li.menu-has-children {
	border-bottom: none;
}

.main-navigation.toggled ul ul,
 .main-navigation.toggled ul ul ul {
	position: relative;
	border: none;
	left: 0;
	top: 0;
	float: none;
	background: transparent;
}

.main-navigation.toggled ul ul a,
.main-navigation.toggled ul ul ul a {
	width: auto;
}

.main-navigation.toggled ul ul li:hover > ul,
.main-navigation.toggled ul ul li.focus > ul {
	left: 0;
}

@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;
	clear: both;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* Social navigation top bar */

.social-navigation {
	font-size: 16px;
	font-size: 1rem;
	background: #e64a19;  /* background color set as accent_color in Customizer. */
	line-height: 1;
	position: relative;
}

.social-navigation ul {
	list-style: none;
	margin-bottom: 0;
	margin-left: 0;
	text-align: right;
	color: #ffffff;
}

@media screen and (max-width: 75em) {
	.social-navigation ul {
		margin-right: 10px;
	}
}

.social-navigation li {
	display: inline;
	display: inline-block;
	margin: 0 0.3em 0.5em 0;
	text-align: center;
	padding-top: 5px;
}

.social-navigation a,
.social-navigation a:visited {
	color: #fff;
	text-decoration: none;
	opacity: 1;
}

.social-navigation a:hover,
.social-navigation a:focus {
	opacity: .8;
}

.social-links-phone {
	font-size: 14px;
	font-size: .875em;
	font-weight: 600;
	padding-right: 20px;
}

.social-links-phone::before {
	font-family: 'Fontawesome';
	font-size: 16px;
	content: '\f095';
	position: relative;
	right: 5px;
	top: 2px;
}

.social-links-search {
	padding-left: 20px;
	position: relative;
}

.social-links-search::before {
	font-family: 'Fontawesome';
	font-size: 16px;
	content: '\f002';
	position: relative;
	right: 0;
	top: 0;
	transition-duration: 0.25s;
    transition-property: border, background, color, opacity;
    transition-timing-function: ease-in-out;
}

.social-navigation .search-form {
	position: absolute;
	right: 0;
	top: 0;
}

.social-navigation .search-field {
	background-color: transparent;
	border: none; 
	cursor: pointer;
	height: 37px;
	margin: 3px 0;
	padding: 0 0 0 16px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 10px;
}

.social-navigation .search-field:focus {
	background-color: #fff;
	border: 1px solid #ccc;
	cursor: text;
	outline: 0;
	width: 230px;
}

.social-navigation .search-submit {
  display: none;
}

.social-navigation input[type="search"] {
	-webkit-appearance: textfield;
}

/* Numeric Navigation */
.numeric-navigation {
    margin: 1.5em 0;
	clear: both;
	width: 100%;
}

.numeric-navigation ul {
	margin: 0;
	padding: 0;
}

.numeric-navigation li a,
.numeric-navigation li a:hover,
.numeric-navigation li.active a,
.numeric-navigation li.disabled {
	text-decoration:none;
}

.numeric-navigation li {
	display: inline;
}

.numeric-navigation li a,
.numeric-navigation li a:hover,
.numeric-navigation li.active a,
.numeric-navigation li.disabled {
	color: #ffffff;
	background-color: #e64a19;
	font-size: .9rem;
	font-weight: 700;
	border-radius: 3px;
	cursor: pointer;
	padding: 12px;
	padding: 0.3rem 0.75rem;
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	transition: all .25	s ease-in-out;
}

.numeric-navigation li a:hover,
.numeric-navigation li.active a {
	color: #fffff;
	opacity: .6;
}

/*--------------------------------------------------------------
# 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;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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;
}

/*--------------------------------------------------------------
# Header / Footer
--------------------------------------------------------------*/
.site-header {
	transition: all 0.4s ease;
}

.site-title {
	margin: 1rem;
	font-family: 'Kameron', sans-serif;
	font-size: 2.5em;
	text-align: center;
	word-break: break-word;
	line-height: 1.1;
	font-size: 2em;
}

.home .banner-image {
	min-height: 200px;
	position: relative;
	width: 100%;
	overflow: hidden;
}

.banner-image-bg {
    background-attachment: fixed;
    background-position: center 48px;
	background-repeat: no-repeat;
    width: 100%;
} 

@media screen and (min-width: 64em) {
	.site-header {
		line-height: 140px;
		height: 140px;	
		width: 100%;
		background: #ffffff;
	}
	
	.home .site-header {
		line-height: 113px;
		height: 113px;	
	}
	
	.site-branding {
		transition: all 0.4s ease;
		position: fixed;
		width: 100%;
		z-index: 9999;
	}
	
	.site-branding.sticky {
		top: 0;
		background: rgba(255,255,255,0.8);
		height: 48px;
		line-height: 48px;
		border-bottom: 1px solid #ededed;
	}

	.admin-bar .site-branding.sticky {
		top: 32px;
	}
	
	.site-branding-left {
		width: 27%;
		float: left;
		position: relative;
	}

	.site-branding-right {
		width: 73%;
		float: right;
	}
	
	.site-branding.sticky .main-navigation {
		line-height: 48px;
		height: 48px;
	}
	
	.site-title {
		background: url(assets/images/logo-bg.png) no-repeat top center / contain;
		position: absolute;
		top: -46px;
		height: 170px;
		width: 300px;
		max-width: 95%;
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 200;
		transition: all 0.4s ease;
	}
	
	.sticky .site-title {
		max-width: 200px;
		font-size: 1.5em;
		top: -20px;
		height: 120px;
		display: flex;
		align-items: center;
	}
	
	.site-title img {
		position: relative;
		max-width: 90%;
		max-height: 120px;
		width: auto;
	}
	
	.sticky .site-title img {
		max-width: 174px;
	}
	
	.site-title.text-title a {
		position: relative;
		top: -10px;
	}
	
	.sticky .site-title.text-title a {
		top: -10px;
	}

	.banner-image {
		position: relative;
		min-height: 70px;
	}
	
	.admin-bar .banner-image-bg {
		background-position: center 80px;
	}
	
}

@media screen and (max-width: 64em) {
	.sticky .main-navigation {
		position: fixed;
		top: 0;
		height: 48px;
		line-height: 48px;
		background: #ffffff;
		z-index: 9999;
		border-bottom: 1px solid #ededed;
		transition: all 0.4s ease;
	}
	
	.admin-bar .sticky .main-navigation {
		top: 32px;
	}
}

@media screen and (max-width: 600px) {
	.admin-bar .sticky .main-navigation {
		top: 0;
	}
}

.site-title a {
	text-decoration: none;
	color: inherit;
}

.site-title a:hover,
.site-title a:focus {
	
}

.site-description {
	font-size: 110%;
	margin: 0 1rem 1rem;
	text-align: center;
	display: none;
}

.site-info {
	text-align: center;
	margin: 1rem auto;
	padding: 1rem;
	font-size: 0.875em;
}

@media screen and (max-width: 37.5em) {
	.home .banner-image-bg {
        background-attachment: scroll;
		background-position: center 0;
    }
}

.footer-credit {
	margin-top: 1em;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.home-page-action-block-widget-area {
	margin: -203px auto 20px;
	display: none;
}

.home-page-action-block  {
	width: 230px;
	height: 230px;
	text-align: center;
	padding: 20px 10px 0;
	border-radius: 50%;
	border: 10px solid #ededed;
	background: #ffffff;
	margin: 0 auto 10px;
}
 
.home-page-action-block .action-icon .fa {
	font-size: 48px;
}
 
.home-page-action-block a {
	text-decoration: none;
}

.featured-logos-block {
	background: #ededed;
}

.featured-logos-block .wrap {
	padding: 20px;
}

 #tertiary {
	position: relative;
	padding: 1.8em 1.4em;
	background: #e64a19; /* background color set as accent_color in Customizer. */
	font-size: .875em;
	color: #ffffff;
}

#tertiary table {
	color: #ffffff;
}

#tertiary .widget-area {
	margin: 0 0 1em;
	padding: 1.8em;
	background: rgba(255, 255, 255, .2);
	max-width: 600px;
	border-radius: 5px;
}


@media screen and (min-width: 40em) {
	 .home-page-action-block-widget-area {
		display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
		display: -ms-flexbox;  /* TWEENER - IE 10 */
		display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		padding: 1em;
		font-size: 1em;
		margin-top: -173px;
	 }
	 
	#secondary {
		float: right;
		width: 32%;
		max-width: 22.5em;
		position: relative;
	}
	
	 #tertiary {
		display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
		display: -ms-flexbox;  /* TWEENER - IE 10 */
		display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		padding: 1em;
		font-size: 1em;
	}
	
	#tertiary .widget-area {
		float: left;
		width: 47%;
		margin: .5em;
	}
	
	#tertiary .widget-area.widget-columns-1,
	#tertiary .widget-area.widget-columns-3 {
		float: none;
		width: 100%;
		max-width: 75em;
	}
}

@media screen and (min-width: 44.8125em) {
	#tertiary .widget-area.widget-columns-3 {
		width: 31%;
		max-width: 395px;
	} 
}

@media screen and (min-width: 64em) {
	
	 .home-page-action-block-widget-area {
		margin-top: -173px;
	 }
	 #tertiary .widget-area.widget-columns-4 {
		width: 23%;
		max-width: 300px;
	} 
}
	
.widget-title,
.widgettitle {
	margin-top: .5em;
	margin-bottom: .5em;
	font-size: 1em;
	text-transform: uppercase;
	font-weight: 600;
}

.widget-area ul,
.widget-area ol {
	margin: 0 0 1.5em -1.4em;
}

#secondary .widget {
	padding: 0 0 1em;
	margin-bottom: 1em;
	border-radius: 5px;
}

#secondary .widget-title,
#secondary .widgettitle {
	text-align: center;
}
 
#secondary .widget_archive ul,
#secondary .widget_categories ul,
#secondary .widget_meta ul,
#secondary .widget_recent_entries ul,
#secondary .widget_recent_comments ul,
#secondary .widget_rss ul {
	list-style: none;
	margin-left: -2.4em;
}

#secondary .widget_pages ul,
#secondary .widget_nav_menu ul {
	list-style: none;
}

#secondary li {
	margin-bottom: .5em;
}

#tertiary .widget-area ul {
	list-style: none;
	margin: 0 0 1.5em -2.5em;
}

#tertiary .widget-area li {
	margin-bottom: .5em;
}

#secondary .widget-area ul li ul,
#tertiary .widget-area ul li ul {
	margin-left: -1.4em;
}

#tertiary .widget-area a,
#tertiary .widget-area li > a,
#tertiary .widget-area td > a {
	color: #ffffff;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Globals
--------------------------------------------------------------*/
.wrap {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
}

.site-content {
	font-size: 0.875em;
	margin: 0 0 1em;
	padding: 0 1em;
	position: relative;
	border-top: 0;
	background: #fff;
}

.home .site-content {
	margin: -30px 0 1em;
}

@media screen and (max-width: 40em) {
	.home .site-content {
		margin-top: 30px;
	}
}

@media screen and (min-width: 40em) {
	.site-content {
		padding: 1em;
		font-size: 1em;
		margin: 1em auto;
		background: white;
	}
	
	.home .site-content {
		margin-top: -93px;
		border-top: 20px solid #ededed;
	}
	
	.site-main {
		float: left;
		width: 66%;
		max-width: 50em;
		padding: 0 1em 1em 0;
		position: relative;
		margin: 0 auto;
	}
	
	.site-main.no-sidebar {
		float: none;
		width: 90%;
	}
	
	.site-main.full-width {
		width: 100%;
		max-width: 100%;
		padding: 1em 0;
		float: none;
	}
}

@media screen and (min-width: 64em) {
	.site-content {
		margin: 2em auto 1.875em;
	}
	.home .site-content {
		margin-top: -30px;
	}
}

@media screen and (max-width: 782px) and (min-width: 753px) {
	.admin-bar.home .site-content {
		margin-top: -109px;
	}
}

@media screen and (max-width: 752px) and (min-width: 624px) {
	.admin-bar.home .site-content {
		margin-top: -135px;
	}
}
	
@media screen and (max-width: 640px) and (min-width: 600px) {
	.home .site-content {
		margin-top: -60px;
	}
}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.entry-title {
	font-size: 1.5rem;
}

.home .entry-title {
	text-align: center;
	margin-top: 0;
}

.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;
}
#wp-bdesc-wrap {
	border: 1px solid #ededed;
}

.blog article,
.archive article {
	display: -webkit-flex;
	display: flex;
	border: 1px solid #ccc;
	padding: 10px;
	border-radius: 5px;
}

.blog .blog-thumbnail-image,
.archive .blog-thumbnail-image {
	-webkit-flex: initial;
	flex: initial;
	width: 270px;
	min-width: 100px;
	overflow: hidden;
	padding-right: 20px;
	max-width: 40%;
}

.blog .blog-thumbnail-image img,
.archive  .blog-thumbnail-image img {
	max-width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 5px;
}

.blog .blog-content,
.archive .blog-content {
	-webkit-flex: 1;
	flex: 1;
}

.blog .blog-content .entry-title,
.archive .blog-content .entry-title,
.search-results .entry-title {
	margin: 0;
	font-size: 1.2rem;
}

.single .entry-header h1 {
	margin-bottom: 0;
}

.blog .blog-content .entry-title a,
.archive .blog-content .entry-title a {
	text-decoration: none;
}

.entry-meta {
	font-size: .9rem;
	text-decoration: none;
	color: #bbbbbb;
	text-transform: uppercase;
}

.blog .blog-content .entry-meta .cat-links,
.archive .blog-content .entry-meta .cat-links,
.single .cat-links {
	color: #aaaaaa;
}

.blog .posted-on-divider,
.archive  .posted-on-divider {
	display: none;
}

.blog .blog-content .entry-meta .cat-links a,
.archive .blog-content .entry-meta .cat-links a,
.single .cat-links a,
.single .entry-meta a,
.archive .page-title,
.search-results .page-title {
	font-size: .9rem;
	text-decoration: none;
	font-weight: bold;
	color: #aaaaaa;
	text-transform: uppercase;
}

.single .cat-links,
.archive .page-title,
.search-results .page-title {
	display: block;
	border-bottom: 1px solid #ccc;
	padding-bottom: 5px;
}

.blog .blog-content .entry-content,
 .archive .blog-content .entry-content {
	margin-top: 0;
}

.blog .blog-content .entry-content p.more-link-wrapper,
 .archive .blog-content .entry-content p.more-link-wrapper {
	margin-bottom: 10px;
	text-align: right;
}

.more-link-wrapper a.more-link {
	padding: .5em 1em;
/*	background-color: #e64a19; */
	color: #ffffff;
	border-radius: 3px;
	font-family: 'Kameron', serif;
	font-weight: 700;
	font-size: 13px;
	font-size: 0.8125rem;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
}

.featured-single {
	width: 100%;
	height: auto;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
## Chamber Dashboard Customization
--------------------------------------------------------------*/
#businesslist .business, 
#search-results .business {
	border: 1px solid #ccc;
	padding: 0 10px;
	border-radius: 5px;
}

.cdcrm-person-image img {
	border-radius: 50%;
	border: 10px solid #ededed;
}

.cdcrm-person p {
	font-size: .875em;
	text-transform: uppercase;
}

.cdcrm-person p a {
	font-size: 1em;
	text-transform: none;
}

.cdash-social-media ul {
	margin-left: 0;
	padding-left: 0;
}

.site-content .address::before {
	content: "\f041";
	font: normal normal normal 15px/0.9 FontAwesome;
	margin-right: 4px;
	color: #cccccc;
	display: inline-block;
	width: 1.25em;
    text-align: center;
}

.site-content .phone a::before {
	content: "\f095";
	font: normal normal normal 15px/0.9 FontAwesome;
	margin-right: 4px;
	color: #cccccc;
	display: inline-block;
	width: 1.25em;
    text-align: center;
}

.site-content .email a::before {
	content: "\f0e0";
	font: normal normal normal 15px/0.9 FontAwesome;
	margin-right: 4px;
	color: #cccccc;
	display: inline-block;
	width: 1.25em;
    text-align: center;
}

.site-content .website a::before {
	content: "\f0ac";
	font: normal normal normal 15px/0.9 FontAwesome;
	margin-right: 4px;
	color: #cccccc;
	display: inline-block;
	width: 1.25em;
    text-align: center;
}

p.categories,
p.membership,
p.location {
	margin: 0 0 1em 0 !important;
	font-size: .9em;
}

p.categories a {
	display: inline-block;
}

p.address,
p.phone,
p.email,
p.website {
	margin: 0 0 1em 0 !important;
	font-size: .9em;
	overflow-wrap: break-word;
	word-wrap: break-word;
	-ms-word-break: break-all;
	/* This is the dangerous one in WebKit, as it breaks things wherever */
	word-break: break-all;
	/* Instead use this non-standard one: */
	word-break: break-word;
}

p.phone a,
p.email a,
p.website a,
p.categories a {
/*	word-break: keep-all; */
}

.single-business p.categories,
.single-business p.membership {
	font-size: 1em;
}

.location h3 {
	margin-bottom: 0;
}

p.address {
}

.cdcrm-person p.email {
	margin: 1em 0;
	font-size: .9em;
}

.email span.email_type,
.phone span.phone_type {
	font-size: .8em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #aaa;
}

.cdash-featured-business {
}

.cdash-featured-business img,
.widget_cdash_events_list_widget img {
	width: 60%;
	display: block;
	text-align: center;
	margin: 0 auto 10px;
}

.cdash-featured-business img.attachment-thumbnail,
.widget_cdash_events_list_widget img.attachment-thumbnail {
	border-radius: 50%;
	border: 10px solid #ededed;
}

.cdash-featured-business p,
.cdash-featured-business h4 {
	text-align: left;
}

.cdash-featured-business strong {
	display: inline-block;
	text-align: left;
}

.widget_cdash_events_list_widget ul {
	list-style: none;
}

#secondary .entry-date.date,
 #tertiary .entry-date.date {
	font-size: 1em !important;
	font-weight: bold;
}

/* Grid Style Overwrites */

.grid2, .grid3, .grid4 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.grid2 .business,
.grid3 .business,
.grid4 .business,
.grid2 .cdcrm-person,
 .grid3 .cdcrm-person,
 .grid4 .cdcrm-person {
	width: 100% !important;	
	margin: 0 0 20px !important;
}

@media only screen and (min-width : 480px) {
	.grid2 .business,
	.grid3 .business,
	.grid4 .business,
	.grid2 .cdcrm-person,
	 .grid3 .cdcrm-person,
	 .grid4 .cdcrm-person {
		width: 49% !important;	
	}
}

@media screen and (min-width: 640px) {
	.no-sidebar .grid4 .business
	.no-sidebar .grid4 .cdcrm-person {
		width: 32% !important;
	}
}

@media only screen and (min-width : 768px) {
	.full-width .grid3 .business,
	.no-sidebar .grid3 .business,
	.full-width .grid3 .cdcrm-person,
	.no-sidebar .grid3 .cdcrm-person {
		width: 32% !important;	
	}
	.full-width .grid4 .business,
	.no-sidebar .grid4 .business,
	.full-width .grid4 .cdcrm-person,
	.no-sidebar .grid4 .cdcrm-person {
		width: 24% !important;
	}
}

@media only screen and (min-width : 992px) {
	.grid3 .business,
	.grid4 .business,
	.grid3 .cdcrm-person,
	.grid4 .cdcrm-person {
		width: 32% !important;	
	}
	.full-width .grid4 .business,
	.full-width .grid4 .cdcrm-person {	
		width: 24% !important;
	}
}

@media only screen and (min-width : 1024px) {
	.grid4 .business,
	.grid4 .cdcrm-person {
		width: 24% !important;
	}
}

#businesslist.grid2::after, #businesslist.grid3::after, #businesslist.grid4::after, #cdcrm-people.grid2::after, #cdcrm-people.grid3::after, #cdcrm-people.grid4::after, #search-results.grid2::after, #search-results.grid3::after, #search-results.grid4::after {
	content: initial !important;
}

.business-category-listing {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.business-category-listing article {
/*	max-width: 300px; */
	width: 49%;
	margin: 0 0 20px;
}

.business-category-listing  p {
	word-break: keep-all;
}

  @media screen and (max-width: 56.25em) {
	.business-category-listing article {
		width: 100% !important;
	}	
  }

  /*@media screen and (max-width: 48em) {
	.grid4 .business {
		width: 32% !important;
	}
	.grid3 .business {
		width: 49% !important;
	}

}

@media screen and (max-width: 40em) {
	.grid3 .business,
	.grid4 .business {
		width: 49% !important;
	}
	.grid2 .business {
		width: 100% !important;
	}
}

@media screen and (max-width: 25.875em) {
	.grid3 .business,
	.grid2 .business,
	.grid4 .business {
		width: 100% !important;
	}
}  */

/* Logo Carousel Custom Styles */

.featured-logos-block .logo-container {
	margin: 0 auto;
	text-align: center;
}

.featured-logos-block .logo-container img {
	max-height: 100px;
	width: auto;
	text-align: center;
	margin: 0 auto;
	padding: 10px;
	background: white;
	border: 1px solid #ddd;
	border-radius: 5px;
}

h3.featured-logos-headline {
	text-align: center;
	font-family: 'Kameron', serif;
	font-size: 22px;
	text-transform: uppercase;
	margin: 0 0 20px;
}

/*--------------------------------------------------------------
# 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;
}

function inc_sidebars_init() {
	if ( class_exists( 'CustomSidebars' ) ) {
		return false;
	}

	$plugin_dir = dirname( __FILE__ );
	$plugin_dir_rel = dirname( plugin_basename( __FILE__ ) );
	$plugin_url = plugin_dir_url( __FILE__ );

	define( 'CSB_PLUGIN', __FILE__ );
	define( 'CSB_IS_PRO', false );
	define( 'CSB_LANG_DIR', $plugin_dir_rel . '/lang/' );
	define( 'CSB_VIEWS_DIR', $plugin_dir . '/views/' );
	define( 'CSB_INC_DIR', $plugin_dir . '/inc/' );
	define( 'CSB_JS_URL', $plugin_url . 'js/' );
	define( 'CSB_CSS_URL', $plugin_url . 'css/' );
	define( 'CSB_IMG_URL', $plugin_url . 'img/' );

	// Include function library.
	$modules[] = CSB_INC_DIR . 'external/wpmu-lib/core.php';
	$modules[] = CSB_INC_DIR . 'class-custom-sidebars.php';
	
	$modules[] = CSB_INC_DIR . 'external/wdev-frash/module.php';
