/**
 * Global Blocks
 *
 * @package Global Blocks
 */

.block_placeholder {
	padding: 30px;
	background: #fafafa;
	color: #555;
	border: 2px dashed;
	text-align: center;
	margin-top: 15px;
	margin-bottom: 15px;
	display: block;
}

.acf-block-component::after {
	content: "✍︎";
	position: absolute;
	left: 100%;
	top: 0;
	padding: 0px 2px 1px 7px;
	border-radius: 0 3px 3px 0;
	border-left: 0 none;
	font-size: 1.5rem;
	color: #728997;
	cursor: pointer;
	box-shadow: 2px 0px 2px #0002;
	margin-top: 0;
	line-height: 1em;
	z-index: 5;
	/* background: #fff; */
	background: linear-gradient(90deg, #fff0 0%, #fff 83%);
}

.is-selected.acf-block-component::after {
	background:transparent;
}

.wp-admin .acf-block-component.alignfull {
	max-width: 100%;
	width: 100%;
	left: 0;
	margin-left: 0;
}

.acf-block-component.alignfull::after {
	left: auto;
	right:10px;
}

.acf-field.acf-accordion .acf-input.acf-accordion-content > .acf-fields {
	border-top: 0 none !important;
}

.acf-block-preview .d-none,
.acf-block-preview .d-sm-none,
.acf-block-preview .d-md-none,
.acf-block-preview .d-lg-none {
	display: block !important;
	opacity: 0.5;
}

section.gblock {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

section.gblock.bg-pos-h-left {
	background-position-x: left;
	background-size: auto;
}

section.gblock.bg-pos-h-right {
	background-position-x: right;
	background-size: auto;
}

section.gblock.bg-pos-v-top {
	background-position-y: top;
	background-size: auto;
}

section.gblock.bg-pos-v-bottom {
	background-position-y: bottom;
	background-size: auto;
}

section.gblock.alignfull {
	margin-left: -50vw;
	width: 100vw;
	position: relative;
	left: 50%;
	overflow-x: clip;
	overflow-y: visible;
}

.acf-block-preview section.gblock.alignfull {
	margin-left:0;
	width: 100vw;
	position: relative;
	left: -20px;
	max-width: calc(100% + 40px);
	padding-left:0;
	padding-right:0;
}

.gblock .gblock > .container {
	padding-left: 0;
	padding-right: 0;
}

@media (min-width: 768px) {
	.acf-block-preview .d-md-block {
		opacity: 1;
	}

	.acf-block-preview .d-md-none {
		opacity: 0.5;
	}
}

@media (min-width: 992px) {
	.acf-block-preview .d-lg-block {
		opacity: 1;
	}

	.acf-block-preview .d-lg-none {
		opacity: 0.5;
	}
}