/* HELPERS */
@media (min-width: 768px) {
	.bw-show-mobile {
		display: none !important;
	}
}
@media(max-width: 768px) {
	.bw-hide-mobile {
		display: none !important;
	}
}
.bw-hidden {
	display: none !important;
}
.bw-flex {
	display: flex !important;
}
.bw-malign-left {
	margin-right: auto !important;
}
.bw-malign-right {
	margin-left: auto !important;
}
.bw-malign-center {
	margin: 0 auto !important;
}
button {
	cursor: pointer;
}


/*Mid Content*/
/**************************************************************************/
#bw-app {
	position: relative;
}

.bw-midcontent {
	min-height: 100vh;
	display: flex;
	flex-direction:row;
	position: relative;
}

/*Sidebars*/
.bw-sidebar-nav-inner > nav {
	margin: 30px 0;
}

.bw-sidebar-nav {
	width: 320px;
	flex-shrink: 0;
}
.bw-sidebar-nav .bw-grid {
	height: 100%;
}

.bw-sidebar-profile {
	width: 275px;
	flex-shrink: 1;
}

.bw-sidebar-profile-inner {
	margin:0px 10%;
	text-align: center;
	padding-top: 30px;
	padding-bottom:20px;
}

#bw-user-profile {
	padding: 20px 15px;
	display: flex;
	flex-wrap: wrap;
}
.bw-user-profile-basic {
	flex: 1;
	flex-basis: 275px;
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: center;
}
.bw-user-profile-details {
	flex: 3;
	flex-basis: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.bw-user-profile-pic {
	max-width:130px;
	max-height: 130px;
	margin-bottom: 10px;
}

.bw-user-profile-about-rule {
	width: 100%;
}
.bw-user-profile-pic-img {
	width: 100%;
	border-radius: 25px;
}
.bw-user-profile-pic .bw-user-profile-pic-default {
	font-size: 110px;
}
.bw-user-profile-username {
	margin-bottom: 7px;
}

/*Contributor Actions*/
.bw-contributor-actions {
	display: flex;
	flex-wrap: wrap;
	margin-top: auto;
}

.bw-contributor-actions > * {
	margin: 0 0.2rem;
}

.bw-mt10 {
	margin-top: 10px;
}

a.bw-sidebar-link, a.bw-sidebar-link:link,
a.bw-sidebar-link:visited, a.bw-sidebar-link:active,
a.bw-sidebar-link:hover {
	text-decoration: none;
}

.bw-sidebar-nav-inner > nav.nav > a.bw-sidebar-link, .bw-sidebar-nav-inner > nav.nav > div.bw-dropdown-menu > a.bw-link {
	display: block;
	padding: .5em 1rem;
}

/*Main Content*/
.bw-maincontent {
	flex:1 3 100%;
	position: relative;
}

.bw-content {
	padding: 20px 15px;
}

.bw-maincontent-top {
	display:flex;
	flex-flow:row wrap;
	justify-content: space-between;
}

.bw-pagination {
	margin-bottom: 20px;
}

a.bw-btn-homepage-edit {
	position:absolute;
	right:3px;
	top:3px;
	padding: 2px;
	color: black;
	border-radius: 1px;
	background-color: rgba(255,255,255,.7);
	z-index: 999;
}

a.bw-btn-homepage-edit:hover {
	text-decoration: none;
}

.bw-alert {
	margin: 0 auto;
	left: 10px;
	right: 10px;
	top: 10px;
	position: absolute;
	z-index: 999999999;
	max-width: 1200px;
}

/* Copyright */
#bw-copyright {
	background-color: #000;
	width: 100%;
	display: flex;
	justify-content: center;
}
#bw-copyright > a {
	font-size: 85%;
	color: #fff;
}

/*Ads*/
/**************************************************************************/
.bw-sidebar-ad, .bw-sidebar_2-ad, .bw-sidebar_3-ad {
       margin-bottom: 10px;
}

.bw-slide_end-ad {
       margin-top: 20px;
}

/*Article Boxes*/
/**************************************************************************/
.bw-article-box {
	display:flex;
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
}

/*Article Thumbnail*/
div.bw-article-thumbnail {
    width: 200px;
}

img.bw-article-thumbnail {
	max-width: 100%;
}

.bw-article-slide-image-wrapper {
	position: relative;
}

.bw-article-image-wrapper .bw-slideshow-btn  {
	bottom: 10px;
	left: 10px;
	display:flex;
	position: absolute;
}
.bw-featured-article-section {
	position: absolute;
	right: 0;
	padding: 0 7px 3px 7px;
}

.bw-slideshow-btn {
	display:flex;
	background-color: #222222;
	opacity: .9;
	border-radius: 2px;
	cursor:pointer;
	width: 111px;
	color: #fff;
}
.bw-article-thumbnail-slide  {
	position: relative;
}
.bw-article-thumbnail-slide .bw-slideshow-btn  {
	position: absolute;
	bottom: 7px;
	left: 7px;
}

.bw-slideshow-btn:hover {
	opacity: 1;
	background-color: #131313;
	color: #fff;
	text-decoration: none;
}


.bw-slideshow-btn span {
	font-weight: bold;
	color: #FFFFFF;
	margin: 0 5px;
}

.bw-slideshow-btn img {
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;
	width: 25px;
	height: 25px;
}

.bw-article-image {
	max-width: 100%;
	height: auto;
	align-self: flex-start;
}

.bw-article-image-row {
	display: flex;
	justify-content: center;
}
.bw-article-image-wrapper {
	position: relative;
}


/*Article Text Content*/
.bw-article-box-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}
.bw-article-box-content > * {
	padding-left: 20px;
}
.bw-article-box > *:first-child:not(.bw-article-thumbnail) > * {
	padding-left: 0;
}

.bw-article-box-top {
	display:flex;
	justify-content:space-between;
}

.bw-article-box-top small {
	font-size: 1rem;
}

.bw-article-box-description {
	margin-bottom: 10px;
}

.bw-article-box-created_at {
	color: #636c72;
}

.bw-article-sponsor-wrapper {
	padding-left: 5px;
	padding-bottom: 2px;
}

.bw-article-sponsor-label {
	font-weight: bold;
	font-size: 15px;
}

/* Articles Tags */
.bw-tags {
	display: flex;
	flex-wrap: wrap;
	/* margin: 0 -2.50rem; */
	margin: 0 -0.25rem;
}

.bw-tags > .bw-tag {
	margin: 0 0.25rem;
	padding: 0 .3rem;
}

.bw-tags-label {
	margin: 0 0.25rem;
}

.bw-article-wrapper .bw-tags {
	margin-bottom: -0.5rem;
}

/* Articles Sections */
.bw-sections {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -0.25rem;
	margin-top: 0.5rem;
}

.bw-sections > .bw-section {
	margin: 0 0.25rem;
	padding: 0 .3rem;
}

.bw-sections-label {
	margin: 0 0.25rem;
}

/* Related Articles */
.bw-related-articles-wrapper {
	margin: 1rem 0;
}

.bw-related-articles {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -0.5rem -0.5rem;
	align-items: flex-start;
	justify-content: space-between;
}

.bw-related-article-img {
	max-width: 100%;
}

.bw-related-article {
	max-width: 300px;
	min-width: 225px;
	flex: 1;
	margin: 0.5rem;
	position: relative;
	font-weight: bold;
}

.bw-related-article-headline {
	font-size: 0.9rem;
	font-weight: bold;
}

.bw-related-article .bw-slideshow-btn {
	top: 5px;
	left: 5px;
	position: absolute;
}

.bw-related-article > .bw-related-article-img-wrapper + .bw-related-article-headline {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.6);
	padding: .25rem;
}

/*Contributor Actions*/
.contributor-actions {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -0.2rem 0.6rem -0.2rem;
}

.contributor-actions > * {
	margin: 0 0.2rem;
}

/*Slideshow Index Boxes*/
/**************************************************************************/
.bw-slideshows {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: -0.5rem;
}

.bw-slideshow-box {
    display: flex;
    flex-flow: column wrap;
    width: 225px;
    margin: .5rem;
    background-color: #F9F9F9;
    border-radius: .2rem;
    overflow: hidden;
    border: 1px solid #929292;;
}

.bw-slideshow-box .bw-slideshow-img {
	max-width: 100%;
	border-bottom: 1px solid #929292;
}

.bw-slideshow-box .bw-slideshow-details {
	padding: 0.1rem 0.65rem 0.65rem 0.65rem;
}

.bw-slideshow-box .bw-slideshow-dateline {
	margin-bottom: .25rem;
}

.bw-slideshow-box .bw-slideshow-date {
	color: #636c72;
	font-size: .9rem;
}

/*Slideshow edit*/
img.bw-slide-img-preview {
    max-width: 80px;
    max-height: 70px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

img.bw-slide-img-preview:hover {
    transform: scale(2.5);
}

/*Slideshow Display*/
/**************************************************************************/
.bw-slideshow-outer-box {
	width:100%;
	display:flex;
	justify-content:center;
}

.bw-slideshow-inner-box {
	display:flex;
	justify-content:center;
	flex-grow: 0;
	align-items:center;
	align-content: center;
	position:relative;
}

/*Slideshow Arrows*/
.bw-arrow {
	background-color: #777;
	position: absolute;
	height:30px;
	margin:auto 0px;
	font-size: 20px;
	top: 0px; bottom: 0px;
	text-align: center;
	width: 35px;
	border-radius: 3px;
}

.bw-arrow-active, .bw-arrow-active:link, .bw-arrow-active:active, .bw-arrow-active:visited, .bw-arrow-active:hover {
	color: #fff;
}

.bw-arrow-active {
	transition: opacity 0.25s;
	background-color: #222;
}

.bw-arrow-active:hover {
	opacity: 0.9;
	cursor: pointer;
}

.bw-arrow-disabled {
	background-color: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.2);
}

.bw-arrow-left {
	left:0px;
}

.bw-arrow-right {
	right:0px;
}

.bw-slideshow-caption {
	margin:10px auto;
	text-align:center;
}


/*Animated Slide Show*/
.bw-ani-slideshow-slidediv {
	display:flex;
	justify-content:center;
	height:100%;
	align-items:center;
}

.bw-ani-slideshow-caption {
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-color: rgba(0,0,0, 0.6);
	color: #fff;
	margin:0px auto;
	padding: 0 3px;
	text-align: center;
}

/*Web Forms*/
/**************************************************************************/
.bw-webform {
	margin: 0 0 20px 20px;
}

.bw-webform-fields, .bw-leavelist-fields {
	margin-bottom: 15px;
}

.bw-webform-field, .bw-leavelist-field {
	margin: 7px 0;
}

.bw-webform-field-fieldtitle, .bw-leavelist-field-fieldtitle {
	font-weight: bold;
	margin-bottom: 5px;
}

.bw-webform-field-description {
	font-style: italic;
	font-size: .8rem;
	margin-top: 5px;
	white-space: pre-wrap;
}

.bw-webform-control, .bw-leavelist-control {
	margin-top: .5rem;
}

/* Honeypot: Bad Fields */
.bw-webform-field.articulate, .bw-webform-field.mess, .bw-webform-field.wrist, .bw-webform-field.relief,
.bw-webform-field.cute, .bw-webform-field.swarm, .bw-webform-field.margin, .bw-webform-field.halt, .bw-webform-field.relation,
.bw-webform-field.estimate, .bw-webform-field.reason, .bw-webform-field.murder, .bw-webform-field.spend,
.bw-webform-field.brave, .bw-webform-field.wood, .bw-webform-field.swop, .bw-webform-field.heel, .bw-webform-field.touch,
.bw-webform-field.banana, .bw-webform-field.investment, .bw-webform-field.memory, .bw-webform-field.archive {
	display: none;
}


/*Users*/
/**************************************************************************/

/*User Pics*/
#bw-img_div div {
    max-width:150px;
    position:relative;
    display: inline-block;
    margin: 5px;
    font-size: 18px;
    line-height: 60%;
}

#bw-img_div img {
    width:100%;
}

#bw-img_div a {
    top: 0px;
    right: 3px;
    position: absolute;
    color: red;
}

/*User Article Section*/
#bw-section_container {
    padding-bottom:5px;
}

.bw-section_div {
    padding-left: 10px;
    display:inline-block;
}

.bw-section_div a, .bw-section_div a:hover {
    color:red;
    margin-left: 5px;
}

/*User Slideshow Creation*/
#bw-slides-tip {
	font-style:italic;
	display:none;
}

#bw-slides_div {
	border:1px solid #dfdfdf;
	margin-bottom:10px;
	display:none;
}

#bw-slides_div div {
    max-width:150px;
    position:relative;
    display: inline-block;
    margin: 5px;
    font-size: 18px;
    line-height: 60%;
}

#bw-slides_div img {
    width:100%;
}

#bw-slides_div a.close {
    top: 0px;
    right: 3px;
    position: absolute;
    color: red;
}

#bw-slides_div a.edit {
    top: 6px;
    font-size: 14px;
    right: 20px;
    position: absolute;
    color: #565656;
    text-shadow: 0 1px 0 #fff;
    cursor: pointer;
}

#load_div {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    justify-content:center;
    align-items:center;
    background-color: rgba(255, 255, 255, 0.4);
}
#load_div div {
    text-align:center;
    color:#292b2c;
}

.disabled_form {
    pointer-events: none;
    position: relative;
}

.bw-table-options-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: -2px 0;
}
.bw-btn-option-sm {
    width: 32px;
    margin: 2px;
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
}
.bw-table-options-group .bw-btn-option-sm:link, .bw-table-options-group .bw-btn-option-sm:hover,
.bw-table-options-group .bw-btn-option-sm:active, .bw-table-options-group .bw-btn-option-sm:visited {
    color: white;
}
.bw-form-actions {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    margin: 0 -0.35rem 0.5rem -0.35rem;
}

.bw-form-actions > * {
    margin: 0 .35rem;
}

.bw-slide-opts {
	width:32px;
	display:inline-block;
	float:right;
	margin:0 2px;
}

div.add-slides-parent {
    margin-bottom:10px;
    display:flex;
    flex-wrap:wrap-reverse;
}

div.add-slides {
    position: relative;
    overflow: hidden;
    margin: 0 5px;
}

input.add-slides {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

/*User Nav Tabs*/
.bw-tabs .bw-tab {
	border-bottom: 1px solid rgba(0,0,0,.1);
}

.bw-tabs .bw-tab.active {
	border: 1px solid rgba(0,0,0,.1);
	border-top-right-radius: .25rem;
	border-top-left-radius: .25rem;
	border-bottom: 0;
}

.bw-tabs {
	margin-bottom: 10px;
}

/*User Change Pwd*/
#bw-users-changepwd {
	padding:0 20px 5px 20px;
	display:none;
}

/*Article Status Box*/
.bw-users-article-status {
	font-weight: bold;
}

.bw-status-active {
	color: green;
}

.bw-status-scheduled {
	color: green;
}

.bw-status-pending {
	color: #DBBF00;
}

.bw-status-draft {
	color: #DBBF00;
}

/*Submit Article Link*/
#bw-new-hid {
	display:none;
}

/*Content Box*/
/**************************************************************************/
.bw-content-box {
	border:1px solid #dfdfdf;
	border-radius:5px;
	width:90%;
	margin:0px auto;
	background-color: white;
}

.bw-content-box-header {
	background-color:#f7f7f9;
	border-bottom:1px solid #dfdfdf;
	padding:10px 25px;
}

.bw-content-box-inner {
	padding:20px 30px;
}

/*Other*/
/**************************************************************************/
.bw-w40 {
	width: 40px;
}

.bw-spacer {
	height: .5rem;
}

.bw-btn-link {
    background:none;
    border:none;
    padding:0;
    font-family:Roboto,sans-serif;
    color:#0275d8;
}

.bw-btn-link:hover {
    text-decoration: underline;
}

/*Helper Classes*/
/**************************************************************************/
div.bw-img-flex img, div.bw-img-flex video {
	max-width: 100%;
	height: auto;
}

.bw-flex-1 {
	flex: 1;
}

img.bw-img-flex {
	max-width: 100%;
	height: auto;
}

.bw-ul_links a {
	text-decoration: underline;
}

@media(max-width: 768px){

	.bw-midcontent {
		flex-wrap: wrap;
	}

	.bw-sidebar {
		width: 100%;
	}

	#bw-new-sho {
		display:none;
	}

	#bw-new-hid {
		display:block;
	}

	.bw-article-box {
		flex-flow: column wrap;
		margin-bottom: 20px;
		padding: 0;
	}

	.bw-article-box-content > * {
		padding-left: 0;
	}

	div.bw-article-thumbnail {
		width: 100%;
	}

	.bw-pagination {
		margin: 0 auto;
	}
}

@media(max-width: 520px){

	.bw-slideshow-box {
		margin: 10px auto;
	}
}

iframe {
	border: none;
}

/*Account*/
/**************************************************************************/
/*Form Elements*/
.form-row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.form-label {
	margin-right: 10px;
	flex: 1;
}
.form-input {
	flex: 5;
}

.main-content {
	min-height: 100vh;
	padding-top: 50px;
	display: flex;
}

.acct-header-container {
	flex-direction: row;
	flex-wrap: wrap;
	flex-flow: row wrap;
	justify-content: space-between;
}

.flex-main {
	flex:1;
	margin: 0px 7%;
	overflow-x: hidden;
}

.content-box {
	background-color: #ffffff;
	border:1px solid #dfdfdf;
	width:80%;
	margin-bottom: 2rem;
}

.content-box-inner {
	padding: .75rem 1.25rem;
}

.content-box-header {
	border-bottom: 1px solid #dfdfdf;
	display: flex;
	justify-content: space-between;
}

.account-box {
	background-color: #ffffff;
	border:1px solid #dfdfdf;
}

.account-box-outer {
	margin: 0 auto 2rem auto;
	width:80%;
	display:flex;
	flex-wrap: wrap;
	justify-content:space-between;
}

.account-box-registry {
	width: 49%;
	min-width: 195px;
	margin-bottom: 10px;
	padding: .75rem 1.25rem;
}

.account-box-registry .table {
	margin-bottom: 1px;
}

.account-box-wrapper {
	max-height: 650px;
	overflow: auto;
}

@media(max-width: 750px){
	.account-box-registry {
		width: 100%;
	}
}

/*Leavelist*/
.bw-leavelist {
	padding: 0 1.5rem;
}

textarea.bw-leavelist-control {
	display: none;
}

.bw-leavelist-field input[value="Other"]:checked ~ textarea.bw-leavelist-control {
	display: block;
}

/*Frequent Photos*/
div.frequent-photo-div {
    margin:5px;
}

img.frequent-photo {
    border-radius:2px;
    max-height:90px;
    width:auto;
    cursor: pointer;
}

/*Simple Store*/
.bw-ss-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 2rem;
}

.bw-ss-product {
    display: flex;
    flex-flow: column wrap;
    width: 225px;
    padding: 20px 10px;
    margin: 10px;
    border: 1px solid #929292;
    background-color: #F9F9F9
}

.bw-ss-product-img {
	margin-bottom: .5rem;
}

.bw-ss-product-title {
	margin-bottom: .5rem;
}

.bw-ss-product-price-row {
	margin-bottom: 0.25rem;
}
.bw-ss-cart-row {
	display: flex;
	padding: 1rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}
.bw-ss-cart-row.bw-ss-subtotal-row {
	flex-wrap: wrap-reverse;
}
.bw-ss-cart-row + .bw-ss-cart-row {
	border-top: 1px solid #dfdfdf;
}
.bw-ss-cart-thumbnail {
	width: 125px;
	margin-right: 1rem;
}
.bw-ss-cart-row .bw-ss-cart-details {
	flex: 1;
}
.bw-ss-cart-thumbnail img {
	max-width: 100%;
	max-height: 125px;
	height: auto;
}
.bw-ss-cart-action {
	font-size: small;
}
.bw-ss-cart-link {
	padding-right: 13px;
	position: relative;
}
.bw-ss-cart-number {
	position: absolute;
	top: 0;
	right: 0;
	background-color: #2480E9;
	color: white;
	font-size: 10px;
	height: 16px;
	width: 16px;
	display: flex;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	font-weight: bold;
}

/*Calendar Event*/
.bw-event-wrapper {
	margin-bottom: 1.25rem;
}

.bw-event-description {
	margin-bottom: 10px;
}

.bw-event-row {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.bw-event-row > .bw-event-field {
	flex-basis: 170px;
	flex-shrink: 0;
}

.bw-event-row > .bw-event-value {
	flex: 1;
	margin-left: 1rem;
	flex-basis: 400px;
}

#bw-event-date {
	color: #636c72;
}

.bw-event-table {
	border: 1px solid #ddd;
	background-color: white;
}

.bw-event-table-header {
	background: #eee;
}

.bw-event-list-row > td + td {
	font-size:  small;
}

.bw-event-list-row:hover td {
	background-color: #f5f5f5;
}

.fc-view-container {
	background-color: white;
}

/*SEO Super Page*/
.bw-seo-box {
	display:flex;
	margin-bottom:1.25rem;
}

div.bw-seo-thumbnail {
    width: 100px;
	height: 60px;
}

img.bw-seo-thumbnail {
	max-width: 100%;
	max-height: 100%;
}

.bw-seo-image-wrapper {
	display: flex;
	justify-content: center;
}

.bw-seo-box-content {
	padding-left: 20px;
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}

.bw-seo-box > *:first-child:not(.bw-seo-thumbnail) {
	padding-left: 0;
}

.bw-seo-box-top {
	display:flex;
	justify-content:space-between;
}

.bw-seo-box-top small {
	font-size: 1rem;
}

.bw-seo-box-description {
	margin-bottom: 2px;
}

.bw-seo-box-created_at {
	color: #636c72;
}

@media(max-width: 575.98px) {
	.bw-seo-box {
		flex-flow: column wrap;
		margin-bottom: 20px;
		padding: 0;
	}

	.bw-seo-box-content {
		padding: 0;
	}

	div.bw-seo-thumbnail {
		width: 100%;
	}
}

/* Google Maps Article */
.google-maps-outer {
    max-width: 600px;
	margin: 1rem auto;
}
.bw-event-value .google-maps-outer {
	margin: 1rem 0;
}
.bw-businessdir-listing .google-maps-outer {
	flex: 1;
}
.google-maps-inner {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
}
.google-maps-marker-directions-row {
	display: flex;
	width: 100%;
	justify-content: space-between;
}
.google-maps-marker-directions {
	margin-right: .5rem;
}
#google-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}
@media(max-width: 500px) {
    .google-maps-inner {
        padding-bottom: 80%;
    }
}


.bw-comments-wrapper {
	margin-bottom: 2rem;
}
.bw-comments-guest-wrapper {
	display: flex;
	justify-content: center;
	padding: 2rem;
	border: 1px dashed #dfdfdf;
	font-size: 1.1rem;
}
.bw-comments-textarea {
	border-radius: 0;
	font-size: .9rem;
}
.bw-comments-textarea:focus {
	border-color: #dfdfdf;
}
.bw-comments-create-toolbar {
	width: 100%;
	border: 1px solid #dfdfdf;
	border-top:0;
	padding: 0.25rem 0.5rem;
	background-color: #f9fafb;
	display: flex;
	justify-content: space-between;
}
.bw-comments-create {
	border: 0;
	background-color: transparent;
	cursor: pointer;
}
.bw-comments-create-wrapper {
	position: relative;
	display: flex;
}
.bw-comments-create-div {
	flex: 1;
}
.bw-comments-create-pic {
	padding-right: .75rem;
}
.bw-comments-overlay {
    display:flex;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    justify-content:center;
    align-items:center;
    background-color: rgba(255, 255, 255, 0.4);
    flex-direction: column;
    z-index: 9999;
    background-color: rgba(0,0,0,.05);
}
.bw-comments-overlay.bw-hide {
    display: none;
}
.bw-comments-overlay > .fa {
    font-size: 40px;
    color: #818486;
}
.bw-comment {
	display: flex;
	align-items: flex-start;
	margin-bottom: 0.5rem;
}
.fa.bw-comment-nopic {
	font-size: 50px;
}
.bw-comment-pic {
	padding: 0.5rem;
}
.bw-comment-content {
	padding: 0.5rem;
	flex:1;
}
.bw-comment-byline {
	color: #636c72;
}
.bw-comment-thumb {
	max-height: 50px;
	max-width: 50px;
	height: auto;
	width: auto;
}
.bw-comment-byline {
	display: flex;
	flex-wrap: wrap;
}
.bw-comment-delete {
	margin-left: auto;
	display: none;
}
.bw-comment-by {
	margin: 0 .25rem;
}
#bw-comments {
	margin-bottom: 1rem;
}
#bw-comments:not(.bw-comments-overflow) .bw-comment:last-child .bw-comment-delete, #bw-comments.bw-admin .bw-comment-delete {
	display: inline;
}
.bw-comments-more {
	margin-left: 50px;
	padding-left: 1.5rem;
}

.bw-maincontent-title.bw-editable:hover, .bw-maincontent-title.bw-editable:focus {
	border: 2px solid #88ED9B;
	padding-top: 10px;
	padding-left: .5rem;
}

/* Grid Layout CSS */
.bw-grid * {
    box-sizing: border-box;
}
.bw-grid .bw-grid-row {
    display: flex;
    position: relative;
}

.bw-grid .bw-grid-col-wrapper {
    position: relative;
    display: flex;
}
.bw-grid .bw-grid-col {
	display: flex;
	flex-direction: column;
    word-wrap: break-word;
    width: 100%;
}
.bw-grid .bw-grid-col * {
    word-wrap: break-word;
}
.bw-grid .bw-grid-col img, .bw-grid .bw-grid-col video, .bw-grid .bw-grid-col table {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}
#tgt_grid_tool .tgt-col #calendar table,
.bw-grid .bw-grid-col #calendar table {
	width: 100%;
}
.bw-grid .bw-grid-col figure {
	margin: 0;
}
.bw-grid .tgt-element-heading {
	white-space: pre-wrap;
}
.bw-grid .bw-grid-row-wrapper {
	width: 100%;
}
.bw-grid .bw-grid-element-wrapper {
    position: relative;
    max-width: 100%;
}
.bw-grid .bw-grid-element a {
    text-decoration: none;
}
.bw-grid .bw-grid-element {
    width: 100%;
    min-height: 20px;
    display: flex;
    flex-direction: column;
}
.bw-grid .bw-grid-element > * {
	max-width: 100%;
}
.bw-grid .tgt-element-slideshow, .bw-grid .tgt-element-divider {
	width: 100%;
}
.bw-grid .tgt-element-slideshow-wrapper { /* width set */
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
}
.bw-grid .tgt-element-slideshow-frame { /* padding set */
	position: relative;
	display: block;
	width: 100%;
}
.bw-grid .tgt-element-slideshow-base { /* container on top of frame */
	position: absolute;
	top:0;right:0;bottom:0;left:0;
}
.bw-grid .tgt-element-slideshow-wrapper img { /* image center */
	margin: 0 auto;
}
.bw-grid .bw_slideshow-slide-wrapper {
	display: flex;
	align-items: center;
}
.bw-grid .tgt-element-slideshow-wrapper .tgt-element-slideshow,
.bw-grid .tgt-element-slideshow-wrapper .slick-list,
.bw-grid .tgt-element-slideshow-wrapper .slick-track {
    height: 100%;
}
.bw-grid .slick-initialized .slick-slide {
    display: flex;
    align-items: center;
}
.bw-grid .tgt-element-button, .bw-grid .tgt-element-button:link,
.bw-grid .tgt-element-button:hover, .bw-grid .tgt-element-button:active,
.bw-grid .tgt-element-button:visited {
    box-shadow: none;
    display: inline-block;
    text-align: center;
}
.bw-grid .tgt-element-embed-wrapper {
    width: 100%;
}
.bw-grid .tgt-element-embed.tgt-absolute {
    position: relative;
    overflow: hidden;
    height: 0;
}
.bw-grid .tgt-element-embed.tgt-absolute > * {
    left:0; top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.bw-grid .tgt-element-ce_menu {
	display: flex
}
.bw-grid .tgt-element-ce_joinlist input[type="submit"] {
	cursor: pointer;
	display: block;
}
.bw-grid .tgt-element-ce_featuredfeed .bw-featured-article-image,
.bw-grid .tgt-element-ce_sectionfeed .bw-featured-article-image {
	margin-bottom: 5px;
}
.bw-grid .tgt-element-ce_featuredfeed .bw-featuredfeed-article,
.bw-grid .tgt-element-ce_sectionfeed .bw-sectionfeed-article {
	display: flex;
}
.bw-grid .tgt-element-ce_featuredfeed .bw-featuredfeed-article-image,
.bw-grid .tgt-element-ce_sectionfeed .bw-sectionfeed-article-image {
	width:65px;
	max-height:65px;
	margin-right:10px;
}
.bw-grid .tgt-element-ce_featuredfeed .bw-featuredfeed-article-description,
.bw-grid .tgt-element-ce_sectionfeed .bw-sectionfeed-article-description {
	flex:1;
}


@media(max-width: 600px) {
    .bw-grid .bw-grid-row {
        display: block;
    }
    .bw-grid .bw-grid-col-wrapper {
        display: block;
        width: 100% !important;
    }
}

.bw-social-links {
  	display: flex;
  	align-items: flex-end;
	margin-bottom: 0.75rem;
}
.bw-social-links > * {
	margin-right: .25rem;
	margin-bottom: 0.25rem;
}

/* Ads */
.bw-special-image-wrapper {
	width: 100%;
	margin: 0 auto;
	text-align: center
}
.bw-special-image {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	width: auto;
}
.bw-special-image-feed {
	margin: 0 auto 20px auto;
	width: 100%;
}
.bw-special-image-article_embed {
	margin-top: 10px;
	margin-bottom: 10px;
}
.bw-article-end-special-image {
	margin: 0 auto;
}

/* SS Product */
.bw-ss-checkout-form {
	max-width: 450px;
	padding: 1rem;
}
.bw-ss-checkout-form .bw-ss-input-row {
	margin-bottom: 1rem;
}
.bw-ss-input-row {
    display: flex;
}
.bw-ss-input-row .bw-ss-input-row-label {
	flex-basis: 100px;
    margin-right: 10px;
}
.bw-ss-input-row .bw-ss-input-row-input {
	flex: 1;
}
.bw-ss-input-group {
    display: flex;
    flex: 1;
}
.bw-ss-input-group :first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.bw-ss-input-group :last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Adbuilder */
.bw-overflow-auto {
    overflow: auto;
}
.bw-adbuilder-header {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    align-items: flex-start;
    margin: 0 -0.25rem;
    margin-bottom: .5rem;
}
.bw-adbuilder-header .bw-maincontent-title {
    padding: 0;
}
.bw-adbuilder-header > * {
    margin: 0 0.25rem;
}
.bw-adbuilder-empty {
    font-size: 150%;
    min-height: 200px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: #D2D2D2;
}

/* Ad Builder Login Pop-up */
.bw-blur {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
}
.bw-adbuilder-overlay-wrapper {
    position: fixed;
    top:0;bottom:0;right:0;left:0;
    display:flex;
    filter: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
}
.bw-adbuilder-overlay {
    width: 90%;
    max-width: 350px;
    padding: 1rem 1rem 2rem 1rem;
    border-radius: 1rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #dfdfdf;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 2px 10px;
    text-align:center;
}
.bw-adbuilder-overlay > * {
    width: 100%;
    max-width: 255px;
}

/* Ad Builder Table */
.table-options-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: -2px 0;
}
.btn-option-sm {
    width: 32px;
    margin: 2px;
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
}
.table-options-group .btn-option-sm:link, .table-options-group .btn-option-sm:hover,
.table-options-group .btn-option-sm:active, .table-options-group .btn-option-sm:visited {
    color: white;
}

/* Ad Builder Purchase Nav */
#bw-adbuilder-purchase-nav {
    display: flex;
    padding-bottom: .5rem;
    border-bottom: 1px solid #A8A8A8;
    flex-wrap: wrap;
    justify-content: space-between;
}
#bw-adbuilder-purchase-nav > span {
    color: #606060;
    white-space: nowrap;
    flex-shrink: 0;
    flex-grow: 1;
    cursor: default;
}
#bw-adbuilder-purchase-nav > span > a, #bw-adbuilder-purchase-nav > span > span {
    color: #0275d8;
    text-decoration: none;
}
#bw-adbuilder-purchase-nav > span > a {
    cursor: pointer;
}
#bw-adbuilder-purchase-nav > span > a:hover {
    color: #014c8c;
}
#bw-adbuilder-purchase-nav > span > span.active {
    color: #06ab06;
}

.bw-adbuilder-purchase-instructions {
	color: #343434;
	margin-top: .5rem;
	font-style: italic;
}

/* Ad Builder Purchase Positions */
.bw-adbuilder-purchase-positions {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem -1rem 0 -1rem;
    justify-content: space-between;
}
.bw-adbuilder-purchase-position {
    flex-basis: 300px;
    flex-grow: 0;
    flex-shrink: 1;
    margin: .5rem 1rem;
    border: 1px solid #A8A8A8;
    border-radius: .15rem;
    min-height: 335px;
    cursor: pointer;
    box-shadow: 0 0 7px #A8A8A8;
}
.bw-adbuilder-purchase-position:hover {
    box-shadow: 0 0 8px #6E6E6E;
}
input[type="radio"].bw-adbuilder-purchase-position-radio:checked + .bw-adbuilder-purchase-position {
	border: 2px solid #06ab06;
	box-shadow: 0 0 7px #06ab06;
}
.bw-adbuilder-purchase-position img {
    max-width: 300px;
    max-height: 200px;
    border-bottom: 1px solid #A8A8A8;
}
.bw-adbuilder-purchase-position-description-wrapper {
    padding: .5rem;
    font-size: .9rem;
}
.bw-adbuilder-purchase-position-img-wrapper {
    text-align: center;
}
.bw-adbuilder-purchase-position-description {
    margin-bottom: .5rem;
}
.bw-adbuilder-purchase-position-description-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media (max-width: 500px) {
	.bw-adbuilder-purchase-positions {
	    margin: 1rem 0 0 0;
	}
	.bw-adbuilder-purchase-position {
	    margin: .5rem .25rem;
	}
}

/* Ad Builder Details */
.bw-adbuilder-preview-wrapper {
	display: flex;
	margin: 0 -.5rem;
	flex-wrap: wrap-reverse;
	justify-content: space-between;
}
.bw-adbuilder-preview-wrapper > * {
	margin: .25rem .5rem;
}
.bw-adbuilder-preview {
	max-width: 300px;
	width: 100%;
	text-align: right;
}
.bw-adbuilder-preview img {
	max-width: 100%;
	max-height: 150px;
	height: auto;
	width: auto;
}
.bw-adbuilder-preview-details > div {
	font-size: .95rem;
	margin-bottom: .25rem;
}
hr.bw-adbuilder-divider {
	border-top: 1px dashed #A8A8A8;
}
a.bw-adbuilder-preview-affurl {
	max-width: 250px;
	word-break: break-all;
}

/* GDPR Toaster */
#bw-gdpr_toaster {
	position: fixed;
	margin: 0 auto;
	bottom: 0;
	background-color: rgba(0,0,0,.95);
	text-align: center;
	width: 100%;
	left: 50%;
    transform: translate(-50%, 0);
    color: white;
	max-height: 0;
	transition: all 1s ease-in;
	z-index: 9999;
}
#bw-gdpr_toaster :first-child {
	margin: 10px;
}
#bw-gdpr_toaster-close {
	margin: 10px;
	margin-top: 0;
	color: white;
}

/* BW Search */
.bw-grid-element > .bw-search > .bw-search-wrapper {
	overflow: hidden;
}
.bw-grid-element > .bw-search > .bw-search-wrapper button {
	border-radius: 0;
}
.bw-search-wrapper.bw-search-results {
	flex: 1;
	max-width: 700px;
	flex-basis: 450px;
	margin-top: 10px;
}
.bw-search-wrapper.bw-search-results input {
	border: 1px solid #dfdfdf;
}
.bw-search-results-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	margin-bottom: 30px;
}
.bw-search-results-header h3 {
	margin-bottom: 0;
	margin-right: 20px;
}
.bw-search-results-header small {
	font-size: 60%;
	color: #909090;
}

.bw-special-event {
    border: 3px solid #DD3131 !important;
}

/* --- BW Business Directory Styles --- */
/* Categories Feed */
.bw-businessdir-categories {
	margin: 0 -1rem;
	display: flex;
	flex-wrap: wrap;
}
.bw-businessdir-categories > strong {
	font-size: 1.1rem;
	flex-basis: 33.3333%;
	padding: 0 1rem;
	margin-bottom: 1rem;
}
/* Directory Header */
.bw-businessdir-header {
	display: flex;
	margin: 10px 0 25px 0;
	justify-content: space-between;
	flex-wrap: wrap;
	background-color: #dfdfdf;
	padding: .75rem .5rem;
	border-radius: 2px;
}
.bw-businessdir-header + h4 {
	margin-bottom: 20px;
}
.bw-businessdir-nav {
	display: flex;
	background-color: #fff;
	border: 1px solid rgba(125, 125, 125, 0.5);
	border-radius: .2rem;
	overflow:hidden;
}
.bw-businessdir-nav > a {
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 8px 16px;
    box-shadow: inset 0 3px 6px -3px rgba(0, 0, 0, 0.3);
}
.bw-businessdir-nav > a.active {
	box-shadow: none;
	background-color: #fff;
	pointer-events: none;
	font-weight: 600;
	border-right: 1px solid rgba(125, 125, 125, 0.5);
	border-left: 1px solid rgba(125, 125, 125, 0.5);
    box-shadow: inset 0 -8px 12px -12px rgba(0, 0, 0, 0.3), inset 0 8px 12px -8px rgba(255, 255, 255, .5);
}
.bw-businessdir-nav > a:first-child.active {
	border-left: 0;
}
.bw-businessdir-nav > a:last-child.active {
	border-right: 0;
}
.bw-businessdir-header .bw-businessdir-search {
	display: flex;
	flex-basis: 450px;
}
.bw-businessdir-header .bw-businessdir-search > input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border: 1px solid #F0F0F0;
}
.bw-businessdir-header .bw-businessdir-search > button {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	background-color: #F0F0F0;
}
/* Listing Feed */
.bw-businessdir-listings .bw-businessdir-listing {
	display: flex;
	margin-bottom: 2rem;
}
.bw-businessdir-listings .bw-businessdir-listing-info {
	flex: 1;
	max-width: 900px;
	padding-top: .25rem;
}
.bw-businessdir-listings .bw-businessdir-listing-title {
	font-weight: bold;
}
.bw-businessdir-listings .bw-businessdir-listing-img {
	width: 125px;
	max-height: 150px;
	margin-right: 1rem;
}
.bw-businessdir-listings .bw-businessdir-listing-img img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	width: auto;
	border-radius: 1px;
}
/* Listing Page */
.bw-businessdir-listing .bw-businessdir-listing-img {
	width: 125px;
	max-height: 150px;
	margin-right: 2rem;
}
.bw-businessdir-listing .bw-businessdir-listing-img img {
	max-width: 125px;
	max-height: 150px;
	height: auto;
	width: auto;
	border-radius: 1px;
}
.bw-businessdir-listing-contact {
	max-width: 300px;
	flex-basis: 300px;
}
.bw-businessdir-listing-contact .row {
	margin-bottom: .35rem;
}
.bw-businessdir-listing-contact .bw-businessdir-listing-contact-label {
	width: 90px;
	padding: 0 15px;
	text-align: right;
}
.bw-businessdir-listing-contact .bw-businessdir-listing-contact-value {
	flex: 1;
	padding-right: 15px;
}
.bw-businessdir-listing-map {
	flex: 1;
}
audio {
	width: 100%;
}

/* Page Popup */
.bw-page-popup {
	position: fixed;
	z-index: 99999999999999999999;
	top:0;bottom:0;left:0;right:0;
	background-color: rgba(0,0,0,0.9);
	display:flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.5s linear;
}
.bw-page-popup.bw-page-popup-hidden {
	display: none;
}
.bw-page-popup.bw-page-popup-display {
	opacity: 1;
}

.bw-page-popup-close-prompt {
	position: absolute;
	top: 15px;
	right: 15px;
	color: #9E9E9E
}
.bw-page-popup-close {
	position: absolute;
	top: 40px;
	right:15px;
}
.bw-page-popup-x {
    display: inline-block;
    width: 30px;
    height: 30px;
    background:
        linear-gradient(45deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 43%,#9E9E9E 45%,#9E9E9E 55%,rgba(0,0,0,0) 57%,rgba(0,0,0,0) 100%),
        linear-gradient(135deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 43%,#9E9E9E 45%,#9E9E9E 55%,rgba(0,0,0,0) 57%,rgba(0,0,0,0) 100%);
}
.bw-page-popup-x:hover {
    background:
        linear-gradient(45deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 43%,#7B7B7B 45%,#7B7B7B 55%,rgba(0,0,0,0) 57%,rgba(0,0,0,0) 100%),
        linear-gradient(135deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 43%,#7B7B7B 45%,#7B7B7B 55%,rgba(0,0,0,0) 57%,rgba(0,0,0,0) 100%);
}

/* Captcha */
.bw-captcha {
	max-width: 250px;
}
.bw-captcha .bw-captcha-overlay {
	position: relative;
	display: inline-block;
	margin: 0.5rem 0 ;
}
.bw-captcha .bw-captcha-overlay i#bw-captcha-refresh {
	position: absolute;
	font-size: 12px;
	color: #5C5C5C;
	top: 7px;
	right: 7px;
	cursor: pointer;
}
.bw-captcha img {
	border: 1px solid #dfdfdf;
}
.bw-captcha-note {
	font-size: small;
	line-height: 1.1;
}

/* Media Archive Feed */
.bw-media-feed {
	column-count: 3;
	column-gap: 10px;
}
.bw-media-feed-item {
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
}

.bw-featuredfeed-article-image { padding-bottom: 0.25rem; }

.bw-summary-article-byline {
	margin-bottom: 0.5rem;
}
.bw-summary-article-image {
	max-width: 500px;
}