
html,
body{
	height:100%;
	margin:0;
	padding:0; 
	background-color: #ffffff;	
	font-size:12px;
	position:relative;
}
 

/* scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  cursor:pointer;
}

::-webkit-scrollbar-thumb:hover {

  background: #555;
}

::-webkit-scrollbar-thumb:window-inactive {
  background: #ddd;
}


progress{
	width:100%;
}

.sceneDataSize{
	margin:16px 0;
}
.circle-bg {
  fill: none;
  stroke-width: 3.8;
  stroke: #ccc;
}

#roundedProgress {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke: #000;
}

#scenePercentage {
  font-size: 0.7em;
  text-anchor: middle;
  fill: #000;
}




/*#TopEdit
.outlinerZone,
#centerzone,
#rightzone
{
  visibility: hidden;
  }
  
  #centerzone,
  #TopEdit{
	  background:none !important;
  }
*/

.w-100{
	width:100%;
}

hr{
	width:100%;
}

p{
	margin:0;
	padding: 2px 0;
}

#workcanvas{
	width:256px; height:256px; position:fixed; bottom:0; left:0;z-index:30; border:2px solid green; display:none;
}

#mapcanvas{
	width:512px; height:512px; position:fixed; top:0; left:0;z-index:3; border:2px solid red; display:none;
}


#modelingContainer {
	height:100%;
	width:100%;
	min-width:1024px;
	min-height:600px;
	position:absolute;
	top:0;
	bottom:0;
	overflow:hidden;
	box-sizing: border-box;
	/*border:15px solid var(--primary-bg);*/
}
#mainModelcontent{
	background-color:  #ffffff;	
}

#addMaterial{
    margin-right:0;
}


.staticPanel{
		margin:0 0 1px 0;
	position:relative;
	box-sizing:border-box;
	padding:0 4px;
		min-width:240px; 
		display:flex;
		flex-direction:column;
		
		
} 

.staticPanelTop{
	display:flex;
	align-items: center;
	justify-content: space-between;
	padding:12px 0 8px 0;
	margin:0 12px;
	flex-shrink:0;
	
}


.staticPanelContent{
	margin: 0;
	padding:4px 12px;
	overflow:auto;
	box-sizing:border-box;
	position:relative;

}


.staticPanelContent .colorinput {
   	width:100%;
	padding-left:38px !important; 
}

.staticPanelContent .ColorPicker canvas:nth-child(1){
		left:-40px !important;
}

.staticPanelContent .ColorPicker canvas:nth-child(2){
	left:88px !important;
}

.staticPanelContent label{
	display:block;
}

 .flexrow{
	min-height:34px;
}



.staticPanelContent .flexrow input[type=range] + input[type=text]{
	min-width:34px; 
	flex-shrink: 0;
	padding:4px 8px;
}


.staticPanelContent .flexrow input[type=range]{
	width:100%;
	margin:0 8px 0 0;
	box-sizing:border-box;
}


.createBar{
	display: flex;
	justify-content:space-around;
	align-items:center;
	flex-wrap:wrap;
	margin:0 2px 2px 2px; 
}

.createBar span{
display:block;
width:100%;
}


.createBar button{
		
	width:28px;
	height:28px;
	padding:0;	margin:0;
	display:flex;
	align-items:center;
	justify-content:center;
	/*background-color: var(--secondary-bg)*/
	
}






.activeText,
.activeText:hover {
    color: red;
}


.badge,
.badge-active,
.badge-warning{
  display:inline-block;
  padding:2px 8px;
  margin:0 4px;
}


#NumberOfGeoms,
#NumberOfFaces{
	display:inline-block;
}

.badge,
.badge-active,
.badge-warning{
  display:inline-block;
  padding:2px 8px;
  margin:0 4px;
}

#intropanel{
	bottom:0;
	background-color: rgb(12, 12, 12, 0.76);
	box-shadow: none;
}

/*
#intropanel:before{
	content: "";
		position:fixed;
	z-index:12;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color: rgb(11, 12, 16, 0.76);
	
}
*/
#intropanel .floatpanelcontent{
	padding:32px 46px;
}
/*
*/



#viewportSettings{
	position: absolute;
	z-index:2;
	top:4px;
	right:8px;
	display:flex;
	justify-content:end;
}

#viewportSettings label{
cursor:pointer;
display: inline-block;
	margin:0 4px;	
}

#viewportSettings img{
	padding:2px;
}

#viewportSettings input[type=checkbox]{
	display:none;
}

#viewportSettings input[type=checkbox]:checked + img{
	background-color:#eee;
}


#menuBtn{
	margin:0 20px 0 8px;
	padding:8px;
	line-height: 24px;
	/*outline:1px solid var(--border);*/
}

#MainMenu{
	position:absolute;
	top:58px;
	left:72px;
	z-index:98;
	width:204px; 
	flex-wrap:wrap;
	 align-items: stretch;
	 box-sizing:border-box;
}

#MainMenu>.buttonContainer{
  position: relative;
	width:100%;
	padding:2px 0;
}
#MainMenu>.buttonContainer>button,
#MainMenu>.buttonContainer>.button,
#MainMenu>.buttonContainer>label{
	width:100%;
	margin:0;
	text-align:left;
	display:flex;
	padding:6px 12px;
}

#MainMenu>.buttonContainer>button img,
#MainMenu>.buttonContainer>button svg{
	margin-right:6px;
}


#MainMenu>.buttonContainer>.subMenu>button,
#MainMenu>.buttonContainer>.subMenu>.button,
#MainMenu>.buttonContainer>.subMenu>label {
width:100%;
	margin:2px 0;
	text-align:left;
	display:flex;
	padding:6px 12px;
}



 
.subMenu {
  position: absolute;
  top:0;
  left:200px;
	width:204px; 
	flex-wrap:wrap;
	 align-items: stretch;
	 box-sizing:border-box;
}
 

#TopMenu{
	display: flex;
  align-items: center;
  justify-content:space-between;
  height: 53px;
  box-sizing: border-box;
}


#TopEditLeft {
  display: flex;
  align-items:center;
  box-sizing: border-box;
  height:100%;  
  padding:0 8px;
}


#TopEditLeft button{
	margin:0 4px;
}



#TopEditRight{
  display: flex; 
  align-items:center;
  justify-content:end;
  box-sizing: border-box;
  height:100%; 
  padding:0 8px;
}

#docTop{
	padding:8px;
	margin-left:0px;
}

#TopEdit{
	position:absolute;
  top: 52px;
display: flex;
  align-items: center;
  justify-content:space-between;
  padding: 4px;
  box-sizing: border-box;
  height:44px;
  left: 349px;
}


#leftzone {
  left: 0;
  width: 348px;
  top: 54px; 
  /*bottom: 42px;*/
  bottom: 38px;
}
#centerzone{ 
  top: 54px;
  left: 348px;
  bottom: 42px;
  position: absolute;
  z-index:2;
}

#rightzone {
  right: 0;
  width: 298px; 
  top: 54px;
  bottom: 38px;
  display:flex;
   flex-direction: column;

}

 
#bottomzone {
  bottom: 0;
  left: 0;
  right: 0;
  height: 38px;
  box-sizing:border-box;
  padding:4px 12px 4px 64px;
  display:flex;
  align-items: center;
  justify-content: space-between;
}



.bottomzoneleft{text-align:left; width:240px}
.bottomzonecenter{text-align:center; display:flex; align-items:center; justify-content:center;}
.bottomzoneright{text-align:right;  width:240px}

#bottomzone svg{
	margin:0 0 0 12px;
}



.settingsBtn{
	margin-left:auto;
}

#leftzonegrip,
#rightzonegrip{
	  position:absolute;
	  top:50%;
	  z-index:2;
	  height:40px;
	  line-height:40px;
	  padding:0;
	  text-align:left;
	  width:11px;
	  overflow:hidden;
	  margin-top:-20px;
	  cursor:ew-resize;
	  display:flex;
	  align-items: center;
	  justify-content:center;
  }


  #leftzonegrip{
	  right:auto;
	  left:-6px;
  }  
  
  #rightzonegrip{
	  left:auto;
	  right:-6px;
  } 
 
#repeatU,
#repeatV,
#roughrepeatU,
#roughrepeatV,
#normalrepeatV,
#normalrepeatV{
	width:36px;
}

.flexrow{
	display: flex;
	width:100%;
	justify-content:space-between;
	align-items:center;
	flex-wrap:nowrap;
}

.floatpanel{
position:fixed;
z-index:998;
top:10px;
left:10px;
bottom:auto;
right:auto;
width:240px;
height:240px;
text-align:left;
overflow: hidden;
background-color:#fff;
  outline:1px solid rgba(0,0,0,.06);
}

.floatpanelactive{
z-index:999;
}

.floatpanelmenu{
  padding: 0 4px 4px 4px;
  position:relative;
}
.floatpanelmenu *{
vertical-align: middle;
}

.floatpanelcontent{
overflow:auto;
position:absolute;
top:42px;
left:0;
bottom:24px;
right:0;
padding:24px;
}

.floatpanelcontent label{
padding: 8px 8px 4px 8px;
margin: 4px 0;
display:block
}


.floatpanelbody{
padding:14px 23px 14px 0;
}
 
.floatpanelbar{
	display:flex;
	align-items:center;
	justify-content:space-between;
padding:6px 12px 6px 20px; 
overflow:hidden;
  margin:4px;
  cursor: all-scroll;
}


.floatpanelclose{
	width:22px;
	height:22px;
	text-align:center;
	position:absolute;
	line-height:20px;
	font-size:18px;
	top:16px;
	right:24px;
  cursor: pointer;
}

.floatpanelbar .floatpanelclose{
position:static
}

.floatpanelclose:before{
	content:'\00D7';
}


.floatpanelcorner{
height:0px;
width:0px;
cursor:nwse-resize;
position:absolute;
z-index: 21;
top:auto;
left:auto;
bottom:4px;
right:4px;
padding:0px;
border-top:15px solid rgba(0,0,0,0);
border-left:15px solid rgba(0,0,0,0);
border-bottom:15px solid #eee;
border-right:15px solid #eee;
}



input[type=text],
select{
   box-sizing: border-box;
    padding: 4px 8px;
    margin: 4px 0;
}

input[type=number]{
   box-sizing: border-box;
    padding: 4px 4px 4px 8px;
	text-align:left;
    margin: 4px 0;
}

textarea {
   box-sizing: border-box;
    padding: 4px 8px;
    margin: 4px 0;
	width: 100%;
}

#TopMenu #TopEditCenter{
	
  display: flex; 
    align-items: stretch;
	justify-content:center;
  box-sizing: border-box;
	padding:2px 1px;
	position:relative;
	width:100%;
	text-align:center;
}

#TopMenu #TopEditCenter>button{
	margin: 0 1px;
	padding:12px 24px;
	height:100%;
}

#uvmenu button,
#uvmenu .button{
	display:inline-block;
	padding:6px; 
	margin: 2px;
	
}


#tab1,
#tab2,
#tab3,
#tab4{
	overflow-x:auto;
	padding:4px;
	display: flex;
	align-items:center;
	justify-content:center;
	position:absolute;
	z-index:4;
	top:44px;
	left:120px;
	right:120px;
	/*
		border-radius:calc( var(--rounded) + 2px);
		background-color: rgba(44,40,52,.8);
		border:1px solid rgba(255,255,255,0.1);
		*/
		
	
}

#tab1 button,
#tab2 button,
#tab3 button,
#tab4 button{
	/*display:inline-block;*/
	display: flex;
	padding:8px; 
	margin: 4px;
	text-align:center;
	font-size:0px;
	flex-shrink:0; 
}



#uvmenu button img,
#uvmenu .button img{
	
	height:20px;
	width:20px;
	opacity:0.82; 
	display:block;
	margin:0 auto; 
}

#showchecker{
	margin-right:4px;
}
#tab1 button img,
#tab2 button img,
#tab3 button img, 
#tab4 button img{
	height:24px;
	width:24px;
	opacity:0.82; 
	display:block;
	margin:0 auto; 
}  
/*
#uvmenu button:hover,
#uvmenu .button:hover,
#tab1 button:hover,
#tab2 button:hover,
#tab3 button:hover,
#tab4 button:hover{
	background: none;
	outline:1px solid rgba(255,255,255,0.1);
}*/

#uvmenu button:hover img,
#uvmenu .button:hover img,
#tab1 button:hover img,
#tab2 button:hover img,
#tab3 button:hover img,
#tab4 button:hover img{
	opacity:1;
	
} 

#tab1 button img,
#tab2 button img,
#tab3 button img,
#tab4 button img{
	margin-bottom:-4px;
	margin-top: -2px;
	
}

#tophelpbtn{
	padding:8px;
	margin-left: 16px;
}

.transformicons button{
	padding:6px;
	margin:2px;
}

.usericon{
	width:38px;
	height:38px;
	margin:0 4px;
	display:flex;
	justify-content:center;
	align-items:center;
	position:relative;
}




#uvmenu input[type=text]{
	margin:0 4px;
}



#unlinkMaterial{
	margin:0;
	padding:6px;
}


.materialPropTop{
	display:flex;
	align-items:center;
	justify-content: space-between;
	width:100%;
	padding:0 0 4px 0;
}

.materialPropTop>div:nth-child(1){
width:48px;
flex-shrink:0;
margin-right:18px;
padding:8px;
}

.materialPropTop>div:nth-child(2){
width:100%;
}
 
#materialProp{
	position:absolute;
	top:32px;
	left:0;
	right:0;
	bottom:12px;
} 



.outlinerZone{
  position: absolute;
  z-index: 1; 
  left: 65px;
  right: 0;
  top: 0; 
  bottom:0;
  min-width: 200px;
  display:flex;
  flex-direction:column;
  align-items: stretch;

}

.outlinerZone .staticPanel{
	height:50%;
}
 


#objtree {
  padding:0 8px;
  margin:4px 0 16px 0;
  overflow:auto;
  
  } 

#objtree ul {
  padding: 0;
  margin: 0 0 0 14px;
}


#objtree li {
  margin: 0;
  padding:0;
  list-style-type: none;
  list-style-position: outside;
  position: relative;
  -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 */
}

#objtree li>span {
  padding:4px;
  display: flex;
  justify-content: space-between;
  align-items:center;
  overflow: hidden;
  opacity: 1;
}

 #objtree .active>span {
	background-color: #eee;
}

#objtree li>span>b{
  margin: 0 2px;
  cursor: pointer;
  width: 16px;
  height:18px;
  box-sizing:border-box;
  display: flex;
  align-items: center;
}


#objtree li>span>span{
	height:18px;
	overflow:hidden;
	width:100%;
	margin:0 2px;
	cursor: move;
}

#objtree li>span>span>input[type=text]{
  width: 100%; 
  outline: none;
  height:18px;
  margin:0;
  padding:0;
  box-sizing: border-box;
}



#objtree li>span>del {
  display: flex;
  cursor: pointer;
	width:22px; 
	height:22px;
  align-items:center;
  justify-content:center;
  font-weight:bold;
  font-size:16px;
  padding:0;
  text-align: center;
  text-decoration: none;
  flex-shrink:0;
  margin:0 2px 0 8px;
} 

#objtree .hidden span>span{
	opacity:0.3;
} 

#objtree .dragElem {
  padding-bottom: 32px;
}

#objtree .dragElem>span {
  pointer-events: none;
}

#objtree .dragElem:after {
  content: '';
  display: block;
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 4px;
  left: 2px;
  right: 2px;
  height: 26px;
  outline: 2px dotted rgba(0, 0, 0, .9);
}

#objtree .templi {
	height:4px;
}

#objtree .templi:before{
	content: '';
  display: block;
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#objtree .dragElem .templi:before{
  bottom: -18px;
} 

#objtree .dragMove{
  opacity: .5;
}


#matList{
	padding:0 8px;
	margin:4px 0; 
	overflow:auto;
	box-sizing:border-box;
}

.materialBox{
	display:flex;
	align-items:center;
	justify-content:space-between;
	padding:8px;
	margin: 4px 0;
	cursor:pointer;
}


/**/
.materialBox:hover{
	background-color: #eee;
}

.materialBox.active{
	background-color: #eee;
}

.materialBox input[type=checkbox],
.materialBox button{
	box-sizing:border-box;
	margin:0 2px;
	padding:0;
	flex-shrink:0;
	width:22px;
	height:22px;
	justify-content:center;
	
} 


.materialBoxPreview{
	width: 24px;
	height:24px;
	border-radius:50%;
	overflow:hidden;
	position:relative;
	margin:0 8px 0 0;
	flex-shrink:0;
}

#matPreview{
	width: 48px;
	height:48px;
	border-radius:50%;
	overflow:hidden;
	position:relative;
	flex-shrink:0;
} 

#matPreviewColor,
.materialBoxColor{
	
	width:100%;
	height:100%;
		border-radius:50%;
	background-size: 100% 100%;
	box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.8) inset;
	 background-blend-mode: multiply;
	
}

#matPreviewSpecular,
.materialBoxSpecular{
	position:absolute;
	z-index:2;
	width:100%;
	height:100%;
	border-radius:50%;
	left:-10%;
	top:-10%;
	mix-blend-mode: screen;
	pointer-events:none;
}

.materialBoxName{
	overflow:hidden;
	line-height:14px;
	height:100%;
	flex-grow: 1;
}


button,
.button {
  cursor: pointer;
  padding:8px 16px;
  margin:4px;
  line-height:16px;
  white-space: nowrap;
  display:inline-flex;
  align-items: center;
  box-sizing:border-box;
}



.button-lg{
	padding:8px 16px;
}



.disabled,
button:disabled,
.tabsDisabled button,
.tabsDisabled input,
.tabsDisabled label{
  cursor: default;
  pointer-events: none;
     opacity:0.5;
}


.textureBox .disabled{
	 display:none !important;	
}



#leftzone,
#rightzone,
#bottomzone {
  position: absolute;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 1;
}



.cursolLabel{
	width:80px;
	padding-right:4px;
	flex-shrink:0;
}



.radiogroup{
	display: flex;
	align-items:center;
	margin:2px 0 2px 8px;
	width:calc(100% - 86px);
}

.radiogroup label{
	padding:6px 12px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:100%;
	text-align:center;
}


.columnContent{
	display:flex;
	flex-direction: column;
}
/*
#materialsContentTop{
	height:60px;
	box-sizing:border-box;
  padding: 8px;
}
#materialsContent{
	overflow:auto;
	height:auto;
	
	display:flex;
	flex-wrap:wrap;
}

#materialsContentBottom{
	height:60px;
}*/



.geomtexlabel{
	width: 46px; 
	height: 46px;
	display:block;
	position:relative;
	background-color:rgba(128,128,128, 0.3);
	overflow:hidden;
	cursor:pointer;
}


.geomtexlabel input[type=checkbox]{
		position:absolute;
	bottom:2px;
	right:2px;
	z-index:2;
	margin:0;
}
 
 
 .textureBox{
		display: flex;
	width:100%;
	justify-content:space-between;
	align-items:center;
	flex-wrap:nowrap;
	margin: 4px 0;
	padding: 4px 0;
}

#textureVisibility,
#roughtextureVisibility,
#normaltextureVisibility,
#downloadtexture,
#downloadroughtexture,
#downloadnormaltexture,
#cleartexture,
#clearroughtexture,
#clearnormaltexture{
	margin:0 2px;
	width:22px;
	height:22px;
	display:flex;
	align-items:center;
	justify-content:center;
}




#attachMaterial{border: 1px solid var(--border);
padding:6px 24px;
margin:8px 0;}
#uploadtexture, 
#uploadroughtexture, 
#uploadnormaltexture{
	margin-left: auto;
border: 1px solid var(--border);
padding:6px 24px;
margin:0 0 0 auto;
}
 
#repeatU,
#roughrepeatU,
#normalrepeatU
{
	width:32px;
	padding-left:8px;
	padding-right:8px;
	margin: 0 1px 0 auto;
	flex-shrink:0;
}
 
#repeatV,
#roughrepeatV,
#normalrepeatV{
	width:32px;
	padding-left:8px;
	padding-right:8px;
	margin: 0 8px 0 1px;
	flex-shrink:0;
}


 


.texturelabel{
	display:block;
	background-color:rgba(128,128,128, 0.3);
	overflow:hidden;
	cursor:pointer;
	flex-shrink: 0;
	margin-right:8px;
}

.texturelabel,
.texturelabel>img,
#textureCanvas{
	width: 32px; 
	height: 32px; 
}



#gInteractions .flexrow input{
	 width:100%;
	 margin:4px;
 }
 
#gInteractions .flexrow img{
	margin-right:8px;
}

#gInteractions #gInteractionsBar button img{
	margin:0;
}


#gInteractions .flexrow .activeIcon{
	opacity: 1;
}

.pannelSubtitle {
  display: inline-block;
}

.badge-active,
.badge-warning{
  display: inline-block;
  padding: 0 8px;
  vertical-align: top;
}

#applybtn{
 position: absolute;
 z-index:8;
  top: auto;
  bottom: 4px; 
  left: auto;
  right: 80px;
  padding: 10px 16px;
}

#historyZone{
  position: absolute;
  top: auto;
  bottom: 8px; 
  left: auto;
  right: 12px;
  z-index:9;
  padding: 12px 16px;
  background-color:#eee;
}
#historyZone .pannelTitle{
  padding:0 8px;
  font-weight:bold;
  display: flex;
  align-items: center;
}

#historyZone .pannelTitle img{
	margin-left:-4px;
	margin-top: -2px;
}

#historyContainer {
	display:none;
}

#historyZone:hover{
	width:200px;
}
.historytitletext{
	display:none;
}
#historyZone:hover .historytitletext{
		display:inline;
}
#historyZone:hover #historyContainer{
	display:block;
}

#historyContainer{
	margin:0;
	padding:16px 0;
}

#historyContainer li{
  cursor:pointer;
  padding:4px 8px;
  list-style-type:none;
  list-style-position: outside;
}


#navZone{
  width: 64px;
  position: absolute;
  z-index: 2;
  top: 0;
  left:0;
  bottom:1px;
  padding:8px 10px;
  box-sizing:border-box;
  text-align:center;
  overflow:auto;
}

#navZone button,
#navZone .button{
	margin-right:0;
	margin-left:0;
	padding:4px;
	width:100%;
	justify-content:center;
	flex-wrap:wrap;
	min-height:42px;
}


#navZone #cameraPButton,
#navZone #cameraFButton,
#navZone #cameraSButton,
#navZone #cameraTButton{
	padding:2px;
}



#inputfiles {
  display: none;
}

#dropZone {
  position: absolute;
  z-index: 70;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  align-items:center;
  justify-content: center;
  display:flex;
  flex-wrap: wrap;
  text-align:center;
}


 
#envsContainer{
padding:4px 0;
}
 

#envsContainer img{
	width:42px;
	height:42px; 
	margin:8px;
	cursor:pointer;
}

 
  #tooltip{
position:absolute;
z-index:999;
top:20%;
left:20%;
right:20%;
bottom:20%;
box-sizing:border-box;
padding:32px 16px;
pointer-events:none;
  display:flex;
  align-items:center;
  justify-content:center;
}

