#et-boc,
.et-l,
#et-fb-app-frame {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}

#et-fb-app-frame { z-index: 2; }

/* Force app frame ancestor elements to fully fill the top window */
.et_vertical_nav #et-main-area.et-fb-iframe-ancestor,
.et-fb-iframe-ancestor {
	width: 100vw !important;
	height: 100vh !important;
	margin: 0 !important;
	padding: 0!important;
	display: block !important;
	border: none !important;
	box-shadow: none !important;
}

/* Responsive Preview */
.et-fb-root-ancestor #et-boc,
.et-fb-root-ancestor #et-boc .et-l { background: #F1F5F9; }

.et-fb-preview--tablet #et-boc,
.et-fb-preview--tablet #et-boc .et-l,
.et-fb-preview--phone #et-boc,
.et-fb-preview--phone #et-boc .et-l { position: absolute; width: 100%; height: 100%; }

.et-db #et-boc .et-l #et-fb-app-frame {
	box-shadow: 0 5px 30px rgba(43, 135, 218, 0.2);
}

.et-fb-preview--tablet body,
.et-fb-preview--phone body,
.et-fb-preview--zoom body,
.et-fb-preview--tablet body.custom-background,
.et-fb-preview--phone body.custom-background,
.et-fb-preview--zoom body.custom-background {
	background: #F1F5F9;
}

.et-fb-preview--wireframe .et_pb_3rd_party_theme #et-boc,
.et-fb-preview--wireframe .et_pb_3rd_party_theme #et-boc .et-l,
.et-fb-preview--wireframe .et_pb_3rd_party_theme .media-modal-backdrop,
.et-fb-preview--wireframe .et_pb_3rd_party_theme #wpadminbar { z-index: 9999999; }

.et-fb-preview--wireframe .et_pb_3rd_party_theme .media-modal { z-index: 99999991; }

.et_pb_3rd_party_theme .media-modal button,
.et_pb_3rd_party_theme .media-modal input[type="button"],
.et_pb_3rd_party_theme .media-modal input[type="submit"] { font-weight: 400; }

.et_pb_3rd_party_theme .media-modal button.media-modal-close:hover { background: none; }
