/*
Theme Name: BNE Minimal
Description: A starter template ready for full customizations. Inspired by Sweetness, a full fledge theme by BNE Creative.
Author: Kerry Kline
Author URI: https://www.bnecreative.com
Version: 2024.05.10
Text Domain: bne
License: GPL2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* Globals */
:root {
	/* Defined in options
	--btn-color
	--btn-text-color
	--primary-color
	--secondary-color
	--tertiary-color
	*/

	/* Layout */
	--content-area-width: 1400px;
	/* Sidebar width on desktop */
	--sidebar-gutter: 3rem;
	
	/* Typography */
	--fs-base: 16px;
	/* --fs-ratio: 1.3; */
		
	/* Fluid Generator: https://fluidtypography.com */
	/* Clamp: (min, fluid, max) */
	--fs-h1: clamp(2rem, 5.196vw + 1.155rem, 2.5rem); 
	--fs-h2: clamp(1.5rem, 1.617vw + 1.519rem, 2rem);
	--fs-h3: clamp(1.3rem, 1.386vw + 1.079rem, 1.5rem);
	--fs-h4: clamp(1.125rem, 1.155vw + 0.826rem, 1.3rem);
	--fs-h5: clamp(1rem, 0.693vw + 0.821rem, 1.125rem);
	--fs-h6: clamp(0.875rem, 0.462vw + 0.755rem, 1rem);
	
	--body-font-family: "Raleway", sans-serif;
	--body-font-color: #666;

	--heading-font-family: "Raleway", sans-serif;
	--heading-font-color: var(--primary-color);
	--heading-font-weight: 600;

	--link-color: var(--quaternary-color);
	--link-color-hover: var(--primary-color);
	
	/* Menu */
	--menu-alignment: center; /* use "center" for centering links */
	--menu-bg-color: #fff; /* wrapper */
	
	--menu-top-color: #000;
	--menu-top-color-hover: #000;
	--menu-top-bg-color: transparent;
	--menu-top-bg-color-hover: rgba(255,255,255,.5);
	--menu-top-color-border: var(--primary-color);

	--menu-sub-color: #000;
	--menu-sub-color-hover: #fff;
	--menu-sub-bg-color: #fff;
	--menu-sub-bg-color-hover: var(--primary-color);

	/* Forms */
	--input-color: #535165;
	--input-bg-color: #f4f4f4;
	
	/* Media */
	--wp--style--block-gap: 1.2rem;

}
/* END Globals */



/* 	=================================
	Utilities
=================================  */

[id] {
	scroll-margin-top: calc(var(--header-height) * 10px);
}

/*	=================================
	Typography
=================================  */

body {
	font-weight: 500; /* raleway */
}

/* Mobile Typography Resets */
/* let's make sure any inline font changes in WP blocks are reset for mobile */
@media(max-width:600px) {
	h1, .h1 { font-size: var(--fs-h1) !important; }
	h2, .h2 { font-size: var(--fs-h2) !important; }
	h3, .h3 { font-size: var(--fs-h3) !important; }
	h4, .h4 { font-size: var(--fs-h4) !important; }
	h5, .h5 { font-size: var(--fs-h5) !important; }
	h6, .h6 { font-size: var(--fs-h6) !important; }
}




/*	=================================
	Media
=================================  */


@media(max-width:500px) {
	.wp-block-image .alignleft,
	.wp-block-image .alignright {
		float: none;
	}
}


/*	=================================
	Main Menu
=================================  */

#header-wrapper #primary-nav-wrapper {
	padding: 0;
	margin: 0 -30px;
	border-top: 5px solid white;
}

ul.primary-nav {
	/* border: none; */
}
ul.primary-nav > li > a {
	font-weight: bold;
	padding: 1.5rem 1.2rem;
}
li#menu-item-1738 {
	display:none;
}
.is-sticky li#menu-item-1738 {
	display:block;
}
.is-sticky li#menu-item-1738 a{color:#FFCC36;background-color:FFCC36; }

ul.primary-nav > li.active > a, ul.primary-nav > li:hover > a, ul.primary-nav > li > a:focus {
	box-shadow: inset #ffffff 0 -2px 0;align-content;}

@media( min-width: 768px) {
	ul.primary-nav .sub-menu {
		width: 300px;
	}
}

/* Menu Image */
ul.primary-nav li.active > a .menu-label > img,
.menu-label:hover > img {
	filter: brightness(0) invert(1);
}

/*	=================================
	Header
=================================  */

#header-wrapper {
	background-color: var(--primary-color);
	background-image: url('/wp-content/themes/bne-minimal/assets/images/header_bg.jpg');
	background-position: top right;
	background-size: cover;
}

.header-logo img {
	width: 250px;
	max-width: 100%;
}
.header-widget-area {
	color: white;
}
.header-widget-area p {
	margin-bottom: 0;
}
.header-widget-area a {
	color: inherit;
}


#header-wrapper #primary-nav-wrapper {
    border-bottom: 1px solid #0E2F1A;border-top:0px;
}
#header-wrapper{
    position: relative;
    padding: 15px 30px 0px 30px;
}

.bne-vector-icon.has-bg-color {
    height: 2em;
    width: 2em;
    display: grid;
    align-items: center;
    justify-content: center;
}

/* Transparent/Alternate Header Logo */
.header-logo .alternate-logo {
	display: none;
}

@media(min-width:768px) {
	body.has-transparent-header .header-logo .default-logo {
		display: none;
	}

	body.has-transparent-header .header-logo .alternate-logo {
		display: inline-block;
	}
}

@media(min-width: 768px) {
	body.has-transparent-header #header-wrapper {
		background-color: rgba(0, 0, 0, 0.2);
	}
	
	#header-wrapper {
		padding-bottom: 0;
	}

}

@media (max-width: 768px) {
	.header-widget-area .widget_text{
		display:none;
	}
	.header-widget-area .widget_block {
		float:none;
		margin-top:-10px;
		margin-bottom:10px;
	}
	
	#featured-page-slider {
		margin-top:-22px !important;
	}
}



/*	=================================
	Sticky Header
=================================  */

/* Sticky Header - Mobile */
 @media (max-width: 768px) {
	#wrapper {
		overflow: initial;
	}
	
	#header-wrapper {
		position: sticky;
		top:0
	}
	
	#header-wrapper .header-logo {
		width: 150px;
	}
	
	#header-wrapper .header-phone {
		justify-content: left !important;
	}
	#header-wrapper .header-phone .bne-vector-icon {
		--fa-size: .8;
	}
	#header-wrapper .header-phone p {
		font-size: 1.2rem;
	}
	
	body.has-mobile-nav #primary-nav-wrapper {
		top: calc(var(--header-height) * 1px) !important;
		--menu-bg-color: var(--secondary-color);
		width: 100vw !important;
		margin: 0 !important;
	}
	
	.mobile-nav-btn > i {
		width: 1.5rem !important;
		font-size: 1.6rem !important;
	}


}



/* 	Sticky Header - Desktop */
@media(min-width:768px) {
	#header-wrapper.is-sticky {
		--gutter-x: 1.5rem;
		--gutter-y: 0;
		display: flex;
		flex-wrap: wrap;
		margin-top: calc(-1 * var(--gutter-y));
		margin-right: calc(-0.5 * var(--gutter-x));
		margin-left: calc(-0.5 * var(--gutter-x));
		align-items: center;
		padding: 0px 30px;
	}
	
	#header-wrapper.is-sticky > .content-area-width {
		flex: 0 0 auto;
		width: 20%;
	}
	
	#header-wrapper.is-sticky > .content-area-width > .row {
		margin-bottom: 0 !important;
	}
	
	#header-wrapper.is-sticky .logo-col {
		flex: 0 0 auto;
		width: 100%;
	}
	
	#header-wrapper.is-sticky .content-col {
		display: none;
	}
	
	#header-wrapper.is-sticky .header-logo img {
		width: 150px;
	}
	
	#header-wrapper.is-sticky #primary-nav-wrapper{
		flex: 0 0 auto;
		width: 80%;
		--menu-bg-color: transparent;
		--menu-top-color: #fff;
		--menu-top-color-hover: var(--secondary-color);
		--menu-top-bg-color-hover: var(--primary-color);
		--menu-top-color-border: var(--primary-color);
	}
	
	
}


/*	=================================
	Main
=================================  */


/* == Page Title Wrapper ==  */
#page-title-wrapper {
	background-image: url('/wp-content/themes/bne-minimal/assets/images/page-title-bg.webp');
}
#page-title-wrapper .entry-header {
	max-width:  900px;
}
#page-title-wrapper .entry-title {}
#page-title-wrapper .subheading {}
#page-title-wrapper .cta {}
#page-title-wrapper .btn {}

@media(min-width: 768px) {
	#page-title-wrapper {
		padding: 8rem 30px;
	}
}

.featured-image-wrapper.alignfull {
	margin-top: -30px;
}

/* Post */
.wp-block-query-pagination .page-numbers {
	color: var(--quaternary-color)
}
.wp-block-query-pagination .page-numbers.current {
	color: var(--btn-text-color);
}

.wp-block-button__link, .nav-links .page-numbers, input[type="submit"] {
	border-radius: 0rem;}

.home .wp-block-post-featured-image img {
    max-height: 110px;
}
.wp-block-post-title {
   font-size:18px;background:#104624;color:#fff; padding: 15px;
}
.post-meta {
  display:none!important;
}
.wp-block-post-template .wp-block-read-more {
    margin-top: 1rem;
    font-size: 0.8rem;
    width: 100%;box-shadow: 0 17px 19px -10px rgba(0, 0, 0, 0);
}
.wp-block-post-title a:hover {
    color: orange;
}
.wp-block-post-template.is-style-card .wp-block-post-featured-image {
    margin: 0rem;
}
.wp-block-post-excerpt {
    min-height:65px;
}

/*	=================================
	Footer
=================================  */

#footer-wrapper {
	background-color: var(--primary-color);
	color: white;
	overflow: hidden;
	
--input-radius: 0px;
--input-shadow: 0px 0px 0px #104624;
}

#footer-wrapper:before {
	content: "";
	background: var(--tertiary-color);
	height: 100%;
	width: 100%;
	transform: skew(10deg);
	position: absolute;
	left: 50%;
	top: 0px;
}

#footer-wrapper .content-area-width {
	position: relative;
}

#footer-wrapper .widget .menu {
	list-style: none;
	padding-left: 0;
}
#footer-wrapper .widget .menu li {
	line-height: 2rem;
}
#footer-wrapper .widget .menu a {
	color: white;
}
#footer-wrapper a {
	color: inherit;
}
.footer-copy {
	color: white;
}

#footer-wrapper .gform_button {
	width: 100%;
	font-size: 1.5rem;
	font-weight: bold;
	text-transform: uppercase;
	box-shadow: 2px 3px 5px #000;
}


#footer-wrapper .gform_wrapper{
	max-width: 80%;
	margin: 0 auto;
}

#footer-wrapper .gform_button {
    letter-spacing: 2px;
    font-size: 1.0rem;
    box-shadow: 0px 0px 0px #000;
}


/*	=================================
	Widgets / Sidebar
=================================  */




/*	=================================
	Blocks
=================================  */




/*	=================================
	Plugins
=================================  */
.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 *)) {
	--gf-local-bg-color: #FFCD36;color:#000;border-radius:0px;}

