/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

.gform_required_legend {
	display: none;
}

#main-header {
	box-shadow: none;
}


.banner-image-home::after {
	content: "";
    height: 100%;
    width: 100%;
    background: #004067;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: -1;
}
.banner-image-home img {
    object-fit: cover;
    position: relative;
}

@media only screen and (min-width: 981px) {
	.center-content {
		margin: auto;
	}
	
	.home-banner-with-buttons .et_pb_button_module_wrapper {
	  display: inline-block;
	}
}

body .gform_wrapper .gform_body .gfield_label {
    font-size: 17px;
}

.gform-theme--framework .gf_step_completed .gf_step_number::after {
	background: #004067 !important;
	border-color: #004067 !important
}

body .gform_wrapper .gform_footer input[type=submit],
body .gform_wrapper .gform_page_footer input[type=submit],
body .gform_wrapper .gform_page_footer .gform_next_button {
	background: #004067 !important
}

.object-fit img {
	object-fit: cover;
}

@media all and (max-width: 980px) {
	
	h1.et_pb_module_heading {
		padding-bottom: 0 !important;
	}
	
	/*** 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;
	}

.custom_row .et_pb_column.et-last-child {
	margin-bottom: 30px;
}
}