/**
 * Included when fields of this type are rendered for editing by publishers.
 */
.grid-x {
	display: flex;
	flex-flow: row wrap;
}

.grid-x-c {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}

.acf-field[offilio_video] input {
	width: 100%;
	background: #f0f0f0;
	font-family: monospace;
	color: #2271b1;
}

.ofilio-video-options {
	margin-left: 79px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 12px;
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
}
.ofilio-video-id {
    margin-bottom: 5px;
}
.ofilio-video-options label {
	flex: 0 0 95px;
	margin-right: 10px;
	font-weight: bold;
}

.ofilio-video-options input {
	flex: 1;
	background: #f0f0f0;
	font-family: monospace;
	color: #2271b1;
    max-width: 50%;
}
.ofilio-video-options .poster-time-button {
    margin-left: 10px;
}
.ofilio-video-options em {
	font-size: 13px;
	font-weight: normal;
}


.ui-dialog.ofilio-poster-dialog {
	position: fixed !important;
	top: 50px !important;
	left: 50% !important;
	transform: translateX(-50%);
	width: auto !important;
	max-width: 800px !important;
	z-index: 99999 !important;
}

.ui-widget-overlay {
	background: rgba(0,0,0,0.8) !important;
	opacity: 1 !important;
	z-index: 99998 !important;
}

.ofilio-poster-dialog .ui-dialog-content {
	padding: 0 !important;
	background: #000;
	overflow: hidden;
}
.ofilio-poster-dialog .ui-dialog-titlebar {
	padding: 8px 36px 8px 16px;
}
.ofilio-poster-dialog .ui-dialog-titlebar-close:before {
	font-size: 28px;
}
.ofilio-poster-dialog video {
	display: block;
	width: 100%;
	max-height: 70vh;
	background: #000;
}
.ofilio-poster-dialog div:last-child {
	background: #f1f1f1;
	padding: 15px;
	border-top: 1px solid #ccc;
	text-align: right;
}

.acf-video-field-editing .wp-video {
	margin-right: 3em;
	max-width: 250px !important;
}

.acf-video-field-editing .mejs-video {
	width: 100% !important;
}


.acf-video-field-editing .attachment-info {
	display: flex;
	flex-flow: row wrap;
}