html, body {
  width:  100%;
  height: 100%; 
  margin: 0px; 
}

.overlay {
    background: rgba(90,90,90,0.0);
    padding: 10px;
    width: auto;
    height: 500px;
    position: absolute;
    top: 100px;
    font-size:12px;
    font-family: Arial,Helvetica;
    color: white;
    display: none;
    text-align: center ; 
	right: 0px;	
	left:0px;
    margin-left: 0px;
    margin-right: auto;
    border-radius: 0px;
    /* box-shadow: 3px 3px 3px #888;  */
    z-index: 2; 
}

.overlay select{
   background: #5A5A5A;
   color: #BCBCBC;
   width: 200px;
   padding: 5px;
   font-size: 13px;
   width: 30px;
   border: 0px;
}

.overlay #view-1-fps{
    display:none;
}

.canvas{
       /* IE10 Consumer Preview */ 
    background-image: -ms-radial-gradient(center, circle farthest-corner, #FFFFFF 0%, #696067 100%);
    
    /* Mozilla Firefox */ 
    background-image: -moz-radial-gradient(center, circle farthest-corner, #FFFFFF 0%, #696067 100%);
    
    /* Opera */ 
    background-image: -o-radial-gradient(center, circle farthest-corner, #FFFFFF 0%, #696067 100%);
    
    /* Webkit (Safari/Chrome 10) */ 
    background-image: -webkit-gradient(radial, center center, 0, center center, 506, color-stop(0, #FFFFFF), color-stop(1, #696067));
    
    /* Webkit (Chrome 11+) */ 
    background-image: -webkit-radial-gradient(center, circle farthest-corner, #FFFFFF 0%, #696067 100%);
    
    /* W3C Markup, IE10 Release Preview */ 
    background-image: radial-gradient(circle farthest-corner at center, #FFFFFF 0%, #696067 100%);
    
    z-index: 0;
}

/* ribbon style */
.non-semantic-protector { position: relative; z-index: 1; }

.ribbon {
   width: 200px;
   position: relative;
   text-align: center;
   font-size: 20px!important;
   background: #12a9e0;
   background: -webkit-gradient(linear, left top, left bottom, from(#12a9e0), to(#46859c));
   background: -webkit-linear-gradient(top, #12a9e0, #46859c);
   background: -moz-linear-gradient(top, #12a9e0, #46859c);
   background: -ms-linear-gradient(top, #12a9e0, #46859c);
   background: -o-linear-gradient(top, #12a9e0, #46859c);
   background-image: -ms-linear-gradient(top, #12a9e0 0%, #46859c 100%);
   -webkit-box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
   -moz-box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
   box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
   font-family: 'Helvetica Neue',Helvetica, sans-serif;
   margin-right: auto;
   margin-left: auto;
   margin-top: -60px;
   }
.ribbon h1 {
   font-size: 15px!important;
   color: #ffffff;
   text-shadow: #156582 0 1px 0;
   margin:0px;
   padding: 15px 10px;
    z-index: 2;
   }
.ribbon:before, .ribbon:after {
   content: '';
   position: absolute;
   display: block;
   bottom: -1em;
   border: 1.5em solid #197b9e;
   z-index: -1;
   }
.ribbon:before {
   left: -2em;
   border-right-width: 1.5em;
   border-left-color: transparent;
   -webkit-box-shadow: rgba(000,000,000,0.4) 1px 1px 1px;
   -moz-box-shadow: rgba(000,000,000,0.4) 1px 1px 1px;
   box-shadow: rgba(000,000,000,0.4) 1px 1px 1px;
   }
.ribbon:after {
   right: -2em;
   border-left-width: 1.5em;
   border-right-color: transparent;
   -webkit-box-shadow: rgba(000,000,000,0.4) -1px 1px 1px;
   -moz-box-shadow: rgba(000,000,000,0.4) -1px 1px 1px;
   box-shadow: rgba(000,000,000,0.4) -1px 1px 1px;
   }
.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
   border-color: #12a9e0 transparent transparent transparent;
   position: absolute;
   display: block;
   border-style: solid;
   bottom: -1em;
   content: '';
   }
.ribbon .ribbon-content:before {
   left: 0;
   border-width: 1em 0 0 1em;
   }
.ribbon .ribbon-content:after {
   right: 0;
   border-width: 1em 1em 0 0;
   }
.ribbon-stitches-top {
   margin-top:2px;
   border-top: 1px dashed rgba(0, 0, 0, 0.2);
   -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
   -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
   box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
   }
.ribbon-stitches-bottom {
   margin-bottom:2px;
   border-top: 1px dashed rgba(0, 0, 0, 0.2);
   -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
   -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
   box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.3);
   }
   
#nav {
    float: left;
    width: 200px;
    /*margin-left: -300px;*/
    list-style-type: none;    
}

#nav h1 {
   font-size: 25px!important;
   color: #ffffff;
   text-shadow: #156582 0 0px 0;
   margin:0px;
   padding: 0px 0px;
    z-index: 2;
   }

#nav h2 {
   font-size: 15px!important;
   color: #fff;
   text-shadow: #156582 0 0px 0;
   margin:0px;
   padding: 0px 0px;
   z-index: 2;
   vertical-align: left;
   }
   
#nav li a {
    display: inline-block;
	position:relative;
    padding: 10px 0px;
    background: rgba(90,90,90,0.0);
    text-decoration: none;
    color: #fff;
    list-style-type: none;   
	/*-o-transition:color .1s ease-out, background .3s ease-in;
	-ms-transition:color .1s ease-out, background .3s ease-in;
	-moz-transition:color .1s ease-out, background .3s ease-in;
	-webkit-transition:color .1s ease-out, background .3s ease-in;
	transition:color .1s ease-out, background .3s ease-in;*/
	
}

#nav li a:hover, #nav li a.active {
    /* background: #696067; 
    border-top: 1px solid rgba(250,250,250,1.0);
    border-bottom: 1px solid rgba(250,250,250,1.0);*/
	color: #fff;
}

#nav li ul {
    display: none; /* used to hide sub-menus */
    list-style-type: none;
    background: rgba(0,0,0,0.0);
}

#nav li ul li a {
    padding: 0px 0px;
    background: rgba(0,0,0,0.0);
    opacity: .3;
   filter:alpha(opacity=30);  
   float: left;
}

#nav li ul li a:hover {
    opacity: 1;
   filter:alpha(opacity=100);    

}

.icons {
    margin-top:10px; 
    margin-bottom: 10px;
    width: 50px; 
    height: 50px; 
    vertical-align: middle; 
}
/*
#rotateArrow.rotate {
    -webkit-transform: rotate(0);
    -webkit-transition: -webkit-transform 1s; //+ optional path i.e. linear
}
*/