@import url('https://fonts.googleapis.com/css?family=Roboto:300,400');
body{
    margin: 0;
    display: flex;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color:#333;
    font-size: 12pt;
}

input[type=text]{
    border: 1px solid #666;
    border-radius: 3px;
    padding: 5px; 
    text-align: center;
}
input[type=color],input[type=color]>*{
    border: 1px solid #666;
    border-radius: 3px;
    margin: 0;
    height: 30px;
    width: 100%;
}
.sidebar{
    overflow: hidden;
    padding: 0 10px 50px 10px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    background-color: #ddd;
    transition: all 300ms linear;
    width: 250px;
    min-width: 250px;
    min-height: calc(100vh - 50px);

}
#title{
    font-size: 20pt;
    padding: 10px 0;
}
.openSidebar{
    z-index: 1000;
    top:10px;
    transition: all 300ms linear;
    position: absolute;
    width: 40px;
    height: 40px;
    left: 210px;
    border-radius:100%;
    font-size: 16pt;
    text-align: center;
    color:#444;
    border:1px solid #444;
}
.openSidebar:hover{
    border:1px solid #444;
    background-color:#444;
    color:white !important;
}

.openSidebar span{
   display:flex;
   height: 100%;
   width: 100%;
    align-items: center;
    justify-content: center;
}
.badgeContainer{
    display: block !important;
    margin-top: 20px !important;
}
.badge{
    color:#444;
    border:1px solid #444;
    text-decoration: none;
    padding: 3px;
    border-radius: 3px;
}

.badge:hover,.badge:active,.badge:focus{
    color:white;
    background-color:#444;
}

[data-toggle=true] .openSidebar{
    left: 10px;
}
.dataContainer{
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    width: 250px;
    min-width: 250px;
} 
.sidebar[data-toggle=true]{
    width: 0;
    min-width: 0;
    padding: 0 0px 50px 0px;
}
.dataContainer>div{
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    margin: 5px 0;
}
#canvasContainer{
    position: relative;
    flex-grow: 2;
    align-items: center;
    display: flex;
    justify-content: center;
}

#canvasContainer >canvas{
    border-color:#666;
    border-radius:  1%/1.5%;
    background-color: transparent;
    position: relative;
    max-width: calc(100% - 15px) !important;
    background-image: url('bg.png');
    background-size: 15px;
}

a#download{
    display: block;
    border: 2px solid  rgb(0, 156, 117);
    border-radius:3px;
    padding: 10px 0;
    text-align: center;
    color:  rgb(0, 156, 117);
    font-weight: 400;
    text-decoration: none;
}
a#download:hover{
    background-color: rgb(0, 156, 117);
    border: 2px solid  rgb(0, 156, 117);
    color: white;
}
a#download:active {
    box-shadow: 0 0 0 2px rgba(0, 90, 68,0.5);
}

/* RANGE */
input[type=range] {
    /*removes default webkit styles*/
    -webkit-appearance: none;
    
    /*fix for FF unable to apply focus style bug */
    border: 1px solid transparent;
    
    /*required for proper track sizing in FF*/
    width: calc(100% - 3px);
    margin: 0;
}
input[type=range]::-webkit-slider-runnable-track {
    height: 5px;
    background: #666;
    border: none;
    border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
    margin-top: -4px;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #666;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    background: #666;
    border: none;
    border-radius: 3px;
}
input[type=range]::-moz-range-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
}

/*hide the outline behind the border*/
input[type=range]:-moz-focusring{
    outline: 1px solid white;
    outline-offset: -1px;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 5px;
    
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;
    
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 6px 0;

    /*remove default tick marks*/
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #777;
    border-radius: 10px;
}
input[type=range]::-ms-fill-upper {
    background: #ddd;
    border-radius: 10px;
}
input[type=range]::-ms-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
}
input[type=range]:focus::-ms-fill-lower {
    background: #888;
}
input[type=range]:focus::-ms-fill-upper {
    background: #ccc;
}