#modal-form {
	height: 0;
}
.modal-form-backdrop {
	backdrop-filter:blur(5px);
	position:fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index:30; 

	display: flex;
	align-items: center;
	justify-content: center;

	z-index: 10000;

	background-color: rgba(0,0,0,0.5);
}
#modal-form-popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 900px;
	background: white;
	height: 80%;
	max-height: calc(100vh - 300px);
	/*padding-top: 99px;*/
	border: solid 1px var(--fossil-rim);
	border: none;

	padding-bottom: 1px;
}
@media (max-width: 950px){
	#modal-form-popup{
		width: calc(100% - 2*15px);
	}
}
.close-modal {
	position: absolute;
	top: 48px;
	top: 50%;
	/*-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);*/
	right: 32px;
	z-index: 1;

	display: flex; 
	align-items: center;
	justify-content: center;


	right: 0px; 
	top: 0px;
	height: 100%;
	width: 88px;
	background-position: center; 
	background-repeat: no-repeat;
	background-size: 24px 24px;
}
@media (max-width: 900px){
	.close-modal{
		/*top: 10px;*/
		/*right: 10px;*/
		/*-moz-transform: translateY(0%);
		-webkit-transform: translateY(0%);
		-o-transform: translateY(0%);
		-ms-transform: translateY(0%);
		transform: translateY(0%);*/
	}
}
.close-modal:hover { cursor: pointer; }
.top-section {
	padding: 29px 32px;
	position: absolute;
	position: relative;
	/*left:0px;
	top:0px;
	width: 100%;*/
}
.bot-section {
	padding-top: 48px;
	padding-top: 50px;
	padding: 24px 48px;
	overflow-y: auto;
	/*height: calc(100vh - 200px - 105px);*/
	/*max-height: calc(100vh - 200px);*/
	background: white;
	height: 100%;
}
.bot-section .z-form-fields{
	position: relative;
}
.bot-section .z-form-fields .z-input-holder-bottom-buttons{
	left: -48px;
	bottom: -24px;
	width: calc(100% + 2* 48px);
	position: absolute;
}
.bot-section .z-form-fields-scrollable{
	margin-bottom: 0px;
}

@media (max-width: 550px){
	.bot-section{
		padding: 20px 15px;
	}
	.bot-section .z-form-fields .z-input-holder-bottom-buttons{
		left: -15px;
		bottom: -20px;
		width: calc(100% + 2* 15px );
	}
	.z-input-holder-bottom-buttons{
		padding-left: 15px;
		padding-right: 15px;
	}
}
.bot-section form {
	margin-top: 32px;
	margin-top: 0px;
}
.top-section-title { color: white; text-align: center; }
.bot-section h3 { text-align: center; }
/*.form-fields {
	height: 603px;
	overflow-y: scroll;
	padding: 0 48px 142px;
}*/
.bot-section .form-fields{
	padding: 0px;
	padding-bottom: calc(115px - 24px);
}
.bot-section .form-fields h3{
	display: none;
}
.bot-section .form-submit-flex {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 32px 48px;
	background: var(--site-bg);
}
.bot-section .form-submit-flex p {
	display: flex;
	align-items: center;
}
.bot-section .form-submit-flex .form-cancel { margin-right: auto; }
.bot-section form input[type="text"], .bot-section form input[type="email"], .bot-section form input[type="tel"] {
	width: 100%;
	border-top: 0;
	border-left: 0;
	border-right: 0;
}
.bot-section form label {
	font-family: 'termina', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}
.bot-section form .form-field-flex {
	display: flex;
	align-items: center;
	column-gap: 32px;
}
.bot-section form .form-address-flex {
	display: flex;
	align-items: center;
	column-gap: 32px;
}
.bot-section form .form-address-flex .city, .bot-section form .form-address-flex .state, .bot-section form .form-address-flex .zip { width: 33.3%; }
.bot-section form .form-field-flex .left, .bot-section form .form-field-flex .right { width: 50%; }
.form-fields > div { margin-bottom: 32px; }
.form-fields > div:last-child { margin-bottom: 0; }
button.form-cancel {
	background: var(--cream);
	color: var(--dark-grey);
	border-color: var(--cream);
}
button.form-cancel:hover {
	color: white; 
}
.bot-section form input[type="submit"] {
	padding: 12px 24px;
	border: 0;
	font-size:16px;
	font-weight:400;
	color: white;
	background: var(--monarch);
	transition: all .5s;
	border:1px solid var(--monarch);
	display: flex;
	align-items: center;
	font-family: 'source-sans-pro', sans-serif;
	font-weight: 700;
}
.bot-section form input[type="submit"]:hover {
	cursor: pointer;
	background: var(--fossil-rim);
	border-color: var(--fossil-rim);
}
