.edit-controls{ display: flex;  }

.edit-link{ margin-left: auto;  }

.edit-screen{ display: none; }

.edit-screen.active{ 
	position: fixed;
	z-index: 50;
	top: 0; left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	width: 100vw; 
}

.edit-post{
	position: relative;
	z-index: 2;
	padding: 1rem;
	overflow-y: auto;
	background-color: #fff;
	border: 1px solid var(--copy-color-lighter);
}

@media screen and (max-width: 40em){
	.edit-post{ width: 95vw; height: 95vh; }	
}

@media screen and (min-width: 40em){
	.edit-post{ width: 65vw; height: 90vh; }	
}


.edit-close{ 
	display: block;
	position: sticky;
	top: -1rem;
	z-index: 100;
	background-color: var(--body-background);
	padding: 0.5rem;
	margin: -1rem;
	text-align: right; 
	border-bottom: 1px solid var(--copy-color-lighter);
}

.edit-overlay{
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgb(0 0 0 / .5);
	backdrop-filter: blur(4px);
	z-index: 1;
	pointer-events: none;
}

.edit-post #message{
	padding: .5rem 1rem;
	font-size: 75%;
}

.edit-post textarea { font-family: var(--primary-font); }

.edit-post .acf-form-submit{
	padding: 15px 12px;
	display: flex;
}

.edit-post .acf-form-submit input[type="submit"]{ margin-left: auto;  }

/* single job  */


[data-template="single-job"] .edit-controls,
.bio--full .edit-controls{
	outline: 1px solid var(--copy-color-lighter);
	position: fixed;
	background-color: #fff;
	bottom: 0;
	right: 1rem;
	z-index: 99;
}

[data-template="single-job"] .edit-controls .edit-link,
.bio--full .edit-controls .edit-link{
	padding: .5rem 2rem;
}

/* form design  */

.acf-form{ margin-top: 1rem;  }

.acf-form *:focus{ box-shadow: 0 0 8px 0 var(--primary, --site-color);  }

.acf-form input, 
.acf-form select,
.acf-form textarea{ background-color: #fff;  }

.acf-form textarea{ height: 18rem; }

.select2-container--default .select2-selection--single{ 
	border-radius: 0 !important;
	height: 34px !important;  
}

.select2-container--default .select2-selection--single .select2-selection__rendered{ line-height: 34px !important; }

.acf-radio-list{
	list-style-type: none;
	display: flex;
	gap: var(--gap);
}

.acf-row:hover{ outline: 1px solid var(--primary); }

.acf-repeater .acf-row:hover .acf-row-handle .acf-icon{ 
	width: 1rem;
	height: 1rem;
	outline: 1px solid var(--copy-color-light);
	border-radius: 100%;
	background-color: #fff;
}

.acf-icon:after{
	content: "";
	position: absolute;
	display: block;
	width: 1rem;
	height: 1rem;
	line-height: 1rem;
	text-align: center;
	font-weight: 900;
}

.acf-icon[data-event="add-row"]:after{ content:"+"; }
.acf-icon[data-event="remove-row"]:after{ content:"-"; }

.acf-image-uploader{
	display: flex;
	align-items: center;
	background-color: #fff;
	gap: var(--gap);
}

.acf-form-fields{
	display: flex;
	flex-wrap: wrap;
}

.acf-relationship .selection .values .acf-icon{
	--size: calc(34px/2);

	top: 0 !important;
	right: 0 !important;
	height: var(--size); width: var(--size);
	border-radius: 100%;
	outline: 1px solid #fff;
}

.acf-relationship .selection .values .acf-icon:before{ 
	content: "X";
	height: var(--size);
	width: var(--size);
	line-height: var(--size);
	font-weight: 900;
	position: absolute;
	text-align: center;
	font-size: 75%;
}

.acf-field--post-title,
.acf-field-repeater{ flex-grow: 1;  }

.acf-row:hover{ background-color: transparent; }

.edit-post .acf-form-submit{ align-items: center; }

.acf-spinner{
	width: 2rem;
	text-align: center;
	display: none;
}

.acf-form.is-validating .acf-spinner{ display: block; }

@media screen and (max-width: 40em){
	.acf-form-fields{ flex-direction: column; }	
}

@media screen and (min-width: 40em){
	.acf-form-fields{ flex-direction: row; }	
}