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

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



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

/* == Photo Drop == */
.photo-drop {
	z-index: 999;
	top: 0;
	left: 0;
}
@media( min-width: 1024px) {
	.photo-drop {	
		padding-left: 100px !important;
		}
}
.photo-drop img {
	max-width: 350px;
	background: white;
	padding: 10px 10px 40px 10px;
	box-shadow: 0px 0px 10px rgba(0,0,0,.6);
}

.photo-drop .wp-block-image:nth-child(1) img { transform: rotate(20deg); }
.photo-drop .wp-block-image:nth-child(2) img { position: absolute; right: -50px; margin-top: -50px; transform: rotate(6deg); }
.photo-drop .wp-block-image:nth-child(3) img { max-width: 300px; transform: rotate(-10deg); }


@media (max-width: 1024px ) {
	.photo-drop img:nth-child(4),
	.photo-drop img:nth-child(5) {
		display: none;
	}
}
@media (max-width: 600px ) {
	.photo-drop img { display: none; }
}

/* Images */
.wp-block-image {
	position: relative;
}
.wp-block-image figcaption {
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	margin: 0;
	color: white;
	font-size: 20px;
	background: #7C9E41;
	font-weight: bold;
}

/* Divider */
.wp-block-separator.is-style-wide {
	border-width: 2px;
	position: relative;
}

.wp-block-separator.is-style-wide.border-leaf { border-color: #b99a63; }
.wp-block-separator.is-style-wide.border-leaf:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	height: 40px;
	width: 40px;
	transform: translate(-50%, -50%);
	background-color: white;
	background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="leaf" class="svg-inline--fa fa-leaf fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" data-fa-i2svg=""><path fill="#98151c" d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"></path></svg>');
	background-repeat: no-repeat;
}

.wp-block-separator.is-style-wide.border-heart { border-color: #cf2e2e; }
.wp-block-separator.is-style-wide.border-heart:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	height: 40px;
	width: 40px;
	transform: translate(-50%, -50%);
	background-color: transparent;
	background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="heartbeat" class="svg-inline--fa fa-heartbeat fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="#cf2e2e" d="M320.2 243.8l-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"></path></svg>');
	background-repeat: no-repeat;
}

/* Card Block */
.wp-block-bne-container.text-light .card {
	background: none;
	border: none;
}


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

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

#header-wrapper {
	border-top: 5px solid #7C9E41;
	box-shadow: 0px 0px 10px rgba(0,0,0,.2);
	z-index: 99;
	padding: 20px 3px;
}
@media( min-width: 768px ) {
	#header-wrapper .header-content {
		padding-bottom: 0;
	}

	.header-logo {
		max-width: 200px;
	}
	
	#header-wrapper .menu-wrapper {
		margin-top: 30px;
	}

}

/* Custom Header Addon */
@media( min-width: 768px ) {
	.header-addon {
		position: relative;
		top: 5px;
		z-index: 10;
		background-color: #7C9E41;
		-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
		clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
		margin-top: -30px;
		margin-right: calc(50% - 50vw);
	}
	
	.header-addon:before {
		content: '';
		display: block;
		position: absolute;
		height: 100%;
		width: 100%;
		bottom: 5px;
		right: 0px;
		background: #000;
		-webkit-clip-path: polygon(5px 0, 100% 0, 100% 100%, calc( 10% + 5px ) 100%);
		clip-path: polygon(5px 0, 100% 0, 100% 100%, calc( 10% + 5px ) 100%);
	}
	
	.header-widget-area {
		width: 80%;
		padding-left: calc(10% + 10px);
	}
}

.header-addon {
	text-align: left;
}

.bne-header-icon-box {
	padding: 20px 0;
	display: flex;
	font-size: 30px;
	color: #cdad6d;
}

.bne-header-icon-box-content {
	padding-left: 10px;
	color: white;
	font-size: .9rem;
}

@media( max-width: 768px ) {
	.bne-header-icon-box {
		text-align: left;
	}
	.bne-header-icon-box-content {
		color: #000;
	}
	.header-logo {
		margin: 0 auto;
		text-align: center;
	}
	.header-logo img {
		max-height: 150px;
	}
}



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

article.page .entry-content > .bne-container.alignfull:last-child {
	margin-bottom: -92px;
}

@media (max-width: 600px) {
	.wp-block-media-text.is-stacked-on-mobile {
		grid-template-columns: 100% !important;
		grid-template-areas: "media-text-media" "media-text-content" !important;
	}
	.wp-block-media-text .wp-block-media-text__content {
		padding-top: 20px;
	}
}

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

.footer-widgets .widget-title {
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	position: relative;
	margin-bottom: 20px;
}

.footer-widgets .widget-title:after {
	content: "";
	background-image: url('/wp-content/themes/sweetness-child/assets/images/footer-divider.png');
	background-repeat: no-repeat;
	background-size: contain;
	width: 74%;
	height: 9px;
	position: absolute;
	bottom: -9px;
	left: 0;
	right: 0;
	margin: 0 auto;
}

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

.footer-widgets .widget ul {
	list-style: none;
	padding-left: 0;
}

#footer-wrapper {
	border-top: 5px solid #7C9E41;
}

/* == Footer Top Angle Design == */
.footer-top-bg {
	position: relative;
	height: 50px;
	width: 50%;
	top: 5px;
	z-index: 10;
	background-color: #7C9E41;
	-webkit-clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
	clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
}

.footer-top-bg:after {
	content: '';
	display: block;
	position: absolute;
	height: 45px;
	width: calc( 100% - 5px );
	top: 5px;
	left: 0px;
	background: #000;
	-webkit-clip-path: polygon(0 0, 90% 0, calc( 100% - 5px ) 100%, 0% 100%);
	clip-path: polygon(0 0, 90% 0, calc( 100% - 5px ) 100%, 0% 100%);
}

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

/* ===========================================================
 *	Plugins
 * ======================================================== */

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

.gform_wrapper .quote-form {
	position: relative;
}
@media( min-width: 1024px ) {
	.gform_wrapper .quote-form:before {
		content: "";
		position: absolute;
		top: -100px;
		right: -50px;
		width: 230px;
		height: 150px;
		background-image: url('/wp-content/themes/sweetness-child/assets/images/saw.png');
		background-size: contain;
		background-repeat: no-repeat;
	}
	.ghostkit-col-3 .gform_wrapper .quote-form:before {
		width: 200px;
	}
}

/* == BNE Locations == */
.location-section.entry-content > .wp-block-bne-container.alignfull:nth-child(1) {
	margin-top: -40px;
}

/* == BNE Testimonials == */
.testimonial-badge.fancy .badge-image {
	width: 50px;
}