/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Future Buffalo Web Design
 Author URI:     https://www.futurebuffalowebdesign.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* vertical align within columns */
.ds-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 


/* keep columns in mobile */
@media only screen and (max-width: 980px) {
 
	.two-columns .et_pb_column {
	width: 50%!important;
	}
	 
	.three-columns .et_pb_column {
	width: 33.33%!important;
	}
	 
	.four-columns .et_pb_column {
	width: 25%!important;
	}
 
}

/* column stacking order tweaks */

@media all and (max-width: 980px) {
	/*** wrap row in a flex box ***/
	.custom-row {
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -webkit-flex;
	  display: flex;
	-webkit-flex-wrap: wrap; /* Safari 6.1+ */
	flex-wrap: wrap;
	}
 
	/*** custom classes that will designate the order of columns in the flex box row ***/
	.first-on-mobile {
	-webkit-order: 1;
	order: 1;
	}
	 
	.second-on-mobile {
	-webkit-order: 2;
	order: 2;
	}
	 
	.third-on-mobile {
	-webkit-order: 3;
	order: 3;
	}
	 
	.fourth-on-mobile {
	-webkit-order: 4;
	order: 4;
	}
	/*** add margin to last column 
	.custom_row:last-child .et_pb_column:last-child {
	margin-bottom: 30px;
	}***/
	
	.hidden-on-mobile {
		display: none;
	}
 
}


/* inline image help */
.image-helper { max-width: 50%; padding-left: 2em; }

@media only screen and (max-width: 768px) {
		.image-helper { padding-bottom: 1em; padding-left: 0; max-width: 100%; }
}

