#canvasTexture{
    margin:0;
    padding: 0;

    
    
}
#debug{
  color: white;
}
label{
    color:white;
    display: -ms-flexbox;

}
.SettingsGroupWrapper{
    border: 1px solid white;
    border-radius: 5px;
    margin: 5px;
}
#settings{
    float:left;
    background: #424a4a;
    width:30%;
    height:100%;
    overflow-y: scroll ;
}


.accordionButton{
    width:100%;
    background: none;
    border : none;
    color:white;
    font-size: 14pt;
    font-weight: 300;
    text-align: left;
    background: rgba(0,0,0,0.2);

}
canvas{
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
}
.textureCanvas{
visibility: hidden;
position:absolute;
    top: 0;
    left : 0;
}
.textureImage{
    width:512px;
    height:512px;
    margin-right: auto ;
    margin-left: auto;
    image-rendering: pixelated;
}
.accordionButton:after {
    content: "\22bc";
    float: right;
    margin-left: 15px;
}
.collapsing{
    -webkit-transition: none;
    transition:none;
    display:none;
}
.loader3{

    width: 160px;
    height: 160px;
    left: calc(50% - 80px);
    top: calc(50% - 80px);
    animation: spin 8s linear infinite;
}
.loader2{

    width: 110px;
    height: 110px;
    left: calc(50% - 55px);
    top: calc(50% - 55px);
    animation: spin 4s linear infinite;
}
.loader1{
    width: 60px;
    height: 60px;
    left: calc(50% - 30px);
    top: calc(50% - 30px);
    animation: spin 2s linear infinite;
}
.loader1 , .loader2 , .loader3{
    border: 4px solid #fff2f7; /* Light grey */
    border-top: 4px solid #000000; /* Blue */
    border-bottom: 4px solid black;
    border-radius: 50%;
    position: absolute;


}
.loadOverlay{
    position:absolute;
    width: 100%;
    height: 100%;
    background: black;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.collapse , .FileBox{
    padding: 5px;
    margin:5px;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    -webkit-flex-direction : row;
    flex-wrap: wrap;
}
.collapse > *, .FileBox > *{

    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    margin: 5px;
    padding: 5px;
    -webkit-transition: width 0.7s ease-out;
    transition: width 0.7s ease-out;
}
/* Icon when the collapsible content is hidden */
.accordionButton.collapsed:after {
    content: "\22bb";
}
#sphereViewport{
    width : 70%;
    height: 100%;
    float: right;
}
.seaDiv{
    color:white;
}
body,html{
    overflow:hidden;
    padding:0;
    margin:0;
    height:100%;
    width : 100%;
    background: #373737;
}
html{
    padding:0;
}

#textureButton{
    width: 140px;
    height:140px;
    color: white;
    background-size: 140px  140px;
    background: url("../resources/placeholder.png") no-repeat;
    margin: 5px;
}


 /* The Modal (background) */
 .modal {
   
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
    transition: all 2s ease 0s;
    top: 0;
  }
  
  /* Modal Content/Box */

  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  } 
  .modal-header {
    width:100%;
    padding: 2px 16px;
    background-color: #686868;
    color: white;
  }
  .modal-body {padding: 2px 16px;}

  .modal-content {
    position: relative;
    background-color: #1f1f1f;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 1s;
    overflow: hidden;
    max-height: 100%;
  }