/*
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: 2022.02.12
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-menu-bg-color
 *      --theme-menu-bg-hover-color
 *      --theme-menu-nav-color
 *      --theme-menu-nav-hover-color
 *	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: 7vw !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;
}

p + h2,
p + h3,
.wp-block-columns + h2 {
    margin-top: 2.5rem;
}

.fancy-font,
.fancy-subheading .heading-sub {
    font-family: 'Caveat', cursive;
}

.fancy-subheading .heading-sub {
    transform: rotate(-4deg);
    margin-bottom: 5px !important;
    font-weight: 600
}

.btn, .btn-default, .wp-block-button {
    font-family: var(--theme-heading-font-family);
}


/* == Utility == */
.overflow-visible {
	overflow: visible;
}
.zindex1 {
    z-index: 1;
}



/* == Column Layout == */
@media (max-width: 782px) {
    /* stack at 782 instead of WP default of 600 */
    #wrapper .wp-block-columns:not(.is-not-stacked-on-mobile) .wp-block-column {
        flex-basis: 100% !important;
    }

    /* Force a different stack */
    #wrapper .wp-block-columns.wp-columns-xs-3 > .wp-block-column {
        flex-basis: 33% !important;
    }
    
    #wrapper .wp-block-columns.wp-columns-xs-2 > .wp-block-column {
        flex-basis: 50% !important;
    }

}

@media (min-width: 1280px) {
    /* Increase column gap */
    /* #wrapper .wp-block-columns:not(.alignfull) {
        margin: 1em -50px;
    }
    #wrapper .wp-block-column {
        padding: 0 50px;
    } */
}



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

/* == Mobile Nav btn ==*/
/*
@media (max-width: 767px) {
	.btn-navbar.open-nav {
		position: relative;
		top: 0;
		left: 0;
		right: 0;
		color: white;
		background-color: var(--theme-primary-color);
        font-size: 40px;
	}
    .btn-navbar.open-nav .bne-fa {
        width: 40px;
    }
}
*/

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

@media (min-width: 768px) {
    .header-transparent #access.header-menu {
        background: none !important;
    }
    .menu-wrapper #access {
        border-top: 1px solid #444;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    #primary-menu .menu-btn a {
        background-color: #ee3724;
        color: #ffffff;
    }
    #primary-menu .menu-btn:hover a {
        background-color: #000;
        color: #ee3724;
    }
    #sticky-header .menu-btn a  {
        background-color: #ee3724 !important;
        color: #ffffff !important;
    }
    
    .menu-location-below_header #primary-menu .menu-btn {
        float: right;
    }
}



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



@media (min-width: 768px) {
    #header-wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
        box-shadow: 0px 0px 10px rgba(0,0,0,.2);
        color: white;
    }
    
    .header-transparent #header-wrapper {
         background: rgba(0,0,0,.5);
    }
    
	#header-wrapper .header-content {
		padding-bottom: 0;
	}
    
    #header-wrapper .header-content > .row {
        align-items: center;
    }
    
    /* Header Logo */
    .header-logo img {
        max-height: 70px;
    }
    
    /* header widgets */
    .header-widget-area {
        flex: 1 auto;
        align-items: center;
        justify-content: flex-end;
        align-content: space-around;
        display: flex;
    }
    .header-widget-area .widget {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .header-widget-area .widget:last-of-type {
        padding-right: 0;
    }


}

@media( max-width: 768px) {
    #header-wrapper .header-logo {
        text-align: center;
        margin: 0 auto 20px auto;
    }
    
    #header-wrapper .header-logo img {
        
    }
    .header-phone {
        font-size: 2rem;
        color: white;
    }
    .header-phone a {
        coor: inherit;
    }
    
}


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


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


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

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

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

.footer-widgets .widget-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    max-width: 150px;
    height: 5px;
    background: var(--theme-tertiary-color);
    
}

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

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

/* stack early for mobile */
@media (max-width: 768px) {
    .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 100% !important;
    }
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
    }
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;   
    }

    .wp-block-media-text .wp-block-media-text__content {
        padding: 20px 0 0 0;
    }
    .wp-block-media-text.alignfull .wp-block-media-text__content {
        padding: 20px 30px;
    }
    .wp-block-media-text.has-background:not(.alignfull) .wp-block-media-text__content {
        padding: 20px 30px;
    }

    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media img {
        width: 100%;
    }

}


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



/* ===========================================================
 *	Plugins
 * ======================================================== */
 
/* == Gravity Forms == */
.header-form input {
    height: 60px;
}
.header-form input[type="submit"] {
    font-family: var(--theme-heading-font-family);
    font-size: 25px;
}

/* == BNE Testimonials == */
.header-badge { 
    text-align: left;
    margin: 0;
}
.header-badge > div > div {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-badge .badge-text {
    margin-left: 10px;
    font-weight: bold;
    font-style: italic;
    color: white;
    font-size: 1.3rem;
}
.header-badge .bne-stars {
    height: 25px;
    width: 25px;
    font-size: 25px;
}
.header-badge .badge-text .badge-total {
    display: none;
}