/*
Theme Name: Chamber Inspired
Theme URI: https://chamberdashboard.com/downloads/chamber-inspired
Author: Nichole Betterley
Author URI: https://chamberdashboard.com
Description: Chamber Inspired 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 Inspired works with the Chamber Dashboard suite of plugins to support features most used by membership organizations such as welcoming new members, featuring upcoming events, recognizing sponsors, as well as helping you create a robust directory of member listings. Check out the demo at http://chamber-inspired.chamberdashboard.com.
Version: 1.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-inspired

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 Inspired is based on Underscores https://underscores.me/, (C) 2012-2017 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 https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Block Editor Styles
# Forms
# Navigation
	## Links
	## Other Navigation Elements
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Globals
	## Posts and pages
	## Chamber Dashboard Customization
	## 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-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,
optgroup,
textarea {
	color: #404040;
	/*font-family: 'Montserrat', sans-serif;*/
	font-size: 16px;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.7;
	letter-spacing: 1px;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	/*font-family: "Courier 10 Pitch", Courier, monospace;*/
	font-size: 15px;
	font-size: 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 https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #faf3f2;
	position: relative;
	z-index: 0;
	/* Fallback for when there is no custom background color defined. */
}

hr,
hr.wp-block-separator {
	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%;
}

/* Gutenberg */
@media only screen and (min-width: 768px) {
	.alignfull {
/*		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw); */
		margin-left: calc(50% - 50vw + 8px);
		margin-right: calc(50% - 50vw + 9px);
		width: auto;
		max-width: 1000%;
	}

	.alignwide {
		margin-left: calc(25% - 25vw);
		margin-right: calc(25% - 25vw);
		width: auto;
		max-width: 1000%;
	}

	.alignwide img,
	.alignfull img {
		display: block;
		margin: 2em auto;
	}
}

/*--------------------------------------------------------------
# Block Editor Styles
--------------------------------------------------------------*/
.has-theme-color-1-background-color {
	background-color: #000000;
}
.has-theme-color-2-background-color {
	background-color: #b51300;
}
.has-theme-color-3-background-color {
	background-color: #0D3F82;
}
.has-theme-color-4-background-color {
	background-color: #faf3f2;
}
.has-light-gray-background-color {
	background-color: #dddddd;
}
.has-dark-gray-background-color {
	background-color: #666666;
}
.has-white-background-color {
	background-color: #ffffff;
}
.has-black-background-color {
	background-color: #000000;
}
.has-theme-color-1-color {
	color: #000000;
}
.has-theme-color-2-color {
	color: #b51300;
}
.has-theme-color-3-color {
	color: #0D3F82;
}
.has-theme-color-4-color {
	color: #faf3f2;
}
.has-light-gray-color {
	color: #dddddd;
}
.has-dark-gray-color {
	color: #666666;
}
.has-white-color {
	color: #ffffff;
}
.has-black-color {
	color: #000000;
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.button,
a.button,
a.button:link,
a.button:visited,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	border-radius: 3px;
	background: #b51300;
	color: #fff;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: 1em;
	text-transform: uppercase;
	font-weight: 700;
	transition-duration: 0.3s;
    transition-property: border, background, color, opacity;
    transition-timing-function: ease-in-out;
	text-decoration: none;
}

.wp-editor-tabs button,
.wp-editor-container button,
.wp-editor-container input[type="button"] {
	font-weight: normal;
	text-transform: none;
}

.wp-editor-container button:hover,
.wp-editor-container input[type="button"]:hover {
	background-color: transparent;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
/*	opacity: .8; */
	color: #fff;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
}

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;
}

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;
}

.social-navigation input {
	/*font-family: 'Merriweather', serif;*/
	font-size: .75em;
	font-size: 12px;
	font-style: italic;
	letter-spacing: 1px;
	padding: 5px;
}

.social-navigation .search-submit {
	display: none;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #b51300;
	transition-duration: 0.25s;
    transition-property: border, background, color, opacity;
    transition-timing-function: ease-in-out;	
}

a:visited {
	color: #b51300;
}

a:hover, a:focus, a:active {
	color: #0D3F82;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Other Navigation Elements
--------------------------------------------------------------*/

.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%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.edit-link {
	display: none; 
}

.nav-links {
	border-top: 1px solid #dedede;
	margin-top: 30px;
	padding-top: 45px;
}

.nav-previous a:link,
.nav-previous a:visited,
.nav-next a:link,
.nav-next a:visited {
	text-decoration: none;
	color: #aaa;
	font-size: 12px;
	font-size: .75em;
	text-transform: uppercase;
}

.nav-previous a::before {
	content: '\00ab previous post';
	display: block;
	/*font-family: 'Merriweather', serif;*/
	font-style: italic;
	font-weight: 700;
	text-transform: lowercase;
}

.nav-next a::before {
	content: 'next post \00bb';
	display: block;
	/*font-family: 'Merriweather', serif;*/
	font-style: italic;
	font-weight: 700;
	text-transform: lowercase;
}


/* Social Navigation. */
.social-navigation {
	background: #ffffff;
	color: #cccccc;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1;
	position: relative;
}

.social-navigation .fa {
	font-family: 'FontAwesome';
}

.menu-social-media-links-container {
	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;
	align-items: center;
}

@media (min-width: 992px) {
    .menu-social-media-links-container {
        justify-content: flex-end;
    }
}

.social-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.social-links-menu {
	align-self: flex-start;
}

.social-navigation li {
	display: inline-block;
	margin: 0.5em 0;
	text-align: center;
}

.social-links-search label {
	margin-bottom: 0;
}

.social-navigation .secondary-nav li:after {
	content: '|';
	padding: 0 1em;
}

.social-navigation .secondary-nav li:last-child:after {
	content: '';
	padding: 0;
}

.social-navigation a,
.social-navigation a:visited {
	color: #cccccc;
	text-decoration: none;
}

.social-navigation a:hover,
.social-navigation a:focus {
	color: #b51300; /* color set in the customizer as link_color_setting */
}

.hamburger-button {
	top: 160px;
}

/* Secondary Navigation. */
.secondary-nav {
	align-self: flex-end;
	/*font-family: 'Merriweather', serif;*/
	font-style: italic;
	font-weight: 300;
	font-size: 13px;
	font-size: .8125em;
	margin-bottom: 10px;
}

.secondary-nav ul {
	margin: 0 10px 0 0;
	padding: 0;
}

/* 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;
}

.pagination a:link,
.pagination a:visited,
.pagination a:hover,
.pagination .current,
.pagination .disabled {
	color: #ffffff;
	background-color: #b51300;
	font-size: 12px;
	font-size: .75rem;
	text-transform: uppercase;
	font-weight: 600;
	border-radius: 3px;
	cursor: pointer;
	padding: 12px;
	text-decoration: none;
	-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;
}

.pagination a:hover,
.pagination .current {
	color: #fffff;
	opacity: .8;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	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;
	clip-path: none;
	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
--------------------------------------------------------------*/
.home-page-action-block-widget-area,
.home-page-featured-event-section,
 .featured-logos-section {
	padding-top: 60px;
	padding-bottom: 30px;
}


.home-page-action-block-widget-area {
	background-color: #faf3f2; /* set in Customizer */
}

 .service_item_widget {
	display: flex;
	align-items: flex-start;
}

.service_item_widget .fa {
	font-family: 'FontAwesome';
}

.home-page-action-block-widget-area aside {
	padding: 0 15px 0;
}

.home-page-action-block-widget-area {
	padding-bottom: 15px;
}

.home-page-action-block-widget-area .service-icon {
	font-size: 48px;
	padding-right: 30px;
	max-width: 80px;
}

 
.home-page-action-block-widget-area a {
	text-decoration: none;
}

.widget_cdash_events_list_widget .home-page-featured-event-section-widget-title {
	display: none;
}

.home-page-featured-event-section ul.events-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.home-page-featured-event-section ul.events-list li {
	padding: 0 30px 15px;
	width: 33%;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}

/* one event */
.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(1) {
/* -or- li:only-child { */
	width: 760px;
}

/* two events or four */
.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(2),
.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(2) ~ li,
.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(4),
.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(4) ~ li {
	width: 50%;
}

/* three events */
.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(3),
.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(3) ~ li {
    width: 33%;
}

.home-page-featured-event-section ul.events-list li > a {
	display: block;
	height: 225px;
}

.home-page-featured-event-section ul.events-list li > a img {
	height: 225px;
	overflow: hidden;
	object-fit: cover;
	width: 100%;
}

.home-page-featured-event-section .entry-date {
	order: 2;
	font-size: 12px;
	font-size: .75em;
	display: block;
	text-align: center;
	margin-top: 15px;
	font-weight: 600;
}

.home-page-featured-event-section .event-excerpt {
	order: 3;
}

.home-page-featured-event-section .event-link {
	order: 1;
}

.home-page-featured-event-section li.has-post-thumbnail .event-link {
	background-color: transparent;
	position: absolute;
	width: calc(100% - 60px);
}

.home-page-featured-event-section .event-link a,
.home-page-featured-event-section .event-link a:visited {
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 600;
	text-align: center;
	display: block;
	background: rgba(0,0,0,.4);
	padding: 15px;
	margin: 15px;
	border: 1px solid #fff;
	transition-duration: 0.25s;
    transition-property: border, background, color, opacity;
    transition-timing-function: ease-in-out;	
}

.home-page-featured-event-section .event-link a:hover,
.home-page-featured-event-section .event-link a:focus {
	background: rgba(255,255,255,.7);
}

@media screen and (max-width: 768px) {
	.home-page-featured-event-section ul.events-list li,
	.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(1),
	.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(2),
	.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(2) ~ li,
	.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(4),
	.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(4) ~ li,
	.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(3),
	.home-page-featured-event-section ul.events-list li:first-child:nth-last-child(3) ~ li {
		width: 100%;
	}
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
	.home-page-featured-event-section ul.events-list li {
		padding: 0 15px 30px;
	}
	.home-page-featured-event-section li.has-post-thumbnail .event-link {
		width: calc(100% - 30px);
	}
}

.featured-logos-section {
	background-color: #faf3f2; /* set in Customizer */
}

.featured-logos-section .wrap {
	padding: 20px;
}

.widget-area #searchtext {
	width: 100%;
	padding: 5px;
}

 #tertiary {
	position: relative;
	z-index: 1;
	padding: 1.8em 1.4em;
	background: #e64a19; /* background color set as accent_color in Customizer. */
	font-size: .875em;
	color: #000000; /* text color set as text_color in Customizer. */
	/*margin-bottom: 205px;*/
	min-height: 120px;
}

#tertiary table {
	color: #000000; /* text color set as text_color in Customizer. */
}

#tertiary .widget-area {
	margin: 0 0 1em;
	/*padding: 1em;*/
	max-width: 600px;
}


@media screen and (min-width: 40em) {
	 .home-page-action-block-widget-area .wrap {
		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;
	}
	
	.home-page-action-block-widget-area aside {
		width: 30%;
		min-width: 285px;
		margin-bottom: 30px;
	} 
	#secondary {

	}
	
	 #tertiary {
		font-size: 14px;
		font-size: 0.875em;
		/*margin-bottom: 174px;*/
		min-height: 120px;
		padding: 60px 0;
	}
	
	#tertiary .wrap {
		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;
	}
	
	#tertiary .widget-area {
		float: left;
		width: 47%;
		margin: .75em;
		padding: 1em;		
	}
	
	#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%;*/
        width: 29%;
		max-width: 395px;
	} 
}

@media screen and (min-width: 64em) {
	
	 #tertiary .widget-area.widget-columns-4 {
		width: 23%;
		max-width: 300px;
	} 
}
	
.widget-title,
.widgettitle {
	margin-top: .5em;
	margin-bottom: 1em;
	font-size: 14px;
	font-size: 0.875em;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 3px;
}

.widget-area ul,
.widget-area ol {
	margin: 0 0 1.5em 0;
	padding-left: 0;
}

#secondary .widget {
	padding: 0 0 2em;
	margin-bottom: 1em;
	border-radius: 5px;
}

#secondary .widget-title,
#secondary .widgettitle {
	text-align: center;
	border: 1px solid #eee;
	padding: 15px;
	border-radius: 5px;
}
 
#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;
}

#secondary .widget_pages ul,
#secondary .widget_nav_menu ul {
	list-style: none;
}

#secondary li {
	margin-bottom: .5em;
}

#tertiary aside {
	/*margin-bottom: 60px;*/
}

#tertiary .widget-area ul {
	list-style: none;
	margin: 0 0 1.5em 0;
}

#tertiary .widget-area li {
	margin-bottom: .75em;
}

#secondary .events-list li,
#tertiary .events-list li {
	margin-bottom: 45px;
}

#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: #000000;
}

.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
	padding: 5px;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Globals
--------------------------------------------------------------*/
.wrap {
	width: 100%;
	max-width: 1248px; /* width set in the customizer as content_width_setting */
	margin: 0 auto;
}

.site-header {
	position: relative;
	z-index: 2;
}

.site-title {
	font-weight: 600;
	font-size: 18px;
	font-size: 1.125em;
	text-transform: uppercase;
	letter-spacing: 3px;
}

.site-title a {
	text-decoration: none;	
}

.site-branding {
	text-align: center;
	/*margin: 60px auto;*/
}

.site-branding img {
	max-width: 370px;
	width: 100%;
}

.site-banners .wrap {
	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;
	justify-content: space-between;
	flex-wrap: nowrap;
}

.site-banners .wrap.fullwidth {
	max-width: 100%;
}

.site-banners {
	background: linear-gradient(to bottom, #faf3f2 0%,#faf3f2 50%,#000000 50%,white 50%,white 100%); /* W3C */
}

.site-banners .banner-image {
	padding: 0 1%;
	width: 100%;
}

.site-banners .fullwidth .banner-image {
	padding: 0 .5%;
}

.site-banners .banner-image img {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.site-banners .wrap div:first-of-type {
	padding-left: 0;
}

.site-banners .wrap div:last-of-type {
	padding-right: 0;
}

.site-content {
	/*background: #fff;*/	
	padding: 0;
	position: relative;
	border-top: 0;
	z-index: 1;
}

.site-content-wrap {
	/*padding: 60px 10px;*/
    padding: 0px 25px;
	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;
	justify-content: space-between;
	flex-wrap: wrap;
}

#primary,
#secondary {
	width: 100%;
}

#primary.no-sidebar {
	width: 95%;
	margin: 0 auto;
	max-width: 960px;
}

#primary.full-width,
#primary.grid {
	width: 100%;
}

.grid .site-main {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.grid .site-main header,
.grid .site-main .pagination {
	width: 100%;
}

.grid .site-main article {
	width: 100%;
	margin-bottom: 20px;
}

#secondary {
	border-top: 1px solid #eeeeee;
	margin: 30px 0;
	padding-top: 30px;
}

@media screen and (min-width: 45em) {
	.site-content-wrap {
		flex-wrap: nowrap;
	}
	#primary {
		width: 65%;
	}
	#secondary { 
		width: 30%;
		overflow: hidden;
		border-top: 0;
		margin: initial;
		padding-top: 0;
	}
	.grid .site-main article {
		width: 48.5%;
	}
}

@media screen and (min-width: 1024px) {
	.grid .site-main article {
		width: 32%;
	}
}

.site-footer {
	/*position: fixed;*/
	bottom: 0;
	z-index: -2;
	min-height: 162px;
	background-color: #fff;
	text-align: center;
	font-size: 11px;
	font-size: .6875em;
	width: 100%;
	line-height: 2.5;
	text-transform: uppercase;
}

@media screen and (max-width: 640px) {
	#tertiary {
        margin-bottom: 0px;
	}
	.site-footer {
		position: relative;
	}
}

.site-info {
	padding: 60px 10px;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.page-title,
.entry-title {
	font-size: 24px;
	font-size: 1.625em;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 300;
}

.home .page-title {
	text-align: center;
	font-weight: 600;
}

.services-section-headline,
.featured-event-section-headline,
.featured-logos-headline {
	font-size: 20px;
	font-size: 1.25em;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 300;
	text-align: center;
	padding-top: 0;
	padding-bottom: 30px;
	margin-top: 0;
	width: 100%;
}

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.single-post .hentry {
	margin-bottom: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.entry-meta,
.entry-meta a,
.entry-meta a:visited,
.entry-footer,
.entry-footer a,
.entry-footer a:visited {
	text-transform: uppercase;
	font-size: 12px;
	color: #aaa;
	margin-bottom: 15px;
	text-decoration: none;
}

.entry-footer a,
.entry-footer a:visited {
	text-decoration: underline;
}

#wp-bdesc-wrap {
	border: 1px solid #ededed;
}

.blog article,
.archive article {
	border: 1px solid #ccc;
	padding: 30px;
	border-radius: 5px;
	margin-bottom: 60px;
}

.blog .entry-content,
.archive .entry-content {
	margin-top: 0;
}

.blog .entry-meta,
.archive .entry-meta,
.blog .entry-title,
.archive .entry-title {
	margin: 0;
}

.blog .entry-title,
.archive .entry-title {
	font-size: 22px;
	font-weight: 600;
}

.blog .entry-title a,
.archive .entry-title a {
	text-decoration: none;
}

.blog .post-thumbnail img,
.archive .post-thumbnail img {
	width: 100%;
	margin-top: 20px;
}

span.comments-link,
span.cat-links,
span.tags-links {
	display: block;
}

.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;
}

.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,
.archive .page-title,
.search-results .page-title,
#search-results h2 {
	font-size: .9rem;
	text-decoration: none;
	font-weight: bold;
	color: #aaaaaa;
	text-transform: uppercase;
}

.archive .page-title,
.search-results .page-title,
#search-results h2 {
	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,
a.more-link:link,
a.more-link:visited {
	padding: 1em;
/*	background-color: #e64a19; */
	color: #ffffff;
	border-radius: 3px;
	font-weight: 600;
	font-size: 12px;
	font-size: 0.65rem;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
}

.more-link-wrapper a.more-link:hover,
.more-link-wrapper a.more-link:focus,
a.more-link:hover,
a.more-link:focus {
/*	opacity: .8; */
}

.featured-single {
	width: 100%;
	height: auto;
}

/*--------------------------------------------------------------
## Chamber Dashboard Customization
--------------------------------------------------------------*/
#membership_form legend,
#cdashmu_business_update_form legend {
	font-size: 12px;
	font-size: .75em;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 600;
	padding: 10px;
}

fieldset {
	margin: 0 auto 45px;
	border: 1px solid #ccc;
	padding: 0.35em 2em 0.75em;
}

.entry-content #membership_form input[type="text"], 
.entry-content #membership_form input[type="email"],
.entry-content #membership_form input[type="password"],
.entry-content #membership_form select,
.entry-content .cdash_form input[type="text"],
.entry-content #cdashmu_business_update_form select {
	width: 100%;
	padding: 5px;
}

.entry-content #cdashmu_business_update_form fieldset:first-of-type select {
	width: 95%;
}

#cdashmu_business_update_form h6 {
	font-size: 12px;
	font-size: .75em;
	text-transform: uppercase;
}

#buscontact_meta_location_0_phone_0_phonenumber,
#buscontact_meta_location_0_email_0_emailaddress {
	width: 95%;
}

.entry-content #membership_form input[type="submit"]{
	width: 100%;
	text-align: center;
	padding: 15px;
	max-width: 500px;
	margin: 0 auto;
	display: block;
}

#businesslist .business, 
#search-results .business {
	border: 1px solid #ccc;
	padding: 0 10px;
	border-radius: 5px;
	float: left;
	width: 100%;
}

#businesslist .business img, 
#search-results .business img {
	padding-bottom: 15px;
}	

.cdcrm-person-image img {
}

.cdcrm-person h3 {
	margin-bottom: 0;
}

.cdcrm-person p {
	font-size: .875em;
	margin-top: 0;
	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: 30px 0 0;
}

.location h3,
p.membership span,
p.categories span {
	font-size: 12px;
	font-size: .75rem;
	text-transform: uppercase;
	font-weight: 600;
}


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: 100%;
	display: block;
	text-align: center;
	margin: 0 auto 10px;
}

.cdash-featured-business img.size-thumbnail,
.widget_cdash_events_list_widget img.size-thumbnail {
	width: 50%;
}

.cdash-featured-business img.size-medium,
.widget_cdash_events_list_widget img.size-medium {
	width: 80%;
}

.cdash-social-media ul.icons li {
	display: inline;
}

.cdash-social-media ul.icons img {
	width: auto;
	display: inline;
	padding: 5px;
}

.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;
}

#secondary select,
 #tertiary select {
	max-width: 100%;
}

ul.business-categories {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.business-categories li {
	padding-bottom: 1em;
}

/* Grid Style Overwrites */

.grid2, .grid3, .grid4 {
	display: flex;
	justify-content: space-around;
	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;
}

#cdcrm-people.grid3 .cdcrm-person {
	float: none;
	text-align: center;
	margin-bottom: 30px;
}

@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;
	}	
  }

  /* Event Calendar styles */
.fc-toolbar h2 {
	text-transform: uppercase;
}

.fc-unthemed .fc-content, .fc-unthemed .fc-divider, .fc-unthemed .fc-list-heading td, .fc-unthemed .fc-list-view, .fc-unthemed .fc-popover, .fc-unthemed .fc-row, .fc-unthemed tbody, .fc-unthemed td, .fc-unthemed th, .fc-unthemed thead,
.location strong,
.tickets-label,
.tickets-url-label strong,
.event-categories strong,
.tag-links strong,
#cdashmu_user_registration_form .explain {
	font-size: 12px;
	font-size: .75rem;
	text-transform: uppercase;
	font-weight: 600;
}

.fc .fc-button {
	font-size: 12px;
	font-size: .75rem;
	font-weight: 300;
}

.fc-day-grid-event .fc-content {
}

#tertiary .widget-area .nav-days td.active > a,
.widget-area .nav-days td.active > a   {
	font-weight: 600;
} 

.cdash-events-ical,
.cdash-events-url {
	margin-top: 30px;
}

.event-template-default .entry-date {
	font-weight: 600;
	text-transform: uppercase;
}

/* CD form styles */

#loginform,
#cdashmu_user_registration_form,
#cdashmu_business_update_form {
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 30px;
}

#loginform .login-username label,
#loginform .login-password label {
	font-size: 12px;
	font-size: .75rem;
	font-weight: 600;
	text-transform: uppercase;
	display: inline-block;
	width: 23%;
}

#loginform .login-username input,
#loginform .login-password input {
	width: 75%;	
}

@media screen and (max-width: 440px) {
	#loginform .login-username label,
	#loginform .login-password label,
	#loginform .login-username input,
	#loginform .login-password input {
		width: 100%;
	}
}

#loginform input[type="submit"],
#cdashmu_user_registration_form input[type="submit"],
#business-search-form input[type="submit"],
#cdashmu_business_update_form fieldset button,
#cdashmu_business_update_form input[type="submit"] {
	width: 100%;
	text-align: center;
	padding: 15px;
	max-width: 500px;
	margin: 0 auto;
	display: block;
}

#business-search-form select {
	padding: 5px;
	max-width: 500px;
	width: 100%;
}

#business-search-form input {
	max-width: 500px;
	width: 100%;
}

#cdashmu_business_update_form fieldset button,
#cdashmu_business_update_form input[type="submit"] {
	margin-bottom: 30px;
}

#cdashmu_business_update_form .social_media_div div {
	padding-bottom: 30px;
}


/*--------------------------------------------------------------
## 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,
.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%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## 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;
}
