/*
Theme Name: DJC Bids
Theme URI: 
Description: Child theme of Divi theme for the Divi theme
Author: <a href="http://www.elegantthemes.com">Elegant Themes</a>
Author URI: 
Template: Divi
Version: 3.15
*/

/* Generated by Orbisius Child Theme Creator (http://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Sun, 21 Oct 2018 18:36:58 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/
		#bid-search tr td {
			width: 50%;
			padding: 20px;
			border-left: 1px solid rgba(0,0,0,.2);
			border-right: 1px solid rgba(0,0,0,.2);
		}
		.search-field {
			/*padding: 10px;*/
		}
		.search-field-wrap {
			margin-bottom: 20px;
		}
		.search-field-wrap label,
		.search-field label {
			font-size: 12px;
		}
		.search-field input {
			width: 100%;
		}
		.container {
			width: 95%;
		}
		#bid-search tr:nth-child(even) {
			background-color: #efefef;
		}
		#main-content .container:before {
			background-color: transparent;
		}
		.material-row {
			border-bottom: 1px solid rgba(0,0,0,.2);
		}
		.acf-table tbody tr td.acf-fields {
			display: flex;
			flex-flow: wrap;
		}

		@media (min-width: 450px) {
			.acf-fields .acf-field {
				width: 50%;
			    float: left;
			    box-sizing: border-box;
			    clear: none;
			}
			[data-name="delivery_address"] {
				width: 100% !important;
			}
			[data-name="delivery_city"] {
				width: 50% !important;
			}
			[data-name="delivery_state"] {
				width: 30% !important;
			}
			[data-name="delivery_zip"] {
				width: 20% !important;
			}
			[data-name="job_description"] {
				width: 100% !important;
			}
			[data-name="material_list"] {
				width: 100% !important;
			}
			[data-name="rate"] {
				width: 100% !important;
			}
			[data-name="material_list"] .acf-field {
				width: 25% !important;
			}
			.acf-table tbody tr td.acf-fields .acf-label {
				display: block;
				/*float: none !important;
				width: 100% !important;*/
			}
			.acf-fields .acf-field {
				/*display: flex;
				flex-direction: row;
	    		align-items: stretch;*/
	    		border: 0;
			}
			.acf-label {
				padding: 0 10px 0 0;
			}
			.acf-input {
				/*flex: 1;*/
				border-radius: 4px;
			}
			.acf-fields.-left > .acf-field > .acf-label {
				float: none;
				width: auto;
			}
			.acf-fields.-left > .acf-field > .acf-label {
				width: auto !important;
			}
			/* ADDED to remove acf generated extra borders from top of fields */ 
			.acf-fields > .acf-field {
                position: relative;
                margin: 0;
                padding: 5px 5px !important;
                border-top: none !important;
            }
            /* ADDED to style section titles */ 
            .page-template-page-entryform h4 {
                color: black;
                font-weight: 700;
                padding: 10px 0 0 5px;
                clear: both;
            }
            /* ADDED to style the submit button */ 
            [type=reset], [type=submit], button, html [type=button] {
                position: relative;
                padding: .3em 1em;
                border: 2px solid;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px;
                background-color: transparent;
                background-repeat: no-repeat;
                background-position: center;
                background-size: cover;
                font-size: 20px;
                font-weight: 500;
                line-height: 1.7em!important;
                -webkit-transition: all .2s;
                -moz-transition: all .2s;
                transition: all .2s;
                cursor:pointer;
}
		}
		@media (min-width: 450px) {
			.acf-table tbody tr td > div {
				width: 25%;
			}
		}
		#acf-form {
			border: 0;
		}
		.acf-fields.-left > .acf-field:before {
			border: 0 !important;
			background-color: transparent !important;
		}
		.edit-button {

		}
		@media (max-width: 768px) {
			.edit-button {
				float: none;
				display: block;
				text-align: center;
			}
			.search-field label {
				font-size: 14px;
			}
			.status-item {
			   flex-grow: 0;
			   flex-shrink: 0;
			   flex-basis: 100%;
			}
		}
		[data-name="uid"] {
		    opacity: 0;
		    display: none;
		}
		[data-name="bid_created_date"] {
		    opacity: 0;
		    display: none;
		}
		[data-name="bid_history"] {
		    opacity: 0;
		    display: none;
		}
		.page-template-page-entryform h4 {
			clear: both;
		}

#bid-email-toggle-wrapper {
	clear: both;
    margin-top: 20px;
}
label[for="bid-email-toggle"] {
	margin-right: 5px;
}
#email-bid-message {
	clear: both;
	min-height: 240px;
}
.send-bid-email {
	clear: both;
    margin-top: 10px;
}
@media (min-width: 769px) {
	#email-bid-message {
		width: 250px;
	}
}
@media (max-width: 768px) {
	#email-bid-message {
		width: 100%;
	}
}
#bid-content {
	margin-top: 40px;
}
#controls-wrapper {
	text-align: right;
}
div[data-name="cross_streets_notes"],
div[data-name="delivery_date_notes"],
div[data-name="material_notes"],
div[data-name="quantity_notes"],
div[data-name="rock_or_material_pit_notes"],
div[data-name="customer_account_notes"],
div[data-name="price_notes"] {
	background-color: #FFFFE0;
}

div[data-name="payment_contact_notes"] {
	width: 100% !important;
	background-color: #FFFFE0;
}
.acf-field {
	margin-bottom: 10px !important;
}
div.note {
	padding: 10px;
	box-sizing: border-box;
	background-color: #FFFFE0;
}
.row.wrap div {
	margin-bottom: 10px !important;
}