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

#main-content .container::before {
  width: 0;
}

.et_pb_widget_area_right {
  border-left: 0 !important;
}

.et_pb_widget_area_left {
  border-right: 0 !important;
}

#main-header {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  padding-bottom: 10px;
}

@media only screen and (min-width: 1080px) {
  .dt-blog .et_pb_post.has-post-thumbnail .entry-featured-image-url {
    float: left;
    width: 30%;
    margin-right: 4%;
    padding-top: 30%;
  }

  .dt-blog .et_pb_post.has-post-thumbnail:not(.format-gallery) > .post-content {
    padding-left: 34%;
    padding-bottom: 0;
  }
}

/*blog image aspect ratio square 1:1*/

.pa-blog-image-1-1 .entry-featured-image-url {
  padding-top: 100%;
  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;
}


/* To make the background of the blog module transparent */
.et_pb_blog_grid .et_pb_post {
  background-color: transparent !important;
}
/* END To make the background of the blog module transparent */


/* Remove top margin on Divi blog posts */
body:not(.et-tb) #main-content .container,
body:not(.et-tb-has-header) #main-content .container {
  padding-top: 0;
}

/* Remove bottom margin on Divi blog posts */
.single .et_pb_post {
  margin-bottom: 0;
}

.single .post {
  padding-bottom: 0;
}

@media (min-width: 981px) {
  #left-area {
    width: 79.125%;
    padding-bottom: 0;
  }
}

/* To format sidebar of blog links */

/*set the text width*/
.pa-blog-sidebar-list .entry-title,
.pa-blog-sidebar-list .post-meta {
	float: left;
	padding-left: 20px;
    padding-right: 20px;
}

/*adjust the spacing */
.pa-blog-sidebar-list .et_pb_post:not(:last-child) {
	padding-bottom: 5px;
	margin-bottom: 5px;
}
/* END - To format sidebar of blog links */

/* Hide image titles on hover */ img { pointer-events:none; }