/*
Theme Name: Brisbane Kids Theme
Theme URI: https://brisbanekids.com.au
Description: This is the Brisbane Kids Theme by Meyne
Author: Meyne
Author URI: https://meyne.co/
Version: 1.0.0
Template: genesis
Text Domain: brisbane-kids
*/

/* Import
---------------------------------------------------------------------------- */

@font-face {
	font-display: swap; 
	font-family: 'Quicksand';
	font-style: normal;
	font-weight: 400;
	src: url('../woff2/quicksand.woff2') format('woff2'),
		 url('../woff/quicksand.woff') format('woff'); 
  }

  @font-face {
	font-display: swap; 
	font-family: 'Quicksand';
	font-style: normal;
	font-weight: 700;
	src: url('../woff2/quicksand-700.woff2') format('woff2'), 
		 url('../woff/quicksand-700.woff') format('woff'); 
  }


/* Variables
---------------------------------------------------------------------------- */
:root {
    --teal: #00abad;
    --purple: #803f98;
    --pink: #ed1e7d;
    --dark-gray: #716558;
	--yellow : #fed109;
	--green : #09a249;
	--dark-teal: #007375;
    --dark: #000000;
    --light: #fff;
	--light-gray: #f6f5f4;
	--orange: #f64800;
    --sans: 'Quicksand', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    --accent: 'Lucida Bright', Georgia, serif;
	--wp--preset--font-size--small: 18px;
}

/* HTML5 Reset
---------------------------------------------------------------------------- */

/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
---------------------------------------------------------------------------- */
/* stylelint-disable */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}
/* stylelint-enable */

/* Box Sizing
--------------------------------------------- */

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

/* Float Clearing
--------------------------------------------- */

.author-box::before, .clearfix::before, .entry::before, .entry-content::before, .footer-widgets::before, .pagination::before, .site-container::before, .site-footer::before, .site-header::before, .site-inner::before, .widget::before, .wrap::before {
	content: " ";
	display: table;
}

.clearfix::after, .entry::after, .entry-content::after, .footer-widgets::after, .pagination::after, .site-container::after, .site-footer::after, .site-header::after, .site-inner::after, .widget::after, .wrap::after { 
	clear: both;
	content: " ";
	display: table;
}

/* Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: top;
}

figure {
	margin: 0;
}

.alignwide,
.alignfull {
	margin: 32px calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

a img:hover {
	opacity: .7;
}

/* Search */
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.wp-block-search__button {
	border: none;
}

.custom-search {
    float: right;
    max-width: 40px;
    top: 0;
    position: relative;    
}

.custom-search .wp-block-search__button svg {
    fill: var(--dark);
    min-width: 32px;
    min-height: 32px;   
}

.custom-search button {
    background: transparent;
    margin: -20px;
    position: absolute;
}

.custom-search button:focus {
    outline: none;
}

.custom-search input {
    background-color: transparent !important;
    position: absolute;
    min-width: 30px !important;
    max-width: 40px !important;
    z-index: 1;
}

.custom-search input[type="search"]:focus {
    background-color: var(--light) !important;
    cursor: text;
    left: -185px;
    max-width: 200px !important;
    outline: 0;
    padding: 5px 7px;
    position: absolute;
}

.site-header .wrap .wp-block-search {
    order: 4;
}

/* Typography
--------------------------------------------- */

html {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body {
	border-top: 6px solid var(--yellow);
    color: var(--dark);
    font-family: var(--sans);
    font-size: 18px;
    letter-spacing: .02em;
    line-height: 1.6;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6 .h6 {
    font-family: var(--sans);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
	letter-spacing: 0;
}

a {
	color: var(--dark-teal);
	font-weight: bold;
}

.entry-title a {
	color: var(--dark);
	text-decoration: none;
}

h2.wp-block-post-title {
	font-size: 19px;
	text-transform: uppercase;
	font-weight: bold;
}

.wp-block-post-title a {
	text-decoration: none;
}

.archive p.h2 {
    font-size: 28px;
}

.search-query h1 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Structure and Layout
---------------------------------------------------------------------------- */

/* Site Navigation
---------------------------------------------------------------------------- */

nav ul {
	clear: both;
	line-height: 1;
    padding-left: 0;
    margin-right: 10px;    
	width: 100%;
}

nav ul .menu-item {
	display: block;
	float: none;
	position: relative;
	text-transform: uppercase;
	margin: 0 10px;
}

nav ul a {
	display: block;
	font-weight: 400;
	outline-offset: -1px;
	padding-bottom: 12px;
	padding-top: 12px;
	text-decoration: none;
}

nav ul a:hover,
.current-menu-item a {
    color: var(--navy);
}

nav ul .sub-menu,
nav ul .sub-menu a {
	width: 100%;
}

nav ul .sub-menu {
	clear: both;
	display: none;
	left: -9999px;
	margin: 0;
	opacity: 1;
	padding-left: 15px;
	position: static;
	z-index: 99;
}

nav ul .sub-menu a {
	background-color: #fff;
	position: relative;
	word-wrap: break-word;
}

nav ul .menu-item:focus,
nav ul .menu-item:hover {
	position: relative;
}

nav ul .menu-item:hover > .sub-menu {
	display: block;
	left: auto;
	opacity: 1;
}



/* Site Container
--------------------------------------------- */

.site-container {
	background: #fff;
	overflow: hidden;
	overflow: clip;
}

.site-inner {
	clear: both;
	margin: 0 auto;
	padding: 0 20px;
}

/* Sticky Header
--------------------------------------------- */

.sticky-header {
	display: none;
}

/* Before Header
--------------------------------------------- */

.before-header {
    background: var(--blush);
    font-family: var(--sans-narrow);
}

.before-header .wrap {
    display: block;
	font-size: 16px;
	letter-spacing: .02em;
    padding: 0 10px;
}

.before-header .wrap section:first-of-type {
    display: none;
}

.before-header .wrap section:last-of-type {
    font-size: 14px;
    margin: 2px 5px;
    text-align: center;
    width: 100%;
}

.before-header .menu .menu-item {
    display: inline;
	padding-right: 10px;
}

.before-header .menu .menu-item a {
    text-decoration: none;
}


/* Site Header
--------------------------------------------- */

.site-header {
	position: relative;
}

.site-header .wrap {
	margin: 0 auto;
	padding: 10px 30px 0;
}

.site-header .wp-block-group.header-navigation {
    align-content: flex-end;
}

.title-area {
	float: left;
	width: 300px;
}

.site-title {
	line-height: 88px;
}

.site-title a {
	background: url(../logo-mobile.html) no-repeat left center;
	background-size: contain;
	display: block;
	position: relative;
	text-indent: -9999em;
	width: 100%;
	padding-bottom: 69px / 165px * 100%;
}

.site-description {
	display: none; 
}

.title-area h1.site-title, .title-area p.site-title {
	margin: 0;
}

.site-title, 
ul.menu {
	transition: all linear .2s;
	-webkit-transform:translate3d(0,0,0);
}

.header-navigation {
    margin-bottom: 0 !important;
    margin-top: 20px !important;
    align-items: flex-end !important;
}

/* Sidebar
--------------------------------------------- */
.sidebar a {
    text-decoration: none;
}

/* Header Search
--------------------------------------------- */

input#searchright {
	background-color: transparent;
    background-image: url(../png/search.png);
    background-position: 60% 100%;
    background-repeat: no-repeat;
    background-size: 17px;
    border: none;
	cursor: pointer;
    outline: none;
    padding-left: 30px;
	position: relative;
	transition: width 0.4s ease-in-out;
    width: 30px;
}

input#searchright:focus {
    background: #fff;	
    background-position: 98% 50%;
    border: solid 1px #000;
    margin-left: -290px;
    padding-left: 5px;
    position: fixed;
    top: 66px;
    width: 330px;
}


/* Pagination
--------------------------------------------- */

.pagination {
	clear: both;
}

.archive-pagination li {
	display: inline;
    margin-left: 5px;
    margin-right: 5px;    
}

.archive-pagination li a {
	display: inline-block;
	text-decoration: none;
}

.archive-pagination li a:focus,
.archive-pagination li a:hover,
.archive-pagination li.active a {
    background: linear-gradient(180deg,rgba(255,255,255,0) 50%,var(--gray-blue) 0);
	color: var(--teal);
}

/* Entry Comments
--------------------------------------------- */

.entry-comments ol,
.entry-comments ul {
	list-style-type: none;
	padding-left: 0;
}

.comment-respond,
.entry-comments {
	margin-bottom: 40px;
}

.comment-content {
	clear: both;
}

.comment-respond label {
	display: block;
	margin-right: 12px;
}

.comment .children {
	margin-left: 60px; 
}

.comment-form-cookies-consent label {
	display: inline;
	padding-left: 10px;
}

.comment-form-comment input, .comment-form-author input, .comment-form-email input, .comment-form-email input, .comment-form-url input, textarea#comment {
    display: block;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    min-height: 48px;
    padding: 12px 16px 12px 82px;
}

textarea#comment {
    padding-left: 92px;
    padding-top: 16px;
}

.comment-form-comment label, .comment-form-author label, .comment-form-email label, .comment-form-email label, .comment-form-url label {
    display: block;
    left: 10px;
    line-height: 1;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    top: 32px;
}

.search-container {
    overflow: hidden;
    width: 30px;
}

.search-container .search {
    border: none;
    outline: none;
    z-index: 9;
}


/* Special Classes */

input {
	border-radius: 10px !important;
}
.custom-post-header {
	background: var(--light-gray);
	font-size: 16px;
	margin-top: 0;
}

.custom-post-header .wrap {
	text-align: center;
	padding: 30px;
}

.mv-create-jtr-wrapper svg {
	display: none;
}

a.mv-create-jtr-link {
    color: #fff !important;
    background: var(--teal);
    font-family: var(--accent);
    text-transform: none;
	font-size: 28px !important;
	letter-spacing: 0;
	padding: 2px 20px !important;
	margin: 0;
}

.grid-4, .blog .content {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-gap: 20px;
}

.wp-block-button__link.wp-element-button,
.button  {
    border-radius: 0 !important;
    font-size: 19px !important;
    padding: 7px 20px !important;
	font-weight: bold !important;
	text-transform: uppercase !important;
}

a.button {
	background: var(--pink);
	color: #fff;
	border-radius: 0 !important;
    font-size: 19px !important;
    padding: 7px 20px !important;
	font-weight: bold !important;
	text-transform: uppercase !important;
	text-decoration: none;
}

.entry-content button {
	background: var(--pink) !important;
	text-transform: uppercase;
	font-weight: bold;
}

.wp-block-button.is-style-outline>.wp-block-button__link, 
.wp-block-button .wp-block-button__link.is-style-outline {
	border: solid 2px var(--pink) !important;
	padding: 6px 10px !important;
}

.flex {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	justify-content: center;
}

.category-buttons {
	max-width: 700px;
	margin: 30px auto;
}

.home .newsletter {
    margin-bottom: -32px !important;
}

.newsletter #mc_embed_signup_scroll {
    margin-bottom: -10px;
}

.flex.displays > div > div:last-of-type > div {
    flex-direction: column;
}

#read-about:target {
	display: block;
}

.read-close {
    font-size: 80%;
    font-weight: bold;
    display: none;
    text-decoration: none;
    width: 18px;
    position: relative;
    top: -4px;
}

.read-about:hover {
    cursor: pointer;
}

a.read-about.expanded span {
    display: inline-block !important;
    text-decoration: none;
}

/* Archive Page
---------------------------------------------------------------------------- */

.archive .site-inner {
    margin-bottom: 30px;
}

.archive .content-sidebar-wrap {
    padding-top: 30px;
}

.archive .taxonomy-description {
    padding-bottom: 15px;
    text-align: center;
}

.archive-main-content, .search .content {
	display: grid;
	grid-template-columns: repeat(1,minmax(0,1fr));
	grid-gap: 30px;
}

.archive .content article, .search .content article,
.blog .content article, .bk-hero article {
	background: var(--light-gray);
	box-shadow: 0px 0px 10px -2px silver;
}

.archive .content h2, .search .content h2,
.blog .content h2 {
	font-size: 19px;
	text-transform: uppercase;
	padding: 14px 14px 0;
}

.single .content h2 {
	padding: 14px 0;
}


/* Guide Archive Pages */
.archive #all-posts {
    grid-column: span 4;
}

.tax-guide .content .template-area {
	grid-column: span 4;
}

.tax-guide .content .template-area .recent-posts, .page .recent-posts  {
	display: grid;
}

.archive .wp-block-buttons {
    padding-top: 40px;
    padding-bottom: 30px;
}

.archive .wp-block-button__link.wp-element-button {
    padding: 6px 12px !important;
    font-size: 16px !important;
}

.archive .template-area .wp-block-group.template-area > .wp-block-buttons {
    padding-top: 0;
    padding-bottom: 50px;
}

.recent-posts {
	display: grid;
	grid-gap: 40px;
}

.archive.tax-guide .breadcrumbs,
.archive.post-type-archive-local_business .breadcrumbs {
    text-align: left;
}

.archive.tax-guide h1.page-title, .archive.tax-guide .taxonomy-description,
.archive.post-type-archive-local_business h1.page-title, .archive.post-type-archive-local_business .taxonomy-description {
    text-align: left;
}

.archive.tax-guide .sidebar-primary,
.archive.post-type-archive-local_business .sidebar-primary {
    margin-top: 70px;
    position: sticky;
    top: 70px;
}

.archive.tax-guide .content-sidebar-wrap,
.archive.post-type-archive-local_business .content-sidebar-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.tax-region .breadcrumbs {
    display: none;
}


/* Plugins
---------------------------------------------------------------------------- */

/* Latest Posts Shortcode */
.latest-post-title .h3 {
    font-size: 19px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 15px 0;
}

.latest-post-title a {
    color: var(--dark);
    text-decoration: none;
}

.recommended-reading .latest-post-title a {
    color: var(--dark-teal);
}

.recommended-reading .recent-posts article {
    background: var(--light-gray);
    box-shadow: 0px 0px 10px -2px silver;
    margin-bottom: 30px;
}

/* Mailchimp */
#mc_embed_signup_scroll {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: space-around;
    margin-bottom: -100px;
}

#mc_embed_signup .mc-field-group {
	max-width: 240px;
	padding-bottom: 0 !important;
}

#mce-responses {
	order: 4;
	flex-basis: 100%;
}

#mc_embed_signup input {
	border-radius: 0 !important;
	border: none !important;
	padding: 12px !important;
	max-height: 45px;
}

#mc-embedded-subscribe {
	margin: 0 !important;
	background: var(--pink);
	color: var(--light);
	text-transform: uppercase;
	font-weight: bold;
}

input#mc-embedded-subscribe {
	padding: 12px 20px !important;
}

.sidebar-signup #mc_embed_signup p:first-of-type {
    order: 4;
}

#mc_embed_signup form {
  padding: 10px 0 10px !important;
}
  
/* Mega Menu */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    text-transform: uppercase !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
    text-transform: uppercase !important;
    font-size: 14px !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:hover {
    font-weight: bold !important;
    color: var(--pink) !important;
}


/* Site Footer
---------------------------------------------------------------------------- */

.site-footer {
    font-size: 16px;
	letter-spacing: .02em;
    position: relative;  
}

.before-footer, 
.site-footer {
	background-color: var(--yellow);
	color: var(--dark);
	padding: 10px;
}

.before-footer {
	text-transform: uppercase;
}

.before-footer a, 
.site-footer a {
	color: var(--dark);
	text-decoration: none;
}

.site-footer .wp-block-column a {
	font-weight: normal;
}

.before-footer p, 
.site-footer p {
	margin-bottom: 0;
}

span#rotate {
	transform: rotate(-90deg);
	display: inline-block;
}

.before-footer img {
	max-width: 230px !important;
}

.before-footer figure {
    margin: 1.3em 0 1em;
}

.site-footer h2 {
	font-size: 26px;
	margin-bottom: 10px;
}

.before-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.before-footer .three-columns {
	column-count: 3;
	text-align: left;
}

.before-footer ul {
	list-style-type: none;
	padding-left: 0;
}

.before-footer .wp-block-social-links {
    justify-content: center !important;
}

.before-footer .wp-block-social-links li {
    padding-left: 3px;
    padding-right: 3px;
}

.before-footer .widget-title {
    text-align: left;
    letter-spacing: .1em;
}

.credits-window {
	background-color: var(--yellow);
	bottom: -2px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	left: 56.5%;
	transform: translatey(-50%);
	transition: all 0.3s;
	visibility: hidden;
	width: auto;
	z-index: 999;
}

.credits-window:target {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.credits-close {
	font-size: 80%;
	font-weight: bold;
	position: relative;
	right: 0;
	text-decoration: none;
	top: -8px;
	width: 20px;
}

.display-none {
	display: none;
}

footer .bk-cta {
    padding: 30px 10px 20px;
    margin-top: -10px;
    text-align: center;
}

/* Accessibility
--------------------------------------------- */

.screen-reader-shortcut,
.screen-reader-text,
.screen-reader-text span,
.hidden,
.wp-block-search label {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus,
.widget_search input[type="submit"]:focus {
	background: #fff;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #333;
	display: block;
	font-size: 1em;
	font-weight: 700;
	height: auto;
	padding: 15px 23px 14px;
	text-decoration: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.genesis-skip-link {
	margin: 0;
}

.genesis-skip-link .skip-link-hidden {
	display: none;
	visibility: hidden;
}

.genesis-skip-link li {
	height: 0;
	list-style: none;
	width: 0;
}

:focus {
	/color: #333;
	/outline: #ccc solid 1px;
}


/* Mobile only */
@media only screen and (max-width: 750px) {

    .desktop-nav {
        display: none !important; 
    }

}

/* Tablet only */

@media only screen and (min-width: 700px) and (max-width: 958px) {

	.desktop-header-group {
	    display: flex;
	    gap: 20px;
	}

	.header-navigation div#modal-2-content {
	    display: flex;
	    flex-direction: column;
	    align-items: stretch;
	}	

	ul#mega-menu-primary {
	    padding-left: 26px !important;
	}

	.nav-primary .mega-search {
	    display: none;
	}	

	nav.secondary .wp-block-search__inside-wrapper {
	    border: 2px solid var(--pink) !important;
        font-size: 12px;
	    padding: 0 0 0 6px;
	}

	.bk-hero .recent-posts {
	    grid-template-columns: repeat(4,minmax(0,1fr));
        gap: 25px;
	}

	.bk-hero article:first-of-type {
	    grid-column: 1 / 4;
	    grid-row: 1 / 3;
	}

	.bk-hero article:first-of-type img {
	    width: 700px!important;
	    height: 475px;
	}

	.favourites-section .wp-block-columns {
	    display: grid;
	}

	.favourites-section .wp-block-columns .wp-block-column:last-of-type .wp-block-group {
	    display: grid;
	    grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.favourites-section h2 {
	    margin-bottom: 0;
	}	

	.find-local {
		gap: 12px;
	}

	.find-local figure {
	    text-align: center;
	    margin-bottom: 16px;
	}

	.latest-articles .wp-container-38.wp-container-38,
	.fun-activities .wp-container-55.wp-container-55 {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	}	

	.newsletter #mc_embed_signup_scroll {
	    justify-content: flex-start;
	}	

	.latest-articles h2.wp-block-heading,
	.fun-activities h2.wp-block-heading {
	    font-size: 39px !important;
	}

	.home .tribe-events-widget-events-list__events {
	    gap: 25px !important;
	    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	    margin-top: 35px;
	    margin-bottom: 50px;
	}	
}



@media only screen and (max-width: 959px) {

	.title-area {
		margin: 0 auto -20px;
	}

	.before-footer .wp-block-search__inside-wrapper {
		max-width: 280px;
	}

	.wp-block-buttons {
		justify-content: center;
	}

	.before-footer .widget:first-of-type .wp-block-group {
		display: grid;
		grid-template-columns: 50% 50%;
	}

	.before-footer .widget:first-of-type .wp-block-group img {
		max-width: 100% !important;
	}
}

/* DESKTOP */

@media only screen and (min-width: 480px) {

	table {
		table-layout: auto;
		word-break: normal;
	}

}

@media only screen and (min-width: 601px) {
    .mobile-nav {
        display: none !important; 
    }
}


@media only screen and (min-width: 959px) {

	/* Typography
	--------------------------------------------- */
	h1 {
		font-size: 30px;
	}

	h1.entry-title {
		font-size: 36px;
		text-align: left;
	}

	h1.narrow {
		padding: 0 12%;
	}

	h2, .h2, .archive p.h2 {
		font-size: 30px;
	}

	h3, .h3 {
		font-size: 26px;
	}

	h4, .h4 {
		font-size: 22px;
	}

	/* Sticky Header
	--------------------------------------------- */
	.sticky-header {
		background: var(--blue-black);
		display: none;	 
		font-size: 15px;
		margin: 0 auto;
		position: fixed;
		width: 100%;
		top: 0;
		z-index: 99999;
	}

	.sticky-header figure.wp-block-image {
		margin: 0;
	}
	.sticky-header img {
		height: 50px;
		width: auto;
	}

	.sticky-header .wrap {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}	

	.sticky-header .combined-menu {
		display: flex;
	}	

	.sticky-header ul.menu a {
		padding-right: 3px;
		padding-left: 3px;
	}	

	.sticky-header .search-form input[type="search"] {
		position: relative;
		width: 1px;
		border: 0;
		background-color: transparent;
		cursor: pointer;
		padding: 3px 15px; 	
		-webkit-transition: width 500ms ease,background 400ms ease;
		transition: width 500ms ease,background 400ms ease;
	}	

	.sticky-header .search-form {
		background: url(../png/search.png) no-repeat center;
		background-size: 16px;
	}	

	/* Before Header
	--------------------------------------------- */
	
	.before-header .wrap {
	    display: flex;
		max-width: 1240px;
		margin: 0 auto;
		padding: 0 40px;
	    flex-direction: row;
	}

	.before-header .wrap section:first-of-type {
		display: block;
	    margin: 2px;
	    width: 25%;
	}

	.before-header .wrap section:last-of-type {
		font-size: unset;
	    margin: 2px;
	    text-align: center;
	    width: 50%;
	}	

	/* Floating Widget */
	.floating-button-widget .wp-block-button {
	    position: fixed;
	    right: -70px;
	    top: 44%;
	    transform: rotate(90deg);
	    z-index: 99999;
	}

	/* Site Header
	--------------------------------------------- */

	.site-header {
		background: #fff;
		z-index: 9999;
		width: 100%;
		margin: 0 auto;
	}
	
	.site-header .wrap {
		/display: flex;
		/flex-wrap: wrap;
		/max-width: 1240px;
		margin: 0 auto;
		/justify-content: flex-end;
        /padding: 10px 20px !important;
		padding: 0;
	}
	
	.site-header .wrap::before,
	.site-header .wrap::after {
		display: none;
	    padding-left: 100px;
    	padding-right: 100px;
	}

	.site-header .wrap .primary {
		flex-basis: 100%;
	}
	
	.site-header .wrap div {
		flex-grow: 1;
	}
	
	.header-widget-area {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.site-title {
		line-height: 120px;
	}

	.site-title a {
		background: url(../png/logo.png) no-repeat left center;
		background-size: contain;
	}	

	.fixed-header .site-title {
		line-height: 70px;
		margin: 0 !important;
	}
	
	.fixed-header ul.menu {
		margin: 10px 0;
	}

	.custom-search {
	    float: unset;
	    top: -116px;
	}
		
	.site-header .custom-search .wp-block-search__button svg,
	.search-section .wp-block-search__button svg {
		transform: scaleX(-1);
	}

	.site-header .custom-search input[type="search"]:focus {
	    background-color: #fff !important;
	    cursor: text;
	    left: -190px;
	    max-width: 200px !important;
	    outline: 0;
        padding: 5px 7px;
	    position: absolute;
	}	

	.header-navigation {
	    margin-top: 10px;
	}

	.header-navigation figure, .header-navigation div img {
	    width: 560px;
	}	

	.site-footer .wrap {
		/width: var(--wp--style--global--content-size);
		margin:  0 auto;
		padding-top: 30px;
	}

	footer .bk-cta {
	    padding: 40px 10px 30px;
	    margin-top: -40px;
	    text-align: unset;
	}	

	footer .bk-cta h2 {
	    font-size: 30px;
	}	

	footer .bk-cta .wp-block-buttons {
	    padding-top: 10px !important;
	    padding-bottom: 0 !important;
	}	

	#mega-menu-primary .mega-menu-item-343002 {
		display: none !important;
	}
	
	/* Genesis Menu
	--------------------------------------------- */

	.nav-header {
		max-height: 49px;
	}

	.genesis-nav-menu .menu-item {
		display: inline-block;
	}

	.genesis-nav-menu .menu-item:focus,
	.genesis-nav-menu .menu-item:hover {
		position: relative;
	}
	
	.genesis-nav-menu .sub-menu,
	.genesis-nav-menu .sub-menu a {
		width: 180px;
	}

	.genesis-nav-menu .sub-menu {
		opacity: 0;
		padding-left: 0;
		position: absolute;
	}

	nav ul.sub-menu .menu-item {
		margin: 0;
	}

	.genesis-nav-menu .sub-menu a {
		border-top: 0;
		padding: 15px;
	}

	.genesis-nav-menu .sub-menu .sub-menu {
		margin: -46px 0 0 179px;
	}
	
	/* Site-Inner
	--------------------------------------------- */

	.site-inner {
		max-width: 1240px;
	}

	/* Content
	--------------------------------------------- */

	.content {
		float: left;
		width: 600px;
	}

	.sidebar-content .content {
		float: right;
	}

	.full-width-content .content {
		width: 100%;
		float: none;
		margin-left: auto;
		margin-right: auto;
		margin-top: 20px;
	}

	.archive.full-width-content .content {
		margin-top: 40px;
	}


	/* Sidebar
	--------------------------------------------- */

	.sidebar {
		float: right;
		width: 300px;
	}

	.sidebar-content .sidebar {
		float: left;
	}
	
	
	/* Special Classes
	--------------------------------------------- */

	.custom-post-header .wrap {
		max-width: 1240px;
		margin: 0 auto;
		padding: 30px 20px;
		text-align: left;
	}

    .grid-4, .blog .content {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-gap: 30px;
    }

	.two-columns {
		column-count: 2;
	}

	.three-columns {
		column-count: 3;
	}

	.home .newsletter {
	    padding-bottom: 20px !important;
	}

	.home .flex.displays {
	    padding-top: 43px !important;
	}

	.flex.displays > div > div:last-of-type > div {
	    flex-direction: row;
	}

	.bk-hero .recent-posts {
	    grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.bk-hero article:first-of-type {
	    grid-column: 1 / 3;
	    grid-row: 1 / 3;
	}

	.bk-hero article:first-of-type img {
	    width: 700px !important;
	    height: 475px;
	}

	.bk-hero article {
	    margin-bottom: 0 !important;
	}	

    /* Archive Page
    --------------------------------------------- */
    .archive article {
        margin-bottom: 0 !important;
    }    

    .archive .all-posts {
        margin-bottom: 10px;
    }    

	.archive .breadcrumbs {
		text-align: center;
	}

	.archive-main-content {
		grid-template-columns: repeat(3,minmax(0,1fr));
	}

    .smaller-height {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .smaller-height figure.wp-block-media-text__media {
        margin-top: -50px !important;
        margin-bottom: -50px !important;
    }    

	.search .content {
		grid-gap: 40px;
		grid-template-columns: repeat(3, minmax(0,1fr));
	}

	.page .entry-content article {
	    background: var(--light-gray);
	    box-shadow: 0px 0px 10px -2px silver;
	    margin-bottom: 30px;
	}

    /* Plugins
    --------------------------------------------- */
    .recent-posts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-gap: 25px;
    }    

	.recommended-reading .recent-posts article {
	    margin-bottom: 0;
	}

	/* Footer */
	.before-footer .wrap {
		justify-content: space-between;
	}

}


@media only screen and (min-width: 1080px) {

	.content {
		width: 760px;
	}

	.sidebar {
		width: 300px;
	}
}

/* Print Styles
---------------------------------------------------------------------------- */

@media print {

	*,
	*::before,
	*::after {
		background: transparent !important;
		box-shadow: none !important;
		color: #333 !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]::after {
		content: " (" attr(href) ")";
	}

	abbr[title]::after {
		content: " (" attr(title) ")";
	}

	a[href^="javascript:"]::after,
	a[href^="#"]::after,
	.site-title > a::after {
		content: "";
	}

	thead {
		display: table-header-group;
	}

	img,
	tr {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 2cm 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	blockquote,
	pre {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	.content,
	.content-sidebar {
		width: 100%;
	}

	button,
	input,
	select,
	textarea,
	.breadcrumb,
	.comment-edit-link,
	.comment-form,
	.comment-list .reply a,
	.comment-reply-title,
	.edit-link,
	.entry-comments-link,
	.entry-footer,
	.genesis-box,
	.header-widget-area,
	.hidden-print,
	.home-top,
	.nav-primary,
	.nav-secondary,
	.post-edit-link,
	.sidebar {
		display: none !important;
	}

	.title-area {
		float: left;
		text-align: center;
		width: 100%;
	}

	.site-title > a {
		margin: 0;
		text-decoration: none;
		text-indent: 0;
	}

	.site-inner {
		padding-top: 0;
		position: relative;
	}

	.author-box {
		margin-bottom: 0;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		orphans: 3;
		page-break-after: avoid;
		page-break-inside: avoid;
		widows: 3;
	}


	img {
		page-break-after: avoid;
		page-break-inside: avoid;
	}

	blockquote,
	pre,
	table {
		page-break-inside: avoid;
	}

	dl,
	ol,
	ul {
		page-break-before: avoid;
	}
}