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


/* == Column Layout == */

/* Adjust stack point */
@media (max-width: 768px) {
    #wrapper .wp-block-column {
        flex-basis: 100% !important;
    }
}

/* Adjust padding */
@media (min-width: 1280px) {
    #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 {
        font-size: 40px;
    }
	.btn-navbar.open-nav .bne-fa {
		width: 40px;
	}
}

/* == Menu == */

@media( min-width: 768px ) {
    #access.header-menu #primary-menu > li > a {
        line-height: 40px;
    }
    .header-transparent #access.header-menu {
        background: none !important;
    }
}

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


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


#header-above {
    background-color: var(--theme-secondary-color);
    color: white;
    padding: 10px 30px;
    box-shadow: 0px 1px 5px rgba(0,0,0,.8);
    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) {

    #header-wrapper {
        padding-top: 40px;
        padding-bottom: 40px;
        box-shadow: 0px 0px 10px rgba(0,0,0,.4);
    }
    #header-above .content-area-width,
    #header-wrapper .content-area-width {
        max-width: 100%;
    }
    
    .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-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;
    }
    .header-phone {
        display: block;
        font-size: 2rem;
    }
    #header-above .review-btn {
        display: none;
    }
    #header-above .bne-contact-bar {
        display: none;
    }
}



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


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

/* Containers */
.container-simi-transparent {
    background: rgba(255,255,255,.8) !important;
}

.container-secondary-border:before {
    content: "";
    border: 1px solid var(--theme-secondary-color);
    height: calc( 100% - 20px );
    width: calc( 100% - 20px );
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;    
}

.wp-block-gallery + h3 {
    margin-top: 2rem;
}

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

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

.footer-widgets .widget-title {
    font-weight: bold;
}

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



/* == BNE Cards == */
.wp-block-bne-card {
    overflow: hidden;
}


.wp-block-bne-card.service-card .card-body,
.wp-block-bne-card.service-card .card-img-top {
    transition: all 0.3s ease-out 0s;
}

.wp-block-bne-card.service-card .card-body > .wp-block-bne-fa-icon {
    margin-top: calc( ( 1.25rem + 45px ) * -1 );
}

.wp-block-bne-card.service-card .card-body {
    background: #fff;

}
.wp-block-bne-card.service-card:hover .card-body {
    /* margin-top: -45px; */
    transform: translateY(-45px);
}

.wp-block-bne-card.service-card:hover .card-img-top {
    transform: scale(1.2);
}



/* ===========================================================
 *	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 Testimonials == */
.testimonial-badge .badge-text {
    font-weight: bold;
}

.testimonial-badge .bne-stars {
    font-size: 50px;
    height: 50px;
    width: 50px;
}

.single-testimonial-block .bne-stars {
    font-size: 30px;
    width: 40px;
    height:30px
}

.single-testimonial-block .testimonial-message {
    font-family: "Libre Baskerville","Baskerville",Arial,sans-serif; 
    font-size: 1.2rem;
}

.single-testimonial-block .readmore {
    font-size:50%
}

.single-testimonial-block .testimonial-rating, .single-testimonial-block .testimonial-date {
    display:inline-block
}

.single-testimonial-block .testimonial-date {
    color: #999;
    font-size: 18px;
    position:relative
}

.single-testimonial-block .testimonial-date:before {
    content: "-";
    margin-right: 5px;
    margin-left:10px
}

.single-testimonial-block .testimonial-content {
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0,0,0,.3);
}