html {
    font-family: sans-serif;
    font-size: 16px;
}

input {
    font-family: sans-serif;
    font-size: 16px;
}

select {
    font-family: sans-serif;
    font-size: 16px;
}

canvas {
    cursor: -webkit-grab;
    border: none;
    box-shadow: 1px 0 0 0 #9f9f9f;
}

#canvas {
    width: 100% !important;
}


#settings {
    flex: 0;
    min-width: 288px;
    padding: 5px;
}

.cut-off {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.hidden {
    display: none;
}

input[type="checkbox"] {
    position: absolute;
    z-index: 1;
    margin: 11px;
    width: 20px;
    height: 20px;
}

select {
    width: 100%;
    padding: 10px 40px;
    border: 3px solid #ccc;
    border-radius: 4px;

    transition: background-color 0.5s;
}

input[type=text] {
    /*float: left;*/
    width: 100%;
    padding: 10px 40px;
    box-sizing: border-box;
    border: 3px solid #ccc;
    transition: 0.5s;
}

input[type=text]:focus {
    border: 3px solid #555;
    outline: none;
}

.relative {
    width: 100%;
    height: 44px;
    margin: 5px 0;
    position: relative;
    float: left;
}


.relative.mode-select{
    width: 100%;
    display: flex;
    height: auto;
    flex-direction: column;
    margin: 0;
}

.label_input {
    position: absolute;
    padding: 13px;
    pointer-events: none;
}

.label_checkbox_input {
    flex: 1;
    margin: 0 1px 0;
    position: relative;
    height: 100%;
    pointer-events: all;
    cursor: pointer;
    /*float: left;*/
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 10px 10px 30px;
    color: #5d5d5d;
    border: 3px solid #ccc;
    background-color: #e6e6e6;

    transition: color .5s, border .5s, background-color .5s;
}

.label_checkbox_input:hover {
    background-color: #FFF;
}

#inputEcheck ~ .label_checkbox_input {
    margin: 0;
    width: 100%;
    color: #000000;
    border: 3px solid #cccccc;
    background-color: #fff;
}

#inputEcheck:checked ~ .label_checkbox_input {
    color: #000000;
    border: 3px solid #939393;
    background-color: #FFF;
}

#inputINcheck ~ .label_checkbox_input {
    margin: 0;
    width: 100%;
    color: #000000;
    border: 3px solid #cccccc;
    background-color: #fff;
}

#inputINcheck:checked ~ .label_checkbox_input {
    color: #000000;
    border: 3px solid #939393;
    background-color: #FFF;
}

#input_montage_k:checked ~ .label_left {
    color: #000000;
    border: 3px solid #939393;
    background-color: #FFF;
}

.label_button_input {
    flex: 1;
    margin: 0 1px 0;
    position: relative;
    height: 100%;
    pointer-events: all;
    cursor: pointer;
    float: left;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 30px;
    color: #5d5d5d;
    border: 3px solid #ccc;
    background-color: #FFF;
    text-decoration: none;

    transition: color .5s, border-color .5s;
}

.label_button_input:hover {
    color: #000000;
    border-color: #939393;
    transition: color .5s, border-color .5s;
}

.label_center {
    font-size: 14px;
}

#input_montage_m2:checked ~ .label_center {
    color: #000000;
    border: 3px solid #939393;
    background-color: #FFF;
}

.label_right {
    font-size: 14px;
}

#input_montage_m:checked ~ .label_right {
    color: #000000;
    border: 3px solid #939393;
    background-color: #FFF;
}

.number_label {
    font-size: 75%;
}

.relative div .label_input {
    padding: 13.5px;
}

.one-fourth {
    width: 50%;
}

#disclaimer {
    box-sizing: border-box;
    margin: 5px;
    width: 100%;
    color: #121212;
    font-size: 17px;
}

.dubble-block {
    margin: 10px 0;
    float: left;
    width: 100%;
    background-color: #efefef;
}

.angle-block {
    margin: 10px 0;
    float: left;
    width: 100%;
    background-color: #f8f8f8;
}

.clam-block {
    margin: 10px 0;
    float: left;
    width: 100%;
    background-color: #e1e1e1;
}

.snail-block {
    margin: 10px 0;
    float: left;
    width: 100%;
    background-color: #c7c7c7;
}

@media screen and (max-width: 600px) {
    html {
        font-size: medium;
    }
}

#scroll-tooltip {
    display: inline-block;
    position: fixed;
    margin: 15px;
    padding: .5em 1em;
    color: #FFF;
    background-color: #282828;
}
