/*!
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
*/

.logo-footer {
	width: 120px!important;
	margin-left: auto;
	margin-right: auto;
	margin-top: -150px!important;
}

.footer-menu {
	font-size: 14px;
}

/* Search Area CSS */
.search-container {
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 5px;
	margin-bottom: 20px;
}

.search-box {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

.search-box input {
	flex: 1;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

.search-box button {
	padding: 10px 15px;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.filters {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.filter label {
	display: block;
	margin-bottom: 5px;
}

.filter select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

/* Table CSS */
.bw-winners {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.bw-winners th, .bw-winners td {
	border: 1px solid #ccc;
	padding: 8px 12px;
	text-align: left;
}

.bw-winners tbody tr:nth-child(odd) {
	background-color: #efefef;
}

.bw-winners tbody tr:nth-child(even) {
	background-color: white;
}

.bw-winners img {
	height: 20px;
}

/* Gravity form label color in footer */
.site-footer label.gfield_label {
	color: white;
}

/* RRS feed grid */
.bw-rss-grid .bw-rss-item a {
	text-decoration: none;
}

/* Post grid css carousel competition */
.bw-carrousel-button .kt-blocks-post-grid-item .entry-content {
	background: var(--global-palette-btn-bg, var(--global-palette1));
	color: var(--global-palette-btn, #fff);
	padding: .4em 1em;
	width: 100%;
	border-radius: 3px;
	font-weight: 500;
	text-align: center;
}

.bw-carrousel-button .kt-blocks-post-grid-item .entry-content:hover {
	background: var(--global-palette-btn-bg-hover);
}

/* Multi-site post grid */
.bw-title-wrapper {
	color: var(--global-palette-btn,#fff);
}

/* Gravityform - eg Subscribe */
div.gform_wrapper.gravity-theme input[type=email] {
	padding-left: 20px;
	min-height: 47px;
}

/* Sticky Logo */
.item-is-stuck .brand.has-logo-image.has-sticky-logo {
	margin-top: -5px;
}

/* Align Center judges images */
.bw-img-center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Responsive design for mobile devices */
@media screen and (max-width: 600px) {
	.bw-rss-grid {
		display: grid;
		grid-template-columns: repeat(1, 1fr)!important;
		gap: 20px;
	}
	.bw-rss-grid h3 {
		font-size: 20px;
	}
}

@media screen and (max-width: 767px) {
	.content-area {
		margin-bottom: 5rem!important;
	}
	.bw-winner-winners-table-block .row>* {
		padding-bottom: 10px;
	}
	.site-branding .site-title {
		font-size: 14px;
		max-width: 150px;
	}
}

.site-title {
	font-family: var(--global-heading-font-family);
	max-width: 350px;
}

.item-is-stuck .site-title {
	font-size: 20px;
	max-width: 250px;
}

@media screen and (min-width: 720px) and (max-width: 1024px) {
	.site-title.vs-md-false {
		display: inherit !important;
	}
}

/* Bottom Image */
.site-footer-top-section-1 .wp-block-image {
	height: 0px;	
}

.site-footer-top-section-1 img {
	max-width: 150px;
	position: relative;
	top: -175px;
	border-radius: 50%;
}

body:not(.home) .site-footer {
    margin-top: 100px;
}

/* Solve Gravityform button issue  - not taking palete 1 */
.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
	background: var(--global-palette1)!important;
}

/* Event carousel link color */
.bw-title a {
	color: white;
	text-decoration: none;
}

/* Box shadow on sticky header */
.kadence-sticky-header.item-is-fixed:not(.item-at-start) { 
	box-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
}


/* Temp - moved from Melboure International Wine Competition */
	/* RSS Grid for mobile devices */
	@media screen and (max-width: 600px) {
		.bw-rss-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr)!important;
    gap: 20px;
}
		.bw-rss-grid h3 {
			font-size: 20px;
		}
	}

/* CSS Query for mobile phone - content padding */
@media screen and (max-width: 767px) {
	.content-area {
		margin-bottom: 5rem!important;
	}

	/* add padding between button on table winner */
	.bw-winner-winners-table-block .row>* {
		padding-bottom: 10px;
	}
}

.site-title {
	font-family:var(--global-heading-font-family);
}
.item-is-stuck .site-title {
	font-size:20px!important;
	max-width: 350px!important;
}
@media screen and (max-width: 767px) {
	.site-branding .site-title {
		font-size:14px!important;
		max-width: 220px!important;
	}
}
@media screen and (min-width: 720px) and (max-width: 1024px) {
	.site-title.vs-md-false {
			display: inherit !important;
	}
}

/* Fix reverse logo header on mobile */
@media screen and (max-width: 719px){
.site-branding.branding-mobile-layout-standard-reverse a.brand {
    flex-direction: inherit!important;
	}
}

/* Gravityform - Fix progress bar */
.gform-theme--framework .gf_progressbar .percentbar_blue {
    background-color: var(--global-palette6)!important;
}