.cx-ui-container{
	margin: 10px 0 20px 0;
}
label.cx-label{
	margin: 0 0 5px 0;
	display: block;
}

.cx-ui-dimensions {
	max-width: 300px;

	&__units {
		margin: 0 20% 0 0;
		display: flex;
		justify-content: flex-end;
		.rtl & {
			margin: 0 0 0 20%;
		}
	}

	&__unit {
		color: #c2cbd2;
		cursor: pointer;
		font-size: 9px;
		text-transform: uppercase;
		margin: 0 2px;

		&.is-active {
			color: #6d7882;
			text-decoration: underline;
		}

	}

	&__values {
		display: flex;
		border: 1px solid #a4afb7;
		border-radius: 3px;
	}

	&__value-item {
		position: relative;
		width: 20%;

		input {
			width: 100%;
			margin: 0;
			box-shadow: none;
			border: solid #a4afb7;
			border-width: 0 1px 0 0;
			font-size: 12px;
			border-radius: 0;
			.rtl & {
				border-width: 0 0 0 1px;
			}

			&:focus {
				border-color: #a4afb7;
				box-shadow: none;
			}
		}

		&:first-child {
			input {
				border-radius: 3px 0 0 3px;
				.rtl & {
					border-radius: 0 3px 3px 0;
				}
			}
		}
	}

	&__value-label {
		width: 100%;
		display: block;
		position: absolute;
		bottom: -18px;
		font-size: 9px;
		text-transform: uppercase;
		text-align: center;
		color: #d5dadf;
	}

	&__is-linked {
		width: 20%;
		background-color: white;
		text-align: center;
		color: #a4afb7;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 0 2px 2px 0;
		.rtl & {
			border-radius: 2px 0 0 2px;
		}

		.link-icon {
			display: none;
		}

		.unlink-icon {
			display: block;
		}

		&.is-linked {
			color: white;
			background-color: #a4afb7;

			.link-icon {
				display: block;
			}

			.unlink-icon {
				display: none;
			}
		}
	}

}
