/*
Theme Name: Sweetness Child Theme
Description: A child theme based on Sweetness v2 by BNE Creative.
Author: Kerry Kline
Author URI: http://www.bnecreative.com
Version: 2021.01.16
Template: sweetness
*/

/*
 * 	IMPORTANT! There is no need to @import the parent's
 *	main style.css file. It's already enqueued!!
*/



/* ===========================================================
 *	General
 * ======================================================== */

/* 
 *	Available CSS Variables
 *	There are a number of pre-defined variables available
 *	from the theme. CSS Variables can be evoked by using.
 *
 *	Example: 
 *	.class{ 
 *		color: var(--theme-primary-color); 
 *	}
 *	:root {
 *		--theme-dark-base: #333 !important;
 *	}
 *
 *
 *	Theme General Vars:
 *		--theme-content-width
 *		--theme-sidebar-gutter
 *		--theme-default-btn-color
 *		--theme-heading-font-family
 *		--theme-body-font-family
 *	Theme Palette Colors:
 *		--theme-primary-color
 *		--theme-secondary-color
 *		--theme-tertiary-color
 *		--theme-dark-color
 *		--theme-light-color
 *		--theme-success-color
 *		--theme-danger-color
 *		--theme-warning-color
 *		--theme-info-color
 *	Dark Theme:
 *		--theme-dark-base
 *		--theme-dark-base-secondary
 *
 *
 *	In addition, there are numerous Bootstrap variables that can be found
 *	by using the browser inspector and finding the :root {}
 *
*/



/* == Typography == */
@media (max-width: 600px) {
	.heading-main {
		line-height: 1;
		font-size: 10vw !important;
	}
}

/* Link Hover Declaration */
p > a,
.footer-widgets .menu a,
.footer-copy a {
	transition: all .25s ease-out;
}

p > a:hover,
.footer-widgets .menu a:hover,
.footer-copy a:hover {
	box-shadow: inset currentColor 0 -2px 0;
}



/* == Utility == */
.overflow-visible {
	overflow: visible;
}

@media (max-width: 768px) {
    .wp-block-columns.col-xs-3-columns .wp-block-column {
        flex-basis: 33% !important;
    }
    .wp-block-columns.col-xs-2-columns .wp-block-column {
        flex-basis: 50% !important;
    }
}

.bg-gradient-primary-secondary:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(120deg,var(--theme-primary-color),var(--theme-secondary-color));
}

.rounded-xlg {
    border-radius: .6rem !important;
}




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

/* == Mobile Nav btn ==*/

@media (max-width: 767px) {
	.btn-navbar.open-nav {
		background-color: var(--theme-tertiary-color);
	}
}


/* == Menu == */
/*
.menu-wrapper {}

#access {}

.menu-phone > a {
	background: var(--theme-secondary-color) !important;
	color: white !important;
	font-size: 1.2rem !important;
}

#header-wrapper .sticky-only {
	display: none;
}
*/

@media(min-width:768px) {
    .header-transparent #access.header-menu {
        background: transparent;
    }
}




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


#header-above {
    background-color: var(--theme-primary-color);
    color: white;
    padding: 10px 30px;
    box-shadow: 0px 1px 5px rgba(0,0,0,.8);
    font-family: var(--theme-heading-font-family);
}

#header-above a[href^='tel:'] { 
    color: inherit;
}

.heading-tagline {
    font-size: 1.2rem;
}
.header-phone {   
    font-weight: bold;
    font-size: 1.8rem;
}

@media (min-width: 768px) {
    #header-wrapper {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .header-transparent:not(.sticky-header-visible) #header-above {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1;
        background-color: rgba(0,0,0,.2);
        box-shadow: none;
    }
    
    .header-transparent #header-wrapper {
        top: 50px;
    }
    
	#header-wrapper .header-content {
		padding-bottom: 0;
	}
    
    #header-wrapper .header-content > .row {
        align-items: center;
    }
    
    #header-wrapper .header-logo {
        max-width: 300px;
    }
}



#sticky-header #header-above {
    margin: 0 -30px;
    z-index: 1;
}


@media( max-width: 768px){
    #header-wrapper .header-logo {
        margin: 0 auto;
        text-align: center;
        max-width: 80%;
    }
    #header-wrapper .header-logo img {
        max-height: 100%;
    }
}

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

#page-heading-wrapper {
    box-shadow: 0px 0px 10px rgba(0,0,0,.3);
}

@media(min-width:768px) {
    #page-heading-wrapper {
        padding-top: 15rem;
    }
    
    /* #page-heading-wrapper .page-heading {
        max-width: 65%;
    } */
}

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

.footer-widgets .menu {
	 list-style: none;
	 padding: 0;
}
.footer-widgets .menu li {
	 font-size: 1.1rem;
}


#footer-wrapper {
    box-shadow: 0px 0px 10px rgba(0,0,0,.3);
}

.footer-widgets {
    text-align: center;
}

.footer-widgets .widget-title {
    font-weight: bold;
    position: relative;
    margin-bottom: 2rem;
}

.footer-widgets .widget-title:after {
    content: "";
    background: var(--theme-primary-color);
    width: 150px;
    height: 8px;
    margin: 0 auto;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

#footer_content {
    padding-bottom: 100px;
}

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

/* == Block: Text Media == */
.wp-block-media-text:not(.alignfull) {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

@media (max-width: 600px) {
	/* Force Media side to always be first */
	.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media {
		grid-row: 1;
	}
	.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content {
		grid-row: 2;
	}
	.wp-block-media-text .wp-block-media-text__content {
		padding-top: 20px;
	}
}


/* == Block: BNE Shapes == */
/* .shape-overlay-top {
    margin-top: -150px !important;
}
.shape-overlay-bottom {
    z-index: 1;
}
.shape-overlay-bottom + .wp-block-bne-container {
    margin-top: -100px;
}

@media( max-width: 767px ) {
    .shape-overlay-top {
        margin-top: -80px !important;
    }
    
    .shape-m-sm .wp-block-bne-shape-divider-svg-wrapper {
        height: 50px !important;
    }   
} */


/* ===========================================================
 *	Shortcodes
 * ======================================================== */



/* ===========================================================
 *	Plugins
 * ======================================================== */
 
/* == Gravity Forms == */
/*
#wrapper .gform_wrapper .gform_footer {
	margin-top: 0;
}
#wrapper .gform_wrapper .gform_footer input[type=submit] {
	width: calc(100% - 16px);
}
*/

/* == BNE Portfolio == */
body.single-bne_portfolio #page-heading-wrapper .entry-title {
    color: #fff !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .3);
}
body.single-bne_portfolio #page-heading-wrapper .breadcrumbs {
    display: none;
}

body.post-type-archive-bne_portfolio #page-heading-wrapper {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: auto;
    max-width: 100vw;    
}

body.post-type-archive-bne_portfolio #main-content-wrapper {
    padding-top: 0;
}

/* == BNE Gallery == */
.bne-media-gallery-single .featured-image-wrapper img {
    width: 100%;
}