
/*======================================
Theme Name: Free Divi Child Theme By Pee-Aye Creative
Theme URI: https://www.peeayecreative.com/
Description: This is a free Divi child theme from Pee-Aye Creative!
Author: Nelson Lee Miller (aka The Divi Teacher)
Author URI: https://www.peeayecreative.com/
Author Email: nelson@peeayecreative.com
Template: Divi
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
======================================*/

/* ===== NOTES ==================================================================
 * 
 * New to Divi? Take our full Divi course: https://www.peeayecreative.com/product/beyond-the-builder-the-ultimate-divi-website-course/
 * 
 * Learn cool tricks and features with our Divi tutorials: https://www.peeayecreative.com/blog/
 * 
 * Discover our premium Divi products: https://www.peeayecreative.com/shop/
 * 
 * =============================================================================== */

/*add your custom CSS below this line*/

/* ### 4-column blog grid ###*/
@media (min-width: 981px) {
	.cu-blog-4 .et_pb_salvattore_content[data-columns]::before {
		content: "4 .column.size-1of4" !important;
	}
	
	.cu-blog-4 .column.size-1of4 {
		width: 23% !important;
		margin-right: 2%;
	}
	
	.cu-blog-4 .et_pb_post {
		margin-bottom: 11px;
	}
}

/*style the Divi blog link text as a button*/
.et_pb_post a.more-link {
	font-variation-settings: "wght" 600;
	color: #0055b8 !important;
	background: transparent !important;
	border: 2px solid #0055b8 !important;
	padding: .4em 1.3em .3em 1.3em !important;
	margin-top: 20px !important;
	border-radius: 50px !important;
	text-transform: capitalize !important;
	display: inline-block !important;
	transition: all .3s ease-in-out !important;
}

/*style the Divi blog link text as a button on hover*/
.et_pb_post a.more-link:hover {
	background: #0055b8 !important;
	color: #fff !important;
	border: 2px solid #0055b8 !important;
	transition: all .3s ease-in-out;
}

/*image gallery item aspect ratio landscape 16:9*/
.pa-image-gallery-16-9 .et_pb_gallery_image {
	padding-top: 56.25%;
	display: block;
}

.pa-image-gallery-16-9 .et_pb_gallery_item img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*image gallery item aspect ratio landscape 3:2*/
.pa-image-gallery-3-2 .et_pb_gallery_image {
	padding-top: 66.67%;
	display: block;
}

.pa-image-gallery-3-2 .et_pb_gallery_item img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*image aspect ratio landscape 16:9*/
.pa-image-16-9 .et_pb_image_wrap {
	padding-top: 56.25%;
	display: block;
}

.pa-image-16-9 .et_pb_image_wrap img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*image aspect ratio landscape 4:1*/
.pa-image-4-1 .et_pb_image_wrap {
	padding-top: 25%;
	display: block;
}

.pa-image-4-1 .et_pb_image_wrap img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*image aspect ratio square 1:1*/
.pa-image-1-1 .et_pb_image_wrap {
	padding-top: 100% !important;
	display: block;
}

.pa-image-1-1 .et_pb_image_wrap img {
	position: absolute;
	height: 100% !important;
	width: 100% !important;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover !important;
}

/*image aspect ratio landscape 4:3*/
.pa-image-4-3 .et_pb_image_wrap {
	padding-top: 75%;
	display: block;
}

.pa-image-4-3 .et_pb_image_wrap img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*image aspect ratio landscape 3:4*/
.pa-image-3-4 .et_pb_image_wrap {
	padding-top: 133.33%;
	display: block;
}

.pa-image-3-4 .et_pb_image_wrap img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*image aspect ratio landscape 3:1*/
.pa-image-3-1 .et_pb_image_wrap {
	padding-top: 33.33%;
	display: block;
}

.pa-image-3-1 .et_pb_image_wrap img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*image gallery item aspect ratio square 1:1*/
.pa-image-gallery-1-1 .et_pb_gallery_image {
	padding-top: 100%;
	display: block;
}

.pa-image-gallery-1-1 .et_pb_gallery_item img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*image gallery item aspect ratio landscape 4:3*/
.pa-image-gallery-4-3 .et_pb_gallery_image {
	padding-top: 75%;
	display: block;
}

.pa-image-gallery-4-3 .et_pb_gallery_item img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

body #page-container .et_pb_section.pa-fixed-header .et_pb_button_0_tb_header {
	font-size: 12px !important;
	padding-top: 4px !important;
	padding-bottom: 2px !important;
	padding-left: 11px !important;
	padding-right: 11px !important;
}

/*image gallery item aspect ratio portrait 3:4*/
.pa-image-gallery-3-4 .et_pb_gallery_image {
	padding-top: 133.33%;
	display: block;
}

.pa-image-gallery-3-4 .et_pb_gallery_item img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*divi blog extra image aspect ratio landscape 4:3*/
.blog-slider-image-16-9 .el-dbe-blog-extra-slider.vertical_grid .entry-featured-image-url {
	padding-top: 56% !important;
	display: block !important;
	overflow: hidden !important;
}

.blog-slider-image-16-9 .el-dbe-blog-extra-slider.vertical_grid .entry-featured-image-url img {
	position: absolute !important;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover !important;
	border-radius: 0px !important;
	overflow: hidden !important;
}

.blog-slider-image-16-9 .el-dbe-blog-extra-slider.vertical_grid .post-content {
	margin-top: -10px !important;
	overflow: hidden !important;
}

/*divi blog extra image aspect ratio landscape 4:3*/
.blog-image-16-9 .et_pb_post_extra.el_dbe_grid_extended .entry-featured-image-url {
	padding-top: 56% !important;
	display: block !important;
	overflow: hidden !important;
}

.blog-image-16-9 .et_pb_post_extra.el_dbe_grid_extended .entry-featured-image-url img {
	position: absolute !important;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover !important;
	border-radius: 0px !important;
	overflow: hidden !important;
}

.blog-image-16-9 .et_pb_post_extra.el_dbe_grid_extended .post-content {
	margin-top: -10px !important;
	overflow: hidden !important;
}

/*divi blog extra image for list aspect ratio landscape 4:3*/
.blog-list-image-16-9 .et_pb_post_extra.el_dbe_grid_extended .entry-featured-image-url {
	padding-top: 56% !important;
	display: block !important;
	overflow: hidden !important;
}

.blog-list-image-16-9 .et_pb_post_extra.el_dbe_grid_extended .entry-featured-image-url img {
	position: absolute !important;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover !important;
	border-radius: 0px !important;
	overflow: hidden !important;
}

.blog-list-image-16-9 .et_pb_post_extra.el_dbe_grid_extended .post-content {
	margin-top: -10px !important;
	overflow: hidden !important;
}

/*divi blog extra image for list aspect ratio landscape 1:1*/
.blog-list-image-1-1 .et_pb_post_extra .entry-featured-image-url {
	padding-top: 100% !important;
	display: block !important;
	overflow: hidden !important;
}

.blog-list-image-1-1 .et_pb_post_extra .entry-featured-image-url img {
	position: absolute !important;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover !important;
	border-radius: 0px !important;
	overflow: hidden !important;
}

.blog-list-image-1-1 .et_pb_post_extra .post-content {
	margin-top: -10px !important;
	overflow: hidden !important;
}

/*blog image aspect ratio landscape 16:9*/
.pa-blog-image-16-9 .entry-featured-image-url {
	padding-top: 56.25%;
	display: block;
}

.pa-blog-image-16-9 .entry-featured-image-url img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*blog image aspect ratio square 1:1*/
.pa-blog-image-1-1 .entry-featured-image-url {
	padding-top: 50%;
	display: block;
}

.pa-blog-image-1-1 .entry-featured-image-url img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*Blurb image aspect ratio landscape 3:2  without image crop*/
.et_pb_blurb.pa-blurb-image-3-2 .et_pb_main_blurb_image {
	display: block;
	position: relative;
}

.et_pb_blurb.pa-blurb-image-3-2 .et_pb_image_wrap {
	padding-top: 66.66% !important;
}

.et_pb_blurb.pa-blurb-image-3-2 .et_pb_image_wrap img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0 !important;
	object-fit: cover;
}

/*Blurb image aspect ratio landscape 16:9  without image crop*/
.et_pb_blurb.pa-blurb-image-16-9 .et_pb_main_blurb_image {
	display: block;
	position: relative;
}

.et_pb_blurb.pa-blurb-image-16-9 .et_pb_image_wrap {
	padding-top: 56.25%;
}

.et_pb_blurb.pa-blurb-image-16-9 .et_pb_image_wrap img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

/*Blurb image aspect ratio square 1:1 without image crop*/
.et_pb_blurb.pa-blurb-image-1-1 .et_pb_main_blurb_image {
	display: block;
	position: relative;
}

.et_pb_blurb.pa-blurb-image-1-1 .et_pb_image_wrap {
	padding-top: 100%;
}

.et_pb_blurb.pa-blurb-image-1-1 .et_pb_image_wrap img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0 !important;
	object-fit: cover;
}

/*style the Divi Blurb link as a button*/
a.pa-blurb-button {
	color: #0077de;
	background: rgba(2, 102, 255, 0);
	border: 2px solid #0077de;
	padding: .5em 1.4em .4em 1.4em;
	margin-top: 1em;
	border-radius: 50px;
	font-variation-settings: "wght" 650;
	display: inline-block;
	transition: all .3s ease-in-out;
}

/*style the Divi Blurb link text as a button on hover*/
a.pa-blurb-button:hover {
	background: #0077de;
	color: #fff;
	border: 2px solid #0077de;
	cursor: pointer;
	transition: all .3s ease-in-out;
}

/*Remove Post Content Padding*/
#et-main-area .et_pb_de_mach_content .et_pb_section, .et-db #et-boc #et-main-area .et-l .et_pb_de_mach_content .et_pb_section {
	padding: 0px !important;
	margin: 0px !important;
	max-height: 50px !important;
}

#et-main-area .et_pb_de_mach_content .et_pb_row, .et-db #et-boc #et-main-area .et-l .et_pb_de_mach_content .et_pb_row {
	padding: 0px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0px !important;
}

/*Fixed Header*/
.pa-fixed-header .et_pb_menu {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	transition: all .5s ease-in-out !important;
}

.pa-header .et_pb_menu {
	transition: all .5s ease-in-out !important;
}

.pa-fixed-header .et_pb_image {
	-webkit-transition: all .5s ease !important;
	-moz-transition: all .5s ease !important;
	-o-transition: all .5s ease !important;
	transition: all .5s ease !important;
}

.pa-fixed-header .et_pb_image {
	max-width: 100px !important;
}

.pa-header .et_pb_image {
	-webkit-transition: all .5s ease !important;
	-moz-transition: all .5s ease !important;
	-o-transition: all .5s ease !important;
	transition: all .5s ease !important;
}

/*set the transition for the spacing shrinking action*/
.pa-header .et_pb_row {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*set the background color of the fixed header when scrolling*/
.pa-fixed-header .et_pb_row {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	max-height: 50% !important;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*set the transition for the logo shrinking action*/
.pa-header .et_pb_menu__logo img {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*set the transition for the font size shrinking action*/
.pa-header .et_pb_menu ul li a {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*change the menu font size when the header shrinks*/
.pa-fixed-header .et_pb_menu ul li a {
	font-size: .9em !important;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/* Ensure the fixed header section can flex */
.pa-fixed-header .et_pb_row {
	display: flex;
	/* Use flexbox for alignment */
	justify-content: space-between;
	/* Aligns items in the row */
	align-items: center;
	/* Center aligns vertically */
	padding: 0px 0;
}

.pa-fixed-header {
	height: auto;
	/* Allow height to adjust */
	max-height: 70% !important;
}

/*set the logo height and overlap on desktop*/
@media only screen and (min-width: 981px) {
	#logo {
		min-height: 100px;
	}
}

/*set the logo height and overlap on tablet and mobile*/
@media only screen and (max-width: 980px) {
	#logo {
		max-height: 80%;
		width: auto;
		max-width: 80% !important;
	}
}
