.wpcb-configurator-repeater-main {

	.wpcb-configurator-repeater-empty-note {
		margin: 10px 0;
	}

	[data-repeater-create]:disabled {
		opacity: 0.5;
		cursor: no-drop;
	}

	.wpcb-configurator-repeater-item {
		border: 1px solid $template_border;
		border-radius: 8px;
		margin: 10px 0;
		overflow: hidden;

		.wpcb-configurator-repeater-item-content {
			padding: 20px 20px 0;
			max-width: 100%;
			flex: 1;
		}

		.wpcb-configurator-repeater-item-action {
			display: flex;
			align-items: center;
			flex-shrink: 0;
			background-color: $template_accent;

			.wpcb-repeater-collapse {
				display: flex;
				align-items: center;
				text-decoration: none;
				padding-left: 10px;

				p {
					margin-left: 10px;

					span {
						margin-left: 5px;
					}
				}

				.closed {
					display: none;
				}
			}
			
			.wpcb-repeater-delete {
				margin-left: auto;
				padding-right: 20px;
			}
		}

		&:not(.collapsible) {
			display: flex;

			.wpcb-repeater-delete {
				padding: 10px;
			}
		}

		&.wpcb-collapsed {

			.wpcb-configurator-repeater-item-action {
				.wpcb-repeater-collapse {
					.closed {
						display: block;
					}
					.open {
						display: none;
					}
				}
			}

			.wpcb-configurator-repeater-item-content {
				display: none;
			}
		}

	}
}