/**
 * Classes
**/
.sc-flex,
.sc-flex-2,
.sc-flex-3,
.sc-flex-4,
.sc-flex-5,
.sc-flex-6				{display: -webkit-flex; display: flex;}
.sc-flex > *			{-ms-flex: 0 1 auto;}
.sc-flex-row			{-webkit-flex-direction: row; flex-direction: row;}
.sc-flex-col			{-webkit-flex-direction: column; flex-direction: column;}
.sc-flex-wrap			{-webkit-flex-wrap: wrap; flex-wrap: wrap;}
.sc-flex-hor-center		{-webkit-justify-content: center; justify-content: center;}
.sc-flex-hor-end		{-webkit-justify-content: flex-end; justify-content: flex-end;}
.sc-flex-hor-between	{-webkit-justify-content: space-between; justify-content: space-between;}
.sc-flex-hor-around		{-webkit-justify-content: space-around; justify-content: space-around;}
.sc-flex-vert-center	{-webkit-align-items: center; align-items: center;}
.sc-flex-vert-end		{-webkit-align-items: flex-end; align-items: flex-end;}

.sc-flex-1 > *			{flex: 100% 1 0; padding: 0 20px;}
.sc-flex-2 > *			{flex: 50% 1 0; padding: 0 20px;}
.sc-flex-3 > *			{flex: 33.33% 1 0; padding: 0 20px;}
.sc-flex-4 > *			{flex: 25% 1 0; padding: 0 20px;}
.sc-flex-5 > *			{flex: 20% 1 0; padding: 0 20px;}
.sc-flex-6 > *			{flex: 16.66% 1 0; padding: 0 20px;}

.weight-100		{font-weight: 100;}
.weight-300		{font-weight: 300;}
.weight-400		{font-weight: 400;}
.weight-500		{font-weight: 500;}
.weight-600		{font-weight: 600;}
.weight-700		{font-weight: 700;}
.weight-900		{font-weight: 900;}

.gallery 						 {display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin-bottom: 1.1em;}
.gallery-item 					 {float: left; margin: 0 5px 1.1em;}
.gallery-item a					 {display: block;}
.gallery-item img				 {display: block; max-width: 100%; height: auto; margin: 0 auto;}
.gallery-columns-1 .gallery-item {width: 100%;}
.gallery-columns-2 .gallery-item {width: 50%; -webkit-width: calc(100% * (1/2) - 10px); width: calc(100% * (1/2) - 10px);}
.gallery-columns-3 .gallery-item {width: 33.33%; -webkit-width: calc(100% * (1/3) - 10px); width: calc(100% * (1/3) - 10px);}
.gallery-columns-4 .gallery-item {width: 25%; -webkit-width: calc(100% * (1/4) - 10px); width: calc(100% * (1/4) - 10px);}
.gallery-columns-5 .gallery-item {width: 20%; -webkit-width: calc(100% * (1/5) - 10px); width: calc(100% * (1/5) - 10px);}
.gallery-columns-6 .gallery-item {width: 16.66%; -webkit-width: calc(100% * (1/6) - 10px); width: calc(100% * (1/6) - 10px);}
.gallery-columns-7 .gallery-item {width: 14.28%; -webkit-width: calc(100% * (1/7) - 10px); width: calc(100% * (1/7) - 10px);}
.gallery-columns-8 .gallery-item {width: 12.5%; -webkit-width: calc(100% * (1/8) - 10px); width: calc(100% * (1/8) - 10px);}
.gallery-columns-9 .gallery-item {width: 11.11%; -webkit-width: calc(100% * (1/9) - 10px); width: calc(100% * (1/9) - 10px);}
.gallery-caption 				 {display: block;}

.wpbf-button + .wpbf-button		{margin-left: 40px;}
.wpbf-button-secondary			{background: #dd3333;}
.wpbf-button-secondary:hover	{background: #a42924;}

/* Gravity Forms */
.gform_required_legend {display: none;}

/* Beaver Builder / UABB / Powerpack */
/* Text Module */
.fl-rich-text > p:last-child	{margin-bottom: 0;}

/* Posts Module */
.fl-post-grid-post .fl-post-grid-text	{padding: 10px 0;}
.fl-post-grid-image .post-term			{position: absolute; bottom: 0; left: 0; display: block; padding: 4px 8px; text-shadow: 1px 1px 1px rgba(0,0,0,.3); letter-spacing: 0.2px; font-size: 65%; color: #ffff; background: #000; transition: background 0.2s;}
.fl-post-grid-image .post-term:hover	{background: #6b6b6b;}


/**
 * Header
**/
/* Utility */
.wpbf-pre-header .nav-item-date							{display: block; padding: 10px 20px; padding-left: 0; text-transforM: capitalize;}
.wpbf-pre-header .wpbf-inner-pre-header-right li a		{padding-left: 8px; padding-right: 8px;}
.wpbf-pre-header .wpbf-inner-pre-header-right li a i	{pointer-events: none;}
body.logged-in .link-logout			{display: block;}
body.logged-in .link-login,
body:not(.logged-in) .link-login	{display: none;}

/* Header Main */
#header .wpbf-logo img	{width: auto;}

#header .wpbf-navigation-active .wpbf-nav-wrapper				{padding-top: 0; padding-bottom: 0;}
#header .wpbf-navigation-active .wpbf-menu-stacked .wpbf-menu a	{padding-top: 2px; padding-bottom: 2px;}

#header .wpbf-navigation .mobile-socials	{display: none;}


/**
 * Homepage
**/
body.home .fl-builder-pagination ul.page-numbers	{text-align: left;}


/**
 * Content
**/
.content-restricted	{margin-bottom: 20px;}
#content .pp-logos-content .pp-logo .title-wrapper	{display: none;}
#content .post-views		{margin-bottom: 1.1em;}
body .wpbf-button,
body input[type="submit"]	{font-size: 80%;}

#content .commentlist,
#content .comment-respond	{max-width: 1100px; margin: 0 auto 1.1em;}


/**
 * WooCommerce
**/
.components-button			{color: var( --button-primary-color ); background-color: var( --button-primary-bgcolor );}
.components-button:hover	{color: var( --button-primary-color-hover ); background-color: var( --button-primary-bgcolor-hover );}

/* Cart */
body.woocommerce-checkout .entry-content .wc-block-checkout.alignwide,
body.woocommerce-cart .entry-content .wp-block-woocommerce-cart.alignwide	{margin-left: 0; margin-right: 0;}


/**
 * 828px
**/
@media ( max-width: 828px ) {

	#pre-header	{display: none !important;}

}


/**
 * 550px
**/
@media ( max-width: 550px ) {

	.content-restricted > div > div		{max-width: none !important; flex-direction: column-reverse;}
	.content-restricted > div > div > *	{width: 100% !important; padding: 0 !important; border: 0 !important;}
	.content-restricted > div > div > :last-child	{margin-bottom: 20px !important; padding-bottom: 20px !important; border-bottom: 1px solid #ccc !important;}

}