:root {
	--btnColor: #8d8d8d;
}

body {
	font-family: 'Raleway', sans-serif;
	/* background: url(./img/milarepa2.jpg) no-repeat center center fixed; */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.myElems {
	/* transform: translate3d(200px, 210px, 0px); */
	/* transform-origin: top left; */
	position: absolute;
	/* top: 0; */
	/* left: 0; */

	border: 2px transparent;
}

#knob-wrap {
	margin-top: 25px;
}

#red,
#green,
#blue {
	float: left;
	clear: left;
	width: 300px;
	margin: 15px;
}

#infSwitch {
	display: none;
	width: 35px;
	height: 35px;
	background-color: green;
}

#swatch {
	width: 120px;
	height: 100px;
	margin-top: 18px;
	margin-left: 350px;
	background-image: none;
}

#red .ui-slider-range {
	background: #ef2929;
}

#red .ui-slider-handle {
	border-color: #ef2929;
}

#green .ui-slider-range {
	background: #8ae234;
}

#green .ui-slider-handle {
	border-color: #8ae234;
}

#blue .ui-slider-range {
	background: #729fcf;
}

#blue .ui-slider-handle {
	border-color: #729fcf;
}

#lemniscate {
	cursor: pointer;
}

.avatar-slider-output-display {
	width: 2.5em !important;
	height: 1.3em !important;
	top: 50% !important;
	margin-top: -0.7em;
	text-align: center;
	line-height: 1.3em;
}

/* 
#avatar-buttons img {
    width: 40px;
    height: 40px;
} */

#gallery-btn-wrapper,
#adminMenu,
#testPanel {
	float: left;
	padding: 0 7px;
}

#testPanel {
	background: #ff0 url(../img/bg_testing.svg);
	background-size: 36px 9px;
	padding: 11px;
}


#gallery-btn-wrapper img,
svg {
	width: 60px;
	height: 60px;
	padding: 8px;
}

#gallery-btn-wrapper g {
	transform-origin: 8em 9em;
}

#gallery-btn-wrapper svg:hover g {
	fill: purple;
	transform: scale(1.3);
	/* transform: skewX(.2); */
	transition: all .8s;
}



#sliderWrapper {
	padding: 10px 36px 0 20px;
	background: rgba(255, 255, 255, .8);
	min-width: 400px;
	position: absolute;
	left: 12px;
	top: 150px;
	display: none;
	z-index: 99999;
	/*  border-style: solid;
       border-width: medium;       
    */
}

#sliderWrapper > * {
	cursor: default;
}

/* 
#admin-panel-super-wrapper {
	position: absolute;
	top: -138px;
	left: 0;
	z-index: 9999;
	padding: 0px 0 80px 0;
} */



/* For lazy loader */


#galleryWrapper {
	display: block;
	position: absolute;
	left: 1%;
	top: 30%;
	width: auto;
	background-color: rgb(255, 255, 255);
}

.imgContainer {

	height: 431px;
	overflow: scroll;
	overflow-x: hidden;
	width: 120px;
	float: left;
	margin-left: 11px;
	background-color: white;
}

.imgContainer img {

	display: block;
	max-width: none;
	width: 90px;
	height: 60px;
	min-height: 100px;
	-o-object-fit: cover;
	object-fit: cover;
	margin: 0 0 8px 0;
	background-color: #80808070;
}

.gallery-hidden {
	display: none;
}

.gallery-visible {
	display: block;
}




/* width */
::-webkit-scrollbar {
	width: 16px;
}

/* Track */
::-webkit-scrollbar-track {
	box-shadow: inset 0 0px 13px blue;
	border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: #ff5050;
	border-radius: 10px;
}






/* DEV CSS */


/* Lazy Loading monitor */

#monitor {
	display: none;
	position: fixed;
	top: 1em;
	right: 1em;
	padding-left: 1em;
	padding-right: 1em;
	background: #000;
	font-family: monospace;
	text-align: center;
	line-height: 2.8em;
}

#isIntersecting {
	color: #33ff00;
	opacity: 0;
	transition: opacity .2s linear;
}


/* The Modal (background) */
#modal-mjcc .modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 9999;
	/* Sit on top */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.4);
	/* Black w/ opacity */
}

.modal-mjcc-content-wrapper{
	margin: 10px;
	height: 200px;
	background-color: black;
}

/* Modal Content/Box */
#modal-mjcc #modal-mjcc-content {
	background-color: #fefefe;
	margin: 15% auto;
	/* 15% from the top and centered */
	border: 1px solid #888;
	border-radius: 13px 13px 0 0 ;
	width: 46%;
	overflow: hidden;
	/* Could be more or less, depending on screen size */
}

#modal-mjcc-header{
	/* float: left; */
	width: 100%;
	height: 2.4em;
	background-color: #729fcf;
}

.modal-mjcc-footer{
	float: left;
	width: 100%;
	height: 2.4em;
	background-color: #5f5f5f;
}
/* The Close Button */
#modal-mjcc .close {
	color: #5f5f5f;
	float: right;
	font-size: 38px;
	font-weight: bold;
	margin-right: 1%;
	line-height: .8;
}

#modal-mjcc .close:hover,
#modal-mjcc .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}


#bgImg {
	position: absolute;
	/* Without this, drag select does not display selected rectangle until mouse up, when finished selection. */
	user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}




#dragSelectWrapper {
	background-color: lightgrey;
}

#dragSelectWrapper .box {
	float: left;
}

button.ds-dormant {
	border: 1px solid gray;
}

button.ds-active {
	border: 4px solid blue;
	background-color: rgb(255, 194, 61);
}


button#customProps {
	background-color: var(--btnColor);
}





#adminPanelWrapper {
	position: absolute;
	z-index: 9999;
	padding: 8px 0;
	width: 100%;
	background-color: #0000000d;
	z-index: 8999;
	/* Has to be less than admin panel wrapper but stil high */
}

.ap-hidden {
	top: -100px;
	-webkit-transition: all 0.7s ease-out;
	-moz-transition: all 0.7s ease-out;
	-ms-transition: all 0.7s ease-out;
	-o-transition: all 0.7s ease-out;
	transition: all 0.7s ease-out;
}

.ap-visible {
	top: 0px;
	-webkit-transition: all 0.7s ease-out;
	-moz-transition: all 0.7s ease-out;
	-ms-transition: all 0.7s ease-out;
	-o-transition: all 0.7s ease-out;
	transition: all 0.7s ease-out;
}





#adminPanelToggleWrapper {
	position: fixed;
	right: 0.6%;
	top: 0.6%;
	z-index: 9999;
}

#adminPanelToggleBtn {
	position: relative;
	font-size: 1.7em;
	background-color: rgb(167, 2, 2);
	margin: 10px;
	padding: 9px;
	line-height: 1em;
	color: white;
}

#adminPanelToggleBtn:hover {
	cursor: pointer;
}

.aptb-hidden {
	right: -100px;
	-webkit-transition: all 0.7s ease-out;
	-moz-transition: all 0.7s ease-out;
	-ms-transition: all 0.7s ease-out;
	-o-transition: all 0.7s ease-out;
	transition: all 0.7s ease-out;
}

.aptb-visible {
	right: 0px;
	-webkit-transition: all 0.7s ease-out;
	-moz-transition: all 0.7s ease-out;
	-ms-transition: all 0.7s ease-out;
	-o-transition: all 0.7s ease-out;
	transition: all 0.7s ease-out;
}



#mouseMoveCaptureZone {
	right: 0;
	position: fixed;
	top: 0;
	width: 17%;
	height: 29%;
	/* background-color: yellowgreen; */
}

#localStorageKeys {
	border: 2px solid white;
}