/*!
Theme Name: Kadence Child
Theme URI: https://bowdenworks.com
Template: kadence
Author: Bowden Works
Author URI: https://bowdenworks.com
Description: Kadence child theme
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/************************************************************************/
/* Globals                                                              */
/************************************************************************/

:root {
	--header-img-width-loop: 15%;
	--header-img-width-single: 15%;
}


/************************************************************************/
/* Resource Loop Entry                                                  */
/************************************************************************/
.bw-resource-entry header {
	display: flex;
}
.bw-resource-entry header .bw-resource-image {
	width: var(--header-img-width-loop);
	flex-shrink: 0;
}
.bw-resource-entry header .bw-resource-image > div {
	position: absolute;
	overflow: hidden;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
}
.bw-resource-entry header .bw-resource-image img {
	object-fit: scale-down;
	max-width: 100%;
	max-height: 100%;
}
.bw-resource-entry header .bw-title-column:not(:first-child) {
	padding: 0 0 0 25px;
}
.bw-resource-entry .bw-resource-tax {
	display: flex;
	flex-wrap: wrap;
}
.bw-resource-entry .bw-resource-tax span {
	font-size: 1.2em;
	line-height: 1.3em;
}
.bw-resource-entry .bw-resource-tax > *:not(:last-child),
.bw-resource-entry .bw-resource-tax li:not(:last-child) {
	margin-right: 10px;
}
.bw-resource-entry .bw-resource-tax li,
.bw-resource-entry .bw-resource-tax a:not(:hover) {
	font-weight: 600;
	text-transform: capitalize;
}
.bw-resource-entry .bw-resource-tax a:not(:hover) {
	color: inherit;
}
.bw-resource-entry .bw-resource-tax a {
	text-decoration: inherit;
}
.bw-resource-entry ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	list-style: none;
}
.single-content .bw-resource-entry ul {
	padding: 0;
	margin: 0;
}
.single-content .bw-resource-entry h2.entry-title {
	margin: 0;
}
.single-content .bw-resource-entry {
	margin: var(--global-md-spacing) 0 0;
	background-color: var(--global-palette9);
	box-shadow: 6px 6px 14px 0px #aaa3;
}
/************************************************************************/


/************************************************************************/
/* Resource Single Entry                                                */
/************************************************************************/
.bw-resource-single-entry header {
	display: flex;
	padding-bottom: 10px;
	border-bottom: 8px solid var(--global-palette6);
	margin-bottom: 1em;
}
.bw-resource-single-entry header .bw-resource-image {
	width: var(--header-img-width-single);
	flex-shrink: 0;
}
.bw-resource-single-entry header .bw-resource-image > div {
	position: absolute;
	overflow: hidden;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
}
.bw-resource-single-entry header .bw-resource-image img {
	object-fit: scale-down;
	max-width: 100%;
	max-height: 100%;
}
.bw-resource-single-entry header .bw-title-column:not(:first-child) {
	padding: 0 0 0 25px;
}
.bw-resource-single-entry .bw-resource-tax {
	display: flex;
	flex-wrap: wrap;
}
.bw-resource-single-entry .bw-resource-tax span {
	font-size: 1.2em;
	line-height: 1.3em;
}
.bw-resource-single-entry .bw-resource-tax > *:not(:last-child),
.bw-resource-single-entry .bw-resource-tax li:not(:last-child) {
	margin-right: 10px;
}
.bw-resource-single-entry .bw-resource-tax li,
.bw-resource-single-entry .bw-resource-tax a:not(:hover) {
	font-weight: 600;
	text-transform: capitalize;
}
.bw-resource-single-entry .bw-resource-tax a:not(:hover) {
	color: inherit;
}
.bw-resource-single-entry .bw-resource-tax a {
	text-decoration: inherit;
}
.bw-resource-single-entry header h1 {
	font-size: 40px;
}
.bw-resource-single-entry ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	list-style: none;
}
.bw-resource-single-entry .bw-media-list {
	list-style: none;
	margin: 0px;
}
.bw-resource-single-entry .bw-media-list > div {
	margin: var(--global-md-spacing) 0;
}
.bw-resource-single-entry .bw-media-list a {
	text-decoration: none;
}
.bw-resource-single-entry .bw-media-list a > h5 {
	margin-bottom: 5px;
}
/************************************************************************/


/************************************************************************/
/* Media                                                                */
/************************************************************************/
.bw-oembed-wrapper-sc iframe{
	width: 100%;
}
.bw-oembed-wrapper {
	position: relative;
	width: 100%;
	height: 0;
	overflow: hidden;
}
.bw-oembed-wrapper iframe {
	position: absolute;
	width: 100%;
	height: 100%;
}
.wp-video.bw-loaded, video.wp-video-shortcode, .wp-video .mejs-container, .wp-video .mejs-overlay.load {
    width: 100% !important;
    height: 100% !important;
}
.wp-video.bw-loaded, video.wp-video-shortcode {
    max-width: 100% !important;
    position: relative;
}
.wp-video.bw-loaded .mejs-mediaelement {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.wp-video.bw-loaded .mejs-overlay-play {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto !important;
    height: auto !important;
}
/************************************************************************/


/************************************************************************/
/* Resource Archive / Set List                                          */
/************************************************************************/
.primary-sidebar p.wp-block-tag-cloud a:not(:focus) {
	font-size: 17px !important;
}
.primary-sidebar p.wp-block-tag-cloud a {
	text-decoration: underline;
	transition: 1s ease-in-out;
}

.content-container.site-container .bw-resource-entry {
	box-shadow: 0px 15px 25px 0px rgb(0 0 0 / 10%);
}
.content-container.site-container :not(.entry-content-wrap) > header.entry-header {
	padding-bottom: 10px;
	border-bottom: 8px var(--global-palette6) solid;
	margin-bottom: 1em;
}
.entry-taxonomies {
	font-weight: bold;
}
/* match with page */
.archive main {
	padding: 2em;
	box-shadow: 0px 15px 25px -10px rgb(0 0 0 / 5%);
	border-radius: .25rem;
	background: rgba(255,255,255,0.8);
}
.archive .content-container.site-container :not(.entry-content-wrap) > header.entry-header {
	margin-bottom: var(--global-md-spacing);
}
.archive main h1 {
	font-style: normal;
	font-size: 2.5em;
}
.archive .grid-cols {
	row-gap: var(--global-md-spacing);
}
/************************************************************************/


/************************************************************************/
/* Archive / Pages -- background under sidebar                          */
/************************************************************************/
/*body.archive .content-container.site-container,
body.page .content-container.site-container {
	padding: 2rem;
	background: rgb(247 250 252 / 0.8);
}
body.archive .content-container.site-container main,
body.page .content-container.site-container main {
	overflow: visible;
}
body.archive .content-container.site-container article.single-entry,
body.page .content-container.site-container article.single-entry {
	background-color: unset;
}
body.archive .primary-sidebar ul.kt-svg-icon-list,
body.page .primary-sidebar ul.kt-svg-icon-list {
	margin: 0 0 10px 8px;
}
body.archive .primary-sidebar p.wp-block-tag-cloud a:not(:focus),
body.page .primary-sidebar p.wp-block-tag-cloud a:not(:focus) {
	font-size: 17px !important;
}
entry-content-wrap {
	padding: 0;
}
body.archive .primary-sidebar p.wp-block-tag-cloud a,
body.page .primary-sidebar p.wp-block-tag-cloud a {
	text-decoration: none;
	transition: 1s ease-in-out;
}
body.page .content-container.site-container .entry-content-wrap {
	padding: 0;
}
body.archive .content-container.site-container .entry-content-wrap,
body.page .content-container.site-container .bw-resource-entry .entry-content-wrap {
	padding: 25px;
}
body.archive .content-container.site-container .entry,
body.page .content-container.site-container .entry {
	box-shadow: unset;
}
body.archive .content-container.site-container .bw-resource-entry,
body.page .content-container.site-container .bw-resource-entry {
	box-shadow: 0px 15px 25px 0px rgb(0 0 0 / 10%);
}
body.archive .content-container.site-container header.entry-header {
	padding-bottom: 10px;
	border-bottom: 8px #f2a421 solid;
	margin-bottom: 1em;
}
body.archive .content-container.site-container header.entry-header h1 {
	font-style: normal;
	font-size: 2.5em;
}*/
/************************************************************************/


/************************************************************************/
/* Events List                                                          */
/************************************************************************/
.tribe-events-calendar-list__event-featured-image-wrapper {
	overflow: hidden;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper {
	width: 25%;
}
/* NOTE: the absolute-position square-crop rules for the featured image must
   stay scoped to .tribe-common--breakpoint-xsmall/-medium (below). Unscoped,
   they also hit phones (<500px container, no breakpoint class), where the
   wrapper is static — every image then covers the whole .tribe-events list. */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-details {
	width: 75%;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-date-tag {
	min-width: 150px;
	width: 11.111%;
}
/* with sidebar */
.tribe-common--breakpoint-xsmall.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper {
	width: 25%;
	overflow: hidden;
	position: relative;
}
.tribe-common--breakpoint-xsmall.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper a {
	position: relative;
	padding-top: 100%;
	height: 0%;
	width: 100%;
}
.tribe-common--breakpoint-xsmall.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper img {
	position: absolute;
  	left: 50%;
  	top: 50%;
  	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
}
.tribe-common--breakpoint-xsmall.tribe-events .tribe-events-calendar-list__event-details {
	width: 75%;
}
.tribe-common--breakpoint-xsmall.tribe-events .tribe-events-calendar-list__event-date-tag {
	min-width: 150px;
	width: 11.111%;
}
.tribe-common--breakpoint-xsmall.tribe-events .tribe-events-calendar-list__event {
	flex-direction: row
}

/* Events List Dates */
#primary .tribe-events span.tribe-events-calendar-list__event-date-tag-daynum {
	font-weight: 700;
	font-size: 30px;
}
#primary .tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
	font-weight: 500;
	font-size: 18px;
}
/************************************************************************/


/************************************************************************/
/* Events Single                                                        */
/************************************************************************/
.bw-event-title {
	display: flex;
	align-items: center;
}
.bw-event-title .bw-event-image {
	min-width: 90px;
	width: var(--header-img-width-single);
}
.bw-event-title .bw-event-image .tribe-events-event-image {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 100%;
	overflow: hidden;
	margin: 0;
}
.bw-event-title .bw-event-image .tribe-events-event-image img {
	position: absolute;
  	left: 50%;
  	top: 50%;
  	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
}
.bw-event-title h1.tribe-events-single-event-title {
	font-weight: 700;
	font-size: 32px;
	line-height: 1.5;
	color: var(--global-palette3);
	padding-left: var(--global-md-spacing);
}
.bw-event-title {
	padding-bottom: 10px;
	border-bottom: 8px solid var(--global-palette6);
	margin-bottom: 1em;
}
.single-entry.post .element-social-inner-wrap,
.bw-resource-single-entry .element-social-inner-wrap {
	padding: 1em;
	justify-content: center;
}
.single-entry.post .kadence-svg-iconset svg,
.bw-resource-single-entry .kadence-svg-iconset svg {
	width: 1.5em;
	height: 1.5em;
}
/************************************************************************/


/************************************************************************/
/* Events List Shortcode                                                */
/************************************************************************/
.bw-default-iconlist ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap,
.bw-default-iconlist ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap a {
	color: var(--global-palette1, #3182CE);
	align-items: start;
}
.bw-default-iconlist ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap > div {
	margin-top: 3px;
}
.bw-default-iconlist a {
	display: block;
}
.bw-list-event-date {
	font-weight: bold;
	display: block;
}
.bw-list-event-title {
	font-size: 0.8em;
}
/************************************************************************/


/************************************************************************/
/* List Menu                                                            */
/************************************************************************/
ul.kt-svg-icon-list li.active * {
	color: var(--global-palette5)!important;
}
/************************************************************************/


/************************************************************************/
/* Responsive                                                           */
/************************************************************************/
@media (max-width: 1024px) {
	/* side footer padding*/
	.site-footer-wrap {
		padding: 2rem;
	}
}
@media (max-width: 767px) {
	/* side footer padding*/
	.site-footer-wrap {
		padding: 1.5rem;
	}
	/* thumbs */
	.bw-event-title {
		flex-direction: column;
	}
	.bw-resource-entry header .bw-title-column:not(:first-child) {
		padding: 0;
	}
	.bw-event-title .bw-event-image {
		width: 100%;
	}
	.bw-resource-header {
		flex-direction: column;
	}
	.bw-resource-single-entry header .bw-resource-image {
		width: 100%;
		padding-bottom: 100%;
	}
}
/************************************************************************/


/************************************************************************/
/* Featured Resource                                                    */
/************************************************************************/
.bw-resource-featured .kadence-post-image {
    padding:0px 30px 10px 0px;
}
.bw-resource-featured.kt-blocks-post-grid-item {
    border-width:0px 0px 0px 0px;
}
.bw-resource-featured.kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner {
    padding:0px 0px 0px 0px;
}
.bw-resource-featured.kt-blocks-post-grid-item header {
    background-color:;
    padding:0px 0px 10px 0px;
    margin:0px 0px 0px 0px;
}
.bw-resource-featured.kt-blocks-post-grid-item .kt-blocks-above-categories {
    font-size:13px;
    line-height:20px;
    text-transform:uppercase;
}
.bw-resource-featured.kt-blocks-post-grid-item .entry-title {
    padding:5px 0px 0px 0px;
    margin:0px 0px 0px 0px;
}
.bw-resource-featured .entry-content {
    padding:0px 0px 0px 0px;
    font-size:14px;
    line-height:24px;
}
.bw-resource-featured .kt-blocks-post-footer {
    border-width:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    margin:0px 0px 0px 0px;
    font-size:12px;
    line-height:20px;
    text-transform:uppercase;
}
.bw-resource-featured .entry-content .kt-blocks-post-readmore {
    background-color:#444444;
    border-color:#444444;
    color:#ffffff;
    padding:4px 8px 4px 8px;
}
.bw-resource-featured .entry-content .kt-blocks-post-readmore:hover {
    color:#ffffff;
    border-color:var(--global-palette5);
    background-color:var(--global-palette5);
}
/************************************************************************/