.editor_container {
	width: 100%;
	height: 100%;
	position: relative;
	margin: 0 auto 40px;
	xborder: 1px solid #CCC;
	-webkit-perspective: 1200px;
	   -moz-perspective: 1200px;
	     -o-perspective: 1200px;
	        perspective: 1200px;
	
	overflow: hidden;
	z-index: 100;
}

.editor_container img { /* wordpress responsive being annoying! */
	max-width: none !important;
}

.editor_container .canvas {
	margin: 50px auto 0px;
	width: 100px;
	height: 100px;
	overflow: hidden;
	z-index: 10;
}
.editor_container .canvas.noborder { 
	border: 1px solid black;
}
.editor_container .canvas.definately_no_border {
	border: none;
}
.editor_container .canvas.fake_print_border {
	border: 20px solid white;
}

.editor_container .canvas .img { 
	width: 100%;
	max-width: none !important;
	height: auto;
	cursor: move;
}
.editor_container .canvas .img.pick_colour {
	cursor: crosshair;
} 

/* if we change this to z-index:-1; then we can have our new, clearer defined print borders */
.editor_container .img_overflow { 
	opacity: 0.2;
	position: absolute;
	/* z-index: 0; */
	z-index: -1;
	max-width: none !important;
}
.editor_container.hide_ghost .img_overflow {
    display: none;
}

.editor_container .canvas .borders {
    position: absolute;
    z-index: 20;
}
.editor_container.hide_ghost .canvas .borders div .corner {
	background-color: #d9dad9;
}
.editor_container .canvas.mirror .borders div .corner {
    height: 100% !important;
}
.editor_container .canvas.colour .borders div.right { 
    padding-right: 1px !important;
    border-bottom: none !important;
}
.editor_container .canvas.colour .borders div.left {
    border-bottom: none !important;
}
.editor_container .canvas .borders div .corner.r {
    float: right;
    position: relative;
}
.editor_container .canvas .borders div {
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
}
.editor_container .canvas .borders div img { 
    position: absolute;
    left: 0px; top: 0px; 
}
.editor_container .canvas.mirror .borders div.top img, .editor_container .canvas.mirror .borders div.bottom img {
	-webkit-transform: scaleY(-1);
	-moz-transform: scaleY(-1);
	-ms-transform: scaleY(-1);
	-o-transform: scaleY(-1);
	transform: scaleY(-1);
}
.editor_container .canvas.mirror .borders div.left img, .editor_container .canvas.mirror .borders div.right img {
	-webkit-transform: scaleX(-1);
	-moz-transform: scaleX(-1);
	-ms-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	transform: scaleX(-1);
}
.editor_container .canvas .borders div.top { border-bottom: 1px dashed black; }
.editor_container .canvas .borders div.bottom { border-top: 1px dashed black; }
.editor_container .canvas .borders div.left { border-right: 1px dashed black; }
.editor_container .canvas .borders div.right { border-left: 1px dashed black; }
.editor_container .canvas .borders div .corner { background-color: rgba(217, 217, 217, 0.8); }

.editor_container .canvas .borders div.nodots {
    border: 1px dashed transparent;
}
.editor_container .canvas .borders div.nodots .corner {
    display: none;
}

#zoom-slider {
	width: 100%;
	float: right;
}
/* .zoom {
	position: absolute;
	bottom: 20px;
	right: 50px;
	width: 50%;
	z-index: 200;
} */

/* slider  */
.ui-slider-horizontal {
	height: 0px !important;
  	top: 5px !important;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -.6em !important;
    margin-left: -.6em !important;
	/* background: #F14D07 !important; */
	background: #F6F4EC !important;
    border: solid 1px black !important;
	border-radius: 50px;
	cursor: grab;
}

/* .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid black;
    background: black;
    font-weight: normal;
    color: black;
}

.ui-state-default, .ui-widget-content .ui-state-focus {
    border: 1px solid #999999;
    background: black;
    font-weight: normal;
    color: black;
} */

.controls_container {
	height: 100%;
	margin-top: 120px;
	background: #F6F4EC;
	z-index: 999;
	position: relative;
}

.controls_wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding-top: 20px;
}


.zoom_container {
	height: 43px;
	width: 60%;
	float: right;
	background: white;
	border-radius: 50px;
	position: relative;
	top: 0;
	/* z-index: 9000; */
	/* position: relative; */
	/* border: solid grey 1px; */

	/* align at the bottom for now */
	/* position: absolute;
    right: 0;
    bottom: 14px; */
}

.zoom {
	position: relative;
    bottom: -16px;
    left: 48px;
    right: 0%;
    /* left: 35%; */
    width: 80%;
    /* z-index: 200; */
    /* height: auto; */
}

.zoom .out {
	position: absolute;
    /* left: -45px; */
    /* top: -5px; */
	left: -32px;
	top: -3px;
    width: 20px;
	height: 20px;
    opacity: 0.8;
    cursor: pointer;
}
.zoom .in {
	position: absolute;
    right: -35px;
    /* top: -5px; */
	top: -3px;
    width: 20px;
	height: 20px;
    opacity: 0.8;
    cursor: pointer;
}

@media (max-width:850px) {
	.controls_wrap {
		flex-wrap: wrap;
		/* nudge it up */
		padding-top: 0px;
    	margin-top: -20px;
	}
	.controls_wrap .zoom_container {
		flex-basis: 95%;
	}

	/* nudge these up */
	#zoom-slider {
        width: 97%;
        left: -10px;
	}
	.zoom .in {
		right: -13px;
		top: -4px;
	}
	.zoom .out {
		left: -32px;
		top: -4px;
	}
}

.ui-slider-handle ui-corner-all ui-state-default {
	background-color: white !important;
}

.spin-image {
	/* position: absolute; */
	/* bottom: 15px;
	left: 15px; */
	/* display: none; */
	width: 20px;
	opacity: 0.6;
	cursor: pointer;
	-webkit-transition: transform 0.5s ease-in-out;
	-moz-transition:    transform 0.5s ease-in-out;
	-o-transition:      transform 0.5s ease-in-out;
	-ms-transition:     transform 0.5s ease-in-out;
	height: 20px;
}

.center-image {
	width: 30px;
	opacity: 0.7;
	cursor: pointer;
	height: 30px;	
    position: relative;
}

.center-image:before {
	content: 'Center Image';
}

.zoom .out:hover, .zoom .in:hover, .center-image:hover, .spin-image:hover {
	opacity: 1;
}

.edge_colour, .edge_type {
	display:none;
}

.blur {
	-webkit-filter: blur(5px);
	-moz-filter: blur(5px);
	-o-filter: blur(5px);
	-ms-filter: blur(5px);
	filter: blur(5px);
}

.colour_image_picker {
	position: absolute;
	right: 8px;
	cursor: pointer;
	/* top: 5px; */
	width: 14px;
}

/* frames */
.editor_container .frames {
	position: absolute;
	pointer-events: none;
	z-index: 99 !important;
}

.editor_container .frames div {
	position: absolute;
	background-color: transparent;
}

/* new toolips */

.tooltip_housing {
	position: relative;
	cursor: pointer;
}

.tooltip_housing svg {
	width: 0.8rem;
	height: 0.8rem;	
}

.tooltip {
	display: none;
	position: absolute;
	left: 0;
	bottom: 0;
	/* transform: translateX(-50%); */
	padding: 8px;
	min-width: 10rem;
	width: auto;
	height: auto;
	border: solid 1px black;
	background-color: white;
	border-radius: 5px;
	z-index: 1000;
}

.tooltip p {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
}

.tooltip p a {
	text-decoration: underline;
}

.tooltip p a:hover {
	text-decoration: none;
}

.tooltip.active {
	display: block;
}