/**
 * 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: 50%;
	padding: 5px 5px 5px 10px;
	border-radius: 0 3px 3px 0;
	border-left: 0 none;
	font-size: 2rem;
	color: #a5c7db;
	cursor: pointer;
	box-shadow: 4px 0 3px #0003;
	margin-top: -0.7em;
	line-height: 1em;
	z-index: 5;
	background: #fff;
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 21%);
}

.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%;
}

.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;
	}
}