/* CSS Document */
*{
	-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;
}

@font-face {
	font-family: 'Avenir Next';
	src: url('includes/fonts/AvenirNext-Regular.woff') format('woff');
}

:root {
	--color-foreground: 250, 245, 239;
	--color-background: #303030;
}

input#ringInnerWidthSlider, input#ringHeightSlider, input#ringDepthSlider{
    height: 1px;
}
html, body {
	font-family: "Avenir Next", sans-serif;
	color: fff;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #000;
	height:100%;
	overflow-y: hidden;
}


.sliderContainer > input{
	display: none;
}

table, td{border-spacing:none; border-collapse: collapse;}
td{vertical-align: top;}
.username, .password{
	width:112px!important;
}
#canvas2D{
	display:inline-block;
	width: 200px;
	height: 100%;
	touch-action: none;
	outline: none;
	vertical-align: top;
	image-rendering: optimizeSpeed;             /* Older versions of FF          */
	image-rendering: -moz-crisp-edges;          /* FF 6.0+                       */
	image-rendering: -webkit-optimize-contrast; /* Safari                        */
	image-rendering: -o-crisp-edges;            /* OS X & Windows Opera (12.02+) */
	image-rendering: pixelated;                 /* Awesome future-browsers       */
	-ms-interpolation-mode: nearest-neighbor;   /* IE                            */
	background-color: #000;
}
.canvasContainer{
	position:absolute;
	display:flex;
	flex-direction: column;
	justify-content: center;
	background-color:#000;
	width:200px; height:100%;
	top:0%; right:0px;
	z-index: 99;
}
.fps{
	position:absolute;
	top:10px; right:10px;
	z-index: 100;
	font-family: "Avenir Next", sans-serif;
	color: rgb(var(--color-foreground));
	display:none;
}
input[type=text]{
	background-color: #000;
	border:none;
	color: rgb(var(--color-foreground));
	text-align: center!important;
	width:1px;
	height:1px;
	font-family: "Avenir Next", sans-serif;
}
.appContainer{
	width:100%;
	height: 100%;
	/* min-width: 1000px;
	min-height: 720px; */
    position: relative;
	display:inline-block;
	overflow: hidden;
}
#renderCanvas {
	display:inline-block;
	width: calc(80% - 330px);
	height: 100%;
	touch-action: none;
	outline: none;
	vertical-align: top;
}
.innerRingDiv{
	display: none;
}
.controlPanel{
	display:inline-flex;
	width: 325px;
    text-align: left;
	vertical-align: top;
	height:100%;
	/* background-color:#111; */
	font-size:13px;
	flex-direction: column;
	justify-content: top;
	padding: 10px;
	max-height: calc(100vh - 20px);
}
.controlContainer{
	padding: 10px;
	background-color:var(--color-background);
	overflow-y: auto;
	overflow-x: hidden;
	border-radius: 10px;
}
.svg {
    display:nones;
    position: absolute;
    right:20px;
    z-index: 1;
    top: 20px;
    margin: auto;
    height: 48;
}
.svg svg{
    background-color: rgba(0,0,0,0);
	/*
	-ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
	*/
}
.controls div{display:inline-block;}
.slider.ui-corner-all,
.slider .ui-corner-all {
  border-radius: 0;
}

.slider.ui-slider {
  border: 0;
  background: #ccc;
  border-radius: 7px;
}

.slider.ui-slider-horizontal {
  height: 4px;
}

.slider.ui-slider-vertical {
  height: 15em;
  width: 6px;
}

.slider .ui-slider-handle {
  width: 20px;
  height: 20px;
  background: #ccc;
  border-radius: 50%;
  border: none;
  cursor: pointer!important;
}

.slider.ui-slider-horizontal .ui-slider-handle {
  top: 50%;
  margin-top: -10px;
}

.slider.ui-slider-vertical .ui-slider-handle {
  left: 50%;
  margin-left: -10px;
}

.slider .ui-slider-handle{
	outline:none;
	cursor: pointer!important;
}

.slider .ui-slider-range {
  border: 0;
  border-radius: 7;
  background: #999;
}
.ui-slider-handle.ui-state-active {
	background: rgb(var(--color-foreground)) !important;
	border-color: #999!important;
	cursor: pointer!important;
}

.slider.ui-slider-horizontal .ui-slider-range {
  top: 0;
  height: 4px;
  background-color:#555!important;
}
.ui-slider-handle, .ui-slider-handle.ui-state-active, .ui-slider-handle.ui-state-focus{
    border-radius: 0px!important;
    border: none!important;
    background: none!important;
    background-image:url('../images/sliderHandle.png')!important;
	background-repeat: no-repeat!important;
	background-position: center center!important;
}
.slider.ui-slider {
    border: 0;
    background: #222;
    border-radius: 7px;
    border: none!important;
}
.sliderInput{
	top: 0px;
    position: absolute;
    width: 40px;
    height: 28px;
    background-color: var(--color-background);
    border: none;
    right: 16px;
    font-weight: normal;
    font-size:13px;
    outline: none;
	color: rgb(var(--color-foreground));
	text-align: center;
	font-family: "Avenir Next", sans-serif;
}
.sliderDiv h2{
    text-align: left;
    text-indent: 14px;
    margin:0px;
	height:28px;
	line-height:28px;
    color: rgb(var(--color-foreground));
	background-color:#000;
	margin-bottom:6px;
	font-weight: 600;
}
.sliderInput2{right: 60px;}
.sliderTitle, h2{line-height:10px; font-weight: normal; font-size: 13px; color:#bbb; margin:0px; padding:0px; margin: 5px 0px;}
.leftAligned{text-align:left;text-indent:14px;}
.marker{
	position:absolute;
	text-align:center;
}
.markersDiv{
	display: inline-block;
    position: relative;
    height: 18px;
    font-size: 8px;
	color: rgb(var(--color-foreground));
	width:100%;
}
.sliderContainer{
	width:88%;
}
.markerDevider, .markerSubDevider{
    top: 0px;
    background-color: rgb(var(--color-foreground));
    height: 2px;
    width: 1px;
    position: absolute;
    left: 50%;
    margin-top: 12px;
}
.markerSubDevider{
	margin-top:20px;
}

.sliderDiv{
	position:relative;
	padding:0px 0px 6px 0px;
	width: 100%;
    background-color: var(--color-background);
	margin-bottom:1px;
	text-align: center;
	border:none;
}
.materialTypeSelecter{position:relative;}
.ringTypeSelecter, .materialTypeSelecter, .controlPanelDiv, .finishTypeSelecter{
	width: 100%;
	display:inline-block;
	line-height: 20px;
	background-color:var(--color-background);
	padding:0px;
	margin-bottom:2px;
	text-align: left;
	border:none;
	position:relative;
}
.disclaimer{
    text-indent: 14px;
}
.ringTypeSelecter h2, .materialTypeSelecter h2, .controlPanelDiv h2, .finishTypeSelecter h2{
	width: 100%;
	text-align: left;
    text-indent: 14px;
    margin:0px;
	line-height:35px;
    color: rgb(var(--color-foreground));
	background-color:#000;
	font-family: "Avenir Next", sans-serif;
	font-weight: 600;
	position:relative;
    display: inline-block;
}
.ringTypeSelecter div{
	display:inline-block;
	width:46px; height:46px;
	vertical-align: middle;
	padding:0px 0px;
	margin:2px 0px;
	background-color:#000;
	position: relative;
	border:1px solid #222;
	cursor: pointer!important;
}
.selectedMaterialDiv{
	display:inline-block;
	width:46px; height:46px;
	vertical-align: middle;
	padding:0px 0px;
	margin:2px 0px;
	background-color:#000;
	position: relative;
	border:1px solid #222;
}
.selectedMaterialDiv img{
	width:46px; height: auto;
}
.materialsPopupDv{
	width:500px;
	height:auto;
	max-height:calc(100% - 40px);
	overflow-y:auto;
	overflow-x:hidden;
	position:absolute;
	z-index: 10001;
	left:50%; top:50%;
	margin-left:-250px;
	margin-top:-300px;
	display:none;
}
.btnMaterialPopupClose {
    position: absolute;
    z-index: 2;
    top: 17px;
    right: 20px;
	border-radius: 6px;
}
.materialListDiv{
	width:480px!important;
	background-color:var(--color-background);
	padding:10px;
	border-radius: 10px;
}
.materialListDiv div{
	display:block!important;
	background-color:#000;
	position: relative;
	border:1px solid #222;
	cursor: pointer!important;
}
.materialListDiv td{
	font-size:13px;
	padding:6px;
}
.materialListDiv td:last-child{
	padding-left:0px;
}
.materialListDiv img{
	margin-right:0px;
}
.ringTypeSelecter img{
	position: absolute;
	top: 50%;transform: translateY(-50%);
	left: 5%;
	width: 92%; height: auto;
}
.ringOn{
	background-color: #333!important;
    border-color: #777!important;
}
.glyphicon-link{
	position: absolute;
    right: 60px;
    top: 5px;
    font-size: 10px;
    color: #999;
    border: 1px solid #333;
    padding: 2px;
    border-radius: 3px;
    background-color: #000;
    cursor: pointer!important;
}

.glyphicon-link-on{
	color: rgb(var(--color-foreground));
    background-color: #333;
    border-color: #777;
}
.sliderRedBG{background-color:#2d0000;}
.svgCodeContainer textarea{
	width:100%;
	height: 400px;
}
.dropDownShape{
	left: -6px;
    top: -1px;
    position: absolute!important;
    padding: 0px 0px!important;
    margin: 0px!important;
    z-index: 9;
    background-color: #111!important;
    overflow: hidden;
    width: 60px;
    padding-left: 5px;
    height: 50px;
}
.dropDownShape div{
	margin:0px!important;
	margin-bottom:2px;
}
.dropDownShape img{
	
}
.langSelect{
	position:absolute;
	display:inline-block;
	text-align: right;
	top:60px;
	right: 10px;
	z-index: 100;
	width:180px;
}
.langSelect span{
	font-size:13px;
}
.langSelect div{
	display:inline-block;
}
.langSelect img{
	cursor:pointer;
}
.langOn{
    border: 1px solid rgb(var(--color-foreground));
    padding: 1px;
}
.matTitleDiv{display:inline-block; margin:16px 0px;}
.matGradeDiv{
	float: none!important;
	display:inline-block!important;
	position: relative!important;
	border:none!important;
	background:none!important;
}
/* .matGradeDiv button{
	display:inline-block;
	margin: 2px;
	padding:3px;
	color:#999;
	background-color:#000;
	border:1px solid #222!important;
	outline: none!important;
	cursor: pointer;
} */
/* .matGradeDiv button.btnOn{
	color:#999;
	background-color:#333!important;
	border:1px solid var(--color-foreground)!important;
} */
.materialDesigner{
	display:none;
	position:absolute;
	background-color:#222;
	width:800px;
	height:60px;
	bottom:0px;
	left:50%;
	margin-left:-400px;
	z-index: 200;
}
.materialDesigner input{
	width: 30px!important;
    height: 20px!important;
	background-color: rgb(var(--color-foreground)) !important;
	color:#000!important;
}
.ringPriceDiv h1{
	font-weight: normal;
	font-size:20px!important;
	margin:0px!important;
}
.controlPanelDiv input{
	border:none!important;
	background:none!important;
	outline:none;
	color: rgb(var(--color-foreground));
	text-align: center;
	font-family: "Avenir Next", sans-serif;
}
.btnDeleteRing{
	color: rgb(var(--color-foreground));
	background:#000;
	border: 1px solid #222;
}
.savedRingsDiv table button{
	width:22px;
	font-family: "Avenir Next", sans-serif;
}
.savedRingsDiv table{
	width:100%;
}
.savedRingsDiv table td{
	font-size:13px;
}
.savedRingsDiv table td:first-child{
	width:50%;
	text-indent:10px;
}
.savedRingsDiv table td:last-child{
	width:24px;
}
.btnDeleteRing{
	width:60px;
}
.currentRingDiv{
	background:#222;
}
.savedRingsDiv div{
	cursor:pointer;
}
button{
	border: 1px #222 solid;
	background-color:#222;
	color: rgb(var(--color-foreground));
	padding: 3px 6 px;
	cursor: pointer;
	font-family: "Avenir Next", sans-serif;
	outline: none;
}
button:hover{
	border: 1px rgb(var(--color-foreground)) solid;
	color: rgb(var(--color-foreground));
}
.btnOn{
	border-color: rgb(var(--color-foreground));
	background-color:#444;
}
.loginDiv{
	position:absolute;
	top: 10px; right:10px;
	z-index: 999;
	text-align: right;
	overflow:hidden;
	display:none;
}
.loginDiv td, .loggedInDiv td{
	vertical-align: middle;
	font-size:13px;
}
.loginDiv input{
	width:80px;
	border:none;
	outline: none;
	background-color: #111;
	color: rgb(var(--color-foreground));
	font-family: "Avenir Next", sans-serif;
}
.loginDiv input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #aaa;
}
.loginDiv input::-moz-placeholder { /* Firefox 19+ */
  color: #aaa;
}
.loginDiv input:-ms-input-placeholder { /* IE 10+ */
  color: #aaa;
}
.loginDiv input:-moz-placeholder { /* Firefox 18- */
  color: #aaa;
}
.loginDiv span{
	display:inline-block; padding-top:3px;
	font-size:13px;
}
.loginDiv span a{
	color: rgb(var(--color-foreground));
}
.btnLogin{
	display:inline-block;
	font-size:16px;
	cursor: pointer;
}
.btnLogin:hover, .btnLogout:hover{
	color: rgb(var(--color-foreground));
}
.btnLogout{
	display:inline-block;
	font-size:16px;
	cursor: pointer;
}
.loggedInDiv{
	position:absolute;
	top: 10px; right:10px;
	z-index: 999;
	text-align: right;
	overflow:hidden;
	font-size:13px;
	display:none;
}
.titleButton{
	position:absolute!important;
	right:6px; top:6px;
	z-index: 999;
	border-color:#444;
	line-height: 19px;
    padding-bottom: 2px;
	width:106px;
}
.ringPriceDiv h1 span{
	font-size:14px;
}
.ringPriceDiv h1 div{
	color:#ccc;
}
.finishTypeSelecter .titleButton{
    display:none;
	right: 32px !important;
	width: auto;
}

.finishTypeSelecter input {
	position: absolute;
	right: 6px;
	top: 6px;
}