/*
Theme Name: Divi-child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Child theme for the Divi theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
Version: 1.0.0
*/

/* CSS for animated Blurbs w/ only one horizontal line at bottom of card */

.blurb-core_values {-webkit-transition: all .5s ease;-moz-transition: all .5s ease;-o-transition: all .5s ease;-ms-transition: all .5s ease;transition: all .5s ease;}
.blurb-core_values:hover {transform: translateY(0px);}
.blurb-core_values:before {content: '';display: block;position: absolute;left: 0;bottom: 0;height: 3px;width: 0;transition: width 0s ease, background .5s ease;}
.blurb-core_values:after {content: '';display: block;position: absolute;right: 0;bottom: 0;height: 3px;width: 0;background: #c55f0d;transition: width .5s ease;}
.blurb-core_values:hover:before {width: 100%;background: #c55f0d;transition: width .5s ease;}
.blurb-core_values:hover:after {width: 100%;background: transparent;transition: all 0s ease;}

/* CSS for animated Blurbs w/ two lines simulateneously extending from opposite corners */

.blurb-core_values1{position:relative;z-index:0;}
.blurb-core_values1:after,
.blurb-core_values1:before{content:"";height:4px;width:0px;position:absolute;transition:all 0.5s ease 0s;-webkit-transition: all 0.5s ease 0s; z-index:-1;border-width:2px;transition-property:width,height;}
.blurb-core_values1:after { left: 0; bottom: 0; }
.blurb-core_values1:before { right: 0; top: 0;}
.blurb-core_values1:hover:before{ width: 25%; height:25%;border-top:3px solid #c55f0d;border-right:3px solid #c55f0d;}
.blurb-core_values1:hover:after{ width: 25%; height:25%;border-left:3px solid #c55f0d;border-bottom:3px solid #c55f0d;}

/* End Blurb CSS */

/* Start: Divi Gallery Customizations */

.et_overlay {
	display: none;
}

.mfp-title {
	display: none;
}

.et_pb_gallery_image.landscape {
    overflow: hidden;
}

.et_pb_gallery_grid .et_pb_gallery_item img {
	transform: scale(1.03);
	transition: transform 0.5s, opacity 0.5s;
}

.et_pb_gallery_grid .et_pb_gallery_item img:hover {
	transform: scale(1.70);
	opacity: 1;
}

.et_pb_gallery_grid .et_pb_gallery_item {
	padding: 2px;
	width: 20%!important;
	clear: right!important;
}

.et_pb_gallery_grid .et_pb_gallery_item .et_pb_gallery_title {
	text-align: center;
}

/*--------- Mobile Customizations ---------------------*/

@media only screen and (max-width: 479px) {

	/* Gallery page -> Mobile fix for text at top of gallery images */
    .et_pb_blurb_0 h4 { line-height: 1em !important; margin-bottom: 15px}

}