.image {
	border: 1px dashed #a1adb7;
	position: relative;

	&.image-full-screen {
		width: 96% !important;
		height: 93% !important;
		margin: 2%;
		position: absolute;

		&.set {
			width: 100% !important;
			height: 100% !important;
		}
	}

	&.image-half-screen {
		width: 48% !important;
		height: 93% !important;

		&.set {
			width: 50% !important;
			height: 100% !important;
		}

		.variant-text-left & {
			margin: 2% 2% 2% 0;
		}

		.variant-text-right & {
			margin: 2% 0 2% 2%;
		}
	}

	&.image-two-thirds-screen {
		// width: 58% !important;
		// height: 93% !important;

		&.set {
			@include span-columns(17 of 28);
			height: 100% !important;
		}

		.variant-text-left & {
			margin: 2% 2% 2% 0;
		}

		.variant-text-right & {
			margin: 2% 0 2% 2%;
		}
	}

	&.full-bleed.set {
		margin: 0 !important;
		border: none !important;
	}

	&.active {
		background: #2082ce;

		.controls {
			border: none;
			background-color: transparent;
			display: inline-block;
			position: absolute;
			top: 30px;

			&.btn-edit-image {
				@include sprite($edit-img);

				.variant-text-right & {
					left: 77px;
				}

				.variant-text-left & {
					right: 77px;
				}
			}

			&.btn-delete-image {
				@include sprite($delete-img);

				.variant-text-right & {
					left: 39px;
				}

				.variant-text-left & {
					right: 39px;
				}
			}
		}
	}

	&.component.auxilliary {

		.image-uploader {
			width: 100%;
			
			.upload-controls {
				display: none;
			}
		}
	}
}

.image-canvas {
	width: 100%;
	height: 100%;

	.active & {
		opacity: 0.65;
	}
}