.wrslb-accord-container {

	.ui-state-highlight {
		border: 3px dashed #ddd;
		background: #e5e5e5;
		width: 100%;
		height: 40px;
		margin-bottom: 20px;
	}
}

// A section is <details class="wrslb-single-accord" name="…"> with a
// <summary class="wrslb-accord-link">: the browser keeps one open per name
// (#78, #10 decision 2). It slides open where ::details-content and
// interpolate-size are supported, and opens instantly elsewhere.
.wrslb-single-accord {
	interpolate-size: allow-keywords;
	display: block;
	margin: 0px 0px 20px 0px;
	@include z_depth(1);
}

.wrslb-accord-link {
	display: block;
	position: relative;
	padding: 0 60px 0 0;
	vertical-align: middle;
	font-size: 18px;
	line-height: 3;
	font-weight: 600;
	background: #fff;

	span.wrslb-accord-trigger {
		display: block;
		padding: 0px 25px;
	}

	&:hover {
		cursor: move;
	}

	list-style: none;

	&::-webkit-details-marker {
		display: none;
	}

	.wrslb-accord-edit {
		position: absolute;
		top: 0;
		right: 0;
		display: inline-block;
		padding: 0 15px;
		line-height: 3;
		vertical-align: middle;
		color: #999;
		cursor: pointer;
		border-left: 1px solid #ddd;
		background: #f1f1f1;
	}

	.wrslb-single-accord[open] & {
		background: #f1f1f1;
		.wrslb-accord-edit {
			color: #444;
			background: #fff;
		}
	}

	&:after {
		@include clear();
	}
}

.wrslb-single-accord::details-content {
	block-size: 0;
	overflow: hidden;
	transition: block-size 0.4s, content-visibility 0.4s allow-discrete;
}

.wrslb-single-accord[open]::details-content {
	block-size: auto;
}

.wrslb-content-box {
	border-top: 2px solid #ddd;
	padding: 20px 25px;

	&.wrslb-form-section {
		padding: 20px 25px;
		margin: 0px;
		box-shadow: none;
	}

	.wrslb-content-actions {
		.wrslb-delete-content {
			float: right;
		}

		&:after {
			@include clear();
		}
	}
}

.wrslb-content-design-modal {
	@extend #wrslb-main-modal;
	background: #fff;
	width: 800px;
	height: auto;
	min-height: 0;

	@include breakpoint(810) {
		width: 98%;
		margin-left: 1%;
		margin-right: 1%;
	}  

	.wrslb-modal-headline {
		display: block;
		padding: 30px 20px;
		margin: 0px;
		font-weight: 700;
		font-size: 18px;
		color: #333;
		border-bottom: 1px solid #ddd;

		.subheadline {
			display: block;
			margin-top: 10px;
			font-size: 16px;
			font-weight: 300;
			color: #666;
		}
	}

	.wrslb-content-design-fields {
		display: block;
		padding: 20px;
		margin: 0px;
		background: #f1f1f1;

		.wrslb-form-section {
			margin: 0px;
			padding: 0px;
			background: none;
			box-shadow: none;
		}

		.wrslb-form-hr {
			border-color: #ddd;
		}
	}
}

.wrslb-addcontent-container {
	text-align: right;
	padding-top: 15px;

	[class*="wrslb-button"] {
		padding: 10px 25px;

		&.adding { @include disabled(); }
		.dashicons { margin-right: 10px; }
	}
}