.stitch-page #content-wrapper.content-wrapper {
	padding-top: 0;
	padding-bottom: 0;
}
.stitch-page #content-wrapper .container{
	width: 100%;
	padding: 0;
}

.stitch-container{
	display: flex;
	min-height: 100vh;
	width: 100%;
	background-color: #e0efd4;
	position: relative;
}
.stitch-left{
	width: 300px;
	min-width: 300px;
	background-color: #BFBFBF;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
}
.stitch-right{
	background-color: #e6e6e6;
	flex-grow: 1;
	display: flex;
	align-items: center;
	margin-left: 300px;
}
.stitch-warp{
	padding: 10px;
}
.stitch-section{
	width: 100%;
}

.stitch_header{
	text-align: center;
	font-size: 36px;
}

.stitch-tip{
	text-align: center;
	font-size: 16px;
	font-style: italic;
	margin-top: 15px;
}
.stitch-review-box{
	display: flex;
	align-items: center;
	justify-content: center;
}
.stitch-review-main{
	border: 1px solid #000000;
	padding: 1px;
}
.stitch-review-main canvas{
	display: block;
}

.grid-review-section{

}
.grid-review-section canvas{
	display: block;
	margin: auto;
}







.resize-container {
    position: relative;
    display: inline-block;
    cursor: move;
    margin: 0 auto;
}

.resize-container img {
    display: block
}

.resize-container:hover img,
.resize-container:active img {
    outline: 2px dashed rgba(222,60,80,.9);
}

.resize-handle-ne,
.resize-handle-se,
.resize-handle-nw,
.resize-handle-sw {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    background: rgba(222,60,80,.9);
    z-index: 999;
}

.resize-handle-nw {
    top: -5px;
    left: -5px;
    cursor: nw-resize;
}

.resize-handle-sw {
    bottom: -5px;
    left: -5px;
    cursor: sw-resize;
}

.resize-handle-ne {
    top: -5px;
    right: -5px;
    cursor: ne-resize;
}

.resize-handle-se {
    bottom: -5px;
    right: -5px;
    cursor: se-resize;
}

.overlay {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -36px;
	margin-top: -36px;
	z-index: 999;
	width: 72px;
	height: 72px;
    border: solid 2px rgba(222,60,80,.9);
	box-sizing: content-box;
	pointer-events: none;
}

.overlay:after,
.overlay:before {
	content: '';
	position: absolute;
	display: block;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
    border-left: dashed 2px rgba(222,60,80,.9);
	border-right: dashed 2px rgba(222,60,80,.9);
}

.overlay:before {
	top: 0;
	margin-left: -2px;
	margin-top: -40px;
}

.overlay:after {
	bottom: 0;
	margin-left: -2px;
	margin-bottom: -40px;
}

.overlay-inner:after,
.overlay-inner:before {
	content: '';
	position: absolute;
	display: block;
	width: 40px;
	height: calc(100% + 4px);
    border-top: dashed 2px rgba(222,60,80,.9);
	border-bottom: dashed 2px rgba(222,60,80,.9);
}

.overlay-inner:before {
	left: 0;
	margin-left: -40px;
	margin-top: -2px;
}

.overlay-inner:after{
	right: 0;
	margin-right: -40px;
	margin-top: -2px;
}

.btn-crop {
	position: absolute;
	vertical-align: bottom;
	right: 5px;
	bottom: 5px;
	padding: 6px 10px;
	z-index: 999;
	background-color: rgb(222,60,80);
	border: none;
	border-radius: 5px;
	color: #FFF;
}

.btn-crop img {
	vertical-align: middle;
	margin-left: 8px;
}

/* -------------------- */

.component {
	position: relative;
	background: url(../img/gridme.png) repeat center center;
	padding: 4em;
	height: 500px;
	border: 3px solid #49708A;
	max-width: 901px;
	overflow: hidden;
	margin: 0 auto;
}

.pattern-grid{
	display: flex;
	flex-wrap: wrap;
}
.pattern-pixel{
	flex-grow: 0;
	width: 10px;
	height: 10px;
	border: 1px solid #000000;
	margin-left: -1px;
	color: transparent;
}