@import "common/var";

.kc-divider{
	padding: 0;
	font-size: 14px;
	color: rgba(0,0,0,.65);
	box-sizing: border-box;
	white-space: nowrap;
	list-style: none;
	background: #ccc;
}
.kc-divider-horizontal {
	display: table;
	text-align: center;
	background: transparent;
	color: rgba(0, 0, 0, .85);
	margin: 16px 0;
	.divider-con {
		padding: 0 10px;
	}
	&::before, &::after {
		content: "";
		display: table-cell;
		position: relative;
		border-top: 1px solid $--border-color-base;
		transform: translateY(50%)
	}
}
.kc-divider-vertical{
	margin: 0 8px;
	display: inline-block;
	height: .9em;
	width: 1px;
	vertical-align: middle;
	position: relative;
	top: -.06em;
}
.divider-line{
	width: 100%;
}
.divider-dashed {
	&::before, &::after {
		border-top: 1px dashed $--border-color-base;
		top: 50%;
		width: 100%;
	}
}

.divider-center {
	&::before, &::after {
		top: 50%;
		width: 50%;
	}
}

.divider-left {
	&::before {
		top: 50%;
		width: 5%;
	}
	&::after {
		top: 50%;
		width: 95%;
	}
}

.divider-right {
	&::before {
		top: 50%;
		width: 95%;
	}
	&::after {
		top: 50%;
		width: 5%;
	}
}
