body {
    touch-action: pan-y;
            margin: 0;
            touch-action: none;
            width: 100%
            overscroll-behavior-x: none;
overscroll-behavior-y: none;
            background-color: #f0f0f0;
            height: 100%;

            color: rgba(255,255,255,0.7);
font-size: larger;
font-family: Ubuntu Light, Segoe UI Light, Arial !important;
        }
        .dark {
            filter: invert(100%);
        }
        #toolbox {
            min-width: 133px;
            min-height: 64px;
            position: fixed;
            font-size: 0;
            width: 281px;
            height: 175px;
            top: 50px;
            left: 10px;
            border-bottom: dashed #999 1px;

            border-bottom-right-radius: 13px;
            border-collapse: collapse;
            overflow:auto;
            resize: both;
        }
        #segtoolbox {
            border-radius: 10px;
            position: fixed;
            font-size: 0;
            opacity: 0.7;
            top: calc(100% - 80px);
            left: 10px;
            border-collapse: collapse;
           
       
        }
        #segtoolbox div {
            width: 35px;
            height: 35px;
            padding: 0;
            bottom: 0;
transition: 0.2s;
background-color: #f0f0f0;
            overflow: hidden;
            display:inline-block;
            background-size: 80%;
            border: dashed 1px #999;
            background-position: 50%;
            background-repeat: no-repeat;
        }
        #toolboxArea {
            background: rgb(240,240,240);
            background: linear-gradient(90deg, rgba(240,240,240,1) 0%, rgba(224,224,224,1) 99%, rgba(222,222,222,1) 99%, rgba(191,189,189,1) 100%);
            overflow: hidden;
            border-collapse: collapse;
            transition: 0.2s;
            width: calc(100% - 2px);
            border: dashed #999 1px;
           // border-right: 0;
            height: calc(100% - 27px);
        }
#toolbox::-webkit-scrollbar {
  width: 20px;
  background-color: transparent;
}
#toolbox::-webkit-scrollbar-corner {
  background-color: transparent;
}
   #toolbox::-webkit-resizer {
    background-color: rgba(0, 0, 0, 0.123);
    border-top-right-radius: 13px;
    border-bottom-right-radius: 13px;
    border: solid rgba(150, 150, 150, 0.8) 2px;
    border-left: solid rgba(150, 150, 150, 0.8) 1px;
    box-shadow: -2px 0px 0px 0px rgba(150,150,150,0.8);

}
#import {
    width: 35px;
}
        #toolboxArea div {
            width: 35px;
            height: 35px;
            padding: 0;
            bottom: 0;
transition: 0.2s;
            overflow: hidden;
            display:inline-block;
            background-size: 80%;
            border: dashed 1px #999;
            background-color: #f0f0f0;
            background-position: 50%;
            background-repeat: no-repeat;
        }
        #toolbox:target {
        	z-index:4;
        }
                #toolboxTitle {
                touch-action: none;
	height: 16px;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
background-color: #343247;
color: white;
padding: 6px;
overflow: hidden;
cursor: move;
user-select: none;
font-size: 14px;
text-align: left;
padding-left: 20px;
}
#shapes {
    position: fixed;
    color: #444;

    width: 270px;
    height: 300px;
    z-index: 2;
    min-height: 28px;
    min-width: 120px;
    border-bottom: dashed #999 1px;
    border-bottom-right-radius: 13px;
    top: 50px;
    left: 50px;

    overflow:auto;
    resize: both;
}
                #shapesTitle {
                touch-action: none;
	height: 16px;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
background-color: #343247;
color: white;
padding: 6px;
cursor: move;
user-select: none;
font-size: 14px;
text-align: left;
padding-left: 20px;
}
#shapes:target {
	z-index: 4;
	}
	#colorPick:target {
	z-index: 4;
	}
#shapes::-webkit-scrollbar {
  width: 20px;
  background-color: transparent;
} 
#shapes::-webkit-scrollbar-corner {
  background-color: transparent;
}
   #shapes::-webkit-resizer {
    background-color: rgba(0, 0, 0, 0.123);
    border-top-right-radius: 13px;
    border-bottom-right-radius: 13px;
    border: solid rgba(150, 150, 150, 0.8) 2px;
}
#properties::-webkit-scrollbar {
  width: 20px;
  background-color: transparent;
} 
#properties::-webkit-scrollbar-corner {
  background-color: transparent;
}
   #properties::-webkit-resizer {
    background-color: rgba(0, 0, 0, 0.123);
    border-top-right-radius: 13px;
    border-bottom-right-radius: 13px;
    border: solid rgba(150, 150, 150, 0.8) 2px;
}
#properties { 
    position: fixed;
    width: 200px;
    height: 300px;
    border-bottom: dashed #999 1px;
    
    top: 100px;
    z-index: 3;
    color: #444;
    min-width: 120px;
    min-height: 26px;
    left: 100px;
    overflow: auto;
    border-bottom-right-radius: 13px;
    overflow:auto;
    resize: both;
}
.property {
    position: relative;
    height: 20px;
    padding: 10px;
    font-family: Arial;
    font-size: 20px;
}
.property:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.06);
    }
.delshape {
    float: right;
    position: absolute;
    right: 0;
    top: 0;
    padding: 4px;
    border: dashed #999 1px;
    border-radius: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
}
.properties {
    float: right;
    position: absolute;
    right: 40px;
    top: 0;
    width: 35px;
    height: 35px;
    background-image: url(../img/properties.svg);
    background-repeat: no-repeat;
    border: dashed #999 1px;
    background-size: 60% 60%;
    background-position: center;
    border-radius: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
}
.propinput {
    width: 70px;
    position: abaolute;
    right: 5px;
    margin-top: -5px;
    -moz-appearance: textfield;
    background: #f0f0f0;
    box-shadow: none !important;
    height: 30px;
    color: #444;
    padding: 3px;
    font-size: 20px;
    font-family: Arial;
    border: dashed 1px #998 !important;
}
#shapescroll {
    height: calc(100% - 28px);
    background: #f0f0f0;
background: linear-gradient(90deg, rgba(240,240,240,1) 0%, rgba(217,217,217,1) 100%);
    border: dashed #999 1px;
    overflow: auto;
}
#propertyscroll {
    background: #f0f0f0;
background: linear-gradient(90deg, rgba(240,240,240,1) 0%, rgba(212,212,212,1) 100%);
    width: calc(100% - 2px);
   height: calc(100% - 28px);
    border: dashed #999 1px;
    overflow-y: auto;
   overflow-x: hidden;
}
.hideProperties {
    display: none;
}
.shape {
    position: relative;
    padding: 10px;
    
    font-family: Arial;
    font-size: 20px;
}
.shape:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.06);
    }
    .hideShapes {
        display: none;
    }
        #panel {
            width: 100%;
            height: 35px;
            transition: 0.1s;
            position: fixed;
            font-size: 0;
            z-index: 5;
            top: 0;
            background-color: #f0f0f0;
            border-bottom: dashed 1px #999;
            overflow:  hidden;
        }

        .hidden {
            width: 108px !important;
        }
.hidden input {
    display: none;
}
        #panel div {
            display: inline-block;
            width: 35px;
            height: 35px;
            bottom: 0;
            background-size: 80%;
            border-right: dashed 1px #999;
            background-color: #f0f0f0;
            background-position: 50%;
            background-repeat: no-repeat;
        }

        #panel input[type='range'] {
            -webkit-appearance: none;
            overflow: hidden;
        }

        #panel input::-webkit-outer-spin-button,
        input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        #panel ::-webkit-slider-runnable-track {
            height: 23px;
            cursor: pointer;
            background-color: white;
            border: dashed #999 1px;
            border-radius: 100px;
        }
        input[type=range] {
    -webkit-appearance: none;
}

        #panel ::-webkit-slider-thumb {
            height: 21px;
            width: 21px;
           
            border-radius: 100%;
            background: #fff;
            cursor: pointer;
            z-index: 3;
            -webkit-appearance: none;
            outline: dotted #000 1px;
        }

        #panel ::-moz-range-track {
            height: 25px;
            cursor: pointer;
            background: #555;
            border-radius: 100px;
        }

        #panel ::-moz-range-thumb {
            height: 30px;
            width: 30px;
            margin-top: -3px;
            border-radius: 100%;
            background: #888;
            cursor: pointer;
            -webkit-appearance: none;
            border: solid 3px #f0f0f0;
        }

        #width {
            width: calc(100% - 215px);
            padding-bottom: 5px;
        }

        #iw {
            width: 60px;
            position: relative;
            top: -9px;
            -moz-appearance: textfield;
            background: #f0f0f0;
            box-shadow: none !important;
            height: 39px;
            color: #444;
            padding: 3px;
            font-size: 20px;
            font-family: Arial;
            border: 0 !important;
            border-right: dashed 1px #998 !important;
        }


        

        #myCanvas {
            position: fixed;
            width: 100%;
            height: 100%;
        }

        #tempCanvas {
            position: fixed;
            width: 100%;
            height: 100%;
        }

        #range {
            position: fixed;
            background-color: #333;
            height: 40px;
            transition: 0.1s;
            left: 50px;
            box-shadow: 0px 0px 0px 5px white;
            top: 50px;
            width: 50%;
            border-radius: 40px;
        }

        #range1 {
            position: fixed;
            width: 40px;
            height: 40px;
            box-shadow: 0px 0px 0px 5px white;
            background-color: #333;
            border-radius: 100%;
        }

        #range2 {
            position: fixed;
            width: 40px;
            right: 0;
            height: 40px;
            box-shadow: 0px 0px 0px 5px white;
            background-color: #333;
            border-radius: 100%;
        }

        .flip {
            transform: rotate(180deg);
            border-left: dashed 1px #999;
            border-right: 0 !important;
        }

        #pen {
            background-image: url(../img/pencil.svg);
        }
        
        #tools {
            background-image: url(../img/tools.svg);
        }

        #hide {
            background-image: url(../img/hide.svg);
            transition: 0.2s;
        }


        #color {
            border-radius: 100%;
            width: 25px;
            height: 25px;
            margin: 5px;
            outline: dashed #999 1px;
        }

        #colorPick {
            position: fixed;
            background-color: #fafafa;
            padding: 6px;
            top: 50px;
            left: 10px;
            transition: 0.1s;
            border: 2px dashed #999;
            border-radius: 7px;
        }

        #colorCanvas {
            border: 1px solid #777;
            width: 290px;
            height: 150px;
        }

        /*********** Baseline, reset styles ***********/
/*********** Baseline, reset styles ***********/
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 25rem;
}

/* Removes default focus */
input[type="range"]:focus {
  outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
/* slider track */



        .colorHide {
            left: -100% !important;
            opacity: 0;
            transition: 0.1s;

        }

        .hideArch {
            top: -250px !important;
            opacity: 0;
        }

        #save {
            display: flex;
            background-position: 50%;
            background-size: 80%;
            background-repeat: no-repeat;
            height: 100%;
        }

     #top {
        pointer-events: all;
     }
   #top table {
    right: 0;
    border-spacing: 5px 20px;
    
    position: fixed;
   }
   #top td {
    width: 30px;
    height: 30px;
    margin: 20px;
    bottom: 0;
    background-size: 80%;
    background-position: 50%;
    background-repeat: no-repeat;
}
#chat {
    filter: blur(0);
    width: 100%;
    height: calc(100% - 28px);
    border: 0;
    border-bottom-left-radius: 13px;
    position: relative;
    border-bottom-right-radius: 0px;
}
#chatArea {
    width: 300px;
    z-index: 11;
    height: 376px;
    border-radius: 13px;
    min-width: 220px;
    min-height: 28px;
    border-bottom: solid rgba(0, 0, 0, 0.123) 2px;
    position: fixed;
    top: calc(100% - 396px);
    left: calc(100% - 320px);
    overflow:auto;
    resize: both;
}
#chatArea::-webkit-scrollbar {
  width: 20px;
  background-color: transparent;
} 
#chatArea::-webkit-scrollbar-corner {
  background-color: transparent;
}
   #chatArea::-webkit-resizer {
    background-color: rgba(0, 0, 0, 0.123);
    border-top-right-radius: 13px;
    border-bottom-right-radius: 13px;
    border: solid rgba(150, 150, 150, 0.8) 2px;
}
    
#chatBorder {
	border-radius: 13px;
    border-bottom-right-radius: 0px;
	border: solid rgba(0, 0, 0, 0.123) 2px;
	border-bottom: 0px;
	}
#chatTitle {
touch-action: none;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
background-color: #343247;
color: white;
padding: 6px;
cursor: move;
user-select: none;
font-size: 14px;
text-align: left;
padding-left: 20px;
}f
#shapesTitle {
touch-action: none;
	height: 16px;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
background-color: #343247;
color: white;
padding: 6px;
cursor: move;
user-select: none;
font-size: 14px;
text-align: left;
padding-left: 20px;
}
#propertiesTitle {
touch-action: none;
	height: 16px;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    outline: solid rgba(0, 0, 0, 0.123) 2px;
background-color: #343247;
color: white;
padding: 6px;
cursor: move;
user-select: none;
font-size: 14px;
text-align: left;
padding-left: 20px;
}

#hideChat {
    top: 3px;
    right: 3px;
    position: absolute;
    cursor: pointer;
    font-size: 14px;
    padding: 3px;
    border-radius: 100%;
    background-color: rgb(78, 78, 78);
}
#chatCount {
    top: 3px;
    right: 24px;
    position: absolute;
    font-size: 14px;
    padding: 3px;
    background-color: #343247;
}
.hiddenChat {
    transition: 0.3s;
    bottom: -380px !important;
    top: 100% !important;
}
#openChat {
    position: fixed;
    background-color: #f0f0f0bf;
    color: #000000ee;
    top: 50px;
    z-index: 11;
    transition: 0.1s;
    left: -80px;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    width: 60px;
    height: 30px;
    border: dashed 1px #777;
}
.showOpenChat {
    left: -3px !important;
}
#connect {
	opacity: 0.8;
	background-image: url(../img/loading.gif);
    background-repeat: no-repeat;
    background-size: 20%;
  width: 100%;
  pointer-events: none;
  touch-action: none;
  z-index: 10;
  height: 100%;
  transition: 0.2s;
  position: fixed;
  
}
.hidesplash {
  display: none;
  opacity: 0;
}
	.hidden {
	border-bottom-right-radius: 17px;
	}
	.hidden #tools {
	border-bottom-right-radius: 17px;
	}
	#tools {
		transition: 0.2s;
		}
		#topline {
			position: fixed;
			z-index: 10;
			width: 100%;
			height: 0;
			border-bottom: dashed #999 1px;
			}
			    #opinput input[type='range'] {
            -webkit-appearance: none;
            width: 250px;
            margin: 0;
            box-shadow: 0px 0px 0px 1px black;
            margin-left: 1px;
        }

        #opinput input::-webkit-outer-spin-button,
        input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        #opinput ::-webkit-slider-runnable-track {
            height: 25px;
            cursor: pointer;
            background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 100%);
        }

        #opinput ::-webkit-slider-thumb {
            height: 30px;
            width: 30px;
            border-radius: 4px;
            background: rgba(0, 0, 0, 0.8);
            margin-top: -2px;
            cursor: pointer;
            -webkit-appearance: none;
            border: solid 1px #999;
        }

        #opinput ::-moz-range-track {
            height: 25px;
            cursor: pointer;
            background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 100%);
        }

        #opinput ::-moz-range-thumb {
            height: 30px;
            width: 30px;
            border-radius: 4px;
            margin-top: -2px;
            background: rgba(0, 0, 0, 0.8);
            cursor: pointer;
            -webkit-appearance: none;
            border: solid 1px #999;
        }
        #area { 
        	position: fixed;
        top: 0%;
        left: 0%;
        transition: 0.2s;
        outline: dashed #999 1px;
        width: 100%;
        height: 100%;
         background: url(../img/area.png) repeat;
        }
        .minified {
        	width: 60%;
        height: 60%;
        top: 20%;
        left: 20%;
        }
        #gradtrack {
        	display: none;
        }
#twist {
	width: 47px;
	display: inline-block;
	height: 47px;
	margin-top: -8px;
	margin-left: -2px;
	position: fixed;
	-webkit-tap-highlight-color: transparent;
 background: url(../img/twist.png) no-repeat rgba(255,255,255,0);
 background-size: contain;
 
}
#colTab1 {
	
	background-color: lightblue;
	}
	#colTab2 {
	
	background-color: gray;
	}
	#colTabs {
		width: 100%;
		height: 20px;
		}
		.gradTab {
			#colTab1 {
	
	background-color: gray;
	}
	#colTab2 {
	
	background-color: lightblue;
	}
	#gradfield {
		width: calc(100% - 5px);
		height: 25px;
		margin-top: 10px;
		margin-bottom: 10px;
		border: 2px solid black;
		
		}
		#gradfield div{
			width: 20px;
			display: inline-block;
			height: 30px;
			position: absolute;
			
			margin-top: -4px;
			border: 2px solid black;
			}
			#gradtrack {
				margin-top: 10px;
				
				display: block !important;
				margin-bottom: 6px;
				}
			     #gradtrack input[type='range'] {
            -webkit-appearance: none;
            overflow: hidden;
        }

        #gradtrack input::-webkit-outer-spin-button,
        input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        #gradtrack ::-webkit-slider-runnable-track {
            height: 23px;
            
            cursor: pointer;
            background-color: white;
            border: dashed #999 1px;
            border-radius: 100px;
        }
        #gradtrack input[type=range] {
    -webkit-appearance: none;
    width: 210px;
}

        #gradtrack ::-webkit-slider-thumb {
            height: 21px;
            width: 21px;
           
            border-radius: 100%;
            background: #fff;
            cursor: pointer;
            z-index: 3;
            -webkit-appearance: none;
            outline: dotted #000 1px;
        }

        #gradtrack ::-moz-range-track {
            height: 25px;
            cursor: pointer;
            background: #555;
            border-radius: 100px;
        }

        #gradtrack ::-moz-range-thumb {
            height: 30px;
            width: 30px;
            margin-top: -3px;
            border-radius: 100%;
            background: #888;
            cursor: pointer;
            -webkit-appearance: none;
            border: solid 3px #f0f0f0;
        }

        #gradwidth {
            
        }
			}
		.GLView {
            background-image: url(../img/forward.svg) !important;
        }
#menu {
	position: absolute;
	width: 200px;
	height: 100%;
	background-color: #f0f0f0;
	border-right: dashed 1px #999;
	left:0px;
	transition: 0.2s;
	z-index: 20;
	}
	#menuButton {
        background-image: url(../img/menu.svg)
    }
	.menuHide {
		left: -201px !important;
		}
		#menus {
			width: 100%;
			}
			#menus td {
				min-width: 20px;
				background-size: 90%;
				background-repeat: no-repeat;
				background-position: 50%;
				text-align: center;
				font-size: 22px;
				padding: 7px;
				border: dashed 1px #999;
				color: black;
				border-radius: 15px;
				}
#circle {
background-image: url(../img/circle.svg)
}
#line {
background-image: url(../img/line.svg);
}
#select {
background-image: url(../img/select.svg);
}
#cursor {
background-image: url(../img/cursor.svg);
}
#save {
background-image: url(../img/save.svg);
}
#picker {
background-image: url(../img/picker.svg);
}
#cutpencil {
background-image: url(../img/cutpencil.svg);
}
#fillpencil {
background-image: url(../img/fillpencil.svg);
}
#styler {
background-image: url(../img/styler.svg);
}
#shadow {
background-image: url(../img/shadow.svg);
}
#fill {
background-image: url(../img/fill.svg);
}
#polygon {
background-image: url(../img/polygon.svg);
}
#rect {
background-image: url(../img/rect.svg);
}
#image {
background-image: url(../img/image.svg);
}
#layers {
background-image: url(../img/layers.svg);
}
#totop {
background-image: url(../img/totop.svg);
}
#tobottom {
background-image: url(../img/tobottom.svg);
}
#meshcreator {
background-image: url(../img/meshcreator.svg);
}
#archive {
background-image: url(../img/archive.svg);
}
#fillstyler {
background-image: url(../img/fillstyler.svg);
}
#rope {
background-image: url(../img/rope.svg);
}
[id="3dpen"] {
background-image: url(../img/3dpen.svg);
}
[id="3dpen2"] {
background-image: url(../img/3dpen2.svg);
}
#quill {
background-image: url(../img/quill.svg);
}
#meshstitcher {
background-image: url(../img/meshstitcher.svg);
}
#smoothing {
background-image: url(../img/smoothing.svg);
}
#cube {
background-image: url(../img/cube.svg);
}
#tube {
background-image: url(../img/tube.svg);
}
#cursor {
background-image: url(../img/cursor.svg);
}
#sdelsegment {
background-image: url(../img/delsegment.svg);
}
#saddsegment {
background-image: url(../img/addsegment.svg);
}
#ssmoochseg {
background-image: url(../img/smoothseg.svg);
}
#srectifyseg {
background-image: url(../img/rectifyseg.svg);
}
#dmode td:first-child {
background-image: url(../img/night.svg);
}
#fullscreen  td:first-child{
background-image: url(../img/fullscreen.svg);
}
.fullscreened  td:first-child{
background-image: url(../img/fullscreenexit.svg) !important;
}
#openBackground td:first-child {
background-image: url(../img/background.svg);
}
#reset td:first-child {
background-image: url(../img/reset.svg);
}
#share td:first-child {
background-image: url(../img/share.svg);
}
#album td:first-child {
background-image: url(../img/album.svg);
}
#acc td:first-child {
background-image: url(../img/3dpen.svg);
}
#autofill td:first-child {
background-image: url(../img/fill.svg);
}
#tmode td:first-child {
background-image: url(../img/transparency.svg);
}
#rglitch td:first-child {
background-image: url(../img/transparency.svg);
}
#net td:first-child {
background-image: url(../img/transparency.svg);
}
#messages {
    position: fixed;
    width: 1000px;
    bottom: -180px;
    left:  -365px;
    text-align: left;
    height: 250px;
    pointer-events: none;
}
#back {
background-image: url(../img/back.svg);
}
#forward {
background-image: url(../img/forward.svg);
}
#unzoom {
background-image: url(../img/unzoom.svg);
}
#svgbox {
    position: fixed;
    width: 250px;
    left: 10px;
    top:  35px;
    height: 250px;
    pointer-events: none;
}
