/*
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.03.27
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;
}

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



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


.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;
}


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

    /* Force a different stack */
    .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;
    }

}

@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;
    }
}

#primary-menu .menu-btn {
    transition: all 0.2s ease-in-out;
    font-size: 18px;
    background-color: var(--theme-primary-color);
    border-radius: 60px;
    margin-left: 20px;
    margin-top: -10px;
}

#primary-menu .menu-btn:hover {
   background-color: var(--theme-secondary-color);
}

#primary-menu .menu-btn a {
    color: white !important;
    font-weight: bold;
    font-size: 20px;
    background: none !important;
}



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

/* == Header Above == */
/*
#header-above {
    background-color: var(--theme-secondary-color);
    color: white;
    padding: 10px 30px;
    box-shadow: 0px 1px 5px rgba(0,0,0,.4);
    z-index: 11;
}

#header-above a[href^='tel:'] { 
    color: inherit;
}
#header-above p:last-of-type { 
    margin: 0;
}

#header-above .bne-contact-bar.contact-bar-left ul, 
#header-above .bne-contact-bar.contact-bar-center li {
    float: none;
    text-align: left;
}
#header-above .bne-contact-bar {
    margin-bottom: 0;
}

#header-wrapper .bne-contact-bar {
    display: none;
}

.header-phone {
    font-weight: bold;
    font-size: 1.4rem;
}
*/

@media (min-width: 768px) {
    /* Max header width */
    /*
    #header-above .content-area-width,
    #header-wrapper .content-area-width {
        max-width: 100%;
    }
    */
  
    #header-wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
        box-shadow: 0px 0px 10px rgba(0,0,0,.2);
    }
    
    .header-transparent #header-wrapper {
         background: rgba(0,0,0,.5);
/*          top: 60px; */
    }
    
	#header-wrapper .header-content {
		padding-bottom: 0;
	}
    
    #header-wrapper .header-content > .row {
        align-items: center;
    }
    
    #header-wrapper .header-logo img {
        max-height: 140px;
    }
    
    /* 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;
    }


}

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


#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 {
    font-weight: bold;
    position: relative;
    margin-bottom: 20px;
}
.footer-widgets .widget-title:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    max-width: 200px;
    height: 5px;
    background: var(--theme-primary-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 == */

#wrapper .gform_wrapper .gform_footer {
	margin-top: 0;
}
#wrapper .gform_wrapper .gform_footer input[type=submit] {
	width: calc(100%);
}


/* == Forms == */
#wrapper .transparent_form input[type="text"],
#wrapper .transparent_form input[type="password"],
#wrapper .transparent_form input[type="email"],
#wrapper .transparent_form input[type="url"],
#wrapper .transparent_form input[type="tel"],
#wrapper .transparent_form input[type="number"],
#wrapper .transparent_form input[type="date"],
#wrapper .transparent_form input[type="time"],
#wrapper .transparent_form input[type="datetime"],
#wrapper .transparent_form input[type="datetime-local"],
#wrapper .transparent_form input[type="month"],
#wrapper .transparent_form textarea,
#wrapper .transparent_form select {
    color: #000;
    background-color: rgba(255,255,255,.5);
}
#wrapper .transparent_form textarea:focus,
#wrapper .transparent_form input:not([type="submit"]):focus {
    background-color: rgba(255,255,255,.8);
}

#wrapper .transparent_form input::placeholder,
#wrapper .transparent_form textarea::placeholder { color: #fff; font-weight: bold;}
#wrapper .transparent_form input[type=submit] {
    font-weight: bold;
    font-size: 30px;
}