/* Header Menu */
.et_pb_menu .et-menu-nav li ul.sub-menu li:last-child a {
    border-bottom: 0;
}
.et_pb_menu .et-menu-nav>ul ul {
    padding: 14px 0;
}
@media (min-width: 981px) {
	.et_pb_menu__icon.et_pb_menu__search-button {
		margin-left: 0;
		margin-right: -55px;
		margin-left: 38px;
		margin-top: -3px;
		font-weight: bold;
		color: #929292 !important;
	}
}

/* Divi Portfolio Posts Pro */
@media (max-width: 479px) {
	.et_pb_column .et_pb_grid_item.et_pb_portfolio_item {
		margin: 0 5.5% 9.5% 0 !important;
		width: 47.25% !important;
		overflow: hidden;
	}
	.et_pb_column .et_pb_grid_item.et_pb_portfolio_item:nth-child(2n) {
		margin-right: 0 !important;
	}
	.et_pb_column .et_pb_grid_item.et_pb_portfolio_item img.dp_ppp_post_thumb {
		max-width: 150%;
		margin-left: -25%;
	}
}

.et_pb_column .et_pb_filterable_portfolio .et_pb_portfolio_filters {
	text-align: center;
}
.et_pb_column .et_pb_filterable_portfolio .et_pb_portfolio_filters ul {
	display: inline-block;
}

/* Image crop-portrait-to-square (Crop to square) */
@media (min-width: 981px) {
	.et_pb_image.crop-portrait-to-square-desktop img {
		position: relative;
		max-width: 150%;
		left: -25%;
	}
}

/* Blog styles:
 * image-square-half
 * image-square-quarter */
.image-square-half .et_pb_post,
.image-square-quarter .et_pb_post {
	padding-bottom: 0;
	margin-bottom: 25px;
}
.image-square-half .et_pb_post .entry-featured-image-url,
.image-square-quarter .et_pb_post .entry-featured-image-url {
	display: block;
	position: relative;
	float: left;
	width: 40%;
	padding-top: 36%;
	margin-right: 4%;
	margin-bottom: 0;
}
@media (min-width: 480px) {
	.image-square-quarter .et_pb_post .entry-featured-image-url {
		width: 27%;
		padding-top: 25%;
	}
}
.image-square-half .et_pb_post .entry-featured-image-url img,
.image-square-quarter .et_pb_post .entry-featured-image-url img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/* Blog Extras:
 * image-left
 * image-square */
@media ( min-width: 781px ) {
	.image-left .et_pb_post_extra.el_dbe_grid_extended .post-media {
		width: 40%;
		margin: 21px 0;
	}
	.image-left .et_pb_post_extra.el_dbe_grid_extended .post-content {
		width: 95%;
		margin-left: -35%;
		padding-left: 39%;
	}
	.image-left .et_pb_post {
		margin-bottom: 30px;
	}
}
@media ( min-width: 980px ) {
	.image-square .et_pb_post_extra .post-media-container,
	.image-square .et_pb_post_extra .post-media {
		height: 26vw !important;
		max-height: 390px;
	}
}

/* Blog Extras video-overlay */
.video-overlay .et_pb_post_extra .et_overlay.et_pb_inline_icon:before {
	font-size: 80px;
	margin-left: -40px;
	margin-top: -40px;
	text-shadow: 2px 2px 10px rgba(0,0,0,.5);
}

/* Blog Extras hide-content */
.hide-content .et_pb_post_extra .post-data {
	display: none;
}

/* Blog Extras */
.single .et_pb_post.project.type-project.et_pb_post_extra.el_dbe_block_extended {
    margin-bottom: 35px;
}

/* Custom Divi Row Order */
@media all and (max-width: 980px) {
	.mobile_col_2_1 {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap; /* Safari 6.1+ */
		flex-wrap: wrap;
	}
 
	.mobile_col_2_1 .et_pb_column:nth-child(1) {
		-webkit-order: 2;
		order: 2;
	}

	.mobile_col_2_1 .et_pb_column:nth-child(2) {
		-webkit-order: 1;
		order: 1;
	}

	.mobile_col_2_1 .et_pb_column:nth-child(3) {
		-webkit-order: 3;
		order: 3;
	}
	
	.mobile_col_2_1 .et_pb_column:nth-child(4) {
		-webkit-order: 4;
		order: 4;
	}

	.mobile_col_2_1:last-child .et_pb_column:last-child {
	margin-bottom: 30px;
	}
}

/* Divi Grid Extended */
.no-content-padding .et_pb_post_extra.el_dbe_grid_extended .post-content {
	padding: 0;	
}

/* Vimeo Captions */
.wp-block-embed-vimeo figcaption {
    text-align: right;
    font-size: 15px;
}

/* WordPress Embeds */
.wp-block-embed-wordpress iframe.wp-embedded-content {
	width: 100%;
	margin-top: 35px;
	box-shadow: 0 0 14px rgba(0,0,0,.15);
}
.et_pb_post_content iframe.wp-embedded-content { 
	width: 100%;
}

/* Recipe Card Tweaks */
.wp-block-wpzoom-recipe-card-block-recipe-card {
    border: none !important;
    box-shadow: none !important;
	  padding-right: 0 !important;
}

/* Image Align Right on Mobile */
@media (max-width: 780px) {
	.wp-block-image .alignright {
    float: none;
    margin: .5em auto;
	}
}

/* Newsletter Plugin 
 * subscribe-single-line */
.subscribe-single-line
.es_subscription_form {
	background-color: #F4F6F8;
	border-radius: 4px;
	position: relative;
}
.subscribe-single-line
.es-field-wrap {
	display: inline-block;
	margin-bottom: 0;
}
.subscribe-single-line
.es_subscription_form .ig_es_form_field_email {
	font-family: 'League Spartan';
	border: 0;
	padding: 17px 75px 14px 18px;
	color: #4D7179;
	font-weight: 600;
	font-size: 18px;
	background: none;
	width: 100%;
}
.subscribe-single-line
.es_subscription_form 
.es_subscription_form_submit {
	font-family: 'League Spartan';
	border: none;
	background-color: #DBCABA;
	color: white;
	font-size: 19px;
	font-weight: bold;
	cursor: pointer;
	text-transform: uppercase;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	padding: 2px 18px 0 18px;
	border-radius: 0 4px 4px 0;
}
.subscribe-single-line
.es_subscription_message.success {
	color: #666;
	font-style: italic;
	font-weight: 600;
}
.subscribe-single-line
.es_subscription_message.error {
	display: block;
	margin-top: 10px;
}
.subscribe-single-line
.es_subscription_form
.es_spinner_image {
	margin-top: 10px;
	margin-right: 10px;
}

/* Newsletter Plugin
 * subscribe-multiline */
.subscribe-multiline
.es_subscription_form
input {
	width: 100%;
	border: 1px solid #caa756;
	padding: 15px 15px 10px 17px;
	border-radius: 4px;
	font-weight: 600;
}
.subscribe-multiline
.es_subscription_form input.ig_es_form_field_email::placeholder {
	font-style: italic;
	color: #ccc;
}
.subscribe-multiline
.es_subscription_form
input.es_subscription_form_submit {
	font-family: 'League Spartan';
	background-color: #caa756;
	color: white;
	cursor: pointer;
	font-size: 17px;
}
.subscribe-multiline
.es_subscription_form
input.es_subscription_form_submit:hover {
	background-color: #c18730;
}
.subscribe-multiline
.es_subscription_message.success {
	color: #666;
	font-style: italic;
	font-weight: 600;
}
.subscribe-multiline
.es_subscription_message.error {
	display: block;
	margin-top: 10px;
}
.subscribe-multiline
.es_subscription_form
.es_spinner_image {
	width: 100%;
	text-align: center;
	margin-top: 10px;
}

/* Gutenberg Post Styles */
.mt-50 {
	margin-top: 50px;
}
.wp-block-columns h3 {
	color: #4a6a80;
	font-weight: bold;
	font-size: 20px;
}
.wp-block-columns h3 a {
	text-decoration: none;
}
.wp-block-columns .wp-block-image {
	margin-bottom: 0;
}

.wp-block-columns.box-shadow {
	margin-top: 25px;
	margin-bottom: 25px;	
}
.wp-block-columns.box-shadow .wp-block-column {
	box-shadow: 0 0px 25px #ccc;
}
@media (max-width: 599px) {
	.wp-block-columns.box-shadow .wp-block-column:not(:last-child) {
		margin-bottom: 30px;
	}
}
.wp-block-columns.box-shadow .wp-block-group {
	padding: 15px 25px;
}

.wp-block-button__link {
	padding: 8px 30px 4px 30px;
	text-decoration: none !important;
	text-transform: uppercase;
	font-weight: bold;
	font-family: 'League Spartan', Helvetica, Arial, Lucida, sans-serif !important;
	font-size: 16px;
	line-height: 1.5;
}

@media ( max-width: 600px ) {
	.wp-block-media-text .wp-block-media-text__media {
		margin-bottom: 20px;
	}
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		padding: 0;
	}
}

/* Fix Divi Blog Extras disappearing when Divi Dynamic CSS is enabled */
.et-waypoint:not(.et_pb_counters).et_pb_animation_off {
	opacity: 1;
}

