.main {
	display: flex;
}

.right {
	width: calc(100% - 550px);
	/*width: calc(100% - 250px);*/
	margin-left: 100px;
	padding: 10px;
}

.pixel-body {
	display: flex;
}

/*.left {*/
#theme{
	position: fixed;
	bottom: 0;
	top: 0;
	z-index: 1;
}

.pixel-header {
	text-align: center;
}

.item-menu:hover {
	cursor: pointer;
}

.popover {
	left: 2px !important;
}

.popover-body {
	font-weight: 600;
}

.box-row {
	display: flex;
}

.box-col {
	border: 1px solid;
	width: 100%;
}

.tileRow {
	width: 100%;
	display: flex;
}

.container-one,
.container-two {
	/*padding: 8px;
	border-radius: 5px;
	box-sizing: border-box;
	border: 2px solid #ccc;*/
}

.container-two {
	padding: 8px;
	width: 200px;
	text-align: center;
	display: block;
	height: 100%;
	position: fixed;
	right: 0px;
	top: 0px;
	background: #2f2f2f;
	border-left: 1px rgb(72 72 72) solid;
	color: white;
}

.gameBoard {
	width: 100%;
	height: 100%;
	display: flex;
	/*justify-content: center;
	align-items: center;*/
}

.inner {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.tileRow .tileWrap {
	width: 100%;
	display: flex;
	display: -moz-box;
	align-items: center;
	justify-content: center;
	position: relative
}

.tileRow .tileWrap .tile {
	/*border: 1px solid #efefef;*/
	transition: 100ms;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	cursor: pointer;
}

.eyeDropper .tileRow .tileWrap .tile {
	cursor: crosshair;
}

.tileWrap:before {
	content: "";
	float: left;
	padding-top: 100%;
}

.noframe .tileRow .tileWrap .tile {
	border: none !important;
}

.container-one {
	flex: 1;
}

.container-two {
	width: 450px;
	margin-left: 10px;
	text-align: center;
	overflow-y: auto;
}

.title {
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 1rem;
	text-align: center;
}

.line {
	border: 1px solid rgb(204 204 204 / 0.1);
	border-radius: 5px;
	margin: 10px 0;
}

.color-box {
	height: 12px;
	width: 12px;
	border-radius: 20px;
	background: #ccc;
	cursor: pointer;
	display:inline-block;
	margin-right: 3px;
}

.colors-container {
	display: block;
	line-height: 16px;
	/*justify-content: space-between;
	margin-top: 5px;*/
	text-align: center;
}

[data-theme="primary"] #theme,
/*[data-theme="primary"] .left,*/
[data-theme="primary"] .btn-draw,
.primary {
	background: #2f2f2f;
	border-right: 1px rgb(72 72 72) solid;
}

[data-theme="black"] .left,
[data-theme="black"] .btn-draw,
.black {
	background: #000;
}

.white {
	background: #fff;
}

[data-theme="tomato"] .left,
[data-theme="tomato"] .btn-draw,
.tomato {
	background-color:Tomato;
}

[data-theme="orange"] .left,
[data-theme="orange"] .btn-draw,
.orange {
	background-color:Orange;
}

[data-theme="dodgerBlue"] .left,
[data-theme="dodgerBlue"] .btn-draw,
.dodgerBlue {
	background-color:DodgerBlue;
}

[data-theme="mediumSeaGreen"] .left,
[data-theme="mediumSeaGreen"] .btn-draw,
.mediumSeaGreen {
	background-color:MediumSeaGreen
}

[data-theme="gray"] .left,
[data-theme="gray"] .btn-draw,
.gray {
	background-color:Gray;
}

.slateBlue {
	background-color:SlateBlue;
}

.violet {
	background-color:Violet;
}

.teal {
	background-color:teal;
}

.lightSeaGreen {
	background-color: lightseagreen;
}

.orangeRed {
	background-color: orangered;
}

.yellow {
	background-color: yellow;
}

.cellValue {
	display: flex;
	justify-content: space-around;
}

.row-cell,
.col-cell {
	display: flex;
}

.cell-title {
	font-weight: 600;
	margin-bottom: 5px;
	padding-right: 5px;
}

.logo {
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo img {
	height: 30px;
	width: 30px;
}

.circle .tileRow .tileWrap .tile {
	border-radius: 50%;
}


.frame-container {
	display: flex;
	justify-content: center;
}

#frame-box {
	height: 25px;
	width: 25px;
	border: 2px solid #ccc;
	margin-right: 15px;
	cursor: pointer;
}

#frame-circle {
	height: 25px;
	width: 25px;
	border-radius: 50%;
	border: 2px solid #ccc;
	cursor: pointer;
}

#frame-box.active {
	background-color: #000;
}

#frame-circle.active {
	background-color: #000;
}

.show-backdrop {
	display: flex;
}


.grid-field-container {
	width: 100%;
	display: flex;
	justify-content: center;
}

.grid-field {
	width: 85% !important;
	padding: 5px 5px 5px 10px;
}

.btn-draw-container {
	display: flex;
	justify-content: center;
}

.btn-draw {
	color: #fff;
	border-radius: 2px;
	padding: 4px;
	margin: 5px 0px;
	width: 90%;
}


#toast-container > .toast-success {
	background-image: none !important;
}

#toast-container > div {
	margin: 0 0 6px !important;
	padding: 12px !important;
	width: 250px !important;
}


.left.help-list {
	position: unset;
	background: unset;
	width: unset;
}

.help-list .item-menu {
	/* background: #2f2f2f; */
	width: 50px;
}

.help-list .item-menu-box {
	background: #2f2f2f;
}

.item-menu-container {
	display: flex;
	align-items: center;
}

.item-menu-details {
	padding-left: 10px;
}

.saved-frame-list {
	text-align: left;
}

.saved-frame {
	cursor: pointer;
}

.btn-save-frame {
	width: 100%;
}


/* Slider */

.slider {
	-webkit-appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 0px;
	background: #d3d3d3;
	outline: none;
	opacity: 0.7;
	-webkit-transition: .2s;
	transition: opacity .2s;
}

.slider:hover {
	opacity: 1;
}

.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #20b2aa;
	cursor: pointer;
}

.slider::-moz-range-thumb {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #4CAF50;
	cursor: pointer;
}

@font-face {
	font-family: "vcr-osd-mono";
	src: url("https://dl.dropboxusercontent.com/s/hsdwvz761xqphhb/pixel.ttf");
}

.canvas{
	/*position:fixed;*/
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-image: url("../img/transparentbg128x128.png");
	/*height:500px;*/
	/*transform: scale(10) translate(20%,0);*/
	-ms-interpolation-mode: -webkit-optimize-contrast;
	image-rendering: nearest-neighbor;
	image-rendering: optimizeSpeed;
	image-rendering: -moz-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: optimize-contrast;
	image-rendering: -o-pixelated;
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: pixelated;
	-ms-touch-action: none;
	touch-action: none;
}
.pixelpixel{
	font-family: 'vcr-osd-mono';
}
canvas{
	/*font-family: 'vcr-osd-mono';*/
	image-rendering: optimizeSpeed;
	image-rendering: crisp-edges;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
	backface-visibility: hidden;
	/*background: white;*/
	/*pointer-events: none;*/
}
.canvasarea {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
    	overflow: auto;
}

.toolimg {
	width: 22px;
}
body{
	background: #2b2a2a;
}

input.form-control.grid-field {
	/* border-radius: 0px; */
	background: transparent;
	color: white;
}

.noselect,.canvasarea * {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently
	supported by Chrome, Edge, Opera and Firefox */
}


.canvashelpers {
	display:none;
	position: absolute;
	background-size: 16px;
	top: 0px;
	left: 0px;
	width: 30px;
	background: #2b2a2a;
	border: 1px #484848 solid;
	padding: 7px 0px;
	z-index:3;
	font-size: 0px;
}

.canvashelpertool {
	position: relative;
	display: block;
	text-align: center;
}

img.smalltoolimg {
	width: 66%;
	max-width: 20px;
}

.canvashelpertool:hover {
	background: #262626;
}

.canvasonoone {
	/*margin: auto;*/
	position: relative;
}
.scaler {
	width: 14px;
	height: 14px;
	padding: 0px;
	border-radius: 100px;
	/*border: 1px black solid;*/
	border: 1px white solid;
	background: white;
	/*position: relative;*/
	cursor: col-resize;
	margin: 0px;
}
.scaler.rightbottom {
	cursor: nw-resize;
}
.scaler.scalerright {
	cursor: w-resize;
}
.scaler.bottom {
	cursor: n-resize;
}
.bigcolorcontainer {
	position: relative;
	width: 70px;
	vertical-align: middle;
	bottom: 0px;
	margin: auto;
	display: block;
}

.bigcolorcontainer > .colorsselectors {
	height: 40px;
	background: black;
	display: inline-block;
	width: 40px;
	border: 1px rgb(255 255 255 / 0.5) solid;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: relative;
	cursor: pointer;
}

.primarycolor {
	z-index: 2;
}

.secondarycolor {
	z-index: 1;
	vertical-align: middle;
	left: -15px;
	margin-right: -20px;
}

.bigcolorcontainer > .colorsselectors:hover {
	opacity: 0.85;
}

.colors {
	display: inline-block;
	width: 24%;
	vertical-align: middle;
	position: relative;
	/* left: 82px; */
}
.color-palette {
	width: 100%;
}
.color-box {
	width: 13% !important;
	min-height: 25px;
	border-radius: 0px;
}

.colors-container > input {
	height: 20px;
	border: 1px rgb(255 255 255 / 0.3) solid;
	font-size: 65%;
}

.secondgroup {
	position: relative;
	width: 92%;
	margin: auto;
	vertical-align: middle;
	display: block;
	margin-top: 10px;
}
.flip {
	width: 12px;
	height: 12px;
	position: absolute;
	bottom: 0px;
	left: 10px;
	cursor: pointer;
}

.flip > img {
	width: 100%;
	height: 100%;
	vertical-align: top;
}
.stamp {
	width: 100px;
	display: inline-block;
	vertical-align: top;
	background: white;
	border: 1px rgb(0 0 0 / 0.4) solid;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin-right: 10px;
	margin-bottom: 10px;
	cursor:pointer;
}

.stampimg > img {
	width: 100%;
	max-height: 80px;
}

.stampimg {
	width: 100%;
	height: 80px;
}

.stampname {
	text-align: center;
	background: #181818;
	color: white;
}
.form-control{
	border:1px solid rgb(206 212 218 / 0.2);
}
.cellValue {
	font-size: 10px;
	font-family: monospace;
}

.canvastextcursor{
	display:none;
	position: absolute;
	background-size: 16px;
	top: 0px;
	left: 0px;

	animation: canvas-textcursor .5s step-end infinite;
	height: 14px;
	color: #fff;
	font-family: monospace;
	overflow: hidden; /* Ensures the content is not revealed until the animation */
	border-right: .25em solid black; /* The typwriter cursor */
	white-space: nowrap; /* Keeps the content on a single line */
	margin: 0 auto; /* Gives that scrolling effect as the typing happens */
	letter-spacing: .25em; /* Adjust as needed */
	z-index:2;
}
@keyframes canvas-textcursor {
	from, to { border-color: transparent }
	50% { border-color: black }
}

.canvasgridforborders {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 1px;
	height: 1px;
	z-index:1;
	/*border: 1px black dashed;*/
}
.horizontalborder{
	/*Horizontal*/
	background-image: linear-gradient(to right, black 33%, rgba(255,255,255,0) 0%);
	background-position: bottom;
	background-size: 3px 1px;
	background-repeat: repeat-x;
}
.verticalborder{
	/*Vertical*/
	background-image: linear-gradient(black 33%, rgba(255,255,255,0) 0%);
	background-position: right;
	background-size: 1px 3px;
	background-repeat: repeat-y;
}

.stampcategory {
	padding: 10px;
	display: inline-block;
	margin: 2px;
	border: 1px #9E9E9E solid;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	min-width: 80px;
	background: black;
	color: white;
	cursor:pointer;
}

div#stamp_categories {text-align: center;border-bottom: 1px #9e9e9e solid;margin-bottom: 10px;padding-bottom: 10px;}
.categorystamps {
	display: inline-block;
}

.stampcategory:hover {
	background: white;
	color: black;
	border-color: #000000;
}

.ErrorCount {
	position: fixed;
	left: 39px;
	bottom: 10px;
	cursor: pointer;
	display:none;
}
.errorlist {
	background: #710000;
	color: white;
	padding: 10px;
	font-size: 11px;
}
.threedcolor {
    -webkit-border-radius: 30px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: block;
    margin: auto !important;
    vertical-align: middle;
}

.threedcolortext {
	display: inline-block;
	vertical-align: middle;
}
.canvasgridforborders,.canvasborders{
	image-rendering: nearest-neighbor;
	image-rendering: optimizeSpeed;
	image-rendering: -moz-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: optimize-contrast;
	image-rendering: -o-pixelated;
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: pixelated;
}

.canvasborders {
	/*position: fixed;
	top: 0px;
	left: 0px;
	width: calc(100% - 110px);
	height: calc(100% - 10px);
	margin-left: 110px;
	margin-top: 10px;
	z-index: 1;*/
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
	display:none;

}
.usedcolorpalettetop {
    width: 100%;
    /* height: 30px; */
    /* background: red; */
    text-align: center;
    background: black;
}

.palette {
    display: inline-block;
    width: 15%;
    height: 20px;
    font-size: 13px;
    /* margin-right: 0.6667%; */
    text-align: center;
    /* background: black; */
}

.usedcolorpalette{
	text-align:left;
}
.usedcolorpalette .color-box{
	width: 13%;
     margin-right: 1.6667%;
     margin-left: 2%;
}
.emptycolor {
    border: 1px white solid;
    box-sizing: border-box !important;
    background: transparent;
}

@media only screen and (max-width: 1000px) {
	.right{
		width:calc(100% - 400px) !important;
	}
	.container-two{
		width:300px;
	}
	.threedsock canvas {
		width: 280px !important;
		height: 280px !important;
	}
}

@media only screen and (max-width: 700px) {
	.right{
		width:calc(100% - 250px) !important;
	}
	.container-two{
		width:150px;
	}
	.threedsock canvas {
		width: 120px !important;
		height: 120px !important;
	}
}

@media only screen and (max-width: 400px) {
	#logo {
		display: none;
	}
	.left{
		position:relative !important;
		width:50px;
	}
	.left .item-menu{
		width:100%;
	}
	.colorsselectors.primarycolor {
		left: 5px;
	}
	.title{
		word-break: break-all;
    		font-size: 0.7rem;
	}
	.colorsselectors.secondarycolor {
		left: -5px;
	}
	.flip{
		left:5px;
		bottom:-5px;
	}
	.bigcolorcontainer{
		width:50px;
	}
	.bigcolorcontainer > .colorsselectors{
		height: 25px;
		width: 25px;
	}
	.right{
	    width: 100% !important;
	    margin-left: 0px;
	}
	.pixel-body{
		display:block;
	}
	.container-two{
		/*width:0px;
		display:none;
		opacity: 0;*/
		position: relative;
		display: block;
		width: 100%;
		background: transparent;
		border: none;
		margin: 0px;
		margin-top: 50px;
	}
	.threedsock canvas {
		width: 100% !important;
		height: 100% !important;
	}
	.canvasborders{
		/*display:block;*/
    		opacity: 0;
	}
	.canvasonoone{
		margin:auto !important;
	}
}
