/*---------------------------------------------------------------------------------

 Theme Name:   I Love Social Work Child
 Theme URI:    https://ilovesocialwork.com
 Description:  A child theme for ASI's I Love Social Work Iniative
 Author:       Clayton Design Group
 Author URI:   https://claytondesigngroup.com
 Template:     Divi
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/*set the width of the rows inside the Post Content module*/
.et-db #et-boc .et-l .et-l--post .et_builder_inner_content .et_pb_row {
	width: 100%;
}

/*position the blog posts to prepare for moving the meta*/

.cdg-blog-separators article {
	position: relative;
}

/*.cdg-blog-separators .et_pb_blog_grid .et_pb_post .post-meta span.published {
	position: absolute;
	top: 0;
	left: 0;
	margin-bottom: 0;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	color: #6d6d66!important;
	background: #fff8e1!important;
	padding: 3px 12px;
	margin: 5px;
	border-radius: 2px;
}*/

/*remove negative margins from blog featured image*/
.et_pb_image_container {
	margin: 0px;
}

/*add spacing around the individual blog posts*/
.et_pb_blog_grid .et_pb_post {
	padding: 2%;
}

/*grid hover*/
.et_pb_post {
  transform: scale(1);
  transition: transform 0.3s ease-in-out;
}

.et_pb_post:hover {
  transform: scale(1.02);
}

/*adjust the image spacing*/

.et_pb_post .entry-featured-image-url {
	margin: 0;
}

/*keep the zoomed in image inside the image frame*/

.et_pb_blog_grid .et_pb_image_container {
	overflow: hidden;
}

/*add a smooth transition for the zoom effect*/

.et_pb_blog_grid .et_pb_image_container img {
	transition: all 0.95s ease;
	-moz-transition: all 0.95s ease;
	-webkit-transition: all 0.95s ease;
}

/*make the featured image zoom in on hover*/

.et_pb_blog_grid .et_pb_post:hover img {
	transform: scale(1.15) rotate(1deg);
	-moz-transform: scale(1.15) rotate(1deg);
	-webkit-transform: scale(1.15) rotate(1deg);
}

/* WP Forms Customization */
.wpforms-container-full .wpforms-form input[type=submit], 
.wpforms-container-full .wpforms-form button[type=submit] 
{
	background-color: #921127!important; /* background */
	border: 1px solid #921127; /* border */
	color: #ffffff; /* text color */
	width: 20%; /* width of button */
	font-family: oswald; /* text font */
	font-size: 18px;
	font-weight: 400; /* add style */
	text-transform: uppercase; /* Make letters uppercase */
}

.wpforms-container-full .wpforms-form input[type=submit]:hover, 
.wpforms-container-full .wpforms-form input[type=submit]:active, 
.wpforms-container-full .wpforms-form button[type=submit]:hover, 
.wpforms-container-full .wpforms-form button[type=submit]:active, 
.wpforms-container-full .wpforms-form .wpforms-page-button:hover, 
.wpforms-container-full .wpforms-form .wpforms-page-button:active {
    background-color: #3f9211!important; /* background */
    border: 1px solid #3f9211; /* border */
		color: #ffffff; /* text color */
		letter-spacing: 1px; /* space between letters */
}

/*equal height*/
.cdg-blog-equal-height .cdg-auto-height {
    height: auto !important;
}

.cdg-blog-equal-height .cdg-auto-margin {
    margin-top: 20px !important;
}