/*!
Theme Name: Basement Windows of Denver
Template: Divi
Version: 1.0
Description: Child theme of Divi with customizations to automate the Basement Window Quote System
Author: Crack-Ajax
Author URI: http://crack-ajax.com
*/

/* Gutenberg Page Styling */
.page-id-5514.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container, .page-id-5517.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container, .page-id-5520.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container {
	padding-top: 111px !important;
}

body.page-id-5514 #main-content>.container:first-child, 
body.page-id-5517 #main-content>.container:first-child, 
body.page-id-5520 #main-content>.container:first-child {
	padding-top: 0;
}

body.page-id-5514 #main-content article>h1:first-child, 
body.page-id-5517 #main-content article>h1:first-child, 
body.page-id-5520 #main-content article>h1:first-child {
	display: none;
}

.gutenberg-title {
	margin-bottom: 50px !important;
}

.gutenberg-title .wp-block-cover__inner-container {
	max-width: 1080px;
	margin: auto;
}

.wp-block-group {
	margin-bottom: 50px;
}
/* End Gutenberg Page Styling */

/* Divi Footer in Block */
.alignfull {
	margin: 50px calc(50% - 50vw) 0;
	max-width: 100vw;
	width: 100vw;
}

.wp-block-group.alignfull .wp-block-divi-layout {
	margin-bottom: 0;
}

/* End Divi Footer in Block */

/*Gravity Contact Form */

.left-half,
.right-half {
	display: inline-block;
	width: 50%;
}

.full-width {
	display: inline-block;
	width: 100%;
}

.gform_wrapper input:not([type=submit]),
.gform_wrapper textarea,
.gform_wrapper select {
	color: #999;
    background-color: #eee;
    font-size: 14px;
	padding: 10px 16px !important;
	border: 0;
}

.gform_wrapper textarea {
	height: 150px !important;
}

.gform_wrapper select {
	padding: 8px 16px;
}

#gform_wrapper_1 input[type=submit],
#gform_wrapper_2 input[type=submit],
#gform_wrapper_3 input[type=submit],
#gform_wrapper_4 input[type=submit]{
	border: 2px solid #2ea3f2;
	border-radius: 3px;
	color: #2ea3f2;
	padding: .3em 1em !important;
	float: right;
	font-size: 20px;
    font-weight: 500;
    line-height: 1.7em!important;
}

.gform_wrapper .gform_footer {
	position: absolute;
    margin-top: -67px;
}

.gform_wrapper input[type=submit]:hover {
	color: white !important;
	background-color: #2ea3f2 !important;
}

.gform_confirmation_message {
	margin-top: 30px;
}

@media only screen and (max-width: 641px) {
	
	.gform_wrapper .gform_footer {
		position: relative;
		margin-top: 0;
	}
	
	.left-half,
	.right-half {
		width: 100%;
	}
	
	.gform_wrapper input:not([type=submit]) {
		line-height: normal;
	}
	
}

.gform_wrapper .gform_footer {
    z-index: 10000000000000000;
	position:inherit!important;
} 

/*End Gravity Form Styling */

.wp-block-media-text {
	margin-top: 50px;
}

@media (max-width: 480px) {
	h2.has-background {
		padding: 30px 10px;
	}
	
	h2.has-large-font-size {
		font-size: 26px !important;
	}
	
	.wp-block-media-text .wp-block-media-text__media {
		margin-bottom: 20px;
	}
	
	.wp-block-media-text .wp-block-media-text__content {
		padding: 0 20px;
	}
	
	.gutenberg-title {
		margin-top: 0 !important;
	}
}

.et_secondary_nav_enabled #page-container #top-header {
	background-color: #404040!important;
}

.et_pb_post > a img {
	float: left;
	margin-right: 4%;
	width: 40% ;
}
#page-container .et_pb_post {
	clear: both !important;
	float: none !important;
	margin: 0 !important;
}
@media (max-width: 767px) {
	.et_pb_slide_image {
		display: block !important;
	}
}
