html, body { margin: 0px; padding: 0px; }

body { font-family: Roboto, arial, helvetica, sans-serif; font-size: 14px; }

* { box-sizing: border-box; }

.purgatory { clear: both; }

.hidden{ display: hidden; }

.TAR { text-align: right; }

.TAL { text-align: left; }

.TAC { text-align: center; }

@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono);

.label{
    display: inline-block;
    margin-top: 15px;
}

.value{
    color: orangered;
}

.title{
    padding: 10px;
    border-bottom: solid 1px gainsboro;
    font-size: 18px;
}

#menus{
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 440px;
    background-color: #15181F;
    color: white;
    text-align: left;
 }

#drawArea{
    position: fixed;
    top: 0;
    left: 440px;
    right: 400px;
    bottom: 0;
    border: 1px solid #545454;
    text-align: center;
}

#textArea{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    border: 1px solid #545454;
    overflow: scroll;
    margin: 0;
}

#scaleOptions{
    border-radius: 15px;
    border: 5px solid gainsboro;
    background: #f1feef;
    padding: 15px;
}

#minMaxSection{
    position: relative;
    top: 5px;
}

#minValue, #maxValue{
    left: 23%;
    width: 100px;
    margin-bottom: 20px;
}

#minMax th, #minMax td{
    text-align: center;
}

[data-class="_9A_Gauge"]{
    position: relative;
    margin: 50px auto;
    width: 80%;
    height: auto;
    border: solid 1px red;
    padding: 0;
    text-align: left;
    overflow: hidden;
}

[data-class="_9A_Scale"]{
    position: absolute;
    top: 0;
    left: 0;
    border: dotted 1px gainsboro;
}

[data-class="_9A_Needle"]{
    position: absolute;
    top: 0;
    left: 0;
    border: dotted 1px green;
}

#_segments{
    position: fixed;
    width: 15%;
    left: 0;
}

#_segments span{
    display: inline-block;
    width: 40%;
    text-align: right;
    margin-top: 5px;
    margin-right: 5px;
}

.segmentInput{
    width: 100px;
    border: 1px solid #545454;
    display: inline-block;
    clear: right;
    padding: 5px;
}

.segment, .segmentMin{
    width: 80px;
    border: 1px solid #545454;
    display: inline-block;
    clear: right;
    padding: 5px;
}

/* SLIDER */

.slider {
    margin-top: 10px;
    -webkit-appearance: none;
    width: 360px;
    height: 15px;
    border-radius: 5px;   
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; 
    background: #4CAF50;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

#segmentsSection{
    border-radius: 15px;
    border: 5px solid gainsboro;
    background: #f1feef;
    padding: 15px;
}

#segmentsTable{
    width: 100%;
}

#segmentsTable td.TAR{
    width: 40%;
}

.errorMessage{
    color: red;
    text-align: center;
}

#chooseMajorTicks, #chooseMinorTicks, #tickColorPicker, #minMaxSection, #menuOptions, #segmentOptions, #needleOptions{
    padding: 15px;
}

#majorTicksColorChange, #minorTicksColorChange{
    cursor: pointer;
} 

.changeme{
    width: 100%;
}