.modal {
    display: none; /* Hidden by default */
    position: absolute; /* Stay in place */
    z-index: 3; /* Sit on top */
    left: 100%;
    top: 50%;
    padding: 10px; 
    margin: 0px;
    width: 300px; 
    height: 300px;
    background: rgba(60,60,60,0.4);
    border: 2px dotted  #888;
    border-radius: 10px 0px 0px 5px;
    text-shadow: 2px 1px black;
    box-shadow: -5px 0px 5px #B0B0B0;
    -ms-transform: translate(-450px,-50%); /* IE 9 */
    -webkit-transform: translate(-450px,-50%); /* Chrome, Safari, Opera */
    -moz-transform: translate(-450px,-50%); /* mozilla */      
    -webkit-transition: all .5s;
    -ms-transition: all .5s;
    -moz-transition: all .5s;
     overflow: hidden; /* Enable scroll if needed */
}

.modal:hover {
    background: rgba(96,96,96,0.8);
    border-radius: 50px 0px 0px 50px;
    box-shadow: -5px 0px 5px #FFFFFF;
}

.close {
    color: #E04000;
    float: right;
    font-size: 25px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #FF8000;
    text-decoration: none;
    cursor: pointer;
}


#canvas {
    position:relative; 
    z-index: 2; 
    border:1px solid grey
    }
